diff --git a/.github/workflows/platformDeploy.yml b/.github/workflows/platformDeploy.yml index e787b26336c5..2587d30477ae 100644 --- a/.github/workflows/platformDeploy.yml +++ b/.github/workflows/platformDeploy.yml @@ -77,7 +77,7 @@ jobs: - name: Upload Android version to Browser Stack if: ${{ !fromJSON(env.SHOULD_DEPLOY_PRODUCTION) }} - run: curl -u "$BROWSERSTACK" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@./android/app/build/outputs/bundle/release/app-release.aab" + run: curl -u "$BROWSERSTACK" -X POST "https://api-cloud.browserstack.com/app-live/upload" -F "file=@./android/app/build/outputs/bundle/productionRelease/app-production-release.aab" env: BROWSERSTACK: ${{ secrets.BROWSERSTACK }} diff --git a/.github/workflows/testBuild.yml b/.github/workflows/testBuild.yml index e541e2291ae9..adff13b2dba6 100644 --- a/.github/workflows/testBuild.yml +++ b/.github/workflows/testBuild.yml @@ -11,7 +11,7 @@ on: branches: ['*ci-test/**'] env: - DEVELOPER_DIR: /Applications/Xcode_14.1.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer jobs: validateActor: @@ -138,6 +138,9 @@ jobs: - uses: Expensify/App/.github/actions/composite/setupNode@main + - name: Setup Xcode + run: sudo xcode-select -switch /Applications/Xcode_14.2.app + - uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7 with: ruby-version: '2.7' @@ -151,7 +154,7 @@ jobs: command: cd ios && bundle exec pod install - name: Decrypt profile - run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output chat_expensify_adhoc.mobileprovision chat_expensify_adhoc.mobileprovision.gpg + run: cd ios && gpg --quiet --batch --yes --decrypt --passphrase="$LARGE_SECRET_PASSPHRASE" --output expensify_chat_adhoc.mobileprovision expensify_chat_adhoc.mobileprovision.gpg env: LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }} diff --git a/.well-known/apple-app-site-association b/.well-known/apple-app-site-association index cf6bdf1dedef..9274dd8c1382 100644 --- a/.well-known/apple-app-site-association +++ b/.well-known/apple-app-site-association @@ -32,6 +32,10 @@ "/": "/iou/*", "comment": "I Owe You reports" }, + { + "/": "/request/*", + "comment": "Money request" + }, { "/": "/enable-payments/*", "comment": "Payments setup" diff --git a/android/app/build.gradle b/android/app/build.gradle index 0efca683574e..d8d0c11a1a0c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -53,8 +53,12 @@ react { } project.ext.envConfigFiles = [ - debug: ".env", - release: ".env.production", + productionDebug: ".env.production", + productionRelease: ".env.production", + adhocRelease: ".env.adhoc", + developmentRelease: ".env", + developmentDebug: ".env", + e2eRelease: ".env.production" ] /** @@ -86,18 +90,39 @@ android { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion multiDexEnabled rootProject.ext.multiDexEnabled - versionCode 1001035204 - versionName "1.3.52-4" + versionCode 1001035411 + versionName "1.3.54-11" + } + + flavorDimensions "default" + productFlavors { + // we need to define a production flavor but since it has default config, we can leave it empty + production + e2e { + // If are building a version that won't be uploaded to the play store, we don't have to use production keys + // applies all non-production flavors + applicationIdSuffix ".adhoc" + signingConfig signingConfigs.debug + resValue "string", "build_config_package", "com.expensify.chat" + } + adhoc { + applicationIdSuffix ".adhoc" + signingConfig signingConfigs.debug + resValue "string", "build_config_package", "com.expensify.chat" + } + development { + applicationIdSuffix ".dev" + signingConfig signingConfigs.debug + resValue "string", "build_config_package", "com.expensify.chat" + } } signingConfigs { release { - if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) { - storeFile file(MYAPP_UPLOAD_STORE_FILE) - storePassword System.getenv('MYAPP_UPLOAD_STORE_PASSWORD') - keyAlias MYAPP_UPLOAD_KEY_ALIAS - keyPassword System.getenv('MYAPP_UPLOAD_KEY_PASSWORD') - } + storeFile file(MYAPP_UPLOAD_STORE_FILE) + storePassword System.getenv('MYAPP_UPLOAD_STORE_PASSWORD') + keyAlias MYAPP_UPLOAD_KEY_ALIAS + keyPassword System.getenv('MYAPP_UPLOAD_KEY_PASSWORD') } debug { storeFile file('debug.keystore') @@ -112,19 +137,16 @@ android { } release { signingConfig signingConfigs.release + productFlavors.production.signingConfig signingConfigs.release minifyEnabled enableProguardInReleaseBuilds proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" } - // We need a custom build type, so we can allow http clear text traffic in a release build: - e2eRelease { - initWith release - matchingFallbacks = ['release'] - signingConfig signingConfigs.debug - } - internalRelease { - initWith release - matchingFallbacks = ['release'] - signingConfig signingConfigs.debug + } + + // since we don't need variants adhocDebug and e2eDebug, we can force gradle to ignore them + variantFilter { variant -> + if (variant.name == "adhocDebug" || variant.name == "e2eDebug") { + setIgnore(true) } } } @@ -170,7 +192,7 @@ dependencies { // Fixes a version conflict between airship and react-native-plaid-link-sdk // This may be fixed by a newer version of the plaid SDK (not working as of 10.0.0) implementation "androidx.work:work-runtime-ktx:2.8.0" - + // This okhttp3 dependency prevents the app from crashing - See https://github.com/plaid/react-native-plaid-link-sdk/issues/74#issuecomment-648435002 implementation "com.squareup.okhttp3:okhttp-urlconnection:4.+" @@ -178,8 +200,5 @@ dependencies { } apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) -def googleServicesFile = rootProject.file('app/google-services.json') -if (googleServicesFile.exists()) { - apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin -} +apply plugin: 'com.google.gms.google-services' // Google Play services Gradle plugin apply plugin: 'com.google.firebase.crashlytics' diff --git a/android/app/google-services.json b/android/app/google-services.json index 545f49d765bf..35f7f5b68921 100644 --- a/android/app/google-services.json +++ b/android/app/google-services.json @@ -1,47 +1,143 @@ { "project_info": { - "project_number": "921154746561", - "firebase_url": "https://expensify-chat.firebaseio.com", - "project_id": "expensify-chat", - "storage_bucket": "expensify-chat.appspot.com" + "project_number": "921154746561", + "firebase_url": "https://expensify-chat.firebaseio.com", + "project_id": "expensify-chat", + "storage_bucket": "expensify-chat.appspot.com" }, "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:921154746561:android:4f04268f25f84eaf027c40", - "android_client_info": { - "package_name": "com.expensify.chat" - } - }, - "oauth_client": [ - { - "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCVwQb9lBI06bDIwHOw10AkdJyquXoMngk" + { + "client_info": { + "mobilesdk_app_id": "1:921154746561:android:4f04268f25f84eaf027c40", + "android_client_info": { + "package_name": "com.expensify.chat" + } + }, + "oauth_client": [ + { + "client_id": "921154746561-o0pgqgc84e3e97s9iljlmimcb5nesqad.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.expensify.chat", + "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" + } + }, + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCVwQb9lBI06bDIwHOw10AkdJyquXoMngk" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "921154746561-080fav7kvk6s70k6nd70mt50isubgff4.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.expensify.chat.adhoc" } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "921154746561-s3uqn2oe4m85tufi6mqflbfbuajrm2i3.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.chat.expensify.chat" - } - } - ] + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:921154746561:android:333e293a7fef83a8027c40", + "android_client_info": { + "package_name": "com.expensify.chat.adhoc" + } + }, + "oauth_client": [ + { + "client_id": "921154746561-cbegir0tnc2gan6k1gre5vtn75p60hom.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.expensify.chat.adhoc", + "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" + } + }, + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCVwQb9lBI06bDIwHOw10AkdJyquXoMngk" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "921154746561-080fav7kvk6s70k6nd70mt50isubgff4.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.expensify.chat.adhoc" } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:921154746561:android:3b19fdbaedb5b586027c40", + "android_client_info": { + "package_name": "com.expensify.chat.dev" + } + }, + "oauth_client": [ + { + "client_id": "921154746561-svjnccrcn6vet45kn9o7sibb3jemipa6.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.expensify.chat.dev", + "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" } + }, + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCVwQb9lBI06bDIwHOw10AkdJyquXoMngk" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "921154746561-gpsoaqgqfuqrfsjdf8l7vohfkfj7b9up.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "921154746561-080fav7kvk6s70k6nd70mt50isubgff4.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.expensify.chat.adhoc" + } + } + ] + } } + } ], "configuration_version": "1" -} + } diff --git a/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000000..80b730f3673e --- /dev/null +++ b/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 000000000000..80b730f3673e --- /dev/null +++ b/android/app/src/adhoc/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000000..d76e72f68d43 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..ecf9a8d7648a Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000000..f8d43cb7dc2d Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/android/app/src/adhoc/res/mipmap-ldpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-ldpi/ic_launcher.png new file mode 100644 index 000000000000..30c0e8484309 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-ldpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000000..6767ae1f2712 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..ba8a2086138c Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000000..3f0d4a9f6b77 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000000..9a406a263d3d Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..d1e6dbf34a18 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..9ca33d6f0e5c Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000000..819d0456ff8a Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..2bb80c3d622b Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..c343ab0f94a5 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000000..b5d80bc20289 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..576550530857 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..d6df660bc3c3 Binary files /dev/null and b/android/app/src/adhoc/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/adhoc/res/values/ic_launcher_background.xml b/android/app/src/adhoc/res/values/ic_launcher_background.xml new file mode 100644 index 000000000000..ad6f6d9631c0 --- /dev/null +++ b/android/app/src/adhoc/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #3DDC84 + diff --git a/android/app/src/adhoc/res/values/strings.xml b/android/app/src/adhoc/res/values/strings.xml new file mode 100644 index 000000000000..f59d0656694b --- /dev/null +++ b/android/app/src/adhoc/res/values/strings.xml @@ -0,0 +1,3 @@ + + New Expensify AdHoc + diff --git a/android/app/src/debug/assets/airshipconfig.properties b/android/app/src/development/assets/airshipconfig.properties similarity index 100% rename from android/app/src/debug/assets/airshipconfig.properties rename to android/app/src/development/assets/airshipconfig.properties diff --git a/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 000000000000..80b730f3673e --- /dev/null +++ b/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 000000000000..80b730f3673e --- /dev/null +++ b/android/app/src/development/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/app/src/development/res/mipmap-hdpi/ic_launcher.png b/android/app/src/development/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000000..c1ec7afcfc02 Binary files /dev/null and b/android/app/src/development/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-hdpi/ic_launcher_foreground.png b/android/app/src/development/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..eb5af7cb730f Binary files /dev/null and b/android/app/src/development/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/development/res/mipmap-hdpi/ic_launcher_round.png b/android/app/src/development/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 000000000000..c6aad72d89f6 Binary files /dev/null and b/android/app/src/development/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/android/app/src/development/res/mipmap-ldpi/ic_launcher.png b/android/app/src/development/res/mipmap-ldpi/ic_launcher.png new file mode 100644 index 000000000000..380afcaa5369 Binary files /dev/null and b/android/app/src/development/res/mipmap-ldpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-mdpi/ic_launcher.png b/android/app/src/development/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000000..a06edb8a1406 Binary files /dev/null and b/android/app/src/development/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-mdpi/ic_launcher_foreground.png b/android/app/src/development/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..45ceb6c76b3e Binary files /dev/null and b/android/app/src/development/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/development/res/mipmap-mdpi/ic_launcher_round.png b/android/app/src/development/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 000000000000..a05f7659d0de Binary files /dev/null and b/android/app/src/development/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000000..d115c9cc2613 Binary files /dev/null and b/android/app/src/development/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-xhdpi/ic_launcher_foreground.png b/android/app/src/development/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..bde468cb56cf Binary files /dev/null and b/android/app/src/development/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/development/res/mipmap-xhdpi/ic_launcher_round.png b/android/app/src/development/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..7d9fe85bfce5 Binary files /dev/null and b/android/app/src/development/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000000..b6a3e55257ce Binary files /dev/null and b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..fe8e3c4be2c6 Binary files /dev/null and b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_round.png b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..f85391b480a3 Binary files /dev/null and b/android/app/src/development/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000000..a6ba2750e92d Binary files /dev/null and b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000000..3ab898c20c6b Binary files /dev/null and b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_round.png b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 000000000000..44aa87a0e8d0 Binary files /dev/null and b/android/app/src/development/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/android/app/src/development/res/values/ic_launcher_background.xml b/android/app/src/development/res/values/ic_launcher_background.xml new file mode 100644 index 000000000000..ad6f6d9631c0 --- /dev/null +++ b/android/app/src/development/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #3DDC84 + diff --git a/android/app/src/development/res/values/strings.xml b/android/app/src/development/res/values/strings.xml new file mode 100644 index 000000000000..545b4a07a105 --- /dev/null +++ b/android/app/src/development/res/values/strings.xml @@ -0,0 +1,3 @@ + + New Expensify Dev + diff --git a/android/app/src/e2eRelease/AndroidManifest.xml b/android/app/src/e2e/AndroidManifest.xml similarity index 100% rename from android/app/src/e2eRelease/AndroidManifest.xml rename to android/app/src/e2e/AndroidManifest.xml diff --git a/android/app/src/e2eRelease/java/com/expensify/chat/ReactNativeFlipper.java b/android/app/src/e2eRelease/java/com/expensify/chat/ReactNativeFlipper.java deleted file mode 100644 index d7730e2d4fae..000000000000 --- a/android/app/src/e2eRelease/java/com/expensify/chat/ReactNativeFlipper.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - *

This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. - */ -package com.expensify.chat; - -import android.content.Context; -import com.facebook.react.ReactInstanceManager; - -/** - * Class responsible of loading Flipper inside your React Native application. This is the release - * flavor of it so it's empty as we don't want to load Flipper. - */ -public class ReactNativeFlipper { - public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { - // Do nothing as we don't want to initialize Flipper on Release. - } -} diff --git a/android/app/src/internalRelease/assets/airshipconfig.properties b/android/app/src/internalRelease/assets/airshipconfig.properties deleted file mode 100644 index 194c4577de8b..000000000000 --- a/android/app/src/internalRelease/assets/airshipconfig.properties +++ /dev/null @@ -1,7 +0,0 @@ -appKey = 55vypj0ARc6cN09MX7ogtQ -appSecret = EsSaqbdLSvmyC6kSBFJCtQ -inProduction = true - -# Notification Customization -notificationIcon = ic_notification -notificationAccentColor = #2EAAE2 \ No newline at end of file diff --git a/android/app/src/internalRelease/java/com/expensify/chat/ReactNativeFlipper.java b/android/app/src/internalRelease/java/com/expensify/chat/ReactNativeFlipper.java deleted file mode 100644 index 0e3c02f072e6..000000000000 --- a/android/app/src/internalRelease/java/com/expensify/chat/ReactNativeFlipper.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - *

This source code is licensed under the MIT license found in the LICENSE file in the root - * directory of this source tree. - */ -package com.expensify.chat; - -import android.content.Context; -import com.facebook.react.ReactInstanceManager; - -/** - * Class responsible of loading Flipper inside your React Native application. This is the release - * flavor of it so it's empty as we don't want to load Flipper. - */ -public class ReactNativeFlipper { - public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { - // Do nothing as we don't want to initialize Flipper on Release. - } -} \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index f7b50f62369c..f1c7f65757d6 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -60,6 +60,7 @@ + @@ -75,6 +76,7 @@ + diff --git a/android/app/src/e2eRelease/assets/airshipconfig.properties b/android/app/src/main/assets/airshipconfig.properties similarity index 100% rename from android/app/src/e2eRelease/assets/airshipconfig.properties rename to android/app/src/main/assets/airshipconfig.properties diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 036d09bc5fd5..80b730f3673e 100644 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -2,4 +2,4 @@ - \ No newline at end of file + diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 036d09bc5fd5..80b730f3673e 100644 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -2,4 +2,4 @@ - \ No newline at end of file + diff --git a/android/app/src/main/res/values/ic_launcher_background.xml b/android/app/src/main/res/values/ic_launcher_background.xml index 4e823a09e75e..ad6f6d9631c0 100644 --- a/android/app/src/main/res/values/ic_launcher_background.xml +++ b/android/app/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,4 @@ #3DDC84 - \ No newline at end of file + diff --git a/android/app/src/release/assets/airshipconfig.properties b/android/app/src/release/assets/airshipconfig.properties deleted file mode 100644 index 194c4577de8b..000000000000 --- a/android/app/src/release/assets/airshipconfig.properties +++ /dev/null @@ -1,7 +0,0 @@ -appKey = 55vypj0ARc6cN09MX7ogtQ -appSecret = EsSaqbdLSvmyC6kSBFJCtQ -inProduction = true - -# Notification Customization -notificationIcon = ic_notification -notificationAccentColor = #2EAAE2 \ No newline at end of file diff --git a/assets/images/dot-indicator-unfilled.svg b/assets/images/dot-indicator-unfilled.svg new file mode 100644 index 000000000000..ae131b1c2cba --- /dev/null +++ b/assets/images/dot-indicator-unfilled.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/assets/images/drag-handles.svg b/assets/images/drag-handles.svg new file mode 100644 index 000000000000..ec4fc4ccc672 --- /dev/null +++ b/assets/images/drag-handles.svg @@ -0,0 +1,7 @@ + + + + + + diff --git a/assets/images/location.svg b/assets/images/location.svg new file mode 100644 index 000000000000..ad8102051e26 --- /dev/null +++ b/assets/images/location.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/assets/images/lounge-access.svg b/assets/images/lounge-access.svg deleted file mode 100644 index 3be9ff00fb7a..000000000000 --- a/assets/images/lounge-access.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/assets/images/new-expensify-adhoc.svg b/assets/images/new-expensify-adhoc.svg index db2f420c4e0e..26f18c8cc088 100644 --- a/assets/images/new-expensify-adhoc.svg +++ b/assets/images/new-expensify-adhoc.svg @@ -1,50 +1,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-expensify-dark.svg b/assets/images/new-expensify-dark.svg index 567cc667e972..bcdb3c87f164 100644 --- a/assets/images/new-expensify-dark.svg +++ b/assets/images/new-expensify-dark.svg @@ -1 +1,29 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + diff --git a/assets/images/new-expensify-dev.svg b/assets/images/new-expensify-dev.svg index 5e36ffebe0d3..8f995412bb0c 100644 --- a/assets/images/new-expensify-dev.svg +++ b/assets/images/new-expensify-dev.svg @@ -1,46 +1,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + diff --git a/contributingGuides/TS_STYLE.md b/contributingGuides/TS_STYLE.md index 6d8d4a446428..414cb9d49ef1 100644 --- a/contributingGuides/TS_STYLE.md +++ b/contributingGuides/TS_STYLE.md @@ -487,6 +487,8 @@ declare module "external-library-name" { > This section contains instructions that are applicable during the migration. +- 🚨 DO NOT write new code in TypeScript yet. The only time you write TypeScript code is when the file you're editing has already been migrated to TypeScript by the migration team. This guideline will be updated once it's time for new code to be written in TypeScript. If you're doing a major overhaul or refactoring of particular features or utilities of App and you believe it might be beneficial to migrate relevant code to TypeScript as part of the refactoring, please ask in the #expensify-open-source channel about it (and prefix your message with `TS ATTENTION:`). + - If you're migrating a module that doesn't have a default implementation (i.e. `index.ts`, e.g. `getPlatform`), convert `index.website.js` to `index.ts`. Without `index.ts`, TypeScript cannot get type information where the module is imported. - Deprecate the usage of `underscore`. Use vanilla methods from JS instead. Only use `lodash` when there is no easy vanilla alternative (eg. `lodashMerge`). eslint: [`no-restricted-imports`](https://eslint.org/docs/latest/rules/no-restricted-imports) diff --git a/docs/_includes/search-toggle.html b/docs/_includes/search-toggle.html new file mode 100644 index 000000000000..caa11c63c46f --- /dev/null +++ b/docs/_includes/search-toggle.html @@ -0,0 +1,5 @@ +

+ + + +
diff --git a/docs/_includes/sidebar-search.html b/docs/_includes/sidebar-search.html new file mode 100644 index 000000000000..a365c812e031 --- /dev/null +++ b/docs/_includes/sidebar-search.html @@ -0,0 +1,13 @@ + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index e0ed71b46818..07f9f23bdbbf 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -2,7 +2,7 @@ - + Expensify Help @@ -12,6 +12,7 @@ + {% seo %} @@ -25,11 +26,20 @@ - - - +
+
+ + + +
+ + {% include search-toggle.html %} +
+ + {% include sidebar-search.html id="sidebar-layer" %} +
{% if page.url == "/" or page.url contains "/hubs/" %} diff --git a/docs/_sass/_colors.scss b/docs/_sass/_colors.scss index d9fa10d24b8e..fe88f2152e0e 100644 --- a/docs/_sass/_colors.scss +++ b/docs/_sass/_colors.scss @@ -3,7 +3,9 @@ $color-green-icons: #8B9C8F; $color-green-borders: #1A3D32; $color-green-highlightBG: #07271F; $color-green-appBG: #061B09; +$color-green-hover: #00a862; $color-light-gray-green: #AFBBB0; $color-blue300: #5AB0FF; $color-blue200: #B0D9FF; $color-white: #E7ECE9; +$color-gray-label: #afbbb0; diff --git a/docs/_sass/_main.scss b/docs/_sass/_main.scss index ebf96476bc0d..720bc95c0732 100644 --- a/docs/_sass/_main.scss +++ b/docs/_sass/_main.scss @@ -1,9 +1,11 @@ @import 'breakpoints'; @import 'colors'; @import 'fonts'; +@import 'search-bar'; $color-appBG: $color-green-appBG; $color-highlightBG: $color-green-highlightBG; +$color-accent : $color-green400; $color-borders: $color-green-borders; $color-icons: $color-green-icons; $color-text: $color-white; @@ -11,6 +13,8 @@ $color-link: $color-blue300; $color-link-hovered: $color-blue200; $color-success: $color-green400; $color-text-supporting: $color-light-gray-green; +$color-green-hover: $color-green-hover; +$color-gray-label: $color-gray-label; * { margin: 0; @@ -182,6 +186,18 @@ button { align-content: center; } +.flex { + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -moz-flex; + display: -webkit-flex; + display: flex; + -webkit-flex-flow: row wrap; + flex-flow: row wrap; + align-content: space-between; +} + #lhn { position: fixed; background-color: $color-highlightBG; @@ -524,6 +540,7 @@ button { .base-icon { width: 20px; height: 20px; + cursor: pointer; } .homepage { diff --git a/docs/_sass/_search-bar.scss b/docs/_sass/_search-bar.scss new file mode 100644 index 000000000000..ace3a7b99ace --- /dev/null +++ b/docs/_sass/_search-bar.scss @@ -0,0 +1,197 @@ +@import 'breakpoints'; +@import 'colors'; +@import 'fonts'; + +$color-appBG: $color-green-appBG; +$color-highlightBG: $color-green-highlightBG; +$color-accent : $color-green400; +$color-borders: $color-green-borders; +$color-icons: $color-green-icons; +$color-text: $color-white; +$color-link: $color-blue300; +$color-link-hovered: $color-blue200; +$color-success: $color-green400; +$color-text-supporting: $color-light-gray-green; +$color-green-hover: $color-green-hover; +$color-gray-label: $color-gray-label; + +.search-icon { + margin: auto 0px; +} + +#sidebar-search { + background-color: $color-appBG; + width: 375px; + height: 100vh; + position: fixed; + display: block; + top: 0; + right: 0; +} + +@media only screen and (max-width: $breakpoint-tablet) { + #sidebar-search { + width: 100%; + } +} + +.searchbar-title-wrapper { + padding: 20px; +} + +.search-title { + font-size: 17px; + padding-bottom: 20px; +} + +#toggle-search-close { + margin: auto; + margin-left: 0px; + margin-right: 10px; +} + +/* Sidebar Layer */ +#sidebar-layer { + position: fixed; + + /* Sit on top of the page content */ + display: none; + + /* Hidden by default */ + width: 100%; + + /* Full width (cover the whole page) */ + height: 100%; + + /* Full height (cover the whole page) */ + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.4); + z-index: 2; +} + +/* All gsc id & class are Google Search relate gcse_0 is the search bar parent & gcse_1 is the search result list parent */ +#___gcse_0 { + margin-left: 20px; +} + +/* This input is in #___gcse_0 search bar */ +input#gsc-i-id1.gsc-input { + background-color: $color-appBG; + color: #E7ECE9; + font-family: "ExpensifyNeue", "Segoe UI Emoji", "Noto Color Emoji" !important; +} + +/* These below #gsc-iw-id1, .gsc-input-box & .gsib_a are inner wrapper of search bar input */ +#gsc-iw-id1 { + background-color: $color-appBG; + border-bottom: $color-borders 2px solid; + border-bottom-left-radius: 0px; + + &:focus-within { + border-bottom: $color-accent 2px solid; + } +} + +.gsc-input-box .gsib_a { + padding: 5px 9px 4px 0px; +} + +.search-icon { + margin-left: auto; +} + +/* This is the close icon on search bar */ +.gsib_b .gsst_a .gscb_a { + color: $color-icons; + + &:hover { + color: $color-text; + } +} + +/* This is to manage hover on parent close icon and make it the same effect on close icon */ +.gsst_a:hover { + + .gscb_a { + color: $color-text !important; + } +} + +/* Manage Google Search label animation */ +input#gsc-i-id1:focus+label.search-label, +input#gsc-i-id1:valid+label.search-label, +input#gsc-i-id1:active+label.search-label { + transform: translateY(-100%) scale(0.80); +} + +label.search-label { + display: block; + position: absolute; + margin-top: -20px; + font-size: 15px; + font-family: "ExpensifyNeue", "Segoe UI Emoji", "Noto Color Emoji"; + transform: translateY(-50%); + left: 20px; + color: $color-gray-label; + transform-origin: left top; + user-select: none; + transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1), top 500ms; +} + +/* Hide the relevance, Ads, Branding, find more button & etc sections */ +.gsc-above-wrapper-area, +.gsc-webResult.gsc-result .gsc-url-top, +.gsc-results-wrapper-visible .gsc-adBlock, +.gcsc-more-maybe-branding-root, +.gcsc-find-more-on-google-root { + display: none; +} + +.gsc-control-cse { + background-color: $color-appBG; + border: $color-appBG; + font-family: "ExpensifyNeue", "Helvetica Neue", "Helvetica", Arial, sans-serif !important; + max-height: 80vh; + overflow-y: scroll; +} + +.gs-title { + font-weight: bold; +} + +/* Change the Google Search Button icon into Expensify icon button */ +.gsc-search-button.gsc-search-button-v2 { + padding: 10px; + margin-top: -7px; + margin-left: 15px; + margin-right: 20px; + border-radius: 25px; + background-color: $color-green400; + cursor: pointer; + width: 40px; + height: 40px; +} + +.gsc-search-button.gsc-search-button-v2:hover { + background-color: $color-green-hover; +} + +.gsc-search-button.gsc-search-button-v2 svg { + fill: $color-text; + height: auto; + width: auto; +} + +/* Change the path of the Google Search Button icon into Expensify icon */ +.gsc-search-button.gsc-search-button-v2 svg path { + d: path('M8 1c3.9 0 7 3.1 7 7 0 1.4-.4 2.7-1.1 3.8l5.2 5.2c.6.6.6 1.5 0 2.1-.6.6-1.5.6-2.1 0l-5.2-5.2C10.7 14.6 9.4 15 8 15c-3.9 0-7-3.1-7-7s3.1-7 7-7zm0 3c2.2 0 4 1.8 4 4s-1.8 4-4 4-4-1.8-4-4 1.8-4 4-4z'); + fill-rule: evenodd; + clip-rule: evenodd; +} + +.gsc-resultsbox-visible .gsc-webResult .gsc-result { + border-bottom: none; +} diff --git a/docs/annotations.xml b/docs/annotations.xml new file mode 100644 index 000000000000..adb06b135f25 --- /dev/null +++ b/docs/annotations.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/docs/articles/other/Card-Rev-Share-for-Approved-Partners.md b/docs/articles/other/Card-Rev-Share-for-Approved-Partners.md index 9b5647a004d3..44614d506d49 100644 --- a/docs/articles/other/Card-Rev-Share-for-Approved-Partners.md +++ b/docs/articles/other/Card-Rev-Share-for-Approved-Partners.md @@ -4,8 +4,7 @@ description: Earn money when your clients adopt the Expensify Card --- -# About -Start making more with us! We're thrilled to announce a new incentive for our US-based ExpensifyApproved! partner accountants. You can now earn additional income for your firm every time your client uses their Expensify Card. We're offering 0.5% of the total Expensify Card spend of your clients in cashback returned to your firm. The more your clients spend, the more cashback your firm receives!
+Start making more with us! We're thrilled to announce a new incentive for our US-based ExpensifyApproved! partner accountants. You can now earn additional income for your firm every time your client uses their Expensify Card. **In short, your firm gets 0.5% of your clients’ total Expensify Card spend as cash back**. The more your clients spend, the more cashback your firm receives!

This program is currently only available to US-based ExpensifyApproved! partner accountants. # How-to diff --git a/docs/articles/other/Everything-About-Chat.md b/docs/articles/other/Everything-About-Chat.md index 5ab435eb0523..d52932daa5ff 100644 --- a/docs/articles/other/Everything-About-Chat.md +++ b/docs/articles/other/Everything-About-Chat.md @@ -65,3 +65,23 @@ You can find your display mode by clicking on your User Icon > Preferences > Pri If the person you want to chat with doesn’t appear in your contact list, simply type their email or phone number to invite them to chat! From there, they will receive an email with instructions and a link to create an account. Once they click the link, a new.expensify.com account is set up for them automatically (if they don't have one already), and they can start chatting with you immediately! + +## Flagging content as offensive +In order to maintain a safe community for our users, Expensify provides tools to report offensive content and unwanted behavior in Expensify Chat. If you see a message (or attachment/image) from another user that you’d like our moderators to review, you can flag it by clicking the flag icon in the message context menu (on desktop) or holding down on the message and selecting “Flag as offensive” (on mobile). + +![Moderation Context Menu](https://help.expensify.com/assets/images/moderation-context-menu.png){:width="100%"} + +Once the flag is selected, you will be asked to categorize the message (such as spam, bullying, and harassment). Select what you feel best represents the issue is with the content, and you’re done - the message will be sent off to our internal team for review. + +![Moderation Flagging Options](https://help.expensify.com/assets/images/moderation-flag-page.png){:width="100%"} + +Depending on the severity of the offense, messages can be hidden (with an option to reveal) or fully removed, and in extreme cases, the sender of the message can be temporarily or permanently blocked from posting. + +You will receive a whisper from Concierge any time your content has been flagged, as well as when you have successfully flagged a piece of content. + +![Moderation Reportee Whisper](https://help.expensify.com/assets/images/moderation-reportee-whisper.png){:width="100%"} +![Moderation Reporter Whisper](https://help.expensify.com/assets/images/moderation-reporter-whisper.png){:width="100%"} + +*Note: Any message sent in public chat rooms are automatically reviewed by an automated system looking for offensive content and sent to our moderators for final decisions if it is found.* + + diff --git a/docs/articles/playbooks/Expensify-Playbook-for-Small-to-Medium-Sized-Businesses.md b/docs/articles/playbooks/Expensify-Playbook-for-Small-to-Medium-Sized-Businesses.md index d7bdef860cf7..849932a33c2d 100644 --- a/docs/articles/playbooks/Expensify-Playbook-for-Small-to-Medium-Sized-Businesses.md +++ b/docs/articles/playbooks/Expensify-Playbook-for-Small-to-Medium-Sized-Businesses.md @@ -100,7 +100,7 @@ This is essentially like setting a daily or individual expense limitation on any *Receipt Required Amount: $75* Receipts are important, and in most cases you prefer an itemized receipt. However, Expensify will generate an IRS-compliant electronic receipt (not itemized) for every expense not tied to hotels expense. For this reason, it’s important to enforce a rule where anytime an employee is on the road, and making business-related purchases at hotel (which happens a lot!), they are required to attach a physical receipt. -![Expense Basics](https://help.expensify.com/assets/images/playbook-expense-basics.png) +![Expense Basics](https://help.expensify.com/assets/images/playbook-expense-basics.png){:width="100%"} At this point, you’ve set enough compliance controls around categorical spend and general expenses for all employees, such that you can put trust in our solution to audit all expenses up front so you don’t have to. Next, let’s dive into how we can comfortably take on more automation, while relying on compliance controls to capture bad behavior (or better yet, instill best practices in our employees). @@ -117,7 +117,7 @@ Between Expensify's SmartScan technology, automatic categorization, and [DoubleC Expenses with violations will stay behind for the employee to fix, while expenses that are “in-policy” will move into an approver’s queue to mitigate any potential for delays. Scheduled Submit will ensure all expenses are submitted automatically for approval. -![Scheduled submit](https://help.expensify.com/assets/images/playbook-scheduled-submit.png) +![Scheduled submit](https://help.expensify.com/assets/images/playbook-scheduled-submit.png){:width="100%"} > _We spent twice as much time and effort on expenses without getting nearly as accurate of results as with Expensify._ > @@ -151,7 +151,7 @@ We recommend you select *Advanced Approval* as your Approval Mode to set up a mi *Import your employees in bulk via CSV* Given the amount of employees you have, it’s best you import employees in bulk via CSV. You can learn more about using a CSV file to bulk upload employees with *Advanced Approval [here](https://community.expensify.com/discussion/5735/deep-dive-the-ins-and-outs-of-advanced-approval)* -![Bulk import your employees](https://help.expensify.com/assets/images/playbook-impoort-employees.png) +![Bulk import your employees](https://help.expensify.com/assets/images/playbook-impoort-employees.png){:width="100%"} *Manually Approve All Reports* In most cases, at this stage, approvers prefer to review all expenses for a few reasons. 1) We want to make sure expense coding is accurate, and 2) We want to make sure there are no bad actors before we export transactions to our accounting system. @@ -182,7 +182,7 @@ Expensify supports direct card feeds from most financial institutions. Setting u 3. Next, assign the corporate cards to your employees by selecting the employee’s email address and the corresponding card number from the two drop-down menus under the *Assign a Card* section 4. Set a transaction start date (this is really important to avoid pulling in multiple outdated historical expenses that you don’t want employees to submit) -![If you have existing corporate cards](https://help.expensify.com/assets/images/playbook-existing-corporate-card.png) +![If you have existing corporate cards](https://help.expensify.com/assets/images/playbook-existing-corporate-card.png){:width="100%"} As mentioned above, we’ll be able to pull in transactions as they post (daily) and handle receipt matching for you and your employees. One benefit of the Expensify Card for your company is being able to see transactions at the point of purchase which provides you with real-time compliance. We even send users push notifications to SmartScan their receipt when it’s required and generate IRS-compliant e-receipts as a backup wherever applicable. @@ -235,7 +235,7 @@ Similarly, you can send bills directly from Expensify as well. 3. At this point, you can also upload an attachment to further validate the bill if necessary 4. Click *Submit*, we’ll forward the newly created bill directly to your Supplier. -![Send bills directly from Expensify](https://help.expensify.com/assets/images/playbook-new-bill.png) +![Send bills directly from Expensify](https://help.expensify.com/assets/images/playbook-new-bill.png){:width="100%"} Reports, invoices, and bills are largely the same, in theory, just with different rules. As such, creating a customer invoice is just like creating an expense report and even a bill. @@ -258,7 +258,7 @@ We recommend reporting: - *Quarterly* - for budget comparison reporting. Pull up your BI tool and compare your active budgets with your spend reporting here in Expensify - *Annually* - Run annual spend trend reports with month-over-month spend analysis, and prepare yourself for the upcoming fiscal year. -![Expenses!](https://help.expensify.com/assets/images/playbook-expenses.png) +![Expenses!](https://help.expensify.com/assets/images/playbook-expenses.png){:width="100%"} ### Step 14: Set your Subscription Size and Add a Payment card Our pricing model is unique in the sense that you are in full control of your billing. Meaning, you have the ability to set a minimum number of employees you know will be active each month and you can choose which level of commitment fits best. We recommend setting your subscription to *Annual* to get an additional 50% off on your monthly Expensify bill. In the end, you've spent enough time getting your company fully set up with Expensify, and you've seen how well it supports you and your employees. Committing annually just makes sense. diff --git a/docs/assets/images/close.svg b/docs/assets/images/close.svg new file mode 100644 index 000000000000..71e4df7ace0c --- /dev/null +++ b/docs/assets/images/close.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/docs/assets/images/moderation-context-menu.png b/docs/assets/images/moderation-context-menu.png new file mode 100644 index 000000000000..55aa17498cf7 Binary files /dev/null and b/docs/assets/images/moderation-context-menu.png differ diff --git a/docs/assets/images/moderation-flag-page.png b/docs/assets/images/moderation-flag-page.png new file mode 100644 index 000000000000..e60e2ccb8776 Binary files /dev/null and b/docs/assets/images/moderation-flag-page.png differ diff --git a/docs/assets/images/moderation-reportee-whisper.png b/docs/assets/images/moderation-reportee-whisper.png new file mode 100644 index 000000000000..9235a262bef5 Binary files /dev/null and b/docs/assets/images/moderation-reportee-whisper.png differ diff --git a/docs/assets/images/moderation-reporter-whisper.png b/docs/assets/images/moderation-reporter-whisper.png new file mode 100644 index 000000000000..881b25268515 Binary files /dev/null and b/docs/assets/images/moderation-reporter-whisper.png differ diff --git a/docs/assets/images/search.svg b/docs/assets/images/search.svg new file mode 100644 index 000000000000..9680cc415454 --- /dev/null +++ b/docs/assets/images/search.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/docs/assets/js/main.js b/docs/assets/js/main.js index d5d462b83e50..2b9c0cc6fe8c 100644 --- a/docs/assets/js/main.js +++ b/docs/assets/js/main.js @@ -75,9 +75,93 @@ function injectFooterCopywrite() { footer.innerHTML = `©2008-${new Date().getFullYear()} Expensify, Inc.`; } +function openSidebar() { + document.getElementById('sidebar-layer').style.display = 'block'; + + // Make body unscrollable + const yAxis = document.documentElement.style.getPropertyValue('y-axis'); + const body = document.body; + body.style.position = 'fixed'; + body.style.top = `-${yAxis}`; +} + +function closeSidebar() { + document.getElementById('sidebar-layer').style.display = 'none'; + + // Make the body scrollable again + const body = document.body; + const scrollY = body.style.top; + + // Reset the position and top styles of the body element + body.style.position = ''; + body.style.top = ''; + + // Scroll to the original scroll position + window.scrollTo(0, parseInt(scrollY || '0', 10) * -1); +} + +// Function to adapt & fix cropped SVG viewBox from Google based on viewport (Mobile or Tablet-Desktop) +function changeSVGViewBoxGoogle() { + // Get all inline Google SVG elements on the page + const svgsGoogle = document.querySelectorAll('svg'); + + // Create a media query for screens wider than tablet + const mediaQuery = window.matchMedia('(min-width: 800px)'); + + // Check if the viewport is smaller than tablet + if (!mediaQuery.matches) { + Array.from(svgsGoogle).forEach((svg) => { + // Set the viewBox attribute to '0 0 13 13' to make the svg fit in the mobile view + svg.setAttribute('viewBox', '0 0 13 13'); + svg.setAttribute('height', '13'); + svg.setAttribute('width', '13'); + }); + } else { + Array.from(svgsGoogle).forEach((svg) => { + // Set the viewBox attribute to '0 0 20 20' to make the svg fit in the tablet-desktop view + svg.setAttribute('viewBox', '0 0 20 20'); + svg.setAttribute('height', '16'); + svg.setAttribute('width', '16'); + }); + } +} + +// Function to insert element after another +// In this case, we insert the label element after the Google Search Input so we can have the same label animation effect +function insertElementAfter(referenceNode, newNode) { + referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling); +} + +// Need to wait up until page is load, so the svg viewBox can be changed +// And the search label can be inserted +window.addEventListener('load', () => { + changeSVGViewBoxGoogle(); + + // Add required into the search input + const searchInput = document.getElementById('gsc-i-id1'); + searchInput.setAttribute('required', ''); + + // Insert search label after the search input + const searchLabel = document.createElement('label'); + searchLabel.classList.add('search-label'); + searchLabel.innerHTML = 'Search for something...'; + insertElementAfter(searchInput, searchLabel); +}); + window.addEventListener('DOMContentLoaded', () => { injectFooterCopywrite(); + // Handle open & close the sidebar + const buttonOpenSidebar = document.getElementById('toggle-search-open'); + if (buttonOpenSidebar) { + buttonOpenSidebar.addEventListener('click', openSidebar); + } + + const buttonCloseSidebar = document.getElementById('toggle-search-close'); + if (buttonCloseSidebar) { + buttonCloseSidebar.addEventListener('click', closeSidebar); + } + if (window.tocbot) { window.tocbot.init({ // Where to render the table of contents. @@ -139,5 +223,8 @@ window.addEventListener('DOMContentLoaded', () => { const scrollingElement = e.target.scrollingElement; const scrollPercentageInArticleContent = clamp(scrollingElement.scrollTop - articleContent.offsetTop, 0, articleContent.scrollHeight) / articleContent.scrollHeight; lhnContent.scrollTop = scrollPercentageInArticleContent * lhnContent.scrollHeight; + + // Count property of y-axis to keep scroll position & reference it later for making the body fixed when sidebar opened + document.documentElement.style.setProperty('y-axis', `${window.scrollY}px`); }); }); diff --git a/docs/context.xml b/docs/context.xml new file mode 100644 index 000000000000..b38e1a5f9e8a --- /dev/null +++ b/docs/context.xml @@ -0,0 +1,33 @@ + + + Expensify Help Search + Help Search configuration details + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 60d60934c2ba..92c61cb81b2c 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -22,7 +22,9 @@ platform :android do gradle( project_dir: './android', - task: ':app:assembleE2eRelease', + task: ':app:assemble', + flavor: 'e2e', + build_type: 'Release', ) end @@ -33,6 +35,7 @@ platform :android do gradle( project_dir: './android', task: 'assemble', + flavor: 'Production', build_type: 'Release', ) end @@ -44,7 +47,8 @@ platform :android do gradle( project_dir: './android', task: 'assemble', - build_type: 'InternalRelease', + flavor: 'Adhoc', + build_type: 'Release', ) aws_s3( @@ -67,13 +71,14 @@ platform :android do gradle( project_dir: './android', task: 'bundle', + flavor: 'Production', build_type: 'Release', ) upload_to_play_store( package_name: "com.expensify.chat", json_key: './android/app/android-fastlane-json-key.json', - aab: './android/app/build/outputs/bundle/release/app-release.aab', + aab: './android/app/build/outputs/bundle/productionRelease/app-production-release.aab', track: 'internal', rollout: '1.0' ) @@ -111,7 +116,7 @@ platform :ios do build_app( workspace: "./ios/NewExpensify.xcworkspace", - scheme: "NewExpensify" + scheme: "New Expensify" ) end @@ -138,19 +143,19 @@ platform :ios do ) install_provisioning_profile( - path: "./ios/chat_expensify_adhoc.mobileprovision" + path: "./ios/expensify_chat_adhoc.mobileprovision" ) build_app( workspace: "./ios/NewExpensify.xcworkspace", skip_profile_detection: true, - scheme: "NewExpensify", - xcargs: { :PROVISIONING_PROFILE_SPECIFIER => "chat_expensify_adhoc", }, + scheme: "New Expensify AdHoc", + xcargs: { :PROVISIONING_PROFILE_SPECIFIER => "expensify_chat_adhoc", }, export_method: "ad-hoc", export_options: { method: "ad-hoc", provisioningProfiles: { - "com.chat.expensify.chat" => "chat_expensify_adhoc", + "com.expensify.chat.adhoc" => "expensify_chat_adhoc", }, manageAppVersionAndBuildNumber: false } @@ -197,7 +202,8 @@ platform :ios do build_app( workspace: "./ios/NewExpensify.xcworkspace", - scheme: "NewExpensify", + scheme: "New Expensify", + output_name: "New Expensify.ipa", export_options: { manageAppVersionAndBuildNumber: false } diff --git a/ios/NewExpensify.xcodeproj/project.pbxproj b/ios/NewExpensify.xcodeproj/project.pbxproj index 414ad71ab217..682c3173c0c8 100644 --- a/ios/NewExpensify.xcodeproj/project.pbxproj +++ b/ios/NewExpensify.xcodeproj/project.pbxproj @@ -21,12 +21,12 @@ 26AF3C3540374A9FACB6C19E /* ExpensifyMono-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = DCF33E34FFEC48128CDD41D4 /* ExpensifyMono-Bold.otf */; }; 2A9F8CDA983746B0B9204209 /* ExpensifyNeue-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 52796131E6554494B2DDB056 /* ExpensifyNeue-Bold.otf */; }; 30581EA8AAFD4FCE88C5D191 /* ExpensifyNeue-Italic.otf in Resources */ = {isa = PBXBuildFile; fileRef = BF6A4C5167244B9FB8E4D4E3 /* ExpensifyNeue-Italic.otf */; }; + 34FF0B164B1D8ED1054BFBB6 /* libPods-NewExpensify-NewExpensifyTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6FB387B20AE4E6E98858B6AA /* libPods-NewExpensify-NewExpensifyTests.a */; }; 374FB8D728A133FE000D84EF /* OriginImageRequestHandler.mm in Sources */ = {isa = PBXBuildFile; fileRef = 374FB8D628A133FE000D84EF /* OriginImageRequestHandler.mm */; }; + 5A464BC8112CDB1DE1E38F1C /* libPods-NewExpensify.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AEFE6CD54912D427D19133C7 /* libPods-NewExpensify.a */; }; 7041848526A8E47D00E09F4D /* RCTStartupTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 7041848426A8E47D00E09F4D /* RCTStartupTimer.m */; }; 7041848626A8E47D00E09F4D /* RCTStartupTimer.m in Sources */ = {isa = PBXBuildFile; fileRef = 7041848426A8E47D00E09F4D /* RCTStartupTimer.m */; }; 70CF6E82262E297300711ADC /* BootSplash.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 70CF6E81262E297300711ADC /* BootSplash.storyboard */; }; - 9A65F0F374EC04ABB5FF40AF /* libPods-NewExpensify.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2FD35F00FB84D9FCF60D56A7 /* libPods-NewExpensify.a */; }; - B54A7C3AA98189A600323C02 /* libPods-NewExpensify-NewExpensifyTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F679A86058F8C4B331D239C3 /* libPods-NewExpensify-NewExpensifyTests.a */; }; BDB853621F354EBB84E619C2 /* ExpensifyNewKansas-MediumItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = D2AFB39EC1D44BF9B91D3227 /* ExpensifyNewKansas-MediumItalic.otf */; }; DD79042B2792E76D004484B4 /* RCTBootSplash.m in Sources */ = {isa = PBXBuildFile; fileRef = DD79042A2792E76D004484B4 /* RCTBootSplash.m */; }; E51DC681C7DEE40AEBDDFBFE /* BuildFile in Frameworks */ = {isa = PBXBuildFile; }; @@ -50,41 +50,53 @@ 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 00E356EE1AD99517003FC87E /* NewExpensifyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = NewExpensifyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 02BE6CF80ED1BD2445267F92 /* Pods-NewExpensify.release development.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.release development.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.release development.xcconfig"; sourceTree = ""; }; + 0B09CE5BDAF34DD3573AB4E2 /* Pods-NewExpensify.debug adhoc.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.debug adhoc.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.debug adhoc.xcconfig"; sourceTree = ""; }; 0CDA8E33287DD650004ECBEC /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = NewExpensify/AppDelegate.mm; sourceTree = ""; }; 0CDA8E36287DD6A0004ECBEC /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = NewExpensify/Images.xcassets; sourceTree = ""; }; + 0E27AA27706D894246E7946D /* Pods-NewExpensify.debug production.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.debug production.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.debug production.xcconfig"; sourceTree = ""; }; 0F5BE0CD252686320097D869 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; 0F5E534E263B73D5004CA14F /* EnvironmentChecker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = EnvironmentChecker.h; sourceTree = ""; }; 0F5E534F263B73FD004CA14F /* EnvironmentChecker.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EnvironmentChecker.m; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* New Expensify.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "New Expensify.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07F961A680F5B00A75B9A /* New Expensify Dev.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "New Expensify Dev.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = NewExpensify/AppDelegate.h; sourceTree = ""; }; 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = NewExpensify/Info.plist; sourceTree = ""; }; 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = NewExpensify/main.m; sourceTree = ""; }; 18D050DF262400AF000D658B /* BridgingFile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BridgingFile.swift; sourceTree = ""; }; - 2FD35F00FB84D9FCF60D56A7 /* libPods-NewExpensify.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NewExpensify.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 1DDE5449979A136852B939B5 /* Pods-NewExpensify.release adhoc.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.release adhoc.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.release adhoc.xcconfig"; sourceTree = ""; }; + 34A8FDD1F9AA58B8F15C8380 /* Pods-NewExpensify.release production.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.release production.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.release production.xcconfig"; sourceTree = ""; }; 374FB8D528A133A7000D84EF /* OriginImageRequestHandler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = OriginImageRequestHandler.h; path = NewExpensify/OriginImageRequestHandler.h; sourceTree = ""; }; 374FB8D628A133FE000D84EF /* OriginImageRequestHandler.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = OriginImageRequestHandler.mm; path = NewExpensify/OriginImageRequestHandler.mm; sourceTree = ""; }; - 37F6DD6E91B4C55BD8DDC895 /* Pods-NewExpensify.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.debug.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.debug.xcconfig"; sourceTree = ""; }; - 391B5D1DB6CFBAC16FD11DC4 /* Pods-NewExpensify.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.release.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.release.xcconfig"; sourceTree = ""; }; + 3D393D7ABC1092F1DE91397F /* Pods-NewExpensify-NewExpensifyTests.debug staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.debug staging.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.debug staging.xcconfig"; sourceTree = ""; }; + 432FF5842B766535509FC547 /* Pods-NewExpensify-NewExpensifyTests.debug adhoc.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.debug adhoc.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.debug adhoc.xcconfig"; sourceTree = ""; }; 44BF435285B94E5B95F90994 /* ExpensifyNewKansas-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNewKansas-Medium.otf"; path = "../assets/fonts/native/ExpensifyNewKansas-Medium.otf"; sourceTree = ""; }; - 52796131E6554494B2DDB056 /* ExpensifyNeue-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Bold.otf"; path = "../assets/fonts/native/ExpensifyNeue-Bold.otf"; sourceTree = ""; }; + 52796131E6554494B2DDB056 /* ExpensifyNeue-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Bold.otf"; path = "../assets/fonts/native/ExpensifyNeue-Bold.otf"; sourceTree = ""; }; + 6B5211DB0EEB46E12DF4AD2D /* Pods-NewExpensify-NewExpensifyTests.release adhoc.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.release adhoc.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.release adhoc.xcconfig"; sourceTree = ""; }; + 6BE16DA6EFF88513DB1CD47B /* Pods-NewExpensify-NewExpensifyTests.release staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.release staging.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.release staging.xcconfig"; sourceTree = ""; }; + 6FB387B20AE4E6E98858B6AA /* libPods-NewExpensify-NewExpensifyTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NewExpensify-NewExpensifyTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 7041848326A8E40900E09F4D /* RCTStartupTimer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RCTStartupTimer.h; path = NewExpensify/RCTStartupTimer.h; sourceTree = ""; }; 7041848426A8E47D00E09F4D /* RCTStartupTimer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = RCTStartupTimer.m; path = NewExpensify/RCTStartupTimer.m; sourceTree = ""; }; 70CF6E81262E297300711ADC /* BootSplash.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = BootSplash.storyboard; path = NewExpensify/BootSplash.storyboard; sourceTree = ""; }; - 8B28D84EF339436DBD42A203 /* ExpensifyNeue-BoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-BoldItalic.otf"; path = "../assets/fonts/native/ExpensifyNeue-BoldItalic.otf"; sourceTree = ""; }; - B37C757CE02B734BFED38097 /* Pods-NewExpensify-NewExpensifyTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.debug.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.debug.xcconfig"; sourceTree = ""; }; - BF6A4C5167244B9FB8E4D4E3 /* ExpensifyNeue-Italic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Italic.otf"; path = "../assets/fonts/native/ExpensifyNeue-Italic.otf"; sourceTree = ""; }; - CA3A3642AEED7CF2D4CD3716 /* Pods-NewExpensify-NewExpensifyTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.release.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.release.xcconfig"; sourceTree = ""; }; + 75CABB0D0ABB0082FE0EB600 /* Pods-NewExpensify.release staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.release staging.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.release staging.xcconfig"; sourceTree = ""; }; + 8B28D84EF339436DBD42A203 /* ExpensifyNeue-BoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-BoldItalic.otf"; path = "../assets/fonts/native/ExpensifyNeue-BoldItalic.otf"; sourceTree = ""; }; + 8D3B36BF88E773E3C1A383FA /* Pods-NewExpensify.debug staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.debug staging.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.debug staging.xcconfig"; sourceTree = ""; }; + 96552D489D9F09B6A5ABD81B /* Pods-NewExpensify-NewExpensifyTests.release production.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.release production.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.release production.xcconfig"; sourceTree = ""; }; + AEFE6CD54912D427D19133C7 /* libPods-NewExpensify.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NewExpensify.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + BD6E1BA27D6ABE0AC9D70586 /* Pods-NewExpensify-NewExpensifyTests.release development.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.release development.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.release development.xcconfig"; sourceTree = ""; }; + BF6A4C5167244B9FB8E4D4E3 /* ExpensifyNeue-Italic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Italic.otf"; path = "../assets/fonts/native/ExpensifyNeue-Italic.otf"; sourceTree = ""; }; + CECC4CBB97A55705A33BEA9E /* Pods-NewExpensify.debug development.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify.debug development.xcconfig"; path = "Target Support Files/Pods-NewExpensify/Pods-NewExpensify.debug development.xcconfig"; sourceTree = ""; }; D2AFB39EC1D44BF9B91D3227 /* ExpensifyNewKansas-MediumItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNewKansas-MediumItalic.otf"; path = "../assets/fonts/native/ExpensifyNewKansas-MediumItalic.otf"; sourceTree = ""; }; - DCF33E34FFEC48128CDD41D4 /* ExpensifyMono-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyMono-Bold.otf"; path = "../assets/fonts/native/ExpensifyMono-Bold.otf"; sourceTree = ""; }; + DB76E0D5C670190A0997C71E /* Pods-NewExpensify-NewExpensifyTests.debug production.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.debug production.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.debug production.xcconfig"; sourceTree = ""; }; + DCF33E34FFEC48128CDD41D4 /* ExpensifyMono-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyMono-Bold.otf"; path = "../assets/fonts/native/ExpensifyMono-Bold.otf"; sourceTree = ""; }; DD7904292792E76D004484B4 /* RCTBootSplash.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RCTBootSplash.h; path = NewExpensify/RCTBootSplash.h; sourceTree = ""; }; DD79042A2792E76D004484B4 /* RCTBootSplash.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = RCTBootSplash.m; path = NewExpensify/RCTBootSplash.m; sourceTree = ""; }; - E704648954784DDFBAADF568 /* ExpensifyMono-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyMono-Regular.otf"; path = "../assets/fonts/native/ExpensifyMono-Regular.otf"; sourceTree = ""; }; + E2F1036F70CBFE39E9352674 /* Pods-NewExpensify-NewExpensifyTests.debug development.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-NewExpensify-NewExpensifyTests.debug development.xcconfig"; path = "Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests.debug development.xcconfig"; sourceTree = ""; }; + E704648954784DDFBAADF568 /* ExpensifyMono-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyMono-Regular.otf"; path = "../assets/fonts/native/ExpensifyMono-Regular.otf"; sourceTree = ""; }; E9DF872C2525201700607FDC /* AirshipConfig.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = AirshipConfig.plist; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; F0C450E92705020500FD2970 /* colors.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; name = colors.json; path = ../colors.json; sourceTree = ""; }; - F4F8A052A22040339996324B /* ExpensifyNeue-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Regular.otf"; path = "../assets/fonts/native/ExpensifyNeue-Regular.otf"; sourceTree = ""; }; - F679A86058F8C4B331D239C3 /* libPods-NewExpensify-NewExpensifyTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-NewExpensify-NewExpensifyTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + F4F8A052A22040339996324B /* ExpensifyNeue-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "ExpensifyNeue-Regular.otf"; path = "../assets/fonts/native/ExpensifyNeue-Regular.otf"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -92,7 +104,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - B54A7C3AA98189A600323C02 /* libPods-NewExpensify-NewExpensifyTests.a in Frameworks */, + 34FF0B164B1D8ED1054BFBB6 /* libPods-NewExpensify-NewExpensifyTests.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -101,7 +113,7 @@ buildActionMask = 2147483647; files = ( E51DC681C7DEE40AEBDDFBFE /* BuildFile in Frameworks */, - 9A65F0F374EC04ABB5FF40AF /* libPods-NewExpensify.a in Frameworks */, + 5A464BC8112CDB1DE1E38F1C /* libPods-NewExpensify.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -147,8 +159,8 @@ children = ( ED297162215061F000B7C4FE /* JavaScriptCore.framework */, ED2971642150620600B7C4FE /* JavaScriptCore.framework */, - F679A86058F8C4B331D239C3 /* libPods-NewExpensify-NewExpensifyTests.a */, - 2FD35F00FB84D9FCF60D56A7 /* libPods-NewExpensify.a */, + AEFE6CD54912D427D19133C7 /* libPods-NewExpensify.a */, + 6FB387B20AE4E6E98858B6AA /* libPods-NewExpensify-NewExpensifyTests.a */, ); name = Frameworks; sourceTree = ""; @@ -187,7 +199,7 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* New Expensify.app */, + 13B07F961A680F5B00A75B9A /* New Expensify Dev.app */, 00E356EE1AD99517003FC87E /* NewExpensifyTests.xctest */, ); name = Products; @@ -211,10 +223,22 @@ EC29677F0A49C2946A495A33 /* Pods */ = { isa = PBXGroup; children = ( - 37F6DD6E91B4C55BD8DDC895 /* Pods-NewExpensify.debug.xcconfig */, - 391B5D1DB6CFBAC16FD11DC4 /* Pods-NewExpensify.release.xcconfig */, - B37C757CE02B734BFED38097 /* Pods-NewExpensify-NewExpensifyTests.debug.xcconfig */, - CA3A3642AEED7CF2D4CD3716 /* Pods-NewExpensify-NewExpensifyTests.release.xcconfig */, + CECC4CBB97A55705A33BEA9E /* Pods-NewExpensify.debug development.xcconfig */, + 0B09CE5BDAF34DD3573AB4E2 /* Pods-NewExpensify.debug adhoc.xcconfig */, + 8D3B36BF88E773E3C1A383FA /* Pods-NewExpensify.debug staging.xcconfig */, + 0E27AA27706D894246E7946D /* Pods-NewExpensify.debug production.xcconfig */, + 02BE6CF80ED1BD2445267F92 /* Pods-NewExpensify.release development.xcconfig */, + 1DDE5449979A136852B939B5 /* Pods-NewExpensify.release adhoc.xcconfig */, + 75CABB0D0ABB0082FE0EB600 /* Pods-NewExpensify.release staging.xcconfig */, + 34A8FDD1F9AA58B8F15C8380 /* Pods-NewExpensify.release production.xcconfig */, + E2F1036F70CBFE39E9352674 /* Pods-NewExpensify-NewExpensifyTests.debug development.xcconfig */, + 432FF5842B766535509FC547 /* Pods-NewExpensify-NewExpensifyTests.debug adhoc.xcconfig */, + 3D393D7ABC1092F1DE91397F /* Pods-NewExpensify-NewExpensifyTests.debug staging.xcconfig */, + DB76E0D5C670190A0997C71E /* Pods-NewExpensify-NewExpensifyTests.debug production.xcconfig */, + BD6E1BA27D6ABE0AC9D70586 /* Pods-NewExpensify-NewExpensifyTests.release development.xcconfig */, + 6B5211DB0EEB46E12DF4AD2D /* Pods-NewExpensify-NewExpensifyTests.release adhoc.xcconfig */, + 6BE16DA6EFF88513DB1CD47B /* Pods-NewExpensify-NewExpensifyTests.release staging.xcconfig */, + 96552D489D9F09B6A5ABD81B /* Pods-NewExpensify-NewExpensifyTests.release production.xcconfig */, ); path = Pods; sourceTree = ""; @@ -226,12 +250,12 @@ isa = PBXNativeTarget; buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "NewExpensifyTests" */; buildPhases = ( - 534FB136F5054EABB5B78C45 /* [CP] Check Pods Manifest.lock */, + EA9511689FED50580B0F3DE7 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, - 7026C9E151743F743B66758C /* [CP] Embed Pods Frameworks */, - D86F192E7E836C985A6C3887 /* [CP] Copy Pods Resources */, + 6B9E07408E1D6715FDAB0C98 /* [CP] Embed Pods Frameworks */, + DCBD600FEEE485201447211A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -247,16 +271,16 @@ isa = PBXNativeTarget; buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "NewExpensify" */; buildPhases = ( - 76D95BA26FBE16FB4160466A /* [CP] Check Pods Manifest.lock */, + 7E666D03089C35260C905B4A /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - 0DD7756DAF1D223C57F4D186 /* [CP] Embed Pods Frameworks */, - 1243CB50053E5462B0B69043 /* [CP] Copy Pods Resources */, - BC051F7DE694DE52DA3FEB70 /* [CP-User] [RNFB] Core Configuration */, - AD029A24A9ACE21B4D2AE31D /* [CP-User] [RNFB] Crashlytics Configuration */, + 3792B4E76B24FC8F78B7FEB6 /* [CP] Embed Pods Frameworks */, + 5259EE1448507A682C02026F /* [CP] Copy Pods Resources */, + 5E34288ECB69FCFA24851234 /* [CP-User] [RNFB] Core Configuration */, + E10553ABAB7762D41AC85C09 /* [CP-User] [RNFB] Crashlytics Configuration */, ); buildRules = ( ); @@ -264,7 +288,7 @@ ); name = NewExpensify; productName = NewExpensify; - productReference = 13B07F961A680F5B00A75B9A /* New Expensify.app */; + productReference = 13B07F961A680F5B00A75B9A /* New Expensify Dev.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -277,6 +301,7 @@ TargetAttributes = { 00E356ED1AD99517003FC87E = { CreatedOnToolsVersion = 6.2; + DevelopmentTeam = 368M544MTT; ProvisioningStyle = Automatic; TestTargetID = 13B07F861A680F5B00A75B9A; }; @@ -352,7 +377,7 @@ shellPath = /bin/sh; shellScript = "export NODE_BINARY=node\nexport EXTRA_PACKAGER_ARGS=\"--sourcemap-output $(pwd)/../main.jsbundle.map\"\n\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; }; - 0DD7756DAF1D223C57F4D186 /* [CP] Embed Pods Frameworks */ = { + 3792B4E76B24FC8F78B7FEB6 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -380,7 +405,7 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewExpensify/Pods-NewExpensify-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 1243CB50053E5462B0B69043 /* [CP] Copy Pods Resources */ = { + 5259EE1448507A682C02026F /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -408,29 +433,20 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewExpensify/Pods-NewExpensify-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 534FB136F5054EABB5B78C45 /* [CP] Check Pods Manifest.lock */ = { + 5E34288ECB69FCFA24851234 /* [CP-User] [RNFB] Core Configuration */ = { 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-NewExpensify-NewExpensifyTests-checkManifestLockResult.txt", + "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", ); + name = "[CP-User] [RNFB] Core Configuration"; 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; + shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nset -e\n\n_MAX_LOOKUPS=2;\n_SEARCH_RESULT=''\n_RN_ROOT_EXISTS=''\n_CURRENT_LOOKUPS=1\n_JSON_ROOT=\"'react-native'\"\n_JSON_FILE_NAME='firebase.json'\n_JSON_OUTPUT_BASE64='e30=' # { }\n_CURRENT_SEARCH_DIR=${PROJECT_DIR}\n_PLIST_BUDDY=/usr/libexec/PlistBuddy\n_TARGET_PLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\n_DSYM_PLIST=\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist\"\n\n# plist arrays\n_PLIST_ENTRY_KEYS=()\n_PLIST_ENTRY_TYPES=()\n_PLIST_ENTRY_VALUES=()\n\nfunction setPlistValue {\n echo \"info: setting plist entry '$1' of type '$2' in file '$4'\"\n ${_PLIST_BUDDY} -c \"Add :$1 $2 '$3'\" $4 || echo \"info: '$1' already exists\"\n}\n\nfunction getFirebaseJsonKeyValue () {\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']\"\n else\n echo \"\"\n fi;\n}\n\nfunction jsonBoolToYesNo () {\n if [[ $1 == \"false\" ]]; then\n echo \"NO\"\n elif [[ $1 == \"true\" ]]; then\n echo \"YES\"\n else echo \"NO\"\n fi\n}\n\necho \"info: -> RNFB build script started\"\necho \"info: 1) Locating ${_JSON_FILE_NAME} file:\"\n\nif [[ -z ${_CURRENT_SEARCH_DIR} ]]; then\n _CURRENT_SEARCH_DIR=$(pwd)\nfi;\n\nwhile true; do\n _CURRENT_SEARCH_DIR=$(dirname \"$_CURRENT_SEARCH_DIR\")\n if [[ \"$_CURRENT_SEARCH_DIR\" == \"/\" ]] || [[ ${_CURRENT_LOOKUPS} -gt ${_MAX_LOOKUPS} ]]; then break; fi;\n echo \"info: ($_CURRENT_LOOKUPS of $_MAX_LOOKUPS) Searching in '$_CURRENT_SEARCH_DIR' for a ${_JSON_FILE_NAME} file.\"\n _SEARCH_RESULT=$(find \"$_CURRENT_SEARCH_DIR\" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | /usr/bin/head -n 1)\n if [[ ${_SEARCH_RESULT} ]]; then\n echo \"info: ${_JSON_FILE_NAME} found at $_SEARCH_RESULT\"\n break;\n fi;\n _CURRENT_LOOKUPS=$((_CURRENT_LOOKUPS+1))\ndone\n\nif [[ ${_SEARCH_RESULT} ]]; then\n _JSON_OUTPUT_RAW=$(cat \"${_SEARCH_RESULT}\")\n _RN_ROOT_EXISTS=$(ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]\" || echo '')\n\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n _JSON_OUTPUT_BASE64=$(python -c 'import json,sys,base64;print(base64.b64encode(json.dumps(json.loads(open('\"'${_SEARCH_RESULT}'\"').read())['${_JSON_ROOT}'])))' || echo \"e30=\")\n fi\n\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n\n # config.app_data_collection_default_enabled\n _APP_DATA_COLLECTION_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_data_collection_default_enabled\")\n if [[ $_APP_DATA_COLLECTION_ENABLED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseDataCollectionDefaultEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_DATA_COLLECTION_ENABLED\")\")\n fi\n\n # config.analytics_auto_collection_enabled\n _ANALYTICS_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_auto_collection_enabled\")\n if [[ $_ANALYTICS_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AUTO_COLLECTION\")\")\n fi\n\n # config.analytics_collection_deactivated\n _ANALYTICS_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_collection_deactivated\")\n if [[ $_ANALYTICS_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_DEACTIVATED\")\")\n fi\n\n # config.analytics_idfv_collection_enabled\n _ANALYTICS_IDFV_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_idfv_collection_enabled\")\n if [[ $_ANALYTICS_IDFV_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_IDFV_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_IDFV_COLLECTION\")\")\n fi\n\n # config.analytics_default_allow_ad_personalization_signals\n _ANALYTICS_PERSONALIZATION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_ad_personalization_signals\")\n if [[ $_ANALYTICS_PERSONALIZATION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_PERSONALIZATION\")\")\n fi\n\n # config.perf_auto_collection_enabled\n _PERF_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_auto_collection_enabled\")\n if [[ $_PERF_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_enabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_AUTO_COLLECTION\")\")\n fi\n\n # config.perf_collection_deactivated\n _PERF_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_collection_deactivated\")\n if [[ $_PERF_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_deactivated\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_DEACTIVATED\")\")\n fi\n\n # config.messaging_auto_init_enabled\n _MESSAGING_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"messaging_auto_init_enabled\")\n if [[ $_MESSAGING_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseMessagingAutoInitEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_MESSAGING_AUTO_INIT\")\")\n fi\n\n # config.in_app_messaging_auto_colllection_enabled\n _FIAM_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"in_app_messaging_auto_collection_enabled\")\n if [[ $_FIAM_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseInAppMessagingAutomaticDataCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_FIAM_AUTO_INIT\")\")\n fi\n\n # config.app_check_token_auto_refresh\n _APP_CHECK_TOKEN_AUTO_REFRESH=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_check_token_auto_refresh\")\n if [[ $_APP_CHECK_TOKEN_AUTO_REFRESH ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseAppCheckTokenAutoRefreshEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_CHECK_TOKEN_AUTO_REFRESH\")\")\n fi\n\n # config.crashlytics_disable_auto_disabler - undocumented for now - mainly for debugging, document if becomes useful\n _CRASHLYTICS_AUTO_DISABLE_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"crashlytics_disable_auto_disabler\")\n if [[ $_CRASHLYTICS_AUTO_DISABLE_ENABLED == \"true\" ]]; then\n echo \"Disabled Crashlytics auto disabler.\" # do nothing\n else\n _PLIST_ENTRY_KEYS+=(\"FirebaseCrashlyticsCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"NO\")\n fi\nelse\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n echo \"warning: A firebase.json file was not found, whilst this file is optional it is recommended to include it to configure firebase services in React Native Firebase.\"\nfi;\n\necho \"info: 2) Injecting Info.plist entries: \"\n\n# Log out the keys we're adding\nfor i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n echo \" -> $i) ${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\"\ndone\n\nfor plist in \"${_TARGET_PLIST}\" \"${_DSYM_PLIST}\" ; do\n if [[ -f \"${plist}\" ]]; then\n\n # paths with spaces break the call to setPlistValue. temporarily modify\n # the shell internal field separator variable (IFS), which normally\n # includes spaces, to consist only of line breaks\n oldifs=$IFS\n IFS=\"\n\"\n\n for i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n setPlistValue \"${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\" \"${plist}\"\n done\n\n # restore the original internal field separator value\n IFS=$oldifs\n else\n echo \"warning: A Info.plist build output file was not found (${plist})\"\n fi\ndone\n\necho \"info: <- RNFB build script finished\"\n"; }; - 7026C9E151743F743B66758C /* [CP] Embed Pods Frameworks */ = { + 6B9E07408E1D6715FDAB0C98 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -458,7 +474,7 @@ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - 76D95BA26FBE16FB4160466A /* [CP] Check Pods Manifest.lock */ = { + 7E666D03089C35260C905B4A /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -480,59 +496,68 @@ 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; }; - AD029A24A9ACE21B4D2AE31D /* [CP-User] [RNFB] Crashlytics Configuration */ = { + DCBD600FEEE485201447211A /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}", - "$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", + "${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-resources.sh", + "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipAutomationResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipCoreResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipExtendedActionsResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipMessageCenterResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipPreferenceCenterResources.bundle", + "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipAutomationResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipCoreResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipExtendedActionsResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipMessageCenterResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipPreferenceCenterResources.bundle", + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle", ); - name = "[CP-User] [RNFB] Crashlytics Configuration"; runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nset -e\n\nif [[ ${PODS_ROOT} ]]; then\n echo \"info: Exec FirebaseCrashlytics Run from Pods\"\n \"${PODS_ROOT}/FirebaseCrashlytics/run\"\nelse\n echo \"info: Exec FirebaseCrashlytics Run from framework\"\n \"${PROJECT_DIR}/FirebaseCrashlytics.framework/run\"\nfi\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-resources.sh\"\n"; + showEnvVarsInLog = 0; }; - BC051F7DE694DE52DA3FEB70 /* [CP-User] [RNFB] Core Configuration */ = { + E10553ABAB7762D41AC85C09 /* [CP-User] [RNFB] Crashlytics Configuration */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputPaths = ( - "$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", + "${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME}", + "$(SRCROOT)/$(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)", ); - name = "[CP-User] [RNFB] Core Configuration"; + name = "[CP-User] [RNFB] Crashlytics Configuration"; runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nset -e\n\n_MAX_LOOKUPS=2;\n_SEARCH_RESULT=''\n_RN_ROOT_EXISTS=''\n_CURRENT_LOOKUPS=1\n_JSON_ROOT=\"'react-native'\"\n_JSON_FILE_NAME='firebase.json'\n_JSON_OUTPUT_BASE64='e30=' # { }\n_CURRENT_SEARCH_DIR=${PROJECT_DIR}\n_PLIST_BUDDY=/usr/libexec/PlistBuddy\n_TARGET_PLIST=\"${BUILT_PRODUCTS_DIR}/${INFOPLIST_PATH}\"\n_DSYM_PLIST=\"${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Info.plist\"\n\n# plist arrays\n_PLIST_ENTRY_KEYS=()\n_PLIST_ENTRY_TYPES=()\n_PLIST_ENTRY_VALUES=()\n\nfunction setPlistValue {\n echo \"info: setting plist entry '$1' of type '$2' in file '$4'\"\n ${_PLIST_BUDDY} -c \"Add :$1 $2 '$3'\" $4 || echo \"info: '$1' already exists\"\n}\n\nfunction getFirebaseJsonKeyValue () {\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$1'); puts output[$_JSON_ROOT]['$2']\"\n else\n echo \"\"\n fi;\n}\n\nfunction jsonBoolToYesNo () {\n if [[ $1 == \"false\" ]]; then\n echo \"NO\"\n elif [[ $1 == \"true\" ]]; then\n echo \"YES\"\n else echo \"NO\"\n fi\n}\n\necho \"info: -> RNFB build script started\"\necho \"info: 1) Locating ${_JSON_FILE_NAME} file:\"\n\nif [[ -z ${_CURRENT_SEARCH_DIR} ]]; then\n _CURRENT_SEARCH_DIR=$(pwd)\nfi;\n\nwhile true; do\n _CURRENT_SEARCH_DIR=$(dirname \"$_CURRENT_SEARCH_DIR\")\n if [[ \"$_CURRENT_SEARCH_DIR\" == \"/\" ]] || [[ ${_CURRENT_LOOKUPS} -gt ${_MAX_LOOKUPS} ]]; then break; fi;\n echo \"info: ($_CURRENT_LOOKUPS of $_MAX_LOOKUPS) Searching in '$_CURRENT_SEARCH_DIR' for a ${_JSON_FILE_NAME} file.\"\n _SEARCH_RESULT=$(find \"$_CURRENT_SEARCH_DIR\" -maxdepth 2 -name ${_JSON_FILE_NAME} -print | /usr/bin/head -n 1)\n if [[ ${_SEARCH_RESULT} ]]; then\n echo \"info: ${_JSON_FILE_NAME} found at $_SEARCH_RESULT\"\n break;\n fi;\n _CURRENT_LOOKUPS=$((_CURRENT_LOOKUPS+1))\ndone\n\nif [[ ${_SEARCH_RESULT} ]]; then\n _JSON_OUTPUT_RAW=$(cat \"${_SEARCH_RESULT}\")\n _RN_ROOT_EXISTS=$(ruby -e \"require 'rubygems';require 'json'; output=JSON.parse('$_JSON_OUTPUT_RAW'); puts output[$_JSON_ROOT]\" || echo '')\n\n if [[ ${_RN_ROOT_EXISTS} ]]; then\n _JSON_OUTPUT_BASE64=$(python -c 'import json,sys,base64;print(base64.b64encode(json.dumps(json.loads(open('\"'${_SEARCH_RESULT}'\"').read())['${_JSON_ROOT}'])))' || echo \"e30=\")\n fi\n\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n\n # config.app_data_collection_default_enabled\n _APP_DATA_COLLECTION_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_data_collection_default_enabled\")\n if [[ $_APP_DATA_COLLECTION_ENABLED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseDataCollectionDefaultEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_DATA_COLLECTION_ENABLED\")\")\n fi\n\n # config.analytics_auto_collection_enabled\n _ANALYTICS_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_auto_collection_enabled\")\n if [[ $_ANALYTICS_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_AUTO_COLLECTION\")\")\n fi\n\n # config.analytics_collection_deactivated\n _ANALYTICS_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_collection_deactivated\")\n if [[ $_ANALYTICS_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_DEACTIVATED\")\")\n fi\n\n # config.analytics_idfv_collection_enabled\n _ANALYTICS_IDFV_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_idfv_collection_enabled\")\n if [[ $_ANALYTICS_IDFV_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_IDFV_COLLECTION_ENABLED\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_IDFV_COLLECTION\")\")\n fi\n\n # config.analytics_default_allow_ad_personalization_signals\n _ANALYTICS_PERSONALIZATION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"analytics_default_allow_ad_personalization_signals\")\n if [[ $_ANALYTICS_PERSONALIZATION ]]; then\n _PLIST_ENTRY_KEYS+=(\"GOOGLE_ANALYTICS_DEFAULT_ALLOW_AD_PERSONALIZATION_SIGNALS\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_ANALYTICS_PERSONALIZATION\")\")\n fi\n\n # config.perf_auto_collection_enabled\n _PERF_AUTO_COLLECTION=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_auto_collection_enabled\")\n if [[ $_PERF_AUTO_COLLECTION ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_enabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_AUTO_COLLECTION\")\")\n fi\n\n # config.perf_collection_deactivated\n _PERF_DEACTIVATED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"perf_collection_deactivated\")\n if [[ $_PERF_DEACTIVATED ]]; then\n _PLIST_ENTRY_KEYS+=(\"firebase_performance_collection_deactivated\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_PERF_DEACTIVATED\")\")\n fi\n\n # config.messaging_auto_init_enabled\n _MESSAGING_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"messaging_auto_init_enabled\")\n if [[ $_MESSAGING_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseMessagingAutoInitEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_MESSAGING_AUTO_INIT\")\")\n fi\n\n # config.in_app_messaging_auto_colllection_enabled\n _FIAM_AUTO_INIT=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"in_app_messaging_auto_collection_enabled\")\n if [[ $_FIAM_AUTO_INIT ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseInAppMessagingAutomaticDataCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_FIAM_AUTO_INIT\")\")\n fi\n\n # config.app_check_token_auto_refresh\n _APP_CHECK_TOKEN_AUTO_REFRESH=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"app_check_token_auto_refresh\")\n if [[ $_APP_CHECK_TOKEN_AUTO_REFRESH ]]; then\n _PLIST_ENTRY_KEYS+=(\"FirebaseAppCheckTokenAutoRefreshEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"$(jsonBoolToYesNo \"$_APP_CHECK_TOKEN_AUTO_REFRESH\")\")\n fi\n\n # config.crashlytics_disable_auto_disabler - undocumented for now - mainly for debugging, document if becomes useful\n _CRASHLYTICS_AUTO_DISABLE_ENABLED=$(getFirebaseJsonKeyValue \"$_JSON_OUTPUT_RAW\" \"crashlytics_disable_auto_disabler\")\n if [[ $_CRASHLYTICS_AUTO_DISABLE_ENABLED == \"true\" ]]; then\n echo \"Disabled Crashlytics auto disabler.\" # do nothing\n else\n _PLIST_ENTRY_KEYS+=(\"FirebaseCrashlyticsCollectionEnabled\")\n _PLIST_ENTRY_TYPES+=(\"bool\")\n _PLIST_ENTRY_VALUES+=(\"NO\")\n fi\nelse\n _PLIST_ENTRY_KEYS+=(\"firebase_json_raw\")\n _PLIST_ENTRY_TYPES+=(\"string\")\n _PLIST_ENTRY_VALUES+=(\"$_JSON_OUTPUT_BASE64\")\n echo \"warning: A firebase.json file was not found, whilst this file is optional it is recommended to include it to configure firebase services in React Native Firebase.\"\nfi;\n\necho \"info: 2) Injecting Info.plist entries: \"\n\n# Log out the keys we're adding\nfor i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n echo \" -> $i) ${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\"\ndone\n\nfor plist in \"${_TARGET_PLIST}\" \"${_DSYM_PLIST}\" ; do\n if [[ -f \"${plist}\" ]]; then\n\n # paths with spaces break the call to setPlistValue. temporarily modify\n # the shell internal field separator variable (IFS), which normally\n # includes spaces, to consist only of line breaks\n oldifs=$IFS\n IFS=\"\n\"\n\n for i in \"${!_PLIST_ENTRY_KEYS[@]}\"; do\n setPlistValue \"${_PLIST_ENTRY_KEYS[$i]}\" \"${_PLIST_ENTRY_TYPES[$i]}\" \"${_PLIST_ENTRY_VALUES[$i]}\" \"${plist}\"\n done\n\n # restore the original internal field separator value\n IFS=$oldifs\n else\n echo \"warning: A Info.plist build output file was not found (${plist})\"\n fi\ndone\n\necho \"info: <- RNFB build script finished\"\n"; + shellScript = "#!/usr/bin/env bash\n#\n# Copyright (c) 2016-present Invertase Limited & Contributors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this library except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\nset -e\n\nif [[ ${PODS_ROOT} ]]; then\n echo \"info: Exec FirebaseCrashlytics Run from Pods\"\n \"${PODS_ROOT}/FirebaseCrashlytics/run\"\nelse\n echo \"info: Exec FirebaseCrashlytics Run from framework\"\n \"${PROJECT_DIR}/FirebaseCrashlytics.framework/run\"\nfi\n"; }; - D86F192E7E836C985A6C3887 /* [CP] Copy Pods Resources */ = { + EA9511689FED50580B0F3DE7 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); + inputFileListPaths = ( + ); inputPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-resources.sh", - "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipAutomationResources.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipCoreResources.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipExtendedActionsResources.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipMessageCenterResources.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/Airship/AirshipPreferenceCenterResources.bundle", - "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle", + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( ); - name = "[CP] Copy Pods Resources"; outputPaths = ( - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipAutomationResources.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipCoreResources.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipExtendedActionsResources.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipMessageCenterResources.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AirshipPreferenceCenterResources.bundle", - "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle", + "$(DERIVED_FILE_DIR)/Pods-NewExpensify-NewExpensifyTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-NewExpensify-NewExpensifyTests/Pods-NewExpensify-NewExpensifyTests-resources.sh\"\n"; + 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; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -592,9 +617,9 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 00E356F61AD99517003FC87E /* Debug */ = { + 00E356F61AD99517003FC87E /* Debug Development */ = { isa = XCBuildConfiguration; - baseConfigurationReference = B37C757CE02B734BFED38097 /* Pods-NewExpensify-NewExpensifyTests.debug.xcconfig */; + baseConfigurationReference = E2F1036F70CBFE39E9352674 /* Pods-NewExpensify-NewExpensifyTests.debug development.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -615,11 +640,11 @@ PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; }; - name = Debug; + name = "Debug Development"; }; - 00E356F71AD99517003FC87E /* Release */ = { + 00E356F71AD99517003FC87E /* Release Development */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CA3A3642AEED7CF2D4CD3716 /* Pods-NewExpensify-NewExpensifyTests.release.xcconfig */; + baseConfigurationReference = BD6E1BA27D6ABE0AC9D70586 /* Pods-NewExpensify-NewExpensifyTests.release development.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -638,13 +663,14 @@ PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; }; - name = Release; + name = "Release Development"; }; - 13B07F941A680F5B00A75B9A /* Debug */ = { + 13B07F941A680F5B00A75B9A /* Debug Development */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 37F6DD6E91B4C55BD8DDC895 /* Pods-NewExpensify.debug.xcconfig */; + baseConfigurationReference = CECC4CBB97A55705A33BEA9E /* Pods-NewExpensify.debug development.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDev; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; @@ -661,21 +687,22 @@ "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = com.chat.expensify.chat; - PRODUCT_NAME = "New Expensify"; - PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore; + PRODUCT_BUNDLE_IDENTIFIER = com.expensify.chat.dev; + PRODUCT_NAME = "New Expensify Dev"; + PROVISIONING_PROFILE_SPECIFIER = expensify_chat_dev; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; - name = Debug; + name = "Debug Development"; }; - 13B07F951A680F5B00A75B9A /* Release */ = { + 13B07F951A680F5B00A75B9A /* Release Development */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 391B5D1DB6CFBAC16FD11DC4 /* Pods-NewExpensify.release.xcconfig */; + baseConfigurationReference = 02BE6CF80ED1BD2445267F92 /* Pods-NewExpensify.release development.xcconfig */; buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIconDev; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; CODE_SIGN_IDENTITY = "iPhone Distribution"; @@ -691,21 +718,267 @@ "-ObjC", "-lc++", ); + PRODUCT_BUNDLE_IDENTIFIER = com.expensify.chat.dev; + PRODUCT_NAME = "New Expensify Dev"; + PROVISIONING_PROFILE_SPECIFIER = expensify_chat_dev; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = "Release Development"; + }; + 83CBBA201A601CBA00E9B192 /* Debug Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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)", + ); + 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 = 16.1; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + }; + name = "Debug Development"; + }; + 83CBBA211A601CBA00E9B192 /* Release Development */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_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 = 16.1; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; + PRODUCT_NAME = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = "Release Development"; + }; + CF9AF93E29EE9276001FA527 /* Debug Production */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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)", + ); + 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 = 16.1; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + }; + name = "Debug Production"; + }; + CF9AF93F29EE9276001FA527 /* Debug Production */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0E27AA27706D894246E7946D /* Pods-NewExpensify.debug production.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; + CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 3; + DEVELOPMENT_TEAM = 368M544MTT; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = "$(SRCROOT)/NewExpensify/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); PRODUCT_BUNDLE_IDENTIFIER = com.chat.expensify.chat; PRODUCT_NAME = "New Expensify"; PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; }; - name = Release; + name = "Debug Production"; }; - 83CBBA201A601CBA00E9B192 /* Debug */ = { + CF9AF94029EE9276001FA527 /* Debug Production */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DB76E0D5C670190A0997C71E /* Pods-NewExpensify-NewExpensifyTests.debug production.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = NewExpensifyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; + }; + name = "Debug Production"; + }; + CF9AF94429EE927A001FA527 /* Debug AdHoc */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "c++17"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -759,17 +1032,75 @@ ONLY_ACTIVE_ARCH = YES; OTHER_CFLAGS = "$(inherited)"; OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; }; - name = Debug; + name = "Debug AdHoc"; + }; + CF9AF94529EE927A001FA527 /* Debug AdHoc */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 0B09CE5BDAF34DD3573AB4E2 /* Pods-NewExpensify.debug adhoc.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIconAdHoc; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; + CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 3; + DEVELOPMENT_TEAM = 368M544MTT; + ENABLE_BITCODE = NO; + INFOPLIST_FILE = "$(SRCROOT)/NewExpensify/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.expensify.chat.adhoc; + PRODUCT_NAME = "New Expensify AdHoc"; + PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = "Debug AdHoc"; }; - 83CBBA211A601CBA00E9B192 /* Release */ = { + CF9AF94629EE927A001FA527 /* Debug AdHoc */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 432FF5842B766535509FC547 /* Pods-NewExpensify-NewExpensifyTests.debug adhoc.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = NewExpensifyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; + }; + name = "Debug AdHoc"; + }; + CF9AF94729EE928E001FA527 /* Release Production */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_CXX_LANGUAGE_STANDARD = "c++17"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -815,11 +1146,178 @@ MTL_ENABLE_DEBUG_INFO = NO; OTHER_CFLAGS = "$(inherited)"; OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; + PRODUCT_NAME = ""; REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; SDKROOT = iphoneos; VALIDATE_PRODUCT = YES; }; - name = Release; + name = "Release Production"; + }; + CF9AF94829EE928E001FA527 /* Release Production */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 34A8FDD1F9AA58B8F15C8380 /* Pods-NewExpensify.release production.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; + CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 3; + DEVELOPMENT_TEAM = 368M544MTT; + INFOPLIST_FILE = NewExpensify/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.chat.expensify.chat; + PRODUCT_NAME = "New Expensify"; + PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = "Release Production"; + }; + CF9AF94929EE928E001FA527 /* Release Production */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 96552D489D9F09B6A5ABD81B /* Pods-NewExpensify-NewExpensifyTests.release production.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + DEVELOPMENT_TEAM = 368M544MTT; + INFOPLIST_FILE = NewExpensifyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; + }; + name = "Release Production"; + }; + CF9AF94D29EE9293001FA527 /* Release AdHoc */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + 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_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 = 16.1; + LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)"; + LIBRARY_SEARCH_PATHS = ( + "$(SDKROOT)/usr/lib/swift", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = "$(inherited)"; + PRODUCT_BUNDLE_IDENTIFIER = ""; + PRODUCT_NAME = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = "Release AdHoc"; + }; + CF9AF94E29EE9293001FA527 /* Release AdHoc */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 1DDE5449979A136852B939B5 /* Pods-NewExpensify.release adhoc.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIconAdHoc; + ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_ENTITLEMENTS = NewExpensify/Chat.entitlements; + CODE_SIGN_IDENTITY = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = 3; + DEVELOPMENT_TEAM = 368M544MTT; + INFOPLIST_FILE = NewExpensify/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.expensify.chat.adhoc; + PRODUCT_NAME = "New Expensify AdHoc"; + PROVISIONING_PROFILE_SPECIFIER = chat_expensify_appstore; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = "Release AdHoc"; + }; + CF9AF94F29EE9293001FA527 /* Release AdHoc */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6B5211DB0EEB46E12DF4AD2D /* Pods-NewExpensify-NewExpensifyTests.release adhoc.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + DEVELOPMENT_TEAM = 368M544MTT; + INFOPLIST_FILE = NewExpensifyTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/NewExpensify.app/NewExpensify"; + }; + name = "Release AdHoc"; }; /* End XCBuildConfiguration section */ @@ -827,29 +1325,41 @@ 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "NewExpensifyTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - 00E356F61AD99517003FC87E /* Debug */, - 00E356F71AD99517003FC87E /* Release */, + 00E356F61AD99517003FC87E /* Debug Development */, + CF9AF94629EE927A001FA527 /* Debug AdHoc */, + CF9AF94029EE9276001FA527 /* Debug Production */, + 00E356F71AD99517003FC87E /* Release Development */, + CF9AF94F29EE9293001FA527 /* Release AdHoc */, + CF9AF94929EE928E001FA527 /* Release Production */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = "Debug Development"; }; 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "NewExpensify" */ = { isa = XCConfigurationList; buildConfigurations = ( - 13B07F941A680F5B00A75B9A /* Debug */, - 13B07F951A680F5B00A75B9A /* Release */, + 13B07F941A680F5B00A75B9A /* Debug Development */, + CF9AF94529EE927A001FA527 /* Debug AdHoc */, + CF9AF93F29EE9276001FA527 /* Debug Production */, + 13B07F951A680F5B00A75B9A /* Release Development */, + CF9AF94E29EE9293001FA527 /* Release AdHoc */, + CF9AF94829EE928E001FA527 /* Release Production */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = "Debug Development"; }; 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "NewExpensify" */ = { isa = XCConfigurationList; buildConfigurations = ( - 83CBBA201A601CBA00E9B192 /* Debug */, - 83CBBA211A601CBA00E9B192 /* Release */, + 83CBBA201A601CBA00E9B192 /* Debug Development */, + CF9AF94429EE927A001FA527 /* Debug AdHoc */, + CF9AF93E29EE9276001FA527 /* Debug Production */, + 83CBBA211A601CBA00E9B192 /* Release Development */, + CF9AF94D29EE9293001FA527 /* Release AdHoc */, + CF9AF94729EE928E001FA527 /* Release Production */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = "Debug Development"; }; /* End XCConfigurationList section */ }; diff --git a/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify AdHoc.xcscheme b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify AdHoc.xcscheme new file mode 100644 index 000000000000..0e0fad6399a0 --- /dev/null +++ b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify AdHoc.xcscheme @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/NewExpensify.xcscheme b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify Dev.xcscheme similarity index 88% rename from ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/NewExpensify.xcscheme rename to ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify Dev.xcscheme index 87aa0146de0d..77f512242f67 100644 --- a/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/NewExpensify.xcscheme +++ b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify Dev.xcscheme @@ -15,7 +15,7 @@ @@ -23,7 +23,7 @@ @@ -41,7 +41,7 @@ + buildConfiguration = "Debug Development"> diff --git a/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify.xcscheme b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify.xcscheme new file mode 100644 index 000000000000..f68be2705527 --- /dev/null +++ b/ios/NewExpensify.xcodeproj/xcshareddata/xcschemes/New Expensify.xcscheme @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x.png new file mode 100644 index 000000000000..b6f81e21850a Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x~ipad.png new file mode 100644 index 000000000000..b6f81e21850a Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@3x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@3x.png new file mode 100644 index 000000000000..827df2594c05 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20~ipad.png new file mode 100644 index 000000000000..e15f81d06823 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-20~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29.png new file mode 100644 index 000000000000..c09f9e98e00e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x.png new file mode 100644 index 000000000000..6e8d7eb5977a Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x~ipad.png new file mode 100644 index 000000000000..6e8d7eb5977a Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@3x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@3x.png new file mode 100644 index 000000000000..ea1de90cebb9 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29~ipad.png new file mode 100644 index 000000000000..c09f9e98e00e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-29~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x.png new file mode 100644 index 000000000000..405c9d06c2e7 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x~ipad.png new file mode 100644 index 000000000000..405c9d06c2e7 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@3x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@3x.png new file mode 100644 index 000000000000..f7d677f601cd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40~ipad.png new file mode 100644 index 000000000000..b6f81e21850a Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-40~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@2x~car.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@2x~car.png new file mode 100644 index 000000000000..f7d677f601cd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@2x~car.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@3x~car.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@3x~car.png new file mode 100644 index 000000000000..ba5cbd6d0418 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-60@3x~car.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-83.5@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-83.5@2x~ipad.png new file mode 100644 index 000000000000..bc4a8fad1305 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon-83.5@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x.png new file mode 100644 index 000000000000..f7d677f601cd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x~ipad.png new file mode 100644 index 000000000000..3c4738b4e0d9 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@3x.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@3x.png new file mode 100644 index 000000000000..ba5cbd6d0418 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ios-marketing.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ios-marketing.png new file mode 100644 index 000000000000..ba9980fe553d Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ios-marketing.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ipad.png new file mode 100644 index 000000000000..d6902de513a8 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/AppIcon~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/Contents.json b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/Contents.json new file mode 100644 index 000000000000..bd04914aec96 --- /dev/null +++ b/ios/NewExpensify/Images.xcassets/AppIconAdHoc.appiconset/Contents.json @@ -0,0 +1,134 @@ +{ + "images": [ + { + "filename": "AppIcon@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "AppIcon@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "AppIcon-83.5@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "AppIcon-40@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "AppIcon-40~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-20@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "AppIcon-20~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "AppIcon-29~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-60@2x~car.png", + "idiom": "car", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon-60@3x~car.png", + "idiom": "car", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ios-marketing.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "iconkitchen", + "version": 1 + } +} \ No newline at end of file diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x.png new file mode 100644 index 000000000000..827df9a2ad1f Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x~ipad.png new file mode 100644 index 000000000000..827df9a2ad1f Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@3x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@3x.png new file mode 100644 index 000000000000..b7e326a153f0 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20~ipad.png new file mode 100644 index 000000000000..0b96abb2496d Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-20~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29.png new file mode 100644 index 000000000000..3a0648282861 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x.png new file mode 100644 index 000000000000..a89052bf5818 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x~ipad.png new file mode 100644 index 000000000000..a89052bf5818 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@3x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@3x.png new file mode 100644 index 000000000000..4234a1b8bc7d Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29~ipad.png new file mode 100644 index 000000000000..3a0648282861 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-29~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x.png new file mode 100644 index 000000000000..535d2ea95841 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x~ipad.png new file mode 100644 index 000000000000..535d2ea95841 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@3x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@3x.png new file mode 100644 index 000000000000..1ce8ff1c5a4e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40~ipad.png new file mode 100644 index 000000000000..827df9a2ad1f Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-40~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@2x~car.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@2x~car.png new file mode 100644 index 000000000000..1ce8ff1c5a4e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@2x~car.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@3x~car.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@3x~car.png new file mode 100644 index 000000000000..3306f28e9cfd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-60@3x~car.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-83.5@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-83.5@2x~ipad.png new file mode 100644 index 000000000000..c92d9c97b673 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon-83.5@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x.png new file mode 100644 index 000000000000..1ce8ff1c5a4e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x~ipad.png new file mode 100644 index 000000000000..5ad52fc70033 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@2x~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@3x.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@3x.png new file mode 100644 index 000000000000..3306f28e9cfd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ios-marketing.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ios-marketing.png new file mode 100644 index 000000000000..431307ca66b4 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ios-marketing.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ipad.png b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ipad.png new file mode 100644 index 000000000000..9aff8b53fb0e Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/AppIcon~ipad.png differ diff --git a/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/Contents.json b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/Contents.json new file mode 100644 index 000000000000..bd04914aec96 --- /dev/null +++ b/ios/NewExpensify/Images.xcassets/AppIconDev.appiconset/Contents.json @@ -0,0 +1,134 @@ +{ + "images": [ + { + "filename": "AppIcon@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "AppIcon@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "AppIcon-83.5@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "AppIcon-40@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "AppIcon-40~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "AppIcon-40@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "AppIcon-20@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "AppIcon-20~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "AppIcon-20@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "AppIcon-29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@3x.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "AppIcon-29~ipad.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "AppIcon-29@2x~ipad.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "AppIcon-60@2x~car.png", + "idiom": "car", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "AppIcon-60@3x~car.png", + "idiom": "car", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "AppIcon~ios-marketing.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + } + ], + "info": { + "author": "iconkitchen", + "version": 1 + } +} \ No newline at end of file diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogo.imageset/Contents.json b/ios/NewExpensify/Images.xcassets/BootSplashLogo.imageset/Contents.json index 570652dfdaa0..a8927aa86e2b 100644 --- a/ios/NewExpensify/Images.xcassets/BootSplashLogo.imageset/Contents.json +++ b/ios/NewExpensify/Images.xcassets/BootSplashLogo.imageset/Contents.json @@ -1,23 +1,23 @@ { - "images": [ + "images" : [ { - "idiom": "universal", - "filename": "bootsplash_logo.png", - "scale": "1x" + "filename" : "bootsplash_logo.png", + "idiom" : "universal", + "scale" : "1x" }, { - "idiom": "universal", - "filename": "bootsplash_logo@2x.png", - "scale": "2x" + "filename" : "bootsplash_logo@2x.png", + "idiom" : "universal", + "scale" : "2x" }, { - "idiom": "universal", - "filename": "bootsplash_logo@3x.png", - "scale": "3x" + "filename" : "bootsplash_logo@3x.png", + "idiom" : "universal", + "scale" : "3x" } ], - "info": { - "version": 1, - "author": "xcode" + "info" : { + "author" : "xcode", + "version" : 1 } } diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/Contents.json b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/Contents.json new file mode 100644 index 000000000000..a8927aa86e2b --- /dev/null +++ b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "bootsplash_logo.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "bootsplash_logo@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "bootsplash_logo@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo.png new file mode 100644 index 000000000000..8fbef1c5ab06 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo.png differ diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@2x.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@2x.png new file mode 100644 index 000000000000..186a2f85e1dd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@3x.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@3x.png new file mode 100644 index 000000000000..e208d1e0f8ab Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoAdHoc.imageset/bootsplash_logo@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/Contents.json b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/Contents.json new file mode 100644 index 000000000000..a8927aa86e2b --- /dev/null +++ b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "filename" : "bootsplash_logo.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "filename" : "bootsplash_logo@2x.png", + "idiom" : "universal", + "scale" : "2x" + }, + { + "filename" : "bootsplash_logo@3x.png", + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo.png new file mode 100644 index 000000000000..8fbef1c5ab06 Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo.png differ diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@2x.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@2x.png new file mode 100644 index 000000000000..186a2f85e1dd Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@2x.png differ diff --git a/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@3x.png b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@3x.png new file mode 100644 index 000000000000..e208d1e0f8ab Binary files /dev/null and b/ios/NewExpensify/Images.xcassets/BootSplashLogoDev.imageset/bootsplash_logo@3x.png differ diff --git a/ios/NewExpensify/Images.xcassets/Contents.json b/ios/NewExpensify/Images.xcassets/Contents.json index 2d92bd53fdb2..73c00596a7fc 100644 --- a/ios/NewExpensify/Images.xcassets/Contents.json +++ b/ios/NewExpensify/Images.xcassets/Contents.json @@ -1,6 +1,6 @@ { "info" : { - "version" : 1, - "author" : "xcode" + "author" : "xcode", + "version" : 1 } } diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist index f4fc4d21cfaa..8817f8560fed 100644 --- a/ios/NewExpensify/Info.plist +++ b/ios/NewExpensify/Info.plist @@ -19,7 +19,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.3.52 + 1.3.54 CFBundleSignature ???? CFBundleURLTypes @@ -32,7 +32,7 @@ CFBundleVersion - 1.3.52.4 + 1.3.54.11 ITSAppUsesNonExemptEncryption LSApplicationQueriesSchemes diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist index 9c6249c9d361..31dab672cd4e 100644 --- a/ios/NewExpensifyTests/Info.plist +++ b/ios/NewExpensifyTests/Info.plist @@ -15,10 +15,10 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.3.52 + 1.3.54 CFBundleSignature ???? CFBundleVersion - 1.3.52.4 + 1.3.54.11 diff --git a/ios/Podfile b/ios/Podfile index 3261d68fd27d..50b9f4646932 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -18,7 +18,7 @@ prepare_react_native_project! # dependencies: { # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}), # ``` -flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled +flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled(['Debug Production', 'Debug Development', 'Debug AdHoc']) linkage = ENV['USE_FRAMEWORKS'] if linkage != nil @@ -44,6 +44,14 @@ end target 'NewExpensify' do permissions_path = '../node_modules/react-native-permissions/ios' + project 'NewExpensify', + 'Debug Development' => :debug, + 'Debug AdHoc' => :debug, + 'Debug Production' => :debug, + 'Release Development' => :release, + 'Release AdHoc' => :release, + 'Release Production' => :release + pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy" pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways" pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse" diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a486465b0a29..af29315b58ca 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -21,6 +21,8 @@ PODS: - Airship/MessageCenter (= 16.11.3) - Airship/PreferenceCenter (= 16.11.3) - boost (1.76.0) + - BVLinearGradient (2.8.1): + - React-Core - CocoaAsyncSocket (7.6.5) - DoubleConversion (1.1.6) - FBLazyVector (0.72.3) @@ -793,6 +795,7 @@ PODS: DEPENDENCIES: - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - BVLinearGradient (from `../node_modules/react-native-linear-gradient`) - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) @@ -943,6 +946,8 @@ SPEC REPOS: EXTERNAL SOURCES: boost: :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" + BVLinearGradient: + :path: "../node_modules/react-native-linear-gradient" DoubleConversion: :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" FBLazyVector: @@ -1115,6 +1120,7 @@ SPEC CHECKSUMS: Airship: c70eed50e429f97f5adb285423c7291fb7a032ae AirshipFrameworkProxy: 7bc4130c668c6c98e2d4c60fe4c9eb61a999be99 boost: 57d2868c099736d80fcd648bf211b4431e51a558 + BVLinearGradient: 421743791a59d259aec53f4c58793aad031da2ca CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 4cce221dd782d3ff7c4172167bba09d58af67ccb @@ -1233,6 +1239,6 @@ SPEC CHECKSUMS: Yoga: 8796b55dba14d7004f980b54bcc9833ee45b28ce YogaKit: f782866e155069a2cca2517aafea43200b01fd5a -PODFILE CHECKSUM: bc8161c6bfffeec6e6eaf84be18de5041ddcacf6 +PODFILE CHECKSUM: ff7c8276619cfa428c00b8439045ffd134df7eb8 COCOAPODS: 1.12.1 diff --git a/ios/tmp.xcconfig b/ios/tmp.xcconfig new file mode 100644 index 000000000000..8b137891791f --- /dev/null +++ b/ios/tmp.xcconfig @@ -0,0 +1 @@ + diff --git a/main.jsbundle.map b/main.jsbundle.map new file mode 100644 index 000000000000..db7fbceb3843 --- /dev/null +++ b/main.jsbundle.map @@ -0,0 +1 @@ +{"version":3,"sources":["__prelude__","/Users/mariuszstanisz/App/node_modules/@react-native-community/cli-plugin-metro/node_modules/metro-runtime/src/polyfills/require.js","/Users/mariuszstanisz/App/node_modules/@react-native/polyfills/console.js","/Users/mariuszstanisz/App/node_modules/@react-native/polyfills/error-guard.js","/Users/mariuszstanisz/App/node_modules/@react-native/polyfills/Object.es8.js","/Users/mariuszstanisz/App/index.js","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/GestureButtons.tsx","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/interopRequireDefault.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/objectWithoutProperties.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/classCallCheck.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/createClass.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/inherits.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/setPrototypeOf.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/typeof.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/assertThisInitialized.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/getPrototypeOf.js","/Users/mariuszstanisz/App/node_modules/react/index.js","/Users/mariuszstanisz/App/node_modules/react/cjs/react.production.min.js","/Users/mariuszstanisz/App/node_modules/react-native/index.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/EventEmitter/RCTDeviceEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/vendor/emitter/EventEmitter.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/toConsumableArray.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/arrayLikeToArray.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/iterableToArray.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/nonIterableSpread.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/Platform.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/NativePlatformConstantsIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/TurboModule/TurboModuleRegistry.js","/Users/mariuszstanisz/App/node_modules/invariant/browser.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/slicedToArray.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/arrayWithHoles.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/nonIterableRest.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BatchedBridge/BatchedBridge.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Performance/Systrace.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/vendor/core/ErrorUtils.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/stringifySafe.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/defineLazyObjectProperty.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/RendererProxy.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/RendererImplementation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/shims/ReactFabric.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/InitializeCore.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpGlobals.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpPerformance.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpErrorHandling.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/ExceptionsManager.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/wrapNativeSuper.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/isNativeFunction.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/construct.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Devtools/parseErrorStack.js","/Users/mariuszstanisz/App/node_modules/stacktrace-parser/dist/stack-trace-parser.cjs.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Devtools/parseHermesStack.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/NativeExceptionsManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/polyfillPromise.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/PolyfillFunctions.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Promise.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/promise/setimmediate/finally.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/promise/setimmediate/core.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/promise/setimmediate/es6-extensions.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpRegeneratorRuntime.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/FeatureDetection.js","/Users/mariuszstanisz/App/node_modules/regenerator-runtime/runtime.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpTimers.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Timers/JSTimers.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Timers/NativeTiming.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Timers/immediateShim.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/Timers/queueMicrotask.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpXHR.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/XMLHttpRequest.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/get.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/superPropBase.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/BlobManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/NativeBlobModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/Blob.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/BlobRegistry.js","/Users/mariuszstanisz/App/node_modules/event-target-shim/dist/event-target-shim.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/GlobalPerformanceLogger.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/createPerformanceLogger.js","/Users/mariuszstanisz/App/node_modules/base64-js/index.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/RCTNetworking.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/convertRequestBody.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/FormData.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/binaryToBase64.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/NativeNetworkingIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Network/fetch.js","/Users/mariuszstanisz/App/node_modules/whatwg-fetch/dist/fetch.umd.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/WebSocket/WebSocket.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/EventEmitter/NativeEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/WebSocket/NativeWebSocketModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/WebSocket/WebSocketEvent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/File.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/FileReader.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/NativeFileReaderModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Blob/URL.js","/Users/mariuszstanisz/App/node_modules/abort-controller/dist/abort-controller.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpAlert.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Alert/Alert.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Alert/RCTAlertManager.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Alert/NativeAlertManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpNavigator.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpBatchedBridge.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/HeapCapture/HeapCapture.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/HeapCapture/NativeJSCHeapCapture.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Performance/SamplingProfiler.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Performance/NativeJSCSamplingProfiler.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/RCTLog.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/EventEmitter/RCTNativeAppEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/HMRClientProdShim.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/setUpSegmentFetcher.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/AppRegistry.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BugReporting/BugReporting.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeModules/specs/NativeRedBox.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BugReporting/NativeBugReporting.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/BugReporting/dumpReactTree.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/infoLog.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/SceneTracker.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/HeadlessJsTaskError.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/renderApplication.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/PerformanceLoggerContext.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/AppContainer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/View/View.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/flattenStyle.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Text/TextAncestor.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/View/ViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/NativeComponentRegistry.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/getNativeComponentAttributes.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/UIManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/BridgelessUIManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/NativeComponentRegistryUnstable.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/PaperUIManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/NativeUIManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/UIManagerProperties.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/View/ReactNativeStyleAttributes.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/processAspectRatio.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/processColor.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/normalizeColor.js","/Users/mariuszstanisz/App/node_modules/@react-native/normalize-color/index.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypes.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/processFontVariant.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/processTransform.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/defineProperty.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/differ/sizesDiffer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/differ/matricesDiffer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/differ/pointsDiffer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/differ/insetsDiffer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/processColorArray.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/resolveAssetSource.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeModules/specs/NativeSourceCode.js","/Users/mariuszstanisz/App/node_modules/@react-native/assets/registry.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/AssetSourceResolver.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/AssetUtils.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/PixelRatio.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/Dimensions.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/NativeDeviceInfo.js","/Users/mariuszstanisz/App/node_modules/@react-native/assets/path-support.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/verifyComponentAttributeEquivalence.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/PlatformBaseViewConfig.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/ViewConfigIgnore.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/StaticViewConfigValidator.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeComponent/ViewConfig.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/codegenNativeCommands.js","/Users/mariuszstanisz/App/node_modules/react/jsx-runtime.js","/Users/mariuszstanisz/App/node_modules/react/cjs/react-jsx-runtime.production.min.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/AcessibilityMapping.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/StyleSheet.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/RootTag.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/DisplayMode.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/getCachedComponentWithDebugName.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/BackHandler.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/UnimplementedViews/UnimplementedView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactPrivate/ReactNativePrivateInterface.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/EventEmitter/RCTEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/TextInputState.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/RCTTextInputViewConfig.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/differ/deepDiffer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/ReactFiberErrorDialog.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Core/RawEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Events/CustomEvent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Events/EventPolyfill.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/scheduler/index.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/scheduler/cjs/scheduler.production.min.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/shims/ReactNative.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicator.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/codegenNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/requireNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Renderer/shims/createReactNativeComponentClass.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Button.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Text/Text.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Pressability/PressabilityDebug.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Pressability/usePressability.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Pressability/Pressability.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Sound/SoundManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Sound/NativeSoundManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/ReactNativeFeatureFlags.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Pressability/PressabilityPerformanceEventEmitter.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Pressability/HoverState.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/Rect.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Text/TextNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/index.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedColorPropType.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedEdgeInsetsPropType.js","/Users/mariuszstanisz/App/node_modules/prop-types/index.js","/Users/mariuszstanisz/App/node_modules/prop-types/factoryWithThrowingShims.js","/Users/mariuszstanisz/App/node_modules/prop-types/lib/ReactPropTypesSecret.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedImagePropType.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedViewPropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedViewAccessibility.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedStyleSheetPropType.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/deprecatedCreateStrictShapeTypeChecker.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedViewStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedLayoutPropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedShadowPropTypesIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedTransformPropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedImageSourcePropType.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedImageStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedPointPropType.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedTextInputPropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedTextPropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/deprecated-react-native-prop-types/DeprecatedTextStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/TouchableNativeFeedback.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/TouchableOpacity.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/Animated.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/AnimatedImplementation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/animations/DecayAnimation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/NativeAnimatedHelper.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/NativeAnimatedModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/NativeAnimatedTurboModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/animations/Animation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/animations/SpringAnimation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedColor.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedValue.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/InteractionManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/TaskQueue.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedInterpolation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedWithChildren.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedNode.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/SpringConfig.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/animations/TimingAnimation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/Easing.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/bezier.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/setAndForwardRef.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/createAnimatedComponentInjection.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedProps.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedStyle.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedTransform.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/AnimatedEvent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedValueXY.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedAddition.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedDiffClamp.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedDivision.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedModulo.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedMultiplication.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedSubtraction.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/nodes/AnimatedTracking.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/AnimatedMock.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedFlatList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/FlatList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/VirtualizedList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/RefreshControl/RefreshControl.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/FrameRateLogger.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/NativeFrameRateLogger.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/splitLayoutProps.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/dismissKeyboard.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Keyboard/Keyboard.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Keyboard/NativeKeyboardObserver.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/processDecelerationRate.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewCommands.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewContext.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewStickyHeader.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/useMergeRefs.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/Batchinator.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/clamp.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/ChildListCollection.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/FillRateHelper.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/StateSafePureComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/ViewabilityHelper.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/VirtualizedListCellRenderer.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/VirtualizedListContext.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/VirtualizeUtils.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/CellRenderMask.js","/Users/mariuszstanisz/App/node_modules/react-native/node_modules/memoize-one/dist/memoize-one.cjs.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedImage.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/Image.ios.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/asyncToGenerator.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageAnalyticsTagContext.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageInjection.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/TextInlineImageNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/NativeImageLoaderIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageSourceUtils.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageUtils.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedScrollView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/useAnimatedProps.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/useRefEffect.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedSectionList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/SectionList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Lists/VirtualizedSectionList.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedText.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/components/AnimatedView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/warnOnce.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/DatePicker/DatePickerIOS.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/DatePicker/RCTDatePickerNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/ImageBackground.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/InputAccessoryView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Modal/Modal.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Modal/ModalInjection.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Modal/NativeModalManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Modal/RCTModalHostViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/I18nManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ReactNative/NativeI18nManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Pressable/Pressable.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Pressable/useAndroidRippleForView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ProgressViewIOS/RCTProgressViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/SafeAreaView/SafeAreaView.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Slider/Slider.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Slider/SliderNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/StatusBar/StatusBar.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Switch/Switch.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Switch/AndroidSwitchNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Switch/SwitchNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/TextInput.js","/Users/mariuszstanisz/App/node_modules/nullthrows/nullthrows.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/Touchable.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/BoundingDimensions.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/PooledClass.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/Position.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Touchable/TouchableWithoutFeedback.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ActionSheetIOS/ActionSheetIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/ActionSheetIOS/NativeActionSheetManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/Appearance.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/NativeAppearance.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/AppState/AppState.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/logError.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/AppState/NativeAppState.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Clipboard/Clipboard.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/Clipboard/NativeClipboard.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/DeviceInfo.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/DevSettings.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/NativeModules/specs/NativeDevSettings.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Linking/Linking.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Linking/NativeIntentAndroid.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Linking/NativeLinkingManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/LogBox/LogBox.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/PanResponder.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Interaction/TouchHistoryMath.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/PermissionsAndroid/PermissionsAndroid.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/PermissionsAndroid/NativePermissionsAndroid.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/PushNotificationIOS/PushNotificationIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Settings/Settings.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Settings/NativeSettingsManager.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Share/Share.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Share/NativeShareModule.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Components/ToastAndroid/ToastAndroid.ios.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Animated/useAnimatedValue.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/useColorScheme.js","/Users/mariuszstanisz/App/node_modules/use-sync-external-store/shim/index.native.js","/Users/mariuszstanisz/App/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.native.production.min.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Utilities/useWindowDimensions.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/UTFSequence.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Vibration/Vibration.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Vibration/NativeVibration.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/YellowBox/YellowBoxDeprecated.js","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/createNativeWrapper.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/NativeViewGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/createHandler.tsx","/Users/mariuszstanisz/App/node_modules/lodash/isEqual.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsEqual.js","/Users/mariuszstanisz/App/node_modules/lodash/isObjectLike.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsEqualDeep.js","/Users/mariuszstanisz/App/node_modules/lodash/isArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_getTag.js","/Users/mariuszstanisz/App/node_modules/lodash/_toSource.js","/Users/mariuszstanisz/App/node_modules/lodash/_DataView.js","/Users/mariuszstanisz/App/node_modules/lodash/_getNative.js","/Users/mariuszstanisz/App/node_modules/lodash/_getValue.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsNative.js","/Users/mariuszstanisz/App/node_modules/lodash/isObject.js","/Users/mariuszstanisz/App/node_modules/lodash/_isMasked.js","/Users/mariuszstanisz/App/node_modules/lodash/_coreJsData.js","/Users/mariuszstanisz/App/node_modules/lodash/_root.js","/Users/mariuszstanisz/App/node_modules/lodash/_freeGlobal.js","/Users/mariuszstanisz/App/node_modules/lodash/isFunction.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseGetTag.js","/Users/mariuszstanisz/App/node_modules/lodash/_Symbol.js","/Users/mariuszstanisz/App/node_modules/lodash/_getRawTag.js","/Users/mariuszstanisz/App/node_modules/lodash/_objectToString.js","/Users/mariuszstanisz/App/node_modules/lodash/_Map.js","/Users/mariuszstanisz/App/node_modules/lodash/_Promise.js","/Users/mariuszstanisz/App/node_modules/lodash/_Set.js","/Users/mariuszstanisz/App/node_modules/lodash/_WeakMap.js","/Users/mariuszstanisz/App/node_modules/lodash/isBuffer.js","/Users/mariuszstanisz/App/node_modules/lodash/stubFalse.js","/Users/mariuszstanisz/App/node_modules/lodash/_Stack.js","/Users/mariuszstanisz/App/node_modules/lodash/_ListCache.js","/Users/mariuszstanisz/App/node_modules/lodash/_listCacheClear.js","/Users/mariuszstanisz/App/node_modules/lodash/_listCacheDelete.js","/Users/mariuszstanisz/App/node_modules/lodash/_assocIndexOf.js","/Users/mariuszstanisz/App/node_modules/lodash/eq.js","/Users/mariuszstanisz/App/node_modules/lodash/_listCacheGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_listCacheHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_listCacheSet.js","/Users/mariuszstanisz/App/node_modules/lodash/_stackClear.js","/Users/mariuszstanisz/App/node_modules/lodash/_stackDelete.js","/Users/mariuszstanisz/App/node_modules/lodash/_stackGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_stackHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_stackSet.js","/Users/mariuszstanisz/App/node_modules/lodash/_MapCache.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapCacheClear.js","/Users/mariuszstanisz/App/node_modules/lodash/_Hash.js","/Users/mariuszstanisz/App/node_modules/lodash/_hashClear.js","/Users/mariuszstanisz/App/node_modules/lodash/_nativeCreate.js","/Users/mariuszstanisz/App/node_modules/lodash/_hashDelete.js","/Users/mariuszstanisz/App/node_modules/lodash/_hashGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_hashHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_hashSet.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapCacheDelete.js","/Users/mariuszstanisz/App/node_modules/lodash/_getMapData.js","/Users/mariuszstanisz/App/node_modules/lodash/_isKeyable.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapCacheGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapCacheHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapCacheSet.js","/Users/mariuszstanisz/App/node_modules/lodash/isTypedArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_nodeUtil.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseUnary.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsTypedArray.js","/Users/mariuszstanisz/App/node_modules/lodash/isLength.js","/Users/mariuszstanisz/App/node_modules/lodash/_equalArrays.js","/Users/mariuszstanisz/App/node_modules/lodash/_SetCache.js","/Users/mariuszstanisz/App/node_modules/lodash/_setCacheAdd.js","/Users/mariuszstanisz/App/node_modules/lodash/_setCacheHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_arraySome.js","/Users/mariuszstanisz/App/node_modules/lodash/_cacheHas.js","/Users/mariuszstanisz/App/node_modules/lodash/_equalByTag.js","/Users/mariuszstanisz/App/node_modules/lodash/_Uint8Array.js","/Users/mariuszstanisz/App/node_modules/lodash/_mapToArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_setToArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_equalObjects.js","/Users/mariuszstanisz/App/node_modules/lodash/_getAllKeys.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseGetAllKeys.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayPush.js","/Users/mariuszstanisz/App/node_modules/lodash/keys.js","/Users/mariuszstanisz/App/node_modules/lodash/isArrayLike.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayLikeKeys.js","/Users/mariuszstanisz/App/node_modules/lodash/isArguments.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsArguments.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseTimes.js","/Users/mariuszstanisz/App/node_modules/lodash/_isIndex.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseKeys.js","/Users/mariuszstanisz/App/node_modules/lodash/_isPrototype.js","/Users/mariuszstanisz/App/node_modules/lodash/_nativeKeys.js","/Users/mariuszstanisz/App/node_modules/lodash/_overArg.js","/Users/mariuszstanisz/App/node_modules/lodash/_getSymbols.js","/Users/mariuszstanisz/App/node_modules/lodash/stubArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayFilter.js","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/RNGestureHandlerModule.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/utils.ts","/Users/mariuszstanisz/App/node_modules/react-native/package.json","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/State.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/ActionType.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/handlersRegistry.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestureHandlerCommon.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/GestureHandlerButton.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/fabric/RNGestureHandlerButtonNativeComponent.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/Directions.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/GestureComponents.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/FlingGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/ForceTouchGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/PlatformConstants.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureObjects.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/tapGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/gesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/panGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/pinchGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/rotationGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/flingGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/longPressGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/forceTouchGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/nativeGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/manualGesture.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureComposition.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/GestureDetector.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/TapGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/PanGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/LongPressGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/TouchEventType.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/reanimatedWrapper.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/Animated.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/ConfigHelper.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/core.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/time.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/mappers.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/threads.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/NativeReanimated/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/JSReanimated.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/PlatformChecker.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/NativeReanimated/NativeReanimated.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/platform-specific/checkVersion.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/package.json","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/shareables.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/mutables.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/valueSetter.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/initializers.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/errors.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/createAnimatedComponent.tsx","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/WorkletEventHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/setAndForwardRef.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationsManager.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/styleAnimation.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/util.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/Colors.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/UpdateProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/timing.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/Easing.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/Bezier.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/fabricUtils.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/platform-specific/RNRenderer.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/decay.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/delay.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/repeat.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/sequence.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/animation/spring.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/component/Text.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/component/View.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/component/ScrollView.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/component/Image.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/component/FlatList.tsx","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/js-reanimated/global.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedSensor.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/Hooks.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/utils.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedStyle.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/ViewDescriptorsSet.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useSharedValue.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedKeyboard.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/commonTypes.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedReaction.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedRef.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/NativeMethods.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useAnimatedScrollHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useDerivedValue.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useFrameCallback.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/hook/useScrollViewOffset.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/interpolation.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/interpolateColor.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/PropAdapters.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.ts","/Users/mariuszstanisz/App/node_modules/react-native-reanimated/src/reanimated2/utils.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/gestureStateManager.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/gestures/eventReceiver.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/EnableExperimentalWebImplementation.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/getShadowNodeFromRef.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/PinchGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/handlers/RotationGestureHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/TouchableNativeFeedback.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/TouchableWithoutFeedback.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/GenericTouchable.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/TouchableOpacity.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/touchables/TouchableHighlight.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/gestureHandlerRootHOC.tsx","/Users/mariuszstanisz/App/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","/Users/mariuszstanisz/App/node_modules/react-is/index.js","/Users/mariuszstanisz/App/node_modules/react-is/cjs/react-is.production.min.js","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/GestureHandlerRootView.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/init.ts","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/Swipeable.tsx","/Users/mariuszstanisz/App/node_modules/react-native-gesture-handler/src/components/DrawerLayout.tsx","/Users/mariuszstanisz/App/src/App.js","/Users/mariuszstanisz/App/wdyr.js","/Users/mariuszstanisz/App/node_modules/react-native-config/index.js","/Users/mariuszstanisz/App/node_modules/lodash/get.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_castPath.js","/Users/mariuszstanisz/App/node_modules/lodash/_isKey.js","/Users/mariuszstanisz/App/node_modules/lodash/isSymbol.js","/Users/mariuszstanisz/App/node_modules/lodash/_stringToPath.js","/Users/mariuszstanisz/App/node_modules/lodash/_memoizeCapped.js","/Users/mariuszstanisz/App/node_modules/lodash/memoize.js","/Users/mariuszstanisz/App/node_modules/lodash/toString.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseToString.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayMap.js","/Users/mariuszstanisz/App/node_modules/lodash/_toKey.js","/Users/mariuszstanisz/App/node_modules/@welldone-software/why-did-you-render/dist/whyDidYouRender.js","/Users/mariuszstanisz/App/node_modules/lodash/lodash.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/native.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/index.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/Onyx.js","/Users/mariuszstanisz/App/node_modules/underscore/underscore-umd.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/str.js","/Users/mariuszstanisz/App/node_modules/expensify-common/node_modules/underscore/underscore-umd.js","/Users/mariuszstanisz/App/node_modules/string.prototype.replaceall/index.js","/Users/mariuszstanisz/App/node_modules/call-bind/index.js","/Users/mariuszstanisz/App/node_modules/get-intrinsic/index.js","/Users/mariuszstanisz/App/node_modules/has-symbols/index.js","/Users/mariuszstanisz/App/node_modules/has-symbols/shams.js","/Users/mariuszstanisz/App/node_modules/function-bind/index.js","/Users/mariuszstanisz/App/node_modules/function-bind/implementation.js","/Users/mariuszstanisz/App/node_modules/has/src/index.js","/Users/mariuszstanisz/App/node_modules/string.prototype.replaceall/implementation.js","/Users/mariuszstanisz/App/node_modules/call-bind/callBound.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/RequireObjectCoercible.js","/Users/mariuszstanisz/App/node_modules/es-abstract/5/CheckObjectCoercible.js","/Users/mariuszstanisz/App/node_modules/is-regex/index.js","/Users/mariuszstanisz/App/node_modules/has-tostringtag/shams.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/GetMethod.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/IsPropertyKey.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/GetV.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/ToObject.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/IsCallable.js","/Users/mariuszstanisz/App/node_modules/is-callable/index.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/Call.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/IsArray.js","/Users/mariuszstanisz/App/node_modules/es-abstract/helpers/IsArray.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/ToString.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/StringIndexOf.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/Type.js","/Users/mariuszstanisz/App/node_modules/es-abstract/5/Type.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/IsIntegralNumber.js","/Users/mariuszstanisz/App/node_modules/es-abstract/helpers/isNaN.js","/Users/mariuszstanisz/App/node_modules/es-abstract/helpers/isFinite.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/abs.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/floor.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/GetSubstitution.js","/Users/mariuszstanisz/App/node_modules/es-abstract/helpers/regexTester.js","/Users/mariuszstanisz/App/node_modules/object-inspect/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/cli-plugin-metro/node_modules/metro-runtime/src/modules/empty-module.js","/Users/mariuszstanisz/App/node_modules/es-abstract/helpers/every.js","/Users/mariuszstanisz/App/node_modules/es-abstract/2021/Get.js","/Users/mariuszstanisz/App/node_modules/define-properties/index.js","/Users/mariuszstanisz/App/node_modules/has-property-descriptors/index.js","/Users/mariuszstanisz/App/node_modules/object-keys/index.js","/Users/mariuszstanisz/App/node_modules/object-keys/implementation.js","/Users/mariuszstanisz/App/node_modules/object-keys/isArguments.js","/Users/mariuszstanisz/App/node_modules/string.prototype.replaceall/polyfill.js","/Users/mariuszstanisz/App/node_modules/string.prototype.replaceall/shim.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/CONST.jsx","/Users/mariuszstanisz/App/node_modules/html-entities/lib/index.js","/Users/mariuszstanisz/App/node_modules/html-entities/lib/xml-entities.js","/Users/mariuszstanisz/App/node_modules/html-entities/lib/surrogate-pairs.js","/Users/mariuszstanisz/App/node_modules/html-entities/lib/html4-entities.js","/Users/mariuszstanisz/App/node_modules/html-entities/lib/html5-entities.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/storage/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/storage/NativeStorage.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/storage/providers/SQLiteStorage.js","/Users/mariuszstanisz/App/node_modules/react-native-quick-sqlite/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/Logger.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/OnyxCache.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/fastMerge.js","/Users/mariuszstanisz/App/node_modules/fast-equals/dist/fast-equals.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/createDeferredTask.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/metrics/PerformanceUtils.js","/Users/mariuszstanisz/App/node_modules/lodash/transform.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIteratee.js","/Users/mariuszstanisz/App/node_modules/lodash/identity.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseMatchesProperty.js","/Users/mariuszstanisz/App/node_modules/lodash/_isStrictComparable.js","/Users/mariuszstanisz/App/node_modules/lodash/_matchesStrictComparable.js","/Users/mariuszstanisz/App/node_modules/lodash/hasIn.js","/Users/mariuszstanisz/App/node_modules/lodash/_hasPath.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseHasIn.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseMatches.js","/Users/mariuszstanisz/App/node_modules/lodash/_getMatchData.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsMatch.js","/Users/mariuszstanisz/App/node_modules/lodash/property.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseProperty.js","/Users/mariuszstanisz/App/node_modules/lodash/_basePropertyDeep.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseCreate.js","/Users/mariuszstanisz/App/node_modules/lodash/_getPrototype.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayEach.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseForOwn.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseFor.js","/Users/mariuszstanisz/App/node_modules/lodash/_createBaseFor.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/metrics/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/performance.ts","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/event-emitter.ts","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/performance-entry.ts","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/performance-observer.ts","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/NativeRNPerformanceManager.js","/Users/mariuszstanisz/App/node_modules/react-native-performance/src/resource-logger.ts","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/set.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/MDTable.js","/Users/mariuszstanisz/App/node_modules/ascii-table/index.js","/Users/mariuszstanisz/App/node_modules/ascii-table/ascii-table.js","/Users/mariuszstanisz/App/node_modules/react-native-onyx/lib/withOnyx.js","/Users/mariuszstanisz/App/src/components/CustomStatusBar/index.js","/Users/mariuszstanisz/App/src/components/ErrorBoundary/index.native.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/crashlytics/lib/index.js","/Users/mariuszstanisz/App/node_modules/stacktrace-js/stacktrace.js","/Users/mariuszstanisz/App/node_modules/error-stack-parser/error-stack-parser.js","/Users/mariuszstanisz/App/node_modules/stackframe/stackframe.js","/Users/mariuszstanisz/App/node_modules/stack-generator/stack-generator.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/stacktrace-gps.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/source-map-consumer.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/util.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/binary-search.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/array-set.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/quick-sort.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/base64-vlq.js","/Users/mariuszstanisz/App/node_modules/stacktrace-gps/node_modules/source-map/lib/base64.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/crashlytics/lib/version.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/crashlytics/lib/handlers.js","/Users/mariuszstanisz/App/node_modules/promise/setimmediate/rejection-tracking.js","/Users/mariuszstanisz/App/node_modules/promise/setimmediate/core.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/Base64.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/promise.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/validate.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/id.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/path.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/common/ReferenceBase.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/utils/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/utils/UtilsStatics.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/version.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/FirebaseApp.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/registry/nativeModule.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/NativeFirebaseError.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/RNFBNativeEventEmitter.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/SharedEventEmitter.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/constants.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/FirebaseModule.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/registry/app.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/app/lib/internal/registry/namespace.js","/Users/mariuszstanisz/App/src/components/ErrorBoundary/BaseErrorBoundary.js","/Users/mariuszstanisz/App/src/libs/BootSplash/index.native.js","/Users/mariuszstanisz/App/src/libs/Log.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/Logger.jsx","/Users/mariuszstanisz/App/src/libs/getPlatform/index.ios.js","/Users/mariuszstanisz/App/src/CONST.js","/Users/mariuszstanisz/App/node_modules/react-native-key-command/src/index.js","/Users/mariuszstanisz/App/node_modules/react-native-key-command/src/EventEmitter/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-key-command/src/KeyCommand/index.native.js","/Users/mariuszstanisz/App/src/libs/Url.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/Url.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/tlds.jsx","/Users/mariuszstanisz/App/package.json","/Users/mariuszstanisz/App/src/libs/requireParameters.js","/Users/mariuszstanisz/App/src/libs/Network/index.js","/Users/mariuszstanisz/App/src/libs/ActiveClientManager/index.native.js","/Users/mariuszstanisz/App/src/libs/Network/MainQueue.js","/Users/mariuszstanisz/App/src/libs/Network/NetworkStore.js","/Users/mariuszstanisz/App/src/ONYXKEYS.js","/Users/mariuszstanisz/App/src/libs/Network/SequentialQueue.js","/Users/mariuszstanisz/App/src/libs/actions/PersistedRequests.js","/Users/mariuszstanisz/App/src/libs/HttpUtils.js","/Users/mariuszstanisz/App/src/libs/Errors/HttpsError.js","/Users/mariuszstanisz/App/src/libs/ApiUtils.js","/Users/mariuszstanisz/App/src/CONFIG.js","/Users/mariuszstanisz/App/src/libs/Environment/Environment.js","/Users/mariuszstanisz/App/src/libs/Environment/getEnvironment/index.native.js","/Users/mariuszstanisz/App/src/libs/Environment/betaChecker/index.ios.js","/Users/mariuszstanisz/App/config/proxyConfig.js","/Users/mariuszstanisz/App/src/components/Alert/index.native.js","/Users/mariuszstanisz/App/src/libs/Request.js","/Users/mariuszstanisz/App/src/libs/Network/enhanceParameters.js","/Users/mariuszstanisz/App/src/libs/RequestThrottle.js","/Users/mariuszstanisz/App/src/pages/ErrorPage/GenericErrorPage.js","/Users/mariuszstanisz/App/src/components/Icon/index.js","/Users/mariuszstanisz/App/src/styles/styles.js","/Users/mariuszstanisz/App/src/styles/fontFamily/index.js","/Users/mariuszstanisz/App/src/styles/bold/index.js","/Users/mariuszstanisz/App/src/styles/fontFamily/emoji/index.native.js","/Users/mariuszstanisz/App/src/styles/addOutlineWidth/index.native.js","/Users/mariuszstanisz/App/src/styles/themes/default.js","/Users/mariuszstanisz/App/src/styles/colors.js","/Users/mariuszstanisz/App/src/styles/fontWeight/bold/index.js","/Users/mariuszstanisz/App/src/styles/variables.js","/Users/mariuszstanisz/App/src/styles/utilities/spacing.js","/Users/mariuszstanisz/App/src/styles/utilities/sizing.js","/Users/mariuszstanisz/App/src/styles/utilities/flex.js","/Users/mariuszstanisz/App/src/styles/utilities/display.js","/Users/mariuszstanisz/App/src/styles/utilities/overflow.js","/Users/mariuszstanisz/App/src/styles/utilities/overflowAuto/index.native.js","/Users/mariuszstanisz/App/src/styles/utilities/whiteSpace/index.native.js","/Users/mariuszstanisz/App/src/styles/utilities/wordBreak/index.native.js","/Users/mariuszstanisz/App/src/styles/utilities/positioning.js","/Users/mariuszstanisz/App/src/styles/codeStyles/index.ios.js","/Users/mariuszstanisz/App/src/styles/utilities/visibility/index.native.js","/Users/mariuszstanisz/App/src/styles/utilities/writingDirection.js","/Users/mariuszstanisz/App/src/styles/optionAlternateTextPlatformStyles/index.ios.js","/Users/mariuszstanisz/App/src/styles/pointerEventsNone/index.native.js","/Users/mariuszstanisz/App/src/styles/pointerEventsAuto/index.native.js","/Users/mariuszstanisz/App/src/styles/overflowXHidden/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-picker-select/src/styles.js","/Users/mariuszstanisz/App/src/styles/StyleUtils.js","/Users/mariuszstanisz/App/src/libs/ReportUtils.js","/Users/mariuszstanisz/App/node_modules/lodash/intersection.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseRest.js","/Users/mariuszstanisz/App/node_modules/lodash/_setToString.js","/Users/mariuszstanisz/App/node_modules/lodash/_shortOut.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseSetToString.js","/Users/mariuszstanisz/App/node_modules/lodash/_defineProperty.js","/Users/mariuszstanisz/App/node_modules/lodash/constant.js","/Users/mariuszstanisz/App/node_modules/lodash/_overRest.js","/Users/mariuszstanisz/App/node_modules/lodash/_apply.js","/Users/mariuszstanisz/App/node_modules/lodash/_castArrayLikeObject.js","/Users/mariuszstanisz/App/node_modules/lodash/isArrayLikeObject.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIntersection.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayIncludesWith.js","/Users/mariuszstanisz/App/node_modules/lodash/_arrayIncludes.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIndexOf.js","/Users/mariuszstanisz/App/node_modules/lodash/_strictIndexOf.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseFindIndex.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseIsNaN.js","/Users/mariuszstanisz/App/node_modules/expensify-common/lib/ExpensiMark.js","/Users/mariuszstanisz/App/src/libs/Localize/index.js","/Users/mariuszstanisz/App/node_modules/react-native-localize/dist/commonjs/index.js","/Users/mariuszstanisz/App/node_modules/react-native-localize/dist/commonjs/module.js","/Users/mariuszstanisz/App/node_modules/react-native-localize/dist/commonjs/types.js","/Users/mariuszstanisz/App/src/languages/translations.js","/Users/mariuszstanisz/App/src/languages/en.js","/Users/mariuszstanisz/App/src/languages/es.js","/Users/mariuszstanisz/App/src/languages/es-ES.js","/Users/mariuszstanisz/App/src/libs/Localize/LocaleListener/index.js","/Users/mariuszstanisz/App/src/libs/Localize/LocaleListener/BaseLocaleListener.js","/Users/mariuszstanisz/App/src/libs/LocalePhoneNumber.js","/Users/mariuszstanisz/App/node_modules/lodash/trim.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseTrim.js","/Users/mariuszstanisz/App/node_modules/lodash/_trimmedEndIndex.js","/Users/mariuszstanisz/App/node_modules/lodash/_stringToArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_hasUnicode.js","/Users/mariuszstanisz/App/node_modules/lodash/_unicodeToArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_asciiToArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_charsStartIndex.js","/Users/mariuszstanisz/App/node_modules/lodash/_charsEndIndex.js","/Users/mariuszstanisz/App/node_modules/lodash/_castSlice.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseSlice.js","/Users/mariuszstanisz/App/node_modules/lodash/includes.js","/Users/mariuszstanisz/App/node_modules/lodash/values.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseValues.js","/Users/mariuszstanisz/App/node_modules/lodash/toInteger.js","/Users/mariuszstanisz/App/node_modules/lodash/toFinite.js","/Users/mariuszstanisz/App/node_modules/lodash/toNumber.js","/Users/mariuszstanisz/App/node_modules/lodash/isString.js","/Users/mariuszstanisz/App/node_modules/lodash/startsWith.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseClamp.js","/Users/mariuszstanisz/App/src/components/Icon/Expensicons.js","/Users/mariuszstanisz/App/assets/images/avatars/room.svg","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/ReactNativeSVG.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/LocalSvg.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/xml.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Rect.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Shape.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/SvgTouchableMixin.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractFill.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractBrush.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractOpacity.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractStroke.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractLengthList.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractTransform.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/Matrix2D.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/transform.js","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractResponder.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/util.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/NativeComponents.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Circle.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Ellipse.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Polygon.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Path.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractPolyPoints.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Polyline.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Line.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Svg.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractViewBox.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/G.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractText.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Text.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/TSpan.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/TextPath.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Use.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Image.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Symbol.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Defs.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/LinearGradient.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/extractGradient.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/units.ts","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/RadialGradient.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Stop.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/ClipPath.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Pattern.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Mask.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/Marker.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/css.tsx","/Users/mariuszstanisz/App/node_modules/css-tree/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/create.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/parser/create.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/tokenizer/const.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/common/TokenStream.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/tokenizer/utils.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/tokenizer/char-code-definitions.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/common/OffsetToLocation.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/common/adopt-buffer.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/tokenizer/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/parser/sequence.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/common/List.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/common/SyntaxError.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/utils/createCustomError.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/walker/create.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/generator/create.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/generator/sourceMap.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/source-map-generator.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/util.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/array-set.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/mapping-list.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/base64-vlq.js","/Users/mariuszstanisz/App/node_modules/source-map/lib/base64.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/convertor/create.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/Lexer.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/match-graph.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/parse.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/tokenizer.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/SyntaxError.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/generate.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/trace.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/prepare-tokens.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/match.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/error.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/structure.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/generic.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/generic-an-plus-b.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/generic-urange.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/utils/names.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/lexer/search.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/walk.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/definition-syntax/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/utils/clone.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/config/mix.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/config/lexer.js","/Users/mariuszstanisz/App/node_modules/css-tree/data/index.js","/Users/mariuszstanisz/App/node_modules/mdn-data/css/syntaxes.json","/Users/mariuszstanisz/App/node_modules/css-tree/data/patch.json","/Users/mariuszstanisz/App/node_modules/mdn-data/css/at-rules.json","/Users/mariuszstanisz/App/node_modules/mdn-data/css/properties.json","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/AnPlusB.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Atrule.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Raw.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/AttributeSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Block.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Brackets.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/CDC.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/CDO.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/ClassSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Combinator.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Comment.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Declaration.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/DeclarationList.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Dimension.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Function.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Hash.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Identifier.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/IdSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/MediaFeature.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/MediaQuery.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/MediaQueryList.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Nth.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Number.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Operator.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Parentheses.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Percentage.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Ratio.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Rule.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Selector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/SelectorList.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/String.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/StyleSheet.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/TypeSelector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/UnicodeRange.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Url.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/Value.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/node/WhiteSpace.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/config/parser.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/scope/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/scope/atrulePrelude.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/scope/default.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/scope/selector.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/scope/value.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/function/expression.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/function/var.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/font-face.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/import.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/media.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/page.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/atrule/supports.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/index.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/dir.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/has.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/lang.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/matches.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/common/selectorList.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/not.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/nth-child.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/common/nthWithOfClause.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/nth-last-child.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/nth-last-of-type.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/common/nth.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/nth-of-type.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/pseudo/slotted.js","/Users/mariuszstanisz/App/node_modules/css-tree/lib/syntax/config/walker.js","/Users/mariuszstanisz/App/node_modules/css-tree/package.json","/Users/mariuszstanisz/App/node_modules/css-select/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/stringify.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/dom-serializer/lib/index.js","/Users/mariuszstanisz/App/node_modules/domelementtype/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/decode.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/generated/decode-data-html.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/generated/decode-data-xml.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/decode_codepoint.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/escape.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/encode.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/entities/lib/generated/encode-html.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/dom-serializer/lib/foreignNames.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domhandler/lib/index.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domhandler/lib/node.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/traversal.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/manipulation.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/querying.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/legacy.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/helpers.js","/Users/mariuszstanisz/App/node_modules/css-select/node_modules/domutils/lib/feeds.js","/Users/mariuszstanisz/App/node_modules/boolbase/index.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/compile.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/sort.js","/Users/mariuszstanisz/App/node_modules/css-what/lib/commonjs/index.js","/Users/mariuszstanisz/App/node_modules/css-what/lib/commonjs/types.js","/Users/mariuszstanisz/App/node_modules/css-what/lib/commonjs/parse.js","/Users/mariuszstanisz/App/node_modules/css-what/lib/commonjs/stringify.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/pseudo-selectors/subselects.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/general.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/attributes.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/pseudo-selectors/index.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/pseudo-selectors/filters.js","/Users/mariuszstanisz/App/node_modules/nth-check/lib/index.js","/Users/mariuszstanisz/App/node_modules/nth-check/lib/parse.js","/Users/mariuszstanisz/App/node_modules/nth-check/lib/compile.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/pseudo-selectors/pseudos.js","/Users/mariuszstanisz/App/node_modules/css-select/lib/pseudo-selectors/aliases.js","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/elements/ForeignObject.tsx","/Users/mariuszstanisz/App/node_modules/react-native-svg/src/lib/extract/types.ts","/Users/mariuszstanisz/App/assets/images/avatars/admin-room.svg","/Users/mariuszstanisz/App/assets/images/android.svg","/Users/mariuszstanisz/App/assets/images/avatars/announce-room.svg","/Users/mariuszstanisz/App/assets/images/apple.svg","/Users/mariuszstanisz/App/assets/images/arrow-right.svg","/Users/mariuszstanisz/App/assets/images/arrow-right-long.svg","/Users/mariuszstanisz/App/assets/images/arrows-updown.svg","/Users/mariuszstanisz/App/assets/images/back-left.svg","/Users/mariuszstanisz/App/assets/images/bank.svg","/Users/mariuszstanisz/App/assets/images/bill.svg","/Users/mariuszstanisz/App/assets/images/bolt.svg","/Users/mariuszstanisz/App/assets/images/briefcase.svg","/Users/mariuszstanisz/App/assets/images/bug.svg","/Users/mariuszstanisz/App/assets/images/building.svg","/Users/mariuszstanisz/App/assets/images/calendar.svg","/Users/mariuszstanisz/App/assets/images/camera.svg","/Users/mariuszstanisz/App/assets/images/cash.svg","/Users/mariuszstanisz/App/assets/images/chatbubble.svg","/Users/mariuszstanisz/App/assets/images/checkmark.svg","/Users/mariuszstanisz/App/assets/images/chair.svg","/Users/mariuszstanisz/App/assets/images/close.svg","/Users/mariuszstanisz/App/assets/images/closed-sign.svg","/Users/mariuszstanisz/App/assets/images/collapse.svg","/Users/mariuszstanisz/App/assets/images/concierge.svg","/Users/mariuszstanisz/App/assets/images/avatars/concierge-avatar.svg","/Users/mariuszstanisz/App/assets/images/connect.svg","/Users/mariuszstanisz/App/assets/images/copy.svg","/Users/mariuszstanisz/App/assets/images/creditcard.svg","/Users/mariuszstanisz/App/assets/images/document.svg","/Users/mariuszstanisz/App/assets/images/avatars/deleted-room.svg","/Users/mariuszstanisz/App/assets/images/avatars/domain-room.svg","/Users/mariuszstanisz/App/assets/images/dot-indicator.svg","/Users/mariuszstanisz/App/assets/images/down.svg","/Users/mariuszstanisz/App/assets/images/download.svg","/Users/mariuszstanisz/App/assets/images/emoji.svg","/Users/mariuszstanisz/App/assets/images/exclamation.svg","/Users/mariuszstanisz/App/assets/images/exit.svg","/Users/mariuszstanisz/App/assets/images/expensifycard.svg","/Users/mariuszstanisz/App/assets/images/expensify-wordmark.svg","/Users/mariuszstanisz/App/assets/images/expand.svg","/Users/mariuszstanisz/App/assets/images/eye.svg","/Users/mariuszstanisz/App/assets/images/eye-disabled.svg","/Users/mariuszstanisz/App/assets/images/gallery.svg","/Users/mariuszstanisz/App/assets/images/gear.svg","/Users/mariuszstanisz/App/assets/images/globe.svg","/Users/mariuszstanisz/App/assets/images/hashtag.svg","/Users/mariuszstanisz/App/assets/images/history.svg","/Users/mariuszstanisz/App/assets/images/hourglass.svg","/Users/mariuszstanisz/App/assets/images/image-crop-circle-mask.svg","/Users/mariuszstanisz/App/assets/images/image-crop-square-mask.svg","/Users/mariuszstanisz/App/assets/images/info.svg","/Users/mariuszstanisz/App/assets/images/invoice.svg","/Users/mariuszstanisz/App/assets/images/key.svg","/Users/mariuszstanisz/App/assets/images/keyboard.svg","/Users/mariuszstanisz/App/assets/images/link.svg","/Users/mariuszstanisz/App/assets/images/link-copy.svg","/Users/mariuszstanisz/App/assets/images/lock.svg","/Users/mariuszstanisz/App/assets/images/luggage.svg","/Users/mariuszstanisz/App/assets/images/magnifying-glass.svg","/Users/mariuszstanisz/App/assets/images/mail.svg","/Users/mariuszstanisz/App/assets/images/megaphone.svg","/Users/mariuszstanisz/App/assets/images/menu.svg","/Users/mariuszstanisz/App/assets/images/money-bag.svg","/Users/mariuszstanisz/App/assets/images/money-circle.svg","/Users/mariuszstanisz/App/assets/images/monitor.svg","/Users/mariuszstanisz/App/assets/images/new-window.svg","/Users/mariuszstanisz/App/assets/images/new-workspace.svg","/Users/mariuszstanisz/App/assets/images/offline.svg","/Users/mariuszstanisz/App/assets/images/offline-cloud.svg","/Users/mariuszstanisz/App/assets/images/paperclip.svg","/Users/mariuszstanisz/App/assets/images/paypal.svg","/Users/mariuszstanisz/App/assets/images/paycheck.svg","/Users/mariuszstanisz/App/assets/images/pencil.svg","/Users/mariuszstanisz/App/assets/images/phone.svg","/Users/mariuszstanisz/App/assets/images/pin.svg","/Users/mariuszstanisz/App/assets/images/plus.svg","/Users/mariuszstanisz/App/assets/images/printer.svg","/Users/mariuszstanisz/App/assets/images/profile.svg","/Users/mariuszstanisz/App/assets/images/question-mark-circle.svg","/Users/mariuszstanisz/App/assets/images/receipt.svg","/Users/mariuszstanisz/App/assets/images/receipt-search.svg","/Users/mariuszstanisz/App/assets/images/rotate-image.svg","/Users/mariuszstanisz/App/assets/images/rotate-left.svg","/Users/mariuszstanisz/App/assets/images/send.svg","/Users/mariuszstanisz/App/assets/images/shield.svg","/Users/mariuszstanisz/App/assets/images/sync.svg","/Users/mariuszstanisz/App/assets/images/three-dots.svg","/Users/mariuszstanisz/App/assets/images/transfer.svg","/Users/mariuszstanisz/App/assets/images/trashcan.svg","/Users/mariuszstanisz/App/assets/images/unlock.svg","/Users/mariuszstanisz/App/assets/images/arrow-up.svg","/Users/mariuszstanisz/App/assets/images/upload.svg","/Users/mariuszstanisz/App/assets/images/upload-alt.svg","/Users/mariuszstanisz/App/assets/images/user.svg","/Users/mariuszstanisz/App/assets/images/users.svg","/Users/mariuszstanisz/App/assets/images/wallet.svg","/Users/mariuszstanisz/App/assets/images/workspace-default-avatar.svg","/Users/mariuszstanisz/App/assets/images/zoom.svg","/Users/mariuszstanisz/App/assets/images/avatars/fallback-avatar.svg","/Users/mariuszstanisz/App/assets/images/avatars/fallback-workspace-avatar.svg","/Users/mariuszstanisz/App/assets/images/drag-and-drop.svg","/Users/mariuszstanisz/App/assets/images/expensify-footer-logo.svg","/Users/mariuszstanisz/App/assets/images/expensify-footer-logo-vertical.svg","/Users/mariuszstanisz/App/assets/images/social-twitter.svg","/Users/mariuszstanisz/App/assets/images/social-youtube.svg","/Users/mariuszstanisz/App/assets/images/social-facebook.svg","/Users/mariuszstanisz/App/assets/images/social-podcast.svg","/Users/mariuszstanisz/App/assets/images/social-linkedin.svg","/Users/mariuszstanisz/App/assets/images/social-instagram.svg","/Users/mariuszstanisz/App/assets/images/add-reaction.svg","/Users/mariuszstanisz/App/src/libs/hashCode.js","/Users/mariuszstanisz/App/src/libs/Navigation/Navigation.js","/Users/mariuszstanisz/App/src/libs/DomUtils/index.native.js","/Users/mariuszstanisz/App/src/libs/Navigation/linkTo.js","/Users/mariuszstanisz/App/src/libs/Navigation/linkingConfig.js","/Users/mariuszstanisz/App/src/ROUTES.js","/Users/mariuszstanisz/App/src/SCREENS.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/BaseNavigationContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/checkDuplicateRouteNames.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/checkSerializable.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/EnsureSingleNavigator.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/findFocusedRoute.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationBuilderContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationContainerRefContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationRouteContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationStateContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/UnhandledActionContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useChildListeners.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useEventEmitter.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useKeyedChildListeners.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useOptionsGetters.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useSyncState.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/createNavigationContainerRef.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/CommonActions.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/BaseRouter.tsx","/Users/mariuszstanisz/App/node_modules/nanoid/non-secure/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/DrawerRouter.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/TabRouter.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/StackRouter.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/routers/src/types.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useScheduleUpdate.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/createNavigatorFactory.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/Group.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/Screen.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/CurrentRenderContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/getActionFromState.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/getFocusedRouteNameFromRoute.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useRouteCache.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/getPathFromState.tsx","/Users/mariuszstanisz/App/node_modules/query-string/index.js","/Users/mariuszstanisz/App/node_modules/strict-uri-encode/index.js","/Users/mariuszstanisz/App/node_modules/decode-uri-component/index.js","/Users/mariuszstanisz/App/node_modules/split-on-first/index.js","/Users/mariuszstanisz/App/node_modules/filter-obj/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/fromEntries.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/validatePathConfig.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/getStateFromPath.tsx","/Users/mariuszstanisz/App/node_modules/escape-string-regexp/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/NavigationHelpersContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/PreventRemoveContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/PreventRemoveProvider.tsx","/Users/mariuszstanisz/App/node_modules/use-latest-callback/lib/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/types.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useFocusEffect.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigation.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useIsFocused.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigationBuilder.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/isArrayEqual.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/isRecordEqual.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useComponent.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useCurrentRender.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useDescriptors.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/SceneView.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/StaticContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigationCache.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useFocusedListenersChildrenAdapter.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useFocusEvents.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigationHelpers.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useOnAction.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useOnPreventRemove.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useOnGetState.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useOnRouteFocus.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useRegisterNavigator.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigationContainerRef.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useNavigationState.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/usePreventRemove.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/usePreventRemoveContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/core/src/useRoute.tsx","/Users/mariuszstanisz/App/src/libs/Navigation/DeprecatedCustomActions.js","/Users/mariuszstanisz/App/src/libs/Navigation/navigationRef.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/Link.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useLinkProps.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/LinkingContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useLinkTo.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/NavigationContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/theming/DefaultTheme.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/theming/ThemeProvider.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/theming/ThemeContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useBackButton.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useDocumentTitle.native.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useLinking.native.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/extractPathFromURL.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useThenable.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/ServerContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/ServerContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/theming/DarkTheme.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/theming/useTheme.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/types.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useLinkBuilder.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/native/src/useScrollToTop.tsx","/Users/mariuszstanisz/App/src/libs/Navigation/dismissKeyboardGoingBack/index.js","/Users/mariuszstanisz/App/src/libs/NumberUtils.js","/Users/mariuszstanisz/App/src/libs/NumberFormatUtils.js","/Users/mariuszstanisz/App/src/libs/ReportActionsUtils.js","/Users/mariuszstanisz/App/node_modules/lodash/merge.js","/Users/mariuszstanisz/App/node_modules/lodash/_createAssigner.js","/Users/mariuszstanisz/App/node_modules/lodash/_isIterateeCall.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseMerge.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseMergeDeep.js","/Users/mariuszstanisz/App/node_modules/lodash/_safeGet.js","/Users/mariuszstanisz/App/node_modules/lodash/_assignMergeValue.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseAssignValue.js","/Users/mariuszstanisz/App/node_modules/lodash/_copyArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_cloneBuffer.js","/Users/mariuszstanisz/App/node_modules/lodash/_cloneTypedArray.js","/Users/mariuszstanisz/App/node_modules/lodash/_cloneArrayBuffer.js","/Users/mariuszstanisz/App/node_modules/lodash/isPlainObject.js","/Users/mariuszstanisz/App/node_modules/lodash/toPlainObject.js","/Users/mariuszstanisz/App/node_modules/lodash/_copyObject.js","/Users/mariuszstanisz/App/node_modules/lodash/_assignValue.js","/Users/mariuszstanisz/App/node_modules/lodash/keysIn.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseKeysIn.js","/Users/mariuszstanisz/App/node_modules/lodash/_nativeKeysIn.js","/Users/mariuszstanisz/App/node_modules/lodash/_initCloneObject.js","/Users/mariuszstanisz/App/node_modules/lodash/findLast.js","/Users/mariuszstanisz/App/node_modules/lodash/_createFind.js","/Users/mariuszstanisz/App/node_modules/lodash/findLastIndex.js","/Users/mariuszstanisz/App/node_modules/moment/moment.js","/Users/mariuszstanisz/App/src/libs/CollectionUtils.js","/Users/mariuszstanisz/App/src/libs/isReportMessageAttachment.js","/Users/mariuszstanisz/App/src/libs/Permissions.js","/Users/mariuszstanisz/App/src/libs/DateUtils.js","/Users/mariuszstanisz/App/node_modules/moment-timezone/index.js","/Users/mariuszstanisz/App/node_modules/moment-timezone/moment-timezone.js","/Users/mariuszstanisz/App/node_modules/moment-timezone/data/packed/latest.json","/Users/mariuszstanisz/App/node_modules/moment/locale/es.js","/Users/mariuszstanisz/App/src/libs/actions/CurrentDate.js","/Users/mariuszstanisz/App/src/components/Icon/DefaultAvatars.js","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_1.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_2.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_3.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_4.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_5.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_6.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_7.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_8.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_9.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_10.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_11.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_12.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_13.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_14.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_15.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_16.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_17.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_18.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_19.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_20.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_21.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_22.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_23.svg","/Users/mariuszstanisz/App/assets/images/avatars/user/default-avatar_24.svg","/Users/mariuszstanisz/App/src/components/Icon/WorkspaceDefaultAvatars.js","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_0.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_1.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_2.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_3.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_4.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_5.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_6.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_7.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_8.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_9.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_a.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_b.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_c.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_d.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_e.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_f.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_g.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_h.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_i.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_j.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_k.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_l.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_m.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_n.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_o.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_p.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_q.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_r.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_s.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_t.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_u.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_v.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_w.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_x.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_y.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_z.svg","/Users/mariuszstanisz/App/assets/images/avatars/workspace/default-avatar_building.svg","/Users/mariuszstanisz/App/src/libs/getSafeAreaPaddingTop/index.js","/Users/mariuszstanisz/App/src/components/Icon/IconWrapperStyles/index.ios.js","/Users/mariuszstanisz/App/src/components/Text.js","/Users/mariuszstanisz/App/src/components/Button/index.js","/Users/mariuszstanisz/App/src/components/OpacityView.js","/Users/mariuszstanisz/App/src/libs/KeyboardShortcut/index.js","/Users/mariuszstanisz/App/src/libs/KeyboardShortcut/bindHandlerToKeydownEvent/index.native.js","/Users/mariuszstanisz/App/src/libs/KeyboardShortcut/getKeyEventModifiers.js","/Users/mariuszstanisz/App/src/libs/getOperatingSystem/index.native.js","/Users/mariuszstanisz/App/src/libs/HapticFeedback/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-haptic-feedback/index.js","/Users/mariuszstanisz/App/src/components/withNavigationFallback.js","/Users/mariuszstanisz/App/src/libs/getComponentDisplayName.js","/Users/mariuszstanisz/App/src/libs/compose.js","/Users/mariuszstanisz/App/src/components/withNavigationFocus.js","/Users/mariuszstanisz/App/src/components/Button/validateSubmitShortcut/index.native.js","/Users/mariuszstanisz/App/src/components/withLocalize.js","/Users/mariuszstanisz/App/src/libs/LocaleDigitUtils.js","/Users/mariuszstanisz/App/src/components/withCurrentUserPersonalDetails.js","/Users/mariuszstanisz/App/src/pages/personalDetailsPropType.js","/Users/mariuszstanisz/App/src/libs/actions/Session/index.js","/Users/mariuszstanisz/App/src/libs/actions/SignInRedirect.js","/Users/mariuszstanisz/App/src/libs/NetworkConnection.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/index.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/defaultConfiguration.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/nativeInterface.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/nativeModule.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/state.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/internetReachability.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/privateTypes.ts","/Users/mariuszstanisz/App/node_modules/@react-native-community/netinfo/src/internal/types.ts","/Users/mariuszstanisz/App/src/libs/AppStateMonitor/index.js","/Users/mariuszstanisz/App/src/libs/AppStateMonitor/shouldReportActivity/index.native.js","/Users/mariuszstanisz/App/src/libs/actions/Network.js","/Users/mariuszstanisz/App/src/libs/Notification/PushNotification/index.native.js","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipActions.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipAnalytics.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipChannel.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/TagGroupEditor.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AttributeEditor.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/SubscriptionListEditor.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipContact.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/ScopedSubscriptionListEditor.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipInApp.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipLocale.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipMessageCenter.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipPreferenceCenter.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipPrivacyManager.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipPush.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/AirshipRoot.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/UAEventEmitter.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/CustomEvent.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/types.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/MessageView.tsx","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/MessageViewNativeComponent.ts","/Users/mariuszstanisz/App/node_modules/@ua/react-native-airship/src/NativeRTNAirship.ts","/Users/mariuszstanisz/App/src/libs/Notification/PushNotification/NotificationType.js","/Users/mariuszstanisz/App/src/libs/actions/PushNotification.js","/Users/mariuszstanisz/App/src/libs/API.js","/Users/mariuszstanisz/App/src/libs/Middleware/index.js","/Users/mariuszstanisz/App/src/libs/Middleware/Logging.js","/Users/mariuszstanisz/App/src/libs/Middleware/Reauthentication.js","/Users/mariuszstanisz/App/src/libs/Authentication.js","/Users/mariuszstanisz/App/src/libs/actions/Session/updateSessionAuthTokens.js","/Users/mariuszstanisz/App/src/libs/ErrorUtils.js","/Users/mariuszstanisz/App/src/libs/Middleware/RecheckConnection.js","/Users/mariuszstanisz/App/src/libs/Middleware/SaveResponseInOnyx.js","/Users/mariuszstanisz/App/src/libs/actions/Device/index.js","/Users/mariuszstanisz/App/src/libs/actions/Device/generateDeviceID/index.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/internal/devicesWithDynamicIsland.ts","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/internal/devicesWithNotch.ts","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/internal/nativeInterface.ts","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/web/index.js","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/internal/supported-platform-info.ts","/Users/mariuszstanisz/App/node_modules/react-native-device-info/src/internal/asyncHookWrappers.ts","/Users/mariuszstanisz/App/src/libs/Notification/PushNotification/configureForegroundNotifications/index.ios.js","/Users/mariuszstanisz/App/src/libs/Notification/PushNotification/shouldShowPushNotification.js","/Users/mariuszstanisz/App/src/libs/actions/Report.js","/Users/mariuszstanisz/App/src/libs/Pusher/pusher.js","/Users/mariuszstanisz/App/src/libs/Pusher/library/index.native.js","/Users/mariuszstanisz/App/node_modules/pusher-js/react-native/index.js","/Users/mariuszstanisz/App/node_modules/pusher-js/dist/react-native/pusher.js","/Users/mariuszstanisz/App/src/libs/Pusher/EventType.js","/Users/mariuszstanisz/App/src/libs/Notification/LocalNotification/index.native.js","/Users/mariuszstanisz/App/src/libs/Visibility/index.native.js","/Users/mariuszstanisz/App/src/libs/OptionsListUtils.js","/Users/mariuszstanisz/App/node_modules/lodash/orderBy.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseOrderBy.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseMap.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseEach.js","/Users/mariuszstanisz/App/node_modules/lodash/_createBaseEach.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseSortBy.js","/Users/mariuszstanisz/App/node_modules/lodash/_compareMultiple.js","/Users/mariuszstanisz/App/node_modules/lodash/_compareAscending.js","/Users/mariuszstanisz/App/src/libs/LoginUtils.js","/Users/mariuszstanisz/App/src/libs/actions/Timing.js","/Users/mariuszstanisz/App/src/libs/Firebase/index.native.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/perf/lib/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/perf/lib/HttpMetric.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/perf/lib/MetricWithAttributes.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/perf/lib/Trace.js","/Users/mariuszstanisz/App/node_modules/@react-native-firebase/perf/lib/version.js","/Users/mariuszstanisz/App/src/libs/Timers.js","/Users/mariuszstanisz/App/src/libs/actions/Welcome.js","/Users/mariuszstanisz/App/src/libs/actions/Policy.js","/Users/mariuszstanisz/App/src/libs/Notification/PushNotification/subscribeToReportCommentPushNotifications.js","/Users/mariuszstanisz/App/src/pages/ErrorPage/ErrorBodyText/index.js","/Users/mariuszstanisz/App/src/components/TextLink.js","/Users/mariuszstanisz/App/src/styles/stylePropTypes.js","/Users/mariuszstanisz/App/src/components/SafeAreaConsumer.js","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/index.tsx","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/SafeAreaContext.tsx","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/NativeSafeAreaProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/specs/NativeSafeAreaProvider.ts","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/SafeAreaView.tsx","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/specs/NativeSafeAreaView.ts","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/InitialWindow.native.ts","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/specs/NativeSafeAreaContext.ts","/Users/mariuszstanisz/App/node_modules/react-native-safe-area-context/src/SafeArea.types.ts","/Users/mariuszstanisz/App/src/Expensify.js","/Users/mariuszstanisz/App/src/libs/Navigation/NavigationRoot.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/index.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/AuthScreens.js","/Users/mariuszstanisz/App/src/styles/getNavigationModalCardStyles/index.js","/Users/mariuszstanisz/App/src/styles/getNavigationModalCardStyles/getBaseNavigationModalCardStyles.js","/Users/mariuszstanisz/App/src/components/withWindowDimensions.js","/Users/mariuszstanisz/App/src/libs/actions/PersonalDetails.js","/Users/mariuszstanisz/App/src/libs/PusherConnectionManager.js","/Users/mariuszstanisz/App/src/libs/actions/User.js","/Users/mariuszstanisz/App/src/libs/Growl.js","/Users/mariuszstanisz/App/src/libs/actions/Link.js","/Users/mariuszstanisz/App/src/libs/asyncOpenURL/index.js","/Users/mariuszstanisz/App/src/libs/PusherUtils.js","/Users/mariuszstanisz/App/src/libs/actions/Modal.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/modalCardStyleInterpolator.js","/Users/mariuszstanisz/App/src/styles/cardStyles/index.native.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/createCustomModalStackNavigator.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/ClickAwayHandler.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/TransitionConfigs/CardStyleInterpolators.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/conditional.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/TransitionConfigs/HeaderStyleInterpolators.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionPresets.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/TransitionConfigs/TransitionSpecs.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/navigators/createStackNavigator.tsx","/Users/mariuszstanisz/App/node_modules/warn-once/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Stack/StackView.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/ModalPresentationContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Header/HeaderContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Header/Header.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/debounce.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Header/HeaderSegment.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/memoize.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Background.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/getDefaultHeaderHeight.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/getHeaderTitle.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/Header.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderBackground.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderShownContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/getNamedContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderTitle.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderBackButton.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/MaskedView.ios.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/MaskedViewNative.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/PlatformPressable.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/assets/back-icon.png","/Users/mariuszstanisz/App/node_modules/react-native/Libraries/Image/AssetRegistry.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/assets/back-icon-mask.png","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderBackContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/HeaderHeightContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Header/useHeaderHeight.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/MissingIcon.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/ResourceSavingView.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/SafeAreaProviderCompat.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/Screen.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/elements/src/types.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Stack/CardStack.tsx","/Users/mariuszstanisz/App/node_modules/color/index.js","/Users/mariuszstanisz/App/node_modules/color/node_modules/color-convert/index.js","/Users/mariuszstanisz/App/node_modules/color/node_modules/color-convert/conversions.js","/Users/mariuszstanisz/App/node_modules/color/node_modules/color-name/index.js","/Users/mariuszstanisz/App/node_modules/color/node_modules/color-convert/route.js","/Users/mariuszstanisz/App/node_modules/color-string/index.js","/Users/mariuszstanisz/App/node_modules/color-name/index.js","/Users/mariuszstanisz/App/node_modules/simple-swizzle/index.js","/Users/mariuszstanisz/App/node_modules/simple-swizzle/node_modules/is-arrayish/index.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/getDistanceForDirection.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/getInvertedMultiplier.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Stack/CardContainer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/useKeyboardManager.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Stack/Card.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/CardAnimationContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/ModalStatusBarManager.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Stack/CardSheet.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/GestureHandler.ios.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/GestureHandlerNative.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/GestureHandlerRefContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/views/Screens.tsx","/Users/mariuszstanisz/App/node_modules/react-native-screens/src/index.native.tsx","/Users/mariuszstanisz/App/node_modules/react-native-screens/src/TransitionProgressContext.tsx","/Users/mariuszstanisz/App/node_modules/react-native-screens/src/useTransitionProgress.tsx","/Users/mariuszstanisz/App/node_modules/react-freeze/src/index.tsx","/Users/mariuszstanisz/App/node_modules/react-native-screens/src/utils.ts","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/useCardAnimation.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/stack/src/utils/useGestureHandlerRef.tsx","/Users/mariuszstanisz/App/src/pages/ErrorPage/NotFoundPage.js","/Users/mariuszstanisz/App/src/components/ScreenWrapper/index.js","/Users/mariuszstanisz/App/src/components/KeyboardAvoidingView/index.ios.js","/Users/mariuszstanisz/App/src/components/HeaderGap/index.js","/Users/mariuszstanisz/App/src/components/OfflineIndicator.js","/Users/mariuszstanisz/App/src/components/networkPropTypes.js","/Users/mariuszstanisz/App/src/components/OnyxProvider.js","/Users/mariuszstanisz/App/src/components/createOnyxContext.js","/Users/mariuszstanisz/App/src/components/ComposeProviders.js","/Users/mariuszstanisz/App/src/components/withNavigation.js","/Users/mariuszstanisz/App/src/components/withKeyboardState.js","/Users/mariuszstanisz/App/src/components/ScreenWrapper/propTypes.js","/Users/mariuszstanisz/App/src/components/BlockingViews/FullPageNotFoundView.js","/Users/mariuszstanisz/App/src/components/BlockingViews/BlockingView.js","/Users/mariuszstanisz/App/src/components/HeaderWithCloseButton.js","/Users/mariuszstanisz/App/src/components/Header.js","/Users/mariuszstanisz/App/src/components/EnvironmentBadge.js","/Users/mariuszstanisz/App/src/components/withEnvironment.js","/Users/mariuszstanisz/App/src/components/Badge.js","/Users/mariuszstanisz/App/src/components/Tooltip/index.native.js","/Users/mariuszstanisz/App/src/libs/getButtonState.js","/Users/mariuszstanisz/App/src/components/ThreeDotsMenu/index.js","/Users/mariuszstanisz/App/src/components/PopoverMenu/index.js","/Users/mariuszstanisz/App/src/components/Popover/index.native.js","/Users/mariuszstanisz/App/src/components/Modal/index.ios.js","/Users/mariuszstanisz/App/src/components/Modal/BaseModal.js","/Users/mariuszstanisz/App/node_modules/react-native-modal/dist/index.js","/Users/mariuszstanisz/App/node_modules/react-native-modal/dist/modal.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/index.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/registry.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/createAnimation.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/flattenStyle.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/createAnimatableComponent.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/wrapStyleTransforms.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/getStyleValues.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/getDefaultStyleValue.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/easing.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/index.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/attention-seekers.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/bouncing-entrances.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/bouncing-exits.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/fading-entrances.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/fading-exits.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/flippers.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/lightspeed.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/sliding-entrances.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/sliding-exits.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/zooming-entrances.js","/Users/mariuszstanisz/App/node_modules/react-native-animatable/definitions/zooming-exits.js","/Users/mariuszstanisz/App/node_modules/react-native-modal/dist/modal.style.js","/Users/mariuszstanisz/App/node_modules/react-native-modal/dist/utils.js","/Users/mariuszstanisz/App/src/styles/getModalStyles/index.js","/Users/mariuszstanisz/App/src/styles/getModalStyles/getBaseModalStyles.js","/Users/mariuszstanisz/App/src/components/Modal/modalPropTypes.js","/Users/mariuszstanisz/App/src/components/Popover/popoverPropTypes.js","/Users/mariuszstanisz/App/src/components/MenuItem.js","/Users/mariuszstanisz/App/src/components/Avatar.js","/Users/mariuszstanisz/App/src/components/Image/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-fast-image/src/index.tsx","/Users/mariuszstanisz/App/src/components/Image/resizeModes.js","/Users/mariuszstanisz/App/src/components/Image/imagePropTypes.js","/Users/mariuszstanisz/App/src/components/menuItemPropTypes.js","/Users/mariuszstanisz/App/src/components/avatarPropTypes.js","/Users/mariuszstanisz/App/src/components/SelectCircle.js","/Users/mariuszstanisz/App/src/components/MultipleAvatars.js","/Users/mariuszstanisz/App/src/components/PressableWithSecondaryInteraction/index.native.js","/Users/mariuszstanisz/App/src/components/PressableWithSecondaryInteraction/pressableWithSecondaryInteractionPropTypes.js","/Users/mariuszstanisz/App/src/libs/DeviceCapabilities/index.js","/Users/mariuszstanisz/App/src/libs/DeviceCapabilities/canUseTouchScreen/index.native.js","/Users/mariuszstanisz/App/src/libs/DeviceCapabilities/hasHoverSupport/index.native.js","/Users/mariuszstanisz/App/src/libs/ControlSelection/index.native.js","/Users/mariuszstanisz/App/src/components/ArrowKeyFocusManager.js","/Users/mariuszstanisz/App/src/components/PopoverMenu/popoverMenuPropTypes.js","/Users/mariuszstanisz/App/src/components/ThreeDotsMenu/ThreeDotsMenuItemPropTypes.js","/Users/mariuszstanisz/App/src/components/withDelayToggleButtonState.js","/Users/mariuszstanisz/App/src/libs/Navigation/currentUrl/index.native.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/ModalStackNavigators.js","/Users/mariuszstanisz/App/src/pages/iou/IOUBillPage.js","/Users/mariuszstanisz/App/src/pages/iou/MoneyRequestModal.js","/Users/mariuszstanisz/App/src/pages/iou/steps/MoneyRequestAmountPage.js","/Users/mariuszstanisz/App/src/components/BigNumberPad.js","/Users/mariuszstanisz/App/src/components/TextInputWithCurrencySymbol.js","/Users/mariuszstanisz/App/src/components/AmountTextInput.js","/Users/mariuszstanisz/App/src/components/TextInput/index.native.js","/Users/mariuszstanisz/App/src/components/TextInput/BaseTextInput.js","/Users/mariuszstanisz/App/src/components/RNTextInput.js","/Users/mariuszstanisz/App/src/components/TextInput/TextInputLabel/index.native.js","/Users/mariuszstanisz/App/src/components/TextInput/TextInputLabel/TextInputLabelPropTypes.js","/Users/mariuszstanisz/App/src/components/TextInput/styleConst.js","/Users/mariuszstanisz/App/src/components/TextInput/baseTextInputPropTypes.js","/Users/mariuszstanisz/App/src/components/Checkbox.js","/Users/mariuszstanisz/App/src/libs/getSecureEntryKeyboardType/index.js","/Users/mariuszstanisz/App/src/components/FormHelpMessage.js","/Users/mariuszstanisz/App/src/components/CurrencySymbolButton.js","/Users/mariuszstanisz/App/src/libs/CurrencySymbolUtils.js","/Users/mariuszstanisz/App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsPage.js","/Users/mariuszstanisz/App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSplitSelector.js","/Users/mariuszstanisz/App/src/components/OptionsSelector/index.js","/Users/mariuszstanisz/App/src/components/OptionsSelector/BaseOptionsSelector.js","/Users/mariuszstanisz/App/src/components/FixedFooter.js","/Users/mariuszstanisz/App/src/components/OptionsList/index.native.js","/Users/mariuszstanisz/App/src/components/OptionsList/BaseOptionsList.js","/Users/mariuszstanisz/App/src/components/OptionRow.js","/Users/mariuszstanisz/App/src/components/optionPropTypes.js","/Users/mariuszstanisz/App/src/components/participantPropTypes.js","/Users/mariuszstanisz/App/src/components/Hoverable/index.native.js","/Users/mariuszstanisz/App/src/components/Hoverable/hoverablePropTypes.js","/Users/mariuszstanisz/App/src/components/DisplayNames/index.native.js","/Users/mariuszstanisz/App/src/components/DisplayNames/displayNamesPropTypes.js","/Users/mariuszstanisz/App/src/components/SubscriptAvatar.js","/Users/mariuszstanisz/App/src/components/OfflineWithFeedback.js","/Users/mariuszstanisz/App/src/components/DotIndicatorMessage.js","/Users/mariuszstanisz/App/src/libs/shouldRenderOffscreen/index.js","/Users/mariuszstanisz/App/src/components/SectionList/index.js","/Users/mariuszstanisz/App/src/components/OptionsList/optionsListPropTypes.js","/Users/mariuszstanisz/App/src/components/FullscreenLoadingIndicator.js","/Users/mariuszstanisz/App/src/libs/setSelection/index.native.js","/Users/mariuszstanisz/App/src/components/OptionsSelector/optionsSelectorPropTypes.js","/Users/mariuszstanisz/App/src/pages/reportPropTypes.js","/Users/mariuszstanisz/App/src/pages/iou/steps/MoneyRequstParticipantsPage/MoneyRequestParticipantsSelector.js","/Users/mariuszstanisz/App/src/pages/iou/steps/MoneyRequestConfirmPage.js","/Users/mariuszstanisz/App/src/components/MoneyRequestConfirmationList.js","/Users/mariuszstanisz/App/src/components/ButtonWithMenu.js","/Users/mariuszstanisz/App/src/components/ButtonWithDropdown.js","/Users/mariuszstanisz/App/src/components/SettlementButton.js","/Users/mariuszstanisz/App/src/libs/actions/PaymentMethods.js","/Users/mariuszstanisz/App/src/libs/CardUtils.js","/Users/mariuszstanisz/App/src/components/KYCWall/index.native.js","/Users/mariuszstanisz/App/src/components/KYCWall/BaseKYCWall.js","/Users/mariuszstanisz/App/src/components/AddPaymentMethodMenu.js","/Users/mariuszstanisz/App/src/components/paypalMeDataPropTypes.js","/Users/mariuszstanisz/App/src/libs/getClickedTargetLocation/index.native.js","/Users/mariuszstanisz/App/src/libs/PaymentUtils.js","/Users/mariuszstanisz/App/src/libs/models/BankAccount.js","/Users/mariuszstanisz/App/node_modules/lodash/has.js","/Users/mariuszstanisz/App/node_modules/lodash/_baseHas.js","/Users/mariuszstanisz/App/src/components/Icon/BankIcons.js","/Users/mariuszstanisz/App/assets/images/bankicons/american-express.svg","/Users/mariuszstanisz/App/assets/images/bankicons/bank-of-america.svg","/Users/mariuszstanisz/App/assets/images/bankicons/bb-t.svg","/Users/mariuszstanisz/App/assets/images/bankicons/capital-one.svg","/Users/mariuszstanisz/App/assets/images/bankicons/charles-schwab.svg","/Users/mariuszstanisz/App/assets/images/bankicons/chase.svg","/Users/mariuszstanisz/App/assets/images/bankicons/citibank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/citizens-bank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/discover.svg","/Users/mariuszstanisz/App/assets/images/bankicons/fidelity.svg","/Users/mariuszstanisz/App/assets/images/bankicons/huntington-bank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/generic-bank-account.svg","/Users/mariuszstanisz/App/assets/images/bankicons/navy-federal-credit-union.svg","/Users/mariuszstanisz/App/assets/images/bankicons/pnc.svg","/Users/mariuszstanisz/App/assets/images/bankicons/regions-bank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/suntrust.svg","/Users/mariuszstanisz/App/assets/images/bankicons/td-bank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/us-bank.svg","/Users/mariuszstanisz/App/assets/images/bankicons/usaa.svg","/Users/mariuszstanisz/App/src/libs/actions/Wallet.js","/Users/mariuszstanisz/App/src/components/KYCWall/kycWallPropTypes.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/userWalletPropTypes.js","/Users/mariuszstanisz/App/src/components/bankAccountPropTypes.js","/Users/mariuszstanisz/App/src/components/cardPropTypes.js","/Users/mariuszstanisz/App/src/libs/IOUUtils.js","/Users/mariuszstanisz/App/src/components/MenuItemWithTopDescription.js","/Users/mariuszstanisz/App/src/pages/iou/ModalHeader.js","/Users/mariuszstanisz/App/src/libs/actions/IOU.js","/Users/mariuszstanisz/App/src/components/AnimatedStep.js","/Users/mariuszstanisz/App/src/libs/ReportScrollManager/index.native.js","/Users/mariuszstanisz/App/src/pages/iou/IOUCurrencySelection.js","/Users/mariuszstanisz/App/src/pages/iou/IOURequestPage.js","/Users/mariuszstanisz/App/src/pages/iou/MoneyRequestDescriptionPage.js","/Users/mariuszstanisz/App/src/components/Form.js","/Users/mariuszstanisz/App/src/libs/actions/FormActions.js","/Users/mariuszstanisz/App/src/components/FormAlertWithSubmitButton.js","/Users/mariuszstanisz/App/src/components/FormAlertWrapper.js","/Users/mariuszstanisz/App/src/components/RenderHTML.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/TRenderEngine.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/omit.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_curry2.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isPlaceholder.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_curry1.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/dom/parseDocument.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/dom/DomHandler.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/dom/dom-utils.ts","/Users/mariuszstanisz/App/node_modules/domhandler/lib/index.js","/Users/mariuszstanisz/App/node_modules/domhandler/lib/node.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/lib/index.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/lib/Parser.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/lib/Tokenizer.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/node_modules/entities/lib/decode_codepoint.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/node_modules/entities/lib/decode.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-html.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/node_modules/entities/lib/generated/decode-data-xml.js","/Users/mariuszstanisz/App/node_modules/htmlparser2/lib/FeedHandler.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/index.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/stringify.js","/Users/mariuszstanisz/App/node_modules/domutils/node_modules/dom-serializer/lib/index.js","/Users/mariuszstanisz/App/node_modules/domutils/node_modules/dom-serializer/lib/foreignNames.js","/Users/mariuszstanisz/App/node_modules/entities/lib/index.js","/Users/mariuszstanisz/App/node_modules/entities/lib/decode.js","/Users/mariuszstanisz/App/node_modules/entities/lib/maps/entities.json","/Users/mariuszstanisz/App/node_modules/entities/lib/maps/legacy.json","/Users/mariuszstanisz/App/node_modules/entities/lib/maps/xml.json","/Users/mariuszstanisz/App/node_modules/entities/lib/decode_codepoint.js","/Users/mariuszstanisz/App/node_modules/entities/lib/maps/decode.json","/Users/mariuszstanisz/App/node_modules/entities/lib/encode.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/traversal.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/manipulation.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/querying.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/legacy.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/helpers.js","/Users/mariuszstanisz/App/node_modules/domutils/lib/feeds.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/model/HTMLModelRegistry.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/model/defaultHTMLElementModels.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/model/HTMLContentModel.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/model/HTMLElementModel.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/styles/defaults.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/styles/TStylesMerger.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/index.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSProcessedProps.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/mergeProps.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/emptyProps.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSProcessor.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/default.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSPropertiesValidationRegistry.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/makepropertiesValidators.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortCSSToReactNativeValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/expandCSSToRN.ts","/Users/mariuszstanisz/App/node_modules/css-to-react-native/index.js","/Users/mariuszstanisz/App/node_modules/postcss-value-parser/lib/index.js","/Users/mariuszstanisz/App/node_modules/postcss-value-parser/lib/parse.js","/Users/mariuszstanisz/App/node_modules/postcss-value-parser/lib/stringify.js","/Users/mariuszstanisz/App/node_modules/postcss-value-parser/lib/walk.js","/Users/mariuszstanisz/App/node_modules/postcss-value-parser/lib/unit.js","/Users/mariuszstanisz/App/node_modules/camelize/index.js","/Users/mariuszstanisz/App/node_modules/css-color-keywords/index.js","/Users/mariuszstanisz/App/node_modules/css-color-keywords/colors.json","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/ShortMergeRequest.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/GenericPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortCardinalCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongBorderStyleCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongEnumerationCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortFlexCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortFontCSSValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/normalizeFontName.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/ShortDualNativePropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongColorCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongForgivingCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongFontFamilyPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongFontSizeCSSValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/helpers.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongSizeCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongEnumerationListCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongNonPercentSizeCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongAspectRatioPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongFloatNumberCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongBorderWidthCSSPropertyValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/validators/LongCSSToReactNativeValidator.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSNativeParseRun.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSParseRun.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/CSSInlineParseRun.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/config.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/processor-types.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/property-types.ts","/Users/mariuszstanisz/App/node_modules/@native-html/css-processor/src/native-types.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/styles/TStyles.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/isNil.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/not.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/compose.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pipe.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_arity.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reduce.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_curry3.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_reduce.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/bind.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xwrap.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isArrayLike.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isArray.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isString.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_pipe.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/tail.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_checkForMethod.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/slice.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reverse.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/flow/translate.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TEmptyCtor.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TNodeCtor.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/markersPrototype.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/tnodeSnapshot.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TTextCtor.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/flow/text-transforms.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TPhrasingCtor.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TBlockCtor.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/tree/TDocumentImpl.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/flow/hoist.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/flow/collapse.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/model/model-types.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/@native-html/transient-render-engine/src/helper-types.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/SharedPropsProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/defaultListStyleSpecs.ts","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/index.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/CounterStyle.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/getAlphanumFromUnicodeRange.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/makeAlphanumMaxlenComputer.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/makeCSEngine.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/utils/codepointLength.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/constants.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/makeCSRenderer.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/utils/codeunitLength.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/utils/reverseString.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/public-types.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/decimal.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/decimalLeadingZero.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/lowerRoman.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/lowerAlpha.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/lowerGreek.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/upperAlpha.js","/Users/mariuszstanisz/App/node_modules/@jsamr/counter-style/lib/es/presets/upperRoman.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/DisclosureClosedSymbolRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/useSymbolicMarkerRendererStyles.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/DisclosureOpenSymbolRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/CircleSymbolRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/DiscSymbolRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/symbolic/SquareSymbolRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/selectSharedProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pickBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pick.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeRight.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_objectAssign.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_has.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/defaultSharedProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/constants.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/DocumentMetadataProvider.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/IMGRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElement.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/useIMGElementState.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/defaultInitialImageDimensions.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/useIMGNormalizedSource.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/useImageConcreteDimensions.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/useImageSpecifiedDimensions.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/getDimensionsWithAspectRatio.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/getIMGState.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/extractImageStyleProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElementContentSuccess.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElementContainer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/GenericPressable.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElementContentLoading.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElementContentError.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/IMGElementContentAlt.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useNormalizedUrl.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/normalizeResourceLocator.ts","/Users/mariuszstanisz/App/node_modules/urijs/src/URI.js","/Users/mariuszstanisz/App/node_modules/urijs/src/punycode.js","/Users/mariuszstanisz/App/node_modules/urijs/src/IPv6.js","/Users/mariuszstanisz/App/node_modules/urijs/src/SecondLevelDomains.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useContentWidth.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/contentWidthContext.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/getNativePropsForTNode.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/RenderersPropsProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeDeepRight.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeDeepWithKey.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeWithKey.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isObject.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/defaultRendererProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useProfiler.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/identity.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_identity.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/RenderHTML.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/RenderHTMLDebug.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/debugMessages.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/TRenderEngineProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useTRenderEngine.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/buildTREFromConfig.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/defaultSystemFonts.ios.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/RenderHTMLConfigProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/TChildrenRendererContext.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/TNodeChildrenRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderChildren.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/TNodeRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useAssembledCommonProps.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/mergeCollapsedMargins.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/RenderRegistryProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/render/RenderRegistry.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/lookupRecord.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/BRRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/WBRRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/render/internalRenderers.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/ARenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/OLRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/OLElement.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/ListElement.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/ListStyleSpecsProvider.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/index.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/F.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/T.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/__.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/add.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/addIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/curryN.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_curryN.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_concat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/adjust.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/all.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_dispatchable.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isTransformer.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xall.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfBase.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_reduced.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/allPass.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/max.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pluck.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/map.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xmap.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/keys.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isArguments.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_map.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/prop.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/path.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/paths.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isInteger.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/nth.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/always.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/and.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/any.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xany.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/anyPass.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/ap.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/aperture.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xaperture.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_aperture.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/append.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/apply.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/applySpec.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/values.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/applyTo.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/ascend.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/assoc.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/assocPath.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/binary.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/nAry.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/both.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isFunction.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lift.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/liftN.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/call.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/curry.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/chain.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xchain.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_flatCat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_forceReduced.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_makeFlat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/clamp.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/clone.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_clone.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/type.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_cloneRegExp.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/comparator.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/complement.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/composeK.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/composeP.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pipeP.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_pipeP.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/composeWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pipeWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/head.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/concat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/toString.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_toString.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_includes.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_indexOf.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/equals.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_equals.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_arrayFromIterator.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_includesWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_objectIs.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_functionName.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_quote.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reject.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/filter.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfilter.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_filter.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_complement.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_toISOString.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/cond.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/construct.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/constructN.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/contains.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/converge.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/countBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reduceBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xreduceBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dec.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/defaultTo.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/descend.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/difference.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_Set.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/differenceWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dissoc.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dissocPath.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/remove.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/update.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/divide.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/drop.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xdrop.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dropLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xdropLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_dropLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/take.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xtake.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dropLastWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xdropLastWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_dropLastWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dropRepeats.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xdropRepeatsWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dropRepeatsWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/last.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/dropWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xdropWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/either.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/or.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/empty.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/endsWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/takeLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/eqBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/eqProps.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/evolve.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/find.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfind.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/findIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfindIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/findLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfindLast.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/findLastIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xfindLastIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/flatten.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/flip.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/forEach.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/forEachObjIndexed.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/fromPairs.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/groupBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/groupWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/gt.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/gte.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/has.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/hasPath.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/hasIn.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/identical.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/ifElse.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/inc.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/includes.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/indexBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/indexOf.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/init.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/innerJoin.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/insert.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/insertAll.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/intersection.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/uniq.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/uniqBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/intersperse.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/into.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_stepCat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/objOf.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/invert.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/invertObj.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/invoker.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/is.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/isEmpty.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/join.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/juxt.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/keysIn.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lastIndexOf.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/length.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isNumber.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lens.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lensIndex.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lensPath.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lensProp.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lt.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/lte.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mapAccum.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mapAccumRight.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mapObjIndexed.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/match.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mathMod.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/maxBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mean.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/sum.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/median.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/memoizeWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/merge.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeAll.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeDeepLeft.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeDeepWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeLeft.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/mergeWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/min.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/minBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/modulo.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/move.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/multiply.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/negate.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/none.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/nthArg.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/o.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/of.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_of.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/once.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/otherwise.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_assertPromise.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/over.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pair.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/partial.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_createPartialApplicator.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/partialRight.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/partition.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pathEq.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pathOr.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pathSatisfies.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pickAll.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/pipeK.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/prepend.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/product.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/project.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/useWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/propEq.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/propIs.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/propOr.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/propSatisfies.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/props.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/range.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reduceRight.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reduceWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/reduced.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/repeat.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/times.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/replace.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/scan.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/sequence.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/set.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/sort.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/sortBy.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/sortWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/split.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/splitAt.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/splitEvery.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/splitWhen.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/startsWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/subtract.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/symmetricDifference.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/symmetricDifferenceWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/takeLastWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/takeWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xtakeWhile.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/tap.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_xtap.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/test.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/internal/_isRegExp.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/andThen.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/toLower.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/toPairs.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/toPairsIn.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/toUpper.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/transduce.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/transpose.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/traverse.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/trim.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/tryCatch.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unapply.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unary.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/uncurryN.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unfold.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/union.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unionWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/uniqWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unless.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/unnest.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/until.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/valuesIn.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/view.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/when.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/where.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/whereEq.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/without.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/xor.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/xprod.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/zip.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/zipObj.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/zipWith.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/node_modules/ramda/src/thunkify.js","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/index.ts","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/MarkedList.tsx","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/MarkedListItem.tsx","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/useMarkedList.ts","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/MarkerBox.tsx","/Users/mariuszstanisz/App/node_modules/@jsamr/react-native-li/src/shared-types.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderers/ULRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/ULElement.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderTextualContent.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderBlockContent.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/renderEmptyContent.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/collapseTopMarginForChild.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/getCollapsedMarginTop.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/TChildrenRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/sourceLoaderContext.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/RenderHTMLSource.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/context/ttreeEventsContext.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/isUriSource.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/SourceLoaderUri.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/RenderTTree.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useTTree.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/TDocumentRenderer.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/SourceLoaderInline.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/SourceLoaderDom.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/isDomSource.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/shared-types.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/render/render-types.tsx","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/hooks/useInternalRenderer.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/splitBoxModelStyle.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/helpers/domNodeToHTMLString.ts","/Users/mariuszstanisz/App/node_modules/stringify-entities/index.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/index.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/encode.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/core.js","/Users/mariuszstanisz/App/node_modules/xtend/immutable.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/util/format-smart.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/util/to-named.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/constant/from-char-code.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/constant/has-own-property.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/constant/characters.js","/Users/mariuszstanisz/App/node_modules/character-entities-html4/index.json","/Users/mariuszstanisz/App/node_modules/character-entities-legacy/index.json","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/constant/dangerous.json","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/util/to-hexadecimal.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/util/to-decimal.js","/Users/mariuszstanisz/App/node_modules/stringify-entities/lib/escape.js","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/useIMGElementStateWithCache.ts","/Users/mariuszstanisz/App/node_modules/react-native-render-html/src/elements/img-types.ts","/Users/mariuszstanisz/App/src/components/FormSubmit/index.native.js","/Users/mariuszstanisz/App/src/components/FormSubmit/formSubmitPropTypes.js","/Users/mariuszstanisz/App/src/components/ScrollViewWithContext.js","/Users/mariuszstanisz/App/src/pages/iou/IOUSendPage.js","/Users/mariuszstanisz/App/src/pages/AddPersonalBankAccountPage.js","/Users/mariuszstanisz/App/src/libs/actions/BankAccounts.js","/Users/mariuszstanisz/App/src/libs/actions/Plaid.js","/Users/mariuszstanisz/App/src/libs/getPlaidLinkTokenParameters/index.ios.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/plaidDataPropTypes.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/index.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/navigation.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/errors.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/resetFreePlanBankAccount.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/store.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/reimbursementAccountPropTypes.js","/Users/mariuszstanisz/App/src/libs/actions/ReimbursementAccount/deleteFromBankAccountList.js","/Users/mariuszstanisz/App/src/components/AddPlaidBankAccount.js","/Users/mariuszstanisz/App/src/components/PlaidLink/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-plaid-link-sdk/dist/index.js","/Users/mariuszstanisz/App/node_modules/react-native-plaid-link-sdk/dist/PlaidLink.js","/Users/mariuszstanisz/App/node_modules/react-native-plaid-link-sdk/dist/Types.js","/Users/mariuszstanisz/App/src/components/PlaidLink/plaidLinkPropTypes.js","/Users/mariuszstanisz/App/src/components/Picker/index.native.js","/Users/mariuszstanisz/App/src/components/Picker/BasePicker.js","/Users/mariuszstanisz/App/node_modules/react-native-picker-select/src/index.js","/Users/mariuszstanisz/App/node_modules/lodash.isequal/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/Picker.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/PickerAndroid.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/UnimplementedView.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/PickerIOS.ios.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/RNCPickerNativeComponent.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/PickerWindows.js","/Users/mariuszstanisz/App/node_modules/@react-native-picker/picker/js/PickerMacOS.js","/Users/mariuszstanisz/App/src/components/BlockingViews/FullPageOfflineBlockingView.js","/Users/mariuszstanisz/App/src/libs/getPlaidOAuthReceivedRedirectURI/index.native.js","/Users/mariuszstanisz/App/src/components/ConfirmationPage.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/lib/index.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/lib/LottieView.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/extends.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/react-native-safe-modules/lib/index.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/react-native-safe-modules/lib/SafeModule.ios.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/react-native-safe-modules/lib/NativeSafeModule.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/dedent/dist/dedent.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/react-native-safe-modules/lib/SafeComponent.ios.js","/Users/mariuszstanisz/App/node_modules/lottie-react-native/node_modules/react-native-safe-modules/lib/NativeSafeComponent.js","/Users/mariuszstanisz/App/assets/animations/Fireworks.json","/Users/mariuszstanisz/App/src/pages/settings/Payments/AddDebitCardPage.js","/Users/mariuszstanisz/App/src/libs/ValidationUtils.js","/Users/mariuszstanisz/App/src/components/CheckboxWithLabel.js","/Users/mariuszstanisz/App/src/components/StatePicker.js","/Users/mariuszstanisz/App/src/components/AddressSearch.js","/Users/mariuszstanisz/App/src/libs/GooglePlacesUtils.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/GooglePlacesAutocomplete.js","/Users/mariuszstanisz/App/node_modules/lodash.debounce/index.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/node_modules/qs/lib/index.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/node_modules/qs/lib/formats.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/node_modules/qs/lib/parse.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/node_modules/qs/lib/utils.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/node_modules/qs/lib/stringify.js","/Users/mariuszstanisz/App/node_modules/react-native-google-places-autocomplete/images/powered_by_google_on_white.png","/Users/mariuszstanisz/App/src/libs/ComponentUtils/index.native.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/EnablePaymentsPage.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/OnfidoStep.js","/Users/mariuszstanisz/App/src/components/Onfido/index.native.js","/Users/mariuszstanisz/App/src/components/Onfido/onfidoPropTypes.js","/Users/mariuszstanisz/App/node_modules/@onfido/react-native-sdk/index.ts","/Users/mariuszstanisz/App/node_modules/@onfido/react-native-sdk/js/Onfido.ts","/Users/mariuszstanisz/App/node_modules/@onfido/react-native-sdk/js/config_constants.ts","/Users/mariuszstanisz/App/src/pages/EnablePayments/OnfidoPrivacy.js","/Users/mariuszstanisz/App/src/components/FormScrollView.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/walletOnfidoDataPropTypes.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/AdditionalDetailsStep.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/IdologyQuestions.js","/Users/mariuszstanisz/App/src/components/RadioButtons.js","/Users/mariuszstanisz/App/src/components/RadioButtonWithLabel.js","/Users/mariuszstanisz/App/src/components/RadioButton.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/AddressForm.js","/Users/mariuszstanisz/App/src/components/DatePicker/index.ios.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/datetimepicker.ios.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/picker.ios.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/constants.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/layoutUtilsIOS.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/datetimepicker/src/utils.js","/Users/mariuszstanisz/App/src/components/DatePicker/datepickerPropTypes.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/TermsStep.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/TermsPage/ShortTermsForm.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/TermsPage/LongTermsForm.js","/Users/mariuszstanisz/App/src/components/CollapsibleSection/index.js","/Users/mariuszstanisz/App/src/components/CollapsibleSection/Collapsible/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-collapsible/Collapsible.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/walletTermsPropTypes.js","/Users/mariuszstanisz/App/src/pages/EnablePayments/ActivateStep.js","/Users/mariuszstanisz/App/assets/animations/ReviewingBankInfo.json","/Users/mariuszstanisz/App/src/pages/EnablePayments/FailedKYC.js","/Users/mariuszstanisz/App/src/pages/iou/IOUDetailsModal.js","/Users/mariuszstanisz/App/src/components/ReportActionItem/IOUPreview.js","/Users/mariuszstanisz/App/src/pages/home/report/reportActionPropTypes.js","/Users/mariuszstanisz/App/src/pages/home/report/reportActionFragmentPropTypes.js","/Users/mariuszstanisz/App/src/components/ShowContextMenuContext.js","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/ReportActionContextMenu.js","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/ContextMenuActions.js","/Users/mariuszstanisz/App/src/libs/actions/Download.js","/Users/mariuszstanisz/App/src/libs/Clipboard/index.native.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/clipboard/dist/index.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/clipboard/dist/useClipboard.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/clipboard/dist/Clipboard.js","/Users/mariuszstanisz/App/node_modules/@react-native-community/clipboard/dist/NativeClipboard.js","/Users/mariuszstanisz/App/src/libs/ReportActionComposeFocusManager.js","/Users/mariuszstanisz/App/src/libs/fileDownload/getAttachmentDetails.js","/Users/mariuszstanisz/App/src/libs/tryResolveUrlFromApiRoot.js","/Users/mariuszstanisz/App/src/libs/fileDownload/index.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/index.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/class/ReactNativeBlobUtilBlobResponse.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/fs.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/class/ReactNativeBlobUtilSession.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/class/ReactNativeBlobUtilWriteStream.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/class/ReactNativeBlobUtilReadStream.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/utils/uuid.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/class/ReactNativeBlobUtilFile.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/Blob.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/utils/log.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/utils/uri.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/EventTarget.js","/Users/mariuszstanisz/App/node_modules/base-64/base64.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/types.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/mediacollection.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/index.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/File.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/XMLHttpRequest.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/XMLHttpRequestEventTarget.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/ProgressEvent.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/Event.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/fetch.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/FileReader.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/polyfill/Fetch.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/android.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/ios.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/json-stream.js","/Users/mariuszstanisz/App/node_modules/react-native-blob-util/lib/oboe-browser.min.js","/Users/mariuszstanisz/App/src/libs/fileDownload/FileUtils.js","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/index.ts","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/useCameraRoll.ts","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/CameraRoll.ts","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/NativeCameraRollModule.ts","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/CameraRollIOSPermission.ts","/Users/mariuszstanisz/App/node_modules/@react-native-camera-roll/camera-roll/src/NativeCameraRollPermissionModule.ts","/Users/mariuszstanisz/App/src/libs/addEncryptedAuthTokenToURL.js","/Users/mariuszstanisz/App/src/components/Reactions/QuickEmojiReactions/index.native.js","/Users/mariuszstanisz/App/src/components/Reactions/QuickEmojiReactions/BaseQuickEmojiReactions.js","/Users/mariuszstanisz/App/src/components/Reactions/EmojiReactionBubble.js","/Users/mariuszstanisz/App/src/components/Reactions/AddReactionBubble.js","/Users/mariuszstanisz/App/src/libs/actions/EmojiPickerAction.js","/Users/mariuszstanisz/App/src/components/Reactions/getPreferredEmojiCode.js","/Users/mariuszstanisz/App/src/components/Reactions/MiniQuickEmojiReactions.js","/Users/mariuszstanisz/App/src/components/BaseMiniContextMenuItem.js","/Users/mariuszstanisz/App/src/pages/iou/IOUTransactions.js","/Users/mariuszstanisz/App/src/components/ReportTransaction.js","/Users/mariuszstanisz/App/src/libs/actions/ReportActions.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemSingle.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemFragment.js","/Users/mariuszstanisz/App/src/libs/EmojiUtils.js","/Users/mariuszstanisz/App/src/libs/EmojiTrie.js","/Users/mariuszstanisz/App/assets/emojis.js","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/plant.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/hamburger.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/plane.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/soccer-ball.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/light-bulb.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/peace-sign.svg","/Users/mariuszstanisz/App/assets/images/emojiCategoryIcons/flag.svg","/Users/mariuszstanisz/App/src/libs/Trie/index.js","/Users/mariuszstanisz/App/src/libs/Trie/TrieNode.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/applyStrikethrough/index.native.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemDate.js","/Users/mariuszstanisz/App/src/pages/DetailsPage.js","/Users/mariuszstanisz/App/src/components/CommunicationsLink.js","/Users/mariuszstanisz/App/src/components/ContextMenuItem.js","/Users/mariuszstanisz/App/src/components/AttachmentModal.js","/Users/mariuszstanisz/App/node_modules/lodash/extend.js","/Users/mariuszstanisz/App/node_modules/lodash/assignIn.js","/Users/mariuszstanisz/App/src/components/AttachmentView.js","/Users/mariuszstanisz/App/src/components/PDFView/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/index.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/PdfView.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/PdfManager.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/PdfPageView.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/index.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedColorPropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedEdgeInsetsPropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedImagePropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedStyleSheetPropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/deprecatedCreateStrictShapeTypeChecker.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedImageStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedLayoutPropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedShadowPropTypesIOS.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedTransformPropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedImageSourcePropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedPointPropType.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedTextInputPropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedViewPropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedViewStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedViewAccessibility.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedTextPropTypes.js","/Users/mariuszstanisz/App/node_modules/deprecated-react-native-prop-types/DeprecatedTextStylePropTypes.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/DoubleTapView.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/PinchZoomView.js","/Users/mariuszstanisz/App/node_modules/react-native-pdf/PdfViewFlatList.js","/Users/mariuszstanisz/App/node_modules/crypto-js/sha1.js","/Users/mariuszstanisz/App/node_modules/crypto-js/core.js","/Users/mariuszstanisz/App/src/components/PDFView/PDFPasswordForm.js","/Users/mariuszstanisz/App/src/components/PDFView/PDFInfoMessage.js","/Users/mariuszstanisz/App/src/libs/shouldDelayFocus/index.js","/Users/mariuszstanisz/App/src/components/PDFView/pdfViewPropTypes.js","/Users/mariuszstanisz/App/src/components/ImageView/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-image-pan-zoom/built/index.js","/Users/mariuszstanisz/App/node_modules/react-native-image-pan-zoom/built/image-zoom/image-zoom.component.js","/Users/mariuszstanisz/App/node_modules/react-native-image-pan-zoom/built/image-zoom/image-zoom.type.js","/Users/mariuszstanisz/App/node_modules/react-native-image-pan-zoom/built/image-zoom/image-zoom.style.js","/Users/mariuszstanisz/App/src/components/AttachmentCarousel/index.js","/Users/mariuszstanisz/App/src/components/AttachmentCarousel/CarouselActions/index.native.js","/Users/mariuszstanisz/App/src/components/ConfirmModal.js","/Users/mariuszstanisz/App/src/components/ConfirmContent.js","/Users/mariuszstanisz/App/src/components/PressableWithoutFocus.js","/Users/mariuszstanisz/App/src/components/AutoUpdateTime.js","/Users/mariuszstanisz/App/src/pages/ReportDetailsPage.js","/Users/mariuszstanisz/App/src/components/RoomHeaderAvatars.js","/Users/mariuszstanisz/App/src/pages/home/report/withReportOrNotFound.js","/Users/mariuszstanisz/App/src/pages/ReportSettingsPage.js","/Users/mariuszstanisz/App/src/components/RoomNameInput/index.native.js","/Users/mariuszstanisz/App/src/components/RoomNameInput/roomNameInputPropTypes.js","/Users/mariuszstanisz/App/src/libs/RoomNameInputUtils.js","/Users/mariuszstanisz/App/src/pages/ReportParticipantsPage.js","/Users/mariuszstanisz/App/src/pages/SearchPage.js","/Users/mariuszstanisz/App/src/libs/Performance.js","/Users/mariuszstanisz/App/src/libs/Metrics/index.native.js","/Users/mariuszstanisz/App/src/libs/E2E/isE2ETestSession.native.js","/Users/mariuszstanisz/App/node_modules/react-native-performance-flipper-reporter/src/index.js","/Users/mariuszstanisz/App/node_modules/react-native-flipper/index.js","/Users/mariuszstanisz/App/src/pages/NewGroupPage.js","/Users/mariuszstanisz/App/src/pages/NewChatPage.js","/Users/mariuszstanisz/App/src/pages/settings/InitialSettingsPage.js","/Users/mariuszstanisz/App/src/libs/actions/App.js","/Users/mariuszstanisz/App/src/libs/SessionUtils.js","/Users/mariuszstanisz/App/src/libs/PolicyUtils.js","/Users/mariuszstanisz/App/src/libs/UserUtils.js","/Users/mariuszstanisz/App/src/pages/policyMemberPropType.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspacesListPage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/ProfilePage.js","/Users/mariuszstanisz/App/src/components/AvatarWithImagePicker.js","/Users/mariuszstanisz/App/src/components/AttachmentPicker/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-document-picker/src/index.tsx","/Users/mariuszstanisz/App/node_modules/react-native-document-picker/src/fileTypes.ts","/Users/mariuszstanisz/App/src/components/AttachmentPicker/launchCamera.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/index.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/permissions.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/results.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/types.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/methods.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-permissions/dist/commonjs/utils.js","/Users/mariuszstanisz/App/node_modules/react-native-image-picker/src/index.ts","/Users/mariuszstanisz/App/node_modules/react-native-image-picker/src/types.ts","/Users/mariuszstanisz/App/node_modules/react-native-image-picker/src/platforms/web.ts","/Users/mariuszstanisz/App/node_modules/react-native-image-picker/src/platforms/native.ts","/Users/mariuszstanisz/App/node_modules/react-native-image-picker/src/platforms/NativeImagePicker.ts","/Users/mariuszstanisz/App/src/components/AttachmentPicker/attachmentPickerPropTypes.js","/Users/mariuszstanisz/App/src/components/AvatarCropModal/AvatarCropModal.js","/Users/mariuszstanisz/App/src/components/AvatarCropModal/ImageCropView.js","/Users/mariuszstanisz/App/src/components/AvatarCropModal/gestureHandlerPropTypes.js","/Users/mariuszstanisz/App/src/components/AvatarCropModal/Slider.js","/Users/mariuszstanisz/App/src/libs/cropOrRotateImage/index.native.js","/Users/mariuszstanisz/App/node_modules/@oguzhnatly/react-native-image-manipulator/build/index.js","/Users/mariuszstanisz/App/src/styles/animation/SpinningIndicatorAnimation.js","/Users/mariuszstanisz/App/src/libs/useNativeDriver/index.native.js","/Users/mariuszstanisz/App/src/libs/fileDownload/getImageResolution.native.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/PronounsPage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/DisplayNamePage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/TimezoneInitialPage.js","/Users/mariuszstanisz/App/src/components/Switch.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/TimezoneSelectPage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/PersonalDetails/PersonalDetailsInitialPage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/PersonalDetails/LegalNamePage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/PersonalDetails/DateOfBirthPage.js","/Users/mariuszstanisz/App/src/components/NewDatePicker/index.js","/Users/mariuszstanisz/App/src/components/CalendarPicker/index.js","/Users/mariuszstanisz/App/src/components/CalendarPicker/ArrowIcon.js","/Users/mariuszstanisz/App/src/components/CalendarPicker/generateMonthMatrix.js","/Users/mariuszstanisz/App/src/components/CalendarPicker/calendarPickerPropTypes.js","/Users/mariuszstanisz/App/src/components/NewDatePicker/datePickerPropTypes.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/PersonalDetails/AddressPage.js","/Users/mariuszstanisz/App/src/components/CountryPicker.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/Contacts/ContactMethodsPage.js","/Users/mariuszstanisz/App/src/components/CopyTextToClipboard.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js","/Users/mariuszstanisz/App/src/pages/settings/Profile/Contacts/NewContactMethodPage.js","/Users/mariuszstanisz/App/src/pages/settings/Preferences/PreferencesPage.js","/Users/mariuszstanisz/App/src/components/TestToolMenu.js","/Users/mariuszstanisz/App/src/components/TestToolRow.js","/Users/mariuszstanisz/App/src/pages/settings/Preferences/PriorityModePage.js","/Users/mariuszstanisz/App/src/pages/settings/Preferences/LanguagePage.js","/Users/mariuszstanisz/App/src/pages/settings/PasswordPage.js","/Users/mariuszstanisz/App/src/pages/settings/Security/CloseAccountPage.js","/Users/mariuszstanisz/App/src/libs/actions/CloseAccount.js","/Users/mariuszstanisz/App/src/pages/settings/Security/SecuritySettingsPage.js","/Users/mariuszstanisz/App/src/pages/settings/AboutPage/AboutPage.js","/Users/mariuszstanisz/App/assets/images/new-expensify.svg","/Users/mariuszstanisz/App/src/libs/actions/KeyboardShortcuts.js","/Users/mariuszstanisz/App/src/pages/settings/AppDownloadLinks.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/PaymentsPage/index.native.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/PaymentsPage/BasePaymentsPage.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/PaymentMethodList.js","/Users/mariuszstanisz/App/src/components/PasswordPopover/index.js","/Users/mariuszstanisz/App/src/components/PasswordPopover/BasePasswordPopover.js","/Users/mariuszstanisz/App/src/components/KeyboardSpacer/index.ios.js","/Users/mariuszstanisz/App/src/components/KeyboardSpacer/BaseKeyboardSpacer.js","/Users/mariuszstanisz/App/src/components/KeyboardSpacer/BaseKeyboardSpacerPropTypes.js","/Users/mariuszstanisz/App/src/components/withViewportOffsetTop.js","/Users/mariuszstanisz/App/src/libs/VisualViewport/index.native.js","/Users/mariuszstanisz/App/src/components/PasswordPopover/passwordPopoverPropTypes.js","/Users/mariuszstanisz/App/src/components/CurrentWalletBalance.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/PaymentsPage/paymentsPagePropTypes.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/walletTransferPropTypes.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/TransferBalancePage.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/ChooseTransferAccountPage.js","/Users/mariuszstanisz/App/src/pages/settings/Payments/AddPayPalMePage.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceInitialPage.js","/Users/mariuszstanisz/App/src/pages/workspace/withPolicy.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceSettingsPage.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspacePageWithSections.js","/Users/mariuszstanisz/App/src/pages/settings/userPropTypes.js","/Users/mariuszstanisz/App/src/pages/workspace/card/WorkspaceCardPage.js","/Users/mariuszstanisz/App/src/pages/workspace/card/WorkspaceCardNoVBAView.js","/Users/mariuszstanisz/App/src/components/Icon/Illustrations.js","/Users/mariuszstanisz/App/assets/images/product-illustrations/abracadabra.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/bank-arrow--pink.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/bank-mouse--green.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/bank-user--green.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/concierge--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/concierge--exclamation.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/credit-cards--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/invoice--orange.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/jewel-box--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/jewel-box--green.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/jewel-box--pink.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/jewel-box--yellow.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/magic-code.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/money-envelope--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/money-mouse--pink.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/receipts-search--yellow.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/receipt--yellow.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/rocket--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/rocket--orange.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/safe.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/tada--yellow.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/tada--blue.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/todd-behind-cloud.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/gps-track--orange.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__shield.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__money-receipts.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__bill.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__credit-cards.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__invoice.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__lockopen.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__luggage.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__moneyintowallet.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__moneywings.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__opensafe.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__track-shoe.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__bank-arrow.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__concierge-bubble.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__concierge.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__moneybadge.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__treasurechest.svg","/Users/mariuszstanisz/App/assets/images/simple-illustrations/simple-illustration__thumbsupstars.svg","/Users/mariuszstanisz/App/assets/images/product-illustrations/home-illustration-hands.svg","/Users/mariuszstanisz/App/src/components/UnorderedList.js","/Users/mariuszstanisz/App/src/components/Section.js","/Users/mariuszstanisz/App/src/components/MenuItemList.js","/Users/mariuszstanisz/App/src/pages/workspace/card/WorkspaceCardVBANoECardView.js","/Users/mariuszstanisz/App/src/pages/workspace/card/WorkspaceCardVBAWithECardView.js","/Users/mariuszstanisz/App/src/pages/workspace/reimburse/WorkspaceReimbursePage.js","/Users/mariuszstanisz/App/src/pages/workspace/reimburse/WorkspaceReimburseView.js","/Users/mariuszstanisz/App/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js","/Users/mariuszstanisz/App/src/libs/getPermittedDecimalSeparator/index.ios.js","/Users/mariuszstanisz/App/src/pages/workspace/reimburse/WorkspaceReimburseSection.js","/Users/mariuszstanisz/App/src/pages/workspace/bills/WorkspaceBillsPage.js","/Users/mariuszstanisz/App/src/pages/workspace/bills/WorkspaceBillsNoVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/bills/WorkspaceBillsFirstSection.js","/Users/mariuszstanisz/App/src/pages/workspace/bills/WorkspaceBillsVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/invoices/WorkspaceInvoicesPage.js","/Users/mariuszstanisz/App/src/pages/workspace/invoices/WorkspaceInvoicesNoVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/invoices/WorkspaceInvoicesFirstSection.js","/Users/mariuszstanisz/App/src/pages/workspace/invoices/WorkspaceInvoicesVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/travel/WorkspaceTravelPage.js","/Users/mariuszstanisz/App/src/pages/workspace/travel/WorkspaceTravelNoVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/travel/WorkspaceTravelVBAView.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceMembersPage.js","/Users/mariuszstanisz/App/src/components/KeyboardDismissingFlatList/index.native.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceInvitePage.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceNewRoomPage.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/ReimbursementAccountPage.js","/Users/mariuszstanisz/App/src/components/ReimbursementAccountLoadingIndicator.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/BankAccountStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/BankAccountManualStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/exampleCheckImage.js","/Users/mariuszstanisz/App/assets/images/example-check-image-en.png","/Users/mariuszstanisz/App/assets/images/example-check-image-es.png","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/StepPropTypes.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/ReimbursementAccountDraftPropTypes.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/BankAccountPlaidStep.js","/Users/mariuszstanisz/App/src/libs/getPlaidDesktopMessage/index.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/CompanyStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/ContinueBankAccountSetup.js","/Users/mariuszstanisz/App/src/pages/workspace/WorkspaceResetBankAccountModal.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/RequestorStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/IdentityForm.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/RequestorOnfidoStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/ValidationStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/EnableStep.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/Enable2FAPrompt.js","/Users/mariuszstanisz/App/src/pages/ReimbursementAccount/ACHContractStep.js","/Users/mariuszstanisz/App/src/pages/GetAssistancePage.js","/Users/mariuszstanisz/App/src/pages/wallet/WalletStatementPage.js","/Users/mariuszstanisz/App/src/components/WalletStatementModal/index.native.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/index.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/lib/WebView.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/lib/WebViewNativeComponent.ios.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/lib/WebView.styles.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/lib/WebViewShared.js","/Users/mariuszstanisz/App/node_modules/react-native-webview/node_modules/escape-string-regexp/index.js","/Users/mariuszstanisz/App/src/components/WalletStatementModal/WalletStatementModalPropTypes.js","/Users/mariuszstanisz/App/src/pages/YearPickerPage.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/defaultScreenOptions.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/MainDrawerNavigator.js","/Users/mariuszstanisz/App/src/pages/home/ReportScreen.js","/Users/mariuszstanisz/App/src/pages/home/HeaderView.js","/Users/mariuszstanisz/App/src/components/VideoChatButtonAndMenu/index.js","/Users/mariuszstanisz/App/src/components/VideoChatButtonAndMenu/BaseVideoChatButtonAndMenu.js","/Users/mariuszstanisz/App/assets/images/zoom-icon.svg","/Users/mariuszstanisz/App/assets/images/google-meet.svg","/Users/mariuszstanisz/App/src/components/VideoChatButtonAndMenu/videoChatButtonAndMenuPropTypes.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionsView.js","/Users/mariuszstanisz/App/src/pages/home/report/FloatingMessageCounter/index.js","/Users/mariuszstanisz/App/src/pages/home/report/FloatingMessageCounter/FloatingMessageCounterContainer/index.js","/Users/mariuszstanisz/App/src/pages/home/report/FloatingMessageCounter/FloatingMessageCounterContainer/floatingMessageCounterContainerPropTypes.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionsList.js","/Users/mariuszstanisz/App/src/components/InvertedFlatList/index.ios.js","/Users/mariuszstanisz/App/src/components/InvertedFlatList/BaseInvertedFlatList.js","/Users/mariuszstanisz/App/src/components/withDrawerState.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/index.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/navigators/createDrawerNavigator.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerView.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/DrawerPositionContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/DrawerStatusContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/getDrawerStatusFromState.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerContent.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerContentScrollView.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerItemList.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerItem.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/DrawerToggleButton.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/assets/toggle-drawer-icon.png","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/GestureHandler.ios.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/GestureHandlerNative.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/DrawerGestureContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/legacy/Drawer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/DrawerProgressContext.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/legacy/Overlay.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/modern/Drawer.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/modern/Overlay.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/views/ScreenFallback.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/useDrawerProgress.tsx","/Users/mariuszstanisz/App/node_modules/@react-navigation/drawer/src/utils/useDrawerStatus.tsx","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItem.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemGrouped.js","/Users/mariuszstanisz/App/src/components/ReportActionItem/IOUAction.js","/Users/mariuszstanisz/App/src/components/ReportActionItem/IOUQuote.js","/Users/mariuszstanisz/App/src/pages/iouReportPropTypes.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemMessage.js","/Users/mariuszstanisz/App/src/components/UnreadActionIndicator.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemMessageEdit.js","/Users/mariuszstanisz/App/src/components/Composer/index.ios.js","/Users/mariuszstanisz/App/src/libs/ComposerUtils/index.native.js","/Users/mariuszstanisz/App/src/libs/ComposerUtils/updateIsFullComposerAvailable.js","/Users/mariuszstanisz/App/src/libs/toggleReportActionComposeView/index.native.js","/Users/mariuszstanisz/App/src/libs/actions/Composer.js","/Users/mariuszstanisz/App/src/libs/openReportActionComposeViewWhenClosingMessageEdit/index.native.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/EmojiPickerButton.js","/Users/mariuszstanisz/App/src/components/ExceededCommentLength.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionItemCreated.js","/Users/mariuszstanisz/App/src/components/ReportWelcomeText.js","/Users/mariuszstanisz/App/assets/images/empty-state_background-fade.png","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.native.js","/Users/mariuszstanisz/App/src/components/ReportActionItem/RenameAction.js","/Users/mariuszstanisz/App/src/components/InlineSystemMessage.js","/Users/mariuszstanisz/App/src/libs/SelectionScraper/index.native.js","/Users/mariuszstanisz/App/src/libs/focusTextInputAfterAnimation/index.js","/Users/mariuszstanisz/App/src/components/ReportActionItem/ChronosOOOListActions.js","/Users/mariuszstanisz/App/src/libs/actions/Chronos.js","/Users/mariuszstanisz/App/src/components/Reactions/ReportActionItemReactions.js","/Users/mariuszstanisz/App/src/components/Reactions/ReactionTooltipContent.js","/Users/mariuszstanisz/App/src/libs/PersonalDetailsUtils.js","/Users/mariuszstanisz/App/src/components/ReportActionsSkeletonView/index.js","/Users/mariuszstanisz/App/src/components/ReportActionsSkeletonView/SkeletonViewLines.js","/Users/mariuszstanisz/App/node_modules/react-content-loader/native/react-content-loader.native.cjs.js","/Users/mariuszstanisz/App/src/components/CopySelectionHelper.js","/Users/mariuszstanisz/App/src/libs/getIsReportFullyVisible.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportFooter.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportActionCompose.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportTypingIndicator.js","/Users/mariuszstanisz/App/src/components/TextWithEllipsis/index.js","/Users/mariuszstanisz/App/src/libs/willBlurTextInputOnTapOutside/index.native.js","/Users/mariuszstanisz/App/src/pages/home/report/ParticipantLocalTime.js","/Users/mariuszstanisz/App/src/pages/home/report/ReportDropUI.js","/Users/mariuszstanisz/App/src/components/DragAndDrop/DropZone/index.native.js","/Users/mariuszstanisz/App/src/components/DragAndDrop/index.native.js","/Users/mariuszstanisz/App/src/components/EmojiSuggestions.js","/Users/mariuszstanisz/App/src/libs/GetStyledTextArray.js","/Users/mariuszstanisz/App/src/components/SwipeableView/index.native.js","/Users/mariuszstanisz/App/src/components/ArchivedReportFooter.js","/Users/mariuszstanisz/App/src/components/Banner.js","/Users/mariuszstanisz/App/src/components/ReportHeaderSkeletonView.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/EmojiPicker.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/EmojiPickerMenu/index.native.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/EmojiPickerMenuItem.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/EmojiSkinToneList.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/getSkinToneEmojiFromIndex.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/CategoryShortcutBar.js","/Users/mariuszstanisz/App/src/components/EmojiPicker/CategoryShortcutButton.js","/Users/mariuszstanisz/App/src/components/PopoverWithMeasuredContent.js","/Users/mariuszstanisz/App/src/styles/getPopoverWithMeasuredContentStyles.js","/Users/mariuszstanisz/App/src/styles/roundToNearestMultipleOfFour.js","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/index.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/components/portal/Portal.tsx","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/hooks/usePortal.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/contexts/portal.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/state/constants.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/components/portalHost/PortalHost.tsx","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/hooks/usePortalState.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/components/portalProvider/PortalProvider.tsx","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/state/reducer.ts","/Users/mariuszstanisz/App/node_modules/@gorhom/portal/src/utilities/logger.ts","/Users/mariuszstanisz/App/src/pages/home/sidebar/SidebarScreen/index.native.js","/Users/mariuszstanisz/App/src/pages/home/sidebar/SidebarScreen/sidebarPropTypes.js","/Users/mariuszstanisz/App/src/pages/home/sidebar/SidebarScreen/BaseSidebarScreen.js","/Users/mariuszstanisz/App/src/pages/home/sidebar/SidebarLinks.js","/Users/mariuszstanisz/App/src/pages/safeAreaInsetPropTypes.js","/Users/mariuszstanisz/App/src/components/AvatarWithIndicator.js","/Users/mariuszstanisz/App/src/components/LHNOptionsList/LHNOptionsList.js","/Users/mariuszstanisz/App/src/components/LHNOptionsList/OptionRowLHN.js","/Users/mariuszstanisz/App/src/styles/optionRowStyles/index.native.js","/Users/mariuszstanisz/App/src/libs/SidebarUtils.js","/Users/mariuszstanisz/App/src/components/TextPill.js","/Users/mariuszstanisz/App/src/components/LHNSkeletonView.js","/Users/mariuszstanisz/App/src/pages/home/sidebar/SidebarScreen/FloatingActionButtonAndPopover.js","/Users/mariuszstanisz/App/src/components/FloatingActionButton.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/BaseDrawerNavigator.js","/Users/mariuszstanisz/App/src/pages/ValidateLoginPage/index.js","/Users/mariuszstanisz/App/src/pages/ValidateLoginPage/validateLinkPropTypes.js","/Users/mariuszstanisz/App/src/pages/LogOutPreviousUserPage.js","/Users/mariuszstanisz/App/src/pages/ConciergePage.js","/Users/mariuszstanisz/App/src/libs/Navigation/AppNavigator/PublicScreens.js","/Users/mariuszstanisz/App/src/pages/signin/SignInPage.js","/Users/mariuszstanisz/App/src/pages/signin/SignInPageLayout/index.js","/Users/mariuszstanisz/App/src/pages/signin/SignInPageLayout/SignInPageContent.js","/Users/mariuszstanisz/App/src/components/ExpensifyWordmark.js","/Users/mariuszstanisz/App/assets/images/expensify-logo--dev.svg","/Users/mariuszstanisz/App/assets/images/expensify-logo--staging.svg","/Users/mariuszstanisz/App/assets/images/expensify-logo--adhoc.svg","/Users/mariuszstanisz/App/src/components/SignInPageForm/index.native.js","/Users/mariuszstanisz/App/src/components/FormElement.js","/Users/mariuszstanisz/App/src/pages/signin/SignInHeroImage.js","/Users/mariuszstanisz/App/src/pages/signin/SignInPageLayout/Footer.js","/Users/mariuszstanisz/App/src/pages/signin/Licenses.js","/Users/mariuszstanisz/App/src/components/LocalePicker.js","/Users/mariuszstanisz/App/src/pages/signin/Socials.js","/Users/mariuszstanisz/App/assets/images/home-fade-gradient--mobile.svg","/Users/mariuszstanisz/App/src/pages/signin/SignInPageHero.js","/Users/mariuszstanisz/App/src/pages/signin/SignInHeroCopy.js","/Users/mariuszstanisz/App/src/pages/signin/SignInPageLayout/signInPageStyles/index.native.js","/Users/mariuszstanisz/App/assets/images/home-background--desktop.svg","/Users/mariuszstanisz/App/assets/images/home-background--mobile.svg","/Users/mariuszstanisz/App/assets/images/home-fade-gradient.svg","/Users/mariuszstanisz/App/src/pages/signin/LoginForm.js","/Users/mariuszstanisz/App/src/libs/canFocusInputOnScreenFocus/index.native.js","/Users/mariuszstanisz/App/src/components/withToggleVisibilityView.js","/Users/mariuszstanisz/App/src/pages/signin/PasswordForm.js","/Users/mariuszstanisz/App/src/pages/signin/ChangeExpensifyLoginLink.js","/Users/mariuszstanisz/App/src/pages/signin/Terms.js","/Users/mariuszstanisz/App/src/pages/signin/ValidateCodeForm/index.js","/Users/mariuszstanisz/App/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.js","/Users/mariuszstanisz/App/src/pages/signin/ResendValidationForm.js","/Users/mariuszstanisz/App/src/pages/SetPasswordPage.js","/Users/mariuszstanisz/App/src/pages/settings/NewPasswordForm.js","/Users/mariuszstanisz/App/src/pages/LogInWithShortLivedAuthTokenPage.js","/Users/mariuszstanisz/App/node_modules/@react-navigation/devtools/src/index.tsx","/Users/mariuszstanisz/App/src/libs/migrateOnyx.js","/Users/mariuszstanisz/App/src/libs/migrations/AddEncryptedAuthToken.js","/Users/mariuszstanisz/App/src/libs/migrations/RenameActiveClientsKey.js","/Users/mariuszstanisz/App/src/libs/migrations/RenamePriorityModeKey.js","/Users/mariuszstanisz/App/src/libs/migrations/MoveToIndexedDB.js","/Users/mariuszstanisz/App/src/libs/migrations/RenameExpensifyNewsStatus.js","/Users/mariuszstanisz/App/src/libs/migrations/AddLastVisibleActionCreated.js","/Users/mariuszstanisz/App/src/libs/migrations/KeyReportActionsByReportActionID.js","/Users/mariuszstanisz/App/src/components/UpdateAppModal/index.js","/Users/mariuszstanisz/App/src/components/UpdateAppModal/BaseUpdateAppModal.js","/Users/mariuszstanisz/App/src/components/UpdateAppModal/updateAppModalPropTypes.js","/Users/mariuszstanisz/App/src/components/GrowlNotification/index.js","/Users/mariuszstanisz/App/src/components/GrowlNotification/GrowlNotificationContainer/index.native.js","/Users/mariuszstanisz/App/src/components/GrowlNotification/GrowlNotificationContainer/growlNotificationContainerPropTypes.js","/Users/mariuszstanisz/App/src/libs/StartupTimer/index.native.js","/Users/mariuszstanisz/App/src/components/DeeplinkWrapper/index.js","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.js","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.js","/Users/mariuszstanisz/App/src/styles/getReportActionContextMenuStyles.js","/Users/mariuszstanisz/App/src/pages/home/report/ContextMenu/genericReportActionContextMenuPropTypes.js","/Users/mariuszstanisz/App/src/components/KeyboardShortcutsModal.js","/Users/mariuszstanisz/App/src/libs/UnreadIndicatorUpdater/index.js","/Users/mariuszstanisz/App/src/libs/UnreadIndicatorUpdater/updateUnread/index.ios.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/index.native.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/BaseHTMLEngineProvider.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/index.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/AnchorRenderer.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/htmlRendererPropTypes.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/htmlEngineUtils.js","/Users/mariuszstanisz/App/src/components/AnchorForCommentsOnly/index.native.js","/Users/mariuszstanisz/App/src/components/AnchorForCommentsOnly/anchorForCommentsOnlyPropTypes.js","/Users/mariuszstanisz/App/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.js","/Users/mariuszstanisz/App/src/components/AnchorForAttachmentsOnly/index.native.js","/Users/mariuszstanisz/App/src/components/AnchorForAttachmentsOnly/anchorForAttachmentsOnlyPropTypes.js","/Users/mariuszstanisz/App/src/components/AnchorForAttachmentsOnly/BaseAnchorForAttachmentsOnly.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/CodeRenderer.js","/Users/mariuszstanisz/App/src/components/InlineCodeBlock/index.native.js","/Users/mariuszstanisz/App/src/components/InlineCodeBlock/WrappedText.js","/Users/mariuszstanisz/App/src/components/InlineCodeBlock/inlineCodeBlockPropTypes.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/EditedRenderer.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/ImageRenderer.js","/Users/mariuszstanisz/App/src/components/ThumbnailImage.js","/Users/mariuszstanisz/App/node_modules/lodash/clamp.js","/Users/mariuszstanisz/App/src/components/ImageWithSizeCalculation.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/index.native.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/HTMLRenderers/PreRenderer/BasePreRenderer.js","/Users/mariuszstanisz/App/src/components/HTMLEngineProvider/htmlEnginePropTypes.js","/Users/mariuszstanisz/App/src/components/SafeArea/index.ios.js","/Users/mariuszstanisz/App/src/setup/index.js","/Users/mariuszstanisz/App/src/setup/platformSetup/index.native.js","/Users/mariuszstanisz/App/src/libs/IntlPolyfill/index.native.js","/Users/mariuszstanisz/App/src/libs/IntlPolyfill/shouldPolyfill.js","/Users/mariuszstanisz/App/src/libs/IntlPolyfill/polyfillNumberFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/polyfill-force.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/BestFitFormatMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/utils.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/utils.js","/Users/mariuszstanisz/App/node_modules/tslib/tslib.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/skeleton.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/date-time.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/CanonicalizeLocaleList.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/CanonicalizeTimeZoneName.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/CoerceOptionsToObject.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/262.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/BasicFormatMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/DateTimeStyleFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/FormatDateTime.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/PartitionDateTimePattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/FormatDateTimePattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/ToLocalTime.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/PartitionPattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/FormatDateTimeRange.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/PartitionDateTimeRangePattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/FormatDateTimeRangeToParts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/FormatDateTimeToParts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/InitializeDateTimeFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DateTimeFormat/ToDateTimeOptions.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/GetOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/ResolveLocale.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/LookupMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/BestAvailableLocale.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/BestFitMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/UnicodeExtensionValue.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/IsValidTimeZoneName.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/GetNumberOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DefaultNumberOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/DisplayNames/CanonicalCodeForDisplayNames.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/IsWellFormedCurrencyCode.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/GetOptionsObject.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/IsWellFormedUnitIdentifier.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponent.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToString.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawPrecision.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawFixed.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/CurrencyDigits.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToParts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/PartitionNumberPattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/format_to_parts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/digit-mapping.json","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/InitializeNumberFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatUnitOptions.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatDigitOptions.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/PluralRules/GetOperands.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/PluralRules/InitializePluralRules.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/PluralRules/ResolvePlural.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/FormatRelativeTime.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/MakePartsList.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/FormatRelativeTimeToParts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/SupportedLocales.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/LookupSupportedLocales.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/data.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/relative-time.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/list.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/plural-rules.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/number.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/node_modules/@formatjs/ecma402-abstract/types/displaynames.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/src/core.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/src/data/currency-digits.json","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/src/data/numbering-systems.json","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/src/get_internal_slots.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/src/to_locale_string.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/locale-data/en.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-numberformat/locale-data/es.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/should-polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/emitter.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/canonicalizer.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/aliases.generated.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/parser.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/likelySubtags.generated.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-getcanonicallocales/src/types.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-locale/polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-locale/should-polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-locale/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-locale/get_internal_slots.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/CanonicalizeLocaleList.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/CanonicalizeTimeZoneName.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/CoerceOptionsToObject.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/262.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/GetNumberOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/DefaultNumberOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/GetOption.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/GetOptionsObject.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/IsValidTimeZoneName.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/IsWellFormedCurrencyCode.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/IsWellFormedUnitIdentifier.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponent.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/utils.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/ComputeExponentForMagnitude.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToString.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawPrecision.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/ToRawFixed.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/CurrencyDigits.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/FormatNumericToParts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/PartitionNumberPattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/format_to_parts.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/regex.generated.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/digit-mapping.generated.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/InitializeNumberFormat.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/ResolveLocale.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/LookupMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/utils.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/BestAvailableLocale.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/BestFitMatcher.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/UnicodeExtensionValue.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/CanonicalizeLocaleList.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-localematcher/abstract/LookupSupportedLocales.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatUnitOptions.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/NumberFormat/SetNumberFormatDigitOptions.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/PartitionPattern.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/SupportedLocales.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/data.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/relative-time.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/date-time.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/list.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/plural-rules.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/number.js","/Users/mariuszstanisz/App/node_modules/@formatjs/ecma402-abstract/types/displaynames.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/should-polyfill.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/supported-locales.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/index.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/get_internal_slots.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/abstract/InitializePluralRules.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/abstract/ResolvePlural.js","/Users/mariuszstanisz/App/node_modules/@formatjs/intl-pluralrules/abstract/GetOperands.js"],"sourcesContent":["var __BUNDLE_START_TIME__=this.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=this.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||\"production\";","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * @format\n * @oncall react_native\n * @polyfill\n */\n\n\"use strict\";\n\n/* eslint-disable no-bitwise */\n// A simpler $ArrayLike. Not iterable and doesn't have a `length`.\n// This is compatible with actual arrays as well as with objects that look like\n// {0: 'value', 1: '...'}\nglobal.__r = metroRequire;\nglobal[`${__METRO_GLOBAL_PREFIX__}__d`] = define;\nglobal.__c = clear;\nglobal.__registerSegment = registerSegment;\nvar modules = clear();\n\n// Don't use a Symbol here, it would pull in an extra polyfill with all sorts of\n// additional stuff (e.g. Array.from).\nconst EMPTY = {};\nconst CYCLE_DETECTED = {};\nconst { hasOwnProperty } = {};\nif (__DEV__) {\n global.$RefreshReg$ = () => {};\n global.$RefreshSig$ = () => (type) => type;\n}\nfunction clear() {\n modules = Object.create(null);\n\n // We return modules here so that we can assign an initial value to modules\n // when defining it. Otherwise, we would have to do \"let modules = null\",\n // which will force us to add \"nullthrows\" everywhere.\n return modules;\n}\nif (__DEV__) {\n var verboseNamesToModuleIds = Object.create(null);\n var initializingModuleIds = [];\n}\nfunction define(factory, moduleId, dependencyMap) {\n if (modules[moduleId] != null) {\n if (__DEV__) {\n // (We take `inverseDependencies` from `arguments` to avoid an unused\n // named parameter in `define` in production.\n const inverseDependencies = arguments[4];\n\n // If the module has already been defined and the define method has been\n // called with inverseDependencies, we can hot reload it.\n if (inverseDependencies) {\n global.__accept(moduleId, factory, dependencyMap, inverseDependencies);\n }\n }\n\n // prevent repeated calls to `global.nativeRequire` to overwrite modules\n // that are already loaded\n return;\n }\n const mod = {\n dependencyMap,\n factory,\n hasError: false,\n importedAll: EMPTY,\n importedDefault: EMPTY,\n isInitialized: false,\n publicModule: {\n exports: {},\n },\n };\n modules[moduleId] = mod;\n if (__DEV__) {\n // HMR\n mod.hot = createHotReloadingObject();\n\n // DEBUGGABLE MODULES NAMES\n // we take `verboseName` from `arguments` to avoid an unused named parameter\n // in `define` in production.\n const verboseName = arguments[3];\n if (verboseName) {\n mod.verboseName = verboseName;\n verboseNamesToModuleIds[verboseName] = moduleId;\n }\n }\n}\nfunction metroRequire(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n if (moduleId == null) {\n throw new Error(`Unknown named module: \"${verboseName}\"`);\n } else {\n console.warn(\n `Requiring module \"${verboseName}\" by name is only supported for ` +\n \"debugging purposes and will BREAK IN PRODUCTION!\"\n );\n }\n }\n\n //$FlowFixMe: at this point we know that moduleId is a number\n const moduleIdReallyIsNumber = moduleId;\n if (__DEV__) {\n const initializingIndex = initializingModuleIds.indexOf(\n moduleIdReallyIsNumber\n );\n if (initializingIndex !== -1) {\n const cycle = initializingModuleIds\n .slice(initializingIndex)\n .map((id) => (modules[id] ? modules[id].verboseName : \"[unknown]\"));\n if (shouldPrintRequireCycle(cycle)) {\n cycle.push(cycle[0]); // We want to print A -> B -> A:\n console.warn(\n `Require cycle: ${cycle.join(\" -> \")}\\n\\n` +\n \"Require cycles are allowed, but can result in uninitialized values. \" +\n \"Consider refactoring to remove the need for a cycle.\"\n );\n }\n }\n }\n const module = modules[moduleIdReallyIsNumber];\n return module && module.isInitialized\n ? module.publicModule.exports\n : guardedLoadModule(moduleIdReallyIsNumber, module);\n}\n\n// We print require cycles unless they match a pattern in the\n// `requireCycleIgnorePatterns` configuration.\nfunction shouldPrintRequireCycle(modules) {\n const regExps =\n global[__METRO_GLOBAL_PREFIX__ + \"__requireCycleIgnorePatterns\"];\n if (!Array.isArray(regExps)) {\n return true;\n }\n const isIgnored = (module) =>\n module != null && regExps.some((regExp) => regExp.test(module));\n\n // Print the cycle unless any part of it is ignored\n return modules.every((module) => !isIgnored(module));\n}\nfunction metroImportDefault(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n }\n\n //$FlowFixMe: at this point we know that moduleId is a number\n const moduleIdReallyIsNumber = moduleId;\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedDefault !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedDefault;\n }\n const exports = metroRequire(moduleIdReallyIsNumber);\n const importedDefault =\n exports && exports.__esModule ? exports.default : exports;\n\n // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n return (modules[moduleIdReallyIsNumber].importedDefault = importedDefault);\n}\nmetroRequire.importDefault = metroImportDefault;\nfunction metroImportAll(moduleId) {\n if (__DEV__ && typeof moduleId === \"string\") {\n const verboseName = moduleId;\n moduleId = verboseNamesToModuleIds[verboseName];\n }\n\n //$FlowFixMe: at this point we know that moduleId is a number\n const moduleIdReallyIsNumber = moduleId;\n if (\n modules[moduleIdReallyIsNumber] &&\n modules[moduleIdReallyIsNumber].importedAll !== EMPTY\n ) {\n return modules[moduleIdReallyIsNumber].importedAll;\n }\n const exports = metroRequire(moduleIdReallyIsNumber);\n let importedAll;\n if (exports && exports.__esModule) {\n importedAll = exports;\n } else {\n importedAll = {};\n\n // Refrain from using Object.assign, it has to work in ES3 environments.\n if (exports) {\n for (const key in exports) {\n if (hasOwnProperty.call(exports, key)) {\n importedAll[key] = exports[key];\n }\n }\n }\n importedAll.default = exports;\n }\n\n // $FlowFixMe The metroRequire call above will throw if modules[id] is null\n return (modules[moduleIdReallyIsNumber].importedAll = importedAll);\n}\nmetroRequire.importAll = metroImportAll;\n\n// The `require.context()` syntax is never executed in the runtime because it is converted\n// to `require()` in `metro/src/ModuleGraph/worker/collectDependencies.js` after collecting\n// dependencies. If the feature flag is not enabled then the conversion never takes place and this error is thrown (development only).\nmetroRequire.context = function fallbackRequireContext() {\n if (__DEV__) {\n throw new Error(\n \"The experimental Metro feature `require.context` is not enabled in your project.\\nThis can be enabled by setting the `transformer.unstable_allowRequireContext` property to `true` in your Metro configuration.\"\n );\n }\n throw new Error(\n \"The experimental Metro feature `require.context` is not enabled in your project.\"\n );\n};\nlet inGuard = false;\nfunction guardedLoadModule(moduleId, module) {\n if (!inGuard && global.ErrorUtils) {\n inGuard = true;\n let returnValue;\n try {\n returnValue = loadModuleImplementation(moduleId, module);\n } catch (e) {\n // TODO: (moti) T48204692 Type this use of ErrorUtils.\n global.ErrorUtils.reportFatalError(e);\n }\n inGuard = false;\n return returnValue;\n } else {\n return loadModuleImplementation(moduleId, module);\n }\n}\nconst ID_MASK_SHIFT = 16;\nconst LOCAL_ID_MASK = ~0 >>> ID_MASK_SHIFT;\nfunction unpackModuleId(moduleId) {\n const segmentId = moduleId >>> ID_MASK_SHIFT;\n const localId = moduleId & LOCAL_ID_MASK;\n return {\n segmentId,\n localId,\n };\n}\nmetroRequire.unpackModuleId = unpackModuleId;\nfunction packModuleId(value) {\n return (value.segmentId << ID_MASK_SHIFT) + value.localId;\n}\nmetroRequire.packModuleId = packModuleId;\nconst moduleDefinersBySegmentID = [];\nconst definingSegmentByModuleID = new Map();\nfunction registerSegment(segmentId, moduleDefiner, moduleIds) {\n moduleDefinersBySegmentID[segmentId] = moduleDefiner;\n if (__DEV__) {\n if (segmentId === 0 && moduleIds) {\n throw new Error(\n \"registerSegment: Expected moduleIds to be null for main segment\"\n );\n }\n if (segmentId !== 0 && !moduleIds) {\n throw new Error(\n \"registerSegment: Expected moduleIds to be passed for segment #\" +\n segmentId\n );\n }\n }\n if (moduleIds) {\n moduleIds.forEach((moduleId) => {\n if (!modules[moduleId] && !definingSegmentByModuleID.has(moduleId)) {\n definingSegmentByModuleID.set(moduleId, segmentId);\n }\n });\n }\n}\nfunction loadModuleImplementation(moduleId, module) {\n if (!module && moduleDefinersBySegmentID.length > 0) {\n var _definingSegmentByMod;\n const segmentId =\n (_definingSegmentByMod = definingSegmentByModuleID.get(moduleId)) !==\n null && _definingSegmentByMod !== void 0\n ? _definingSegmentByMod\n : 0;\n const definer = moduleDefinersBySegmentID[segmentId];\n if (definer != null) {\n definer(moduleId);\n module = modules[moduleId];\n definingSegmentByModuleID.delete(moduleId);\n }\n }\n const nativeRequire = global.nativeRequire;\n if (!module && nativeRequire) {\n const { segmentId, localId } = unpackModuleId(moduleId);\n nativeRequire(localId, segmentId);\n module = modules[moduleId];\n }\n if (!module) {\n throw unknownModuleError(moduleId);\n }\n if (module.hasError) {\n throw module.error;\n }\n if (__DEV__) {\n var Systrace = requireSystrace();\n var Refresh = requireRefresh();\n }\n\n // We must optimistically mark module as initialized before running the\n // factory to keep any require cycles inside the factory from causing an\n // infinite require loop.\n module.isInitialized = true;\n const { factory, dependencyMap } = module;\n if (__DEV__) {\n initializingModuleIds.push(moduleId);\n }\n try {\n if (__DEV__) {\n // $FlowIgnore: we know that __DEV__ is const and `Systrace` exists\n Systrace.beginEvent(\"JS_require_\" + (module.verboseName || moduleId));\n }\n const moduleObject = module.publicModule;\n if (__DEV__) {\n moduleObject.hot = module.hot;\n var prevRefreshReg = global.$RefreshReg$;\n var prevRefreshSig = global.$RefreshSig$;\n if (Refresh != null) {\n const RefreshRuntime = Refresh;\n global.$RefreshReg$ = (type, id) => {\n RefreshRuntime.register(type, moduleId + \" \" + id);\n };\n global.$RefreshSig$ =\n RefreshRuntime.createSignatureFunctionForTransform;\n }\n }\n moduleObject.id = moduleId;\n\n // keep args in sync with with defineModuleCode in\n // metro/src/Resolver/index.js\n // and metro/src/ModuleGraph/worker.js\n factory(\n global,\n metroRequire,\n metroImportDefault,\n metroImportAll,\n moduleObject,\n moduleObject.exports,\n dependencyMap\n );\n\n // avoid removing factory in DEV mode as it breaks HMR\n if (!__DEV__) {\n // $FlowFixMe: This is only sound because we never access `factory` again\n module.factory = undefined;\n module.dependencyMap = undefined;\n }\n if (__DEV__) {\n // $FlowIgnore: we know that __DEV__ is const and `Systrace` exists\n Systrace.endEvent();\n if (Refresh != null) {\n registerExportsForReactRefresh(Refresh, moduleObject.exports, moduleId);\n }\n }\n return moduleObject.exports;\n } catch (e) {\n module.hasError = true;\n module.error = e;\n module.isInitialized = false;\n module.publicModule.exports = undefined;\n throw e;\n } finally {\n if (__DEV__) {\n if (initializingModuleIds.pop() !== moduleId) {\n throw new Error(\n \"initializingModuleIds is corrupt; something is terribly wrong\"\n );\n }\n global.$RefreshReg$ = prevRefreshReg;\n global.$RefreshSig$ = prevRefreshSig;\n }\n }\n}\nfunction unknownModuleError(id) {\n let message = 'Requiring unknown module \"' + id + '\".';\n if (__DEV__) {\n message +=\n \" If you are sure the module exists, try restarting Metro. \" +\n \"You may also want to run `yarn` or `npm install`.\";\n }\n return Error(message);\n}\nif (__DEV__) {\n // $FlowFixMe[prop-missing]\n metroRequire.Systrace = {\n beginEvent: () => {},\n endEvent: () => {},\n };\n // $FlowFixMe[prop-missing]\n metroRequire.getModules = () => {\n return modules;\n };\n\n // HOT MODULE RELOADING\n var createHotReloadingObject = function () {\n const hot = {\n _acceptCallback: null,\n _disposeCallback: null,\n _didAccept: false,\n accept: (callback) => {\n hot._didAccept = true;\n hot._acceptCallback = callback;\n },\n dispose: (callback) => {\n hot._disposeCallback = callback;\n },\n };\n return hot;\n };\n let reactRefreshTimeout = null;\n const metroHotUpdateModule = function (\n id,\n factory,\n dependencyMap,\n inverseDependencies\n ) {\n const mod = modules[id];\n if (!mod) {\n if (factory) {\n // New modules are going to be handled by the define() method.\n return;\n }\n throw unknownModuleError(id);\n }\n if (!mod.hasError && !mod.isInitialized) {\n // The module hasn't actually been executed yet,\n // so we can always safely replace it.\n mod.factory = factory;\n mod.dependencyMap = dependencyMap;\n return;\n }\n const Refresh = requireRefresh();\n const refreshBoundaryIDs = new Set();\n\n // In this loop, we will traverse the dependency tree upwards from the\n // changed module. Updates \"bubble\" up to the closest accepted parent.\n //\n // If we reach the module root and nothing along the way accepted the update,\n // we know hot reload is going to fail. In that case we return false.\n //\n // The main purpose of this loop is to figure out whether it's safe to apply\n // a hot update. It is only safe when the update was accepted somewhere\n // along the way upwards for each of its parent dependency module chains.\n //\n // We perform a topological sort because we may discover the same\n // module more than once in the list of things to re-execute, and\n // we want to execute modules before modules that depend on them.\n //\n // If we didn't have this check, we'd risk re-evaluating modules that\n // have side effects and lead to confusing and meaningless crashes.\n\n let didBailOut = false;\n let updatedModuleIDs;\n try {\n updatedModuleIDs = topologicalSort(\n [id],\n // Start with the changed module and go upwards\n (pendingID) => {\n const pendingModule = modules[pendingID];\n if (pendingModule == null) {\n // Nothing to do.\n return [];\n }\n const pendingHot = pendingModule.hot;\n if (pendingHot == null) {\n throw new Error(\n \"[Refresh] Expected module.hot to always exist in DEV.\"\n );\n }\n // A module can be accepted manually from within itself.\n let canAccept = pendingHot._didAccept;\n if (!canAccept && Refresh != null) {\n // Or React Refresh may mark it accepted based on exports.\n const isBoundary = isReactRefreshBoundary(\n Refresh,\n pendingModule.publicModule.exports\n );\n if (isBoundary) {\n canAccept = true;\n refreshBoundaryIDs.add(pendingID);\n }\n }\n if (canAccept) {\n // Don't look at parents.\n return [];\n }\n // If we bubble through the roof, there is no way to do a hot update.\n // Bail out altogether. This is the failure case.\n const parentIDs = inverseDependencies[pendingID];\n if (parentIDs.length === 0) {\n // Reload the app because the hot reload can't succeed.\n // This should work both on web and React Native.\n performFullRefresh(\"No root boundary\", {\n source: mod,\n failed: pendingModule,\n });\n didBailOut = true;\n return [];\n }\n // This module can't handle the update but maybe all its parents can?\n // Put them all in the queue to run the same set of checks.\n return parentIDs;\n },\n () => didBailOut // Should we stop?\n ).reverse();\n } catch (e) {\n if (e === CYCLE_DETECTED) {\n performFullRefresh(\"Dependency cycle\", {\n source: mod,\n });\n return;\n }\n throw e;\n }\n if (didBailOut) {\n return;\n }\n\n // If we reached here, it is likely that hot reload will be successful.\n // Run the actual factories.\n const seenModuleIDs = new Set();\n for (let i = 0; i < updatedModuleIDs.length; i++) {\n const updatedID = updatedModuleIDs[i];\n if (seenModuleIDs.has(updatedID)) {\n continue;\n }\n seenModuleIDs.add(updatedID);\n const updatedMod = modules[updatedID];\n if (updatedMod == null) {\n throw new Error(\"[Refresh] Expected to find the updated module.\");\n }\n const prevExports = updatedMod.publicModule.exports;\n const didError = runUpdatedModule(\n updatedID,\n updatedID === id ? factory : undefined,\n updatedID === id ? dependencyMap : undefined\n );\n const nextExports = updatedMod.publicModule.exports;\n if (didError) {\n // The user was shown a redbox about module initialization.\n // There's nothing for us to do here until it's fixed.\n return;\n }\n if (refreshBoundaryIDs.has(updatedID)) {\n // Since we just executed the code for it, it's possible\n // that the new exports make it ineligible for being a boundary.\n const isNoLongerABoundary = !isReactRefreshBoundary(\n Refresh,\n nextExports\n );\n // It can also become ineligible if its exports are incompatible\n // with the previous exports.\n // For example, if you add/remove/change exports, we'll want\n // to re-execute the importing modules, and force those components\n // to re-render. Similarly, if you convert a class component\n // to a function, we want to invalidate the boundary.\n const didInvalidate = shouldInvalidateReactRefreshBoundary(\n Refresh,\n prevExports,\n nextExports\n );\n if (isNoLongerABoundary || didInvalidate) {\n // We'll be conservative. The only case in which we won't do a full\n // reload is if all parent modules are also refresh boundaries.\n // In that case we'll add them to the current queue.\n const parentIDs = inverseDependencies[updatedID];\n if (parentIDs.length === 0) {\n // Looks like we bubbled to the root. Can't recover from that.\n performFullRefresh(\n isNoLongerABoundary\n ? \"No longer a boundary\"\n : \"Invalidated boundary\",\n {\n source: mod,\n failed: updatedMod,\n }\n );\n return;\n }\n // Schedule all parent refresh boundaries to re-run in this loop.\n for (let j = 0; j < parentIDs.length; j++) {\n const parentID = parentIDs[j];\n const parentMod = modules[parentID];\n if (parentMod == null) {\n throw new Error(\"[Refresh] Expected to find parent module.\");\n }\n const canAcceptParent = isReactRefreshBoundary(\n Refresh,\n parentMod.publicModule.exports\n );\n if (canAcceptParent) {\n // All parents will have to re-run too.\n refreshBoundaryIDs.add(parentID);\n updatedModuleIDs.push(parentID);\n } else {\n performFullRefresh(\"Invalidated boundary\", {\n source: mod,\n failed: parentMod,\n });\n return;\n }\n }\n }\n }\n }\n if (Refresh != null) {\n // Debounce a little in case there are multiple updates queued up.\n // This is also useful because __accept may be called multiple times.\n if (reactRefreshTimeout == null) {\n reactRefreshTimeout = setTimeout(() => {\n reactRefreshTimeout = null;\n // Update React components.\n Refresh.performReactRefresh();\n }, 30);\n }\n }\n };\n const topologicalSort = function (roots, getEdges, earlyStop) {\n const result = [];\n const visited = new Set();\n const stack = new Set();\n function traverseDependentNodes(node) {\n if (stack.has(node)) {\n throw CYCLE_DETECTED;\n }\n if (visited.has(node)) {\n return;\n }\n visited.add(node);\n stack.add(node);\n const dependentNodes = getEdges(node);\n if (earlyStop(node)) {\n stack.delete(node);\n return;\n }\n dependentNodes.forEach((dependent) => {\n traverseDependentNodes(dependent);\n });\n stack.delete(node);\n result.push(node);\n }\n roots.forEach((root) => {\n traverseDependentNodes(root);\n });\n return result;\n };\n const runUpdatedModule = function (id, factory, dependencyMap) {\n const mod = modules[id];\n if (mod == null) {\n throw new Error(\"[Refresh] Expected to find the module.\");\n }\n const { hot } = mod;\n if (!hot) {\n throw new Error(\"[Refresh] Expected module.hot to always exist in DEV.\");\n }\n if (hot._disposeCallback) {\n try {\n hot._disposeCallback();\n } catch (error) {\n console.error(\n `Error while calling dispose handler for module ${id}: `,\n error\n );\n }\n }\n if (factory) {\n mod.factory = factory;\n }\n if (dependencyMap) {\n mod.dependencyMap = dependencyMap;\n }\n mod.hasError = false;\n mod.error = undefined;\n mod.importedAll = EMPTY;\n mod.importedDefault = EMPTY;\n mod.isInitialized = false;\n const prevExports = mod.publicModule.exports;\n mod.publicModule.exports = {};\n hot._didAccept = false;\n hot._acceptCallback = null;\n hot._disposeCallback = null;\n metroRequire(id);\n if (mod.hasError) {\n // This error has already been reported via a redbox.\n // We know it's likely a typo or some mistake that was just introduced.\n // Our goal now is to keep the rest of the application working so that by\n // the time user fixes the error, the app isn't completely destroyed\n // underneath the redbox. So we'll revert the module object to the last\n // successful export and stop propagating this update.\n mod.hasError = false;\n mod.isInitialized = true;\n mod.error = null;\n mod.publicModule.exports = prevExports;\n // We errored. Stop the update.\n return true;\n }\n if (hot._acceptCallback) {\n try {\n hot._acceptCallback();\n } catch (error) {\n console.error(\n `Error while calling accept handler for module ${id}: `,\n error\n );\n }\n }\n // No error.\n return false;\n };\n const performFullRefresh = (reason, modules) => {\n /* global window */\n if (\n typeof window !== \"undefined\" &&\n window.location != null &&\n typeof window.location.reload === \"function\"\n ) {\n window.location.reload();\n } else {\n const Refresh = requireRefresh();\n if (Refresh != null) {\n var _modules$source$verbo,\n _modules$source,\n _modules$failed$verbo,\n _modules$failed;\n const sourceName =\n (_modules$source$verbo =\n (_modules$source = modules.source) === null ||\n _modules$source === void 0\n ? void 0\n : _modules$source.verboseName) !== null &&\n _modules$source$verbo !== void 0\n ? _modules$source$verbo\n : \"unknown\";\n const failedName =\n (_modules$failed$verbo =\n (_modules$failed = modules.failed) === null ||\n _modules$failed === void 0\n ? void 0\n : _modules$failed.verboseName) !== null &&\n _modules$failed$verbo !== void 0\n ? _modules$failed$verbo\n : \"unknown\";\n Refresh.performFullRefresh(\n `Fast Refresh - ${reason} <${sourceName}> <${failedName}>`\n );\n } else {\n console.warn(\"Could not reload the application after an edit.\");\n }\n }\n };\n\n // Modules that only export components become React Refresh boundaries.\n var isReactRefreshBoundary = function (Refresh, moduleExports) {\n if (Refresh.isLikelyComponentType(moduleExports)) {\n return true;\n }\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n return false;\n }\n let hasExports = false;\n let areAllExportsComponents = true;\n for (const key in moduleExports) {\n hasExports = true;\n if (key === \"__esModule\") {\n continue;\n }\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n return false;\n }\n const exportValue = moduleExports[key];\n if (!Refresh.isLikelyComponentType(exportValue)) {\n areAllExportsComponents = false;\n }\n }\n return hasExports && areAllExportsComponents;\n };\n var shouldInvalidateReactRefreshBoundary = (\n Refresh,\n prevExports,\n nextExports\n ) => {\n const prevSignature = getRefreshBoundarySignature(Refresh, prevExports);\n const nextSignature = getRefreshBoundarySignature(Refresh, nextExports);\n if (prevSignature.length !== nextSignature.length) {\n return true;\n }\n for (let i = 0; i < nextSignature.length; i++) {\n if (prevSignature[i] !== nextSignature[i]) {\n return true;\n }\n }\n return false;\n };\n\n // When this signature changes, it's unsafe to stop at this refresh boundary.\n var getRefreshBoundarySignature = (Refresh, moduleExports) => {\n const signature = [];\n signature.push(Refresh.getFamilyByType(moduleExports));\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return signature;\n }\n for (const key in moduleExports) {\n if (key === \"__esModule\") {\n continue;\n }\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n if (desc && desc.get) {\n continue;\n }\n const exportValue = moduleExports[key];\n signature.push(key);\n signature.push(Refresh.getFamilyByType(exportValue));\n }\n return signature;\n };\n var registerExportsForReactRefresh = (Refresh, moduleExports, moduleID) => {\n Refresh.register(moduleExports, moduleID + \" %exports%\");\n if (moduleExports == null || typeof moduleExports !== \"object\") {\n // Exit if we can't iterate over exports.\n // (This is important for legacy environments.)\n return;\n }\n for (const key in moduleExports) {\n const desc = Object.getOwnPropertyDescriptor(moduleExports, key);\n if (desc && desc.get) {\n // Don't invoke getters as they may have side effects.\n continue;\n }\n const exportValue = moduleExports[key];\n const typeID = moduleID + \" %exports% \" + key;\n Refresh.register(exportValue, typeID);\n }\n };\n global.__accept = metroHotUpdateModule;\n}\nif (__DEV__) {\n // The metro require polyfill can not have module dependencies.\n // The Systrace and ReactRefresh dependencies are, therefore, made publicly\n // available. Ideally, the dependency would be inversed in a way that\n // Systrace / ReactRefresh could integrate into Metro rather than\n // having to make them publicly available.\n\n var requireSystrace = function requireSystrace() {\n return (\n // $FlowFixMe[prop-missing]\n global[__METRO_GLOBAL_PREFIX__ + \"__SYSTRACE\"] || metroRequire.Systrace\n );\n };\n var requireRefresh = function requireRefresh() {\n return (\n // $FlowFixMe[prop-missing]\n global[__METRO_GLOBAL_PREFIX__ + \"__ReactRefresh\"] || metroRequire.Refresh\n );\n };\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @polyfill\n * @nolint\n * @format\n */\n\n/* eslint-disable no-shadow, eqeqeq, curly, no-unused-vars, no-void, no-control-regex */\n\n/**\n * This pipes all of our console logging functions to native logging so that\n * JavaScript errors in required modules show up in Xcode via NSLog.\n */\nconst inspect = (function() {\n // Copyright Joyent, Inc. and other Node contributors.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a\n // copy of this software and associated documentation files (the\n // \"Software\"), to deal in the Software without restriction, including\n // without limitation the rights to use, copy, modify, merge, publish,\n // distribute, sublicense, and/or sell copies of the Software, and to permit\n // persons to whom the Software is furnished to do so, subject to the\n // following conditions:\n //\n // The above copyright notice and this permission notice shall be included\n // in all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n // USE OR OTHER DEALINGS IN THE SOFTWARE.\n //\n // https://github.com/joyent/node/blob/master/lib/util.js\n\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n formatValueCalls: 0,\n stylize: stylizeNoColor,\n };\n return formatValue(ctx, obj, opts.depth);\n }\n\n function stylizeNoColor(str, styleType) {\n return str;\n }\n\n function arrayToHash(array) {\n var hash = {};\n\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n\n return hash;\n }\n\n function formatValue(ctx, value, recurseTimes) {\n ctx.formatValueCalls++;\n if (ctx.formatValueCalls > 200) {\n return `[TOO BIG formatValueCalls ${ctx.formatValueCalls} exceeded limit of 200]`;\n }\n\n // Primitive types cannot have properties\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n\n // Look up the keys of the object.\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n\n // IE doesn't make error fields non-enumerable\n // http://msdn.microsoft.com/en-us/library/ie/dww52sbt(v=vs.94).aspx\n if (\n isError(value) &&\n (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)\n ) {\n return formatError(value);\n }\n\n // Some type of object without properties can be shortcutted.\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n\n var base = '',\n array = false,\n braces = ['{', '}'];\n\n // Make Array say that they are Array\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n\n // Make functions say that they are functions\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n\n // Make RegExps say that they are RegExps\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n\n // Make dates with properties first say the date\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n\n // Make error with message first say the error\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n\n ctx.seen.push(value);\n\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n key,\n array,\n );\n });\n }\n\n ctx.seen.pop();\n\n return reduceToSingleString(output, base, braces);\n }\n\n function formatPrimitive(ctx, value) {\n if (isUndefined(value)) return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple =\n \"'\" +\n JSON.stringify(value)\n .replace(/^\"|\"$/g, '')\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"') +\n \"'\";\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value)) return ctx.stylize('' + value, 'number');\n if (isBoolean(value)) return ctx.stylize('' + value, 'boolean');\n // For some reason typeof null is \"object\", so special case here.\n if (isNull(value)) return ctx.stylize('null', 'null');\n }\n\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0, l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(\n formatProperty(\n ctx,\n value,\n recurseTimes,\n visibleKeys,\n String(i),\n true,\n ),\n );\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(\n formatProperty(ctx, value, recurseTimes, visibleKeys, key, true),\n );\n }\n });\n return output;\n }\n\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name, str, desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n')\n .substr(2);\n } else {\n str =\n '\\n' +\n str\n .split('\\n')\n .map(function(line) {\n return ' ' + line;\n })\n .join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n\n return name + ': ' + str;\n }\n\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0) numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n\n if (length > 60) {\n return (\n braces[0] +\n (base === '' ? '' : base + '\\n ') +\n ' ' +\n output.join(',\\n ') +\n ' ' +\n braces[1]\n );\n }\n\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n\n // NOTE: These type checking functions intentionally don't use `instanceof`\n // because it is fragile and can be easily faked with `Object.create()`.\n function isArray(ar) {\n return Array.isArray(ar);\n }\n\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n\n function isNull(arg) {\n return arg === null;\n }\n\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n\n function isString(arg) {\n return typeof arg === 'string';\n }\n\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n\n function isUndefined(arg) {\n return arg === void 0;\n }\n\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n\n function isError(e) {\n return (\n isObject(e) &&\n (objectToString(e) === '[object Error]' || e instanceof Error)\n );\n }\n\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n\n return inspect;\n})();\n\nconst OBJECT_COLUMN_NAME = '(index)';\nconst LOG_LEVELS = {\n trace: 0,\n info: 1,\n warn: 2,\n error: 3,\n};\nconst INSPECTOR_LEVELS = [];\nINSPECTOR_LEVELS[LOG_LEVELS.trace] = 'debug';\nINSPECTOR_LEVELS[LOG_LEVELS.info] = 'log';\nINSPECTOR_LEVELS[LOG_LEVELS.warn] = 'warning';\nINSPECTOR_LEVELS[LOG_LEVELS.error] = 'error';\n\n// Strip the inner function in getNativeLogFunction(), if in dev also\n// strip method printing to originalConsole.\nconst INSPECTOR_FRAMES_TO_SKIP = __DEV__ ? 2 : 1;\n\nfunction getNativeLogFunction(level) {\n return function() {\n let str;\n if (arguments.length === 1 && typeof arguments[0] === 'string') {\n str = arguments[0];\n } else {\n str = Array.prototype.map\n .call(arguments, function(arg) {\n return inspect(arg, {depth: 10});\n })\n .join(', ');\n }\n\n // TRICKY\n // If more than one argument is provided, the code above collapses them all\n // into a single formatted string. This transform wraps string arguments in\n // single quotes (e.g. \"foo\" -> \"'foo'\") which then breaks the \"Warning:\"\n // check below. So it's important that we look at the first argument, rather\n // than the formatted argument string.\n const firstArg = arguments[0];\n\n let logLevel = level;\n if (\n typeof firstArg === 'string' &&\n firstArg.slice(0, 9) === 'Warning: ' &&\n logLevel >= LOG_LEVELS.error\n ) {\n // React warnings use console.error so that a stack trace is shown,\n // but we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in ExceptionsManager.js.)\n logLevel = LOG_LEVELS.warn;\n }\n if (global.__inspectorLog) {\n global.__inspectorLog(\n INSPECTOR_LEVELS[logLevel],\n str,\n [].slice.call(arguments),\n INSPECTOR_FRAMES_TO_SKIP,\n );\n }\n if (groupStack.length) {\n str = groupFormat('', str);\n }\n global.nativeLoggingHook(str, logLevel);\n };\n}\n\nfunction repeat(element, n) {\n return Array.apply(null, Array(n)).map(function() {\n return element;\n });\n}\n\nfunction consoleTablePolyfill(rows) {\n // convert object -> array\n if (!Array.isArray(rows)) {\n var data = rows;\n rows = [];\n for (var key in data) {\n if (data.hasOwnProperty(key)) {\n var row = data[key];\n row[OBJECT_COLUMN_NAME] = key;\n rows.push(row);\n }\n }\n }\n if (rows.length === 0) {\n global.nativeLoggingHook('', LOG_LEVELS.info);\n return;\n }\n\n var columns = Object.keys(rows[0]).sort();\n var stringRows = [];\n var columnWidths = [];\n\n // Convert each cell to a string. Also\n // figure out max cell width for each column\n columns.forEach(function(k, i) {\n columnWidths[i] = k.length;\n for (var j = 0; j < rows.length; j++) {\n var cellStr = (rows[j][k] || '?').toString();\n stringRows[j] = stringRows[j] || [];\n stringRows[j][i] = cellStr;\n columnWidths[i] = Math.max(columnWidths[i], cellStr.length);\n }\n });\n\n // Join all elements in the row into a single string with | separators\n // (appends extra spaces to each cell to make separators | aligned)\n function joinRow(row, space) {\n var cells = row.map(function(cell, i) {\n var extraSpaces = repeat(' ', columnWidths[i] - cell.length).join('');\n return cell + extraSpaces;\n });\n space = space || ' ';\n return cells.join(space + '|' + space);\n }\n\n var separators = columnWidths.map(function(columnWidth) {\n return repeat('-', columnWidth).join('');\n });\n var separatorRow = joinRow(separators, '-');\n var header = joinRow(columns);\n var table = [header, separatorRow];\n\n for (var i = 0; i < rows.length; i++) {\n table.push(joinRow(stringRows[i]));\n }\n\n // Notice extra empty line at the beginning.\n // Native logging hook adds \"RCTLog >\" at the front of every\n // logged string, which would shift the header and screw up\n // the table\n global.nativeLoggingHook('\\n' + table.join('\\n'), LOG_LEVELS.info);\n}\n\nconst GROUP_PAD = '\\u2502'; // Box light vertical\nconst GROUP_OPEN = '\\u2510'; // Box light down+left\nconst GROUP_CLOSE = '\\u2518'; // Box light up+left\n\nconst groupStack = [];\n\nfunction groupFormat(prefix, msg) {\n // Insert group formatting before the console message\n return groupStack.join('') + prefix + ' ' + (msg || '');\n}\n\nfunction consoleGroupPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_OPEN, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupCollapsedPolyfill(label) {\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE, label), LOG_LEVELS.info);\n groupStack.push(GROUP_PAD);\n}\n\nfunction consoleGroupEndPolyfill() {\n groupStack.pop();\n global.nativeLoggingHook(groupFormat(GROUP_CLOSE), LOG_LEVELS.info);\n}\n\nfunction consoleAssertPolyfill(expression, label) {\n if (!expression) {\n global.nativeLoggingHook('Assertion failed: ' + label, LOG_LEVELS.error);\n }\n}\n\nif (global.nativeLoggingHook) {\n const originalConsole = global.console;\n // Preserve the original `console` as `originalConsole`\n if (__DEV__ && originalConsole) {\n const descriptor = Object.getOwnPropertyDescriptor(global, 'console');\n if (descriptor) {\n Object.defineProperty(global, 'originalConsole', descriptor);\n }\n }\n\n global.console = {\n error: getNativeLogFunction(LOG_LEVELS.error),\n info: getNativeLogFunction(LOG_LEVELS.info),\n log: getNativeLogFunction(LOG_LEVELS.info),\n warn: getNativeLogFunction(LOG_LEVELS.warn),\n trace: getNativeLogFunction(LOG_LEVELS.trace),\n debug: getNativeLogFunction(LOG_LEVELS.trace),\n table: consoleTablePolyfill,\n group: consoleGroupPolyfill,\n groupEnd: consoleGroupEndPolyfill,\n groupCollapsed: consoleGroupCollapsedPolyfill,\n assert: consoleAssertPolyfill,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n\n // If available, also call the original `console` method since that is\n // sometimes useful. Ex: on OS X, this will let you see rich output in\n // the Safari Web Inspector console.\n if (__DEV__ && originalConsole) {\n Object.keys(console).forEach(methodName => {\n const reactNativeMethod = console[methodName];\n if (originalConsole[methodName]) {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n reactNativeMethod.apply(console, arguments);\n };\n }\n });\n\n // The following methods are not supported by this polyfill but\n // we still should pass them to original console if they are\n // supported by it.\n ['clear', 'dir', 'dirxml', 'profile', 'profileEnd'].forEach(methodName => {\n if (typeof originalConsole[methodName] === 'function') {\n console[methodName] = function() {\n originalConsole[methodName](...arguments);\n };\n }\n });\n }\n} else if (!global.console) {\n function stub() {}\n const log = global.print || stub;\n\n global.console = {\n debug: log,\n error: log,\n info: log,\n log: log,\n trace: log,\n warn: log,\n assert(expression, label) {\n if (!expression) {\n log('Assertion failed: ' + label);\n }\n },\n clear: stub,\n dir: stub,\n dirxml: stub,\n group: stub,\n groupCollapsed: stub,\n groupEnd: stub,\n profile: stub,\n profileEnd: stub,\n table: stub,\n };\n\n Object.defineProperty(console, '_isPolyfilled', {\n value: true,\n enumerable: false,\n });\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @polyfill\n */\n\nlet _inGuard = 0;\n\ntype ErrorHandler = (error: mixed, isFatal: boolean) => void;\ntype Fn = (...Args) => Return;\n\n/**\n * This is the error handler that is called when we encounter an exception\n * when loading a module. This will report any errors encountered before\n * ExceptionsManager is configured.\n */\nlet _globalHandler: ErrorHandler = function onError(\n e: mixed,\n isFatal: boolean,\n) {\n throw e;\n};\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n */\nconst ErrorUtils = {\n setGlobalHandler(fun: ErrorHandler): void {\n _globalHandler = fun;\n },\n getGlobalHandler(): ErrorHandler {\n return _globalHandler;\n },\n reportError(error: mixed): void {\n _globalHandler && _globalHandler(error, false);\n },\n reportFatalError(error: mixed): void {\n // NOTE: This has an untyped call site in Metro.\n _globalHandler && _globalHandler(error, true);\n },\n applyWithGuard, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n // Unused, but some code synced from www sets it to null.\n unused_onError?: null,\n // Some callers pass a name here, which we ignore.\n unused_name?: ?string,\n ): ?TOut {\n try {\n _inGuard++;\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } catch (e) {\n ErrorUtils.reportError(e);\n } finally {\n _inGuard--;\n }\n return null;\n },\n applyWithGuardIfNeeded, TOut>(\n fun: Fn,\n context?: ?mixed,\n args?: ?TArgs,\n ): ?TOut {\n if (ErrorUtils.inGuard()) {\n /* $FlowFixMe[incompatible-call] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n /* $FlowFixMe[incompatible-type] : TODO T48204745 (1) apply(context,\n * null) is fine. (2) array -> rest array should work */\n return fun.apply(context, args);\n } else {\n ErrorUtils.applyWithGuard(fun, context, args);\n }\n return null;\n },\n inGuard(): boolean {\n return !!_inGuard;\n },\n guard, TOut>(\n fun: Fn,\n name?: ?string,\n context?: ?mixed,\n ): ?(...TArgs) => ?TOut {\n // TODO: (moti) T48204753 Make sure this warning is never hit and remove it - types\n // should be sufficient.\n if (typeof fun !== 'function') {\n console.warn('A function must be passed to ErrorUtils.guard, got ', fun);\n return null;\n }\n const guardName = name ?? fun.name ?? '';\n function guarded(...args: TArgs): ?TOut {\n return ErrorUtils.applyWithGuard(\n fun,\n context ?? this,\n args,\n null,\n guardName,\n );\n }\n\n return guarded;\n },\n};\n\nglobal.ErrorUtils = ErrorUtils;\n\nexport type ErrorUtilsT = typeof ErrorUtils;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @polyfill\n * @nolint\n */\n\n(function() {\n 'use strict';\n\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries\n */\n if (typeof Object.entries !== 'function') {\n Object.entries = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.entries called on non-object');\n }\n\n const entries = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n entries.push([key, object[key]]);\n }\n }\n return entries;\n };\n }\n\n /**\n * Returns an array of the given object's own enumerable entries.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values\n */\n if (typeof Object.values !== 'function') {\n Object.values = function(object) {\n // `null` and `undefined` values are not allowed.\n if (object == null) {\n throw new TypeError('Object.values called on non-object');\n }\n\n const values = [];\n for (const key in object) {\n if (hasOwnProperty.call(object, key)) {\n values.push(object[key]);\n }\n }\n return values;\n };\n }\n})();\n","/**\n * @format\n */\n\nimport 'react-native-gesture-handler';\nimport {AppRegistry} from 'react-native';\nimport App from './src/App';\nimport Config from './src/CONFIG';\nimport additionalAppSetup from './src/setup';\n\nAppRegistry.registerComponent(Config.APP_NAME, () => App);\nadditionalAppSetup();\n","import { initialize } from './init';\n\nexport { Directions } from './Directions';\nexport { State } from './State';\nexport { default as gestureHandlerRootHOC } from './gestureHandlerRootHOC';\nexport { default as GestureHandlerRootView } from './GestureHandlerRootView';\nexport type {\n // event types\n GestureEvent,\n HandlerStateChangeEvent,\n // event payloads types\n GestureEventPayload,\n HandlerStateChangeEventPayload,\n // pointer events\n GestureTouchEvent,\n TouchData,\n // new api event types\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from './handlers/gestureHandlerCommon';\nexport type { GestureType } from './handlers/gestures/gesture';\nexport type {\n TapGestureHandlerEventPayload,\n TapGestureHandlerProps,\n} from './handlers/TapGestureHandler';\nexport type {\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureHandlerProps,\n} from './handlers/ForceTouchGestureHandler';\nexport type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';\nexport type {\n LongPressGestureHandlerEventPayload,\n LongPressGestureHandlerProps,\n} from './handlers/LongPressGestureHandler';\nexport type {\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from './handlers/PanGestureHandler';\nexport type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';\nexport type {\n PinchGestureHandlerEventPayload,\n PinchGestureHandlerProps,\n} from './handlers/PinchGestureHandler';\nexport type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';\nexport type {\n RotationGestureHandlerEventPayload,\n RotationGestureHandlerProps,\n} from './handlers/RotationGestureHandler';\nexport type {\n FlingGestureHandlerEventPayload,\n FlingGestureHandlerProps,\n} from './handlers/FlingGestureHandler';\nexport { TapGestureHandler } from './handlers/TapGestureHandler';\nexport { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';\nexport { LongPressGestureHandler } from './handlers/LongPressGestureHandler';\nexport { PanGestureHandler } from './handlers/PanGestureHandler';\nexport { PinchGestureHandler } from './handlers/PinchGestureHandler';\nexport { RotationGestureHandler } from './handlers/RotationGestureHandler';\nexport { FlingGestureHandler } from './handlers/FlingGestureHandler';\nexport { default as createNativeWrapper } from './handlers/createNativeWrapper';\nexport type {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from './handlers/NativeViewGestureHandler';\nexport { GestureDetector } from './handlers/gestures/GestureDetector';\nexport { GestureObjects as Gesture } from './handlers/gestures/gestureObjects';\nexport type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';\nexport type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';\nexport type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';\nexport type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';\nexport type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';\nexport type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';\nexport type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';\nexport type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';\nexport type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';\nexport type {\n ComposedGestureType as ComposedGesture,\n RaceGestureType as RaceGesture,\n SimultaneousGestureType as SimultaneousGesture,\n ExclusiveGestureType as ExclusiveGesture,\n} from './handlers/gestures/gestureComposition';\nexport type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';\nexport { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';\nexport type {\n RawButtonProps,\n BaseButtonProps,\n RectButtonProps,\n BorderlessButtonProps,\n} from './components/GestureButtons';\nexport {\n RawButton,\n BaseButton,\n RectButton,\n BorderlessButton,\n} from './components/GestureButtons';\nexport {\n TouchableHighlight,\n TouchableNativeFeedback,\n TouchableOpacity,\n TouchableWithoutFeedback,\n} from './components/touchables';\nexport {\n ScrollView,\n Switch,\n TextInput,\n DrawerLayoutAndroid,\n FlatList,\n RefreshControl,\n} from './components/GestureComponents';\nexport type {\n //events\n GestureHandlerGestureEvent,\n GestureHandlerStateChangeEvent,\n //event payloads\n GestureHandlerGestureEventNativeEvent,\n GestureHandlerStateChangeNativeEvent,\n NativeViewGestureHandlerGestureEvent,\n NativeViewGestureHandlerStateChangeEvent,\n TapGestureHandlerGestureEvent,\n TapGestureHandlerStateChangeEvent,\n ForceTouchGestureHandlerGestureEvent,\n ForceTouchGestureHandlerStateChangeEvent,\n LongPressGestureHandlerGestureEvent,\n LongPressGestureHandlerStateChangeEvent,\n PanGestureHandlerGestureEvent,\n PanGestureHandlerStateChangeEvent,\n PinchGestureHandlerGestureEvent,\n PinchGestureHandlerStateChangeEvent,\n RotationGestureHandlerGestureEvent,\n RotationGestureHandlerStateChangeEvent,\n FlingGestureHandlerGestureEvent,\n FlingGestureHandlerStateChangeEvent,\n // handlers props\n NativeViewGestureHandlerProperties,\n TapGestureHandlerProperties,\n LongPressGestureHandlerProperties,\n PanGestureHandlerProperties,\n PinchGestureHandlerProperties,\n RotationGestureHandlerProperties,\n FlingGestureHandlerProperties,\n ForceTouchGestureHandlerProperties,\n // buttons props\n RawButtonProperties,\n BaseButtonProperties,\n RectButtonProperties,\n BorderlessButtonProperties,\n} from './handlers/gestureHandlerTypesCompat';\n\nexport { default as Swipeable } from './components/Swipeable';\nexport type {\n DrawerLayoutProps,\n DrawerPosition,\n DrawerState,\n DrawerType,\n DrawerLockMode,\n DrawerKeyboardDismissMode,\n} from './components/DrawerLayout';\nexport { default as DrawerLayout } from './components/DrawerLayout';\n\nexport { enableExperimentalWebImplementation } from './EnableExperimentalWebImplementation';\n\ninitialize();\n","import * as React from 'react';\nimport {\n Animated,\n Platform,\n processColor,\n StyleSheet,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nimport createNativeWrapper from '../handlers/createNativeWrapper';\nimport GestureHandlerButton from './GestureHandlerButton';\nimport { State } from '../State';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../handlers/gestureHandlerCommon';\nimport {\n NativeViewGestureHandlerPayload,\n NativeViewGestureHandlerProps,\n} from '../handlers/NativeViewGestureHandler';\n\nexport interface RawButtonProps extends NativeViewGestureHandlerProps {\n /**\n * Defines if more than one button could be pressed simultaneously. By default\n * set true.\n */\n exclusive?: boolean;\n // TODO: we should transform props in `createNativeWrapper`\n\n /**\n * Android only.\n *\n * Defines color of native ripple animation used since API level 21.\n */\n rippleColor?: any; // it was present in BaseButtonProps before but is used here in code\n\n /**\n * Android only.\n *\n * Defines radius of native ripple animation used since API level 21.\n */\n rippleRadius?: number | null;\n\n /**\n * Android only.\n *\n * Set this to true if you want the ripple animation to render outside the view bounds.\n */\n borderless?: boolean;\n\n /**\n * Android only.\n *\n * Defines whether the ripple animation should be drawn on the foreground of the view.\n */\n foreground?: boolean;\n\n /**\n * Android only.\n *\n * Set this to true if you don't want the system to play sound when the button is pressed.\n */\n touchSoundDisabled?: boolean;\n}\n\nexport interface BaseButtonProps extends RawButtonProps {\n /**\n * Called when the button gets pressed (analogous to `onPress` in\n * `TouchableHighlight` from RN core).\n */\n onPress?: (pointerInside: boolean) => void;\n\n /**\n * Called when the button gets pressed and is held for `delayLongPress`\n * milliseconds.\n */\n onLongPress?: () => void;\n\n /**\n * Called when button changes from inactive to active and vice versa. It\n * passes active state as a boolean variable as a first parameter for that\n * method.\n */\n onActiveStateChange?: (active: boolean) => void;\n style?: StyleProp;\n testID?: string;\n\n /**\n * Delay, in milliseconds, after which the `onLongPress` callback gets called.\n * Defaults to 600.\n */\n delayLongPress?: number;\n}\n\nexport interface RectButtonProps extends BaseButtonProps {\n /**\n * Background color that will be dimmed when button is in active state.\n */\n underlayColor?: string;\n\n /**\n * iOS only.\n *\n * Opacity applied to the underlay when button is in active state.\n */\n activeOpacity?: number;\n}\n\nexport interface BorderlessButtonProps extends BaseButtonProps {\n /**\n * iOS only.\n *\n * Opacity applied to the button when it is in an active state.\n */\n activeOpacity?: number;\n}\n\nexport const RawButton = createNativeWrapper(GestureHandlerButton, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: false,\n});\n\nexport class BaseButton extends React.Component {\n static defaultProps = {\n delayLongPress: 600,\n };\n\n private lastActive: boolean;\n private longPressTimeout: ReturnType | undefined;\n private longPressDetected: boolean;\n\n constructor(props: BaseButtonProps) {\n super(props);\n this.lastActive = false;\n this.longPressDetected = false;\n }\n\n private handleEvent = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { state, oldState, pointerInside } = nativeEvent;\n const active = pointerInside && state === State.ACTIVE;\n\n if (active !== this.lastActive && this.props.onActiveStateChange) {\n this.props.onActiveStateChange(active);\n }\n\n if (\n !this.longPressDetected &&\n oldState === State.ACTIVE &&\n state !== State.CANCELLED &&\n this.lastActive &&\n this.props.onPress\n ) {\n this.props.onPress(active);\n }\n\n if (\n !this.lastActive &&\n // NativeViewGestureHandler sends different events based on platform\n state === (Platform.OS !== 'android' ? State.ACTIVE : State.BEGAN) &&\n pointerInside\n ) {\n this.longPressDetected = false;\n if (this.props.onLongPress) {\n this.longPressTimeout = setTimeout(\n this.onLongPress,\n this.props.delayLongPress\n );\n }\n } else if (\n // cancel longpress timeout if it's set and the finger moved out of the view\n state === State.ACTIVE &&\n !pointerInside &&\n this.longPressTimeout !== undefined\n ) {\n clearTimeout(this.longPressTimeout);\n this.longPressTimeout = undefined;\n } else if (\n // cancel longpress timeout if it's set and the gesture has finished\n this.longPressTimeout !== undefined &&\n (state === State.END ||\n state === State.CANCELLED ||\n state === State.FAILED)\n ) {\n clearTimeout(this.longPressTimeout);\n this.longPressTimeout = undefined;\n }\n\n this.lastActive = active;\n };\n\n private onLongPress = () => {\n this.longPressDetected = true;\n this.props.onLongPress?.();\n };\n\n // Normally, the parent would execute it's handler first, then forward the\n // event to listeners. However, here our handler is virtually only forwarding\n // events to listeners, so we reverse the order to keep the proper order of\n // the callbacks (from \"raw\" ones to \"processed\").\n private onHandlerStateChange = (\n e: HandlerStateChangeEvent\n ) => {\n this.props.onHandlerStateChange?.(e);\n this.handleEvent(e);\n };\n\n private onGestureEvent = (\n e: GestureEvent\n ) => {\n this.props.onGestureEvent?.(e);\n this.handleEvent(\n e as HandlerStateChangeEvent\n ); // TODO: maybe it is not correct\n };\n\n render() {\n const { rippleColor, ...rest } = this.props;\n\n return (\n \n );\n }\n}\n\nconst AnimatedBaseButton = Animated.createAnimatedComponent(BaseButton);\n\nconst btnStyles = StyleSheet.create({\n underlay: {\n position: 'absolute',\n left: 0,\n right: 0,\n bottom: 0,\n top: 0,\n },\n});\n\nexport class RectButton extends React.Component {\n static defaultProps = {\n activeOpacity: 0.105,\n underlayColor: 'black',\n };\n\n private opacity: Animated.Value;\n\n constructor(props: RectButtonProps) {\n super(props);\n this.opacity = new Animated.Value(0);\n }\n\n private onActiveStateChange = (active: boolean) => {\n if (Platform.OS !== 'android') {\n this.opacity.setValue(active ? this.props.activeOpacity! : 0);\n }\n\n this.props.onActiveStateChange?.(active);\n };\n\n render() {\n const { children, style, ...rest } = this.props;\n\n const resolvedStyle = StyleSheet.flatten(style ?? {});\n\n return (\n \n \n {children}\n \n );\n }\n}\n\nexport class BorderlessButton extends React.Component {\n static defaultProps = {\n activeOpacity: 0.3,\n borderless: true,\n };\n\n private opacity: Animated.Value;\n\n constructor(props: BorderlessButtonProps) {\n super(props);\n this.opacity = new Animated.Value(1);\n }\n\n private onActiveStateChange = (active: boolean) => {\n if (Platform.OS !== 'android') {\n this.opacity.setValue(active ? this.props.activeOpacity! : 1);\n }\n\n this.props.onActiveStateChange?.(active);\n };\n\n render() {\n const { children, style, ...rest } = this.props;\n\n return (\n \n {children}\n \n );\n }\n}\n\nexport { default as PureNativeButton } from './GestureHandlerButton';\n","function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n \"default\": obj\n };\n}\n\nmodule.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nmodule.exports = _createClass, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var _typeof = require(\"./typeof.js\")[\"default\"];\n\nvar assertThisInitialized = require(\"./assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return (module.exports = _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}\n","/**\n * @license React\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var l=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),p=Symbol.for(\"react.fragment\"),q=Symbol.for(\"react.strict_mode\"),r=Symbol.for(\"react.profiler\"),t=Symbol.for(\"react.provider\"),u=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),w=Symbol.for(\"react.suspense\"),x=Symbol.for(\"react.memo\"),y=Symbol.for(\"react.lazy\"),z=Symbol.iterator;function A(a){if(null===a||\"object\"!==typeof a)return null;a=z&&a[z]||a[\"@@iterator\"];return\"function\"===typeof a?a:null}\nvar B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,D={};function E(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}E.prototype.isReactComponent={};\nE.prototype.setState=function(a,b){if(\"object\"!==typeof a&&\"function\"!==typeof a&&null!=a)throw Error(\"setState(...): takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,a,b,\"setState\")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,\"forceUpdate\")};function F(){}F.prototype=E.prototype;function G(a,b,e){this.props=a;this.context=b;this.refs=D;this.updater=e||B}var H=G.prototype=new F;\nH.constructor=G;C(H,E.prototype);H.isPureReactComponent=!0;var I=Array.isArray,J=Object.prototype.hasOwnProperty,K={current:null},L={key:!0,ref:!0,__self:!0,__source:!0};\nfunction M(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=\"\"+b.key),b)J.call(b,d)&&!L.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1 = _HostComponentInternal;\n\nconst invariant = require('invariant');\nconst warnOnce = require('./Libraries/Utilities/warnOnce');\n\nmodule.exports = {\n // Components\n get AccessibilityInfo(): AccessibilityInfo {\n return require('./Libraries/Components/AccessibilityInfo/AccessibilityInfo')\n .default;\n },\n get ActivityIndicator(): ActivityIndicator {\n return require('./Libraries/Components/ActivityIndicator/ActivityIndicator');\n },\n get Button(): Button {\n return require('./Libraries/Components/Button');\n },\n // $FlowFixMe[value-as-type]\n get DatePickerIOS(): DatePickerIOS {\n warnOnce(\n 'DatePickerIOS-merged',\n 'DatePickerIOS has been merged with DatePickerAndroid and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n return require('./Libraries/Components/DatePicker/DatePickerIOS');\n },\n // $FlowFixMe[value-as-type]\n get DrawerLayoutAndroid(): DrawerLayoutAndroid {\n return require('./Libraries/Components/DrawerAndroid/DrawerLayoutAndroid');\n },\n get FlatList(): FlatList {\n return require('./Libraries/Lists/FlatList');\n },\n get Image(): Image {\n return require('./Libraries/Image/Image');\n },\n get ImageBackground(): ImageBackground {\n return require('./Libraries/Image/ImageBackground');\n },\n get InputAccessoryView(): InputAccessoryView {\n return require('./Libraries/Components/TextInput/InputAccessoryView');\n },\n get KeyboardAvoidingView(): KeyboardAvoidingView {\n return require('./Libraries/Components/Keyboard/KeyboardAvoidingView')\n .default;\n },\n get Modal(): Modal {\n return require('./Libraries/Modal/Modal');\n },\n get Pressable(): Pressable {\n return require('./Libraries/Components/Pressable/Pressable').default;\n },\n // $FlowFixMe[value-as-type]\n get ProgressBarAndroid(): ProgressBarAndroid {\n warnOnce(\n 'progress-bar-android-moved',\n 'ProgressBarAndroid has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-bar-android' instead of 'react-native'. \" +\n 'See https://github.com/react-native-progress-view/progress-bar-android',\n );\n return require('./Libraries/Components/ProgressBarAndroid/ProgressBarAndroid');\n },\n // $FlowFixMe[value-as-type]\n get ProgressViewIOS(): ProgressViewIOS {\n warnOnce(\n 'progress-view-ios-moved',\n 'ProgressViewIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/progress-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-progress-view/progress-view',\n );\n return require('./Libraries/Components/ProgressViewIOS/ProgressViewIOS');\n },\n get RefreshControl(): RefreshControl {\n return require('./Libraries/Components/RefreshControl/RefreshControl');\n },\n get SafeAreaView(): SafeAreaView {\n return require('./Libraries/Components/SafeAreaView/SafeAreaView').default;\n },\n get ScrollView(): ScrollView {\n return require('./Libraries/Components/ScrollView/ScrollView');\n },\n get SectionList(): SectionList {\n return require('./Libraries/Lists/SectionList').default;\n },\n get Slider(): Slider {\n warnOnce(\n 'slider-moved',\n 'Slider has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/slider' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-slider',\n );\n return require('./Libraries/Components/Slider/Slider');\n },\n get StatusBar(): StatusBar {\n return require('./Libraries/Components/StatusBar/StatusBar');\n },\n get Switch(): Switch {\n return require('./Libraries/Components/Switch/Switch').default;\n },\n get Text(): Text {\n return require('./Libraries/Text/Text');\n },\n get TextInput(): TextInput {\n return require('./Libraries/Components/TextInput/TextInput');\n },\n get Touchable(): Touchable {\n return require('./Libraries/Components/Touchable/Touchable');\n },\n get TouchableHighlight(): TouchableHighlight {\n return require('./Libraries/Components/Touchable/TouchableHighlight');\n },\n get TouchableNativeFeedback(): TouchableNativeFeedback {\n return require('./Libraries/Components/Touchable/TouchableNativeFeedback');\n },\n get TouchableOpacity(): TouchableOpacity {\n return require('./Libraries/Components/Touchable/TouchableOpacity');\n },\n get TouchableWithoutFeedback(): TouchableWithoutFeedback {\n return require('./Libraries/Components/Touchable/TouchableWithoutFeedback');\n },\n get View(): View {\n return require('./Libraries/Components/View/View');\n },\n get VirtualizedList(): VirtualizedList {\n return require('./Libraries/Lists/VirtualizedList').default;\n },\n get VirtualizedSectionList(): VirtualizedSectionList {\n return require('./Libraries/Lists/VirtualizedSectionList');\n },\n\n // APIs\n get ActionSheetIOS(): ActionSheetIOS {\n return require('./Libraries/ActionSheetIOS/ActionSheetIOS');\n },\n get Alert(): Alert {\n return require('./Libraries/Alert/Alert');\n },\n // Include any types exported in the Animated module together with its default export, so\n // you can references types such as Animated.Numeric\n get Animated(): {...$Diff, ...Animated} {\n // $FlowExpectedError[prop-missing]: we only return the default export, all other exports are types\n return require('./Libraries/Animated/Animated').default;\n },\n get Appearance(): Appearance {\n return require('./Libraries/Utilities/Appearance');\n },\n get AppRegistry(): AppRegistry {\n return require('./Libraries/ReactNative/AppRegistry');\n },\n get AppState(): AppState {\n return require('./Libraries/AppState/AppState');\n },\n get BackHandler(): BackHandler {\n return require('./Libraries/Utilities/BackHandler');\n },\n get Clipboard(): Clipboard {\n warnOnce(\n 'clipboard-moved',\n 'Clipboard has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-clipboard/clipboard' instead of 'react-native'. \" +\n 'See https://github.com/react-native-clipboard/clipboard',\n );\n return require('./Libraries/Components/Clipboard/Clipboard');\n },\n get DeviceInfo(): DeviceInfo {\n return require('./Libraries/Utilities/DeviceInfo');\n },\n get DevSettings(): DevSettings {\n return require('./Libraries/Utilities/DevSettings');\n },\n get Dimensions(): Dimensions {\n return require('./Libraries/Utilities/Dimensions');\n },\n get Easing(): Easing {\n return require('./Libraries/Animated/Easing').default;\n },\n get findNodeHandle(): $PropertyType {\n return require('./Libraries/ReactNative/RendererProxy').findNodeHandle;\n },\n get I18nManager(): I18nManager {\n return require('./Libraries/ReactNative/I18nManager');\n },\n get InteractionManager(): InteractionManager {\n return require('./Libraries/Interaction/InteractionManager');\n },\n get Keyboard(): Keyboard {\n return require('./Libraries/Components/Keyboard/Keyboard');\n },\n get LayoutAnimation(): LayoutAnimation {\n return require('./Libraries/LayoutAnimation/LayoutAnimation');\n },\n get Linking(): Linking {\n return require('./Libraries/Linking/Linking');\n },\n get LogBox(): LogBox {\n return require('./Libraries/LogBox/LogBox');\n },\n get NativeDialogManagerAndroid(): NativeDialogManagerAndroid {\n return require('./Libraries/NativeModules/specs/NativeDialogManagerAndroid')\n .default;\n },\n get NativeEventEmitter(): NativeEventEmitter {\n return require('./Libraries/EventEmitter/NativeEventEmitter').default;\n },\n get Networking(): Networking {\n return require('./Libraries/Network/RCTNetworking');\n },\n get PanResponder(): PanResponder {\n return require('./Libraries/Interaction/PanResponder');\n },\n get PermissionsAndroid(): PermissionsAndroid {\n return require('./Libraries/PermissionsAndroid/PermissionsAndroid');\n },\n get PixelRatio(): PixelRatio {\n return require('./Libraries/Utilities/PixelRatio');\n },\n get PushNotificationIOS(): PushNotificationIOS {\n warnOnce(\n 'pushNotificationIOS-moved',\n 'PushNotificationIOS has been extracted from react-native core and will be removed in a future release. ' +\n \"It can now be installed and imported from '@react-native-community/push-notification-ios' instead of 'react-native'. \" +\n 'See https://github.com/react-native-push-notification-ios/push-notification-ios',\n );\n return require('./Libraries/PushNotificationIOS/PushNotificationIOS');\n },\n get Settings(): Settings {\n return require('./Libraries/Settings/Settings');\n },\n get Share(): Share {\n return require('./Libraries/Share/Share');\n },\n get StyleSheet(): StyleSheet {\n return require('./Libraries/StyleSheet/StyleSheet');\n },\n get Systrace(): Systrace {\n return require('./Libraries/Performance/Systrace');\n },\n // $FlowFixMe[value-as-type]\n get ToastAndroid(): ToastAndroid {\n return require('./Libraries/Components/ToastAndroid/ToastAndroid');\n },\n get TurboModuleRegistry(): TurboModuleRegistry {\n return require('./Libraries/TurboModule/TurboModuleRegistry');\n },\n get UIManager(): UIManager {\n return require('./Libraries/ReactNative/UIManager');\n },\n get unstable_batchedUpdates(): $PropertyType<\n ReactNative,\n 'unstable_batchedUpdates',\n > {\n return require('./Libraries/ReactNative/RendererProxy')\n .unstable_batchedUpdates;\n },\n get useAnimatedValue(): useAnimatedValue {\n return require('./Libraries/Animated/useAnimatedValue').default;\n },\n get useColorScheme(): useColorScheme {\n return require('./Libraries/Utilities/useColorScheme').default;\n },\n get useWindowDimensions(): useWindowDimensions {\n return require('./Libraries/Utilities/useWindowDimensions').default;\n },\n get UTFSequence(): UTFSequence {\n return require('./Libraries/UTFSequence');\n },\n get Vibration(): Vibration {\n return require('./Libraries/Vibration/Vibration');\n },\n get YellowBox(): YellowBox {\n return require('./Libraries/YellowBox/YellowBoxDeprecated');\n },\n\n // Plugins\n get DeviceEventEmitter(): RCTDeviceEventEmitter {\n return require('./Libraries/EventEmitter/RCTDeviceEventEmitter').default;\n },\n get DynamicColorIOS(): DynamicColorIOS {\n return require('./Libraries/StyleSheet/PlatformColorValueTypesIOS')\n .DynamicColorIOS;\n },\n get NativeAppEventEmitter(): RCTNativeAppEventEmitter {\n return require('./Libraries/EventEmitter/RCTNativeAppEventEmitter');\n },\n get NativeModules(): NativeModules {\n return require('./Libraries/BatchedBridge/NativeModules');\n },\n get Platform(): Platform {\n return require('./Libraries/Utilities/Platform');\n },\n get PlatformColor(): PlatformColor {\n return require('./Libraries/StyleSheet/PlatformColorValueTypes')\n .PlatformColor;\n },\n get processColor(): processColor {\n return require('./Libraries/StyleSheet/processColor');\n },\n get requireNativeComponent(): (\n uiViewClassName: string,\n ) => HostComponent {\n return require('./Libraries/ReactNative/requireNativeComponent');\n },\n get RootTagContext(): RootTagContext {\n return require('./Libraries/ReactNative/RootTag').RootTagContext;\n },\n get unstable_enableLogBox(): () => void {\n return () =>\n console.warn(\n 'LogBox is enabled by default so there is no need to call unstable_enableLogBox() anymore. This is a no op and will be removed in the next version.',\n );\n },\n // Deprecated Prop Types\n get ColorPropType(): $FlowFixMe {\n console.error(\n 'ColorPropType will be removed from React Native, along with all ' +\n 'other PropTypes. We recommend that you migrate away from PropTypes ' +\n 'and switch to a type system like TypeScript. If you need to ' +\n 'continue using ColorPropType, migrate to the ' +\n \"'deprecated-react-native-prop-types' package.\",\n );\n return require('deprecated-react-native-prop-types').ColorPropType;\n },\n get EdgeInsetsPropType(): $FlowFixMe {\n console.error(\n 'EdgeInsetsPropType will be removed from React Native, along with all ' +\n 'other PropTypes. We recommend that you migrate away from PropTypes ' +\n 'and switch to a type system like TypeScript. If you need to ' +\n 'continue using EdgeInsetsPropType, migrate to the ' +\n \"'deprecated-react-native-prop-types' package.\",\n );\n return require('deprecated-react-native-prop-types').EdgeInsetsPropType;\n },\n get PointPropType(): $FlowFixMe {\n console.error(\n 'PointPropType will be removed from React Native, along with all ' +\n 'other PropTypes. We recommend that you migrate away from PropTypes ' +\n 'and switch to a type system like TypeScript. If you need to ' +\n 'continue using PointPropType, migrate to the ' +\n \"'deprecated-react-native-prop-types' package.\",\n );\n return require('deprecated-react-native-prop-types').PointPropType;\n },\n get ViewPropTypes(): $FlowFixMe {\n console.error(\n 'ViewPropTypes will be removed from React Native, along with all ' +\n 'other PropTypes. We recommend that you migrate away from PropTypes ' +\n 'and switch to a type system like TypeScript. If you need to ' +\n 'continue using ViewPropTypes, migrate to the ' +\n \"'deprecated-react-native-prop-types' package.\",\n );\n return require('deprecated-react-native-prop-types').ViewPropTypes;\n },\n};\n\nif (__DEV__) {\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ART. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ART. */\n Object.defineProperty(module.exports, 'ART', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ART has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/art' instead of 'react-native'. \" +\n 'See https://github.com/react-native-art/art',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ListView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ListView. */\n Object.defineProperty(module.exports, 'ListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-listview`.',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access SwipeableListView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access SwipeableListView. */\n Object.defineProperty(module.exports, 'SwipeableListView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'SwipeableListView has been removed from React Native. ' +\n 'See https://fb.me/nolistview for more information or use ' +\n '`deprecated-react-native-swipeable-listview`.',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access WebView. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access WebView. */\n Object.defineProperty(module.exports, 'WebView', {\n configurable: true,\n get() {\n invariant(\n false,\n 'WebView has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. \" +\n 'See https://github.com/react-native-webview/react-native-webview',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access NetInfo. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access NetInfo. */\n Object.defineProperty(module.exports, 'NetInfo', {\n configurable: true,\n get() {\n invariant(\n false,\n 'NetInfo has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. \" +\n 'See https://github.com/react-native-netinfo/react-native-netinfo',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access CameraRoll. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access CameraRoll. */\n Object.defineProperty(module.exports, 'CameraRoll', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CameraRoll has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/cameraroll' instead of 'react-native'. \" +\n 'See https://github.com/react-native-cameraroll/react-native-cameraroll',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ImageStore. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ImageStore. */\n Object.defineProperty(module.exports, 'ImageStore', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageStore has been removed from React Native. ' +\n 'To get a base64-encoded string from a local image use either of the following third-party libraries:' +\n \"* expo-file-system: `readAsStringAsync(filepath, 'base64')`\" +\n \"* react-native-fs: `readFile(filepath, 'base64')`\",\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ImageEditor. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ImageEditor. */\n Object.defineProperty(module.exports, 'ImageEditor', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImageEditor has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/image-editor' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-image-editor',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access TimePickerAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access TimePickerAndroid. */\n Object.defineProperty(module.exports, 'TimePickerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'TimePickerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ToolbarAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ToolbarAndroid. */\n Object.defineProperty(module.exports, 'ToolbarAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ToolbarAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/toolbar-android' instead of 'react-native'. \" +\n 'See https://github.com/react-native-toolbar-android/toolbar-android',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ViewPagerAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ViewPagerAndroid. */\n Object.defineProperty(module.exports, 'ViewPagerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ViewPagerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. \" +\n 'See https://github.com/callstack/react-native-pager-view',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access CheckBox. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access CheckBox. */\n Object.defineProperty(module.exports, 'CheckBox', {\n configurable: true,\n get() {\n invariant(\n false,\n 'CheckBox has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. \" +\n 'See https://github.com/react-native-checkbox/react-native-checkbox',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access SegmentedControlIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access SegmentedControlIOS. */\n Object.defineProperty(module.exports, 'SegmentedControlIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'SegmentedControlIOS has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/segmented-checkbox' instead of 'react-native'.\" +\n 'See https://github.com/react-native-segmented-control/segmented-control',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access StatusBarIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access StatusBarIOS. */\n Object.defineProperty(module.exports, 'StatusBarIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'StatusBarIOS has been removed from React Native. ' +\n 'Has been merged with StatusBar. ' +\n 'See https://reactnative.dev/docs/statusbar',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access PickerIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access PickerIOS. */\n Object.defineProperty(module.exports, 'PickerIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'PickerIOS has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-picker/picker',\n );\n },\n });\n\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access Picker. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access Picker. */\n Object.defineProperty(module.exports, 'Picker', {\n configurable: true,\n get() {\n invariant(\n false,\n 'Picker has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-picker/picker',\n );\n },\n });\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access DatePickerAndroid. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access DatePickerAndroid. */\n Object.defineProperty(module.exports, 'DatePickerAndroid', {\n configurable: true,\n get() {\n invariant(\n false,\n 'DatePickerAndroid has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. \" +\n 'See https://github.com/react-native-datetimepicker/datetimepicker',\n );\n },\n });\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access MaskedViewIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access MaskedViewIOS. */\n Object.defineProperty(module.exports, 'MaskedViewIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'MaskedViewIOS has been removed from React Native. ' +\n \"It can now be installed and imported from '@react-native-community/react-native-masked-view' instead of 'react-native'. \" +\n 'See https://github.com/react-native-masked-view/masked-view',\n );\n },\n });\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access AsyncStorage. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access AsyncStorage. */\n Object.defineProperty(module.exports, 'AsyncStorage', {\n configurable: true,\n get() {\n invariant(\n false,\n 'AsyncStorage has been removed from react-native core. ' +\n \"It can now be installed and imported from '@react-native-async-storage/async-storage' instead of 'react-native'. \" +\n 'See https://github.com/react-native-async-storage/async-storage',\n );\n },\n });\n /* $FlowFixMe[prop-missing] This is intentional: Flow will error when\n * attempting to access ImagePickerIOS. */\n /* $FlowFixMe[invalid-export] This is intentional: Flow will error when\n * attempting to access ImagePickerIOS. */\n Object.defineProperty(module.exports, 'ImagePickerIOS', {\n configurable: true,\n get() {\n invariant(\n false,\n 'ImagePickerIOS has been removed from React Native. ' +\n \"Please upgrade to use either '@react-native-community/react-native-image-picker' or 'expo-image-picker'. \" +\n \"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/image-picker-ios' package. \" +\n 'See https://github.com/rnc-archive/react-native-image-picker-ios',\n );\n },\n });\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\nimport type {AccessibilityInfoType} from './AccessibilityInfo.flow';\nimport type {ElementRef} from 'react';\n\nimport RCTDeviceEventEmitter from '../../EventEmitter/RCTDeviceEventEmitter';\nimport {sendAccessibilityEvent} from '../../ReactNative/RendererProxy';\nimport Platform from '../../Utilities/Platform';\nimport legacySendAccessibilityEvent from './legacySendAccessibilityEvent';\nimport NativeAccessibilityInfoAndroid from './NativeAccessibilityInfo';\nimport NativeAccessibilityManagerIOS from './NativeAccessibilityManager';\n\n// Events that are only supported on Android.\ntype AccessibilityEventDefinitionsAndroid = {\n accessibilityServiceChanged: [boolean],\n};\n\n// Events that are only supported on iOS.\ntype AccessibilityEventDefinitionsIOS = {\n announcementFinished: [{announcement: string, success: boolean}],\n boldTextChanged: [boolean],\n grayscaleChanged: [boolean],\n invertColorsChanged: [boolean],\n reduceTransparencyChanged: [boolean],\n};\n\ntype AccessibilityEventDefinitions = {\n ...AccessibilityEventDefinitionsAndroid,\n ...AccessibilityEventDefinitionsIOS,\n change: [boolean], // screenReaderChanged\n reduceMotionChanged: [boolean],\n screenReaderChanged: [boolean],\n};\n\ntype AccessibilityEventTypes = 'click' | 'focus';\n\n// Mapping of public event names to platform-specific event names.\nconst EventNames: Map<\n $Keys,\n string,\n> = Platform.OS === 'android'\n ? new Map([\n ['change', 'touchExplorationDidChange'],\n ['reduceMotionChanged', 'reduceMotionDidChange'],\n ['screenReaderChanged', 'touchExplorationDidChange'],\n ['accessibilityServiceChanged', 'accessibilityServiceDidChange'],\n ])\n : new Map([\n ['announcementFinished', 'announcementFinished'],\n ['boldTextChanged', 'boldTextChanged'],\n ['change', 'screenReaderChanged'],\n ['grayscaleChanged', 'grayscaleChanged'],\n ['invertColorsChanged', 'invertColorsChanged'],\n ['reduceMotionChanged', 'reduceMotionChanged'],\n ['reduceTransparencyChanged', 'reduceTransparencyChanged'],\n ['screenReaderChanged', 'screenReaderChanged'],\n ]);\n\n/**\n * Sometimes it's useful to know whether or not the device has a screen reader\n * that is currently active. The `AccessibilityInfo` API is designed for this\n * purpose. You can use it to query the current state of the screen reader as\n * well as to register to be notified when the state of the screen reader\n * changes.\n *\n * See https://reactnative.dev/docs/accessibilityinfo\n */\nconst AccessibilityInfo: AccessibilityInfoType = {\n /**\n * Query whether bold text is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when bold text is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isBoldTextEnabled\n */\n isBoldTextEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentBoldTextState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether grayscale is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when grayscale is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isGrayscaleEnabled\n */\n isGrayscaleEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentGrayscaleState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether inverted colors are currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when invert color is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isInvertColorsEnabled\n */\n isInvertColorsEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentInvertColorsState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether reduced motion is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce motion is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isReduceMotionEnabled\n */\n isReduceMotionEnabled(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n if (NativeAccessibilityInfoAndroid != null) {\n NativeAccessibilityInfoAndroid.isReduceMotionEnabled(resolve);\n } else {\n reject(null);\n }\n } else {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentReduceMotionState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n }\n });\n },\n\n /**\n * Query whether reduce motion and prefer cross-fade transitions settings are currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when prefer cross-fade transitions is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#prefersCrossFadeTransitions\n */\n prefersCrossFadeTransitions(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n if (\n NativeAccessibilityManagerIOS?.getCurrentPrefersCrossFadeTransitionsState !=\n null\n ) {\n NativeAccessibilityManagerIOS.getCurrentPrefersCrossFadeTransitionsState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n }\n });\n },\n\n /**\n * Query whether reduced transparency is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a reduce transparency is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isReduceTransparencyEnabled\n */\n isReduceTransparencyEnabled(): Promise {\n if (Platform.OS === 'android') {\n return Promise.resolve(false);\n } else {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentReduceTransparencyState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n });\n }\n },\n\n /**\n * Query whether a screen reader is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when a screen reader is enabled and `false` otherwise.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#isScreenReaderEnabled\n */\n isScreenReaderEnabled(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n if (NativeAccessibilityInfoAndroid != null) {\n NativeAccessibilityInfoAndroid.isTouchExplorationEnabled(resolve);\n } else {\n reject(null);\n }\n } else {\n if (NativeAccessibilityManagerIOS != null) {\n NativeAccessibilityManagerIOS.getCurrentVoiceOverState(\n resolve,\n reject,\n );\n } else {\n reject(null);\n }\n }\n });\n },\n\n /**\n * Query whether Accessibility Service is currently enabled.\n *\n * Returns a promise which resolves to a boolean.\n * The result is `true` when any service is enabled and `false` otherwise.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/accessibilityinfo/#isaccessibilityserviceenabled-android\n */\n isAccessibilityServiceEnabled(): Promise {\n return new Promise((resolve, reject) => {\n if (Platform.OS === 'android') {\n if (\n NativeAccessibilityInfoAndroid != null &&\n NativeAccessibilityInfoAndroid.isAccessibilityServiceEnabled != null\n ) {\n NativeAccessibilityInfoAndroid.isAccessibilityServiceEnabled(resolve);\n } else {\n reject(null);\n }\n } else {\n reject(null);\n }\n });\n },\n\n /**\n * Add an event handler. Supported events:\n *\n * - `reduceMotionChanged`: Fires when the state of the reduce motion toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a reduce\n * motion is enabled (or when \"Transition Animation Scale\" in \"Developer options\" is\n * \"Animation off\") and `false` otherwise.\n * - `screenReaderChanged`: Fires when the state of the screen reader changes. The argument\n * to the event handler is a boolean. The boolean is `true` when a screen\n * reader is enabled and `false` otherwise.\n *\n * These events are only supported on iOS:\n *\n * - `boldTextChanged`: iOS-only event. Fires when the state of the bold text toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a bold text\n * is enabled and `false` otherwise.\n * - `grayscaleChanged`: iOS-only event. Fires when the state of the gray scale toggle changes.\n * The argument to the event handler is a boolean. The boolean is `true` when a gray scale\n * is enabled and `false` otherwise.\n * - `invertColorsChanged`: iOS-only event. Fires when the state of the invert colors toggle\n * changes. The argument to the event handler is a boolean. The boolean is `true` when a invert\n * colors is enabled and `false` otherwise.\n * - `reduceTransparencyChanged`: iOS-only event. Fires when the state of the reduce transparency\n * toggle changes. The argument to the event handler is a boolean. The boolean is `true`\n * when a reduce transparency is enabled and `false` otherwise.\n * - `announcementFinished`: iOS-only event. Fires when the screen reader has\n * finished making an announcement. The argument to the event handler is a\n * dictionary with these keys:\n * - `announcement`: The string announced by the screen reader.\n * - `success`: A boolean indicating whether the announcement was\n * successfully made.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#addeventlistener\n */\n addEventListener>(\n eventName: K,\n // $FlowIssue[incompatible-type] - Flow bug with unions and generics (T128099423)\n handler: (...$ElementType) => void,\n ): EventSubscription {\n const deviceEventName = EventNames.get(eventName);\n return deviceEventName == null\n ? {remove(): void {}}\n : // $FlowFixMe[incompatible-call]\n RCTDeviceEventEmitter.addListener(deviceEventName, handler);\n },\n\n /**\n * Set accessibility focus to a React component.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#setaccessibilityfocus\n */\n setAccessibilityFocus(reactTag: number): void {\n legacySendAccessibilityEvent(reactTag, 'focus');\n },\n\n /**\n * Send a named accessibility event to a HostComponent.\n */\n sendAccessibilityEvent(\n handle: ElementRef>,\n eventType: AccessibilityEventTypes,\n ) {\n // iOS only supports 'focus' event types\n if (Platform.OS === 'ios' && eventType === 'click') {\n return;\n }\n // route through React renderer to distinguish between Fabric and non-Fabric handles\n sendAccessibilityEvent(handle, eventType);\n },\n\n /**\n * Post a string to be announced by the screen reader.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#announceforaccessibility\n */\n announceForAccessibility(announcement: string): void {\n if (Platform.OS === 'android') {\n NativeAccessibilityInfoAndroid?.announceForAccessibility(announcement);\n } else {\n NativeAccessibilityManagerIOS?.announceForAccessibility(announcement);\n }\n },\n\n /**\n * Post a string to be announced by the screen reader.\n * - `announcement`: The string announced by the screen reader.\n * - `options`: An object that configures the reading options.\n * - `queue`: The announcement will be queued behind existing announcements. iOS only.\n */\n announceForAccessibilityWithOptions(\n announcement: string,\n options: {queue?: boolean},\n ): void {\n if (Platform.OS === 'android') {\n NativeAccessibilityInfoAndroid?.announceForAccessibility(announcement);\n } else {\n if (NativeAccessibilityManagerIOS?.announceForAccessibilityWithOptions) {\n NativeAccessibilityManagerIOS?.announceForAccessibilityWithOptions(\n announcement,\n options,\n );\n } else {\n NativeAccessibilityManagerIOS?.announceForAccessibility(announcement);\n }\n }\n },\n\n /**\n * Get the recommended timeout for changes to the UI needed by this user.\n *\n * See https://reactnative.dev/docs/accessibilityinfo#getrecommendedtimeoutmillis\n */\n getRecommendedTimeoutMillis(originalTimeout: number): Promise {\n if (Platform.OS === 'android') {\n return new Promise((resolve, reject) => {\n if (NativeAccessibilityInfoAndroid?.getRecommendedTimeoutMillis) {\n NativeAccessibilityInfoAndroid.getRecommendedTimeoutMillis(\n originalTimeout,\n resolve,\n );\n } else {\n resolve(originalTimeout);\n }\n });\n } else {\n return Promise.resolve(originalTimeout);\n }\n },\n};\n\nexport default AccessibilityInfo;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {IEventEmitter} from '../vendor/emitter/EventEmitter';\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\n\n// FIXME: use typed events\ntype RCTDeviceEventDefinitions = $FlowFixMe;\n\n/**\n * Global EventEmitter used by the native platform to emit events to JavaScript.\n * Events are identified by globally unique event names.\n *\n * NativeModules that emit events should instead subclass `NativeEventEmitter`.\n */\nexport default (new EventEmitter(): IEventEmitter);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nexport interface EventSubscription {\n remove(): void;\n}\n\nexport interface IEventEmitter {\n addListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n context?: mixed,\n ): EventSubscription;\n\n emit>(\n eventType: TEvent,\n ...args: $ElementType\n ): void;\n\n removeAllListeners>(eventType?: ?TEvent): void;\n\n listenerCount>(eventType: TEvent): number;\n}\n\ninterface Registration {\n +context: mixed;\n +listener: (...args: TArgs) => mixed;\n +remove: () => void;\n}\n\ntype Registry = $ObjMap<\n TEventToArgsMap,\n (TArgs) => Set>,\n>;\n\n/**\n * EventEmitter manages listeners and publishes events to them.\n *\n * EventEmitter accepts a single type parameter that defines the valid events\n * and associated listener argument(s).\n *\n * @example\n *\n * const emitter = new EventEmitter<{\n * success: [number, string],\n * error: [Error],\n * }>();\n *\n * emitter.on('success', (statusCode, responseText) => {...});\n * emitter.emit('success', 200, '...');\n *\n * emitter.on('error', error => {...});\n * emitter.emit('error', new Error('Resource not found'));\n *\n */\nexport default class EventEmitter\n implements IEventEmitter\n{\n _registry: Registry = {};\n\n /**\n * Registers a listener that is called when the supplied event is emitted.\n * Returns a subscription that has a `remove` method to undo registration.\n */\n addListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n context: mixed,\n ): EventSubscription {\n const registrations = allocate(this._registry, eventType);\n const registration: Registration<$ElementType> = {\n context,\n listener,\n remove(): void {\n registrations.delete(registration);\n },\n };\n registrations.add(registration);\n return registration;\n }\n\n /**\n * Emits the supplied event. Additional arguments supplied to `emit` will be\n * passed through to each of the registered listeners.\n *\n * If a listener modifies the listeners registered for the same event, those\n * changes will not be reflected in the current invocation of `emit`.\n */\n emit>(\n eventType: TEvent,\n ...args: $ElementType\n ): void {\n const registrations: ?Set<\n Registration<$ElementType>,\n > = this._registry[eventType];\n if (registrations != null) {\n for (const registration of [...registrations]) {\n registration.listener.apply(registration.context, args);\n }\n }\n }\n\n /**\n * Removes all registered listeners.\n */\n removeAllListeners>(\n eventType?: ?TEvent,\n ): void {\n if (eventType == null) {\n this._registry = {};\n } else {\n delete this._registry[eventType];\n }\n }\n\n /**\n * Returns the number of registered listeners for the supplied event.\n */\n listenerCount>(eventType: TEvent): number {\n const registrations: ?Set> = this._registry[eventType];\n return registrations == null ? 0 : registrations.size;\n }\n}\n\nfunction allocate<\n TEventToArgsMap: {...},\n TEvent: $Keys,\n TEventArgs: $ElementType,\n>(\n registry: Registry,\n eventType: TEvent,\n): Set> {\n let registrations: ?Set> = registry[eventType];\n if (registrations == null) {\n registrations = new Set();\n registry[eventType] = registrations;\n }\n return registrations;\n}\n","var arrayWithoutHoles = require(\"./arrayWithoutHoles.js\");\n\nvar iterableToArray = require(\"./iterableToArray.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableSpread = require(\"./nonIterableSpread.js\");\n\nfunction _toConsumableArray(arr) {\n return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}\n\nmodule.exports = _toConsumableArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}\n\nmodule.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nmodule.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nmodule.exports = _iterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var arrayLikeToArray = require(\"./arrayLikeToArray.js\");\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}\n\nmodule.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativePlatformConstantsIOS from './NativePlatformConstantsIOS';\n\nexport type PlatformSelectSpec = {\n default?: T,\n native?: T,\n ios?: T,\n ...\n};\n\nconst Platform = {\n __constants: null,\n OS: 'ios',\n // $FlowFixMe[unsafe-getters-setters]\n get Version(): string {\n // $FlowFixMe[object-this-reference]\n return this.constants.osVersion;\n },\n // $FlowFixMe[unsafe-getters-setters]\n get constants(): {|\n forceTouchAvailable: boolean,\n interfaceIdiom: string,\n isTesting: boolean,\n osVersion: string,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n systemName: string,\n |} {\n // $FlowFixMe[object-this-reference]\n if (this.__constants == null) {\n // $FlowFixMe[object-this-reference]\n this.__constants = NativePlatformConstantsIOS.getConstants();\n }\n // $FlowFixMe[object-this-reference]\n return this.__constants;\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isPad(): boolean {\n // $FlowFixMe[object-this-reference]\n return this.constants.interfaceIdiom === 'pad';\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isTV(): boolean {\n // $FlowFixMe[object-this-reference]\n return this.constants.interfaceIdiom === 'tv';\n },\n // $FlowFixMe[unsafe-getters-setters]\n get isTesting(): boolean {\n if (__DEV__) {\n // $FlowFixMe[object-this-reference]\n return this.constants.isTesting;\n }\n return false;\n },\n select: (spec: PlatformSelectSpec): T =>\n // $FlowFixMe[incompatible-return]\n 'ios' in spec ? spec.ios : 'native' in spec ? spec.native : spec.default,\n};\n\nmodule.exports = Platform;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isTesting: boolean,\n reactNativeVersion: {|\n major: number,\n minor: number,\n patch: number,\n prerelease: ?number,\n |},\n forceTouchAvailable: boolean,\n osVersion: string,\n systemName: string,\n interfaceIdiom: string,\n |};\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'PlatformConstants',\n): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from './RCTExport';\n\nimport invariant from 'invariant';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\n\nconst turboModuleProxy = global.__turboModuleProxy;\n\nfunction requireModule(name: string): ?T {\n // Bridgeless mode requires TurboModules\n if (global.RN$Bridgeless !== true) {\n // Backward compatibility layer during migration.\n const legacyModule = NativeModules[name];\n if (legacyModule != null) {\n return ((legacyModule: $FlowFixMe): T);\n }\n }\n\n if (turboModuleProxy != null) {\n const module: ?T = turboModuleProxy(name);\n return module;\n }\n\n return null;\n}\n\nexport function get(name: string): ?T {\n return requireModule(name);\n}\n\nexport function getEnforcing(name: string): T {\n const module = requireModule(name);\n invariant(\n module != null,\n `TurboModuleRegistry.getEnforcing(...): '${name}' could not be found. ` +\n 'Verify that a module by this name is registered in the native binary.',\n );\n return module;\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error(\n 'Minified exception occurred; use the non-minified dev environment ' +\n 'for the full error message and additional helpful warnings.'\n );\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(\n format.replace(/%s/g, function() { return args[argIndex++]; })\n );\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n};\n\nmodule.exports = invariant;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {ExtendedError} from '../Core/ExtendedError';\n\nconst BatchedBridge = require('./BatchedBridge');\nconst invariant = require('invariant');\n\nexport type ModuleConfig = [\n string /* name */,\n ?{...} /* constants */,\n ?$ReadOnlyArray /* functions */,\n ?$ReadOnlyArray /* promise method IDs */,\n ?$ReadOnlyArray /* sync method IDs */,\n];\n\nexport type MethodType = 'async' | 'promise' | 'sync';\n\nfunction genModule(\n config: ?ModuleConfig,\n moduleID: number,\n): ?{\n name: string,\n module?: {...},\n ...\n} {\n if (!config) {\n return null;\n }\n\n const [moduleName, constants, methods, promiseMethods, syncMethods] = config;\n invariant(\n !moduleName.startsWith('RCT') && !moduleName.startsWith('RK'),\n \"Module name prefixes should've been stripped by the native side \" +\n \"but wasn't for \" +\n moduleName,\n );\n\n if (!constants && !methods) {\n // Module contents will be filled in lazily later\n return {name: moduleName};\n }\n\n const module: {[string]: mixed} = {};\n methods &&\n methods.forEach((methodName, methodID) => {\n const isPromise =\n (promiseMethods && arrayContains(promiseMethods, methodID)) || false;\n const isSync =\n (syncMethods && arrayContains(syncMethods, methodID)) || false;\n invariant(\n !isPromise || !isSync,\n 'Cannot have a method that is both async and a sync hook',\n );\n const methodType = isPromise ? 'promise' : isSync ? 'sync' : 'async';\n module[methodName] = genMethod(moduleID, methodID, methodType);\n });\n\n Object.assign(module, constants);\n\n if (module.getConstants == null) {\n module.getConstants = () => constants || Object.freeze({});\n } else {\n console.warn(\n `Unable to define method 'getConstants()' on NativeModule '${moduleName}'. NativeModule '${moduleName}' already has a constant or method called 'getConstants'. Please remove it.`,\n );\n }\n\n if (__DEV__) {\n BatchedBridge.createDebugLookup(moduleID, moduleName, methods);\n }\n\n return {name: moduleName, module};\n}\n\n// export this method as a global so we can call it from native\nglobal.__fbGenNativeModule = genModule;\n\nfunction loadModule(name: string, moduleID: number): ?{...} {\n invariant(\n global.nativeRequireModuleConfig,\n \"Can't lazily create module without nativeRequireModuleConfig\",\n );\n const config = global.nativeRequireModuleConfig(name);\n const info = genModule(config, moduleID);\n return info && info.module;\n}\n\nfunction genMethod(moduleID: number, methodID: number, type: MethodType) {\n let fn = null;\n if (type === 'promise') {\n fn = function promiseMethodWrapper(...args: Array) {\n // In case we reject, capture a useful stack trace here.\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n const enqueueingFrameError: ExtendedError = new Error();\n return new Promise((resolve, reject) => {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n args,\n data => resolve(data),\n errorData =>\n reject(\n updateErrorWithErrorData(\n (errorData: $FlowFixMe),\n enqueueingFrameError,\n ),\n ),\n );\n });\n };\n } else {\n fn = function nonPromiseMethodWrapper(...args: Array) {\n const lastArg = args.length > 0 ? args[args.length - 1] : null;\n const secondLastArg = args.length > 1 ? args[args.length - 2] : null;\n const hasSuccessCallback = typeof lastArg === 'function';\n const hasErrorCallback = typeof secondLastArg === 'function';\n hasErrorCallback &&\n invariant(\n hasSuccessCallback,\n 'Cannot have a non-function arg after a function arg.',\n );\n // $FlowFixMe[incompatible-type]\n const onSuccess: ?(mixed) => void = hasSuccessCallback ? lastArg : null;\n // $FlowFixMe[incompatible-type]\n const onFail: ?(mixed) => void = hasErrorCallback ? secondLastArg : null;\n const callbackCount = hasSuccessCallback + hasErrorCallback;\n const newArgs = args.slice(0, args.length - callbackCount);\n if (type === 'sync') {\n return BatchedBridge.callNativeSyncHook(\n moduleID,\n methodID,\n newArgs,\n onFail,\n onSuccess,\n );\n } else {\n BatchedBridge.enqueueNativeCall(\n moduleID,\n methodID,\n newArgs,\n onFail,\n onSuccess,\n );\n }\n };\n }\n // $FlowFixMe[prop-missing]\n fn.type = type;\n return fn;\n}\n\nfunction arrayContains(array: $ReadOnlyArray, value: T): boolean {\n return array.indexOf(value) !== -1;\n}\n\nfunction updateErrorWithErrorData(\n errorData: {message: string, ...},\n error: ExtendedError,\n): ExtendedError {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n return Object.assign(error, errorData || {});\n}\n\nlet NativeModules: {[moduleName: string]: $FlowFixMe, ...} = {};\nif (global.nativeModuleProxy) {\n NativeModules = global.nativeModuleProxy;\n} else if (!global.nativeExtensions) {\n const bridgeConfig = global.__fbBatchedBridgeConfig;\n invariant(\n bridgeConfig,\n '__fbBatchedBridgeConfig is not set, cannot invoke native modules',\n );\n\n const defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\n (bridgeConfig.remoteModuleConfig || []).forEach(\n (config: ModuleConfig, moduleID: number) => {\n // Initially this config will only contain the module name when running in JSC. The actual\n // configuration of the module will be lazily loaded.\n const info = genModule(config, moduleID);\n if (!info) {\n return;\n }\n\n if (info.module) {\n NativeModules[info.name] = info.module;\n }\n // If there's no module config, define a lazy getter\n else {\n defineLazyObjectProperty(NativeModules, info.name, {\n get: () => loadModule(info.name, moduleID),\n });\n }\n },\n );\n}\n\nmodule.exports = NativeModules;\n","var arrayWithHoles = require(\"./arrayWithHoles.js\");\n\nvar iterableToArrayLimit = require(\"./iterableToArrayLimit.js\");\n\nvar unsupportedIterableToArray = require(\"./unsupportedIterableToArray.js\");\n\nvar nonIterableRest = require(\"./nonIterableRest.js\");\n\nfunction _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}\n\nmodule.exports = _slicedToArray, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\n\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n}\n\nmodule.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nmodule.exports = _nonIterableRest, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst MessageQueue = require('./MessageQueue');\n\nconst BatchedBridge: MessageQueue = new MessageQueue();\n\n// Wire up the batched bridge on the global object so that we can call into it.\n// Ideally, this would be the inverse relationship. I.e. the native environment\n// provides this global directly with its script embedded. Then this module\n// would export it. A possible fix would be to trim the dependencies in\n// MessageQueue to its minimal features and embed that in the native runtime.\n\nObject.defineProperty(global, '__fbBatchedBridge', {\n configurable: true,\n value: BatchedBridge,\n});\n\nmodule.exports = BatchedBridge;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst Systrace = require('../Performance/Systrace');\nconst deepFreezeAndThrowOnMutationInDev = require('../Utilities/deepFreezeAndThrowOnMutationInDev');\nconst stringifySafe = require('../Utilities/stringifySafe').default;\nconst warnOnce = require('../Utilities/warnOnce');\nconst ErrorUtils = require('../vendor/core/ErrorUtils');\nconst invariant = require('invariant');\n\nexport type SpyData = {\n type: number,\n module: ?string,\n method: string | number,\n args: mixed[],\n ...\n};\n\nconst TO_JS = 0;\nconst TO_NATIVE = 1;\n\nconst MODULE_IDS = 0;\nconst METHOD_IDS = 1;\nconst PARAMS = 2;\nconst MIN_TIME_BETWEEN_FLUSHES_MS = 5;\n\n// eslint-disable-next-line no-bitwise\nconst TRACE_TAG_REACT_APPS = 1 << 17;\n\nconst DEBUG_INFO_LIMIT = 32;\n\nclass MessageQueue {\n _lazyCallableModules: {[key: string]: (void) => {...}, ...};\n _queue: [number[], number[], mixed[], number];\n _successCallbacks: Map void>;\n _failureCallbacks: Map void>;\n _callID: number;\n _lastFlush: number;\n _eventLoopStartTime: number;\n _reactNativeMicrotasksCallback: ?() => void;\n\n _debugInfo: {[number]: [number, number], ...};\n _remoteModuleTable: {[number]: string, ...};\n _remoteMethodTable: {[number]: $ReadOnlyArray, ...};\n\n __spy: ?(data: SpyData) => void;\n\n constructor() {\n this._lazyCallableModules = {};\n this._queue = [[], [], [], 0];\n this._successCallbacks = new Map();\n this._failureCallbacks = new Map();\n this._callID = 0;\n this._lastFlush = 0;\n this._eventLoopStartTime = Date.now();\n this._reactNativeMicrotasksCallback = null;\n\n if (__DEV__) {\n this._debugInfo = {};\n this._remoteModuleTable = {};\n this._remoteMethodTable = {};\n }\n\n // $FlowFixMe[cannot-write]\n this.callFunctionReturnFlushedQueue =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.callFunctionReturnFlushedQueue.bind(this);\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.flushedQueue = this.flushedQueue.bind(this);\n\n // $FlowFixMe[cannot-write]\n this.invokeCallbackAndReturnFlushedQueue =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.invokeCallbackAndReturnFlushedQueue.bind(this);\n }\n\n /**\n * Public APIs\n */\n\n static spy(spyOrToggle: boolean | ((data: SpyData) => void)) {\n if (spyOrToggle === true) {\n MessageQueue.prototype.__spy = info => {\n console.log(\n `${info.type === TO_JS ? 'N->JS' : 'JS->N'} : ` +\n `${info.module != null ? info.module + '.' : ''}${info.method}` +\n `(${JSON.stringify(info.args)})`,\n );\n };\n } else if (spyOrToggle === false) {\n MessageQueue.prototype.__spy = null;\n } else {\n MessageQueue.prototype.__spy = spyOrToggle;\n }\n }\n\n callFunctionReturnFlushedQueue(\n module: string,\n method: string,\n args: mixed[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callFunction(module, method, args);\n });\n\n return this.flushedQueue();\n }\n\n invokeCallbackAndReturnFlushedQueue(\n cbID: number,\n args: mixed[],\n ): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__invokeCallback(cbID, args);\n });\n\n return this.flushedQueue();\n }\n\n flushedQueue(): null | [Array, Array, Array, number] {\n this.__guard(() => {\n this.__callReactNativeMicrotasks();\n });\n\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n return queue[0].length ? queue : null;\n }\n\n getEventLoopRunningTime(): number {\n return Date.now() - this._eventLoopStartTime;\n }\n\n registerCallableModule(name: string, module: {...}) {\n this._lazyCallableModules[name] = () => module;\n }\n\n registerLazyCallableModule(name: string, factory: void => interface {}) {\n let module: interface {};\n let getValue: ?(void) => interface {} = factory;\n this._lazyCallableModules[name] = () => {\n if (getValue) {\n module = getValue();\n getValue = null;\n }\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n return module;\n };\n }\n\n getCallableModule(name: string): {...} | null {\n const getValue = this._lazyCallableModules[name];\n return getValue ? getValue() : null;\n }\n\n callNativeSyncHook(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ): mixed {\n if (__DEV__) {\n invariant(\n global.nativeCallSyncHook,\n 'Calling synchronous methods on native ' +\n 'modules is not supported in Chrome.\\n\\n Consider providing alternative ' +\n 'methods to expose this method in debug mode, e.g. by exposing constants ' +\n 'ahead-of-time.',\n );\n }\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n return global.nativeCallSyncHook(moduleID, methodID, params);\n }\n\n processCallbacks(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ): void {\n if (onFail || onSucc) {\n if (__DEV__) {\n this._debugInfo[this._callID] = [moduleID, methodID];\n if (this._callID > DEBUG_INFO_LIMIT) {\n delete this._debugInfo[this._callID - DEBUG_INFO_LIMIT];\n }\n if (this._successCallbacks.size > 500) {\n const info: {[number]: {method: string, module: string}} = {};\n this._successCallbacks.forEach((_, callID) => {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n info[callID] = {module, method};\n });\n warnOnce(\n 'excessive-number-of-pending-callbacks',\n `Please report: Excessive number of pending callbacks: ${\n this._successCallbacks.size\n }. Some pending callbacks that might have leaked by never being called from native code: ${stringifySafe(\n info,\n )}`,\n );\n }\n }\n // Encode callIDs into pairs of callback identifiers by shifting left and using the rightmost bit\n // to indicate fail (0) or success (1)\n // eslint-disable-next-line no-bitwise\n onFail && params.push(this._callID << 1);\n // eslint-disable-next-line no-bitwise\n onSucc && params.push((this._callID << 1) | 1);\n this._successCallbacks.set(this._callID, onSucc);\n this._failureCallbacks.set(this._callID, onFail);\n }\n if (__DEV__) {\n global.nativeTraceBeginAsyncFlow &&\n global.nativeTraceBeginAsyncFlow(\n TRACE_TAG_REACT_APPS,\n 'native',\n this._callID,\n );\n }\n this._callID++;\n }\n\n enqueueNativeCall(\n moduleID: number,\n methodID: number,\n params: mixed[],\n onFail: ?(...mixed[]) => void,\n onSucc: ?(...mixed[]) => void,\n ): void {\n this.processCallbacks(moduleID, methodID, params, onFail, onSucc);\n\n this._queue[MODULE_IDS].push(moduleID);\n this._queue[METHOD_IDS].push(methodID);\n\n if (__DEV__) {\n // Validate that parameters passed over the bridge are\n // folly-convertible. As a special case, if a prop value is a\n // function it is permitted here, and special-cased in the\n // conversion.\n const isValidArgument = (val: mixed): boolean => {\n switch (typeof val) {\n case 'undefined':\n case 'boolean':\n case 'string':\n return true;\n case 'number':\n return isFinite(val);\n case 'object':\n if (val == null) {\n return true;\n }\n\n if (Array.isArray(val)) {\n return val.every(isValidArgument);\n }\n\n for (const k in val) {\n if (typeof val[k] !== 'function' && !isValidArgument(val[k])) {\n return false;\n }\n }\n\n return true;\n case 'function':\n return false;\n default:\n return false;\n }\n };\n\n // Replacement allows normally non-JSON-convertible values to be\n // seen. There is ambiguity with string values, but in context,\n // it should at least be a strong hint.\n const replacer = (key: string, val: $FlowFixMe) => {\n const t = typeof val;\n if (t === 'function') {\n return '<>';\n } else if (t === 'number' && !isFinite(val)) {\n return '<<' + val.toString() + '>>';\n } else {\n return val;\n }\n };\n\n // Note that JSON.stringify\n invariant(\n isValidArgument(params),\n '%s is not usable as a native method argument',\n JSON.stringify(params, replacer),\n );\n\n // The params object should not be mutated after being queued\n deepFreezeAndThrowOnMutationInDev(params);\n }\n this._queue[PARAMS].push(params);\n\n const now = Date.now();\n if (\n global.nativeFlushQueueImmediate &&\n now - this._lastFlush >= MIN_TIME_BETWEEN_FLUSHES_MS\n ) {\n const queue = this._queue;\n this._queue = [[], [], [], this._callID];\n this._lastFlush = now;\n global.nativeFlushQueueImmediate(queue);\n }\n Systrace.counterEvent('pending_js_to_native_queue', this._queue[0].length);\n if (__DEV__ && this.__spy && isFinite(moduleID)) {\n // $FlowFixMe[not-a-function]\n this.__spy({\n type: TO_NATIVE,\n module: this._remoteModuleTable[moduleID],\n method: this._remoteMethodTable[moduleID][methodID],\n args: params,\n });\n } else if (this.__spy) {\n this.__spy({\n type: TO_NATIVE,\n module: moduleID + '',\n method: methodID,\n args: params,\n });\n }\n }\n\n createDebugLookup(\n moduleID: number,\n name: string,\n methods: ?$ReadOnlyArray,\n ) {\n if (__DEV__) {\n this._remoteModuleTable[moduleID] = name;\n this._remoteMethodTable[moduleID] = methods || [];\n }\n }\n\n // For JSTimers to register its callback. Otherwise a circular dependency\n // between modules is introduced. Note that only one callback may be\n // registered at a time.\n setReactNativeMicrotasksCallback(fn: () => void) {\n this._reactNativeMicrotasksCallback = fn;\n }\n\n /**\n * Private methods\n */\n\n __guard(fn: () => void) {\n if (this.__shouldPauseOnThrow()) {\n fn();\n } else {\n try {\n fn();\n } catch (error) {\n ErrorUtils.reportFatalError(error);\n }\n }\n }\n\n // MessageQueue installs a global handler to catch all exceptions where JS users can register their own behavior\n // This handler makes all exceptions to be propagated from inside MessageQueue rather than by the VM at their origin\n // This makes stacktraces to be placed at MessageQueue rather than at where they were launched\n // The parameter DebuggerInternal.shouldPauseOnThrow is used to check before catching all exceptions and\n // can be configured by the VM or any Inspector\n __shouldPauseOnThrow(): boolean {\n return (\n // $FlowFixMe[cannot-resolve-name]\n typeof DebuggerInternal !== 'undefined' &&\n DebuggerInternal.shouldPauseOnThrow === true\n );\n }\n\n __callReactNativeMicrotasks() {\n Systrace.beginEvent('JSTimers.callReactNativeMicrotasks()');\n if (this._reactNativeMicrotasksCallback != null) {\n this._reactNativeMicrotasksCallback();\n }\n Systrace.endEvent();\n }\n\n __callFunction(module: string, method: string, args: mixed[]): void {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n if (__DEV__ || this.__spy) {\n Systrace.beginEvent(`${module}.${method}(${stringifySafe(args)})`);\n } else {\n Systrace.beginEvent(`${module}.${method}(...)`);\n }\n if (this.__spy) {\n this.__spy({type: TO_JS, module, method, args});\n }\n const moduleMethods = this.getCallableModule(module);\n if (!moduleMethods) {\n const callableModuleNames = Object.keys(this._lazyCallableModules);\n const n = callableModuleNames.length;\n const callableModuleNameList = callableModuleNames.join(', ');\n\n // TODO(T122225939): Remove after investigation: Why are we getting to this line in bridgeless mode?\n const isBridgelessMode = global.RN$Bridgeless === true ? 'true' : 'false';\n invariant(\n false,\n `Failed to call into JavaScript module method ${module}.${method}(). Module has not been registered as callable. Bridgeless Mode: ${isBridgelessMode}. Registered callable JavaScript modules (n = ${n}): ${callableModuleNameList}.\n A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.`,\n );\n }\n if (!moduleMethods[method]) {\n invariant(\n false,\n `Failed to call into JavaScript module method ${module}.${method}(). Module exists, but the method is undefined.`,\n );\n }\n moduleMethods[method].apply(moduleMethods, args);\n Systrace.endEvent();\n }\n\n __invokeCallback(cbID: number, args: mixed[]): void {\n this._lastFlush = Date.now();\n this._eventLoopStartTime = this._lastFlush;\n\n // The rightmost bit of cbID indicates fail (0) or success (1), the other bits are the callID shifted left.\n // eslint-disable-next-line no-bitwise\n const callID = cbID >>> 1;\n // eslint-disable-next-line no-bitwise\n const isSuccess = cbID & 1;\n const callback = isSuccess\n ? this._successCallbacks.get(callID)\n : this._failureCallbacks.get(callID);\n\n if (__DEV__) {\n const debug = this._debugInfo[callID];\n const module = debug && this._remoteModuleTable[debug[0]];\n const method = debug && this._remoteMethodTable[debug[0]][debug[1]];\n invariant(\n callback,\n `No callback found with cbID ${cbID} and callID ${callID} for ` +\n (method\n ? ` ${module}.${method} - most likely the callback was already invoked`\n : `module ${module || ''}`) +\n `. Args: '${stringifySafe(args)}'`,\n );\n const profileName = debug\n ? ''\n : cbID;\n if (callback && this.__spy) {\n this.__spy({type: TO_JS, module: null, method: profileName, args});\n }\n Systrace.beginEvent(\n `MessageQueue.invokeCallback(${profileName}, ${stringifySafe(args)})`,\n );\n }\n\n if (!callback) {\n return;\n }\n\n this._successCallbacks.delete(callID);\n this._failureCallbacks.delete(callID);\n callback(...args);\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n }\n}\n\nmodule.exports = MessageQueue;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport typeof * as SystraceModule from './Systrace';\n\nconst TRACE_TAG_REACT_APPS = 1 << 17; // eslint-disable-line no-bitwise\n\nlet _asyncCookie = 0;\n\ntype EventName = string | (() => string);\ntype EventArgs = ?{[string]: string};\n\n/**\n * Indicates if the application is currently being traced.\n *\n * Calling methods on this module when the application isn't being traced is\n * cheap, but this method can be used to avoid computing expensive values for\n * those functions.\n *\n * @example\n * if (Systrace.isEnabled()) {\n * const expensiveArgs = computeExpensiveArgs();\n * Systrace.beginEvent('myEvent', expensiveArgs);\n * }\n */\nexport function isEnabled(): boolean {\n return global.nativeTraceIsTracing\n ? global.nativeTraceIsTracing(TRACE_TAG_REACT_APPS)\n : Boolean(global.__RCTProfileIsProfiling);\n}\n\n/**\n * @deprecated This function is now a no-op but it's left for backwards\n * compatibility. `isEnabled` will now synchronously check if we're actively\n * profiling or not. This is necessary because we don't have callbacks to know\n * when profiling has started/stopped on Android APIs.\n */\nexport function setEnabled(_doEnable: boolean): void {}\n\n/**\n * Marks the start of a synchronous event that should end in the same stack\n * frame. The end of this event should be marked using the `endEvent` function.\n */\nexport function beginEvent(eventName: EventName, args?: EventArgs): void {\n if (isEnabled()) {\n const eventNameString =\n typeof eventName === 'function' ? eventName() : eventName;\n global.nativeTraceBeginSection(TRACE_TAG_REACT_APPS, eventNameString, args);\n }\n}\n\n/**\n * Marks the end of a synchronous event started in the same stack frame.\n */\nexport function endEvent(args?: EventArgs): void {\n if (isEnabled()) {\n global.nativeTraceEndSection(TRACE_TAG_REACT_APPS, args);\n }\n}\n\n/**\n * Marks the start of a potentially asynchronous event. The end of this event\n * should be marked calling the `endAsyncEvent` function with the cookie\n * returned by this function.\n */\nexport function beginAsyncEvent(\n eventName: EventName,\n args?: EventArgs,\n): number {\n const cookie = _asyncCookie;\n if (isEnabled()) {\n _asyncCookie++;\n const eventNameString =\n typeof eventName === 'function' ? eventName() : eventName;\n global.nativeTraceBeginAsyncSection(\n TRACE_TAG_REACT_APPS,\n eventNameString,\n cookie,\n args,\n );\n }\n return cookie;\n}\n\n/**\n * Marks the end of a potentially asynchronous event, which was started with\n * the given cookie.\n */\nexport function endAsyncEvent(\n eventName: EventName,\n cookie: number,\n args?: EventArgs,\n): void {\n if (isEnabled()) {\n const eventNameString =\n typeof eventName === 'function' ? eventName() : eventName;\n global.nativeTraceEndAsyncSection(\n TRACE_TAG_REACT_APPS,\n eventNameString,\n cookie,\n args,\n );\n }\n}\n\n/**\n * Registers a new value for a counter event.\n */\nexport function counterEvent(eventName: EventName, value: number): void {\n if (isEnabled()) {\n const eventNameString =\n typeof eventName === 'function' ? eventName() : eventName;\n global.nativeTraceCounter &&\n global.nativeTraceCounter(TRACE_TAG_REACT_APPS, eventNameString, value);\n }\n}\n\nif (__DEV__) {\n const Systrace: SystraceModule = {\n isEnabled,\n setEnabled,\n beginEvent,\n endEvent,\n beginAsyncEvent,\n endAsyncEvent,\n counterEvent,\n };\n\n // The metro require polyfill can not have dependencies (true for all polyfills).\n // Ensure that `Systrace` is available in polyfill by exposing it globally.\n global[(global.__METRO_GLOBAL_PREFIX__ || '') + '__SYSTRACE'] = Systrace;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {ErrorUtilsT} from '@react-native/polyfills/error-guard';\n\n/**\n * The particular require runtime that we are using looks for a global\n * `ErrorUtils` object and if it exists, then it requires modules with the\n * error handler specified via ErrorUtils.setGlobalHandler by calling the\n * require function with applyWithGuard. Since the require module is loaded\n * before any of the modules, this ErrorUtils must be defined (and the handler\n * set) globally before requiring anything.\n *\n * However, we still want to treat ErrorUtils as a module so that other modules\n * that use it aren't just using a global variable, so simply export the global\n * variable here. ErrorUtils is originally defined in a file named error-guard.js.\n */\nmodule.exports = (global.ErrorUtils: ErrorUtilsT);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport invariant from 'invariant';\n\n/**\n * Tries to stringify with JSON.stringify and toString, but catches exceptions\n * (e.g. from circular objects) and always returns a string and never throws.\n */\nexport function createStringifySafeWithLimits(limits: {|\n maxDepth?: number,\n maxStringLimit?: number,\n maxArrayLimit?: number,\n maxObjectKeysLimit?: number,\n|}): mixed => string {\n const {\n maxDepth = Number.POSITIVE_INFINITY,\n maxStringLimit = Number.POSITIVE_INFINITY,\n maxArrayLimit = Number.POSITIVE_INFINITY,\n maxObjectKeysLimit = Number.POSITIVE_INFINITY,\n } = limits;\n const stack: Array<\n string | {+[string]: mixed} | {'...(truncated keys)...': number},\n > = [];\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n function replacer(key: string, value: mixed): mixed {\n while (stack.length && this !== stack[0]) {\n stack.shift();\n }\n\n if (typeof value === 'string') {\n const truncatedString = '...(truncated)...';\n if (value.length > maxStringLimit + truncatedString.length) {\n return value.substring(0, maxStringLimit) + truncatedString;\n }\n return value;\n }\n if (typeof value !== 'object' || value === null) {\n return value;\n }\n\n let retval:\n | string\n | {+[string]: mixed}\n | $TEMPORARY$object<{'...(truncated keys)...': number}> = value;\n if (Array.isArray(value)) {\n if (stack.length >= maxDepth) {\n retval = `[ ... array with ${value.length} values ... ]`;\n } else if (value.length > maxArrayLimit) {\n retval = value\n .slice(0, maxArrayLimit)\n .concat([\n `... extra ${value.length - maxArrayLimit} values truncated ...`,\n ]);\n }\n } else {\n // Add refinement after Array.isArray call.\n invariant(typeof value === 'object', 'This was already found earlier');\n let keys = Object.keys(value);\n if (stack.length >= maxDepth) {\n retval = `{ ... object with ${keys.length} keys ... }`;\n } else if (keys.length > maxObjectKeysLimit) {\n // Return a sample of the keys.\n retval = ({}: {[string]: mixed});\n for (let k of keys.slice(0, maxObjectKeysLimit)) {\n retval[k] = value[k];\n }\n const truncatedKey = '...(truncated keys)...';\n retval[truncatedKey] = keys.length - maxObjectKeysLimit;\n }\n }\n stack.unshift(retval);\n return retval;\n }\n\n return function stringifySafe(arg: mixed): string {\n if (arg === undefined) {\n return 'undefined';\n } else if (arg === null) {\n return 'null';\n } else if (typeof arg === 'function') {\n try {\n return arg.toString();\n } catch (e) {\n return '[function unknown]';\n }\n } else if (arg instanceof Error) {\n return arg.name + ': ' + arg.message;\n } else {\n // Perform a try catch, just in case the object has a circular\n // reference or stringify throws for some other reason.\n try {\n const ret = JSON.stringify(arg, replacer);\n if (ret === undefined) {\n return '[\"' + typeof arg + '\" failed to stringify]';\n }\n return ret;\n } catch (e) {\n if (typeof arg.toString === 'function') {\n try {\n // $FlowFixMe[incompatible-use] : toString shouldn't take any arguments in general.\n return arg.toString();\n } catch (E) {}\n }\n }\n }\n return '[\"' + typeof arg + '\" failed to stringify]';\n };\n}\n\nconst stringifySafe: mixed => string = createStringifySafeWithLimits({\n maxDepth: 10,\n maxStringLimit: 100,\n maxArrayLimit: 50,\n maxObjectKeysLimit: 50,\n});\n\nexport default stringifySafe;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Defines a lazily evaluated property on the supplied `object`.\n */\nfunction defineLazyObjectProperty(\n object: interface {},\n name: string,\n descriptor: {\n get: () => T,\n enumerable?: boolean,\n writable?: boolean,\n ...\n },\n): void {\n const {get} = descriptor;\n const enumerable = descriptor.enumerable !== false;\n const writable = descriptor.writable !== false;\n\n let value;\n let valueSet = false;\n function getValue(): T {\n // WORKAROUND: A weird infinite loop occurs where calling `getValue` calls\n // `setValue` which calls `Object.defineProperty` which somehow triggers\n // `getValue` again. Adding `valueSet` breaks this loop.\n if (!valueSet) {\n // Calling `get()` here can trigger an infinite loop if it fails to\n // remove the getter on the property, which can happen when executing\n // JS in a V8 context. `valueSet = true` will break this loop, and\n // sets the value of the property to undefined, until the code in `get()`\n // finishes, at which point the property is set to the correct value.\n valueSet = true;\n setValue(get());\n }\n return value;\n }\n function setValue(newValue: T): void {\n value = newValue;\n valueSet = true;\n Object.defineProperty(object, name, {\n value: newValue,\n configurable: true,\n enumerable,\n writable,\n });\n }\n\n Object.defineProperty(object, name, {\n get: getValue,\n set: setValue,\n configurable: true,\n enumerable,\n });\n}\n\nmodule.exports = defineLazyObjectProperty;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeAccessibilityManager from './NativeAccessibilityManager';\n\n/**\n * This is a function exposed to the React Renderer that can be used by the\n * pre-Fabric renderer to emit accessibility events to pre-Fabric nodes.\n */\nfunction legacySendAccessibilityEvent(\n reactTag: number,\n eventType: string,\n): void {\n if (eventType === 'focus' && NativeAccessibilityManager) {\n NativeAccessibilityManager.setAccessibilityFocus(reactTag);\n }\n}\n\nmodule.exports = legacySendAccessibilityEvent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getCurrentBoldTextState: (\n onSuccess: (isBoldTextEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentGrayscaleState: (\n onSuccess: (isGrayscaleEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentInvertColorsState: (\n onSuccess: (isInvertColorsEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceMotionState: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentPrefersCrossFadeTransitionsState?: (\n onSuccess: (prefersCrossFadeTransitions: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentReduceTransparencyState: (\n onSuccess: (isReduceTransparencyEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +getCurrentVoiceOverState: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n onError: (error: Object) => void,\n ) => void;\n +setAccessibilityContentSizeMultipliers: (JSMultipliers: {|\n +extraSmall?: ?number,\n +small?: ?number,\n +medium?: ?number,\n +large?: ?number,\n +extraLarge?: ?number,\n +extraExtraLarge?: ?number,\n +extraExtraExtraLarge?: ?number,\n +accessibilityMedium?: ?number,\n +accessibilityLarge?: ?number,\n +accessibilityExtraLarge?: ?number,\n +accessibilityExtraExtraLarge?: ?number,\n +accessibilityExtraExtraExtraLarge?: ?number,\n |}) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n +announceForAccessibilityWithOptions?: (\n announcement: string,\n options: {queue?: boolean},\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +isReduceMotionEnabled: (\n onSuccess: (isReduceMotionEnabled: boolean) => void,\n ) => void;\n +isTouchExplorationEnabled: (\n onSuccess: (isScreenReaderEnabled: boolean) => void,\n ) => void;\n +isAccessibilityServiceEnabled?: ?(\n onSuccess: (isAccessibilityServiceEnabled: boolean) => void,\n ) => void;\n +setAccessibilityFocus: (reactTag: number) => void;\n +announceForAccessibility: (announcement: string) => void;\n +getRecommendedTimeoutMillis?: (\n mSec: number,\n onSuccess: (recommendedTimeoutMillis: number) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AccessibilityInfo'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n/**\n * This module exists to allow apps to select their renderer implementation\n * (e.g.: Fabric-only, Paper-only) without having to pull all the renderer\n * implementations into their app bundle, which affects app size.\n *\n * By default, the setup will be:\n * -> RendererProxy\n * -> RendererImplementation (which uses Fabric or Paper depending on a flag at runtime)\n *\n * But this will allow a setup like this without duplicating logic:\n * -> RendererProxy (fork)\n * -> RendererImplementation (which uses Fabric or Paper depending on a flag at runtime)\n * or -> OtherImplementation (which uses Fabric only)\n */\n\nexport * from './RendererImplementation';\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {Element, ElementRef, ElementType} from 'react';\n\nimport {type RootTag} from './RootTag';\n\nexport function renderElement({\n element,\n rootTag,\n useFabric,\n useConcurrentRoot,\n}: {\n element: Element,\n rootTag: number,\n useFabric: boolean,\n useConcurrentRoot: boolean,\n}): void {\n if (useFabric) {\n require('../Renderer/shims/ReactFabric').render(\n element,\n rootTag,\n null,\n useConcurrentRoot,\n );\n } else {\n require('../Renderer/shims/ReactNative').render(element, rootTag);\n }\n}\n\nexport function findHostInstance_DEPRECATED(\n componentOrHandle: ?(ElementRef | number),\n): ?ElementRef> {\n return require('../Renderer/shims/ReactNative').findHostInstance_DEPRECATED(\n componentOrHandle,\n );\n}\n\nexport function findNodeHandle(\n componentOrHandle: ?(ElementRef | number),\n): ?number {\n return require('../Renderer/shims/ReactNative').findNodeHandle(\n componentOrHandle,\n );\n}\n\nexport function dispatchCommand(\n handle: ElementRef>,\n command: string,\n args: Array,\n): void {\n if (global.RN$Bridgeless === true) {\n // Note: this function has the same implementation in the legacy and new renderer.\n // However, evaluating the old renderer comes with some side effects.\n return require('../Renderer/shims/ReactFabric').dispatchCommand(\n handle,\n command,\n args,\n );\n } else {\n return require('../Renderer/shims/ReactNative').dispatchCommand(\n handle,\n command,\n args,\n );\n }\n}\n\nexport function sendAccessibilityEvent(\n handle: ElementRef>,\n eventType: string,\n): void {\n return require('../Renderer/shims/ReactNative').sendAccessibilityEvent(\n handle,\n eventType,\n );\n}\n\n/**\n * This method is used by AppRegistry to unmount a root when using the old\n * React Native renderer (Paper).\n */\nexport function unmountComponentAtNodeAndRemoveContainer(rootTag: RootTag) {\n // $FlowExpectedError[incompatible-type] rootTag is an opaque type so we can't really cast it as is.\n const rootTagAsNumber: number = rootTag;\n require('../Renderer/shims/ReactNative').unmountComponentAtNodeAndRemoveContainer(\n rootTagAsNumber,\n );\n}\n\nexport function unstable_batchedUpdates(\n fn: T => void,\n bookkeeping: T,\n): void {\n // This doesn't actually do anything when batching updates for a Fabric root.\n return require('../Renderer/shims/ReactNative').unstable_batchedUpdates(\n fn,\n bookkeeping,\n );\n}\n\nexport function isProfilingRenderer(): boolean {\n return Boolean(__DEV__);\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noformat\n * @flow\n * @generated SignedSource<>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport {BatchedBridge} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\n\nimport type {ReactFabricType} from './ReactNativeTypes';\n\nlet ReactFabric;\n\nif (__DEV__) {\n ReactFabric = require('../implementations/ReactFabric-dev');\n} else {\n ReactFabric = require('../implementations/ReactFabric-prod');\n}\n\nif (global.RN$Bridgeless) {\n global.RN$stopSurface = ReactFabric.stopSurface;\n} else {\n BatchedBridge.registerCallableModule('ReactFabric', ReactFabric);\n}\n\nmodule.exports = (ReactFabric: ReactFabricType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @nolint\n * @providesModule ReactFabric-prod\n * @preventMunge\n * @generated SignedSource<>\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar isArrayImpl = Array.isArray,\n getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (isArrayImpl(dispatchListener))\n throw Error(\"executeDirectDispatch(...): Invalid `event`.\");\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nvar assign = Object.assign;\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n this._dispatchInstances = this._dispatchListeners = null;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nassign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction createOrGetPooledEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeInst\n) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw Error(\n \"Trying to release an event instance into a pool of a different type.\"\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.getPooled = createOrGetPooledEvent;\n EventConstructor.eventPool = [];\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref) throw Error(\"Touch object is missing identifier.\");\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nvar instrumentationCallback,\n ResponderTouchHistoryStore = {\n instrument: function(callback) {\n instrumentationCallback = callback;\n },\n recordTouchTrack: function(topLevelType, nativeEvent) {\n null != instrumentationCallback &&\n instrumentationCallback(topLevelType, nativeEvent);\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (\n topLevelType = 0;\n topLevelType < touchBank.length;\n topLevelType++\n )\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n };\nfunction accumulate(current, next) {\n if (null == next)\n throw Error(\n \"accumulate(...): Accumulated items must not be null or undefined.\"\n );\n return null == current\n ? next\n : isArrayImpl(current)\n ? current.concat(next)\n : isArrayImpl(next)\n ? [current].concat(next)\n : [current, next];\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n );\n if (null == current) return next;\n if (isArrayImpl(current)) {\n if (isArrayImpl(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return isArrayImpl(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: { registrationName: \"onResponderReject\", dependencies: [] },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n};\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction getListener(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nvar ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else return null;\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var shouldSetEventType = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp = getParent(JSCompiler_temp)), depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp === targetInst ||\n JSCompiler_temp === targetInst.alternate\n )\n break b;\n JSCompiler_temp = getParent(JSCompiler_temp);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp = null;\n }\n else JSCompiler_temp = targetInst;\n targetInst = JSCompiler_temp;\n JSCompiler_temp = targetInst === responderInst;\n shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n JSCompiler_temp\n ? forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = shouldSetEventType._dispatchListeners;\n targetInst = shouldSetEventType._dispatchInstances;\n if (isArrayImpl(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !shouldSetEventType.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](shouldSetEventType, targetInst[depthA])\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(shouldSetEventType, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n shouldSetEventType._dispatchInstances = null;\n shouldSetEventType._dispatchListeners = null;\n shouldSetEventType.isPersistent() ||\n shouldSetEventType.constructor.release(shouldSetEventType);\n if (JSCompiler_temp && JSCompiler_temp !== responderInst)\n if (\n ((shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (targetInst = !0 === executeDirectDispatch(shouldSetEventType)),\n responderInst)\n )\n if (\n ((depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (depthA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle),\n (tempA =\n !depthA._dispatchListeners || executeDirectDispatch(depthA)),\n depthA.isPersistent() || depthA.constructor.release(depthA),\n tempA)\n ) {\n depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n );\n depthA.touchHistory = ResponderTouchHistoryStore.touchHistory;\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle);\n var JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [shouldSetEventType, depthA]\n );\n changeResponder(JSCompiler_temp, targetInst);\n } else\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n else\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n )),\n changeResponder(JSCompiler_temp, targetInst);\n else JSCompiler_temp$jscomp$0 = null;\n } else JSCompiler_temp$jscomp$0 = null;\n shouldSetEventType = responderInst && isStartish(topLevelType);\n JSCompiler_temp = responderInst && isMoveish(topLevelType);\n targetInst =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (shouldSetEventType = shouldSetEventType\n ? eventTypes.responderStart\n : JSCompiler_temp\n ? eventTypes.responderMove\n : targetInst\n ? eventTypes.responderEnd\n : null)\n )\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n shouldSetEventType = responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !shouldSetEventType &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (\n JSCompiler_temp = 0;\n JSCompiler_temp < topLevelType.length;\n JSCompiler_temp++\n )\n if (\n ((targetInst = topLevelType[JSCompiler_temp].target),\n null !== targetInst &&\n void 0 !== targetInst &&\n 0 !== targetInst)\n ) {\n depthA = getInstanceFromNode(targetInst);\n b: {\n for (targetInst = responderInst; depthA; ) {\n if (\n targetInst === depthA ||\n targetInst === depthA.alternate\n ) {\n targetInst = !0;\n break b;\n }\n depthA = getParent(depthA);\n }\n targetInst = !1;\n }\n if (targetInst) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = shouldSetEventType\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n nativeEvent\n )),\n changeResponder(null);\n return JSCompiler_temp$jscomp$0;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (-1 >= pluginIndex)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n (pluginName + \"`.\")\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n (pluginName + \"` does not.\")\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same event name, `\" +\n (eventName$jscomp$0 + \"`.\")\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same registration name, `\" +\n (registrationName + \"`.\")\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction getListeners(\n inst,\n registrationName,\n phase,\n dispatchToImperativeListeners\n) {\n var stateNode = inst.stateNode;\n if (null === stateNode) return null;\n inst = getFiberCurrentPropsFromNode(stateNode);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n if (\n !(\n dispatchToImperativeListeners &&\n stateNode.canonical &&\n stateNode.canonical._eventListeners\n )\n )\n return inst;\n var listeners = [];\n inst && listeners.push(inst);\n var requestedPhaseIsCapture = \"captured\" === phase,\n mangledImperativeRegistrationName = requestedPhaseIsCapture\n ? \"rn:\" + registrationName.replace(/Capture$/, \"\")\n : \"rn:\" + registrationName;\n stateNode.canonical._eventListeners[mangledImperativeRegistrationName] &&\n 0 <\n stateNode.canonical._eventListeners[mangledImperativeRegistrationName]\n .length &&\n stateNode.canonical._eventListeners[\n mangledImperativeRegistrationName\n ].forEach(function(listenerObj) {\n if (\n (null != listenerObj.options.capture && listenerObj.options.capture) ===\n requestedPhaseIsCapture\n ) {\n var listenerFnWrapper = function(syntheticEvent) {\n var eventInst = new ReactNativePrivateInterface.CustomEvent(\n mangledImperativeRegistrationName,\n { detail: syntheticEvent.nativeEvent }\n );\n eventInst.isTrusted = !0;\n eventInst.setSyntheticEvent(syntheticEvent);\n for (\n var _len = arguments.length,\n args = Array(1 < _len ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n )\n args[_key - 1] = arguments[_key];\n listenerObj.listener.apply(listenerObj, [eventInst].concat(args));\n };\n listenerObj.options.once\n ? listeners.push(function() {\n stateNode.canonical.removeEventListener_unstable(\n mangledImperativeRegistrationName,\n listenerObj.listener,\n listenerObj.capture\n );\n listenerObj.invalidated ||\n ((listenerObj.invalidated = !0),\n listenerObj.listener.apply(listenerObj, arguments));\n })\n : listeners.push(listenerFnWrapper);\n }\n });\n return 0 === listeners.length\n ? null\n : 1 === listeners.length\n ? listeners[0]\n : listeners;\n}\nvar customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\nfunction accumulateListenersAndInstances(inst, event, listeners) {\n var listenersLength = listeners\n ? isArrayImpl(listeners)\n ? listeners.length\n : 1\n : 0;\n if (0 < listenersLength)\n if (\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listeners\n )),\n null == event._dispatchInstances && 1 === listenersLength)\n )\n event._dispatchInstances = inst;\n else\n for (\n event._dispatchInstances = event._dispatchInstances || [],\n isArrayImpl(event._dispatchInstances) ||\n (event._dispatchInstances = [event._dispatchInstances]),\n listeners = 0;\n listeners < listenersLength;\n listeners++\n )\n event._dispatchInstances.push(inst);\n}\nfunction accumulateDirectionalDispatches$1(inst, phase, event) {\n phase = getListeners(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase],\n phase,\n !0\n );\n accumulateListenersAndInstances(inst, event, phase);\n}\nfunction traverseTwoPhase$1(inst, fn, arg, skipBubbling) {\n for (var path = []; inst; ) {\n path.push(inst);\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n inst = inst ? inst : null;\n }\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n if (skipBubbling) fn(path[0], \"bubbled\", arg);\n else\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction accumulateTwoPhaseDispatchesSingle$1(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase$1(\n event._targetInst,\n accumulateDirectionalDispatches$1,\n event,\n !1\n );\n}\nfunction accumulateDirectDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listeners = getListeners(\n inst,\n event.dispatchConfig.registrationName,\n \"bubbled\",\n !1\n );\n accumulateListenersAndInstances(inst, event, listeners);\n }\n }\n}\nif (eventPluginOrder)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n );\neventPluginOrder = Array.prototype.slice.call([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\nrecomputePluginOrdering();\nvar injectedNamesToPlugins$jscomp$inline_223 = {\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n null != topLevelType &&\n null != topLevelType.dispatchConfig.phasedRegistrationNames &&\n topLevelType.dispatchConfig.phasedRegistrationNames.skipBubbling\n ? topLevelType &&\n topLevelType.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase$1(\n topLevelType._targetInst,\n accumulateDirectionalDispatches$1,\n topLevelType,\n !0\n )\n : forEachAccumulated(\n topLevelType,\n accumulateTwoPhaseDispatchesSingle$1\n );\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle$1);\n else return null;\n return topLevelType;\n }\n }\n },\n isOrderingDirty$jscomp$inline_224 = !1,\n pluginName$jscomp$inline_225;\nfor (pluginName$jscomp$inline_225 in injectedNamesToPlugins$jscomp$inline_223)\n if (\n injectedNamesToPlugins$jscomp$inline_223.hasOwnProperty(\n pluginName$jscomp$inline_225\n )\n ) {\n var pluginModule$jscomp$inline_226 =\n injectedNamesToPlugins$jscomp$inline_223[pluginName$jscomp$inline_225];\n if (\n !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_225) ||\n namesToPlugins[pluginName$jscomp$inline_225] !==\n pluginModule$jscomp$inline_226\n ) {\n if (namesToPlugins[pluginName$jscomp$inline_225])\n throw Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n (pluginName$jscomp$inline_225 + \"`.\")\n );\n namesToPlugins[\n pluginName$jscomp$inline_225\n ] = pluginModule$jscomp$inline_226;\n isOrderingDirty$jscomp$inline_224 = !0;\n }\n }\nisOrderingDirty$jscomp$inline_224 && recomputePluginOrdering();\nfunction getInstanceFromInstance(instanceHandle) {\n return instanceHandle;\n}\ngetFiberCurrentPropsFromNode = function(inst) {\n return inst.canonical.currentProps;\n};\ngetInstanceFromNode = getInstanceFromInstance;\ngetNodeFromInstance = function(inst) {\n inst = inst.stateNode.canonical;\n if (!inst._nativeTag) throw Error(\"All native instances should have a tag.\");\n return inst;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n var fromOrTo = from || to;\n (fromOrTo = fromOrTo && fromOrTo.stateNode) &&\n fromOrTo.canonical._internalInstanceHandle\n ? (from &&\n nativeFabricUIManager.setIsJSResponder(\n from.stateNode.node,\n !1,\n blockNativeResponder || !1\n ),\n to &&\n nativeFabricUIManager.setIsJSResponder(\n to.stateNode.node,\n !0,\n blockNativeResponder || !1\n ))\n : null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode.canonical._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n REACT_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_PROVIDER_TYPE = Symbol.for(\"react.provider\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nSymbol.for(\"react.scope\");\nSymbol.for(\"react.debug_trace_mode\");\nvar REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\");\nSymbol.for(\"react.legacy_hidden\");\nSymbol.for(\"react.cache\");\nSymbol.for(\"react.tracing_marker\");\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Consumer\";\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nfunction getComponentNameFromFiber(fiber) {\n var type = fiber.type;\n switch (fiber.tag) {\n case 24:\n return \"Cache\";\n case 9:\n return (type.displayName || \"Context\") + \".Consumer\";\n case 10:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case 18:\n return \"DehydratedFragment\";\n case 11:\n return (\n (fiber = type.render),\n (fiber = fiber.displayName || fiber.name || \"\"),\n type.displayName ||\n (\"\" !== fiber ? \"ForwardRef(\" + fiber + \")\" : \"ForwardRef\")\n );\n case 7:\n return \"Fragment\";\n case 5:\n return type;\n case 4:\n return \"Portal\";\n case 3:\n return \"Root\";\n case 6:\n return \"Text\";\n case 16:\n return getComponentNameFromType(type);\n case 8:\n return type === REACT_STRICT_MODE_TYPE ? \"StrictMode\" : \"Mode\";\n case 22:\n return \"Offscreen\";\n case 12:\n return \"Profiler\";\n case 21:\n return \"Scope\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 25:\n return \"TracingMarker\";\n case 1:\n case 0:\n case 17:\n case 2:\n case 14:\n case 15:\n if (\"function\" === typeof type)\n return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n }\n return null;\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 4098) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(\"Unable to find node on an unmounted component.\");\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate)\n throw Error(\"Unable to find node on an unmounted component.\");\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild) {\n for (child$0 = parentB.child; child$0; ) {\n if (child$0 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$0 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$0 = child$0.sibling;\n }\n if (!didFindChild)\n throw Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n );\n }\n }\n if (a.alternate !== b)\n throw Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (3 !== a.tag)\n throw Error(\"Unable to find node on an unmounted component.\");\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n return null !== parent ? findCurrentHostFiberImpl(parent) : null;\n}\nfunction findCurrentHostFiberImpl(node) {\n if (5 === node.tag || 6 === node.tag) return node;\n for (node = node.child; null !== node; ) {\n var match = findCurrentHostFiberImpl(node);\n if (null !== match) return match;\n node = node.sibling;\n }\n return null;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0,\n deepDifferOptions = { unsafelyIgnoreFunctions: !0 };\nfunction defaultDiffer(prevProp, nextProp) {\n return \"object\" !== typeof nextProp || null === nextProp\n ? !0\n : ReactNativePrivateInterface.deepDiffer(\n prevProp,\n nextProp,\n deepDifferOptions\n );\n}\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (isArrayImpl(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return isArrayImpl(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!isArrayImpl(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!isArrayImpl(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n defaultDiffer(prevProp, nextProp) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : defaultDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var propKey$2 in prevProps)\n void 0 === nextProps[propKey$2] &&\n (!(attributeConfig = validAttributes[propKey$2]) ||\n (updatePayload && void 0 !== updatePayload[propKey$2]) ||\n ((prevProp = prevProps[propKey$2]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[propKey$2] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[propKey$2] ||\n ((removedKeys[propKey$2] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n isInsideEventHandler = !1;\n }\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (isArrayImpl(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nfunction dispatchEvent(target, topLevelType, nativeEvent) {\n var eventTarget = null;\n if (null != target) {\n var stateNode = target.stateNode;\n null != stateNode && (eventTarget = stateNode.canonical);\n }\n batchedUpdates(function() {\n var event = { eventName: topLevelType, nativeEvent: nativeEvent };\n ReactNativePrivateInterface.RawEventEmitter.emit(topLevelType, event);\n ReactNativePrivateInterface.RawEventEmitter.emit(\"*\", event);\n event = eventTarget;\n for (\n var events = null, legacyPlugins = plugins, i = 0;\n i < legacyPlugins.length;\n i++\n ) {\n var possiblePlugin = legacyPlugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n target,\n nativeEvent,\n event\n )) &&\n (events = accumulateInto(events, possiblePlugin));\n }\n event = events;\n null !== event && (eventQueue = accumulateInto(eventQueue, event));\n event = eventQueue;\n eventQueue = null;\n if (event) {\n forEachAccumulated(event, executeDispatchesAndReleaseTopLevel);\n if (eventQueue)\n throw Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n );\n if (hasRethrowError)\n throw ((event = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n event);\n }\n });\n}\nvar scheduleCallback = Scheduler.unstable_scheduleCallback,\n cancelCallback = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority = Scheduler.unstable_NormalPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n rendererID = null,\n injectedHook = null;\nfunction onCommitRoot(root) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n try {\n injectedHook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 128 === (root.current.flags & 128)\n );\n } catch (err) {}\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(x) {\n x >>>= 0;\n return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n}\nvar nextTransitionLane = 64,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 4194240;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return lanes & 130023424;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 1073741824;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n nonIdlePendingLanes = pendingLanes & 268435455;\n if (0 !== nonIdlePendingLanes) {\n var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;\n 0 !== nonIdleUnblockedLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes)));\n } else\n (nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes));\n if (0 === nextLanes) return 0;\n if (\n 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (pingedLanes = wipLanes & -wipLanes),\n suspendedLanes >= pingedLanes ||\n (16 === suspendedLanes && 0 !== (pingedLanes & 4194240)))\n )\n return wipLanes;\n 0 !== (nextLanes & 4) && (nextLanes |= pendingLanes & 16);\n wipLanes = root.entangledLanes;\n if (0 !== wipLanes)\n for (root = root.entanglements, wipLanes &= nextLanes; 0 < wipLanes; )\n (pendingLanes = 31 - clz32(wipLanes)),\n (suspendedLanes = 1 << pendingLanes),\n (nextLanes |= root[pendingLanes]),\n (wipLanes &= ~suspendedLanes);\n return nextLanes;\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n return currentTime + 250;\n case 8:\n case 16:\n case 32:\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return -1;\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction getLanesToRetrySynchronouslyOnError(root) {\n root = root.pendingLanes & -1073741825;\n return 0 !== root ? root : root & 1073741824 ? 1073741824 : 0;\n}\nfunction claimNextTransitionLane() {\n var lane = nextTransitionLane;\n nextTransitionLane <<= 1;\n 0 === (nextTransitionLane & 4194240) && (nextTransitionLane = 64);\n return lane;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated(root, updateLane, eventTime) {\n root.pendingLanes |= updateLane;\n 536870912 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0));\n root = root.eventTimes;\n updateLane = 31 - clz32(updateLane);\n root[updateLane] = eventTime;\n}\nfunction markRootFinished(root, remainingLanes) {\n var noLongerPendingLanes = root.pendingLanes & ~remainingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.mutableReadLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n remainingLanes = root.entanglements;\n var eventTimes = root.eventTimes;\n for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {\n var index$7 = 31 - clz32(noLongerPendingLanes),\n lane = 1 << index$7;\n remainingLanes[index$7] = 0;\n eventTimes[index$7] = -1;\n root[index$7] = -1;\n noLongerPendingLanes &= ~lane;\n }\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$8 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$8;\n (lane & entangledLanes) | (root[index$8] & entangledLanes) &&\n (root[index$8] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nvar currentUpdatePriority = 0;\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 1 < lanes\n ? 4 < lanes\n ? 0 !== (lanes & 268435455)\n ? 16\n : 536870912\n : 4\n : 1;\n}\nfunction shim$1() {\n throw Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nvar _nativeFabricUIManage = nativeFabricUIManager,\n createNode = _nativeFabricUIManage.createNode,\n cloneNode = _nativeFabricUIManage.cloneNode,\n cloneNodeWithNewChildren = _nativeFabricUIManage.cloneNodeWithNewChildren,\n cloneNodeWithNewChildrenAndProps =\n _nativeFabricUIManage.cloneNodeWithNewChildrenAndProps,\n cloneNodeWithNewProps = _nativeFabricUIManage.cloneNodeWithNewProps,\n createChildNodeSet = _nativeFabricUIManage.createChildSet,\n appendChildNode = _nativeFabricUIManage.appendChild,\n appendChildNodeToSet = _nativeFabricUIManage.appendChildToSet,\n completeRoot = _nativeFabricUIManage.completeRoot,\n registerEventHandler = _nativeFabricUIManage.registerEventHandler,\n fabricMeasure = _nativeFabricUIManage.measure,\n fabricMeasureInWindow = _nativeFabricUIManage.measureInWindow,\n fabricMeasureLayout = _nativeFabricUIManage.measureLayout,\n FabricDiscretePriority = _nativeFabricUIManage.unstable_DiscreteEventPriority,\n fabricGetCurrentEventPriority =\n _nativeFabricUIManage.unstable_getCurrentEventPriority,\n getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n nextReactTag = 2;\nregisterEventHandler && registerEventHandler(dispatchEvent);\nvar ReactFabricHostComponent = (function() {\n function ReactFabricHostComponent(\n tag,\n viewConfig,\n props,\n internalInstanceHandle\n ) {\n this._nativeTag = tag;\n this.viewConfig = viewConfig;\n this.currentProps = props;\n this._internalInstanceHandle = internalInstanceHandle;\n }\n var _proto = ReactFabricHostComponent.prototype;\n _proto.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this);\n };\n _proto.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this);\n };\n _proto.measure = function(callback) {\n var stateNode = this._internalInstanceHandle.stateNode;\n null != stateNode &&\n fabricMeasure(\n stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureInWindow = function(callback) {\n var stateNode = this._internalInstanceHandle.stateNode;\n null != stateNode &&\n fabricMeasureInWindow(\n stateNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureLayout = function(relativeToNativeNode, onSuccess, onFail) {\n if (\n \"number\" !== typeof relativeToNativeNode &&\n relativeToNativeNode instanceof ReactFabricHostComponent\n ) {\n var toStateNode = this._internalInstanceHandle.stateNode;\n relativeToNativeNode =\n relativeToNativeNode._internalInstanceHandle.stateNode;\n null != toStateNode &&\n null != relativeToNativeNode &&\n fabricMeasureLayout(\n toStateNode.node,\n relativeToNativeNode.node,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n }\n };\n _proto.setNativeProps = function() {};\n _proto.addEventListener_unstable = function(eventType, listener, options) {\n if (\"string\" !== typeof eventType)\n throw Error(\"addEventListener_unstable eventType must be a string\");\n if (\"function\" !== typeof listener)\n throw Error(\"addEventListener_unstable listener must be a function\");\n var optionsObj =\n \"object\" === typeof options && null !== options ? options : {};\n options =\n (\"boolean\" === typeof options ? options : optionsObj.capture) || !1;\n var once = optionsObj.once || !1;\n optionsObj = optionsObj.passive || !1;\n var eventListeners = this._eventListeners || {};\n null == this._eventListeners && (this._eventListeners = eventListeners);\n var namedEventListeners = eventListeners[eventType] || [];\n null == eventListeners[eventType] &&\n (eventListeners[eventType] = namedEventListeners);\n namedEventListeners.push({\n listener: listener,\n invalidated: !1,\n options: {\n capture: options,\n once: once,\n passive: optionsObj,\n signal: null\n }\n });\n };\n _proto.removeEventListener_unstable = function(eventType, listener, options) {\n var optionsObj =\n \"object\" === typeof options && null !== options ? options : {},\n capture =\n (\"boolean\" === typeof options ? options : optionsObj.capture) || !1;\n (options = this._eventListeners) &&\n (optionsObj = options[eventType]) &&\n (options[eventType] = optionsObj.filter(function(listenerObj) {\n return !(\n listenerObj.listener === listener &&\n listenerObj.options.capture === capture\n );\n }));\n };\n return ReactFabricHostComponent;\n})();\nfunction createTextInstance(\n text,\n rootContainerInstance,\n hostContext,\n internalInstanceHandle\n) {\n hostContext = nextReactTag;\n nextReactTag += 2;\n return {\n node: createNode(\n hostContext,\n \"RCTRawText\",\n rootContainerInstance,\n { text: text },\n internalInstanceHandle\n )\n };\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout;\nfunction cloneHiddenInstance(instance) {\n var node = instance.node;\n var JSCompiler_inline_result = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n instance.canonical.viewConfig.validAttributes\n );\n return {\n node: cloneNodeWithNewProps(node, JSCompiler_inline_result),\n canonical: instance.canonical\n };\n}\nfunction describeComponentFrame(name, source, ownerName) {\n source = \"\";\n ownerName && (source = \" (created by \" + ownerName + \")\");\n return \"\\n in \" + (name || \"Unknown\") + source;\n}\nfunction describeFunctionComponentFrame(fn, source) {\n return fn\n ? describeComponentFrame(fn.displayName || fn.name || null, source, null)\n : \"\";\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = createCursor(emptyContextObject),\n didPerformWorkStackCursor = createCursor(!1),\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext() {\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n );\n push(contextStackCursor, context);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n type = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in type))\n throw Error(\n (getComponentNameFromFiber(fiber) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n );\n return assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n workInProgress =\n ((workInProgress = workInProgress.stateNode) &&\n workInProgress.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didPerformWorkStackCursor.current);\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n );\n didChange\n ? ((workInProgress = processChildContext(\n workInProgress,\n type,\n previousContext\n )),\n (instance.__reactInternalMemoizedMergedChildContext = workInProgress),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n push(contextStackCursor, workInProgress))\n : pop(didPerformWorkStackCursor);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n syncQueue = null,\n includesLegacySyncCallbacks = !1,\n isFlushingSyncQueue = !1;\nfunction flushSyncCallbacks() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0,\n previousUpdatePriority = currentUpdatePriority;\n try {\n var queue = syncQueue;\n for (currentUpdatePriority = 1; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n syncQueue = null;\n includesLegacySyncCallbacks = !1;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n error);\n } finally {\n (currentUpdatePriority = previousUpdatePriority),\n (isFlushingSyncQueue = !1);\n }\n }\n return null;\n}\nvar forkStack = [],\n forkStackIndex = 0,\n treeForkProvider = null,\n idStack = [],\n idStackIndex = 0,\n treeContextProvider = null;\nfunction popTreeContext(workInProgress) {\n for (; workInProgress === treeForkProvider; )\n (treeForkProvider = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null),\n --forkStackIndex,\n (forkStack[forkStackIndex] = null);\n for (; workInProgress === treeContextProvider; )\n (treeContextProvider = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n --idStackIndex,\n (idStack[idStackIndex] = null),\n --idStackIndex,\n (idStack[idStackIndex] = null);\n}\nvar hydrationErrors = null,\n ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++) {\n var currentKey = keysA[keysB];\n if (\n !hasOwnProperty.call(objB, currentKey) ||\n !objectIs(objA[currentKey], objB[currentKey])\n )\n return !1;\n }\n return !0;\n}\nfunction describeFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return describeComponentFrame(fiber.type, null, null);\n case 16:\n return describeComponentFrame(\"Lazy\", null, null);\n case 13:\n return describeComponentFrame(\"Suspense\", null, null);\n case 19:\n return describeComponentFrame(\"SuspenseList\", null, null);\n case 0:\n case 2:\n case 15:\n return describeFunctionComponentFrame(fiber.type, null);\n case 11:\n return describeFunctionComponentFrame(fiber.type.render, null);\n case 1:\n return (fiber = describeFunctionComponentFrame(fiber.type, null)), fiber;\n default:\n return \"\";\n }\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n return baseProps;\n }\n return baseProps;\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastFullyObservedContext = null;\nfunction resetContextDependencies() {\n lastFullyObservedContext = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction popProvider(context) {\n var currentValue = valueCursor.current;\n pop(valueCursor);\n context._currentValue2 = currentValue;\n}\nfunction scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n (parent.childLanes & renderLanes) !== renderLanes\n ? ((parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes))\n : null !== alternate &&\n (alternate.childLanes & renderLanes) !== renderLanes &&\n (alternate.childLanes |= renderLanes);\n if (parent === propagationRoot) break;\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderLanes) {\n currentlyRenderingFiber = workInProgress;\n lastFullyObservedContext = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (0 !== (workInProgress.lanes & renderLanes) && (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context) {\n var value = context._currentValue2;\n if (lastFullyObservedContext !== context)\n if (\n ((context = { context: context, memoizedValue: value, next: null }),\n null === lastContextDependency)\n ) {\n if (null === currentlyRenderingFiber)\n throw Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n lastContextDependency = context;\n currentlyRenderingFiber.dependencies = {\n lanes: 0,\n firstContext: context\n };\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar concurrentQueues = null;\nfunction pushConcurrentUpdateQueue(queue) {\n null === concurrentQueues\n ? (concurrentQueues = [queue])\n : concurrentQueues.push(queue);\n}\nfunction enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update), pushConcurrentUpdateQueue(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n alternate = sourceFiber;\n for (sourceFiber = sourceFiber.return; null !== sourceFiber; )\n (sourceFiber.childLanes |= lane),\n (alternate = sourceFiber.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n (alternate = sourceFiber),\n (sourceFiber = sourceFiber.return);\n return 3 === alternate.tag ? alternate.stateNode : null;\n}\nvar hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, interleaved: null, lanes: 0 },\n effects: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n effects: current.effects\n });\n}\nfunction createUpdate(eventTime, lane) {\n return {\n eventTime: eventTime,\n lane: lane,\n tag: 0,\n payload: null,\n callback: null,\n next: null\n };\n}\nfunction enqueueUpdate(fiber, update, lane) {\n var updateQueue = fiber.updateQueue;\n if (null === updateQueue) return null;\n updateQueue = updateQueue.shared;\n if (0 !== (executionContext & 2)) {\n var pending = updateQueue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.pending = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n }\n pending = updateQueue.interleaved;\n null === pending\n ? ((update.next = update), pushConcurrentUpdateQueue(updateQueue))\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.interleaved = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194240))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n eventTime: queue.eventTime,\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: queue.callback,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n effects: current.effects\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance,\n renderLanes\n) {\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane,\n updateEventTime = pendingQueue.eventTime;\n if ((renderLanes & updateLane) === updateLane) {\n null !== current &&\n (current = current.next = {\n eventTime: updateEventTime,\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n updateEventTime = instance;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(\n updateEventTime,\n newState,\n updateLane\n );\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -65537) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(updateEventTime, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n null !== pendingQueue.callback &&\n 0 !== pendingQueue.lane &&\n ((workInProgress$jscomp$0.flags |= 64),\n (updateLane = queue.effects),\n null === updateLane\n ? (queue.effects = [pendingQueue])\n : updateLane.push(pendingQueue));\n } else\n (updateEventTime = {\n eventTime: updateEventTime,\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = updateEventTime),\n (lastPendingUpdate = newState))\n : (current = current.next = updateEventTime),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (updateLane = pendingQueue),\n (pendingQueue = updateLane.next),\n (updateLane.next = null),\n (queue.lastBaseUpdate = updateLane),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n props = queue.shared.interleaved;\n if (null !== props) {\n queue = props;\n do (lastBaseUpdate |= queue.lane), (queue = queue.next);\n while (queue !== props);\n } else null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n finishedWork = finishedQueue.effects;\n finishedQueue.effects = null;\n if (null !== finishedWork)\n for (\n finishedQueue = 0;\n finishedQueue < finishedWork.length;\n finishedQueue++\n ) {\n var effect = finishedWork[finishedQueue],\n callback = effect.callback;\n if (null !== callback) {\n effect.callback = null;\n if (\"function\" !== typeof callback)\n throw Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n callback\n );\n callback.call(instance);\n }\n }\n}\nvar emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternals)\n ? getNearestMountedFiber(component) === component\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane, eventTime),\n entangleTransitions(payload, inst, lane));\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane, eventTime),\n entangleTransitions(payload, inst, lane));\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n callback = enqueueUpdate(inst, update, lane);\n null !== callback &&\n (scheduleUpdateOnFiber(callback, inst, lane, eventTime),\n entangleTransitions(callback, inst, lane));\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternals = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(workInProgress, ctor, newProps, renderLanes) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n initializeUpdateQueue(workInProgress);\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n instance.state = workInProgress.memoizedState;\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n processUpdateQueue(workInProgress, newProps, instance, renderLanes),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4);\n}\nfunction coerceRef(returnFiber, current, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n if (element) {\n if (1 !== element.tag)\n throw Error(\n \"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\"\n );\n var inst = element.stateNode;\n }\n if (!inst)\n throw Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n );\n var resolvedInst = inst,\n stringRef = \"\" + returnFiber;\n if (\n null !== current &&\n null !== current.ref &&\n \"function\" === typeof current.ref &&\n current.ref._stringRef === stringRef\n )\n return current.ref;\n current = function(value) {\n var refs = resolvedInst.refs;\n refs === emptyRefsObject && (refs = resolvedInst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current._stringRef = stringRef;\n return current;\n }\n if (\"string\" !== typeof returnFiber)\n throw Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n );\n if (!element._owner)\n throw Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://reactjs.org/link/refs-must-have-owner for more information.\"\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n}\nfunction resolveLazy(lazyType) {\n var init = lazyType._init;\n return init(lazyType._payload);\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects)\n return (newFiber.flags |= 1048576), lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 2);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n );\n if (\n null !== current &&\n (current.elementType === elementType ||\n (\"object\" === typeof elementType &&\n null !== elementType &&\n elementType.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(elementType) === current.type))\n )\n return (\n (lanes = useFiber(current, element.props)),\n (lanes.ref = coerceRef(returnFiber, current, element)),\n (lanes.return = returnFiber),\n lanes\n );\n lanes = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n lanes.ref = coerceRef(returnFiber, current, element);\n lanes.return = returnFiber;\n return lanes;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(returnFiber, null, newChild)),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n case REACT_LAZY_TYPE:\n var init = newChild._init;\n return createChild(returnFiber, init(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_LAZY_TYPE:\n return (\n (key = newChild._init),\n updateSlot(returnFiber, oldFiber, key(newChild._payload), lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_LAZY_TYPE:\n var init = newChild._init;\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n init(newChild._payload),\n lanes\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n lanes\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw Error(\"An iterable object provided no iterator.\");\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n function reconcileChildFibers(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n ) {\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key &&\n (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n for (\n var key = newChild.key, child = currentFirstChild;\n null !== child;\n\n ) {\n if (child.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === child.tag) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild = useFiber(\n child,\n newChild.props.children\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n } else if (\n child.elementType === key ||\n (\"object\" === typeof key &&\n null !== key &&\n key.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(key) === child.type)\n ) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild = useFiber(child, newChild.props);\n currentFirstChild.ref = coerceRef(\n returnFiber,\n child,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, child);\n break;\n } else deleteChild(returnFiber, child);\n child = child.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (child = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === child)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || []\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return (\n (child = newChild._init),\n reconcileChildFibers(\n returnFiber,\n currentFirstChild,\n child(newChild._payload),\n lanes\n )\n );\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n ? ((newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(currentFirstChild, newChild)),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber))\n : deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return reconcileChildFibers;\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = createCursor(NO_CONTEXT),\n contextFiberStackCursor = createCursor(NO_CONTEXT),\n rootInstanceStackCursor = createCursor(NO_CONTEXT);\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor$1, NO_CONTEXT);\n pop(contextStackCursor$1);\n push(contextStackCursor$1, { isInAParentText: !1 });\n}\nfunction popHostContainer() {\n pop(contextStackCursor$1);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var JSCompiler_inline_result = fiber.type;\n JSCompiler_inline_result =\n \"AndroidTextInput\" === JSCompiler_inline_result ||\n \"RCTMultilineTextInputView\" === JSCompiler_inline_result ||\n \"RCTSinglelineTextInputView\" === JSCompiler_inline_result ||\n \"RCTText\" === JSCompiler_inline_result ||\n \"RCTVirtualText\" === JSCompiler_inline_result;\n JSCompiler_inline_result =\n context.isInAParentText !== JSCompiler_inline_result\n ? { isInAParentText: JSCompiler_inline_result }\n : context;\n context !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor$1, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1), pop(contextFiberStackCursor));\n}\nvar suspenseStackCursor = createCursor(0);\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (null !== state && (null === state.dehydrated || shim$1() || shim$1()))\n return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar workInProgressSources = [];\nfunction resetWorkInProgressVersions() {\n for (var i = 0; i < workInProgressSources.length; i++)\n workInProgressSources[i]._workInProgressVersionSecondary = null;\n workInProgressSources.length = 0;\n}\nvar ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig,\n renderLanes = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1,\n globalClientIdCounter = 0;\nfunction throwInvalidHookError() {\n throw Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber$1 = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactCurrentDispatcher$1.current =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n current = Component(props, secondArg);\n if (didScheduleRenderPhaseUpdateDuringThisPass) {\n nextRenderLanes = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (25 <= nextRenderLanes)\n throw Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n );\n nextRenderLanes += 1;\n workInProgressHook = currentHook = null;\n workInProgress.updateQueue = null;\n ReactCurrentDispatcher$1.current = HooksDispatcherOnRerender;\n current = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n workInProgress = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdate = !1;\n if (workInProgress)\n throw Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n );\n return current;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber$1.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber$1.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook)\n throw Error(\"Rendered more hooks than during the previous render.\");\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var current = currentHook,\n baseQueue = current.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n if (null !== baseQueue) {\n pendingQueue = baseQueue.next;\n current = current.baseState;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = pendingQueue;\n do {\n var updateLane = update.lane;\n if ((renderLanes & updateLane) === updateLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next = {\n lane: 0,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n (current = update.hasEagerState\n ? update.eagerState\n : reducer(current, update.action));\n else {\n var clone = {\n lane: updateLane,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n };\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = clone),\n (baseFirst = current))\n : (newBaseQueueLast = newBaseQueueLast.next = clone);\n currentlyRenderingFiber$1.lanes |= updateLane;\n workInProgressRootSkippedLanes |= updateLane;\n }\n update = update.next;\n } while (null !== update && update !== pendingQueue);\n null === newBaseQueueLast\n ? (baseFirst = current)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n objectIs(current, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = current;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = current;\n }\n reducer = queue.interleaved;\n if (null !== reducer) {\n baseQueue = reducer;\n do\n (pendingQueue = baseQueue.lane),\n (currentlyRenderingFiber$1.lanes |= pendingQueue),\n (workInProgressRootSkippedLanes |= pendingQueue),\n (baseQueue = baseQueue.next);\n while (baseQueue !== reducer);\n } else null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction updateMutableSource() {}\nfunction updateSyncExternalStore(subscribe, getSnapshot) {\n var fiber = currentlyRenderingFiber$1,\n hook = updateWorkInProgressHook(),\n nextSnapshot = getSnapshot(),\n snapshotChanged = !objectIs(hook.memoizedState, nextSnapshot);\n snapshotChanged &&\n ((hook.memoizedState = nextSnapshot), (didReceiveUpdate = !0));\n hook = hook.queue;\n updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [\n subscribe\n ]);\n if (\n hook.getSnapshot !== getSnapshot ||\n snapshotChanged ||\n (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1)\n ) {\n fiber.flags |= 2048;\n pushEffect(\n 9,\n updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot),\n void 0,\n null\n );\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n 0 !== (renderLanes & 30) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n }\n return nextSnapshot;\n}\nfunction pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |= 16384;\n fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n getSnapshot = currentlyRenderingFiber$1.updateQueue;\n null === getSnapshot\n ? ((getSnapshot = { lastEffect: null, stores: null }),\n (currentlyRenderingFiber$1.updateQueue = getSnapshot),\n (getSnapshot.stores = [fiber]))\n : ((renderedSnapshot = getSnapshot.stores),\n null === renderedSnapshot\n ? (getSnapshot.stores = [fiber])\n : renderedSnapshot.push(fiber));\n}\nfunction updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value = nextSnapshot;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n}\nfunction subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function() {\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n });\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction forceStoreRerender(fiber) {\n var root = markUpdateLaneFromFiberToRoot(fiber, 1);\n null !== root && scheduleUpdateOnFiber(root, fiber, 1, -1);\n}\nfunction mountState(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n hook.queue = initialState;\n initialState = initialState.dispatch = dispatchSetState.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n create = currentlyRenderingFiber$1.updateQueue;\n null === create\n ? ((create = { lastEffect: null, stores: null }),\n (currentlyRenderingFiber$1.updateQueue = create),\n (create.lastEffect = tag.next = tag))\n : ((destroy = create.lastEffect),\n null === destroy\n ? (create.lastEffect = tag.next = tag)\n : ((deps = destroy.next),\n (destroy.next = tag),\n (tag.next = deps),\n (create.lastEffect = tag)));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(\n 1 | hookFlags,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n hook.memoizedState = pushEffect(hookFlags, create, destroy, deps);\n return;\n }\n }\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);\n}\nfunction mountEffect(create, deps) {\n return mountEffectImpl(8390656, 8, create, deps);\n}\nfunction updateEffect(create, deps) {\n return updateEffectImpl(2048, 8, create, deps);\n}\nfunction updateInsertionEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 4, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n}\nfunction updateDeferredValueImpl(hook, prevValue, value) {\n if (0 === (renderLanes & 21))\n return (\n hook.baseState && ((hook.baseState = !1), (didReceiveUpdate = !0)),\n (hook.memoizedState = value)\n );\n objectIs(value, prevValue) ||\n ((value = claimNextTransitionLane()),\n (currentlyRenderingFiber$1.lanes |= value),\n (workInProgressRootSkippedLanes |= value),\n (hook.baseState = !0));\n return prevValue;\n}\nfunction startTransition(setPending, callback) {\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority =\n 0 !== previousPriority && 4 > previousPriority ? previousPriority : 4;\n setPending(!0);\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = {};\n try {\n setPending(!1), callback();\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$1.transition = prevTransition);\n }\n}\nfunction updateId() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction dispatchReducerAction(fiber, queue, action) {\n var lane = requestUpdateLane(fiber);\n action = {\n lane: lane,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, action);\n else if (\n ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)),\n null !== action)\n ) {\n var eventTime = requestEventTime();\n scheduleUpdateOnFiber(action, fiber, lane, eventTime);\n entangleTransitionUpdate(action, queue, lane);\n }\n}\nfunction dispatchSetState(fiber, queue, action) {\n var lane = requestUpdateLane(fiber),\n update = {\n lane: lane,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n else {\n var alternate = fiber.alternate;\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.hasEagerState = !0;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState)) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update), pushConcurrentUpdateQueue(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n return;\n }\n } catch (error) {\n } finally {\n }\n action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n null !== action &&\n ((update = requestEventTime()),\n scheduleUpdateOnFiber(action, fiber, lane, update),\n entangleTransitionUpdate(action, queue, lane));\n }\n}\nfunction isRenderPhaseUpdate(fiber) {\n var alternate = fiber.alternate;\n return (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n );\n}\nfunction enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0;\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n}\nfunction entangleTransitionUpdate(root, queue, lane) {\n if (0 !== (lane & 4194240)) {\n var queueLanes = queue.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n queue.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useInsertionEffect: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useMutableSource: throwInvalidHookError,\n useSyncExternalStore: throwInvalidHookError,\n useId: throwInvalidHookError,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, 4, create, deps);\n },\n useInsertionEffect: function(create, deps) {\n return mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n hook.queue = reducer;\n reducer = reducer.dispatch = dispatchReducerAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: mountState,\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n return (mountWorkInProgressHook().memoizedState = value);\n },\n useTransition: function() {\n var _mountState = mountState(!1),\n isPending = _mountState[0];\n _mountState = startTransition.bind(null, _mountState[1]);\n mountWorkInProgressHook().memoizedState = _mountState;\n return [isPending, _mountState];\n },\n useMutableSource: function() {},\n useSyncExternalStore: function(subscribe, getSnapshot) {\n var fiber = currentlyRenderingFiber$1,\n hook = mountWorkInProgressHook();\n var nextSnapshot = getSnapshot();\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n 0 !== (renderLanes & 30) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n hook.memoizedState = nextSnapshot;\n var inst = { value: nextSnapshot, getSnapshot: getSnapshot };\n hook.queue = inst;\n mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [\n subscribe\n ]);\n fiber.flags |= 2048;\n pushEffect(\n 9,\n updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot),\n void 0,\n null\n );\n return nextSnapshot;\n },\n useId: function() {\n var hook = mountWorkInProgressHook(),\n identifierPrefix = workInProgressRoot.identifierPrefix,\n globalClientId = globalClientIdCounter++;\n identifierPrefix =\n \":\" + identifierPrefix + \"r\" + globalClientId.toString(32) + \":\";\n return (hook.memoizedState = identifierPrefix);\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function() {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var hook = updateWorkInProgressHook();\n return updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n },\n useTransition: function() {\n var isPending = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnRerender = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function() {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var hook = updateWorkInProgressHook();\n return null === currentHook\n ? (hook.memoizedState = value)\n : updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n },\n useTransition: function() {\n var isPending = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n unstable_isNewReconciler: !1\n };\nfunction createCapturedValueAtFiber(value, source) {\n try {\n var info = \"\",\n node = source;\n do (info += describeFiber(node)), (node = node.return);\n while (node);\n var JSCompiler_inline_result = info;\n } catch (x) {\n JSCompiler_inline_result =\n \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n return {\n value: value,\n source: source,\n stack: JSCompiler_inline_result,\n digest: null\n };\n}\nfunction createCapturedValue(value, digest, stack) {\n return {\n value: value,\n source: null,\n stack: null != stack ? stack : null,\n digest: null != digest ? digest : null\n };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw Error(\n \"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\"\n );\nfunction logCapturedError(boundary, errorInfo) {\n try {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog({\n componentStack: null !== errorInfo.stack ? errorInfo.stack : \"\",\n error: errorInfo.value,\n errorBoundary:\n null !== boundary && 1 === boundary.tag ? boundary.stateNode : null\n }) && console.error(errorInfo.value);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n lane.payload = { element: null };\n var error = errorInfo.value;\n lane.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logCapturedError(fiber, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n lane.payload = function() {\n return getDerivedStateFromError(error);\n };\n lane.callback = function() {\n logCapturedError(fiber, errorInfo);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (lane.callback = function() {\n logCapturedError(fiber, errorInfo);\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return lane;\n}\nfunction attachPingListener(root, wakeable, lanes) {\n var pingCache = root.pingCache;\n if (null === pingCache) {\n pingCache = root.pingCache = new PossiblyWeakMap();\n var threadIDs = new Set();\n pingCache.set(wakeable, threadIDs);\n } else\n (threadIDs = pingCache.get(wakeable)),\n void 0 === threadIDs &&\n ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));\n threadIDs.has(lanes) ||\n (threadIDs.add(lanes),\n (root = pingSuspendedRoot.bind(null, root, wakeable, lanes)),\n wakeable.then(root, root));\n}\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderLanes);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -2053),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (0 === (current.lanes & renderLanes)) {\n var prevProps = type.memoizedProps;\n Component = Component.compare;\n Component = null !== Component ? Component : shallowEqual;\n if (Component(prevProps, nextProps) && current.ref === workInProgress.ref)\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null !== current) {\n var prevProps = current.memoizedProps;\n if (\n shallowEqual(prevProps, nextProps) &&\n current.ref === workInProgress.ref\n )\n if (\n ((didReceiveUpdate = !1),\n (workInProgress.pendingProps = nextProps = prevProps),\n 0 !== (current.lanes & renderLanes))\n )\n 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n else\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n if (\"hidden\" === nextProps.mode)\n if (0 === (workInProgress.mode & 1))\n (workInProgress.memoizedState = {\n baseLanes: 0,\n cachePool: null,\n transitions: null\n }),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= renderLanes);\n else {\n if (0 === (renderLanes & 1073741824))\n return (\n (current =\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes),\n (workInProgress.lanes = workInProgress.childLanes = 1073741824),\n (workInProgress.memoizedState = {\n baseLanes: current,\n cachePool: null,\n transitions: null\n }),\n (workInProgress.updateQueue = null),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= current),\n null\n );\n workInProgress.memoizedState = {\n baseLanes: 0,\n cachePool: null,\n transitions: null\n };\n nextProps = null !== prevState ? prevState.baseLanes : renderLanes;\n push(subtreeRenderLanesCursor, subtreeRenderLanes);\n subtreeRenderLanes |= nextProps;\n }\n else\n null !== prevState\n ? ((nextProps = prevState.baseLanes | renderLanes),\n (workInProgress.memoizedState = null))\n : (nextProps = renderLanes),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= nextProps);\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current && null !== ref) ||\n (null !== current && current.ref !== ref)\n )\n workInProgress.flags |= 512;\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderLanes);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n context,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -2053),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderLanes);\n if (null === workInProgress.stateNode)\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),\n constructClassInstance(workInProgress, Component, nextProps),\n mountClassInstance(workInProgress, Component, nextProps, renderLanes),\n (nextProps = !0);\n else if (null === current) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n oldContext = workInProgress.memoizedState;\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (nextProps = !1));\n } else {\n instance = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n oldProps = workInProgress.memoizedProps;\n contextType =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps);\n instance.props = contextType;\n hasNewLifecycles = workInProgress.pendingProps;\n oldState = instance.context;\n oldContext = Component.contextType;\n \"object\" === typeof oldContext && null !== oldContext\n ? (oldContext = readContext(oldContext))\n : ((oldContext = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (oldContext = getMaskedContext(workInProgress, oldContext)));\n var getDerivedStateFromProps$jscomp$0 = Component.getDerivedStateFromProps;\n (getDerivedStateFromProps =\n \"function\" === typeof getDerivedStateFromProps$jscomp$0 ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== hasNewLifecycles || oldState !== oldContext) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n oldContext\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n var newState = workInProgress.memoizedState;\n oldProps !== hasNewLifecycles ||\n oldState !== newState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps$jscomp$0 &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps$jscomp$0,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType,\n nextProps,\n oldState,\n newState,\n oldContext\n ) ||\n !1)\n ? (getDerivedStateFromProps ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(nextProps, newState, oldContext),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldContext\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 1024))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (instance.props = nextProps),\n (instance.state = newState),\n (instance.context = oldContext),\n (nextProps = contextType))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (nextProps = !1));\n }\n return finishClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderLanes\n );\n}\nfunction finishClassComponent(\n current,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderLanes\n) {\n markRef(current, workInProgress);\n var didCaptureError = 0 !== (workInProgress.flags & 128);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$1.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.flags |= 1;\n null !== current && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 };\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: null, transitions: null };\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n showFallback = !1,\n didSuspend = 0 !== (workInProgress.flags & 128),\n JSCompiler_temp;\n (JSCompiler_temp = didSuspend) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseContext & 2));\n if (JSCompiler_temp) (showFallback = !0), (workInProgress.flags &= -129);\n else if (null === current || null !== current.memoizedState)\n suspenseContext |= 1;\n push(suspenseStackCursor, suspenseContext & 1);\n if (null === current) {\n current = workInProgress.memoizedState;\n if (null !== current && null !== current.dehydrated)\n return (\n 0 === (workInProgress.mode & 1)\n ? (workInProgress.lanes = 1)\n : shim$1()\n ? (workInProgress.lanes = 8)\n : (workInProgress.lanes = 1073741824),\n null\n );\n didSuspend = nextProps.children;\n current = nextProps.fallback;\n return showFallback\n ? ((nextProps = workInProgress.mode),\n (showFallback = workInProgress.child),\n (didSuspend = { mode: \"hidden\", children: didSuspend }),\n 0 === (nextProps & 1) && null !== showFallback\n ? ((showFallback.childLanes = 0),\n (showFallback.pendingProps = didSuspend))\n : (showFallback = createFiberFromOffscreen(\n didSuspend,\n nextProps,\n 0,\n null\n )),\n (current = createFiberFromFragment(\n current,\n nextProps,\n renderLanes,\n null\n )),\n (showFallback.return = workInProgress),\n (current.return = workInProgress),\n (showFallback.sibling = current),\n (workInProgress.child = showFallback),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n current)\n : mountSuspensePrimaryChildren(workInProgress, didSuspend);\n }\n suspenseContext = current.memoizedState;\n if (\n null !== suspenseContext &&\n ((JSCompiler_temp = suspenseContext.dehydrated), null !== JSCompiler_temp)\n )\n return updateDehydratedSuspenseComponent(\n current,\n workInProgress,\n didSuspend,\n nextProps,\n JSCompiler_temp,\n suspenseContext,\n renderLanes\n );\n if (showFallback) {\n showFallback = nextProps.fallback;\n didSuspend = workInProgress.mode;\n suspenseContext = current.child;\n JSCompiler_temp = suspenseContext.sibling;\n var primaryChildProps = { mode: \"hidden\", children: nextProps.children };\n 0 === (didSuspend & 1) && workInProgress.child !== suspenseContext\n ? ((nextProps = workInProgress.child),\n (nextProps.childLanes = 0),\n (nextProps.pendingProps = primaryChildProps),\n (workInProgress.deletions = null))\n : ((nextProps = createWorkInProgress(suspenseContext, primaryChildProps)),\n (nextProps.subtreeFlags = suspenseContext.subtreeFlags & 14680064));\n null !== JSCompiler_temp\n ? (showFallback = createWorkInProgress(JSCompiler_temp, showFallback))\n : ((showFallback = createFiberFromFragment(\n showFallback,\n didSuspend,\n renderLanes,\n null\n )),\n (showFallback.flags |= 2));\n showFallback.return = workInProgress;\n nextProps.return = workInProgress;\n nextProps.sibling = showFallback;\n workInProgress.child = nextProps;\n nextProps = showFallback;\n showFallback = workInProgress.child;\n didSuspend = current.child.memoizedState;\n didSuspend =\n null === didSuspend\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: didSuspend.baseLanes | renderLanes,\n cachePool: null,\n transitions: didSuspend.transitions\n };\n showFallback.memoizedState = didSuspend;\n showFallback.childLanes = current.childLanes & ~renderLanes;\n workInProgress.memoizedState = SUSPENDED_MARKER;\n return nextProps;\n }\n showFallback = current.child;\n current = showFallback.sibling;\n nextProps = createWorkInProgress(showFallback, {\n mode: \"visible\",\n children: nextProps.children\n });\n 0 === (workInProgress.mode & 1) && (nextProps.lanes = renderLanes);\n nextProps.return = workInProgress;\n nextProps.sibling = null;\n null !== current &&\n ((renderLanes = workInProgress.deletions),\n null === renderLanes\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : renderLanes.push(current));\n workInProgress.child = nextProps;\n workInProgress.memoizedState = null;\n return nextProps;\n}\nfunction mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n primaryChildren = createFiberFromOffscreen(\n { mode: \"visible\", children: primaryChildren },\n workInProgress.mode,\n 0,\n null\n );\n primaryChildren.return = workInProgress;\n return (workInProgress.child = primaryChildren);\n}\nfunction retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n recoverableError\n) {\n null !== recoverableError &&\n (null === hydrationErrors\n ? (hydrationErrors = [recoverableError])\n : hydrationErrors.push(recoverableError));\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountSuspensePrimaryChildren(\n workInProgress,\n workInProgress.pendingProps.children\n );\n current.flags |= 2;\n workInProgress.memoizedState = null;\n return current;\n}\nfunction updateDehydratedSuspenseComponent(\n current,\n workInProgress,\n didSuspend,\n nextProps,\n suspenseInstance,\n suspenseState,\n renderLanes\n) {\n if (didSuspend) {\n if (workInProgress.flags & 256)\n return (\n (workInProgress.flags &= -257),\n (suspenseState = createCapturedValue(\n Error(\n \"There was an error while hydrating this Suspense boundary. Switched to client rendering.\"\n )\n )),\n retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n )\n );\n if (null !== workInProgress.memoizedState)\n return (\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n null\n );\n suspenseState = nextProps.fallback;\n didSuspend = workInProgress.mode;\n nextProps = createFiberFromOffscreen(\n { mode: \"visible\", children: nextProps.children },\n didSuspend,\n 0,\n null\n );\n suspenseState = createFiberFromFragment(\n suspenseState,\n didSuspend,\n renderLanes,\n null\n );\n suspenseState.flags |= 2;\n nextProps.return = workInProgress;\n suspenseState.return = workInProgress;\n nextProps.sibling = suspenseState;\n workInProgress.child = nextProps;\n 0 !== (workInProgress.mode & 1) &&\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n );\n workInProgress.memoizedState = SUSPENDED_MARKER;\n return suspenseState;\n }\n if (0 === (workInProgress.mode & 1))\n return retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n null\n );\n if (shim$1())\n return (\n (suspenseState = shim$1().digest),\n (suspenseState = createCapturedValue(\n Error(\n \"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.\"\n ),\n suspenseState,\n void 0\n )),\n retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n )\n );\n didSuspend = 0 !== (renderLanes & current.childLanes);\n if (didReceiveUpdate || didSuspend) {\n nextProps = workInProgressRoot;\n if (null !== nextProps) {\n switch (renderLanes & -renderLanes) {\n case 4:\n didSuspend = 2;\n break;\n case 16:\n didSuspend = 8;\n break;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n didSuspend = 32;\n break;\n case 536870912:\n didSuspend = 268435456;\n break;\n default:\n didSuspend = 0;\n }\n didSuspend =\n 0 !== (didSuspend & (nextProps.suspendedLanes | renderLanes))\n ? 0\n : didSuspend;\n 0 !== didSuspend &&\n didSuspend !== suspenseState.retryLane &&\n ((suspenseState.retryLane = didSuspend),\n markUpdateLaneFromFiberToRoot(current, didSuspend),\n scheduleUpdateOnFiber(nextProps, current, didSuspend, -1));\n }\n renderDidSuspendDelayIfPossible();\n suspenseState = createCapturedValue(\n Error(\n \"This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.\"\n )\n );\n return retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n );\n }\n if (shim$1())\n return (\n (workInProgress.flags |= 128),\n (workInProgress.child = current.child),\n retryDehydratedSuspenseBoundary.bind(null, current),\n shim$1(),\n null\n );\n current = mountSuspensePrimaryChildren(workInProgress, nextProps.children);\n current.flags |= 4096;\n return current;\n}\nfunction scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(current, workInProgress, nextProps.children, renderLanes);\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & 2))\n (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128);\n else {\n if (null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (19 === current.tag)\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n nextProps &= 1;\n }\n push(suspenseStackCursor, nextProps);\n if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderLanes = workInProgress.child;\n for (revealOrder = null; null !== renderLanes; )\n (current = renderLanes.alternate),\n null !== current &&\n null === findFirstSuspended(current) &&\n (revealOrder = renderLanes),\n (renderLanes = renderLanes.sibling);\n renderLanes = revealOrder;\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode\n );\n break;\n case \"backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress) {\n 0 === (workInProgress.mode & 1) &&\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes)) return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(\"Resuming work not yet implemented.\");\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling = createWorkInProgress(\n current,\n current.pendingProps\n )),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nfunction attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n) {\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n break;\n case 10:\n var context = workInProgress.type._context,\n nextValue = workInProgress.memoizedProps.value;\n push(valueCursor, context._currentValue2);\n context._currentValue2 = nextValue;\n break;\n case 13:\n context = workInProgress.memoizedState;\n if (null !== context) {\n if (null !== context.dehydrated)\n return (\n push(suspenseStackCursor, suspenseStackCursor.current & 1),\n (workInProgress.flags |= 128),\n null\n );\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== current ? current.sibling : null;\n }\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n break;\n case 19:\n context = 0 !== (renderLanes & workInProgress.childLanes);\n if (0 !== (current.flags & 128)) {\n if (context)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n nextValue = workInProgress.memoizedState;\n null !== nextValue &&\n ((nextValue.rendering = null),\n (nextValue.tail = null),\n (nextValue.lastEffect = null));\n push(suspenseStackCursor, suspenseStackCursor.current);\n if (context) break;\n else return null;\n case 22:\n case 23:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(current, workInProgress, renderLanes)\n );\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n}\nfunction hadNoMutationsEffects(current, completedWork) {\n if (null !== current && current.child === completedWork.child) return !0;\n if (0 !== (completedWork.flags & 16)) return !1;\n for (current = completedWork.child; null !== current; ) {\n if (0 !== (current.flags & 12854) || 0 !== (current.subtreeFlags & 12854))\n return !1;\n current = current.sibling;\n }\n return !0;\n}\nvar appendAllChildren,\n updateHostContainer,\n updateHostComponent$1,\n updateHostText$1;\nappendAllChildren = function(\n parent,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(instance));\n appendChildNode(parent.node, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNode(parent.node, instance.node);\n } else if (4 !== node.tag)\n if (22 === node.tag && null !== node.memoizedState)\n (instance = node.child),\n null !== instance && (instance.return = node),\n appendAllChildren(parent, node, !0, !0);\n else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nfunction appendAllChildrenToContainer(\n containerChildSet,\n workInProgress,\n needsVisibilityToggle,\n isHidden\n) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag) {\n var instance = node.stateNode;\n needsVisibilityToggle &&\n isHidden &&\n (instance = cloneHiddenInstance(instance));\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (6 === node.tag) {\n instance = node.stateNode;\n if (needsVisibilityToggle && isHidden)\n throw Error(\"Not yet implemented.\");\n appendChildNodeToSet(containerChildSet, instance.node);\n } else if (4 !== node.tag)\n if (22 === node.tag && null !== node.memoizedState)\n (instance = node.child),\n null !== instance && (instance.return = node),\n appendAllChildrenToContainer(containerChildSet, node, !0, !0);\n else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n}\nupdateHostContainer = function(current, workInProgress) {\n var portalOrRoot = workInProgress.stateNode;\n if (!hadNoMutationsEffects(current, workInProgress)) {\n current = portalOrRoot.containerInfo;\n var newChildSet = createChildNodeSet(current);\n appendAllChildrenToContainer(newChildSet, workInProgress, !1, !1);\n portalOrRoot.pendingChildren = newChildSet;\n workInProgress.flags |= 4;\n completeRoot(current, newChildSet);\n }\n};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n type = current.stateNode;\n var oldProps = current.memoizedProps;\n if (\n (current = hadNoMutationsEffects(current, workInProgress)) &&\n oldProps === newProps\n )\n workInProgress.stateNode = type;\n else {\n var recyclableInstance = workInProgress.stateNode;\n requiredContext(contextStackCursor$1.current);\n var updatePayload = null;\n oldProps !== newProps &&\n ((oldProps = diffProperties(\n null,\n oldProps,\n newProps,\n recyclableInstance.canonical.viewConfig.validAttributes\n )),\n (recyclableInstance.canonical.currentProps = newProps),\n (updatePayload = oldProps));\n current && null === updatePayload\n ? (workInProgress.stateNode = type)\n : ((newProps = updatePayload),\n (oldProps = type.node),\n (type = {\n node: current\n ? null !== newProps\n ? cloneNodeWithNewProps(oldProps, newProps)\n : cloneNode(oldProps)\n : null !== newProps\n ? cloneNodeWithNewChildrenAndProps(oldProps, newProps)\n : cloneNodeWithNewChildren(oldProps),\n canonical: type.canonical\n }),\n (workInProgress.stateNode = type),\n current\n ? (workInProgress.flags |= 4)\n : appendAllChildren(type, workInProgress, !1, !1));\n }\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText\n ? ((current = requiredContext(rootInstanceStackCursor.current)),\n (oldText = requiredContext(contextStackCursor$1.current)),\n (workInProgress.stateNode = createTextInstance(\n newText,\n current,\n oldText,\n workInProgress\n )),\n (workInProgress.flags |= 4))\n : (workInProgress.stateNode = current.stateNode);\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var lastTailNode$62 = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (lastTailNode$62 = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === lastTailNode$62\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode$62.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$63 = completedWork.child; null !== child$63; )\n (newChildLanes |= child$63.lanes | child$63.childLanes),\n (subtreeFlags |= child$63.subtreeFlags & 14680064),\n (subtreeFlags |= child$63.flags & 14680064),\n (child$63.return = completedWork),\n (child$63 = child$63.sibling);\n else\n for (child$63 = completedWork.child; null !== child$63; )\n (newChildLanes |= child$63.lanes | child$63.childLanes),\n (subtreeFlags |= child$63.subtreeFlags),\n (subtreeFlags |= child$63.flags),\n (child$63.return = completedWork),\n (child$63 = child$63.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 3:\n return (\n (renderLanes = workInProgress.stateNode),\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n renderLanes.pendingContext &&\n ((renderLanes.context = renderLanes.pendingContext),\n (renderLanes.pendingContext = null)),\n (null !== current && null !== current.child) ||\n null === current ||\n (current.memoizedState.isDehydrated &&\n 0 === (workInProgress.flags & 256)) ||\n ((workInProgress.flags |= 1024),\n null !== hydrationErrors &&\n (queueRecoverableErrors(hydrationErrors),\n (hydrationErrors = null))),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 5:\n popHostContext(workInProgress);\n renderLanes = requiredContext(rootInstanceStackCursor.current);\n var type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n updateHostComponent$1(\n current,\n workInProgress,\n type,\n newProps,\n renderLanes\n ),\n current.ref !== workInProgress.ref && (workInProgress.flags |= 512);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n return null;\n }\n requiredContext(contextStackCursor$1.current);\n current = nextReactTag;\n nextReactTag += 2;\n type = getViewConfigForType(type);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n newProps,\n type.validAttributes\n );\n renderLanes = createNode(\n current,\n type.uiViewClassName,\n renderLanes,\n updatePayload,\n workInProgress\n );\n current = new ReactFabricHostComponent(\n current,\n type,\n newProps,\n workInProgress\n );\n current = { node: renderLanes, canonical: current };\n appendAllChildren(current, workInProgress, !1, !1);\n workInProgress.stateNode = current;\n null !== workInProgress.ref && (workInProgress.flags |= 512);\n }\n bubbleProperties(workInProgress);\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n updateHostText$1(\n current,\n workInProgress,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current = requiredContext(rootInstanceStackCursor.current);\n renderLanes = requiredContext(contextStackCursor$1.current);\n workInProgress.stateNode = createTextInstance(\n newProps,\n current,\n renderLanes,\n workInProgress\n );\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n pop(suspenseStackCursor);\n newProps = workInProgress.memoizedState;\n if (\n null === current ||\n (null !== current.memoizedState &&\n null !== current.memoizedState.dehydrated)\n ) {\n if (null !== newProps && null !== newProps.dehydrated) {\n if (null === current) {\n throw Error(\n \"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\"\n );\n throw Error(\n \"Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n 0 === (workInProgress.flags & 128) &&\n (workInProgress.memoizedState = null);\n workInProgress.flags |= 4;\n bubbleProperties(workInProgress);\n type = !1;\n } else\n null !== hydrationErrors &&\n (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)),\n (type = !0);\n if (!type) return workInProgress.flags & 65536 ? workInProgress : null;\n }\n if (0 !== (workInProgress.flags & 128))\n return (workInProgress.lanes = renderLanes), workInProgress;\n renderLanes = null !== newProps;\n renderLanes !== (null !== current && null !== current.memoizedState) &&\n renderLanes &&\n ((workInProgress.child.flags |= 8192),\n 0 !== (workInProgress.mode & 1) &&\n (null === current || 0 !== (suspenseStackCursor.current & 1)\n ? 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3)\n : renderDidSuspendDelayIfPossible()));\n null !== workInProgress.updateQueue && (workInProgress.flags |= 4);\n bubbleProperties(workInProgress);\n return null;\n case 4:\n return (\n popHostContainer(),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type._context),\n bubbleProperties(workInProgress),\n null\n );\n case 17:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 19:\n pop(suspenseStackCursor);\n type = workInProgress.memoizedState;\n if (null === type) return bubbleProperties(workInProgress), null;\n newProps = 0 !== (workInProgress.flags & 128);\n updatePayload = type.rendering;\n if (null === updatePayload)\n if (newProps) cutOffTailIfNeeded(type, !1);\n else {\n if (\n 0 !== workInProgressRootExitStatus ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n updatePayload = findFirstSuspended(current);\n if (null !== updatePayload) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(type, !1);\n current = updatePayload.updateQueue;\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4));\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (renderLanes = workInProgress.child; null !== renderLanes; )\n (newProps = renderLanes),\n (type = current),\n (newProps.flags &= 14680066),\n (updatePayload = newProps.alternate),\n null === updatePayload\n ? ((newProps.childLanes = 0),\n (newProps.lanes = type),\n (newProps.child = null),\n (newProps.subtreeFlags = 0),\n (newProps.memoizedProps = null),\n (newProps.memoizedState = null),\n (newProps.updateQueue = null),\n (newProps.dependencies = null),\n (newProps.stateNode = null))\n : ((newProps.childLanes = updatePayload.childLanes),\n (newProps.lanes = updatePayload.lanes),\n (newProps.child = updatePayload.child),\n (newProps.subtreeFlags = 0),\n (newProps.deletions = null),\n (newProps.memoizedProps = updatePayload.memoizedProps),\n (newProps.memoizedState = updatePayload.memoizedState),\n (newProps.updateQueue = updatePayload.updateQueue),\n (newProps.type = updatePayload.type),\n (type = updatePayload.dependencies),\n (newProps.dependencies =\n null === type\n ? null\n : {\n lanes: type.lanes,\n firstContext: type.firstContext\n })),\n (renderLanes = renderLanes.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current & 1) | 2\n );\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== type.tail &&\n now() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!newProps)\n if (\n ((current = findFirstSuspended(updatePayload)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (newProps = !0),\n (current = current.updateQueue),\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4)),\n cutOffTailIfNeeded(type, !0),\n null === type.tail &&\n \"hidden\" === type.tailMode &&\n !updatePayload.alternate)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now() - type.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 1073741824 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n type.isBackwards\n ? ((updatePayload.sibling = workInProgress.child),\n (workInProgress.child = updatePayload))\n : ((current = type.last),\n null !== current\n ? (current.sibling = updatePayload)\n : (workInProgress.child = updatePayload),\n (type.last = updatePayload));\n }\n if (null !== type.tail)\n return (\n (workInProgress = type.tail),\n (type.rendering = workInProgress),\n (type.tail = workInProgress.sibling),\n (type.renderingStartTime = now()),\n (workInProgress.sibling = null),\n (current = suspenseStackCursor.current),\n push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),\n workInProgress\n );\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popRenderLanes(),\n (renderLanes = null !== workInProgress.memoizedState),\n null !== current &&\n (null !== current.memoizedState) !== renderLanes &&\n (workInProgress.flags |= 8192),\n renderLanes && 0 !== (workInProgress.mode & 1)\n ? 0 !== (subtreeRenderLanes & 1073741824) &&\n bubbleProperties(workInProgress)\n : bubbleProperties(workInProgress),\n null\n );\n case 24:\n return null;\n case 25:\n return null;\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction unwindWork(current, workInProgress) {\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 3:\n return (\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n (current = workInProgress.flags),\n 0 !== (current & 65536) && 0 === (current & 128)\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n pop(suspenseStackCursor);\n current = workInProgress.memoizedState;\n if (\n null !== current &&\n null !== current.dehydrated &&\n null === workInProgress.alternate\n )\n throw Error(\n \"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\"\n );\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null;\n case 19:\n return pop(suspenseStackCursor), null;\n case 4:\n return popHostContainer(), null;\n case 10:\n return popProvider(workInProgress.type._context), null;\n case 22:\n case 23:\n return popRenderLanes(), null;\n case 24:\n return null;\n default:\n return null;\n }\n}\nvar PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null;\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n else ref.current = null;\n}\nfunction safelyCallDestroy(current, nearestMountedAncestor, destroy) {\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n}\nvar shouldFireAfterActiveInstanceBlur = !1;\nfunction commitBeforeMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; )\n if (\n ((root = nextEffect),\n (firstChild = root.child),\n 0 !== (root.subtreeFlags & 1028) && null !== firstChild)\n )\n (firstChild.return = root), (nextEffect = firstChild);\n else\n for (; null !== nextEffect; ) {\n root = nextEffect;\n try {\n var current = root.alternate;\n if (0 !== (root.flags & 1024))\n switch (root.tag) {\n case 0:\n case 11:\n case 15:\n break;\n case 1:\n if (null !== current) {\n var prevProps = current.memoizedProps,\n prevState = current.memoizedState,\n instance = root.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n root.elementType === root.type\n ? prevProps\n : resolveDefaultProps(root.type, prevProps),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n break;\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n firstChild = root.sibling;\n if (null !== firstChild) {\n firstChild.return = root.return;\n nextEffect = firstChild;\n break;\n }\n nextEffect = root.return;\n }\n current = shouldFireAfterActiveInstanceBlur;\n shouldFireAfterActiveInstanceBlur = !1;\n return current;\n}\nfunction commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor\n) {\n var updateQueue = finishedWork.updateQueue;\n updateQueue = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== updateQueue) {\n var effect = (updateQueue = updateQueue.next);\n do {\n if ((effect.tag & flags) === flags) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n void 0 !== destroy &&\n safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy);\n }\n effect = effect.next;\n } while (effect !== updateQueue);\n }\n}\nfunction commitHookEffectListMount(flags, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & flags) === flags) {\n var create$75 = effect.create;\n effect.destroy = create$75();\n }\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n fiber.stateNode = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n}\nfunction recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n parent\n) {\n for (parent = parent.child; null !== parent; )\n commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent),\n (parent = parent.sibling);\n}\nfunction commitDeletionEffectsOnFiber(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberUnmount)\n try {\n injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n } catch (err) {}\n switch (deletedFiber.tag) {\n case 5:\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n case 6:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 18:\n break;\n case 4:\n createChildNodeSet(deletedFiber.stateNode.containerInfo);\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 0:\n case 11:\n case 14:\n case 15:\n var updateQueue = deletedFiber.updateQueue;\n if (\n null !== updateQueue &&\n ((updateQueue = updateQueue.lastEffect), null !== updateQueue)\n ) {\n var effect = (updateQueue = updateQueue.next);\n do {\n var _effect = effect,\n destroy = _effect.destroy;\n _effect = _effect.tag;\n void 0 !== destroy &&\n (0 !== (_effect & 2)\n ? safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy)\n : 0 !== (_effect & 4) &&\n safelyCallDestroy(\n deletedFiber,\n nearestMountedAncestor,\n destroy\n ));\n effect = effect.next;\n } while (effect !== updateQueue);\n }\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 1:\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n updateQueue = deletedFiber.stateNode;\n if (\"function\" === typeof updateQueue.componentWillUnmount)\n try {\n (updateQueue.props = deletedFiber.memoizedProps),\n (updateQueue.state = deletedFiber.memoizedState),\n updateQueue.componentWillUnmount();\n } catch (error) {\n captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error);\n }\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 21:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 22:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n default:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var wakeables = finishedWork.updateQueue;\n if (null !== wakeables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n wakeables.forEach(function(wakeable) {\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n retryCache.has(wakeable) ||\n (retryCache.add(wakeable), wakeable.then(retry, retry));\n });\n }\n}\nfunction recursivelyTraverseMutationEffects(root, parentFiber) {\n var deletions = parentFiber.deletions;\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i];\n try {\n commitDeletionEffectsOnFiber(root, parentFiber, childToDelete);\n var alternate = childToDelete.alternate;\n null !== alternate && (alternate.return = null);\n childToDelete.return = null;\n } catch (error) {\n captureCommitPhaseError(childToDelete, parentFiber, error);\n }\n }\n if (parentFiber.subtreeFlags & 12854)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitMutationEffectsOnFiber(parentFiber, root),\n (parentFiber = parentFiber.sibling);\n}\nfunction commitMutationEffectsOnFiber(finishedWork, root) {\n var current = finishedWork.alternate,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (flags & 4) {\n try {\n commitHookEffectListUnmount(3, finishedWork, finishedWork.return),\n commitHookEffectListMount(3, finishedWork);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n try {\n commitHookEffectListUnmount(5, finishedWork, finishedWork.return);\n } catch (error$79) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error$79);\n }\n }\n break;\n case 1:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n null !== current &&\n safelyDetachRef(current, current.return);\n break;\n case 5:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n null !== current &&\n safelyDetachRef(current, current.return);\n break;\n case 6:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 3:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 4:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 13:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n root = finishedWork.child;\n root.flags & 8192 &&\n ((current = null !== root.memoizedState),\n (root.stateNode.isHidden = current),\n !current ||\n (null !== root.alternate && null !== root.alternate.memoizedState) ||\n (globalMostRecentFallbackTime = now()));\n flags & 4 && attachSuspenseRetryListeners(finishedWork);\n break;\n case 22:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 8192 &&\n (finishedWork.stateNode.isHidden = null !== finishedWork.memoizedState);\n break;\n case 19:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 4 && attachSuspenseRetryListeners(finishedWork);\n break;\n case 21:\n break;\n default:\n recursivelyTraverseMutationEffects(root, finishedWork),\n commitReconciliationEffects(finishedWork);\n }\n}\nfunction commitReconciliationEffects(finishedWork) {\n var flags = finishedWork.flags;\n flags & 2 && (finishedWork.flags &= -3);\n flags & 4096 && (finishedWork.flags &= -4097);\n}\nfunction commitLayoutEffects(finishedWork) {\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n var fiber = nextEffect,\n firstChild = fiber.child;\n if (0 !== (fiber.subtreeFlags & 8772) && null !== firstChild)\n (firstChild.return = fiber), (nextEffect = firstChild);\n else\n for (fiber = finishedWork; null !== nextEffect; ) {\n firstChild = nextEffect;\n if (0 !== (firstChild.flags & 8772)) {\n var current = firstChild.alternate;\n try {\n if (0 !== (firstChild.flags & 8772))\n switch (firstChild.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(5, firstChild);\n break;\n case 1:\n var instance = firstChild.stateNode;\n if (firstChild.flags & 4)\n if (null === current) instance.componentDidMount();\n else {\n var prevProps =\n firstChild.elementType === firstChild.type\n ? current.memoizedProps\n : resolveDefaultProps(\n firstChild.type,\n current.memoizedProps\n );\n instance.componentDidUpdate(\n prevProps,\n current.memoizedState,\n instance.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = firstChild.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(firstChild, updateQueue, instance);\n break;\n case 3:\n var updateQueue$76 = firstChild.updateQueue;\n if (null !== updateQueue$76) {\n current = null;\n if (null !== firstChild.child)\n switch (firstChild.child.tag) {\n case 5:\n current = firstChild.child.stateNode.canonical;\n break;\n case 1:\n current = firstChild.child.stateNode;\n }\n commitUpdateQueue(firstChild, updateQueue$76, current);\n }\n break;\n case 5:\n if (null === current && firstChild.flags & 4)\n throw Error(\n \"The current renderer does not support mutation. This error is likely caused by a bug in React. Please file an issue.\"\n );\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n break;\n case 19:\n case 17:\n case 21:\n case 22:\n case 23:\n case 25:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (firstChild.flags & 512) {\n current = void 0;\n var ref = firstChild.ref;\n if (null !== ref) {\n var instance$jscomp$0 = firstChild.stateNode;\n switch (firstChild.tag) {\n case 5:\n current = instance$jscomp$0.canonical;\n break;\n default:\n current = instance$jscomp$0;\n }\n \"function\" === typeof ref\n ? ref(current)\n : (ref.current = current);\n }\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n }\n if (firstChild === fiber) {\n nextEffect = null;\n break;\n }\n current = firstChild.sibling;\n if (null !== current) {\n current.return = firstChild.return;\n nextEffect = current;\n break;\n }\n nextEffect = firstChild.return;\n }\n }\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig,\n executionContext = 0,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n subtreeRenderLanes = 0,\n subtreeRenderLanesCursor = createCursor(0),\n workInProgressRootExitStatus = 0,\n workInProgressRootFatalError = null,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootInterleavedUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n workInProgressRootConcurrentErrors = null,\n workInProgressRootRecoverableErrors = null,\n globalMostRecentFallbackTime = 0,\n workInProgressRootRenderTargetTime = Infinity,\n workInProgressTransitions = null,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsLanes = 0,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = -1,\n currentEventTransitionLane = 0;\nfunction requestEventTime() {\n return 0 !== (executionContext & 6)\n ? now()\n : -1 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = now());\n}\nfunction requestUpdateLane(fiber) {\n if (0 === (fiber.mode & 1)) return 1;\n if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)\n return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;\n if (null !== ReactCurrentBatchConfig.transition)\n return (\n 0 === currentEventTransitionLane &&\n (currentEventTransitionLane = claimNextTransitionLane()),\n currentEventTransitionLane\n );\n fiber = currentUpdatePriority;\n if (0 === fiber)\n a: {\n fiber = fabricGetCurrentEventPriority\n ? fabricGetCurrentEventPriority()\n : null;\n if (null != fiber)\n switch (fiber) {\n case FabricDiscretePriority:\n fiber = 1;\n break a;\n }\n fiber = 16;\n }\n return fiber;\n}\nfunction scheduleUpdateOnFiber(root, fiber, lane, eventTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n ));\n markRootUpdated(root, lane, eventTime);\n if (0 === (executionContext & 2) || root !== workInProgressRoot)\n root === workInProgressRoot &&\n (0 === (executionContext & 2) &&\n (workInProgressRootInterleavedUpdatedLanes |= lane),\n 4 === workInProgressRootExitStatus &&\n markRootSuspended$1(root, workInProgressRootRenderLanes)),\n ensureRootIsScheduled(root, eventTime),\n 1 === lane &&\n 0 === executionContext &&\n 0 === (fiber.mode & 1) &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n}\nfunction ensureRootIsScheduled(root, currentTime) {\n for (\n var existingCallbackNode = root.callbackNode,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes;\n 0 < lanes;\n\n ) {\n var index$5 = 31 - clz32(lanes),\n lane = 1 << index$5,\n expirationTime = expirationTimes[index$5];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index$5] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n suspendedLanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === suspendedLanes)\n null !== existingCallbackNode && cancelCallback(existingCallbackNode),\n (root.callbackNode = null),\n (root.callbackPriority = 0);\n else if (\n ((currentTime = suspendedLanes & -suspendedLanes),\n root.callbackPriority !== currentTime)\n ) {\n null != existingCallbackNode && cancelCallback(existingCallbackNode);\n if (1 === currentTime)\n 0 === root.tag\n ? ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n (includesLegacySyncCallbacks = !0),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode))\n : ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n (existingCallbackNode = null);\n else {\n switch (lanesToEventPriority(suspendedLanes)) {\n case 1:\n existingCallbackNode = ImmediatePriority;\n break;\n case 4:\n existingCallbackNode = UserBlockingPriority;\n break;\n case 16:\n existingCallbackNode = NormalPriority;\n break;\n case 536870912:\n existingCallbackNode = IdlePriority;\n break;\n default:\n existingCallbackNode = NormalPriority;\n }\n existingCallbackNode = scheduleCallback$1(\n existingCallbackNode,\n performConcurrentWorkOnRoot.bind(null, root)\n );\n }\n root.callbackPriority = currentTime;\n root.callbackNode = existingCallbackNode;\n }\n}\nfunction performConcurrentWorkOnRoot(root, didTimeout) {\n currentEventTime = -1;\n currentEventTransitionLane = 0;\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n var originalCallbackNode = root.callbackNode;\n if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var lanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === lanes) return null;\n if (0 !== (lanes & 30) || 0 !== (lanes & root.expiredLanes) || didTimeout)\n didTimeout = renderRootSync(root, lanes);\n else {\n didTimeout = lanes;\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== didTimeout\n )\n (workInProgressTransitions = null),\n (workInProgressRootRenderTargetTime = now() + 500),\n prepareFreshStack(root, didTimeout);\n do\n try {\n workLoopConcurrent();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n ReactCurrentDispatcher$2.current = prevDispatcher;\n executionContext = prevExecutionContext;\n null !== workInProgress\n ? (didTimeout = 0)\n : ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n (didTimeout = workInProgressRootExitStatus));\n }\n if (0 !== didTimeout) {\n 2 === didTimeout &&\n ((prevExecutionContext = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== prevExecutionContext &&\n ((lanes = prevExecutionContext),\n (didTimeout = recoverFromConcurrentError(root, prevExecutionContext))));\n if (1 === didTimeout)\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n if (6 === didTimeout) markRootSuspended$1(root, lanes);\n else {\n prevExecutionContext = root.current.alternate;\n if (\n 0 === (lanes & 30) &&\n !isRenderConsistentWithExternalStores(prevExecutionContext) &&\n ((didTimeout = renderRootSync(root, lanes)),\n 2 === didTimeout &&\n ((prevDispatcher = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== prevDispatcher &&\n ((lanes = prevDispatcher),\n (didTimeout = recoverFromConcurrentError(root, prevDispatcher)))),\n 1 === didTimeout)\n )\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n root.finishedWork = prevExecutionContext;\n root.finishedLanes = lanes;\n switch (didTimeout) {\n case 0:\n case 1:\n throw Error(\"Root did not complete. This is a bug in React.\");\n case 2:\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 3:\n markRootSuspended$1(root, lanes);\n if (\n (lanes & 130023424) === lanes &&\n ((didTimeout = globalMostRecentFallbackTime + 500 - now()),\n 10 < didTimeout)\n ) {\n if (0 !== getNextLanes(root, 0)) break;\n prevExecutionContext = root.suspendedLanes;\n if ((prevExecutionContext & lanes) !== lanes) {\n requestEventTime();\n root.pingedLanes |= root.suspendedLanes & prevExecutionContext;\n break;\n }\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(\n null,\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n ),\n didTimeout\n );\n break;\n }\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 4:\n markRootSuspended$1(root, lanes);\n if ((lanes & 4194240) === lanes) break;\n didTimeout = root.eventTimes;\n for (prevExecutionContext = -1; 0 < lanes; ) {\n var index$4 = 31 - clz32(lanes);\n prevDispatcher = 1 << index$4;\n index$4 = didTimeout[index$4];\n index$4 > prevExecutionContext && (prevExecutionContext = index$4);\n lanes &= ~prevDispatcher;\n }\n lanes = prevExecutionContext;\n lanes = now() - lanes;\n lanes =\n (120 > lanes\n ? 120\n : 480 > lanes\n ? 480\n : 1080 > lanes\n ? 1080\n : 1920 > lanes\n ? 1920\n : 3e3 > lanes\n ? 3e3\n : 4320 > lanes\n ? 4320\n : 1960 * ceil(lanes / 1960)) - lanes;\n if (10 < lanes) {\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(\n null,\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n ),\n lanes\n );\n break;\n }\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 5:\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n default:\n throw Error(\"Unknown root exit status.\");\n }\n }\n }\n ensureRootIsScheduled(root, now());\n return root.callbackNode === originalCallbackNode\n ? performConcurrentWorkOnRoot.bind(null, root)\n : null;\n}\nfunction recoverFromConcurrentError(root, errorRetryLanes) {\n var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;\n root.current.memoizedState.isDehydrated &&\n (prepareFreshStack(root, errorRetryLanes).flags |= 256);\n root = renderRootSync(root, errorRetryLanes);\n 2 !== root &&\n ((errorRetryLanes = workInProgressRootRecoverableErrors),\n (workInProgressRootRecoverableErrors = errorsFromFirstAttempt),\n null !== errorRetryLanes && queueRecoverableErrors(errorRetryLanes));\n return root;\n}\nfunction queueRecoverableErrors(errors) {\n null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = errors)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n errors\n );\n}\nfunction isRenderConsistentWithExternalStores(finishedWork) {\n for (var node = finishedWork; ; ) {\n if (node.flags & 16384) {\n var updateQueue = node.updateQueue;\n if (\n null !== updateQueue &&\n ((updateQueue = updateQueue.stores), null !== updateQueue)\n )\n for (var i = 0; i < updateQueue.length; i++) {\n var check = updateQueue[i],\n getSnapshot = check.getSnapshot;\n check = check.value;\n try {\n if (!objectIs(getSnapshot(), check)) return !1;\n } catch (error) {\n return !1;\n }\n }\n }\n updateQueue = node.child;\n if (node.subtreeFlags & 16384 && null !== updateQueue)\n (updateQueue.return = node), (node = updateQueue);\n else {\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return !0;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return !0;\n}\nfunction markRootSuspended$1(root, suspendedLanes) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n for (root = root.expirationTimes; 0 < suspendedLanes; ) {\n var index$6 = 31 - clz32(suspendedLanes),\n lane = 1 << index$6;\n root[index$6] = -1;\n suspendedLanes &= ~lane;\n }\n}\nfunction performSyncWorkOnRoot(root) {\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n flushPassiveEffects();\n var lanes = getNextLanes(root, 0);\n if (0 === (lanes & 1)) return ensureRootIsScheduled(root, now()), null;\n var exitStatus = renderRootSync(root, lanes);\n if (0 !== root.tag && 2 === exitStatus) {\n var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);\n 0 !== errorRetryLanes &&\n ((lanes = errorRetryLanes),\n (exitStatus = recoverFromConcurrentError(root, errorRetryLanes)));\n }\n if (1 === exitStatus)\n throw ((exitStatus = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n exitStatus);\n if (6 === exitStatus)\n throw Error(\"Root did not complete. This is a bug in React.\");\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n ensureRootIsScheduled(root, now());\n return null;\n}\nfunction popRenderLanes() {\n subtreeRenderLanes = subtreeRenderLanesCursor.current;\n pop(subtreeRenderLanesCursor);\n}\nfunction prepareFreshStack(root, lanes) {\n root.finishedWork = null;\n root.finishedLanes = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n popTreeContext(interruptedWork);\n switch (interruptedWork.tag) {\n case 1:\n interruptedWork = interruptedWork.type.childContextTypes;\n null !== interruptedWork &&\n void 0 !== interruptedWork &&\n popContext();\n break;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer();\n break;\n case 13:\n pop(suspenseStackCursor);\n break;\n case 19:\n pop(suspenseStackCursor);\n break;\n case 10:\n popProvider(interruptedWork.type._context);\n break;\n case 22:\n case 23:\n popRenderLanes();\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = root = createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes = subtreeRenderLanes = lanes;\n workInProgressRootExitStatus = 0;\n workInProgressRootFatalError = null;\n workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0;\n workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null;\n if (null !== concurrentQueues) {\n for (lanes = 0; lanes < concurrentQueues.length; lanes++)\n if (\n ((timeoutHandle = concurrentQueues[lanes]),\n (interruptedWork = timeoutHandle.interleaved),\n null !== interruptedWork)\n ) {\n timeoutHandle.interleaved = null;\n var firstInterleavedUpdate = interruptedWork.next,\n lastPendingUpdate = timeoutHandle.pending;\n if (null !== lastPendingUpdate) {\n var firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = firstInterleavedUpdate;\n interruptedWork.next = firstPendingUpdate;\n }\n timeoutHandle.pending = interruptedWork;\n }\n concurrentQueues = null;\n }\n return root;\n}\nfunction handleError(root$jscomp$0, thrownValue) {\n do {\n var erroredWork = workInProgress;\n try {\n resetContextDependencies();\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n if (didScheduleRenderPhaseUpdate) {\n for (\n var hook = currentlyRenderingFiber$1.memoizedState;\n null !== hook;\n\n ) {\n var queue = hook.queue;\n null !== queue && (queue.pending = null);\n hook = hook.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n ReactCurrentOwner$2.current = null;\n if (null === erroredWork || null === erroredWork.return) {\n workInProgressRootExitStatus = 1;\n workInProgressRootFatalError = thrownValue;\n workInProgress = null;\n break;\n }\n a: {\n var root = root$jscomp$0,\n returnFiber = erroredWork.return,\n sourceFiber = erroredWork,\n value = thrownValue;\n thrownValue = workInProgressRootRenderLanes;\n sourceFiber.flags |= 32768;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var wakeable = value,\n sourceFiber$jscomp$0 = sourceFiber,\n tag = sourceFiber$jscomp$0.tag;\n if (\n 0 === (sourceFiber$jscomp$0.mode & 1) &&\n (0 === tag || 11 === tag || 15 === tag)\n ) {\n var currentSource = sourceFiber$jscomp$0.alternate;\n currentSource\n ? ((sourceFiber$jscomp$0.updateQueue = currentSource.updateQueue),\n (sourceFiber$jscomp$0.memoizedState =\n currentSource.memoizedState),\n (sourceFiber$jscomp$0.lanes = currentSource.lanes))\n : ((sourceFiber$jscomp$0.updateQueue = null),\n (sourceFiber$jscomp$0.memoizedState = null));\n }\n b: {\n sourceFiber$jscomp$0 = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === sourceFiber$jscomp$0.tag)) {\n var nextState = sourceFiber$jscomp$0.memoizedState;\n JSCompiler_temp =\n null !== nextState\n ? null !== nextState.dehydrated\n ? !0\n : !1\n : !0;\n }\n if (JSCompiler_temp) {\n var suspenseBoundary = sourceFiber$jscomp$0;\n break b;\n }\n sourceFiber$jscomp$0 = sourceFiber$jscomp$0.return;\n } while (null !== sourceFiber$jscomp$0);\n suspenseBoundary = null;\n }\n if (null !== suspenseBoundary) {\n suspenseBoundary.flags &= -257;\n value = suspenseBoundary;\n sourceFiber$jscomp$0 = thrownValue;\n if (0 === (value.mode & 1))\n if (value === returnFiber) value.flags |= 65536;\n else {\n value.flags |= 128;\n sourceFiber.flags |= 131072;\n sourceFiber.flags &= -52805;\n if (1 === sourceFiber.tag)\n if (null === sourceFiber.alternate) sourceFiber.tag = 17;\n else {\n var update = createUpdate(-1, 1);\n update.tag = 2;\n enqueueUpdate(sourceFiber, update, 1);\n }\n sourceFiber.lanes |= 1;\n }\n else (value.flags |= 65536), (value.lanes = sourceFiber$jscomp$0);\n suspenseBoundary.mode & 1 &&\n attachPingListener(root, wakeable, thrownValue);\n thrownValue = suspenseBoundary;\n root = wakeable;\n var wakeables = thrownValue.updateQueue;\n if (null === wakeables) {\n var updateQueue = new Set();\n updateQueue.add(root);\n thrownValue.updateQueue = updateQueue;\n } else wakeables.add(root);\n break a;\n } else {\n if (0 === (thrownValue & 1)) {\n attachPingListener(root, wakeable, thrownValue);\n renderDidSuspendDelayIfPossible();\n break a;\n }\n value = Error(\n \"A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.\"\n );\n }\n }\n root = value = createCapturedValueAtFiber(value, sourceFiber);\n 4 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2);\n null === workInProgressRootConcurrentErrors\n ? (workInProgressRootConcurrentErrors = [root])\n : workInProgressRootConcurrentErrors.push(root);\n root = returnFiber;\n do {\n switch (root.tag) {\n case 3:\n wakeable = value;\n root.flags |= 65536;\n thrownValue &= -thrownValue;\n root.lanes |= thrownValue;\n var update$jscomp$0 = createRootErrorUpdate(\n root,\n wakeable,\n thrownValue\n );\n enqueueCapturedUpdate(root, update$jscomp$0);\n break a;\n case 1:\n wakeable = value;\n var ctor = root.type,\n instance = root.stateNode;\n if (\n 0 === (root.flags & 128) &&\n (\"function\" === typeof ctor.getDerivedStateFromError ||\n (null !== instance &&\n \"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance))))\n ) {\n root.flags |= 65536;\n thrownValue &= -thrownValue;\n root.lanes |= thrownValue;\n var update$32 = createClassErrorUpdate(\n root,\n wakeable,\n thrownValue\n );\n enqueueCapturedUpdate(root, update$32);\n break a;\n }\n }\n root = root.return;\n } while (null !== root);\n }\n completeUnitOfWork(erroredWork);\n } catch (yetAnotherThrownValue) {\n thrownValue = yetAnotherThrownValue;\n workInProgress === erroredWork &&\n null !== erroredWork &&\n (workInProgress = erroredWork = erroredWork.return);\n continue;\n }\n break;\n } while (1);\n}\nfunction pushDispatcher() {\n var prevDispatcher = ReactCurrentDispatcher$2.current;\n ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction renderDidSuspendDelayIfPossible() {\n if (\n 0 === workInProgressRootExitStatus ||\n 3 === workInProgressRootExitStatus ||\n 2 === workInProgressRootExitStatus\n )\n workInProgressRootExitStatus = 4;\n null === workInProgressRoot ||\n (0 === (workInProgressRootSkippedLanes & 268435455) &&\n 0 === (workInProgressRootInterleavedUpdatedLanes & 268435455)) ||\n markRootSuspended$1(workInProgressRoot, workInProgressRootRenderLanes);\n}\nfunction renderRootSync(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher();\n if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)\n (workInProgressTransitions = null), prepareFreshStack(root, lanes);\n do\n try {\n workLoopSync();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n executionContext = prevExecutionContext;\n ReactCurrentDispatcher$2.current = prevDispatcher;\n if (null !== workInProgress)\n throw Error(\n \"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.\"\n );\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n return workInProgressRootExitStatus;\n}\nfunction workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction workLoopConcurrent() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$1(unitOfWork.alternate, unitOfWork, subtreeRenderLanes);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n ReactCurrentOwner$2.current = null;\n}\nfunction completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n var current = completedWork.alternate;\n unitOfWork = completedWork.return;\n if (0 === (completedWork.flags & 32768)) {\n if (\n ((current = completeWork(current, completedWork, subtreeRenderLanes)),\n null !== current)\n ) {\n workInProgress = current;\n return;\n }\n } else {\n current = unwindWork(current, completedWork);\n if (null !== current) {\n current.flags &= 32767;\n workInProgress = current;\n return;\n }\n if (null !== unitOfWork)\n (unitOfWork.flags |= 32768),\n (unitOfWork.subtreeFlags = 0),\n (unitOfWork.deletions = null);\n else {\n workInProgressRootExitStatus = 6;\n workInProgress = null;\n return;\n }\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction commitRoot(root, recoverableErrors, transitions) {\n var previousUpdateLanePriority = currentUpdatePriority,\n prevTransition = ReactCurrentBatchConfig$2.transition;\n try {\n (ReactCurrentBatchConfig$2.transition = null),\n (currentUpdatePriority = 1),\n commitRootImpl(\n root,\n recoverableErrors,\n transitions,\n previousUpdateLanePriority\n );\n } finally {\n (ReactCurrentBatchConfig$2.transition = prevTransition),\n (currentUpdatePriority = previousUpdateLanePriority);\n }\n return null;\n}\nfunction commitRootImpl(\n root,\n recoverableErrors,\n transitions,\n renderPriorityLevel\n) {\n do flushPassiveEffects();\n while (null !== rootWithPendingPassiveEffects);\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n transitions = root.finishedWork;\n var lanes = root.finishedLanes;\n if (null === transitions) return null;\n root.finishedWork = null;\n root.finishedLanes = 0;\n if (transitions === root.current)\n throw Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n );\n root.callbackNode = null;\n root.callbackPriority = 0;\n var remainingLanes = transitions.lanes | transitions.childLanes;\n markRootFinished(root, remainingLanes);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n (0 === (transitions.subtreeFlags & 2064) &&\n 0 === (transitions.flags & 2064)) ||\n rootDoesHavePassiveEffects ||\n ((rootDoesHavePassiveEffects = !0),\n scheduleCallback$1(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n remainingLanes = 0 !== (transitions.flags & 15990);\n if (0 !== (transitions.subtreeFlags & 15990) || remainingLanes) {\n remainingLanes = ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition = null;\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority = 1;\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n ReactCurrentOwner$2.current = null;\n commitBeforeMutationEffects(root, transitions);\n commitMutationEffectsOnFiber(transitions, root);\n root.current = transitions;\n commitLayoutEffects(transitions, root, lanes);\n requestPaint();\n executionContext = prevExecutionContext;\n currentUpdatePriority = previousPriority;\n ReactCurrentBatchConfig$2.transition = remainingLanes;\n } else root.current = transitions;\n rootDoesHavePassiveEffects &&\n ((rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsLanes = lanes));\n remainingLanes = root.pendingLanes;\n 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);\n onCommitRoot(transitions.stateNode, renderPriorityLevel);\n ensureRootIsScheduled(root, now());\n if (null !== recoverableErrors)\n for (\n renderPriorityLevel = root.onRecoverableError, transitions = 0;\n transitions < recoverableErrors.length;\n transitions++\n )\n (lanes = recoverableErrors[transitions]),\n renderPriorityLevel(lanes.value, {\n componentStack: lanes.stack,\n digest: lanes.digest\n });\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n 0 !== (pendingPassiveEffectsLanes & 1) &&\n 0 !== root.tag &&\n flushPassiveEffects();\n remainingLanes = root.pendingLanes;\n 0 !== (remainingLanes & 1)\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n flushSyncCallbacks();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null !== rootWithPendingPassiveEffects) {\n var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),\n prevTransition = ReactCurrentBatchConfig$2.transition,\n previousPriority = currentUpdatePriority;\n try {\n ReactCurrentBatchConfig$2.transition = null;\n currentUpdatePriority = 16 > renderPriority ? 16 : renderPriority;\n if (null === rootWithPendingPassiveEffects)\n var JSCompiler_inline_result = !1;\n else {\n renderPriority = rootWithPendingPassiveEffects;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsLanes = 0;\n if (0 !== (executionContext & 6))\n throw Error(\"Cannot flush passive effects while already rendering.\");\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n for (nextEffect = renderPriority.current; null !== nextEffect; ) {\n var fiber = nextEffect,\n child = fiber.child;\n if (0 !== (nextEffect.flags & 16)) {\n var deletions = fiber.deletions;\n if (null !== deletions) {\n for (var i = 0; i < deletions.length; i++) {\n var fiberToDelete = deletions[i];\n for (nextEffect = fiberToDelete; null !== nextEffect; ) {\n var fiber$jscomp$0 = nextEffect;\n switch (fiber$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(8, fiber$jscomp$0, fiber);\n }\n var child$jscomp$0 = fiber$jscomp$0.child;\n if (null !== child$jscomp$0)\n (child$jscomp$0.return = fiber$jscomp$0),\n (nextEffect = child$jscomp$0);\n else\n for (; null !== nextEffect; ) {\n fiber$jscomp$0 = nextEffect;\n var sibling = fiber$jscomp$0.sibling,\n returnFiber = fiber$jscomp$0.return;\n detachFiberAfterEffects(fiber$jscomp$0);\n if (fiber$jscomp$0 === fiberToDelete) {\n nextEffect = null;\n break;\n }\n if (null !== sibling) {\n sibling.return = returnFiber;\n nextEffect = sibling;\n break;\n }\n nextEffect = returnFiber;\n }\n }\n }\n var previousFiber = fiber.alternate;\n if (null !== previousFiber) {\n var detachedChild = previousFiber.child;\n if (null !== detachedChild) {\n previousFiber.child = null;\n do {\n var detachedSibling = detachedChild.sibling;\n detachedChild.sibling = null;\n detachedChild = detachedSibling;\n } while (null !== detachedChild);\n }\n }\n nextEffect = fiber;\n }\n }\n if (0 !== (fiber.subtreeFlags & 2064) && null !== child)\n (child.return = fiber), (nextEffect = child);\n else\n b: for (; null !== nextEffect; ) {\n fiber = nextEffect;\n if (0 !== (fiber.flags & 2048))\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(9, fiber, fiber.return);\n }\n var sibling$jscomp$0 = fiber.sibling;\n if (null !== sibling$jscomp$0) {\n sibling$jscomp$0.return = fiber.return;\n nextEffect = sibling$jscomp$0;\n break b;\n }\n nextEffect = fiber.return;\n }\n }\n var finishedWork = renderPriority.current;\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n child = nextEffect;\n var firstChild = child.child;\n if (0 !== (child.subtreeFlags & 2064) && null !== firstChild)\n (firstChild.return = child), (nextEffect = firstChild);\n else\n b: for (child = finishedWork; null !== nextEffect; ) {\n deletions = nextEffect;\n if (0 !== (deletions.flags & 2048))\n try {\n switch (deletions.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(9, deletions);\n }\n } catch (error) {\n captureCommitPhaseError(deletions, deletions.return, error);\n }\n if (deletions === child) {\n nextEffect = null;\n break b;\n }\n var sibling$jscomp$1 = deletions.sibling;\n if (null !== sibling$jscomp$1) {\n sibling$jscomp$1.return = deletions.return;\n nextEffect = sibling$jscomp$1;\n break b;\n }\n nextEffect = deletions.return;\n }\n }\n executionContext = prevExecutionContext;\n flushSyncCallbacks();\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, renderPriority);\n } catch (err) {}\n JSCompiler_inline_result = !0;\n }\n return JSCompiler_inline_result;\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$2.transition = prevTransition);\n }\n }\n return !1;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1);\n rootFiber = enqueueUpdate(rootFiber, sourceFiber, 1);\n sourceFiber = requestEventTime();\n null !== rootFiber &&\n (markRootUpdated(rootFiber, 1, sourceFiber),\n ensureRootIsScheduled(rootFiber, sourceFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (\n nearestMountedAncestor = sourceFiber.return;\n null !== nearestMountedAncestor;\n\n ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n break;\n } else if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n nearestMountedAncestor = enqueueUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n sourceFiber = requestEventTime();\n null !== nearestMountedAncestor &&\n (markRootUpdated(nearestMountedAncestor, 1, sourceFiber),\n ensureRootIsScheduled(nearestMountedAncestor, sourceFiber));\n break;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n wakeable = requestEventTime();\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (4 === workInProgressRootExitStatus ||\n (3 === workInProgressRootExitStatus &&\n (workInProgressRootRenderLanes & 130023424) ===\n workInProgressRootRenderLanes &&\n 500 > now() - globalMostRecentFallbackTime)\n ? prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes));\n ensureRootIsScheduled(root, wakeable);\n}\nfunction retryTimedOutBoundary(boundaryFiber, retryLane) {\n 0 === retryLane &&\n (0 === (boundaryFiber.mode & 1)\n ? (retryLane = 1)\n : ((retryLane = nextRetryLane),\n (nextRetryLane <<= 1),\n 0 === (nextRetryLane & 130023424) && (nextRetryLane = 4194304)));\n var eventTime = requestEventTime();\n boundaryFiber = markUpdateLaneFromFiberToRoot(boundaryFiber, retryLane);\n null !== boundaryFiber &&\n (markRootUpdated(boundaryFiber, retryLane, eventTime),\n ensureRootIsScheduled(boundaryFiber, eventTime));\n}\nfunction retryDehydratedSuspenseBoundary(boundaryFiber) {\n var suspenseState = boundaryFiber.memoizedState,\n retryLane = 0;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryLane = 0;\n switch (boundaryFiber.tag) {\n case 13:\n var retryCache = boundaryFiber.stateNode;\n var suspenseState = boundaryFiber.memoizedState;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n break;\n case 19:\n retryCache = boundaryFiber.stateNode;\n break;\n default:\n throw Error(\n \"Pinged unknown suspense boundary type. This is probably a bug in React.\"\n );\n }\n null !== retryCache && retryCache.delete(wakeable);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nvar beginWork$1;\nbeginWork$1 = function(current, workInProgress, renderLanes) {\n if (null !== current)\n if (\n current.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (\n 0 === (current.lanes & renderLanes) &&\n 0 === (workInProgress.flags & 128)\n )\n return (\n (didReceiveUpdate = !1),\n attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n )\n );\n didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n }\n else didReceiveUpdate = !1;\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 2:\n var Component = workInProgress.type;\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n current = workInProgress.pendingProps;\n var context = getMaskedContext(\n workInProgress,\n contextStackCursor.current\n );\n prepareToReadContext(workInProgress, renderLanes);\n context = renderWithHooks(\n null,\n workInProgress,\n Component,\n current,\n context,\n renderLanes\n );\n workInProgress.flags |= 1;\n if (\n \"object\" === typeof context &&\n null !== context &&\n \"function\" === typeof context.render &&\n void 0 === context.$$typeof\n ) {\n workInProgress.tag = 1;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== context.state && void 0 !== context.state\n ? context.state\n : null;\n initializeUpdateQueue(workInProgress);\n context.updater = classComponentUpdater;\n workInProgress.stateNode = context;\n context._reactInternals = workInProgress;\n mountClassInstance(workInProgress, Component, current, renderLanes);\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n Component,\n !0,\n hasContext,\n renderLanes\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(null, workInProgress, context, renderLanes),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n Component = workInProgress.elementType;\n a: {\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n current = workInProgress.pendingProps;\n context = Component._init;\n Component = context(Component._payload);\n workInProgress.type = Component;\n context = workInProgress.tag = resolveLazyComponentTag(Component);\n current = resolveDefaultProps(Component, current);\n switch (context) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n Component,\n resolveDefaultProps(Component.type, current),\n renderLanes\n );\n break a;\n }\n throw Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n Component +\n \". Lazy element type must resolve to a class or function.\"\n );\n }\n return workInProgress;\n case 0:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateFunctionComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 1:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateClassComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n if (null === current)\n throw Error(\"Should have a current fiber. This is a bug in React.\");\n context = workInProgress.pendingProps;\n Component = workInProgress.memoizedState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, context, null, renderLanes);\n context = workInProgress.memoizedState.element;\n context === Component\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ))\n : (reconcileChildren(current, workInProgress, context, renderLanes),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n (Component = workInProgress.pendingProps.children),\n markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 6:\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (Component = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n Component,\n renderLanes\n ))\n : reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 11:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateForwardRef(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 7:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n a: {\n Component = workInProgress.type._context;\n context = workInProgress.pendingProps;\n hasContext = workInProgress.memoizedProps;\n var newValue = context.value;\n push(valueCursor, Component._currentValue2);\n Component._currentValue2 = newValue;\n if (null !== hasContext)\n if (objectIs(hasContext.value, newValue)) {\n if (\n hasContext.children === context.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n } else\n for (\n hasContext = workInProgress.child,\n null !== hasContext && (hasContext.return = workInProgress);\n null !== hasContext;\n\n ) {\n var list = hasContext.dependencies;\n if (null !== list) {\n newValue = hasContext.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (dependency.context === Component) {\n if (1 === hasContext.tag) {\n dependency = createUpdate(-1, renderLanes & -renderLanes);\n dependency.tag = 2;\n var updateQueue = hasContext.updateQueue;\n if (null !== updateQueue) {\n updateQueue = updateQueue.shared;\n var pending = updateQueue.pending;\n null === pending\n ? (dependency.next = dependency)\n : ((dependency.next = pending.next),\n (pending.next = dependency));\n updateQueue.pending = dependency;\n }\n }\n hasContext.lanes |= renderLanes;\n dependency = hasContext.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n hasContext.return,\n renderLanes,\n workInProgress\n );\n list.lanes |= renderLanes;\n break;\n }\n dependency = dependency.next;\n }\n } else if (10 === hasContext.tag)\n newValue =\n hasContext.type === workInProgress.type\n ? null\n : hasContext.child;\n else if (18 === hasContext.tag) {\n newValue = hasContext.return;\n if (null === newValue)\n throw Error(\n \"We just came from a parent so we must have had a parent. This is a bug in React.\"\n );\n newValue.lanes |= renderLanes;\n list = newValue.alternate;\n null !== list && (list.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n newValue,\n renderLanes,\n workInProgress\n );\n newValue = hasContext.sibling;\n } else newValue = hasContext.child;\n if (null !== newValue) newValue.return = hasContext;\n else\n for (newValue = hasContext; null !== newValue; ) {\n if (newValue === workInProgress) {\n newValue = null;\n break;\n }\n hasContext = newValue.sibling;\n if (null !== hasContext) {\n hasContext.return = newValue.return;\n newValue = hasContext;\n break;\n }\n newValue = newValue.return;\n }\n hasContext = newValue;\n }\n reconcileChildren(\n current,\n workInProgress,\n context.children,\n renderLanes\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (context = workInProgress.type),\n (Component = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress, renderLanes),\n (context = readContext(context)),\n (Component = Component(context)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 14:\n return (\n (Component = workInProgress.type),\n (context = resolveDefaultProps(Component, workInProgress.pendingProps)),\n (context = resolveDefaultProps(Component.type, context)),\n updateMemoComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 17:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),\n (workInProgress.tag = 1),\n isContextProvider(Component)\n ? ((current = !0), pushContextProvider(workInProgress))\n : (current = !1),\n prepareToReadContext(workInProgress, renderLanes),\n constructClassInstance(workInProgress, Component, context),\n mountClassInstance(workInProgress, Component, context, renderLanes),\n finishClassComponent(\n null,\n workInProgress,\n Component,\n !0,\n current,\n renderLanes\n )\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n};\nfunction scheduleCallback$1(priorityLevel, callback) {\n return scheduleCallback(priorityLevel, callback);\n}\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 14680064;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 8;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_OFFSCREEN_TYPE:\n return createFiberFromOffscreen(pendingProps, mode, lanes, key);\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n ((null == type ? type : typeof type) + \".\")\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiber(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromOffscreen(pendingProps, mode, lanes, key) {\n pendingProps = createFiber(22, pendingProps, key, mode);\n pendingProps.elementType = REACT_OFFSCREEN_TYPE;\n pendingProps.lanes = lanes;\n pendingProps.stateNode = { isHidden: !1 };\n return pendingProps;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiber(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onRecoverableError\n) {\n this.tag = tag;\n this.containerInfo = containerInfo;\n this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = -1;\n this.callbackNode = this.pendingContext = this.context = null;\n this.callbackPriority = 0;\n this.eventTimes = createLaneMap(0);\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;\n this.entanglements = createLaneMap(0);\n this.identifierPrefix = identifierPrefix;\n this.onRecoverableError = onRecoverableError;\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw Error(\"Unable to find node on an unmounted component.\");\n component = Object.keys(component).join(\",\");\n throw Error(\n \"Argument appears to not be a ReactComponent. Keys: \" + component\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current = container.current,\n eventTime = requestEventTime(),\n lane = requestUpdateLane(current);\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternals;\n b: {\n if (\n getNearestMountedFiber(parentComponent) !== parentComponent ||\n 1 !== parentComponent.tag\n )\n throw Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n );\n var JSCompiler_inline_result = parentComponent;\n do {\n switch (JSCompiler_inline_result.tag) {\n case 3:\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(JSCompiler_inline_result.type)) {\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n JSCompiler_inline_result = JSCompiler_inline_result.return;\n } while (null !== JSCompiler_inline_result);\n throw Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n JSCompiler_inline_result\n );\n break a;\n }\n }\n parentComponent = JSCompiler_inline_result;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = createUpdate(eventTime, lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback && (container.callback = callback);\n element = enqueueUpdate(current, container, lane);\n null !== element &&\n (scheduleUpdateOnFiber(element, current, lane, eventTime),\n entangleTransitions(element, current, lane));\n return lane;\n}\nfunction emptyFindFiberByHostInstance() {\n return null;\n}\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nfunction onRecoverableError(error) {\n console.error(error);\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n 0 === executionContext &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n }\n};\nvar roots = new Map(),\n devToolsConfig$jscomp$inline_938 = {\n findFiberByHostInstance: getInstanceFromInstance,\n bundleType: 0,\n version: \"18.2.0-next-9e3b772b8-20220608\",\n rendererPackageName: \"react-native-renderer\",\n rendererConfig: {\n getInspectorDataForViewTag: function() {\n throw Error(\n \"getInspectorDataForViewTag() is not available in production\"\n );\n },\n getInspectorDataForViewAtPoint: function() {\n throw Error(\n \"getInspectorDataForViewAtPoint() is not available in production.\"\n );\n }.bind(null, findNodeHandle)\n }\n };\nvar internals$jscomp$inline_1180 = {\n bundleType: devToolsConfig$jscomp$inline_938.bundleType,\n version: devToolsConfig$jscomp$inline_938.version,\n rendererPackageName: devToolsConfig$jscomp$inline_938.rendererPackageName,\n rendererConfig: devToolsConfig$jscomp$inline_938.rendererConfig,\n overrideHookState: null,\n overrideHookStateDeletePath: null,\n overrideHookStateRenamePath: null,\n overrideProps: null,\n overridePropsDeletePath: null,\n overridePropsRenamePath: null,\n setErrorHandler: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance:\n devToolsConfig$jscomp$inline_938.findFiberByHostInstance ||\n emptyFindFiberByHostInstance,\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null,\n reconcilerVersion: \"18.2.0-next-9e3b772b8-20220608\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n var hook$jscomp$inline_1181 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (\n !hook$jscomp$inline_1181.isDisabled &&\n hook$jscomp$inline_1181.supportsFiber\n )\n try {\n (rendererID = hook$jscomp$inline_1181.inject(\n internals$jscomp$inline_1180\n )),\n (injectedHook = hook$jscomp$inline_1181);\n } catch (err) {}\n}\nexports.createPortal = function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n};\nexports.dispatchCommand = function(handle, command, args) {\n null != handle._nativeTag &&\n (null != handle._internalInstanceHandle\n ? ((handle = handle._internalInstanceHandle.stateNode),\n null != handle &&\n nativeFabricUIManager.dispatchCommand(handle.node, command, args))\n : ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(\n handle._nativeTag,\n command,\n args\n ));\n};\nexports.findHostInstance_DEPRECATED = function(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (componentOrHandle._nativeTag) return componentOrHandle;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical\n : componentOrHandle;\n};\nexports.findNodeHandle = findNodeHandle;\nexports.getInspectorDataForInstance = void 0;\nexports.render = function(element, containerTag, callback, concurrentRoot) {\n var root = roots.get(containerTag);\n root ||\n ((root = concurrentRoot ? 1 : 0),\n (concurrentRoot = new FiberRootNode(\n containerTag,\n root,\n !1,\n \"\",\n onRecoverableError\n )),\n (root = createFiber(3, null, null, 1 === root ? 1 : 0)),\n (concurrentRoot.current = root),\n (root.stateNode = concurrentRoot),\n (root.memoizedState = {\n element: null,\n isDehydrated: !1,\n cache: null,\n transitions: null,\n pendingSuspenseBoundaries: null\n }),\n initializeUpdateQueue(root),\n (root = concurrentRoot),\n roots.set(containerTag, root));\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode.canonical;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n};\nexports.sendAccessibilityEvent = function(handle, eventType) {\n null != handle._nativeTag &&\n (null != handle._internalInstanceHandle\n ? ((handle = handle._internalInstanceHandle.stateNode),\n null != handle &&\n nativeFabricUIManager.sendAccessibilityEvent(handle.node, eventType))\n : ReactNativePrivateInterface.legacySendAccessibilityEvent(\n handle._nativeTag,\n eventType\n ));\n};\nexports.stopSurface = function(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n};\nexports.unmountComponentAtNode = function(containerTag) {\n this.stopSurface(containerTag);\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport '../Core/InitializeCore';\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n/**\n * Sets up global variables typical in most JavaScript environments.\n *\n * 1. Global timers (via `setTimeout` etc).\n * 2. Global console object.\n * 3. Hooks for printing stack traces with source maps.\n *\n * Leaves enough room in the environment for implementing your own:\n *\n * 1. Require system.\n * 2. Bridged modules.\n *\n */\n\n'use strict';\n\nconst start = Date.now();\n\nrequire('./setUpGlobals');\nrequire('./setUpPerformance');\nrequire('./setUpErrorHandling');\nrequire('./polyfillPromise');\nrequire('./setUpRegeneratorRuntime');\nrequire('./setUpTimers');\nrequire('./setUpXHR');\nrequire('./setUpAlert');\nrequire('./setUpNavigator');\nrequire('./setUpBatchedBridge');\nrequire('./setUpSegmentFetcher');\nif (__DEV__) {\n require('./checkNativeVersion');\n require('./setUpDeveloperTools');\n require('../LogBox/LogBox').install();\n}\n\nrequire('../ReactNative/AppRegistry');\n\nconst GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');\n// We could just call GlobalPerformanceLogger.markPoint at the top of the file,\n// but then we'd be excluding the time it took to require the logger.\n// Instead, we just use Date.now and backdate the timestamp.\nGlobalPerformanceLogger.markPoint(\n 'initializeCore_start',\n GlobalPerformanceLogger.currentTimestamp() - (Date.now() - start),\n);\nGlobalPerformanceLogger.markPoint('initializeCore_end');\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\n/**\n * Sets up global variables for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nif (global.window === undefined) {\n // $FlowFixMe[cannot-write]\n global.window = global;\n}\n\nif (global.self === undefined) {\n // $FlowFixMe[cannot-write]\n global.self = global;\n}\n\n// Set up process\nglobal.process = global.process || {};\nglobal.process.env = global.process.env || {};\nif (!global.process.env.NODE_ENV) {\n global.process.env.NODE_ENV = __DEV__ ? 'development' : 'production';\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nif (!global.performance) {\n global.performance = ({}: {now?: () => number});\n}\n\n/**\n * Returns a double, measured in milliseconds.\n * https://developer.mozilla.org/en-US/docs/Web/API/Performance/now\n */\nif (typeof global.performance.now !== 'function') {\n global.performance.now = function () {\n const performanceNow = global.nativePerformanceNow || Date.now;\n return performanceNow();\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\n/**\n * Sets up the console and exception handling (redbox) for React Native.\n * You can use this module directly, or just require InitializeCore.\n */\nconst ExceptionsManager = require('./ExceptionsManager');\nExceptionsManager.installConsoleErrorReporter();\n\n// Set up error handler\nif (!global.__fbDisableExceptionsManager) {\n const handleError = (e: mixed, isFatal: boolean) => {\n try {\n ExceptionsManager.handleException(e, isFatal);\n } catch (ee) {\n console.log('Failed to print error: ', ee.message);\n throw e;\n }\n };\n\n const ErrorUtils = require('../vendor/core/ErrorUtils');\n ErrorUtils.setGlobalHandler(handleError);\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {ExtendedError} from './ExtendedError';\nimport type {ExceptionData} from './NativeExceptionsManager';\n\nclass SyntheticError extends Error {\n name: string = '';\n}\n\ntype ExceptionDecorator = ExceptionData => ExceptionData;\n\nlet userExceptionDecorator: ?ExceptionDecorator;\nlet inUserExceptionDecorator = false;\n\n// This Symbol is used to decorate an ExtendedError with extra data in select usecases.\n// Note that data passed using this method should be strictly contained,\n// as data that's not serializable/too large may cause issues with passing the error to the native code.\nconst decoratedExtraDataKey: symbol = Symbol('decoratedExtraDataKey');\n\n/**\n * Allows the app to add information to the exception report before it is sent\n * to native. This API is not final.\n */\n\nfunction unstable_setExceptionDecorator(\n exceptionDecorator: ?ExceptionDecorator,\n) {\n userExceptionDecorator = exceptionDecorator;\n}\n\nfunction preprocessException(data: ExceptionData): ExceptionData {\n if (userExceptionDecorator && !inUserExceptionDecorator) {\n inUserExceptionDecorator = true;\n try {\n return userExceptionDecorator(data);\n } catch {\n // Fall through\n } finally {\n inUserExceptionDecorator = false;\n }\n }\n return data;\n}\n\n/**\n * Handles the developer-visible aspect of errors and exceptions\n */\nlet exceptionID = 0;\nfunction reportException(\n e: ExtendedError,\n isFatal: boolean,\n reportToConsole: boolean, // only true when coming from handleException; the error has not yet been logged\n) {\n const parseErrorStack = require('./Devtools/parseErrorStack');\n const stack = parseErrorStack(e?.stack);\n const currentExceptionID = ++exceptionID;\n const originalMessage = e.message || '';\n let message = originalMessage;\n if (e.componentStack != null) {\n message += `\\n\\nThis error is located at:${e.componentStack}`;\n }\n const namePrefix = e.name == null || e.name === '' ? '' : `${e.name}: `;\n\n if (!message.startsWith(namePrefix)) {\n message = namePrefix + message;\n }\n\n message =\n e.jsEngine == null ? message : `${message}, js engine: ${e.jsEngine}`;\n\n const data = preprocessException({\n message,\n originalMessage: message === originalMessage ? null : originalMessage,\n name: e.name == null || e.name === '' ? null : e.name,\n componentStack:\n typeof e.componentStack === 'string' ? e.componentStack : null,\n stack,\n id: currentExceptionID,\n isFatal,\n extraData: {\n // $FlowFixMe[incompatible-use] we can't define a type with a Symbol-keyed field in flow\n ...e[decoratedExtraDataKey],\n jsEngine: e.jsEngine,\n rawStack: e.stack,\n },\n });\n\n if (reportToConsole) {\n // we feed back into console.error, to make sure any methods that are\n // monkey patched on top of console.error are called when coming from\n // handleException\n console.error(data.message);\n }\n\n if (__DEV__) {\n const LogBox = require('../LogBox/LogBox');\n LogBox.addException({\n ...data,\n isComponentError: !!e.isComponentError,\n });\n } else if (isFatal || e.type !== 'warn') {\n const NativeExceptionsManager =\n require('./NativeExceptionsManager').default;\n if (NativeExceptionsManager) {\n NativeExceptionsManager.reportException(data);\n }\n }\n}\n\ndeclare var console: typeof console & {\n _errorOriginal: typeof console.error,\n reportErrorsAsExceptions: boolean,\n ...\n};\n\n// If we trigger console.error _from_ handleException,\n// we do want to make sure that console.error doesn't trigger error reporting again\nlet inExceptionHandler = false;\n\n/**\n * Logs exceptions to the (native) console and displays them\n */\nfunction handleException(e: mixed, isFatal: boolean) {\n let error: Error;\n if (e instanceof Error) {\n error = e;\n } else {\n // Workaround for reporting errors caused by `throw 'some string'`\n // Unfortunately there is no way to figure out the stacktrace in this\n // case, so if you ended up here trying to trace an error, look for\n // `throw ''` somewhere in your codebase.\n error = new SyntheticError(e);\n }\n try {\n inExceptionHandler = true;\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n reportException(error, isFatal, /*reportToConsole*/ true);\n } finally {\n inExceptionHandler = false;\n }\n}\n\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nfunction reactConsoleErrorHandler(...args) {\n // bubble up to any original handlers\n console._errorOriginal(...args);\n if (!console.reportErrorsAsExceptions) {\n return;\n }\n if (inExceptionHandler) {\n // The fundamental trick here is that are multiple entry point to logging errors:\n // (see D19743075 for more background)\n //\n // 1. An uncaught exception being caught by the global handler\n // 2. An error being logged throw console.error\n //\n // However, console.error is monkey patched multiple times: by this module, and by the\n // DevTools setup that sends messages to Metro.\n // The patching order cannot be relied upon.\n //\n // So, some scenarios that are handled by this flag:\n //\n // Logging an error:\n // 1. console.error called from user code\n // 2. (possibly) arrives _first_ at DevTool handler, send to Metro\n // 3. Bubbles to here\n // 4. goes into report Exception.\n // 5. should not trigger console.error again, to avoid looping / logging twice\n // 6. should still bubble up to original console\n // (which might either be console.log, or the DevTools handler in case it patched _earlier_ and (2) didn't happen)\n //\n // Throwing an uncaught exception:\n // 1. exception thrown\n // 2. picked up by handleException\n // 3. should be send to console.error (not console._errorOriginal, as DevTools might have patched _later_ and it needs to send it to Metro)\n // 4. that _might_ bubble again to the `reactConsoleErrorHandle` defined here\n // -> should not handle exception _again_, to avoid looping / showing twice (this code branch)\n // 5. should still bubble up to original console (which might either be console.log, or the DevTools handler in case that one patched _earlier_)\n return;\n }\n\n let error;\n\n const firstArg = args[0];\n if (firstArg?.stack) {\n // reportException will console.error this with high enough fidelity.\n error = firstArg;\n } else {\n const stringifySafe = require('../Utilities/stringifySafe').default;\n if (typeof firstArg === 'string' && firstArg.startsWith('Warning: ')) {\n // React warnings use console.error so that a stack trace is shown, but\n // we don't (currently) want these to show a redbox\n // (Note: Logic duplicated in polyfills/console.js.)\n return;\n }\n const message = args\n .map(arg => (typeof arg === 'string' ? arg : stringifySafe(arg)))\n .join(' ');\n\n error = new SyntheticError(message);\n error.name = 'console.error';\n }\n\n reportException(\n /* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n error,\n false, // isFatal\n false, // reportToConsole\n );\n}\n\n/**\n * Shows a redbox with stacktrace for all console.error messages. Disable by\n * setting `console.reportErrorsAsExceptions = false;` in your app.\n */\nfunction installConsoleErrorReporter() {\n // Enable reportErrorsAsExceptions\n if (console._errorOriginal) {\n return; // already installed\n }\n // Flow doesn't like it when you set arbitrary values on a global object\n console._errorOriginal = console.error.bind(console);\n console.error = reactConsoleErrorHandler;\n if (console.reportErrorsAsExceptions === undefined) {\n // Individual apps can disable this\n // Flow doesn't like it when you set arbitrary values on a global object\n console.reportErrorsAsExceptions = true;\n }\n}\n\nmodule.exports = {\n decoratedExtraDataKey,\n handleException,\n installConsoleErrorReporter,\n SyntheticError,\n unstable_setExceptionDecorator,\n};\n","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nvar setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeFunction = require(\"./isNativeFunction.js\");\n\nvar construct = require(\"./construct.js\");\n\nfunction _wrapNativeSuper(Class) {\n var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n module.exports = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n if (Class === null || !isNativeFunction(Class)) return Class;\n\n if (typeof Class !== \"function\") {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n if (typeof _cache !== \"undefined\") {\n if (_cache.has(Class)) return _cache.get(Class);\n\n _cache.set(Class, Wrapper);\n }\n\n function Wrapper() {\n return construct(Class, arguments, getPrototypeOf(this).constructor);\n }\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n return setPrototypeOf(Wrapper, Class);\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _wrapNativeSuper(Class);\n}\n\nmodule.exports = _wrapNativeSuper, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeFunction(fn) {\n return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n}\n\nmodule.exports = _isNativeFunction, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var setPrototypeOf = require(\"./setPrototypeOf.js\");\n\nvar isNativeReflectConstruct = require(\"./isNativeReflectConstruct.js\");\n\nfunction _construct(Parent, args, Class) {\n if (isNativeReflectConstruct()) {\n module.exports = _construct = Reflect.construct.bind(), module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n } else {\n module.exports = _construct = function _construct(Parent, args, Class) {\n var a = [null];\n a.push.apply(a, args);\n var Constructor = Function.bind.apply(Parent, a);\n var instance = new Constructor();\n if (Class) setPrototypeOf(instance, Class.prototype);\n return instance;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n }\n\n return _construct.apply(null, arguments);\n}\n\nmodule.exports = _construct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nmodule.exports = _isNativeReflectConstruct, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {StackFrame} from '../NativeExceptionsManager';\nimport type {HermesParsedStack} from './parseHermesStack';\n\nconst parseHermesStack = require('./parseHermesStack');\n\nfunction convertHermesStack(stack: HermesParsedStack): Array {\n const frames: Array = [];\n for (const entry of stack.entries) {\n if (entry.type !== 'FRAME') {\n continue;\n }\n const {location, functionName} = entry;\n if (location.type === 'NATIVE') {\n continue;\n }\n frames.push({\n methodName: functionName,\n file: location.sourceUrl,\n lineNumber: location.line1Based,\n column:\n location.type === 'SOURCE'\n ? location.column1Based - 1\n : location.virtualOffset0Based,\n });\n }\n return frames;\n}\n\nfunction parseErrorStack(errorStack?: string): Array {\n if (errorStack == null) {\n return [];\n }\n\n const stacktraceParser = require('stacktrace-parser');\n const parsedStack = Array.isArray(errorStack)\n ? errorStack\n : global.HermesInternal\n ? convertHermesStack(parseHermesStack(errorStack))\n : stacktraceParser.parse(errorStack).map(frame => ({\n ...frame,\n column: frame.column != null ? frame.column - 1 : null,\n }));\n\n return parsedStack;\n}\n\nmodule.exports = parseErrorStack;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar UNKNOWN_FUNCTION = '';\n/**\n * This parses the different stack traces and puts them into one format\n * This borrows heavily from TraceKit (https://github.com/csnover/TraceKit)\n */\n\nfunction parse(stackString) {\n var lines = stackString.split('\\n');\n return lines.reduce(function (stack, line) {\n var parseResult = parseChrome(line) || parseWinjs(line) || parseGecko(line) || parseNode(line) || parseJSC(line);\n\n if (parseResult) {\n stack.push(parseResult);\n }\n\n return stack;\n }, []);\n}\nvar chromeRe = /^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\\/|[a-z]:\\\\|\\\\\\\\).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;\nvar chromeEvalRe = /\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;\n\nfunction parseChrome(line) {\n var parts = chromeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isNative = parts[2] && parts[2].indexOf('native') === 0; // start of line\n\n var isEval = parts[2] && parts[2].indexOf('eval') === 0; // start of line\n\n var submatch = chromeEvalRe.exec(parts[2]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line/column number\n parts[2] = submatch[1]; // url\n\n parts[3] = submatch[2]; // line\n\n parts[4] = submatch[3]; // column\n }\n\n return {\n file: !isNative ? parts[2] : null,\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: isNative ? [parts[2]] : [],\n lineNumber: parts[3] ? +parts[3] : null,\n column: parts[4] ? +parts[4] : null\n };\n}\n\nvar winjsRe = /^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nfunction parseWinjs(line) {\n var parts = winjsRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n}\n\nvar geckoRe = /^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;\nvar geckoEvalRe = /(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;\n\nfunction parseGecko(line) {\n var parts = geckoRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n var isEval = parts[3] && parts[3].indexOf(' > eval') > -1;\n var submatch = geckoEvalRe.exec(parts[3]);\n\n if (isEval && submatch != null) {\n // throw out eval line/column and use top-most line number\n parts[3] = submatch[1];\n parts[4] = submatch[2];\n parts[5] = null; // no column when eval\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: parts[2] ? parts[2].split(',') : [],\n lineNumber: parts[4] ? +parts[4] : null,\n column: parts[5] ? +parts[5] : null\n };\n}\n\nvar javaScriptCoreRe = /^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;\n\nfunction parseJSC(line) {\n var parts = javaScriptCoreRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[3],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[4],\n column: parts[5] ? +parts[5] : null\n };\n}\n\nvar nodeRe = /^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;\n\nfunction parseNode(line) {\n var parts = nodeRe.exec(line);\n\n if (!parts) {\n return null;\n }\n\n return {\n file: parts[2],\n methodName: parts[1] || UNKNOWN_FUNCTION,\n arguments: [],\n lineNumber: +parts[3],\n column: parts[4] ? +parts[4] : null\n };\n}\n\nexports.parse = parse;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype HermesStackLocationNative = {|\n +type: 'NATIVE',\n|};\n\ntype HermesStackLocationSource = {|\n +type: 'SOURCE',\n +sourceUrl: string,\n +line1Based: number,\n +column1Based: number,\n|};\n\ntype HermesStackLocationBytecode = {|\n +type: 'BYTECODE',\n +sourceUrl: string,\n +line1Based: number,\n +virtualOffset0Based: number,\n|};\n\ntype HermesStackLocation =\n | HermesStackLocationNative\n | HermesStackLocationSource\n | HermesStackLocationBytecode;\n\ntype HermesStackEntryFrame = {|\n +type: 'FRAME',\n +location: HermesStackLocation,\n +functionName: string,\n|};\n\ntype HermesStackEntrySkipped = {|\n +type: 'SKIPPED',\n +count: number,\n|};\n\ntype HermesStackEntry = HermesStackEntryFrame | HermesStackEntrySkipped;\n\nexport type HermesParsedStack = {|\n +message: string,\n +entries: $ReadOnlyArray,\n|};\n\n// Capturing groups:\n// 1. function name\n// 2. is this a native stack frame?\n// 3. is this a bytecode address or a source location?\n// 4. source URL (filename)\n// 5. line number (1 based)\n// 6. column number (1 based) or virtual offset (0 based)\nconst RE_FRAME =\n /^ {4}at (.+?)(?: \\((native)\\)?| \\((address at )?(.*?):(\\d+):(\\d+)\\))$/;\n\n// Capturing groups:\n// 1. count of skipped frames\nconst RE_SKIPPED = /^ {4}... skipping (\\d+) frames$/;\n\nfunction parseLine(line: string): ?HermesStackEntry {\n const asFrame = line.match(RE_FRAME);\n if (asFrame) {\n return {\n type: 'FRAME',\n functionName: asFrame[1],\n location:\n asFrame[2] === 'native'\n ? {type: 'NATIVE'}\n : asFrame[3] === 'address at '\n ? {\n type: 'BYTECODE',\n sourceUrl: asFrame[4],\n line1Based: Number.parseInt(asFrame[5], 10),\n virtualOffset0Based: Number.parseInt(asFrame[6], 10),\n }\n : {\n type: 'SOURCE',\n sourceUrl: asFrame[4],\n line1Based: Number.parseInt(asFrame[5], 10),\n column1Based: Number.parseInt(asFrame[6], 10),\n },\n };\n }\n const asSkipped = line.match(RE_SKIPPED);\n if (asSkipped) {\n return {\n type: 'SKIPPED',\n count: Number.parseInt(asSkipped[1], 10),\n };\n }\n}\n\nmodule.exports = function parseHermesStack(stack: string): HermesParsedStack {\n const lines = stack.split(/\\n/);\n let entries: Array = [];\n let lastMessageLine = -1;\n for (let i = 0; i < lines.length; ++i) {\n const line = lines[i];\n if (!line) {\n continue;\n }\n const entry = parseLine(line);\n if (entry) {\n entries.push(entry);\n continue;\n }\n // No match - we're still in the message\n lastMessageLine = i;\n entries = [];\n }\n const message = lines.slice(0, lastMessageLine + 1).join('\\n');\n return {message, entries};\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nconst Platform = require('../Utilities/Platform');\n\nexport type StackFrame = {|\n column: ?number,\n file: ?string,\n lineNumber: ?number,\n methodName: string,\n collapse?: boolean,\n|};\nexport type ExceptionData = {\n message: string,\n originalMessage: ?string,\n name: ?string,\n componentStack: ?string,\n stack: Array,\n id: number,\n isFatal: boolean,\n // flowlint-next-line unclear-type:off\n extraData?: Object,\n ...\n};\nexport interface Spec extends TurboModule {\n // Deprecated: Use `reportException`\n +reportFatalException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // Deprecated: Use `reportException`\n +reportSoftException: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n +reportException?: (data: ExceptionData) => void;\n +updateExceptionMessage: (\n message: string,\n stack: Array,\n exceptionId: number,\n ) => void;\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n +dismissRedbox?: () => void;\n}\n\nconst NativeModule =\n TurboModuleRegistry.getEnforcing('ExceptionsManager');\n\nconst ExceptionsManager = {\n reportFatalException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportFatalException(message, stack, exceptionId);\n },\n reportSoftException(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.reportSoftException(message, stack, exceptionId);\n },\n updateExceptionMessage(\n message: string,\n stack: Array,\n exceptionId: number,\n ) {\n NativeModule.updateExceptionMessage(message, stack, exceptionId);\n },\n dismissRedbox(): void {\n if (Platform.OS !== 'ios' && NativeModule.dismissRedbox) {\n // TODO(T53311281): This is a noop on iOS now. Implement it.\n NativeModule.dismissRedbox();\n }\n },\n reportException(data: ExceptionData): void {\n if (NativeModule.reportException) {\n NativeModule.reportException(data);\n return;\n }\n if (data.isFatal) {\n ExceptionsManager.reportFatalException(data.message, data.stack, data.id);\n } else {\n ExceptionsManager.reportSoftException(data.message, data.stack, data.id);\n }\n },\n};\n\nexport default ExceptionsManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up Promise. The native Promise implementation throws the following error:\n * ERROR: Event loop not supported.\n *\n * If you don't need these polyfills, don't use InitializeCore; just directly\n * require the modules you need from InitializeCore for setup.\n */\n\n// If global.Promise is provided by Hermes, we are confident that it can provide\n// all the methods needed by React Native, so we can directly use it.\nif (global?.HermesInternal?.hasPromise?.()) {\n const HermesPromise = global.Promise;\n\n if (__DEV__) {\n if (typeof HermesPromise !== 'function') {\n console.error('HermesPromise does not exist');\n }\n global.HermesInternal?.enablePromiseRejectionTracker?.(\n require('../promiseRejectionTrackingOptions').default,\n );\n }\n} else {\n polyfillGlobal('Promise', () => require('../Promise'));\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst defineLazyObjectProperty = require('./defineLazyObjectProperty');\n\n/**\n * Sets an object's property. If a property with the same name exists, this will\n * replace it but maintain its descriptor configuration. The property will be\n * replaced with a lazy getter.\n *\n * In DEV mode the original property value will be preserved as `original[PropertyName]`\n * so that, if necessary, it can be restored. For example, if you want to route\n * network requests through DevTools (to trace them):\n *\n * global.XMLHttpRequest = global.originalXMLHttpRequest;\n *\n * @see https://github.com/facebook/react-native/issues/934\n */\nfunction polyfillObjectProperty(\n object: {...},\n name: string,\n getValue: () => T,\n): void {\n const descriptor = Object.getOwnPropertyDescriptor<$FlowFixMe>(object, name);\n if (__DEV__ && descriptor) {\n const backupName = `original${name[0].toUpperCase()}${name.substr(1)}`;\n Object.defineProperty(object, backupName, descriptor);\n }\n\n const {enumerable, writable, configurable = false} = descriptor || {};\n if (descriptor && !configurable) {\n console.error('Failed to set polyfill. ' + name + ' is not configurable.');\n return;\n }\n\n defineLazyObjectProperty(object, name, {\n get: getValue,\n enumerable: enumerable !== false,\n writable: writable !== false,\n });\n}\n\nfunction polyfillGlobal(name: string, getValue: () => T): void {\n polyfillObjectProperty(global, name, getValue);\n}\n\nmodule.exports = {polyfillObjectProperty, polyfillGlobal};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst Promise = require('promise/setimmediate/es6-extensions');\n\nrequire('promise/setimmediate/finally');\n\nif (__DEV__) {\n require('promise/setimmediate/rejection-tracking').enable(\n require('./promiseRejectionTrackingOptions').default,\n );\n}\n\nmodule.exports = Promise;\n","'use strict';\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\nPromise.prototype.finally = function (f) {\n return this.then(function (value) {\n return Promise.resolve(f()).then(function () {\n return value;\n });\n }, function (err) {\n return Promise.resolve(f()).then(function () {\n throw err;\n });\n });\n};\n","'use strict';\n\n\n\nfunction noop() {}\n\n// States:\n//\n// 0 - pending\n// 1 - fulfilled with _value\n// 2 - rejected with _value\n// 3 - adopted the state of another promise, _value\n//\n// once the state is no longer pending (0) it is immutable\n\n// All `_` prefixed properties will be reduced to `_{random number}`\n// at build time to obfuscate them and discourage their use.\n// We don't use symbols or Object.defineProperty to fully hide them\n// because the performance isn't good enough.\n\n\n// to avoid using try/catch inside critical functions, we\n// extract them to here.\nvar LAST_ERROR = null;\nvar IS_ERROR = {};\nfunction getThen(obj) {\n try {\n return obj.then;\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nfunction tryCallOne(fn, a) {\n try {\n return fn(a);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\nfunction tryCallTwo(fn, a, b) {\n try {\n fn(a, b);\n } catch (ex) {\n LAST_ERROR = ex;\n return IS_ERROR;\n }\n}\n\nmodule.exports = Promise;\n\nfunction Promise(fn) {\n if (typeof this !== 'object') {\n throw new TypeError('Promises must be constructed via new');\n }\n if (typeof fn !== 'function') {\n throw new TypeError('Promise constructor\\'s argument is not a function');\n }\n this._x = 0;\n this._y = 0;\n this._z = null;\n this._A = null;\n if (fn === noop) return;\n doResolve(fn, this);\n}\nPromise._B = null;\nPromise._C = null;\nPromise._D = noop;\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n if (this.constructor !== Promise) {\n return safeThen(this, onFulfilled, onRejected);\n }\n var res = new Promise(noop);\n handle(this, new Handler(onFulfilled, onRejected, res));\n return res;\n};\n\nfunction safeThen(self, onFulfilled, onRejected) {\n return new self.constructor(function (resolve, reject) {\n var res = new Promise(noop);\n res.then(resolve, reject);\n handle(self, new Handler(onFulfilled, onRejected, res));\n });\n}\nfunction handle(self, deferred) {\n while (self._y === 3) {\n self = self._z;\n }\n if (Promise._B) {\n Promise._B(self);\n }\n if (self._y === 0) {\n if (self._x === 0) {\n self._x = 1;\n self._A = deferred;\n return;\n }\n if (self._x === 1) {\n self._x = 2;\n self._A = [self._A, deferred];\n return;\n }\n self._A.push(deferred);\n return;\n }\n handleResolved(self, deferred);\n}\n\nfunction handleResolved(self, deferred) {\n setImmediate(function() {\n var cb = self._y === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n if (self._y === 1) {\n resolve(deferred.promise, self._z);\n } else {\n reject(deferred.promise, self._z);\n }\n return;\n }\n var ret = tryCallOne(cb, self._z);\n if (ret === IS_ERROR) {\n reject(deferred.promise, LAST_ERROR);\n } else {\n resolve(deferred.promise, ret);\n }\n });\n}\nfunction resolve(self, newValue) {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) {\n return reject(\n self,\n new TypeError('A promise cannot be resolved with itself.')\n );\n }\n if (\n newValue &&\n (typeof newValue === 'object' || typeof newValue === 'function')\n ) {\n var then = getThen(newValue);\n if (then === IS_ERROR) {\n return reject(self, LAST_ERROR);\n }\n if (\n then === self.then &&\n newValue instanceof Promise\n ) {\n self._y = 3;\n self._z = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(then.bind(newValue), self);\n return;\n }\n }\n self._y = 1;\n self._z = newValue;\n finale(self);\n}\n\nfunction reject(self, newValue) {\n self._y = 2;\n self._z = newValue;\n if (Promise._C) {\n Promise._C(self, newValue);\n }\n finale(self);\n}\nfunction finale(self) {\n if (self._x === 1) {\n handle(self, self._A);\n self._A = null;\n }\n if (self._x === 2) {\n for (var i = 0; i < self._A.length; i++) {\n handle(self, self._A[i]);\n }\n self._A = null;\n }\n}\n\nfunction Handler(onFulfilled, onRejected, promise){\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, promise) {\n var done = false;\n var res = tryCallTwo(fn, function (value) {\n if (done) return;\n done = true;\n resolve(promise, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(promise, reason);\n });\n if (!done && res === IS_ERROR) {\n done = true;\n reject(promise, LAST_ERROR);\n }\n}\n","'use strict';\n\n//This file contains the ES6 extensions to the core Promises/A+ API\n\nvar Promise = require('./core.js');\n\nmodule.exports = Promise;\n\n/* Static Functions */\n\nvar TRUE = valuePromise(true);\nvar FALSE = valuePromise(false);\nvar NULL = valuePromise(null);\nvar UNDEFINED = valuePromise(undefined);\nvar ZERO = valuePromise(0);\nvar EMPTYSTRING = valuePromise('');\n\nfunction valuePromise(value) {\n var p = new Promise(Promise._D);\n p._y = 1;\n p._z = value;\n return p;\n}\nPromise.resolve = function (value) {\n if (value instanceof Promise) return value;\n\n if (value === null) return NULL;\n if (value === undefined) return UNDEFINED;\n if (value === true) return TRUE;\n if (value === false) return FALSE;\n if (value === 0) return ZERO;\n if (value === '') return EMPTYSTRING;\n\n if (typeof value === 'object' || typeof value === 'function') {\n try {\n var then = value.then;\n if (typeof then === 'function') {\n return new Promise(then.bind(value));\n }\n } catch (ex) {\n return new Promise(function (resolve, reject) {\n reject(ex);\n });\n }\n }\n return valuePromise(value);\n};\n\nvar iterableToArray = function (iterable) {\n if (typeof Array.from === 'function') {\n // ES2015+, iterables exist\n iterableToArray = Array.from;\n return Array.from(iterable);\n }\n\n // ES5, only arrays and array-likes exist\n iterableToArray = function (x) { return Array.prototype.slice.call(x); };\n return Array.prototype.slice.call(iterable);\n}\n\nPromise.all = function (arr) {\n var args = iterableToArray(arr);\n\n return new Promise(function (resolve, reject) {\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n function res(i, val) {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n if (val instanceof Promise && val.then === Promise.prototype.then) {\n while (val._y === 3) {\n val = val._z;\n }\n if (val._y === 1) return res(i, val._z);\n if (val._y === 2) reject(val._z);\n val.then(function (val) {\n res(i, val);\n }, reject);\n return;\n } else {\n var then = val.then;\n if (typeof then === 'function') {\n var p = new Promise(then.bind(val));\n p.then(function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n }\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\n\nfunction onSettledFulfill(value) {\n return { status: 'fulfilled', value: value };\n}\nfunction onSettledReject(reason) {\n return { status: 'rejected', reason: reason };\n}\nfunction mapAllSettled(item) {\n if(item && (typeof item === 'object' || typeof item === 'function')){\n if(item instanceof Promise && item.then === Promise.prototype.then){\n return item.then(onSettledFulfill, onSettledReject);\n }\n var then = item.then;\n if (typeof then === 'function') {\n return new Promise(then.bind(item)).then(onSettledFulfill, onSettledReject)\n }\n }\n\n return onSettledFulfill(item);\n}\nPromise.allSettled = function (iterable) {\n return Promise.all(iterableToArray(iterable).map(mapAllSettled));\n};\n\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\n\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n iterableToArray(values).forEach(function(value){\n Promise.resolve(value).then(resolve, reject);\n });\n });\n};\n\n/* Prototype Methods */\n\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};\n\nfunction getAggregateError(errors){\n if(typeof AggregateError === 'function'){\n return new AggregateError(errors,'All promises were rejected');\n }\n\n var error = new Error('All promises were rejected');\n\n error.name = 'AggregateError';\n error.errors = errors;\n\n return error;\n}\n\nPromise.any = function promiseAny(values) {\n return new Promise(function(resolve, reject) {\n var promises = iterableToArray(values);\n var hasResolved = false;\n var rejectionReasons = [];\n\n function resolveOnce(value) {\n if (!hasResolved) {\n hasResolved = true;\n resolve(value);\n }\n }\n\n function rejectionCheck(reason) {\n rejectionReasons.push(reason);\n\n if (rejectionReasons.length === promises.length) {\n reject(getAggregateError(rejectionReasons));\n }\n }\n\n if(promises.length === 0){\n reject(getAggregateError(rejectionReasons));\n } else {\n promises.forEach(function(value){\n Promise.resolve(value).then(resolveOnce, rejectionCheck);\n });\n }\n });\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {hasNativeConstructor} = require('../Utilities/FeatureDetection');\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up regenerator.\n * You can use this module directly, or just require InitializeCore.\n */\n\nlet hasNativeGenerator;\ntry {\n // If this function was lowered by regenerator-transform, it will try to\n // access `global.regeneratorRuntime` which doesn't exist yet and will throw.\n hasNativeGenerator = hasNativeConstructor(function* () {},\n 'GeneratorFunction');\n} catch {\n // In this case, we know generators are not provided natively.\n hasNativeGenerator = false;\n}\n\n// If generators are provided natively, which suggests that there was no\n// regenerator-transform, then there is no need to set up the runtime.\nif (!hasNativeGenerator) {\n polyfillGlobal('regeneratorRuntime', () => {\n // The require just sets up the global, so make sure when we first\n // invoke it the global does not exist\n delete global.regeneratorRuntime;\n\n // regenerator-runtime/runtime exports the regeneratorRuntime object, so we\n // can return it safely.\n return require('regenerator-runtime/runtime'); // flowlint-line untyped-import:off\n });\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n/**\n * @return whether or not a @param {function} f is provided natively by calling\n * `toString` and check if the result includes `[native code]` in it.\n *\n * Note that a polyfill can technically fake this behavior but few does it.\n * Therefore, this is usually good enough for our purpose.\n */\nfunction isNativeFunction(f: Function): boolean {\n return typeof f === 'function' && f.toString().indexOf('[native code]') > -1;\n}\n\n/**\n * @return whether or not the constructor of @param {object} o is an native\n * function named with @param {string} expectedName.\n */\nfunction hasNativeConstructor(o: Object, expectedName: string): boolean {\n const con = Object.getPrototypeOf(o).constructor;\n return con.name === expectedName && isNativeFunction(con);\n}\n\nmodule.exports = {isNativeFunction, hasNativeConstructor};\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function(obj, key, value) {\n return obj[key] = value;\n };\n }\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype &&\n NativeIteratorPrototype !== Op &&\n hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n\n var Gp = GeneratorFunctionPrototype.prototype =\n Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(\n GeneratorFunctionPrototype,\n toStringTagSymbol,\n \"GeneratorFunction\"\n );\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n define(prototype, method, function(arg) {\n return this._invoke(method, arg);\n });\n });\n }\n\n exports.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n exports.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function(arg) {\n return { __await: arg };\n };\n\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value &&\n typeof value === \"object\" &&\n hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function(value) {\n invoke(\"next\", value, resolve, reject);\n }, function(err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n\n return PromiseImpl.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function(error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function(resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList),\n PromiseImpl\n );\n\n return exports.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n context.method = method;\n context.arg = arg;\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n\n context.dispatchException(context.arg);\n\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n if (record.arg === ContinueSentinel) {\n continue;\n }\n\n return {\n value: record.arg,\n done: context.done\n };\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n\n context.method = \"throw\";\n context.arg = new TypeError(\n \"The iterator does not provide a 'throw' method\");\n }\n\n return ContinueSentinel;\n }\n\n var record = tryCatch(method, delegate.iterator, context.arg);\n\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n\n var info = record.arg;\n\n if (! info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function() {\n return this;\n });\n\n define(Gp, \"toString\", function() {\n return \"[object Generator]\";\n });\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n exports.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n exports.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.method = \"next\";\n this.arg = undefined;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n\n return !! caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n\n return this.complete(record);\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n\n return ContinueSentinel;\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n\n}(\n // If this script is executing as a CommonJS module, use module.exports\n // as the regeneratorRuntime namespace. Otherwise create a new empty\n // object. Either way, the resulting object will be used to initialize\n // the regeneratorRuntime variable at the top of this file.\n typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if (typeof globalThis === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {isNativeFunction} = require('../Utilities/FeatureDetection');\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\nif (__DEV__) {\n if (typeof global.Promise !== 'function') {\n console.error('Promise should exist before setting up timers.');\n }\n}\n\n// Currently, Hermes `Promise` is implemented via Internal Bytecode.\nconst hasHermesPromiseQueuedToJSVM =\n global.HermesInternal?.hasPromise?.() === true &&\n global.HermesInternal?.useEngineQueue?.() === true;\n\nconst hasNativePromise = isNativeFunction(Promise);\nconst hasPromiseQueuedToJSVM = hasNativePromise || hasHermesPromiseQueuedToJSVM;\n\n// In bridgeless mode, timers are host functions installed from cpp.\nif (global.RN$Bridgeless !== true) {\n /**\n * Set up timers.\n * You can use this module directly, or just require InitializeCore.\n */\n const defineLazyTimer = (\n name:\n | $TEMPORARY$string<'cancelAnimationFrame'>\n | $TEMPORARY$string<'cancelIdleCallback'>\n | $TEMPORARY$string<'clearInterval'>\n | $TEMPORARY$string<'clearTimeout'>\n | $TEMPORARY$string<'requestAnimationFrame'>\n | $TEMPORARY$string<'requestIdleCallback'>\n | $TEMPORARY$string<'setInterval'>\n | $TEMPORARY$string<'setTimeout'>,\n ) => {\n polyfillGlobal(name, () => require('./Timers/JSTimers')[name]);\n };\n defineLazyTimer('setTimeout');\n defineLazyTimer('clearTimeout');\n defineLazyTimer('setInterval');\n defineLazyTimer('clearInterval');\n defineLazyTimer('requestAnimationFrame');\n defineLazyTimer('cancelAnimationFrame');\n defineLazyTimer('requestIdleCallback');\n defineLazyTimer('cancelIdleCallback');\n}\n\n/**\n * Set up immediate APIs, which is required to use the same microtask queue\n * as the Promise.\n */\nif (hasPromiseQueuedToJSVM) {\n // When promise queues to the JSVM microtasks queue, we shim the immedaite\n // APIs via `queueMicrotask` to maintain the backward compatibility.\n polyfillGlobal(\n 'setImmediate',\n () => require('./Timers/immediateShim').setImmediate,\n );\n polyfillGlobal(\n 'clearImmediate',\n () => require('./Timers/immediateShim').clearImmediate,\n );\n} else {\n // When promise was polyfilled hence is queued to the RN microtask queue,\n // we polyfill the immediate APIs as aliases to the ReactNativeMicrotask APIs.\n // Note that in bridgeless mode, immediate APIs are installed from cpp.\n if (global.RN$Bridgeless !== true) {\n polyfillGlobal(\n 'setImmediate',\n () => require('./Timers/JSTimers').queueReactNativeMicrotask,\n );\n polyfillGlobal(\n 'clearImmediate',\n () => require('./Timers/JSTimers').clearReactNativeMicrotask,\n );\n }\n}\n\n/**\n * Set up the microtask queueing API, which is required to use the same\n * microtask queue as the Promise.\n */\nif (hasHermesPromiseQueuedToJSVM) {\n // Fast path for Hermes.\n polyfillGlobal('queueMicrotask', () => global.HermesInternal?.enqueueJob);\n} else {\n // Polyfill it with promise (regardless it's polyfiled or native) otherwise.\n polyfillGlobal(\n 'queueMicrotask',\n () => require('./Timers/queueMicrotask.js').default,\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport NativeTiming from './NativeTiming';\n\nconst BatchedBridge = require('../../BatchedBridge/BatchedBridge');\nconst Systrace = require('../../Performance/Systrace');\nconst invariant = require('invariant');\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\n\nexport type JSTimerType =\n | 'setTimeout'\n | 'setInterval'\n | 'requestAnimationFrame'\n | 'queueReactNativeMicrotask'\n | 'requestIdleCallback';\n\n// These timing constants should be kept in sync with the ones in native ios and\n// android `RCTTiming` module.\nconst FRAME_DURATION = 1000 / 60;\nconst IDLE_CALLBACK_FRAME_DEADLINE = 1;\n\n// Parallel arrays\nconst callbacks: Array = [];\nconst types: Array = [];\nconst timerIDs: Array = [];\nlet reactNativeMicrotasks: Array = [];\nlet requestIdleCallbacks: Array = [];\nconst requestIdleCallbackTimeouts: {[number]: number, ...} = {};\n\nlet GUID = 1;\nconst errors: Array = [];\n\nlet hasEmittedTimeDriftWarning = false;\n\n// Returns a free index if one is available, and the next consecutive index otherwise.\nfunction _getFreeIndex(): number {\n let freeIndex = timerIDs.indexOf(null);\n if (freeIndex === -1) {\n freeIndex = timerIDs.length;\n }\n return freeIndex;\n}\n\nfunction _allocateCallback(func: Function, type: JSTimerType): number {\n const id = GUID++;\n const freeIndex = _getFreeIndex();\n timerIDs[freeIndex] = id;\n callbacks[freeIndex] = func;\n types[freeIndex] = type;\n return id;\n}\n\n/**\n * Calls the callback associated with the ID. Also unregister that callback\n * if it was a one time timer (setTimeout), and not unregister it if it was\n * recurring (setInterval).\n */\nfunction _callTimer(timerID: number, frameTime: number, didTimeout: ?boolean) {\n if (timerID > GUID) {\n console.warn(\n 'Tried to call timer with ID %s but no such timer exists.',\n timerID,\n );\n }\n\n // timerIndex of -1 means that no timer with that ID exists. There are\n // two situations when this happens, when a garbage timer ID was given\n // and when a previously existing timer was deleted before this callback\n // fired. In both cases we want to ignore the timer id, but in the former\n // case we warn as well.\n const timerIndex = timerIDs.indexOf(timerID);\n if (timerIndex === -1) {\n return;\n }\n\n const type = types[timerIndex];\n const callback = callbacks[timerIndex];\n if (!callback || !type) {\n console.error('No callback found for timerID ' + timerID);\n return;\n }\n\n if (__DEV__) {\n Systrace.beginEvent(type + ' [invoke]');\n }\n\n // Clear the metadata\n if (type !== 'setInterval') {\n _clearIndex(timerIndex);\n }\n\n try {\n if (\n type === 'setTimeout' ||\n type === 'setInterval' ||\n type === 'queueReactNativeMicrotask'\n ) {\n callback();\n } else if (type === 'requestAnimationFrame') {\n callback(global.performance.now());\n } else if (type === 'requestIdleCallback') {\n callback({\n timeRemaining: function () {\n // TODO: Optimisation: allow running for longer than one frame if\n // there are no pending JS calls on the bridge from native. This\n // would require a way to check the bridge queue synchronously.\n return Math.max(\n 0,\n FRAME_DURATION - (global.performance.now() - frameTime),\n );\n },\n didTimeout: !!didTimeout,\n });\n } else {\n console.error('Tried to call a callback with invalid type: ' + type);\n }\n } catch (e) {\n // Don't rethrow so that we can run all timers.\n errors.push(e);\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n}\n\n/**\n * Performs a single pass over the enqueued reactNativeMicrotasks. Returns whether\n * more reactNativeMicrotasks are queued up (can be used as a condition a while loop).\n */\nfunction _callReactNativeMicrotasksPass() {\n if (reactNativeMicrotasks.length === 0) {\n return false;\n }\n\n if (__DEV__) {\n Systrace.beginEvent('callReactNativeMicrotasksPass()');\n }\n\n // The main reason to extract a single pass is so that we can track\n // in the system trace\n const passReactNativeMicrotasks = reactNativeMicrotasks;\n reactNativeMicrotasks = [];\n\n // Use for loop rather than forEach as per @vjeux's advice\n // https://github.com/facebook/react-native/commit/c8fd9f7588ad02d2293cac7224715f4af7b0f352#commitcomment-14570051\n for (let i = 0; i < passReactNativeMicrotasks.length; ++i) {\n _callTimer(passReactNativeMicrotasks[i], 0);\n }\n\n if (__DEV__) {\n Systrace.endEvent();\n }\n return reactNativeMicrotasks.length > 0;\n}\n\nfunction _clearIndex(i: number) {\n timerIDs[i] = null;\n callbacks[i] = null;\n types[i] = null;\n}\n\nfunction _freeCallback(timerID: number) {\n // timerIDs contains nulls after timers have been removed;\n // ignore nulls upfront so indexOf doesn't find them\n if (timerID == null) {\n return;\n }\n\n const index = timerIDs.indexOf(timerID);\n // See corresponding comment in `callTimers` for reasoning behind this\n if (index !== -1) {\n const type = types[index];\n _clearIndex(index);\n if (\n type !== 'queueReactNativeMicrotask' &&\n type !== 'requestIdleCallback'\n ) {\n deleteTimer(timerID);\n }\n }\n}\n\n/**\n * JS implementation of timer functions. Must be completely driven by an\n * external clock signal, all that's stored here is timerID, timer type, and\n * callback.\n */\nconst JSTimers = {\n /**\n * @param {function} func Callback to be invoked after `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setTimeout: function (\n func: Function,\n duration: number,\n ...args: any\n ): number {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setTimeout',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every `duration` ms.\n * @param {number} duration Number of milliseconds.\n */\n setInterval: function (\n func: Function,\n duration: number,\n ...args: any\n ): number {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'setInterval',\n );\n createTimer(id, duration || 0, Date.now(), /* recurring */ true);\n return id;\n },\n\n /**\n * The React Native microtask mechanism is used to back public APIs e.g.\n * `queueMicrotask`, `clearImmediate`, and `setImmediate` (which is used by\n * the Promise polyfill) when the JSVM microtask mechanism is not used.\n *\n * @param {function} func Callback to be invoked before the end of the\n * current JavaScript execution loop.\n */\n queueReactNativeMicrotask: function (func: Function, ...args: any): number {\n const id = _allocateCallback(\n () => func.apply(undefined, args),\n 'queueReactNativeMicrotask',\n );\n reactNativeMicrotasks.push(id);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame.\n */\n requestAnimationFrame: function (func: Function): any | number {\n const id = _allocateCallback(func, 'requestAnimationFrame');\n createTimer(id, 1, Date.now(), /* recurring */ false);\n return id;\n },\n\n /**\n * @param {function} func Callback to be invoked every frame and provided\n * with time remaining in frame.\n * @param {?object} options\n */\n requestIdleCallback: function (\n func: Function,\n options: ?Object,\n ): any | number {\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(true);\n }\n\n const timeout = options && options.timeout;\n const id: number = _allocateCallback(\n timeout != null\n ? (deadline: any) => {\n const timeoutId: number = requestIdleCallbackTimeouts[id];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[id];\n }\n return func(deadline);\n }\n : func,\n 'requestIdleCallback',\n );\n requestIdleCallbacks.push(id);\n\n if (timeout != null) {\n const timeoutId: number = JSTimers.setTimeout(() => {\n const index: number = requestIdleCallbacks.indexOf(id);\n if (index > -1) {\n requestIdleCallbacks.splice(index, 1);\n _callTimer(id, global.performance.now(), true);\n }\n delete requestIdleCallbackTimeouts[id];\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n }, timeout);\n requestIdleCallbackTimeouts[id] = timeoutId;\n }\n return id;\n },\n\n cancelIdleCallback: function (timerID: number) {\n _freeCallback(timerID);\n const index = requestIdleCallbacks.indexOf(timerID);\n if (index !== -1) {\n requestIdleCallbacks.splice(index, 1);\n }\n\n const timeoutId = requestIdleCallbackTimeouts[timerID];\n if (timeoutId) {\n JSTimers.clearTimeout(timeoutId);\n delete requestIdleCallbackTimeouts[timerID];\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n },\n\n clearTimeout: function (timerID: number) {\n _freeCallback(timerID);\n },\n\n clearInterval: function (timerID: number) {\n _freeCallback(timerID);\n },\n\n clearReactNativeMicrotask: function (timerID: number) {\n _freeCallback(timerID);\n const index = reactNativeMicrotasks.indexOf(timerID);\n if (index !== -1) {\n reactNativeMicrotasks.splice(index, 1);\n }\n },\n\n cancelAnimationFrame: function (timerID: number) {\n _freeCallback(timerID);\n },\n\n /**\n * This is called from the native side. We are passed an array of timerIDs,\n * and\n */\n callTimers: function (timersToCall: Array): any | void {\n invariant(\n timersToCall.length !== 0,\n 'Cannot call `callTimers` with an empty list of IDs.',\n );\n\n errors.length = 0;\n for (let i = 0; i < timersToCall.length; i++) {\n _callTimer(timersToCall[i], 0);\n }\n\n const errorCount = errors.length;\n if (errorCount > 0) {\n if (errorCount > 1) {\n // Throw all the other errors in a setTimeout, which will throw each\n // error one at a time\n for (let ii = 1; ii < errorCount; ii++) {\n JSTimers.setTimeout(\n ((error: Error) => {\n throw error;\n }).bind(null, errors[ii]),\n 0,\n );\n }\n }\n throw errors[0];\n }\n },\n\n callIdleCallbacks: function (frameTime: number) {\n if (\n FRAME_DURATION - (global.performance.now() - frameTime) <\n IDLE_CALLBACK_FRAME_DEADLINE\n ) {\n return;\n }\n\n errors.length = 0;\n if (requestIdleCallbacks.length > 0) {\n const passIdleCallbacks = requestIdleCallbacks;\n requestIdleCallbacks = [];\n\n for (let i = 0; i < passIdleCallbacks.length; ++i) {\n _callTimer(passIdleCallbacks[i], frameTime);\n }\n }\n\n if (requestIdleCallbacks.length === 0) {\n setSendIdleEvents(false);\n }\n\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n },\n\n /**\n * This is called after we execute any command we receive from native but\n * before we hand control back to native.\n */\n callReactNativeMicrotasks() {\n errors.length = 0;\n while (_callReactNativeMicrotasksPass()) {}\n errors.forEach(error =>\n JSTimers.setTimeout(() => {\n throw error;\n }, 0),\n );\n },\n\n /**\n * Called from native (in development) when environment times are out-of-sync.\n */\n emitTimeDriftWarning(warningMessage: string) {\n if (hasEmittedTimeDriftWarning) {\n return;\n }\n hasEmittedTimeDriftWarning = true;\n console.warn(warningMessage);\n },\n};\n\nfunction createTimer(\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.createTimer(callbackID, duration, jsSchedulingTime, repeats);\n}\n\nfunction deleteTimer(timerID: number): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.deleteTimer(timerID);\n}\n\nfunction setSendIdleEvents(sendIdleEvents: boolean): void {\n invariant(NativeTiming, 'NativeTiming is available');\n NativeTiming.setSendIdleEvents(sendIdleEvents);\n}\n\nlet ExportedJSTimers: {|\n callIdleCallbacks: (frameTime: number) => any | void,\n callReactNativeMicrotasks: () => void,\n callTimers: (timersToCall: Array) => any | void,\n cancelAnimationFrame: (timerID: number) => void,\n cancelIdleCallback: (timerID: number) => void,\n clearReactNativeMicrotask: (timerID: number) => void,\n clearInterval: (timerID: number) => void,\n clearTimeout: (timerID: number) => void,\n emitTimeDriftWarning: (warningMessage: string) => any | void,\n requestAnimationFrame: (func: any) => any | number,\n requestIdleCallback: (func: any, options: ?any) => any | number,\n queueReactNativeMicrotask: (func: any, ...args: any) => number,\n setInterval: (func: any, duration: number, ...args: any) => number,\n setTimeout: (func: any, duration: number, ...args: any) => number,\n|};\n\nif (!NativeTiming) {\n console.warn(\"Timing native module is not available, can't set timers.\");\n // $FlowFixMe[prop-missing] : we can assume timers are generally available\n ExportedJSTimers = ({\n callReactNativeMicrotasks: JSTimers.callReactNativeMicrotasks,\n queueReactNativeMicrotask: JSTimers.queueReactNativeMicrotask,\n }: typeof JSTimers);\n} else {\n ExportedJSTimers = JSTimers;\n}\n\nBatchedBridge.setReactNativeMicrotasksCallback(\n JSTimers.callReactNativeMicrotasks,\n);\n\nmodule.exports = ExportedJSTimers;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +createTimer: (\n callbackID: number,\n duration: number,\n jsSchedulingTime: number,\n repeats: boolean,\n ) => void;\n +deleteTimer: (timerID: number) => void;\n +setSendIdleEvents: (sendIdleEvents: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('Timing'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\n// Globally Unique Immediate ID.\nlet GUIID = 1;\n\n// A global set of the currently cleared immediates.\nconst clearedImmediates: Set = new Set();\n\n/**\n * Shim the setImmediate API on top of queueMicrotask.\n * @param {function} func Callback to be invoked before the end of the\n * current JavaScript execution loop.\n */\nfunction setImmediate(callback: Function, ...args: any): number {\n if (arguments.length < 1) {\n throw new TypeError(\n 'setImmediate must be called with at least one argument (a function to call)',\n );\n }\n if (typeof callback !== 'function') {\n throw new TypeError(\n 'The first argument to setImmediate must be a function.',\n );\n }\n\n const id = GUIID++;\n // This is an edgey case in which the sequentially assigned ID has been\n // \"guessed\" and \"cleared\" ahead of time, so we need to clear it up first.\n if (clearedImmediates.has(id)) {\n clearedImmediates.delete(id);\n }\n\n global.queueMicrotask(() => {\n if (!clearedImmediates.has(id)) {\n callback.apply(undefined, args);\n } else {\n // Free up the Set entry.\n clearedImmediates.delete(id);\n }\n });\n\n return id;\n}\n\n/**\n * @param {number} immediateID The ID of the immediate to be clearred.\n */\nfunction clearImmediate(immediateID: number) {\n clearedImmediates.add(immediateID);\n}\n\nconst immediateShim = {\n setImmediate: setImmediate,\n clearImmediate: clearImmediate,\n};\n\nmodule.exports = immediateShim;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nlet resolvedPromise;\n\n/**\n * Polyfill for the microtask queuening API defined by WHATWG HTMP spec.\n * https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n *\n * The method must queue a microtask to invoke @param {function} callback, and\n * if the callback throws an exception, report the exception.\n */\nexport default function queueMicrotask(callback: Function) {\n if (arguments.length < 1) {\n throw new TypeError(\n 'queueMicrotask must be called with at least one argument (a function to call)',\n );\n }\n if (typeof callback !== 'function') {\n throw new TypeError('The argument to queueMicrotask must be a function.');\n }\n\n // Try to reuse a lazily allocated resolved promise from closure.\n (resolvedPromise || (resolvedPromise = Promise.resolve()))\n .then(callback)\n .catch(error =>\n // Report the exception until the next tick.\n setTimeout(() => {\n throw error;\n }, 0),\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nconst {polyfillGlobal} = require('../Utilities/PolyfillFunctions');\n\n/**\n * Set up XMLHttpRequest. The native XMLHttpRequest in Chrome dev tools is CORS\n * aware and won't let you fetch anything from the internet.\n *\n * You can use this module directly, or just require InitializeCore.\n */\npolyfillGlobal('XMLHttpRequest', () => require('../Network/XMLHttpRequest'));\npolyfillGlobal('FormData', () => require('../Network/FormData'));\n\npolyfillGlobal('fetch', () => require('../Network/fetch').fetch);\npolyfillGlobal('Headers', () => require('../Network/fetch').Headers);\npolyfillGlobal('Request', () => require('../Network/fetch').Request);\npolyfillGlobal('Response', () => require('../Network/fetch').Response);\npolyfillGlobal('WebSocket', () => require('../WebSocket/WebSocket'));\npolyfillGlobal('Blob', () => require('../Blob/Blob'));\npolyfillGlobal('File', () => require('../Blob/File'));\npolyfillGlobal('FileReader', () => require('../Blob/FileReader'));\npolyfillGlobal('URL', () => require('../Blob/URL').URL); // flowlint-line untyped-import:off\npolyfillGlobal('URLSearchParams', () => require('../Blob/URL').URLSearchParams); // flowlint-line untyped-import:off\npolyfillGlobal(\n 'AbortController',\n () => require('abort-controller/dist/abort-controller').AbortController, // flowlint-line untyped-import:off\n);\npolyfillGlobal(\n 'AbortSignal',\n () => require('abort-controller/dist/abort-controller').AbortSignal, // flowlint-line untyped-import:off\n);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\n\nconst BlobManager = require('../Blob/BlobManager');\nconst GlobalPerformanceLogger = require('../Utilities/GlobalPerformanceLogger');\nconst RCTNetworking = require('./RCTNetworking');\nconst base64 = require('base64-js');\nconst EventTarget = require('event-target-shim');\nconst invariant = require('invariant');\n\nconst DEBUG_NETWORK_SEND_DELAY: false = false; // Set to a number of milliseconds when debugging\n\nexport type NativeResponseType = 'base64' | 'blob' | 'text';\nexport type ResponseType =\n | ''\n | 'arraybuffer'\n | 'blob'\n | 'document'\n | 'json'\n | 'text';\nexport type Response = ?Object | string;\n\ntype XHRInterceptor = interface {\n requestSent(id: number, url: string, method: string, headers: Object): void,\n responseReceived(\n id: number,\n url: string,\n status: number,\n headers: Object,\n ): void,\n dataReceived(id: number, data: string): void,\n loadingFinished(id: number, encodedDataLength: number): void,\n loadingFailed(id: number, error: string): void,\n};\n\n// The native blob module is optional so inject it here if available.\nif (BlobManager.isAvailable) {\n BlobManager.addNetworkingHandler();\n}\n\nconst UNSENT = 0;\nconst OPENED = 1;\nconst HEADERS_RECEIVED = 2;\nconst LOADING = 3;\nconst DONE = 4;\n\nconst SUPPORTED_RESPONSE_TYPES = {\n arraybuffer: typeof global.ArrayBuffer === 'function',\n blob: typeof global.Blob === 'function',\n document: false,\n json: true,\n text: true,\n '': true,\n};\n\nconst REQUEST_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'progress',\n 'timeout',\n 'loadend',\n];\n\nconst XHR_EVENTS = REQUEST_EVENTS.concat('readystatechange');\n\nclass XMLHttpRequestEventTarget extends (EventTarget(...REQUEST_EVENTS): any) {\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n}\n\n/**\n * Shared base for platform-specific XMLHttpRequest implementations.\n */\nclass XMLHttpRequest extends (EventTarget(...XHR_EVENTS): any) {\n static UNSENT: number = UNSENT;\n static OPENED: number = OPENED;\n static HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n static _interceptor: ?XHRInterceptor = null;\n\n UNSENT: number = UNSENT;\n OPENED: number = OPENED;\n HEADERS_RECEIVED: number = HEADERS_RECEIVED;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n // EventTarget automatically initializes these to `null`.\n onload: ?Function;\n onloadstart: ?Function;\n onprogress: ?Function;\n ontimeout: ?Function;\n onerror: ?Function;\n onabort: ?Function;\n onloadend: ?Function;\n onreadystatechange: ?Function;\n\n readyState: number = UNSENT;\n responseHeaders: ?Object;\n status: number = 0;\n timeout: number = 0;\n responseURL: ?string;\n withCredentials: boolean = true;\n\n upload: XMLHttpRequestEventTarget = new XMLHttpRequestEventTarget();\n\n _requestId: ?number;\n _subscriptions: Array;\n\n _aborted: boolean = false;\n _cachedResponse: Response;\n _hasError: boolean = false;\n _headers: Object;\n _lowerCaseResponseHeaders: Object;\n _method: ?string = null;\n _perfKey: ?string = null;\n _responseType: ResponseType;\n _response: string = '';\n _sent: boolean;\n _url: ?string = null;\n _timedOut: boolean = false;\n _trackingName: string = 'unknown';\n _incrementalEvents: boolean = false;\n _performanceLogger: IPerformanceLogger = GlobalPerformanceLogger;\n\n static setInterceptor(interceptor: ?XHRInterceptor) {\n XMLHttpRequest._interceptor = interceptor;\n }\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this.readyState = this.UNSENT;\n this.responseHeaders = undefined;\n this.status = 0;\n delete this.responseURL;\n\n this._requestId = null;\n\n this._cachedResponse = undefined;\n this._hasError = false;\n this._headers = {};\n this._response = '';\n this._responseType = '';\n this._sent = false;\n this._lowerCaseResponseHeaders = {};\n\n this._clearSubscriptions();\n this._timedOut = false;\n }\n\n get responseType(): ResponseType {\n return this._responseType;\n }\n\n set responseType(responseType: ResponseType): void {\n if (this._sent) {\n throw new Error(\n \"Failed to set the 'responseType' property on 'XMLHttpRequest': The \" +\n 'response type cannot be set after the request has been sent.',\n );\n }\n if (!SUPPORTED_RESPONSE_TYPES.hasOwnProperty(responseType)) {\n console.warn(\n `The provided value '${responseType}' is not a valid 'responseType'.`,\n );\n return;\n }\n\n // redboxes early, e.g. for 'arraybuffer' on ios 7\n invariant(\n SUPPORTED_RESPONSE_TYPES[responseType] || responseType === 'document',\n `The provided value '${responseType}' is unsupported in this environment.`,\n );\n\n if (responseType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n }\n this._responseType = responseType;\n }\n\n get responseText(): string {\n if (this._responseType !== '' && this._responseType !== 'text') {\n throw new Error(\n \"The 'responseText' property is only available if 'responseType' \" +\n `is set to '' or 'text', but it is '${this._responseType}'.`,\n );\n }\n if (this.readyState < LOADING) {\n return '';\n }\n return this._response;\n }\n\n get response(): Response {\n const {responseType} = this;\n if (responseType === '' || responseType === 'text') {\n return this.readyState < LOADING || this._hasError ? '' : this._response;\n }\n\n if (this.readyState !== DONE) {\n return null;\n }\n\n if (this._cachedResponse !== undefined) {\n return this._cachedResponse;\n }\n\n switch (responseType) {\n case 'document':\n this._cachedResponse = null;\n break;\n\n case 'arraybuffer':\n this._cachedResponse = base64.toByteArray(this._response).buffer;\n break;\n\n case 'blob':\n if (typeof this._response === 'object' && this._response) {\n this._cachedResponse = BlobManager.createFromOptions(this._response);\n } else if (this._response === '') {\n this._cachedResponse = BlobManager.createFromParts([]);\n } else {\n throw new Error(`Invalid response for blob: ${this._response}`);\n }\n break;\n\n case 'json':\n try {\n this._cachedResponse = JSON.parse(this._response);\n } catch (_) {\n this._cachedResponse = null;\n }\n break;\n\n default:\n this._cachedResponse = null;\n }\n\n return this._cachedResponse;\n }\n\n // exposed for testing\n __didCreateRequest(requestId: number): void {\n this._requestId = requestId;\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.requestSent(\n requestId,\n this._url || '',\n this._method || 'GET',\n this._headers,\n );\n }\n\n // exposed for testing\n __didUploadProgress(\n requestId: number,\n progress: number,\n total: number,\n ): void {\n if (requestId === this._requestId) {\n this.upload.dispatchEvent({\n type: 'progress',\n lengthComputable: true,\n loaded: progress,\n total,\n });\n }\n }\n\n __didReceiveResponse(\n requestId: number,\n status: number,\n responseHeaders: ?Object,\n responseURL: ?string,\n ): void {\n if (requestId === this._requestId) {\n this._perfKey != null &&\n this._performanceLogger.stopTimespan(this._perfKey);\n this.status = status;\n this.setResponseHeaders(responseHeaders);\n this.setReadyState(this.HEADERS_RECEIVED);\n if (responseURL || responseURL === '') {\n this.responseURL = responseURL;\n } else {\n delete this.responseURL;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.responseReceived(\n requestId,\n responseURL || this._url || '',\n status,\n responseHeaders || {},\n );\n }\n }\n\n __didReceiveData(requestId: number, response: string): void {\n if (requestId !== this._requestId) {\n return;\n }\n this._response = response;\n this._cachedResponse = undefined; // force lazy recomputation\n this.setReadyState(this.LOADING);\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, response);\n }\n\n __didReceiveIncrementalData(\n requestId: number,\n responseText: string,\n progress: number,\n total: number,\n ) {\n if (requestId !== this._requestId) {\n return;\n }\n if (!this._response) {\n this._response = responseText;\n } else {\n this._response += responseText;\n }\n\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.dataReceived(requestId, responseText);\n\n this.setReadyState(this.LOADING);\n this.__didReceiveDataProgress(requestId, progress, total);\n }\n\n __didReceiveDataProgress(\n requestId: number,\n loaded: number,\n total: number,\n ): void {\n if (requestId !== this._requestId) {\n return;\n }\n this.dispatchEvent({\n type: 'progress',\n lengthComputable: total >= 0,\n loaded,\n total,\n });\n }\n\n // exposed for testing\n __didCompleteResponse(\n requestId: number,\n error: string,\n timeOutError: boolean,\n ): void {\n if (requestId === this._requestId) {\n if (error) {\n if (this._responseType === '' || this._responseType === 'text') {\n this._response = error;\n }\n this._hasError = true;\n if (timeOutError) {\n this._timedOut = true;\n }\n }\n this._clearSubscriptions();\n this._requestId = null;\n this.setReadyState(this.DONE);\n\n if (error) {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFailed(requestId, error);\n } else {\n XMLHttpRequest._interceptor &&\n XMLHttpRequest._interceptor.loadingFinished(\n requestId,\n this._response.length,\n );\n }\n }\n }\n\n _clearSubscriptions(): void {\n (this._subscriptions || []).forEach(sub => {\n if (sub) {\n sub.remove();\n }\n });\n this._subscriptions = [];\n }\n\n getAllResponseHeaders(): ?string {\n if (!this.responseHeaders) {\n // according to the spec, return null if no response has been received\n return null;\n }\n\n // Assign to non-nullable local variable.\n const responseHeaders = this.responseHeaders;\n\n const unsortedHeaders: Map<\n string,\n {lowerHeaderName: string, upperHeaderName: string, headerValue: string},\n > = new Map();\n for (const rawHeaderName of Object.keys(responseHeaders)) {\n const headerValue = responseHeaders[rawHeaderName];\n const lowerHeaderName = rawHeaderName.toLowerCase();\n const header = unsortedHeaders.get(lowerHeaderName);\n if (header) {\n header.headerValue += ', ' + headerValue;\n unsortedHeaders.set(lowerHeaderName, header);\n } else {\n unsortedHeaders.set(lowerHeaderName, {\n lowerHeaderName,\n upperHeaderName: rawHeaderName.toUpperCase(),\n headerValue,\n });\n }\n }\n\n // Sort in ascending order, with a being less than b if a's name is legacy-uppercased-byte less than b's name.\n const sortedHeaders = [...unsortedHeaders.values()].sort((a, b) => {\n if (a.upperHeaderName < b.upperHeaderName) {\n return -1;\n }\n if (a.upperHeaderName > b.upperHeaderName) {\n return 1;\n }\n return 0;\n });\n\n // Combine into single text response.\n return (\n sortedHeaders\n .map(header => {\n return header.lowerHeaderName + ': ' + header.headerValue;\n })\n .join('\\r\\n') + '\\r\\n'\n );\n }\n\n getResponseHeader(header: string): ?string {\n const value = this._lowerCaseResponseHeaders[header.toLowerCase()];\n return value !== undefined ? value : null;\n }\n\n setRequestHeader(header: string, value: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n this._headers[header.toLowerCase()] = String(value);\n }\n\n /**\n * Custom extension for tracking origins of request.\n */\n setTrackingName(trackingName: string): XMLHttpRequest {\n this._trackingName = trackingName;\n return this;\n }\n\n /**\n * Custom extension for setting a custom performance logger\n */\n setPerformanceLogger(performanceLogger: IPerformanceLogger): XMLHttpRequest {\n this._performanceLogger = performanceLogger;\n return this;\n }\n\n open(method: string, url: string, async: ?boolean): void {\n /* Other optional arguments are not supported yet */\n if (this.readyState !== this.UNSENT) {\n throw new Error('Cannot open, already sending');\n }\n if (async !== undefined && !async) {\n // async is default\n throw new Error('Synchronous http requests are not supported');\n }\n if (!url) {\n throw new Error('Cannot load an empty url');\n }\n this._method = method.toUpperCase();\n this._url = url;\n this._aborted = false;\n this.setReadyState(this.OPENED);\n }\n\n send(data: any): void {\n if (this.readyState !== this.OPENED) {\n throw new Error('Request has not been opened');\n }\n if (this._sent) {\n throw new Error('Request has already been sent');\n }\n this._sent = true;\n const incrementalEvents =\n this._incrementalEvents || !!this.onreadystatechange || !!this.onprogress;\n\n this._subscriptions.push(\n RCTNetworking.addListener('didSendNetworkData', args =>\n this.__didUploadProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkResponse', args =>\n this.__didReceiveResponse(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkData', args =>\n this.__didReceiveData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkIncrementalData', args =>\n this.__didReceiveIncrementalData(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didReceiveNetworkDataProgress', args =>\n this.__didReceiveDataProgress(...args),\n ),\n );\n this._subscriptions.push(\n RCTNetworking.addListener('didCompleteNetworkResponse', args =>\n this.__didCompleteResponse(...args),\n ),\n );\n\n let nativeResponseType: NativeResponseType = 'text';\n if (this._responseType === 'arraybuffer') {\n nativeResponseType = 'base64';\n }\n if (this._responseType === 'blob') {\n nativeResponseType = 'blob';\n }\n\n const doSend = () => {\n const friendlyName =\n this._trackingName !== 'unknown' ? this._trackingName : this._url;\n this._perfKey = 'network_XMLHttpRequest_' + String(friendlyName);\n this._performanceLogger.startTimespan(this._perfKey);\n invariant(\n this._method,\n 'XMLHttpRequest method needs to be defined (%s).',\n friendlyName,\n );\n invariant(\n this._url,\n 'XMLHttpRequest URL needs to be defined (%s).',\n friendlyName,\n );\n RCTNetworking.sendRequest(\n this._method,\n this._trackingName,\n this._url,\n this._headers,\n data,\n /* $FlowFixMe(>=0.78.0 site=react_native_android_fb) This issue was found\n * when making Flow check .android.js files. */\n nativeResponseType,\n incrementalEvents,\n this.timeout,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.__didCreateRequest.bind(this),\n this.withCredentials,\n );\n };\n if (DEBUG_NETWORK_SEND_DELAY) {\n setTimeout(doSend, DEBUG_NETWORK_SEND_DELAY);\n } else {\n doSend();\n }\n }\n\n abort(): void {\n this._aborted = true;\n if (this._requestId) {\n RCTNetworking.abortRequest(this._requestId);\n }\n // only call onreadystatechange if there is something to abort,\n // below logic is per spec\n if (\n !(\n this.readyState === this.UNSENT ||\n (this.readyState === this.OPENED && !this._sent) ||\n this.readyState === this.DONE\n )\n ) {\n this._reset();\n this.setReadyState(this.DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n setResponseHeaders(responseHeaders: ?Object): void {\n this.responseHeaders = responseHeaders || null;\n const headers = responseHeaders || {};\n this._lowerCaseResponseHeaders = Object.keys(headers).reduce<{\n [string]: any,\n }>((lcaseHeaders, headerName) => {\n lcaseHeaders[headerName.toLowerCase()] = headers[headerName];\n return lcaseHeaders;\n }, {});\n }\n\n setReadyState(newState: number): void {\n this.readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === this.DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._hasError) {\n if (this._timedOut) {\n this.dispatchEvent({type: 'timeout'});\n } else {\n this.dispatchEvent({type: 'error'});\n }\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n /* global EventListener */\n addEventListener(type: string, listener: EventListener): void {\n // If we dont' have a 'readystatechange' event handler, we don't\n // have to send repeated LOADING events with incremental updates\n // to responseText, which will avoid a bunch of native -> JS\n // bridge traffic.\n if (type === 'readystatechange' || type === 'progress') {\n this._incrementalEvents = true;\n }\n super.addEventListener(type, listener);\n }\n}\n\nmodule.exports = XMLHttpRequest;\n","var superPropBase = require(\"./superPropBase.js\");\n\nfunction _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n module.exports = _get = Reflect.get.bind(), module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n } else {\n module.exports = _get = function _get(target, property, receiver) {\n var base = superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n\n return desc.value;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n }\n\n return _get.apply(this, arguments);\n}\n\nmodule.exports = _get, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","var getPrototypeOf = require(\"./getPrototypeOf.js\");\n\nfunction _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n}\n\nmodule.exports = _superPropBase, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {BlobCollector, BlobData, BlobOptions} from './BlobTypes';\n\nimport NativeBlobModule from './NativeBlobModule';\nimport invariant from 'invariant';\n\nconst Blob = require('./Blob');\nconst BlobRegistry = require('./BlobRegistry');\n\n/*eslint-disable no-bitwise */\n/*eslint-disable eqeqeq */\n\n/**\n * Based on the rfc4122-compliant solution posted at\n * http://stackoverflow.com/questions/105034\n */\nfunction uuidv4(): string {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, c => {\n const r = (Math.random() * 16) | 0,\n v = c == 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n}\n\n// **Temporary workaround**\n// TODO(#24654): Use turbomodules for the Blob module.\n// Blob collector is a jsi::HostObject that is used by native to know\n// when the a Blob instance is deallocated. This allows to free the\n// underlying native resources. This is a hack to workaround the fact\n// that the current bridge infra doesn't allow to track js objects\n// deallocation. Ideally the whole Blob object should be a jsi::HostObject.\nfunction createBlobCollector(blobId: string): BlobCollector | null {\n if (global.__blobCollectorProvider == null) {\n return null;\n } else {\n return global.__blobCollectorProvider(blobId);\n }\n}\n\n/**\n * Module to manage blobs. Wrapper around the native blob module.\n */\nclass BlobManager {\n /**\n * If the native blob module is available.\n */\n static isAvailable: boolean = !!NativeBlobModule;\n\n /**\n * Create blob from existing array of blobs.\n */\n static createFromParts(\n parts: Array,\n options?: BlobOptions,\n ): Blob {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n const blobId = uuidv4();\n const items = parts.map(part => {\n if (\n part instanceof ArrayBuffer ||\n (global.ArrayBufferView && part instanceof global.ArrayBufferView)\n ) {\n throw new Error(\n \"Creating blobs from 'ArrayBuffer' and 'ArrayBufferView' are not supported\",\n );\n }\n if (part instanceof Blob) {\n return {\n data: part.data,\n type: 'blob',\n };\n } else {\n return {\n data: String(part),\n type: 'string',\n };\n }\n });\n const size = items.reduce((acc, curr) => {\n if (curr.type === 'string') {\n return acc + global.unescape(encodeURI(curr.data)).length;\n } else {\n return acc + curr.data.size;\n }\n }, 0);\n\n NativeBlobModule.createFromParts(items, blobId);\n\n return BlobManager.createFromOptions({\n blobId,\n offset: 0,\n size,\n type: options ? options.type : '',\n lastModified: options ? options.lastModified : Date.now(),\n });\n }\n\n /**\n * Create blob instance from blob data from native.\n * Used internally by modules like XHR, WebSocket, etc.\n */\n static createFromOptions(options: BlobData): Blob {\n BlobRegistry.register(options.blobId);\n // $FlowFixMe[prop-missing]\n return Object.assign(Object.create(Blob.prototype), {\n data:\n // Reuse the collector instance when creating from an existing blob.\n // This will make sure that the underlying resource is only deallocated\n // when all blobs that refer to it are deallocated.\n options.__collector == null\n ? {\n ...options,\n __collector: createBlobCollector(options.blobId),\n }\n : options,\n });\n }\n\n /**\n * Deallocate resources for a blob.\n */\n static release(blobId: string): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n BlobRegistry.unregister(blobId);\n if (BlobRegistry.has(blobId)) {\n return;\n }\n NativeBlobModule.release(blobId);\n }\n\n /**\n * Inject the blob content handler in the networking module to support blob\n * requests and responses.\n */\n static addNetworkingHandler(): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addNetworkingHandler();\n }\n\n /**\n * Indicate the websocket should return a blob for incoming binary\n * messages.\n */\n static addWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.addWebSocketHandler(socketId);\n }\n\n /**\n * Indicate the websocket should no longer return a blob for incoming\n * binary messages.\n */\n static removeWebSocketHandler(socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.removeWebSocketHandler(socketId);\n }\n\n /**\n * Send a blob message to a websocket.\n */\n static sendOverSocket(blob: Blob, socketId: number): void {\n invariant(NativeBlobModule, 'NativeBlobModule is available.');\n\n NativeBlobModule.sendOverSocket(blob.data, socketId);\n }\n}\n\nmodule.exports = BlobManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|BLOB_URI_SCHEME: ?string, BLOB_URI_HOST: ?string|};\n +addNetworkingHandler: () => void;\n +addWebSocketHandler: (id: number) => void;\n +removeWebSocketHandler: (id: number) => void;\n +sendOverSocket: (blob: Object, socketID: number) => void;\n +createFromParts: (parts: Array, withId: string) => void;\n +release: (blobId: string) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.get('BlobModule');\n\nlet constants = null;\nlet NativeBlobModule = null;\n\nif (NativeModule != null) {\n NativeBlobModule = {\n getConstants(): {|BLOB_URI_SCHEME: ?string, BLOB_URI_HOST: ?string|} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n addNetworkingHandler(): void {\n NativeModule.addNetworkingHandler();\n },\n addWebSocketHandler(id: number): void {\n NativeModule.addWebSocketHandler(id);\n },\n removeWebSocketHandler(id: number): void {\n NativeModule.removeWebSocketHandler(id);\n },\n sendOverSocket(blob: Object, socketID: number): void {\n NativeModule.sendOverSocket(blob, socketID);\n },\n createFromParts(parts: Array, withId: string): void {\n NativeModule.createFromParts(parts, withId);\n },\n release(blobId: string): void {\n NativeModule.release(blobId);\n },\n };\n}\n\nexport default (NativeBlobModule: ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {BlobData, BlobOptions} from './BlobTypes';\n\n/**\n * Opaque JS representation of some binary data in native.\n *\n * The API is modeled after the W3C Blob API, with one caveat\n * regarding explicit deallocation. Refer to the `close()`\n * method for further details.\n *\n * Example usage in a React component:\n *\n * class WebSocketImage extends React.Component {\n * state = {blob: null};\n * componentDidMount() {\n * let ws = this.ws = new WebSocket(...);\n * ws.binaryType = 'blob';\n * ws.onmessage = (event) => {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.setState({blob: event.data});\n * };\n * }\n * componentUnmount() {\n * if (this.state.blob) {\n * this.state.blob.close();\n * }\n * this.ws.close();\n * }\n * render() {\n * if (!this.state.blob) {\n * return ;\n * }\n * return ;\n * }\n * }\n *\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob\n */\nclass Blob {\n _data: ?BlobData;\n\n /**\n * Constructor for JS consumers.\n * Currently we only support creating Blobs from other Blobs.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob\n */\n constructor(parts: Array = [], options?: BlobOptions) {\n const BlobManager = require('./BlobManager');\n this.data = BlobManager.createFromParts(parts, options).data;\n }\n\n /*\n * This method is used to create a new Blob object containing\n * the data in the specified range of bytes of the source Blob.\n * Reference: https://developer.mozilla.org/en-US/docs/Web/API/Blob/slice\n */\n // $FlowFixMe[unsafe-getters-setters]\n set data(data: ?BlobData) {\n this._data = data;\n }\n\n // $FlowFixMe[unsafe-getters-setters]\n get data(): BlobData {\n if (!this._data) {\n throw new Error('Blob has been closed and is no longer available');\n }\n\n return this._data;\n }\n\n slice(start?: number, end?: number): Blob {\n const BlobManager = require('./BlobManager');\n let {offset, size} = this.data;\n\n if (typeof start === 'number') {\n if (start > size) {\n // $FlowFixMe[reassign-const]\n start = size;\n }\n offset += start;\n size -= start;\n\n if (typeof end === 'number') {\n if (end < 0) {\n // $FlowFixMe[reassign-const]\n end = this.size + end;\n }\n size = end - start;\n }\n }\n return BlobManager.createFromOptions({\n blobId: this.data.blobId,\n offset,\n size,\n });\n }\n\n /**\n * This method is in the standard, but not actually implemented by\n * any browsers at this point. It's important for how Blobs work in\n * React Native, however, since we cannot de-allocate resources automatically,\n * so consumers need to explicitly de-allocate them.\n *\n * Note that the semantics around Blobs created via `blob.slice()`\n * and `new Blob([blob])` are different. `blob.slice()` creates a\n * new *view* onto the same binary data, so calling `close()` on any\n * of those views is enough to deallocate the data, whereas\n * `new Blob([blob, ...])` actually copies the data in memory.\n */\n close() {\n const BlobManager = require('./BlobManager');\n BlobManager.release(this.data.blobId);\n this.data = null;\n }\n\n /**\n * Size of the data contained in the Blob object, in bytes.\n */\n // $FlowFixMe[unsafe-getters-setters]\n get size(): number {\n return this.data.size;\n }\n\n /*\n * String indicating the MIME type of the data contained in the Blob.\n * If the type is unknown, this string is empty.\n */\n // $FlowFixMe[unsafe-getters-setters]\n get type(): string {\n return this.data.type || '';\n }\n}\n\nmodule.exports = Blob;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst registry: {[key: string]: number, ...} = {};\n\nconst register = (id: string) => {\n if (registry[id]) {\n registry[id]++;\n } else {\n registry[id] = 1;\n }\n};\n\nconst unregister = (id: string) => {\n if (registry[id]) {\n registry[id]--;\n if (registry[id] <= 0) {\n delete registry[id];\n }\n }\n};\n\nconst has = (id: string): number | boolean => {\n return registry[id] && registry[id] > 0;\n};\n\nmodule.exports = {\n register,\n unregister,\n has,\n};\n","/**\n * @author Toru Nagashima \n * @copyright 2015 Toru Nagashima. All rights reserved.\n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/**\n * @typedef {object} PrivateData\n * @property {EventTarget} eventTarget The event target.\n * @property {{type:string}} event The original event object.\n * @property {number} eventPhase The current event phase.\n * @property {EventTarget|null} currentTarget The current event target.\n * @property {boolean} canceled The flag to prevent default.\n * @property {boolean} stopped The flag to stop propagation.\n * @property {boolean} immediateStopped The flag to stop propagation immediately.\n * @property {Function|null} passiveListener The listener if the current listener is passive. Otherwise this is null.\n * @property {number} timeStamp The unix time.\n * @private\n */\n\n/**\n * Private data for event wrappers.\n * @type {WeakMap}\n * @private\n */\nconst privateData = new WeakMap();\n\n/**\n * Cache for wrapper classes.\n * @type {WeakMap}\n * @private\n */\nconst wrappers = new WeakMap();\n\n/**\n * Get private data.\n * @param {Event} event The event object to get private data.\n * @returns {PrivateData} The private data of the event.\n * @private\n */\nfunction pd(event) {\n const retv = privateData.get(event);\n console.assert(\n retv != null,\n \"'this' is expected an Event object, but got\",\n event\n );\n return retv\n}\n\n/**\n * https://dom.spec.whatwg.org/#set-the-canceled-flag\n * @param data {PrivateData} private data.\n */\nfunction setCancelFlag(data) {\n if (data.passiveListener != null) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(\n \"Unable to preventDefault inside passive event listener invocation.\",\n data.passiveListener\n );\n }\n return\n }\n if (!data.event.cancelable) {\n return\n }\n\n data.canceled = true;\n if (typeof data.event.preventDefault === \"function\") {\n data.event.preventDefault();\n }\n}\n\n/**\n * @see https://dom.spec.whatwg.org/#interface-event\n * @private\n */\n/**\n * The event wrapper.\n * @constructor\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Event|{type:string}} event The original event to wrap.\n */\nfunction Event(eventTarget, event) {\n privateData.set(this, {\n eventTarget,\n event,\n eventPhase: 2,\n currentTarget: eventTarget,\n canceled: false,\n stopped: false,\n immediateStopped: false,\n passiveListener: null,\n timeStamp: event.timeStamp || Date.now(),\n });\n\n // https://heycam.github.io/webidl/#Unforgeable\n Object.defineProperty(this, \"isTrusted\", { value: false, enumerable: true });\n\n // Define accessors\n const keys = Object.keys(event);\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in this)) {\n Object.defineProperty(this, key, defineRedirectDescriptor(key));\n }\n }\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEvent.prototype = {\n /**\n * The type of this event.\n * @type {string}\n */\n get type() {\n return pd(this).event.type\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get target() {\n return pd(this).eventTarget\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n */\n get currentTarget() {\n return pd(this).currentTarget\n },\n\n /**\n * @returns {EventTarget[]} The composed path of this event.\n */\n composedPath() {\n const currentTarget = pd(this).currentTarget;\n if (currentTarget == null) {\n return []\n }\n return [currentTarget]\n },\n\n /**\n * Constant of NONE.\n * @type {number}\n */\n get NONE() {\n return 0\n },\n\n /**\n * Constant of CAPTURING_PHASE.\n * @type {number}\n */\n get CAPTURING_PHASE() {\n return 1\n },\n\n /**\n * Constant of AT_TARGET.\n * @type {number}\n */\n get AT_TARGET() {\n return 2\n },\n\n /**\n * Constant of BUBBLING_PHASE.\n * @type {number}\n */\n get BUBBLING_PHASE() {\n return 3\n },\n\n /**\n * The target of this event.\n * @type {number}\n */\n get eventPhase() {\n return pd(this).eventPhase\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopPropagation() {\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.stopPropagation === \"function\") {\n data.event.stopPropagation();\n }\n },\n\n /**\n * Stop event bubbling.\n * @returns {void}\n */\n stopImmediatePropagation() {\n const data = pd(this);\n\n data.stopped = true;\n data.immediateStopped = true;\n if (typeof data.event.stopImmediatePropagation === \"function\") {\n data.event.stopImmediatePropagation();\n }\n },\n\n /**\n * The flag to be bubbling.\n * @type {boolean}\n */\n get bubbles() {\n return Boolean(pd(this).event.bubbles)\n },\n\n /**\n * The flag to be cancelable.\n * @type {boolean}\n */\n get cancelable() {\n return Boolean(pd(this).event.cancelable)\n },\n\n /**\n * Cancel this event.\n * @returns {void}\n */\n preventDefault() {\n setCancelFlag(pd(this));\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n */\n get defaultPrevented() {\n return pd(this).canceled\n },\n\n /**\n * The flag to be composed.\n * @type {boolean}\n */\n get composed() {\n return Boolean(pd(this).event.composed)\n },\n\n /**\n * The unix time of this event.\n * @type {number}\n */\n get timeStamp() {\n return pd(this).timeStamp\n },\n\n /**\n * The target of this event.\n * @type {EventTarget}\n * @deprecated\n */\n get srcElement() {\n return pd(this).eventTarget\n },\n\n /**\n * The flag to stop event bubbling.\n * @type {boolean}\n * @deprecated\n */\n get cancelBubble() {\n return pd(this).stopped\n },\n set cancelBubble(value) {\n if (!value) {\n return\n }\n const data = pd(this);\n\n data.stopped = true;\n if (typeof data.event.cancelBubble === \"boolean\") {\n data.event.cancelBubble = true;\n }\n },\n\n /**\n * The flag to indicate cancellation state.\n * @type {boolean}\n * @deprecated\n */\n get returnValue() {\n return !pd(this).canceled\n },\n set returnValue(value) {\n if (!value) {\n setCancelFlag(pd(this));\n }\n },\n\n /**\n * Initialize this event object. But do nothing under event dispatching.\n * @param {string} type The event type.\n * @param {boolean} [bubbles=false] The flag to be possible to bubble up.\n * @param {boolean} [cancelable=false] The flag to be possible to cancel.\n * @deprecated\n */\n initEvent() {\n // Do nothing.\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(Event.prototype, \"constructor\", {\n value: Event,\n configurable: true,\n writable: true,\n});\n\n// Ensure `event instanceof window.Event` is `true`.\nif (typeof window !== \"undefined\" && typeof window.Event !== \"undefined\") {\n Object.setPrototypeOf(Event.prototype, window.Event.prototype);\n\n // Make association for wrappers.\n wrappers.set(window.Event.prototype, Event);\n}\n\n/**\n * Get the property descriptor to redirect a given property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to redirect the property.\n * @private\n */\nfunction defineRedirectDescriptor(key) {\n return {\n get() {\n return pd(this).event[key]\n },\n set(value) {\n pd(this).event[key] = value;\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Get the property descriptor to call a given method property.\n * @param {string} key Property name to define property descriptor.\n * @returns {PropertyDescriptor} The property descriptor to call the method property.\n * @private\n */\nfunction defineCallDescriptor(key) {\n return {\n value() {\n const event = pd(this).event;\n return event[key].apply(event, arguments)\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define new wrapper class.\n * @param {Function} BaseEvent The base wrapper class.\n * @param {Object} proto The prototype of the original event.\n * @returns {Function} The defined wrapper class.\n * @private\n */\nfunction defineWrapper(BaseEvent, proto) {\n const keys = Object.keys(proto);\n if (keys.length === 0) {\n return BaseEvent\n }\n\n /** CustomEvent */\n function CustomEvent(eventTarget, event) {\n BaseEvent.call(this, eventTarget, event);\n }\n\n CustomEvent.prototype = Object.create(BaseEvent.prototype, {\n constructor: { value: CustomEvent, configurable: true, writable: true },\n });\n\n // Define accessors.\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i];\n if (!(key in BaseEvent.prototype)) {\n const descriptor = Object.getOwnPropertyDescriptor(proto, key);\n const isFunc = typeof descriptor.value === \"function\";\n Object.defineProperty(\n CustomEvent.prototype,\n key,\n isFunc\n ? defineCallDescriptor(key)\n : defineRedirectDescriptor(key)\n );\n }\n }\n\n return CustomEvent\n}\n\n/**\n * Get the wrapper class of a given prototype.\n * @param {Object} proto The prototype of the original event to get its wrapper.\n * @returns {Function} The wrapper class.\n * @private\n */\nfunction getWrapper(proto) {\n if (proto == null || proto === Object.prototype) {\n return Event\n }\n\n let wrapper = wrappers.get(proto);\n if (wrapper == null) {\n wrapper = defineWrapper(getWrapper(Object.getPrototypeOf(proto)), proto);\n wrappers.set(proto, wrapper);\n }\n return wrapper\n}\n\n/**\n * Wrap a given event to management a dispatching.\n * @param {EventTarget} eventTarget The event target of this dispatching.\n * @param {Object} event The event to wrap.\n * @returns {Event} The wrapper instance.\n * @private\n */\nfunction wrapEvent(eventTarget, event) {\n const Wrapper = getWrapper(Object.getPrototypeOf(event));\n return new Wrapper(eventTarget, event)\n}\n\n/**\n * Get the immediateStopped flag of a given event.\n * @param {Event} event The event to get.\n * @returns {boolean} The flag to stop propagation immediately.\n * @private\n */\nfunction isStopped(event) {\n return pd(event).immediateStopped\n}\n\n/**\n * Set the current event phase of a given event.\n * @param {Event} event The event to set current target.\n * @param {number} eventPhase New event phase.\n * @returns {void}\n * @private\n */\nfunction setEventPhase(event, eventPhase) {\n pd(event).eventPhase = eventPhase;\n}\n\n/**\n * Set the current target of a given event.\n * @param {Event} event The event to set current target.\n * @param {EventTarget|null} currentTarget New current target.\n * @returns {void}\n * @private\n */\nfunction setCurrentTarget(event, currentTarget) {\n pd(event).currentTarget = currentTarget;\n}\n\n/**\n * Set a passive listener of a given event.\n * @param {Event} event The event to set current target.\n * @param {Function|null} passiveListener New passive listener.\n * @returns {void}\n * @private\n */\nfunction setPassiveListener(event, passiveListener) {\n pd(event).passiveListener = passiveListener;\n}\n\n/**\n * @typedef {object} ListenerNode\n * @property {Function} listener\n * @property {1|2|3} listenerType\n * @property {boolean} passive\n * @property {boolean} once\n * @property {ListenerNode|null} next\n * @private\n */\n\n/**\n * @type {WeakMap>}\n * @private\n */\nconst listenersMap = new WeakMap();\n\n// Listener types\nconst CAPTURE = 1;\nconst BUBBLE = 2;\nconst ATTRIBUTE = 3;\n\n/**\n * Check whether a given value is an object or not.\n * @param {any} x The value to check.\n * @returns {boolean} `true` if the value is an object.\n */\nfunction isObject(x) {\n return x !== null && typeof x === \"object\" //eslint-disable-line no-restricted-syntax\n}\n\n/**\n * Get listeners.\n * @param {EventTarget} eventTarget The event target to get.\n * @returns {Map} The listeners.\n * @private\n */\nfunction getListeners(eventTarget) {\n const listeners = listenersMap.get(eventTarget);\n if (listeners == null) {\n throw new TypeError(\n \"'this' is expected an EventTarget object, but got another value.\"\n )\n }\n return listeners\n}\n\n/**\n * Get the property descriptor for the event attribute of a given event.\n * @param {string} eventName The event name to get property descriptor.\n * @returns {PropertyDescriptor} The property descriptor.\n * @private\n */\nfunction defineEventAttributeDescriptor(eventName) {\n return {\n get() {\n const listeners = getListeners(this);\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n return node.listener\n }\n node = node.next;\n }\n return null\n },\n\n set(listener) {\n if (typeof listener !== \"function\" && !isObject(listener)) {\n listener = null; // eslint-disable-line no-param-reassign\n }\n const listeners = getListeners(this);\n\n // Traverse to the tail while removing old value.\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (node.listenerType === ATTRIBUTE) {\n // Remove old value.\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n node = node.next;\n }\n\n // Add new value.\n if (listener !== null) {\n const newNode = {\n listener,\n listenerType: ATTRIBUTE,\n passive: false,\n once: false,\n next: null,\n };\n if (prev === null) {\n listeners.set(eventName, newNode);\n } else {\n prev.next = newNode;\n }\n }\n },\n configurable: true,\n enumerable: true,\n }\n}\n\n/**\n * Define an event attribute (e.g. `eventTarget.onclick`).\n * @param {Object} eventTargetPrototype The event target prototype to define an event attrbite.\n * @param {string} eventName The event name to define.\n * @returns {void}\n */\nfunction defineEventAttribute(eventTargetPrototype, eventName) {\n Object.defineProperty(\n eventTargetPrototype,\n `on${eventName}`,\n defineEventAttributeDescriptor(eventName)\n );\n}\n\n/**\n * Define a custom EventTarget with event attributes.\n * @param {string[]} eventNames Event names for event attributes.\n * @returns {EventTarget} The custom EventTarget.\n * @private\n */\nfunction defineCustomEventTarget(eventNames) {\n /** CustomEventTarget */\n function CustomEventTarget() {\n EventTarget.call(this);\n }\n\n CustomEventTarget.prototype = Object.create(EventTarget.prototype, {\n constructor: {\n value: CustomEventTarget,\n configurable: true,\n writable: true,\n },\n });\n\n for (let i = 0; i < eventNames.length; ++i) {\n defineEventAttribute(CustomEventTarget.prototype, eventNames[i]);\n }\n\n return CustomEventTarget\n}\n\n/**\n * EventTarget.\n *\n * - This is constructor if no arguments.\n * - This is a function which returns a CustomEventTarget constructor if there are arguments.\n *\n * For example:\n *\n * class A extends EventTarget {}\n * class B extends EventTarget(\"message\") {}\n * class C extends EventTarget(\"message\", \"error\") {}\n * class D extends EventTarget([\"message\", \"error\"]) {}\n */\nfunction EventTarget() {\n /*eslint-disable consistent-return */\n if (this instanceof EventTarget) {\n listenersMap.set(this, new Map());\n return\n }\n if (arguments.length === 1 && Array.isArray(arguments[0])) {\n return defineCustomEventTarget(arguments[0])\n }\n if (arguments.length > 0) {\n const types = new Array(arguments.length);\n for (let i = 0; i < arguments.length; ++i) {\n types[i] = arguments[i];\n }\n return defineCustomEventTarget(types)\n }\n throw new TypeError(\"Cannot call a class as a function\")\n /*eslint-enable consistent-return */\n}\n\n// Should be enumerable, but class methods are not enumerable.\nEventTarget.prototype = {\n /**\n * Add a given listener to this event target.\n * @param {string} eventName The event name to add.\n * @param {Function} listener The listener to add.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n addEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n if (typeof listener !== \"function\" && !isObject(listener)) {\n throw new TypeError(\"'listener' should be a function or an object.\")\n }\n\n const listeners = getListeners(this);\n const optionsIsObj = isObject(options);\n const capture = optionsIsObj\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n const newNode = {\n listener,\n listenerType,\n passive: optionsIsObj && Boolean(options.passive),\n once: optionsIsObj && Boolean(options.once),\n next: null,\n };\n\n // Set it as the first node if the first node is null.\n let node = listeners.get(eventName);\n if (node === undefined) {\n listeners.set(eventName, newNode);\n return\n }\n\n // Traverse to the tail while checking duplication..\n let prev = null;\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n // Should ignore duplication.\n return\n }\n prev = node;\n node = node.next;\n }\n\n // Add it.\n prev.next = newNode;\n },\n\n /**\n * Remove a given listener from this event target.\n * @param {string} eventName The event name to remove.\n * @param {Function} listener The listener to remove.\n * @param {boolean|{capture?:boolean,passive?:boolean,once?:boolean}} [options] The options for this listener.\n * @returns {void}\n */\n removeEventListener(eventName, listener, options) {\n if (listener == null) {\n return\n }\n\n const listeners = getListeners(this);\n const capture = isObject(options)\n ? Boolean(options.capture)\n : Boolean(options);\n const listenerType = capture ? CAPTURE : BUBBLE;\n\n let prev = null;\n let node = listeners.get(eventName);\n while (node != null) {\n if (\n node.listener === listener &&\n node.listenerType === listenerType\n ) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n return\n }\n\n prev = node;\n node = node.next;\n }\n },\n\n /**\n * Dispatch a given event.\n * @param {Event|{type:string}} event The event to dispatch.\n * @returns {boolean} `false` if canceled.\n */\n dispatchEvent(event) {\n if (event == null || typeof event.type !== \"string\") {\n throw new TypeError('\"event.type\" should be a string.')\n }\n\n // If listeners aren't registered, terminate.\n const listeners = getListeners(this);\n const eventName = event.type;\n let node = listeners.get(eventName);\n if (node == null) {\n return true\n }\n\n // Since we cannot rewrite several properties, so wrap object.\n const wrappedEvent = wrapEvent(this, event);\n\n // This doesn't process capturing phase and bubbling phase.\n // This isn't participating in a tree.\n let prev = null;\n while (node != null) {\n // Remove this listener if it's once\n if (node.once) {\n if (prev !== null) {\n prev.next = node.next;\n } else if (node.next !== null) {\n listeners.set(eventName, node.next);\n } else {\n listeners.delete(eventName);\n }\n } else {\n prev = node;\n }\n\n // Call this listener\n setPassiveListener(\n wrappedEvent,\n node.passive ? node.listener : null\n );\n if (typeof node.listener === \"function\") {\n try {\n node.listener.call(this, wrappedEvent);\n } catch (err) {\n if (\n typeof console !== \"undefined\" &&\n typeof console.error === \"function\"\n ) {\n console.error(err);\n }\n }\n } else if (\n node.listenerType !== ATTRIBUTE &&\n typeof node.listener.handleEvent === \"function\"\n ) {\n node.listener.handleEvent(wrappedEvent);\n }\n\n // Break if `event.stopImmediatePropagation` was called.\n if (isStopped(wrappedEvent)) {\n break\n }\n\n node = node.next;\n }\n setPassiveListener(wrappedEvent, null);\n setEventPhase(wrappedEvent, 0);\n setCurrentTarget(wrappedEvent, null);\n\n return !wrappedEvent.defaultPrevented\n },\n};\n\n// `constructor` is not enumerable.\nObject.defineProperty(EventTarget.prototype, \"constructor\", {\n value: EventTarget,\n configurable: true,\n writable: true,\n});\n\n// Ensure `eventTarget instanceof window.EventTarget` is `true`.\nif (\n typeof window !== \"undefined\" &&\n typeof window.EventTarget !== \"undefined\"\n) {\n Object.setPrototypeOf(EventTarget.prototype, window.EventTarget.prototype);\n}\n\nexports.defineEventAttribute = defineEventAttribute;\nexports.EventTarget = EventTarget;\nexports.default = EventTarget;\n\nmodule.exports = EventTarget\nmodule.exports.EventTarget = module.exports[\"default\"] = EventTarget\nmodule.exports.defineEventAttribute = defineEventAttribute\n//# sourceMappingURL=event-target-shim.js.map\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\nimport createPerformanceLogger from './createPerformanceLogger';\n\n/**\n * This is a global shared instance of IPerformanceLogger that is created with\n * createPerformanceLogger().\n * This logger should be used only for global performance metrics like the ones\n * that are logged during loading bundle. If you want to log something from your\n * React component you should use PerformanceLoggerContext instead.\n */\nconst GlobalPerformanceLogger: IPerformanceLogger = createPerformanceLogger();\n\nmodule.exports = GlobalPerformanceLogger;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nconst Systrace = require('../Performance/Systrace');\nconst infoLog = require('./infoLog');\n\nexport type Timespan = {\n startTime: number,\n endTime?: number,\n totalTime?: number,\n startExtras?: Extras,\n endExtras?: Extras,\n};\n\n// Extra values should be serializable primitives\nexport type ExtraValue = number | string | boolean;\n\nexport type Extras = {[key: string]: ExtraValue};\n\nexport interface IPerformanceLogger {\n addTimespan(\n key: string,\n startTime: number,\n endTime: number,\n startExtras?: Extras,\n endExtras?: Extras,\n ): void;\n append(logger: IPerformanceLogger): void;\n clear(): void;\n clearCompleted(): void;\n close(): void;\n currentTimestamp(): number;\n getExtras(): $ReadOnly<{[key: string]: ?ExtraValue, ...}>;\n getPoints(): $ReadOnly<{[key: string]: ?number, ...}>;\n getPointExtras(): $ReadOnly<{[key: string]: ?Extras, ...}>;\n getTimespans(): $ReadOnly<{[key: string]: ?Timespan, ...}>;\n hasTimespan(key: string): boolean;\n isClosed(): boolean;\n logEverything(): void;\n markPoint(key: string, timestamp?: number, extras?: Extras): void;\n removeExtra(key: string): ?ExtraValue;\n setExtra(key: string, value: ExtraValue): void;\n startTimespan(key: string, timestamp?: number, extras?: Extras): void;\n stopTimespan(key: string, timestamp?: number, extras?: Extras): void;\n}\n\nconst _cookies: {[key: string]: number, ...} = {};\n\nconst PRINT_TO_CONSOLE: false = false; // Type as false to prevent accidentally committing `true`;\n\nexport const getCurrentTimestamp: () => number =\n global.nativeQPLTimestamp ?? global.performance.now.bind(global.performance);\n\nclass PerformanceLogger implements IPerformanceLogger {\n _timespans: {[key: string]: ?Timespan} = {};\n _extras: {[key: string]: ?ExtraValue} = {};\n _points: {[key: string]: ?number} = {};\n _pointExtras: {[key: string]: ?Extras, ...} = {};\n _closed: boolean = false;\n\n addTimespan(\n key: string,\n startTime: number,\n endTime: number,\n startExtras?: Extras,\n endExtras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: addTimespan - has closed ignoring: ', key);\n }\n return;\n }\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to add a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n startTime,\n endTime,\n totalTime: endTime - (startTime || 0),\n startExtras,\n endExtras,\n };\n }\n\n append(performanceLogger: IPerformanceLogger) {\n this._timespans = {\n ...performanceLogger.getTimespans(),\n ...this._timespans,\n };\n this._extras = {...performanceLogger.getExtras(), ...this._extras};\n this._points = {...performanceLogger.getPoints(), ...this._points};\n this._pointExtras = {\n ...performanceLogger.getPointExtras(),\n ...this._pointExtras,\n };\n }\n\n clear() {\n this._timespans = {};\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clear');\n }\n }\n\n clearCompleted() {\n for (const key in this._timespans) {\n if (this._timespans[key]?.totalTime != null) {\n delete this._timespans[key];\n }\n }\n this._extras = {};\n this._points = {};\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'clearCompleted');\n }\n }\n\n close() {\n this._closed = true;\n }\n\n currentTimestamp(): number {\n return getCurrentTimestamp();\n }\n\n getExtras(): {[key: string]: ?ExtraValue} {\n return this._extras;\n }\n\n getPoints(): {[key: string]: ?number} {\n return this._points;\n }\n\n getPointExtras(): {[key: string]: ?Extras} {\n return this._pointExtras;\n }\n\n getTimespans(): {[key: string]: ?Timespan} {\n return this._timespans;\n }\n\n hasTimespan(key: string): boolean {\n return !!this._timespans[key];\n }\n\n isClosed(): boolean {\n return this._closed;\n }\n\n logEverything() {\n if (PRINT_TO_CONSOLE) {\n // log timespans\n for (const key in this._timespans) {\n if (this._timespans[key]?.totalTime != null) {\n infoLog(key + ': ' + this._timespans[key].totalTime + 'ms');\n }\n }\n\n // log extras\n infoLog(this._extras);\n\n // log points\n for (const key in this._points) {\n if (this._points[key] != null) {\n infoLog(key + ': ' + this._points[key] + 'ms');\n }\n }\n }\n }\n\n markPoint(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: markPoint - has closed ignoring: ', key);\n }\n return;\n }\n if (this._points[key] != null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to mark a point that has been already logged ',\n key,\n );\n }\n return;\n }\n this._points[key] = timestamp;\n if (extras) {\n this._pointExtras[key] = extras;\n }\n }\n\n removeExtra(key: string): ?ExtraValue {\n const value = this._extras[key];\n delete this._extras[key];\n return value;\n }\n\n setExtra(key: string, value: ExtraValue) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: setExtra - has closed ignoring: ', key);\n }\n return;\n }\n\n if (this._extras.hasOwnProperty(key)) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to set an extra that already exists ',\n {key, currentValue: this._extras[key], attemptedValue: value},\n );\n }\n return;\n }\n this._extras[key] = value;\n }\n\n startTimespan(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: startTimespan - has closed ignoring: ',\n key,\n );\n }\n return;\n }\n\n if (this._timespans[key]) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to start a timespan that already exists ',\n key,\n );\n }\n return;\n }\n\n this._timespans[key] = {\n startTime: timestamp,\n startExtras: extras,\n };\n _cookies[key] = Systrace.beginAsyncEvent(key);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'start: ' + key);\n }\n }\n\n stopTimespan(\n key: string,\n timestamp?: number = getCurrentTimestamp(),\n extras?: Extras,\n ) {\n if (this._closed) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog('PerformanceLogger: stopTimespan - has closed ignoring: ', key);\n }\n return;\n }\n\n const timespan = this._timespans[key];\n if (!timespan || timespan.startTime == null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has not started ',\n key,\n );\n }\n return;\n }\n if (timespan.endTime != null) {\n if (PRINT_TO_CONSOLE && __DEV__) {\n infoLog(\n 'PerformanceLogger: Attempting to end a timespan that has already ended ',\n key,\n );\n }\n return;\n }\n\n timespan.endExtras = extras;\n timespan.endTime = timestamp;\n timespan.totalTime = timespan.endTime - (timespan.startTime || 0);\n if (PRINT_TO_CONSOLE) {\n infoLog('PerformanceLogger.js', 'end: ' + key);\n }\n\n if (_cookies[key] != null) {\n Systrace.endAsyncEvent(key, _cookies[key]);\n delete _cookies[key];\n }\n }\n}\n\n/**\n * This function creates performance loggers that can be used to collect and log\n * various performance data such as timespans, points and extras.\n * The loggers need to have minimal overhead since they're used in production.\n */\nexport default function createPerformanceLogger(): IPerformanceLogger {\n return new PerformanceLogger();\n}\n","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n var i\n for (i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport convertRequestBody, {type RequestBody} from './convertRequestBody';\nimport NativeNetworkingIOS from './NativeNetworkingIOS';\nimport {type NativeResponseType} from './XMLHttpRequest';\n\ntype RCTNetworkingEventDefinitions = $ReadOnly<{\n didSendNetworkData: [\n [\n number, // requestId\n number, // progress\n number, // total\n ],\n ],\n didReceiveNetworkResponse: [\n [\n number, // requestId\n number, // status\n ?{[string]: string}, // responseHeaders\n ?string, // responseURL\n ],\n ],\n didReceiveNetworkData: [\n [\n number, // requestId\n string, // response\n ],\n ],\n didReceiveNetworkIncrementalData: [\n [\n number, // requestId\n string, // responseText\n number, // progress\n number, // total\n ],\n ],\n didReceiveNetworkDataProgress: [\n [\n number, // requestId\n number, // loaded\n number, // total\n ],\n ],\n didCompleteNetworkResponse: [\n [\n number, // requestId\n string, // error\n boolean, // timeOutError\n ],\n ],\n}>;\n\nconst RCTNetworking = {\n addListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n // $FlowFixMe[incompatible-call]\n return RCTDeviceEventEmitter.addListener(eventType, listener, context);\n },\n\n sendRequest(\n method: string,\n trackingName: string,\n url: string,\n headers: {...},\n data: RequestBody,\n responseType: NativeResponseType,\n incrementalUpdates: boolean,\n timeout: number,\n callback: (requestId: number) => void,\n withCredentials: boolean,\n ) {\n const body = convertRequestBody(data);\n NativeNetworkingIOS.sendRequest(\n {\n method,\n url,\n data: {...body, trackingName},\n headers,\n responseType,\n incrementalUpdates,\n timeout,\n withCredentials,\n },\n callback,\n );\n },\n\n abortRequest(requestId: number) {\n NativeNetworkingIOS.abortRequest(requestId);\n },\n\n clearCookies(callback: (result: boolean) => void) {\n NativeNetworkingIOS.clearCookies(callback);\n },\n};\n\nmodule.exports = RCTNetworking;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst Blob = require('../Blob/Blob');\nconst binaryToBase64 = require('../Utilities/binaryToBase64');\nconst FormData = require('./FormData');\n\nexport type RequestBody =\n | string\n | Blob\n | FormData\n | {uri: string, ...}\n | ArrayBuffer\n | $ArrayBufferView;\n\nfunction convertRequestBody(body: RequestBody): Object {\n if (typeof body === 'string') {\n return {string: body};\n }\n if (body instanceof Blob) {\n return {blob: body.data};\n }\n if (body instanceof FormData) {\n return {formData: body.getParts()};\n }\n if (body instanceof ArrayBuffer || ArrayBuffer.isView(body)) {\n /* $FlowFixMe[incompatible-call] : no way to assert that 'body' is indeed\n * an ArrayBufferView */\n return {base64: binaryToBase64(body)};\n }\n return body;\n}\n\nmodule.exports = convertRequestBody;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype FormDataValue = string | {name?: string, type?: string, uri: string};\ntype FormDataNameValuePair = [string, FormDataValue];\n\ntype Headers = {[name: string]: string, ...};\ntype FormDataPart =\n | {\n string: string,\n headers: Headers,\n ...\n }\n | {\n uri: string,\n headers: Headers,\n name?: string,\n type?: string,\n ...\n };\n\n/**\n * Polyfill for XMLHttpRequest2 FormData API, allowing multipart POST requests\n * with mixed data (string, native files) to be submitted via XMLHttpRequest.\n *\n * Example:\n *\n * var photo = {\n * uri: uriFromCameraRoll,\n * type: 'image/jpeg',\n * name: 'photo.jpg',\n * };\n *\n * var body = new FormData();\n * body.append('authToken', 'secret');\n * body.append('photo', photo);\n * body.append('title', 'A beautiful photo!');\n *\n * xhr.open('POST', serverURL);\n * xhr.send(body);\n */\nclass FormData {\n _parts: Array;\n\n constructor() {\n this._parts = [];\n }\n\n append(key: string, value: FormDataValue) {\n // The XMLHttpRequest spec doesn't specify if duplicate keys are allowed.\n // MDN says that any new values should be appended to existing values.\n // In any case, major browsers allow duplicate keys, so that's what we'll do\n // too. They'll simply get appended as additional form data parts in the\n // request body, leaving the server to deal with them.\n this._parts.push([key, value]);\n }\n\n getAll(key: string): Array {\n return this._parts\n .filter(([name]) => name === key)\n .map(([, value]) => value);\n }\n\n getParts(): Array {\n return this._parts.map(([name, value]) => {\n const contentDisposition = 'form-data; name=\"' + name + '\"';\n\n const headers: Headers = {'content-disposition': contentDisposition};\n\n // The body part is a \"blob\", which in React Native just means\n // an object with a `uri` attribute. Optionally, it can also\n // have a `name` and `type` attribute to specify filename and\n // content type (cf. web Blob interface.)\n if (typeof value === 'object' && !Array.isArray(value) && value) {\n if (typeof value.name === 'string') {\n headers['content-disposition'] += '; filename=\"' + value.name + '\"';\n }\n if (typeof value.type === 'string') {\n headers['content-type'] = value.type;\n }\n return {...value, headers, fieldName: name};\n }\n // Convert non-object values to strings as per FormData.append() spec\n return {string: String(value), headers, fieldName: name};\n });\n }\n}\n\nmodule.exports = FormData;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst base64 = require('base64-js');\n\nfunction binaryToBase64(data: ArrayBuffer | $ArrayBufferView): string {\n if (data instanceof ArrayBuffer) {\n // $FlowFixMe[reassign-const]\n data = new Uint8Array(data);\n }\n if (data instanceof Uint8Array) {\n return base64.fromByteArray(data);\n }\n if (!ArrayBuffer.isView(data)) {\n throw new Error('data must be ArrayBuffer or typed array');\n }\n // Already checked that `data` is `DataView` in `ArrayBuffer.isView(data)`\n const {buffer, byteOffset, byteLength} = ((data: $FlowFixMe): DataView);\n return base64.fromByteArray(new Uint8Array(buffer, byteOffset, byteLength));\n}\n\nmodule.exports = binaryToBase64;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +sendRequest: (\n query: {|\n method: string,\n url: string,\n data: Object,\n headers: Object,\n responseType: string,\n incrementalUpdates: boolean,\n timeout: number,\n withCredentials: boolean,\n |},\n callback: (requestId: number) => void,\n ) => void;\n +abortRequest: (requestId: number) => void;\n +clearCookies: (callback: (result: boolean) => void) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Networking'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n/* globals Headers, Request, Response */\n\n'use strict';\n\n// side-effectful require() to put fetch,\n// Headers, Request, Response in global scope\nrequire('whatwg-fetch');\n\nmodule.exports = {fetch, Headers, Request, Response};\n","(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.WHATWGFetch = {})));\n}(this, (function (exports) { 'use strict';\n\n var global =\n (typeof globalThis !== 'undefined' && globalThis) ||\n (typeof self !== 'undefined' && self) ||\n (typeof global !== 'undefined' && global);\n\n var support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob:\n 'FileReader' in global &&\n 'Blob' in global &&\n (function() {\n try {\n new Blob();\n return true\n } catch (e) {\n return false\n }\n })(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n };\n\n function isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj)\n }\n\n if (support.arrayBuffer) {\n var viewClasses = [\n '[object Int8Array]',\n '[object Uint8Array]',\n '[object Uint8ClampedArray]',\n '[object Int16Array]',\n '[object Uint16Array]',\n '[object Int32Array]',\n '[object Uint32Array]',\n '[object Float32Array]',\n '[object Float64Array]'\n ];\n\n var isArrayBufferView =\n ArrayBuffer.isView ||\n function(obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1\n };\n }\n\n function normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"')\n }\n return name.toLowerCase()\n }\n\n function normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value\n }\n\n // Build a destructive iterator for the value list\n function iteratorFor(items) {\n var iterator = {\n next: function() {\n var value = items.shift();\n return {done: value === undefined, value: value}\n }\n };\n\n if (support.iterable) {\n iterator[Symbol.iterator] = function() {\n return iterator\n };\n }\n\n return iterator\n }\n\n function Headers(headers) {\n this.map = {};\n\n if (headers instanceof Headers) {\n headers.forEach(function(value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function(header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function(name) {\n this.append(name, headers[name]);\n }, this);\n }\n }\n\n Headers.prototype.append = function(name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n };\n\n Headers.prototype['delete'] = function(name) {\n delete this.map[normalizeName(name)];\n };\n\n Headers.prototype.get = function(name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null\n };\n\n Headers.prototype.has = function(name) {\n return this.map.hasOwnProperty(normalizeName(name))\n };\n\n Headers.prototype.set = function(name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n };\n\n Headers.prototype.forEach = function(callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n };\n\n Headers.prototype.keys = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push(name);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.values = function() {\n var items = [];\n this.forEach(function(value) {\n items.push(value);\n });\n return iteratorFor(items)\n };\n\n Headers.prototype.entries = function() {\n var items = [];\n this.forEach(function(value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items)\n };\n\n if (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n }\n\n function consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'))\n }\n body.bodyUsed = true;\n }\n\n function fileReaderReady(reader) {\n return new Promise(function(resolve, reject) {\n reader.onload = function() {\n resolve(reader.result);\n };\n reader.onerror = function() {\n reject(reader.error);\n };\n })\n }\n\n function readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise\n }\n\n function readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise\n }\n\n function readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('')\n }\n\n function bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0)\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer\n }\n }\n\n function Body() {\n this.bodyUsed = false;\n\n this._initBody = function(body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed;\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n\n if (support.blob) {\n this.blob = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob')\n } else {\n return Promise.resolve(new Blob([this._bodyText]))\n }\n };\n\n this.arrayBuffer = function() {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this);\n if (isConsumed) {\n return isConsumed\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(\n this._bodyArrayBuffer.buffer.slice(\n this._bodyArrayBuffer.byteOffset,\n this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength\n )\n )\n } else {\n return Promise.resolve(this._bodyArrayBuffer)\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer)\n }\n };\n }\n\n this.text = function() {\n var rejected = consumed(this);\n if (rejected) {\n return rejected\n }\n\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob)\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer))\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text')\n } else {\n return Promise.resolve(this._bodyText)\n }\n };\n\n if (support.formData) {\n this.formData = function() {\n return this.text().then(decode)\n };\n }\n\n this.json = function() {\n return this.text().then(JSON.parse)\n };\n\n return this\n }\n\n // HTTP methods whose capitalization should be normalized\n var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n function normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method\n }\n\n function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n\n options = options || {};\n var body = options.body;\n\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read')\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests')\n }\n this._initBody(body);\n\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/;\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/;\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n }\n }\n }\n }\n\n Request.prototype.clone = function() {\n return new Request(this, {body: this._bodyInit})\n };\n\n function decode(body) {\n var form = new FormData();\n body\n .trim()\n .split('&')\n .forEach(function(bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form\n }\n\n function parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders\n .split('\\r')\n .map(function(header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header\n })\n .forEach(function(line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers\n }\n\n Body.call(Request.prototype);\n\n function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.')\n }\n if (!options) {\n options = {};\n }\n\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n }\n\n Body.call(Response.prototype);\n\n Response.prototype.clone = function() {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n })\n };\n\n Response.error = function() {\n var response = new Response(null, {status: 0, statusText: ''});\n response.type = 'error';\n return response\n };\n\n var redirectStatuses = [301, 302, 303, 307, 308];\n\n Response.redirect = function(url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code')\n }\n\n return new Response(null, {status: status, headers: {location: url}})\n };\n\n exports.DOMException = global.DOMException;\n try {\n new exports.DOMException();\n } catch (err) {\n exports.DOMException = function(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n exports.DOMException.prototype = Object.create(Error.prototype);\n exports.DOMException.prototype.constructor = exports.DOMException;\n }\n\n function fetch(input, init) {\n return new Promise(function(resolve, reject) {\n var request = new Request(input, init);\n\n if (request.signal && request.signal.aborted) {\n return reject(new exports.DOMException('Aborted', 'AbortError'))\n }\n\n var xhr = new XMLHttpRequest();\n\n function abortXhr() {\n xhr.abort();\n }\n\n xhr.onload = function() {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n setTimeout(function() {\n resolve(new Response(body, options));\n }, 0);\n };\n\n xhr.onerror = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.ontimeout = function() {\n setTimeout(function() {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n\n xhr.onabort = function() {\n setTimeout(function() {\n reject(new exports.DOMException('Aborted', 'AbortError'));\n }, 0);\n };\n\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url\n } catch (e) {\n return url\n }\n }\n\n xhr.open(request.method, fixUrl(request.url), true);\n\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob';\n } else if (\n support.arrayBuffer &&\n request.headers.get('Content-Type') &&\n request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1\n ) {\n xhr.responseType = 'arraybuffer';\n }\n }\n\n if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function(name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n });\n } else {\n request.headers.forEach(function(value, name) {\n xhr.setRequestHeader(name, value);\n });\n }\n\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n\n xhr.onreadystatechange = function() {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n })\n }\n\n fetch.polyfill = true;\n\n if (!global.fetch) {\n global.fetch = fetch;\n global.Headers = Headers;\n global.Request = Request;\n global.Response = Response;\n }\n\n exports.Headers = Headers;\n exports.Request = Request;\n exports.Response = Response;\n exports.fetch = fetch;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {BlobData} from '../Blob/BlobTypes';\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\n\nimport Blob from '../Blob/Blob';\nimport BlobManager from '../Blob/BlobManager';\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport binaryToBase64 from '../Utilities/binaryToBase64';\nimport Platform from '../Utilities/Platform';\nimport NativeWebSocketModule from './NativeWebSocketModule';\nimport WebSocketEvent from './WebSocketEvent';\nimport base64 from 'base64-js';\nimport EventTarget from 'event-target-shim';\nimport invariant from 'invariant';\n\ntype ArrayBufferView =\n | Int8Array\n | Uint8Array\n | Uint8ClampedArray\n | Int16Array\n | Uint16Array\n | Int32Array\n | Uint32Array\n | Float32Array\n | Float64Array\n | DataView;\n\ntype BinaryType = 'blob' | 'arraybuffer';\n\nconst CONNECTING = 0;\nconst OPEN = 1;\nconst CLOSING = 2;\nconst CLOSED = 3;\n\nconst CLOSE_NORMAL = 1000;\n\n// Abnormal closure where no code is provided in a control frame\n// https://www.rfc-editor.org/rfc/rfc6455.html#section-7.1.5\nconst CLOSE_ABNORMAL = 1006;\n\nconst WEBSOCKET_EVENTS = ['close', 'error', 'message', 'open'];\n\nlet nextWebSocketId = 0;\n\ntype WebSocketEventDefinitions = {\n websocketOpen: [{id: number, protocol: string}],\n websocketClosed: [{id: number, code: number, reason: string}],\n websocketMessage: [\n | {type: 'binary', id: number, data: string}\n | {type: 'text', id: number, data: string}\n | {type: 'blob', id: number, data: BlobData},\n ],\n websocketFailed: [{id: number, message: string}],\n};\n\n/**\n * Browser-compatible WebSockets implementation.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n * See https://github.com/websockets/ws\n */\nclass WebSocket extends (EventTarget(...WEBSOCKET_EVENTS): any) {\n static CONNECTING: number = CONNECTING;\n static OPEN: number = OPEN;\n static CLOSING: number = CLOSING;\n static CLOSED: number = CLOSED;\n\n CONNECTING: number = CONNECTING;\n OPEN: number = OPEN;\n CLOSING: number = CLOSING;\n CLOSED: number = CLOSED;\n\n _socketId: number;\n _eventEmitter: NativeEventEmitter;\n _subscriptions: Array;\n _binaryType: ?BinaryType;\n\n onclose: ?Function;\n onerror: ?Function;\n onmessage: ?Function;\n onopen: ?Function;\n\n bufferedAmount: number;\n extension: ?string;\n protocol: ?string;\n readyState: number = CONNECTING;\n url: ?string;\n\n constructor(\n url: string,\n protocols: ?string | ?Array,\n options: ?{headers?: {origin?: string, ...}, ...},\n ) {\n super();\n this.url = url;\n if (typeof protocols === 'string') {\n protocols = [protocols];\n }\n\n const {headers = {}, ...unrecognized} = options || {};\n\n // Preserve deprecated backwards compatibility for the 'origin' option\n // $FlowFixMe[prop-missing]\n if (unrecognized && typeof unrecognized.origin === 'string') {\n console.warn(\n 'Specifying `origin` as a WebSocket connection option is deprecated. Include it under `headers` instead.',\n );\n /* $FlowFixMe[prop-missing] (>=0.54.0 site=react_native_fb,react_native_\n * oss) This comment suppresses an error found when Flow v0.54 was\n * deployed. To see the error delete this comment and run Flow. */\n headers.origin = unrecognized.origin;\n /* $FlowFixMe[prop-missing] (>=0.54.0 site=react_native_fb,react_native_\n * oss) This comment suppresses an error found when Flow v0.54 was\n * deployed. To see the error delete this comment and run Flow. */\n delete unrecognized.origin;\n }\n\n // Warn about and discard anything else\n if (Object.keys(unrecognized).length > 0) {\n console.warn(\n 'Unrecognized WebSocket connection option(s) `' +\n Object.keys(unrecognized).join('`, `') +\n '`. ' +\n 'Did you mean to put these under `headers`?',\n );\n }\n\n if (!Array.isArray(protocols)) {\n protocols = null;\n }\n\n this._eventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeWebSocketModule,\n );\n this._socketId = nextWebSocketId++;\n this._registerEvents();\n NativeWebSocketModule.connect(url, protocols, {headers}, this._socketId);\n }\n\n get binaryType(): ?BinaryType {\n return this._binaryType;\n }\n\n set binaryType(binaryType: BinaryType): void {\n if (binaryType !== 'blob' && binaryType !== 'arraybuffer') {\n throw new Error(\"binaryType must be either 'blob' or 'arraybuffer'\");\n }\n if (this._binaryType === 'blob' || binaryType === 'blob') {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n if (binaryType === 'blob') {\n BlobManager.addWebSocketHandler(this._socketId);\n } else {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n this._binaryType = binaryType;\n }\n\n close(code?: number, reason?: string): void {\n if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {\n return;\n }\n\n this.readyState = this.CLOSING;\n this._close(code, reason);\n }\n\n send(data: string | ArrayBuffer | ArrayBufferView | Blob): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n if (data instanceof Blob) {\n invariant(\n BlobManager.isAvailable,\n 'Native module BlobModule is required for blob support',\n );\n BlobManager.sendOverSocket(data, this._socketId);\n return;\n }\n\n if (typeof data === 'string') {\n NativeWebSocketModule.send(data, this._socketId);\n return;\n }\n\n if (data instanceof ArrayBuffer || ArrayBuffer.isView(data)) {\n NativeWebSocketModule.sendBinary(binaryToBase64(data), this._socketId);\n return;\n }\n\n throw new Error('Unsupported data type');\n }\n\n ping(): void {\n if (this.readyState === this.CONNECTING) {\n throw new Error('INVALID_STATE_ERR');\n }\n\n NativeWebSocketModule.ping(this._socketId);\n }\n\n _close(code?: number, reason?: string): void {\n // See https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent\n const statusCode = typeof code === 'number' ? code : CLOSE_NORMAL;\n const closeReason = typeof reason === 'string' ? reason : '';\n NativeWebSocketModule.close(statusCode, closeReason, this._socketId);\n\n if (BlobManager.isAvailable && this._binaryType === 'blob') {\n BlobManager.removeWebSocketHandler(this._socketId);\n }\n }\n\n _unregisterEvents(): void {\n this._subscriptions.forEach(e => e.remove());\n this._subscriptions = [];\n }\n\n _registerEvents(): void {\n this._subscriptions = [\n this._eventEmitter.addListener('websocketMessage', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n let data: Blob | BlobData | ArrayBuffer | string = ev.data;\n switch (ev.type) {\n case 'binary':\n data = base64.toByteArray(ev.data).buffer;\n break;\n case 'blob':\n data = BlobManager.createFromOptions(ev.data);\n break;\n }\n this.dispatchEvent(new WebSocketEvent('message', {data}));\n }),\n this._eventEmitter.addListener('websocketOpen', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.OPEN;\n this.protocol = ev.protocol;\n this.dispatchEvent(new WebSocketEvent('open'));\n }),\n this._eventEmitter.addListener('websocketClosed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('close', {\n code: ev.code,\n reason: ev.reason,\n // TODO: missing `wasClean` (exposed on iOS as `clean` but missing on Android)\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n this._eventEmitter.addListener('websocketFailed', ev => {\n if (ev.id !== this._socketId) {\n return;\n }\n this.readyState = this.CLOSED;\n this.dispatchEvent(\n new WebSocketEvent('error', {\n message: ev.message,\n }),\n );\n this.dispatchEvent(\n new WebSocketEvent('close', {\n code: CLOSE_ABNORMAL,\n reason: ev.message,\n // TODO: Expose `wasClean`\n }),\n );\n this._unregisterEvents();\n this.close();\n }),\n ];\n }\n}\n\nmodule.exports = WebSocket;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {\n EventSubscription,\n IEventEmitter,\n} from '../vendor/emitter/EventEmitter';\n\nimport Platform from '../Utilities/Platform';\nimport RCTDeviceEventEmitter from './RCTDeviceEventEmitter';\nimport invariant from 'invariant';\n\ninterface NativeModule {\n addListener(eventType: string): void;\n removeListeners(count: number): void;\n}\n\nexport type {EventSubscription};\n\n/**\n * `NativeEventEmitter` is intended for use by Native Modules to emit events to\n * JavaScript listeners. If a `NativeModule` is supplied to the constructor, it\n * will be notified (via `addListener` and `removeListeners`) when the listener\n * count changes to manage \"native memory\".\n *\n * Currently, all native events are fired via a global `RCTDeviceEventEmitter`.\n * This means event names must be globally unique, and it means that call sites\n * can theoretically listen to `RCTDeviceEventEmitter` (although discouraged).\n */\nexport default class NativeEventEmitter\n implements IEventEmitter\n{\n _nativeModule: ?NativeModule;\n\n constructor(nativeModule: ?NativeModule) {\n if (Platform.OS === 'ios') {\n invariant(\n nativeModule != null,\n '`new NativeEventEmitter()` requires a non-null argument.',\n );\n }\n\n const hasAddListener =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n !!nativeModule && typeof nativeModule.addListener === 'function';\n const hasRemoveListeners =\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n !!nativeModule && typeof nativeModule.removeListeners === 'function';\n\n if (nativeModule && hasAddListener && hasRemoveListeners) {\n this._nativeModule = nativeModule;\n } else if (nativeModule != null) {\n if (!hasAddListener) {\n console.warn(\n '`new NativeEventEmitter()` was called with a non-null argument without the required `addListener` method.',\n );\n }\n if (!hasRemoveListeners) {\n console.warn(\n '`new NativeEventEmitter()` was called with a non-null argument without the required `removeListeners` method.',\n );\n }\n }\n }\n\n addListener>(\n eventType: TEvent,\n listener: (...args: $ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n this._nativeModule?.addListener(eventType);\n let subscription: ?EventSubscription = RCTDeviceEventEmitter.addListener(\n eventType,\n listener,\n context,\n );\n\n return {\n remove: () => {\n if (subscription != null) {\n this._nativeModule?.removeListeners(1);\n // $FlowFixMe[incompatible-use]\n subscription.remove();\n subscription = null;\n }\n },\n };\n }\n\n emit>(\n eventType: TEvent,\n ...args: $ElementType\n ): void {\n // Generally, `RCTDeviceEventEmitter` is directly invoked. But this is\n // included for completeness.\n RCTDeviceEventEmitter.emit(eventType, ...args);\n }\n\n removeAllListeners>(\n eventType?: ?TEvent,\n ): void {\n invariant(\n eventType != null,\n '`NativeEventEmitter.removeAllListener()` requires a non-null argument.',\n );\n this._nativeModule?.removeListeners(this.listenerCount(eventType));\n RCTDeviceEventEmitter.removeAllListeners(eventType);\n }\n\n listenerCount>(eventType: TEvent): number {\n return RCTDeviceEventEmitter.listenerCount(eventType);\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +connect: (\n url: string,\n protocols: ?Array,\n options: {|headers?: Object|},\n socketID: number,\n ) => void;\n +send: (message: string, forSocketID: number) => void;\n +sendBinary: (base64String: string, forSocketID: number) => void;\n +ping: (socketID: number) => void;\n +close: (code: number, reason: string, socketID: number) => void;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'WebSocketModule',\n): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\n/**\n * Event object passed to the `onopen`, `onclose`, `onmessage`, `onerror`\n * callbacks of `WebSocket`.\n *\n * The `type` property is \"open\", \"close\", \"message\", \"error\" respectively.\n *\n * In case of \"message\", the `data` property contains the incoming data.\n */\nclass WebSocketEvent {\n constructor(type, eventInitDict) {\n this.type = type.toString();\n Object.assign(this, eventInitDict);\n }\n}\n\nmodule.exports = WebSocketEvent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {BlobOptions} from './BlobTypes';\n\nconst Blob = require('./Blob');\nconst invariant = require('invariant');\n\n/**\n * The File interface provides information about files.\n */\nclass File extends Blob {\n /**\n * Constructor for JS consumers.\n */\n constructor(\n parts: Array,\n name: string,\n options?: BlobOptions,\n ) {\n invariant(\n parts != null && name != null,\n 'Failed to construct `File`: Must pass both `parts` and `name` arguments.',\n );\n\n super(parts, options);\n this.data.name = name;\n }\n\n /**\n * Name of the file.\n */\n get name(): string {\n invariant(this.data.name != null, 'Files must have a name set.');\n return this.data.name;\n }\n\n /*\n * Last modified time of the file.\n */\n get lastModified(): number {\n return this.data.lastModified || 0;\n }\n}\n\nmodule.exports = File;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type Blob from './Blob';\n\nimport NativeFileReaderModule from './NativeFileReaderModule';\n\nconst EventTarget = require('event-target-shim');\n\ntype ReadyState =\n | 0 // EMPTY\n | 1 // LOADING\n | 2; // DONE\n\ntype ReaderResult = string | ArrayBuffer;\n\nconst READER_EVENTS = [\n 'abort',\n 'error',\n 'load',\n 'loadstart',\n 'loadend',\n 'progress',\n];\n\nconst EMPTY = 0;\nconst LOADING = 1;\nconst DONE = 2;\n\nclass FileReader extends (EventTarget(...READER_EVENTS): any) {\n static EMPTY: number = EMPTY;\n static LOADING: number = LOADING;\n static DONE: number = DONE;\n\n EMPTY: number = EMPTY;\n LOADING: number = LOADING;\n DONE: number = DONE;\n\n _readyState: ReadyState;\n _error: ?Error;\n _result: ?ReaderResult;\n _aborted: boolean = false;\n\n constructor() {\n super();\n this._reset();\n }\n\n _reset(): void {\n this._readyState = EMPTY;\n this._error = null;\n this._result = null;\n }\n\n _setReadyState(newState: ReadyState) {\n this._readyState = newState;\n this.dispatchEvent({type: 'readystatechange'});\n if (newState === DONE) {\n if (this._aborted) {\n this.dispatchEvent({type: 'abort'});\n } else if (this._error) {\n this.dispatchEvent({type: 'error'});\n } else {\n this.dispatchEvent({type: 'load'});\n }\n this.dispatchEvent({type: 'loadend'});\n }\n }\n\n readAsArrayBuffer(): any {\n throw new Error('FileReader.readAsArrayBuffer is not implemented');\n }\n\n readAsDataURL(blob: ?Blob): void {\n this._aborted = false;\n\n if (blob == null) {\n throw new TypeError(\n \"Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'\",\n );\n }\n\n NativeFileReaderModule.readAsDataURL(blob.data).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n readAsText(blob: ?Blob, encoding: string = 'UTF-8'): void {\n this._aborted = false;\n\n if (blob == null) {\n throw new TypeError(\n \"Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'\",\n );\n }\n\n NativeFileReaderModule.readAsText(blob.data, encoding).then(\n (text: string) => {\n if (this._aborted) {\n return;\n }\n this._result = text;\n this._setReadyState(DONE);\n },\n error => {\n if (this._aborted) {\n return;\n }\n this._error = error;\n this._setReadyState(DONE);\n },\n );\n }\n\n abort() {\n this._aborted = true;\n // only call onreadystatechange if there is something to abort, as per spec\n if (this._readyState !== EMPTY && this._readyState !== DONE) {\n this._reset();\n this._setReadyState(DONE);\n }\n // Reset again after, in case modified in handler\n this._reset();\n }\n\n get readyState(): ReadyState {\n return this._readyState;\n }\n\n get error(): ?Error {\n return this._error;\n }\n\n get result(): ?ReaderResult {\n return this._result;\n }\n}\n\nmodule.exports = FileReader;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +readAsDataURL: (data: Object) => Promise;\n +readAsText: (data: Object, encoding: string) => Promise;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'FileReaderModule',\n): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type Blob from './Blob';\n\nimport NativeBlobModule from './NativeBlobModule';\n\nlet BLOB_URL_PREFIX = null;\n\nif (\n NativeBlobModule &&\n typeof NativeBlobModule.getConstants().BLOB_URI_SCHEME === 'string'\n) {\n const constants = NativeBlobModule.getConstants();\n // $FlowFixMe[incompatible-type] asserted above\n BLOB_URL_PREFIX = constants.BLOB_URI_SCHEME + ':';\n if (typeof constants.BLOB_URI_HOST === 'string') {\n BLOB_URL_PREFIX += `//${constants.BLOB_URI_HOST}/`;\n }\n}\n\n/**\n * To allow Blobs be accessed via `content://` URIs,\n * you need to register `BlobProvider` as a ContentProvider in your app's `AndroidManifest.xml`:\n *\n * ```xml\n * \n * \n * \n * \n * \n * ```\n * And then define the `blob_provider_authority` string in `res/values/strings.xml`.\n * Use a dotted name that's entirely unique to your app:\n *\n * ```xml\n * \n * your.app.package.blobs\n * \n * ```\n */\n\n// Small subset from whatwg-url: https://github.com/jsdom/whatwg-url/tree/master/src\n// The reference code bloat comes from Unicode issues with URLs, so those won't work here.\nexport class URLSearchParams {\n _searchParams: Array> = [];\n\n constructor(params: any) {\n if (typeof params === 'object') {\n Object.keys(params).forEach(key => this.append(key, params[key]));\n }\n }\n\n append(key: string, value: string): void {\n this._searchParams.push([key, value]);\n }\n\n delete(name: string): void {\n throw new Error('URLSearchParams.delete is not implemented');\n }\n\n get(name: string): void {\n throw new Error('URLSearchParams.get is not implemented');\n }\n\n getAll(name: string): void {\n throw new Error('URLSearchParams.getAll is not implemented');\n }\n\n has(name: string): void {\n throw new Error('URLSearchParams.has is not implemented');\n }\n\n set(name: string, value: string): void {\n throw new Error('URLSearchParams.set is not implemented');\n }\n\n sort(): void {\n throw new Error('URLSearchParams.sort is not implemented');\n }\n\n // $FlowFixMe[unsupported-syntax]\n // $FlowFixMe[missing-local-annot]\n [Symbol.iterator]() {\n return this._searchParams[Symbol.iterator]();\n }\n\n toString(): string {\n if (this._searchParams.length === 0) {\n return '';\n }\n const last = this._searchParams.length - 1;\n return this._searchParams.reduce((acc, curr, index) => {\n return (\n acc +\n encodeURIComponent(curr[0]) +\n '=' +\n encodeURIComponent(curr[1]) +\n (index === last ? '' : '&')\n );\n }, '');\n }\n}\n\nfunction validateBaseUrl(url: string) {\n // from this MIT-licensed gist: https://gist.github.com/dperini/729294\n return /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z0-9\\u00a1-\\uffff][a-z0-9\\u00a1-\\uffff_-]{0,62})?[a-z0-9\\u00a1-\\uffff]\\.)*(?:[a-z\\u00a1-\\uffff]{2,}\\.?))(?::\\d{2,5})?(?:[/?#]\\S*)?$/.test(\n url,\n );\n}\n\nexport class URL {\n _url: string;\n _searchParamsInstance = null;\n\n static createObjectURL(blob: Blob): string {\n if (BLOB_URL_PREFIX === null) {\n throw new Error('Cannot create URL for blob!');\n }\n return `${BLOB_URL_PREFIX}${blob.data.blobId}?offset=${blob.data.offset}&size=${blob.size}`;\n }\n\n static revokeObjectURL(url: string) {\n // Do nothing.\n }\n\n // $FlowFixMe[missing-local-annot]\n constructor(url: string, base: string | URL) {\n let baseUrl = null;\n if (!base || validateBaseUrl(url)) {\n this._url = url;\n if (!this._url.endsWith('/')) {\n this._url += '/';\n }\n } else {\n if (typeof base === 'string') {\n baseUrl = base;\n if (!validateBaseUrl(baseUrl)) {\n throw new TypeError(`Invalid base URL: ${baseUrl}`);\n }\n } else {\n baseUrl = base.toString();\n }\n if (baseUrl.endsWith('/')) {\n baseUrl = baseUrl.slice(0, baseUrl.length - 1);\n }\n if (!url.startsWith('/')) {\n url = `/${url}`;\n }\n if (baseUrl.endsWith(url)) {\n url = '';\n }\n this._url = `${baseUrl}${url}`;\n }\n }\n\n get hash(): string {\n throw new Error('URL.hash is not implemented');\n }\n\n get host(): string {\n throw new Error('URL.host is not implemented');\n }\n\n get hostname(): string {\n throw new Error('URL.hostname is not implemented');\n }\n\n get href(): string {\n return this.toString();\n }\n\n get origin(): string {\n throw new Error('URL.origin is not implemented');\n }\n\n get password(): string {\n throw new Error('URL.password is not implemented');\n }\n\n get pathname(): string {\n throw new Error('URL.pathname not implemented');\n }\n\n get port(): string {\n throw new Error('URL.port is not implemented');\n }\n\n get protocol(): string {\n throw new Error('URL.protocol is not implemented');\n }\n\n get search(): string {\n throw new Error('URL.search is not implemented');\n }\n\n get searchParams(): URLSearchParams {\n if (this._searchParamsInstance == null) {\n this._searchParamsInstance = new URLSearchParams();\n }\n return this._searchParamsInstance;\n }\n\n toJSON(): string {\n return this.toString();\n }\n\n toString(): string {\n if (this._searchParamsInstance === null) {\n return this._url;\n }\n const instanceString = this._searchParamsInstance.toString();\n const separator = this._url.indexOf('?') > -1 ? '&' : '?';\n return this._url + separator + instanceString;\n }\n\n get username(): string {\n throw new Error('URL.username is not implemented');\n }\n}\n","/**\n * @author Toru Nagashima \n * See LICENSE file in root directory for full license.\n */\n'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar eventTargetShim = require('event-target-shim');\n\n/**\n * The signal class.\n * @see https://dom.spec.whatwg.org/#abortsignal\n */\nclass AbortSignal extends eventTargetShim.EventTarget {\n /**\n * AbortSignal cannot be constructed directly.\n */\n constructor() {\n super();\n throw new TypeError(\"AbortSignal cannot be constructed directly\");\n }\n /**\n * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.\n */\n get aborted() {\n const aborted = abortedFlags.get(this);\n if (typeof aborted !== \"boolean\") {\n throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? \"null\" : typeof this}`);\n }\n return aborted;\n }\n}\neventTargetShim.defineEventAttribute(AbortSignal.prototype, \"abort\");\n/**\n * Create an AbortSignal object.\n */\nfunction createAbortSignal() {\n const signal = Object.create(AbortSignal.prototype);\n eventTargetShim.EventTarget.call(signal);\n abortedFlags.set(signal, false);\n return signal;\n}\n/**\n * Abort a given signal.\n */\nfunction abortSignal(signal) {\n if (abortedFlags.get(signal) !== false) {\n return;\n }\n abortedFlags.set(signal, true);\n signal.dispatchEvent({ type: \"abort\" });\n}\n/**\n * Aborted flag for each instances.\n */\nconst abortedFlags = new WeakMap();\n// Properties should be enumerable.\nObject.defineProperties(AbortSignal.prototype, {\n aborted: { enumerable: true },\n});\n// `toString()` should return `\"[object AbortSignal]\"`\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortSignal.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortSignal\",\n });\n}\n\n/**\n * The AbortController.\n * @see https://dom.spec.whatwg.org/#abortcontroller\n */\nclass AbortController {\n /**\n * Initialize this controller.\n */\n constructor() {\n signals.set(this, createAbortSignal());\n }\n /**\n * Returns the `AbortSignal` object associated with this object.\n */\n get signal() {\n return getSignal(this);\n }\n /**\n * Abort and signal to any observers that the associated activity is to be aborted.\n */\n abort() {\n abortSignal(getSignal(this));\n }\n}\n/**\n * Associated signals.\n */\nconst signals = new WeakMap();\n/**\n * Get the associated signal of a given controller.\n */\nfunction getSignal(controller) {\n const signal = signals.get(controller);\n if (signal == null) {\n throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${controller === null ? \"null\" : typeof controller}`);\n }\n return signal;\n}\n// Properties should be enumerable.\nObject.defineProperties(AbortController.prototype, {\n signal: { enumerable: true },\n abort: { enumerable: true },\n});\nif (typeof Symbol === \"function\" && typeof Symbol.toStringTag === \"symbol\") {\n Object.defineProperty(AbortController.prototype, Symbol.toStringTag, {\n configurable: true,\n value: \"AbortController\",\n });\n}\n\nexports.AbortController = AbortController;\nexports.AbortSignal = AbortSignal;\nexports.default = AbortController;\n\nmodule.exports = AbortController\nmodule.exports.AbortController = module.exports[\"default\"] = AbortController\nmodule.exports.AbortSignal = AbortSignal\n//# sourceMappingURL=abort-controller.js.map\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\n/**\n * Set up alert().\n * You can use this module directly, or just require InitializeCore.\n */\nif (!global.alert) {\n global.alert = function (text) {\n // Require Alert on demand. Requiring it too early can lead to issues\n // with things like Platform not being fully initialized.\n require('../Alert/Alert').alert('Alert', '' + text);\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {DialogOptions} from '../NativeModules/specs/NativeDialogManagerAndroid';\n\nimport Platform from '../Utilities/Platform';\nimport RCTAlertManager from './RCTAlertManager';\n\nexport type AlertType =\n | 'default'\n | 'plain-text'\n | 'secure-text'\n | 'login-password';\nexport type AlertButtonStyle = 'default' | 'cancel' | 'destructive';\nexport type Buttons = Array<{\n text?: string,\n onPress?: ?Function,\n isPreferred?: boolean,\n style?: AlertButtonStyle,\n ...\n}>;\n\ntype Options = {\n cancelable?: ?boolean,\n userInterfaceStyle?: 'unspecified' | 'light' | 'dark',\n onDismiss?: ?() => void,\n ...\n};\n\n/**\n * Launches an alert dialog with the specified title and message.\n *\n * See https://reactnative.dev/docs/alert\n */\nclass Alert {\n static alert(\n title: ?string,\n message?: ?string,\n buttons?: Buttons,\n options?: Options,\n ): void {\n if (Platform.OS === 'ios') {\n Alert.prompt(\n title,\n message,\n buttons,\n 'default',\n undefined,\n undefined,\n options,\n );\n } else if (Platform.OS === 'android') {\n const NativeDialogManagerAndroid =\n require('../NativeModules/specs/NativeDialogManagerAndroid').default;\n if (!NativeDialogManagerAndroid) {\n return;\n }\n const constants = NativeDialogManagerAndroid.getConstants();\n\n const config: DialogOptions = {\n title: title || '',\n message: message || '',\n cancelable: false,\n };\n\n if (options && options.cancelable) {\n config.cancelable = options.cancelable;\n }\n // At most three buttons (neutral, negative, positive). Ignore rest.\n // The text 'OK' should be probably localized. iOS Alert does that in native.\n const defaultPositiveText = 'OK';\n const validButtons: Buttons = buttons\n ? buttons.slice(0, 3)\n : [{text: defaultPositiveText}];\n const buttonPositive = validButtons.pop();\n const buttonNegative = validButtons.pop();\n const buttonNeutral = validButtons.pop();\n\n if (buttonNeutral) {\n config.buttonNeutral = buttonNeutral.text || '';\n }\n if (buttonNegative) {\n config.buttonNegative = buttonNegative.text || '';\n }\n if (buttonPositive) {\n config.buttonPositive = buttonPositive.text || defaultPositiveText;\n }\n\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n const onAction = (action, buttonKey) => {\n if (action === constants.buttonClicked) {\n if (buttonKey === constants.buttonNeutral) {\n buttonNeutral.onPress && buttonNeutral.onPress();\n } else if (buttonKey === constants.buttonNegative) {\n buttonNegative.onPress && buttonNegative.onPress();\n } else if (buttonKey === constants.buttonPositive) {\n buttonPositive.onPress && buttonPositive.onPress();\n }\n } else if (action === constants.dismissed) {\n options && options.onDismiss && options.onDismiss();\n }\n };\n const onError = (errorMessage: string) => console.warn(errorMessage);\n NativeDialogManagerAndroid.showAlert(config, onError, onAction);\n }\n }\n\n static prompt(\n title: ?string,\n message?: ?string,\n callbackOrButtons?: ?(((text: string) => void) | Buttons),\n type?: ?AlertType = 'plain-text',\n defaultValue?: string,\n keyboardType?: string,\n options?: Options,\n ): void {\n if (Platform.OS === 'ios') {\n let callbacks: Array = [];\n const buttons = [];\n let cancelButtonKey;\n let destructiveButtonKey;\n let preferredButtonKey;\n if (typeof callbackOrButtons === 'function') {\n callbacks = [callbackOrButtons];\n } else if (Array.isArray(callbackOrButtons)) {\n callbackOrButtons.forEach((btn, index) => {\n callbacks[index] = btn.onPress;\n if (btn.style === 'cancel') {\n cancelButtonKey = String(index);\n } else if (btn.style === 'destructive') {\n destructiveButtonKey = String(index);\n }\n if (btn.isPreferred) {\n preferredButtonKey = String(index);\n }\n if (btn.text || index < (callbackOrButtons || []).length - 1) {\n const btnDef: {[number]: string} = {};\n btnDef[index] = btn.text || '';\n buttons.push(btnDef);\n }\n });\n }\n\n RCTAlertManager.alertWithArgs(\n {\n title: title || '',\n message: message || undefined,\n buttons,\n type: type || undefined,\n defaultValue,\n cancelButtonKey,\n destructiveButtonKey,\n preferredButtonKey,\n keyboardType,\n userInterfaceStyle: options?.userInterfaceStyle || undefined,\n },\n (id, value) => {\n const cb = callbacks[id];\n cb && cb(value);\n },\n );\n }\n }\n}\n\nmodule.exports = Alert;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {Args} from './NativeAlertManager';\n\nimport NativeAlertManager from './NativeAlertManager';\n\nmodule.exports = {\n alertWithArgs(\n args: Args,\n callback: (id: number, value: string) => void,\n ): void {\n if (NativeAlertManager == null) {\n return;\n }\n NativeAlertManager.alertWithArgs(args, callback);\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type Args = {|\n title?: string,\n message?: string,\n buttons?: Array, // TODO(T67565166): have a better type\n type?: string,\n defaultValue?: string,\n cancelButtonKey?: string,\n destructiveButtonKey?: string,\n preferredButtonKey?: string,\n keyboardType?: string,\n userInterfaceStyle?: string,\n|};\n\nexport interface Spec extends TurboModule {\n +alertWithArgs: (\n args: Args,\n callback: (id: number, value: string) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('AlertManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\n/* 'buttonClicked' | 'dismissed' */\ntype DialogAction = string;\n/*\n buttonPositive = -1,\n buttonNegative = -2,\n buttonNeutral = -3\n*/\ntype DialogButtonKey = number;\nexport type DialogOptions = {|\n title?: string,\n message?: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n items?: Array,\n cancelable?: boolean,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +buttonClicked: DialogAction,\n +dismissed: DialogAction,\n +buttonPositive: DialogButtonKey,\n +buttonNegative: DialogButtonKey,\n +buttonNeutral: DialogButtonKey,\n |};\n +showAlert: (\n config: DialogOptions,\n onError: (error: string) => void,\n onAction: (action: DialogAction, buttonKey?: DialogButtonKey) => void,\n ) => void;\n}\n\nexport default (TurboModuleRegistry.get('DialogManagerAndroid'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst {polyfillObjectProperty} = require('../Utilities/PolyfillFunctions');\n\nlet navigator = global.navigator;\nif (navigator === undefined) {\n global.navigator = navigator = {};\n}\n\n// see https://github.com/facebook/react-native/issues/10881\npolyfillObjectProperty(navigator, 'product', () => 'ReactNative');\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nlet registerModule;\nif (global.RN$Bridgeless === true && global.RN$registerCallableModule) {\n registerModule = global.RN$registerCallableModule;\n} else {\n const BatchedBridge = require('../BatchedBridge/BatchedBridge');\n registerModule = (\n moduleName:\n | $TEMPORARY$string<'GlobalPerformanceLogger'>\n | $TEMPORARY$string<'HMRClient'>\n | $TEMPORARY$string<'HeapCapture'>\n | $TEMPORARY$string<'JSTimers'>\n | $TEMPORARY$string<'RCTDeviceEventEmitter'>\n | $TEMPORARY$string<'RCTLog'>\n | $TEMPORARY$string<'RCTNativeAppEventEmitter'>\n | $TEMPORARY$string<'SamplingProfiler'>\n | $TEMPORARY$string<'Systrace'>,\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n factory,\n ) => BatchedBridge.registerLazyCallableModule(moduleName, factory);\n}\n\nregisterModule('Systrace', () => require('../Performance/Systrace'));\nif (!(global.RN$Bridgeless === true)) {\n registerModule('JSTimers', () => require('./Timers/JSTimers'));\n}\nregisterModule('HeapCapture', () => require('../HeapCapture/HeapCapture'));\nregisterModule('SamplingProfiler', () =>\n require('../Performance/SamplingProfiler'),\n);\nregisterModule('RCTLog', () => require('../Utilities/RCTLog'));\nregisterModule(\n 'RCTDeviceEventEmitter',\n () => require('../EventEmitter/RCTDeviceEventEmitter').default,\n);\nregisterModule('RCTNativeAppEventEmitter', () =>\n require('../EventEmitter/RCTNativeAppEventEmitter'),\n);\nregisterModule('GlobalPerformanceLogger', () =>\n require('../Utilities/GlobalPerformanceLogger'),\n);\n\nif (__DEV__) {\n registerModule('HMRClient', () => require('../Utilities/HMRClient'));\n} else {\n registerModule('HMRClient', () => require('../Utilities/HMRClientProdShim'));\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeJSCHeapCapture from './NativeJSCHeapCapture';\n\nconst HeapCapture = {\n captureHeap: function (path: string) {\n let error = null;\n try {\n global.nativeCaptureHeap(path);\n console.log('HeapCapture.captureHeap succeeded: ' + path);\n } catch (e) {\n console.log('HeapCapture.captureHeap error: ' + e.toString());\n error = e.toString();\n }\n if (NativeJSCHeapCapture) {\n NativeJSCHeapCapture.captureComplete(path, error);\n }\n },\n};\n\nmodule.exports = HeapCapture;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +captureComplete: (path: string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSCHeapCapture'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst SamplingProfiler = {\n poke: function (token: number): void {\n let error = null;\n let result = null;\n try {\n result = global.pokeSamplingProfiler();\n if (result === null) {\n console.log('The JSC Sampling Profiler has started');\n } else {\n console.log('The JSC Sampling Profiler has stopped');\n }\n } catch (e) {\n console.log(\n 'Error occurred when restarting Sampling Profiler: ' + e.toString(),\n );\n error = e.toString();\n }\n\n const NativeJSCSamplingProfiler =\n require('./NativeJSCSamplingProfiler').default;\n if (NativeJSCSamplingProfiler) {\n NativeJSCSamplingProfiler.operationComplete(token, result, error);\n }\n },\n};\n\nmodule.exports = SamplingProfiler;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +operationComplete: (token: number, result: ?string, error: ?string) => void;\n}\n\nexport default (TurboModuleRegistry.get('JSCSamplingProfiler'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nconst levelsMap = {\n log: 'log',\n info: 'info',\n warn: 'warn',\n error: 'error',\n fatal: 'error',\n};\n\nlet warningHandler: ?(...Array) => void = null;\n\nconst RCTLog = {\n // level one of log, info, warn, error, mustfix\n logIfNoNativeHook(level: string, ...args: Array): void {\n // We already printed in the native console, so only log here if using a js debugger\n if (typeof global.nativeLoggingHook === 'undefined') {\n RCTLog.logToConsole(level, ...args);\n } else {\n // Report native warnings to LogBox\n if (warningHandler && level === 'warn') {\n warningHandler(...args);\n }\n }\n },\n\n // Log to console regardless of nativeLoggingHook\n logToConsole(level: string, ...args: Array): void {\n const logFn = levelsMap[level];\n invariant(\n logFn,\n 'Level \"' + level + '\" not one of ' + Object.keys(levelsMap).toString(),\n );\n\n console[logFn](...args);\n },\n\n setWarningHandler(handler: typeof warningHandler): void {\n warningHandler = handler;\n },\n};\n\nmodule.exports = RCTLog;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport RCTDeviceEventEmitter from './RCTDeviceEventEmitter';\n\n/**\n * Deprecated - subclass NativeEventEmitter to create granular event modules instead of\n * adding all event listeners directly to RCTNativeAppEventEmitter.\n */\nconst RCTNativeAppEventEmitter = RCTDeviceEventEmitter;\nmodule.exports = RCTNativeAppEventEmitter;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {HMRClientNativeInterface} from './HMRClient';\n\n// This shim ensures DEV binary builds don't crash in JS\n// when they're combined with a PROD JavaScript build.\nconst HMRClientProdShim: HMRClientNativeInterface = {\n setup() {},\n enable() {\n console.error(\n 'Fast Refresh is disabled in JavaScript bundles built in production mode. ' +\n 'Did you forget to run Metro?',\n );\n },\n disable() {},\n registerBundle() {},\n log() {},\n};\n\nmodule.exports = HMRClientProdShim;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nexport type FetchSegmentFunction = typeof __fetchSegment;\nexport type GetSegmentFunction = typeof __getSegment;\n\n/**\n * Set up SegmentFetcher.\n * You can use this module directly, or just require InitializeCore.\n */\n\nfunction __fetchSegment(\n segmentId: number,\n options: $ReadOnly<{\n otaBuildNumber: ?string,\n requestedModuleName: string,\n segmentHash: string,\n }>,\n callback: (?Error) => void,\n) {\n const SegmentFetcher =\n require('./SegmentFetcher/NativeSegmentFetcher').default;\n SegmentFetcher.fetchSegment(\n segmentId,\n options,\n (\n errorObject: ?{\n message: string,\n code: string,\n ...\n },\n ) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null);\n },\n );\n}\n\nglobal.__fetchSegment = __fetchSegment;\n\nfunction __getSegment(\n segmentId: number,\n options: $ReadOnly<{\n otaBuildNumber: ?string,\n requestedModuleName: string,\n segmentHash: string,\n }>,\n callback: (?Error, ?string) => void,\n) {\n const SegmentFetcher =\n require('./SegmentFetcher/NativeSegmentFetcher').default;\n\n if (!SegmentFetcher.getSegment) {\n throw new Error('SegmentFetcher.getSegment must be defined');\n }\n\n SegmentFetcher.getSegment(\n segmentId,\n options,\n (\n errorObject: ?{\n message: string,\n code: string,\n ...\n },\n path: ?string,\n ) => {\n if (errorObject) {\n const error = new Error(errorObject.message);\n (error: any).code = errorObject.code; // flowlint-line unclear-type: off\n callback(error);\n }\n\n callback(null, path);\n },\n );\n}\n\nglobal.__getSegment = __getSegment;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +fetchSegment: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object) => void, // flowlint-line unclear-type: off\n ) => void;\n +getSegment?: (\n segmentId: number,\n options: Object, // flowlint-line unclear-type: off\n callback: (error: ?Object, path: ?string) => void, // flowlint-line unclear-type: off\n ) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('SegmentFetcher'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../Types/RootTagTypes';\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nimport BatchedBridge from '../BatchedBridge/BatchedBridge';\nimport BugReporting from '../BugReporting/BugReporting';\nimport createPerformanceLogger from '../Utilities/createPerformanceLogger';\nimport infoLog from '../Utilities/infoLog';\nimport SceneTracker from '../Utilities/SceneTracker';\nimport {coerceDisplayMode} from './DisplayMode';\nimport HeadlessJsTaskError from './HeadlessJsTaskError';\nimport NativeHeadlessJsTaskSupport from './NativeHeadlessJsTaskSupport';\nimport renderApplication from './renderApplication';\nimport {unmountComponentAtNodeAndRemoveContainer} from './RendererProxy';\nimport invariant from 'invariant';\n\ntype Task = (taskData: any) => Promise;\nexport type TaskProvider = () => Task;\ntype TaskCanceller = () => void;\ntype TaskCancelProvider = () => TaskCanceller;\n\nexport type ComponentProvider = () => React$ComponentType;\nexport type ComponentProviderInstrumentationHook = (\n component: ComponentProvider,\n scopedPerformanceLogger: IPerformanceLogger,\n) => React$ComponentType;\nexport type AppConfig = {\n appKey: string,\n component?: ComponentProvider,\n run?: Function,\n section?: boolean,\n ...\n};\nexport type Runnable = {\n component?: ComponentProvider,\n run: Function,\n ...\n};\nexport type Runnables = {[appKey: string]: Runnable, ...};\nexport type Registry = {\n sections: Array,\n runnables: Runnables,\n ...\n};\nexport type WrapperComponentProvider = (\n appParameters: any,\n) => React$ComponentType;\n\nconst runnables: Runnables = {};\nlet runCount = 1;\nconst sections: Runnables = {};\nconst taskProviders: Map = new Map();\nconst taskCancelProviders: Map = new Map();\nlet componentProviderInstrumentationHook: ComponentProviderInstrumentationHook =\n (component: ComponentProvider) => component();\n\nlet wrapperComponentProvider: ?WrapperComponentProvider;\nlet showArchitectureIndicator = false;\n\n/**\n * `AppRegistry` is the JavaScript entry point to running all React Native apps.\n *\n * See https://reactnative.dev/docs/appregistry\n */\nconst AppRegistry = {\n setWrapperComponentProvider(provider: WrapperComponentProvider) {\n wrapperComponentProvider = provider;\n },\n\n enableArchitectureIndicator(enabled: boolean): void {\n showArchitectureIndicator = enabled;\n },\n\n registerConfig(config: Array): void {\n config.forEach(appConfig => {\n if (appConfig.run) {\n AppRegistry.registerRunnable(appConfig.appKey, appConfig.run);\n } else {\n invariant(\n appConfig.component != null,\n 'AppRegistry.registerConfig(...): Every config is expected to set ' +\n 'either `run` or `component`, but `%s` has neither.',\n appConfig.appKey,\n );\n AppRegistry.registerComponent(\n appConfig.appKey,\n appConfig.component,\n appConfig.section,\n );\n }\n });\n },\n\n /**\n * Registers an app's root component.\n *\n * See https://reactnative.dev/docs/appregistry#registercomponent\n */\n registerComponent(\n appKey: string,\n componentProvider: ComponentProvider,\n section?: boolean,\n ): string {\n let scopedPerformanceLogger = createPerformanceLogger();\n runnables[appKey] = {\n componentProvider,\n run: (appParameters, displayMode) => {\n const concurrentRootEnabled =\n appParameters.initialProps?.concurrentRoot ||\n appParameters.concurrentRoot;\n renderApplication(\n componentProviderInstrumentationHook(\n componentProvider,\n scopedPerformanceLogger,\n ),\n appParameters.initialProps,\n appParameters.rootTag,\n wrapperComponentProvider && wrapperComponentProvider(appParameters),\n appParameters.fabric,\n showArchitectureIndicator,\n scopedPerformanceLogger,\n appKey === 'LogBox',\n appKey,\n coerceDisplayMode(displayMode),\n concurrentRootEnabled,\n );\n },\n };\n if (section) {\n sections[appKey] = runnables[appKey];\n }\n return appKey;\n },\n\n registerRunnable(appKey: string, run: Function): string {\n runnables[appKey] = {run};\n return appKey;\n },\n\n registerSection(appKey: string, component: ComponentProvider): void {\n AppRegistry.registerComponent(appKey, component, true);\n },\n\n getAppKeys(): Array {\n return Object.keys(runnables);\n },\n\n getSectionKeys(): Array {\n return Object.keys(sections);\n },\n\n getSections(): Runnables {\n return {\n ...sections,\n };\n },\n\n getRunnable(appKey: string): ?Runnable {\n return runnables[appKey];\n },\n\n getRegistry(): Registry {\n return {\n sections: AppRegistry.getSectionKeys(),\n runnables: {...runnables},\n };\n },\n\n setComponentProviderInstrumentationHook(\n hook: ComponentProviderInstrumentationHook,\n ) {\n componentProviderInstrumentationHook = hook;\n },\n\n /**\n * Loads the JavaScript bundle and runs the app.\n *\n * See https://reactnative.dev/docs/appregistry#runapplication\n */\n runApplication(\n appKey: string,\n appParameters: any,\n displayMode?: number,\n ): void {\n if (appKey !== 'LogBox') {\n const logParams = __DEV__\n ? '\" with ' + JSON.stringify(appParameters)\n : '';\n const msg = 'Running \"' + appKey + logParams;\n infoLog(msg);\n BugReporting.addSource(\n 'AppRegistry.runApplication' + runCount++,\n () => msg,\n );\n }\n invariant(\n runnables[appKey] && runnables[appKey].run,\n `\"${appKey}\" has not been registered. This can happen if:\\n` +\n '* Metro (the local dev server) is run from the wrong folder. ' +\n 'Check if Metro is running, stop it and restart it in the current project.\\n' +\n \"* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.\",\n );\n\n SceneTracker.setActiveScene({name: appKey});\n runnables[appKey].run(appParameters, displayMode);\n },\n\n /**\n * Update initial props for a surface that's already rendered\n */\n setSurfaceProps(\n appKey: string,\n appParameters: any,\n displayMode?: number,\n ): void {\n if (appKey !== 'LogBox') {\n const msg =\n 'Updating props for Surface \"' +\n appKey +\n '\" with ' +\n JSON.stringify(appParameters);\n infoLog(msg);\n BugReporting.addSource(\n 'AppRegistry.setSurfaceProps' + runCount++,\n () => msg,\n );\n }\n invariant(\n runnables[appKey] && runnables[appKey].run,\n `\"${appKey}\" has not been registered. This can happen if:\\n` +\n '* Metro (the local dev server) is run from the wrong folder. ' +\n 'Check if Metro is running, stop it and restart it in the current project.\\n' +\n \"* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called.\",\n );\n\n runnables[appKey].run(appParameters, displayMode);\n },\n\n /**\n * Stops an application when a view should be destroyed.\n *\n * See https://reactnative.dev/docs/appregistry#unmountapplicationcomponentatroottag\n */\n unmountApplicationComponentAtRootTag(rootTag: RootTag): void {\n unmountComponentAtNodeAndRemoveContainer(rootTag);\n },\n\n /**\n * Register a headless task. A headless task is a bit of code that runs without a UI.\n *\n * See https://reactnative.dev/docs/appregistry#registerheadlesstask\n */\n registerHeadlessTask(taskKey: string, taskProvider: TaskProvider): void {\n // $FlowFixMe[object-this-reference]\n this.registerCancellableHeadlessTask(taskKey, taskProvider, () => () => {\n /* Cancel is no-op */\n });\n },\n\n /**\n * Register a cancellable headless task. A headless task is a bit of code that runs without a UI.\n *\n * See https://reactnative.dev/docs/appregistry#registercancellableheadlesstask\n */\n registerCancellableHeadlessTask(\n taskKey: string,\n taskProvider: TaskProvider,\n taskCancelProvider: TaskCancelProvider,\n ): void {\n if (taskProviders.has(taskKey)) {\n console.warn(\n `registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key '${taskKey}'`,\n );\n }\n taskProviders.set(taskKey, taskProvider);\n taskCancelProviders.set(taskKey, taskCancelProvider);\n },\n\n /**\n * Only called from native code. Starts a headless task.\n *\n * See https://reactnative.dev/docs/appregistry#startheadlesstask\n */\n startHeadlessTask(taskId: number, taskKey: string, data: any): void {\n const taskProvider = taskProviders.get(taskKey);\n if (!taskProvider) {\n console.warn(`No task registered for key ${taskKey}`);\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n return;\n }\n taskProvider()(data)\n .then(() => {\n if (NativeHeadlessJsTaskSupport) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n })\n .catch(reason => {\n console.error(reason);\n\n if (\n NativeHeadlessJsTaskSupport &&\n reason instanceof HeadlessJsTaskError\n ) {\n NativeHeadlessJsTaskSupport.notifyTaskRetry(taskId).then(\n retryPosted => {\n if (!retryPosted) {\n NativeHeadlessJsTaskSupport.notifyTaskFinished(taskId);\n }\n },\n );\n }\n });\n },\n\n /**\n * Only called from native code. Cancels a headless task.\n *\n * See https://reactnative.dev/docs/appregistry#cancelheadlesstask\n */\n cancelHeadlessTask(taskId: number, taskKey: string): void {\n const taskCancelProvider = taskCancelProviders.get(taskKey);\n if (!taskCancelProvider) {\n throw new Error(`No task canceller registered for key '${taskKey}'`);\n }\n taskCancelProvider()();\n },\n};\n\nif (!(global.RN$Bridgeless === true)) {\n BatchedBridge.registerCallableModule('AppRegistry', AppRegistry);\n\n if (__DEV__) {\n const LogBoxInspector =\n require('../LogBox/LogBoxInspectorContainer').default;\n AppRegistry.registerComponent('LogBox', () => LogBoxInspector);\n } else {\n AppRegistry.registerComponent(\n 'LogBox',\n () =>\n function NoOp() {\n return null;\n },\n );\n }\n}\n\nmodule.exports = AppRegistry;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeRedBox from '../NativeModules/specs/NativeRedBox';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeBugReporting from './NativeBugReporting';\n\ntype ExtraData = {[key: string]: string, ...};\ntype SourceCallback = () => string;\ntype DebugData = {\n extras: ExtraData,\n files: ExtraData,\n ...\n};\n\nfunction defaultExtras() {\n BugReporting.addFileSource('react_hierarchy.txt', () =>\n require('./dumpReactTree')(),\n );\n}\n\n/**\n * A simple class for collecting bug report data. Components can add sources that will be queried when a bug report\n * is created via `collectExtraData`. For example, a list component might add a source that provides the list of rows\n * that are currently visible on screen. Components should also remember to call `remove()` on the object that is\n * returned by `addSource` when they are unmounted.\n */\nclass BugReporting {\n static _extraSources: Map = new Map();\n static _fileSources: Map = new Map();\n static _subscription: ?EventSubscription = null;\n static _redboxSubscription: ?EventSubscription = null;\n\n static _maybeInit() {\n if (!BugReporting._subscription) {\n BugReporting._subscription = RCTDeviceEventEmitter.addListener(\n 'collectBugExtraData',\n // $FlowFixMe[method-unbinding]\n BugReporting.collectExtraData,\n null,\n );\n defaultExtras();\n }\n\n if (!BugReporting._redboxSubscription) {\n BugReporting._redboxSubscription = RCTDeviceEventEmitter.addListener(\n 'collectRedBoxExtraData',\n // $FlowFixMe[method-unbinding]\n BugReporting.collectExtraData,\n null,\n );\n }\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void, ...} {\n return this._addSource(key, callback, BugReporting._extraSources);\n }\n\n /**\n * Maps a string key to a simple callback that should return a string payload to be attached\n * to a bug report. Source callbacks are called when `collectExtraData` is called.\n *\n * Returns an object to remove the source when the component unmounts.\n *\n * Conflicts trample with a warning.\n */\n static addFileSource(\n key: string,\n callback: SourceCallback,\n ): {remove: () => void, ...} {\n return this._addSource(key, callback, BugReporting._fileSources);\n }\n\n static _addSource(\n key: string,\n callback: SourceCallback,\n source: Map,\n ): {remove: () => void, ...} {\n BugReporting._maybeInit();\n if (source.has(key)) {\n console.warn(\n `BugReporting.add* called multiple times for same key '${key}'`,\n );\n }\n source.set(key, callback);\n return {\n remove: () => {\n source.delete(key);\n },\n };\n }\n\n /**\n * This can be called from a native bug reporting flow, or from JS code.\n *\n * If available, this will call `NativeModules.BugReporting.setExtraData(extraData)`\n * after collecting `extraData`.\n */\n static collectExtraData(): DebugData {\n const extraData: ExtraData = {};\n for (const [key, callback] of BugReporting._extraSources) {\n extraData[key] = callback();\n }\n const fileData: ExtraData = {};\n for (const [key, callback] of BugReporting._fileSources) {\n fileData[key] = callback();\n }\n\n if (NativeBugReporting != null && NativeBugReporting.setExtraData != null) {\n NativeBugReporting.setExtraData(extraData, fileData);\n }\n\n if (NativeRedBox != null && NativeRedBox.setExtraData != null) {\n NativeRedBox.setExtraData(extraData, 'From BugReporting.js');\n }\n\n return {extras: extraData, files: fileData};\n }\n}\n\nmodule.exports = BugReporting;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +setExtraData: (extraData: Object, forIdentifier: string) => void;\n +dismiss: () => void;\n}\n\nexport default (TurboModuleRegistry.get('RedBox'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +startReportAProblemFlow: () => void;\n +setExtraData: (extraData: Object, extraFiles: Object) => void;\n +setCategoryID: (categoryID: string) => void;\n}\n\nexport default (TurboModuleRegistry.get('BugReporting'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/*\nconst getReactData = require('getReactData');\n\nconst INDENTATION_SIZE = 2;\nconst MAX_DEPTH = 2;\nconst MAX_STRING_LENGTH = 50;\n*/\n\n/**\n * Dump all React Native root views and their content. This function tries\n * it best to get the content but ultimately relies on implementation details\n * of React and will fail in future versions.\n */\nfunction dumpReactTree(): string {\n try {\n return getReactTree();\n } catch (e) {\n return 'Failed to dump react tree: ' + e;\n }\n}\n\nfunction getReactTree() {\n // TODO(sema): Reenable tree dumps using the Fiber tree structure. #15945684\n return (\n 'React tree dumps have been temporarily disabled while React is ' +\n 'upgraded to Fiber.'\n );\n /*\n let output = '';\n const rootIds = Object.getOwnPropertyNames(ReactNativeMount._instancesByContainerID);\n for (const rootId of rootIds) {\n const instance = ReactNativeMount._instancesByContainerID[rootId];\n output += `============ Root ID: ${rootId} ============\\n`;\n output += dumpNode(instance, 0);\n output += `============ End root ID: ${rootId} ============\\n`;\n }\n return output;\n*/\n}\n\n/*\nfunction dumpNode(node: Object, indentation: number) {\n const data = getReactData(node);\n if (data.nodeType === 'Text') {\n return indent(indentation) + data.text + '\\n';\n } else if (data.nodeType === 'Empty') {\n return '';\n }\n let output = indent(indentation) + `<${data.name}`;\n if (data.nodeType === 'Composite') {\n for (const propName of Object.getOwnPropertyNames(data.props || {})) {\n if (isNormalProp(propName)) {\n try {\n const value = convertValue(data.props[propName]);\n if (value) {\n output += ` ${propName}=${value}`;\n }\n } catch (e) {\n const message = `[Failed to get property: ${e}]`;\n output += ` ${propName}=${message}`;\n }\n }\n }\n }\n let childOutput = '';\n for (const child of data.children || []) {\n childOutput += dumpNode(child, indentation + 1);\n }\n\n if (childOutput) {\n output += '>\\n' + childOutput + indent(indentation) + `\\n`;\n } else {\n output += ' />\\n';\n }\n\n return output;\n}\n\nfunction isNormalProp(name: string): boolean {\n switch (name) {\n case 'children':\n case 'key':\n case 'ref':\n return false;\n default:\n return true;\n }\n}\n\nfunction convertObject(object: Object, depth: number) {\n if (depth >= MAX_DEPTH) {\n return '[...omitted]';\n }\n let output = '{';\n let first = true;\n for (const key of Object.getOwnPropertyNames(object)) {\n if (!first) {\n output += ', ';\n }\n output += `${key}: ${convertValue(object[key], depth + 1)}`;\n first = false;\n }\n return output + '}';\n}\n\nfunction convertValue(value, depth = 0): ?string {\n if (!value) {\n return null;\n }\n\n switch (typeof value) {\n case 'string':\n return JSON.stringify(possiblyEllipsis(value).replace('\\n', '\\\\n'));\n case 'boolean':\n case 'number':\n return JSON.stringify(value);\n case 'function':\n return '[function]';\n case 'object':\n return convertObject(value, depth);\n default:\n return null;\n }\n}\n\nfunction possiblyEllipsis(value: string) {\n if (value.length > MAX_STRING_LENGTH) {\n return value.slice(0, MAX_STRING_LENGTH) + '...';\n } else {\n return value;\n }\n}\n\nfunction indent(size: number) {\n return ' '.repeat(size * INDENTATION_SIZE);\n}\n*/\n\nmodule.exports = dumpReactTree;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Intentional info-level logging for clear separation from ad-hoc console debug logging.\n */\nfunction infoLog(...args: Array): void {\n return console.log(...args);\n}\n\nmodule.exports = infoLog;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nexport type Scene = {name: string, ...};\n\nlet _listeners: Array<(scene: Scene) => void> = [];\n\nlet _activeScene = {name: 'default'};\n\nconst SceneTracker = {\n setActiveScene(scene: Scene) {\n _activeScene = scene;\n _listeners.forEach(listener => listener(_activeScene));\n },\n\n getActiveScene(): Scene {\n return _activeScene;\n },\n\n addActiveSceneChangedListener(callback: (scene: Scene) => void): {\n remove: () => void,\n ...\n } {\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n },\n};\n\nmodule.exports = SceneTracker;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nexport default class HeadlessJsTaskError extends Error {}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +notifyTaskFinished: (taskId: number) => void;\n +notifyTaskRetry: (taskId: number) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('HeadlessJsTaskSupport'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {IPerformanceLogger} from '../Utilities/createPerformanceLogger';\n\nimport GlobalPerformanceLogger from '../Utilities/GlobalPerformanceLogger';\nimport PerformanceLoggerContext from '../Utilities/PerformanceLoggerContext';\nimport AppContainer from './AppContainer';\nimport DisplayMode, {type DisplayModeType} from './DisplayMode';\nimport getCachedComponentWithDebugName from './getCachedComponentWithDebugName';\nimport * as Renderer from './RendererProxy';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\n// require BackHandler so it sets the default handler that exits the app if no listeners respond\nimport '../Utilities/BackHandler';\n\ntype OffscreenType = React.AbstractComponent<{\n mode: 'visible' | 'hidden',\n children: React.Node,\n}>;\n\nexport default function renderApplication(\n RootComponent: React.ComponentType,\n initialProps: Props,\n rootTag: any,\n WrapperComponent?: ?React.ComponentType,\n fabric?: boolean,\n showArchitectureIndicator?: boolean,\n scopedPerformanceLogger?: IPerformanceLogger,\n isLogBox?: boolean,\n debugName?: string,\n displayMode?: ?DisplayModeType,\n useConcurrentRoot?: boolean,\n useOffscreen?: boolean,\n) {\n invariant(rootTag, 'Expect to have a valid rootTag, instead got ', rootTag);\n\n const performanceLogger = scopedPerformanceLogger ?? GlobalPerformanceLogger;\n\n let renderable: React.MixedElement = (\n \n \n \n \n \n );\n\n if (__DEV__ && debugName) {\n const RootComponentWithMeaningfulName = getCachedComponentWithDebugName(\n `${debugName}(RootComponent)`,\n );\n renderable = (\n \n {renderable}\n \n );\n }\n\n if (useOffscreen && displayMode != null) {\n // $FlowFixMe[incompatible-type]\n // $FlowFixMe[prop-missing]\n const Offscreen: OffscreenType = React.unstable_Offscreen;\n\n renderable = (\n \n {renderable}\n \n );\n }\n\n performanceLogger.startTimespan('renderApplication_React_render');\n performanceLogger.setExtra(\n 'usedReactConcurrentRoot',\n useConcurrentRoot ? '1' : '0',\n );\n performanceLogger.setExtra('usedReactFabric', fabric ? '1' : '0');\n performanceLogger.setExtra(\n 'usedReactProfiler',\n Renderer.isProfilingRenderer(),\n );\n Renderer.renderElement({\n element: renderable,\n rootTag,\n useFabric: Boolean(fabric),\n useConcurrentRoot: Boolean(useConcurrentRoot),\n });\n performanceLogger.stopTimespan('renderApplication_React_render');\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {IPerformanceLogger} from './createPerformanceLogger';\n\nimport GlobalPerformanceLogger from './GlobalPerformanceLogger';\nimport * as React from 'react';\nimport {useContext} from 'react';\n\n/**\n * This is a React Context that provides a scoped instance of IPerformanceLogger.\n * We wrap every with a Provider for this context so the logger\n * should be available in every component.\n * See React docs about using Context: https://reactjs.org/docs/context.html\n */\nconst PerformanceLoggerContext: React.Context =\n React.createContext(GlobalPerformanceLogger);\nif (__DEV__) {\n PerformanceLoggerContext.displayName = 'PerformanceLoggerContext';\n}\n\nexport function usePerformanceLogger(): IPerformanceLogger {\n return useContext(PerformanceLoggerContext);\n}\n\nexport default PerformanceLoggerContext;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {RootTag} from './RootTag';\n\nimport View from '../Components/View/View';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport {RootTagContext, createRootTag} from './RootTag';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n children?: React.Node,\n fabric?: boolean,\n useConcurrentRoot?: boolean,\n rootTag: number | RootTag,\n initialProps?: {...},\n showArchitectureIndicator?: boolean,\n WrapperComponent?: ?React.ComponentType,\n internal_excludeLogBox?: ?boolean,\n internal_excludeInspector?: ?boolean,\n|}>;\n\ntype State = {|\n inspector: ?React.Node,\n devtoolsOverlay: ?React.Node,\n mainKey: number,\n hasError: boolean,\n|};\n\nclass AppContainer extends React.Component {\n state: State = {\n inspector: null,\n devtoolsOverlay: null,\n mainKey: 1,\n hasError: false,\n };\n _mainRef: ?React.ElementRef;\n _subscription: ?EventSubscription = null;\n\n static getDerivedStateFromError: any = undefined;\n\n componentDidMount(): void {\n if (__DEV__) {\n if (!this.props.internal_excludeInspector) {\n this._subscription = RCTDeviceEventEmitter.addListener(\n 'toggleElementInspector',\n () => {\n const Inspector = require('../Inspector/Inspector');\n const inspector = this.state.inspector ? null : (\n {\n this.setState(\n s => ({mainKey: s.mainKey + 1}),\n () => updateInspectedView(this._mainRef),\n );\n }}\n />\n );\n this.setState({inspector});\n },\n );\n if (window.__REACT_DEVTOOLS_GLOBAL_HOOK__ != null) {\n const DevtoolsOverlay =\n require('../Inspector/DevtoolsOverlay').default;\n const devtoolsOverlay = (\n \n );\n this.setState({devtoolsOverlay});\n }\n }\n }\n }\n\n componentWillUnmount(): void {\n if (this._subscription != null) {\n this._subscription.remove();\n }\n }\n\n render(): React.Node {\n let logBox = null;\n if (__DEV__) {\n if (!this.props.internal_excludeLogBox) {\n const LogBoxNotificationContainer =\n require('../LogBox/LogBoxNotificationContainer').default;\n logBox = ;\n }\n }\n\n let innerView: React.Node = (\n {\n this._mainRef = ref;\n }}>\n {this.props.children}\n \n );\n\n const Wrapper = this.props.WrapperComponent;\n if (Wrapper != null) {\n innerView = (\n \n {innerView}\n \n );\n }\n return (\n \n \n {!this.state.hasError && innerView}\n {this.state.devtoolsOverlay}\n {this.state.inspector}\n {logBox}\n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n appContainer: {\n flex: 1,\n },\n});\n\nmodule.exports = AppContainer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from './ViewPropTypes';\n\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport TextAncestor from '../../Text/TextAncestor';\nimport {getAccessibilityRoleFromRole} from '../../Utilities/AcessibilityMapping';\nimport ViewNativeComponent from './ViewNativeComponent';\nimport * as React from 'react';\n\nexport type Props = ViewProps;\n\n/**\n * The most fundamental component for building a UI, View is a container that\n * supports layout with flexbox, style, some touch handling, and accessibility\n * controls.\n *\n * @see https://reactnative.dev/docs/view\n */\nconst View: React.AbstractComponent<\n ViewProps,\n React.ElementRef,\n> = React.forwardRef(\n (\n {\n accessibilityElementsHidden,\n accessibilityLabel,\n accessibilityLabelledBy,\n accessibilityLiveRegion,\n accessibilityRole,\n accessibilityState,\n accessibilityValue,\n 'aria-busy': ariaBusy,\n 'aria-checked': ariaChecked,\n 'aria-disabled': ariaDisabled,\n 'aria-expanded': ariaExpanded,\n 'aria-hidden': ariaHidden,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n 'aria-live': ariaLive,\n 'aria-selected': ariaSelected,\n 'aria-valuemax': ariaValueMax,\n 'aria-valuemin': ariaValueMin,\n 'aria-valuenow': ariaValueNow,\n 'aria-valuetext': ariaValueText,\n focusable,\n id,\n importantForAccessibility,\n nativeID,\n pointerEvents,\n role,\n style,\n tabIndex,\n ...otherProps\n }: ViewProps,\n forwardedRef,\n ) => {\n const _accessibilityLabelledBy =\n ariaLabelledBy?.split(/\\s*,\\s*/g) ?? accessibilityLabelledBy;\n\n const _accessibilityState = {\n busy: ariaBusy ?? accessibilityState?.busy,\n checked: ariaChecked ?? accessibilityState?.checked,\n disabled: ariaDisabled ?? accessibilityState?.disabled,\n expanded: ariaExpanded ?? accessibilityState?.expanded,\n selected: ariaSelected ?? accessibilityState?.selected,\n };\n\n const _accessibilityValue = {\n max: ariaValueMax ?? accessibilityValue?.max,\n min: ariaValueMin ?? accessibilityValue?.min,\n now: ariaValueNow ?? accessibilityValue?.now,\n text: ariaValueText ?? accessibilityValue?.text,\n };\n\n const flattenedStyle = flattenStyle(style);\n const newPointerEvents = flattenedStyle?.pointerEvents || pointerEvents;\n\n return (\n \n \n \n );\n },\n);\n\nView.displayName = 'View';\n\nmodule.exports = View;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {DangerouslyImpreciseStyleProp} from './StyleSheet';\nimport type {____FlattenStyleProp_Internal} from './StyleSheetTypes';\n\nfunction flattenStyle<+TStyleProp: DangerouslyImpreciseStyleProp>(\n style: ?TStyleProp,\n): ?____FlattenStyleProp_Internal {\n if (style === null || typeof style !== 'object') {\n return undefined;\n }\n\n if (!Array.isArray(style)) {\n return style;\n }\n\n const result: {[string]: $FlowFixMe} = {};\n for (let i = 0, styleLength = style.length; i < styleLength; ++i) {\n const computedStyle = flattenStyle(style[i]);\n if (computedStyle) {\n for (const key in computedStyle) {\n result[key] = computedStyle[key];\n }\n }\n }\n return result;\n}\n\nmodule.exports = flattenStyle;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst React = require('react');\n\n/**\n * Whether the current element is the descendant of a element.\n */\nconst TextAncestorContext = (React.createContext(\n false,\n): React$Context<$FlowFixMe>);\nif (__DEV__) {\n TextAncestorContext.displayName = 'TextAncestorContext';\n}\nmodule.exports = TextAncestorContext;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport Platform from '../../Utilities/Platform';\nimport {type ViewProps as Props} from './ViewPropTypes';\nimport * as React from 'react';\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig =\n Platform.OS === 'android'\n ? {\n uiViewClassName: 'RCTView',\n validAttributes: {\n // ReactClippingViewManager @ReactProps\n removeClippedSubviews: true,\n\n // ReactViewManager @ReactProps\n accessible: true,\n hasTVPreferredFocus: true,\n nextFocusDown: true,\n nextFocusForward: true,\n nextFocusLeft: true,\n nextFocusRight: true,\n nextFocusUp: true,\n\n borderRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderBottomRightRadius: true,\n borderBottomLeftRadius: true,\n borderTopStartRadius: true,\n borderTopEndRadius: true,\n borderBottomStartRadius: true,\n borderBottomEndRadius: true,\n\n borderStyle: true,\n hitSlop: true,\n pointerEvents: true,\n nativeBackgroundAndroid: true,\n nativeForegroundAndroid: true,\n needsOffscreenAlphaCompositing: true,\n\n borderWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderTopWidth: true,\n borderBottomWidth: true,\n borderStartWidth: true,\n borderEndWidth: true,\n\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {\n process: require('../../StyleSheet/processColor'),\n },\n borderStartColor: {process: require('../../StyleSheet/processColor')},\n borderEndColor: {process: require('../../StyleSheet/processColor')},\n\n focusable: true,\n overflow: true,\n backfaceVisibility: true,\n },\n }\n : {\n uiViewClassName: 'RCTView',\n };\n\nconst ViewNativeComponent: HostComponent =\n NativeComponentRegistry.get('RCTView', () => __INTERNAL_VIEW_CONFIG);\n\ninterface NativeCommands {\n +hotspotUpdate: (\n viewRef: React.ElementRef>,\n x: number,\n y: number,\n ) => void;\n +setPressed: (\n viewRef: React.ElementRef>,\n pressed: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['hotspotUpdate', 'setPressed'],\n});\n\nexport default ViewNativeComponent;\n\nexport type ViewNativeComponentType = HostComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\n\nimport getNativeComponentAttributes from '../ReactNative/getNativeComponentAttributes';\nimport UIManager from '../ReactNative/UIManager';\nimport ReactNativeViewConfigRegistry from '../Renderer/shims/ReactNativeViewConfigRegistry';\nimport verifyComponentAttributeEquivalence from '../Utilities/verifyComponentAttributeEquivalence';\nimport * as StaticViewConfigValidator from './StaticViewConfigValidator';\nimport {createViewConfig} from './ViewConfig';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nlet getRuntimeConfig;\n\n/**\n * Configures a function that is called to determine whether a given component\n * should be registered using reflection of the native component at runtime.\n *\n * The provider should return null if the native component is unavailable in\n * the current environment.\n */\nexport function setRuntimeConfigProvider(\n runtimeConfigProvider: (name: string) => ?{\n native: boolean,\n strict: boolean,\n verify: boolean,\n },\n): void {\n invariant(\n getRuntimeConfig == null,\n 'NativeComponentRegistry.setRuntimeConfigProvider() called more than once.',\n );\n getRuntimeConfig = runtimeConfigProvider;\n}\n\n/**\n * Gets a `NativeComponent` that can be rendered by React Native.\n *\n * The supplied `viewConfigProvider` may or may not be invoked and utilized,\n * depending on how `setRuntimeConfigProvider` is configured.\n */\nexport function get(\n name: string,\n viewConfigProvider: () => PartialViewConfig,\n): HostComponent {\n ReactNativeViewConfigRegistry.register(name, () => {\n const {native, strict, verify} = getRuntimeConfig?.(name) ?? {\n native: true,\n strict: false,\n verify: false,\n };\n\n const viewConfig = native\n ? getNativeComponentAttributes(name)\n : createViewConfig(viewConfigProvider());\n\n if (verify) {\n const nativeViewConfig = native\n ? viewConfig\n : getNativeComponentAttributes(name);\n const staticViewConfig = native\n ? createViewConfig(viewConfigProvider())\n : viewConfig;\n\n if (strict) {\n const validationOutput = StaticViewConfigValidator.validate(\n name,\n nativeViewConfig,\n staticViewConfig,\n );\n\n if (validationOutput.type === 'invalid') {\n console.error(\n StaticViewConfigValidator.stringifyValidationResult(\n name,\n validationOutput,\n ),\n );\n }\n } else {\n verifyComponentAttributeEquivalence(nativeViewConfig, staticViewConfig);\n }\n }\n\n return viewConfig;\n });\n\n // $FlowFixMe[incompatible-return] `NativeComponent` is actually string!\n return name;\n}\n\n/**\n * Same as `NativeComponentRegistry.get(...)`, except this will check either\n * the `setRuntimeConfigProvider` configuration or use native reflection (slow)\n * to determine whether this native component is available.\n *\n * If the native component is not available, a stub component is returned. Note\n * that the return value of this is not `HostComponent` because the returned\n * component instance is not guaranteed to have native methods.\n */\nexport function getWithFallback_DEPRECATED(\n name: string,\n viewConfigProvider: () => PartialViewConfig,\n): React.AbstractComponent {\n if (getRuntimeConfig == null) {\n // `getRuntimeConfig == null` when static view configs are disabled\n // If `setRuntimeConfigProvider` is not configured, use native reflection.\n if (hasNativeViewConfig(name)) {\n return get(name, viewConfigProvider);\n }\n } else {\n // If there is no runtime config, then the native component is unavailable.\n if (getRuntimeConfig(name) != null) {\n return get(name, viewConfigProvider);\n }\n }\n\n const FallbackNativeComponent = function (props: Config): React.Node {\n return null;\n };\n FallbackNativeComponent.displayName = `Fallback(${name})`;\n return FallbackNativeComponent;\n}\n\nfunction hasNativeViewConfig(name: string): boolean {\n invariant(getRuntimeConfig == null, 'Unexpected invocation!');\n return UIManager.getViewManagerConfig(name) != null;\n}\n\n/**\n * Unstable API. Do not use!\n *\n * This method returns if there is a StaticViewConfig registered for the\n * component name received as a parameter.\n */\nexport function unstable_hasStaticViewConfig(name: string): boolean {\n const {native} = getRuntimeConfig?.(name) ?? {\n native: true,\n };\n return !native;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nconst ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');\nconst resolveAssetSource = require('../Image/resolveAssetSource');\nconst processColor = require('../StyleSheet/processColor');\nconst processColorArray = require('../StyleSheet/processColorArray');\nconst insetsDiffer = require('../Utilities/differ/insetsDiffer');\nconst matricesDiffer = require('../Utilities/differ/matricesDiffer');\nconst pointsDiffer = require('../Utilities/differ/pointsDiffer');\nconst sizesDiffer = require('../Utilities/differ/sizesDiffer');\nconst UIManager = require('./UIManager');\nconst invariant = require('invariant');\n\nfunction getNativeComponentAttributes(uiViewClassName: string): any {\n const viewConfig = UIManager.getViewManagerConfig(uiViewClassName);\n\n invariant(\n viewConfig != null && viewConfig.NativeProps != null,\n 'requireNativeComponent: \"%s\" was not found in the UIManager.',\n uiViewClassName,\n );\n\n // TODO: This seems like a whole lot of runtime initialization for every\n // native component that can be either avoided or simplified.\n let {baseModuleName, bubblingEventTypes, directEventTypes} = viewConfig;\n let nativeProps = viewConfig.NativeProps;\n\n bubblingEventTypes = bubblingEventTypes ?? {};\n directEventTypes = directEventTypes ?? {};\n\n while (baseModuleName) {\n const baseModule = UIManager.getViewManagerConfig(baseModuleName);\n if (!baseModule) {\n baseModuleName = null;\n } else {\n bubblingEventTypes = {\n ...baseModule.bubblingEventTypes,\n ...bubblingEventTypes,\n };\n directEventTypes = {\n ...baseModule.directEventTypes,\n ...directEventTypes,\n };\n nativeProps = {\n ...baseModule.NativeProps,\n ...nativeProps,\n };\n baseModuleName = baseModule.baseModuleName;\n }\n }\n\n const validAttributes: {[string]: mixed} = {};\n\n for (const key in nativeProps) {\n const typeName = nativeProps[key];\n const diff = getDifferForType(typeName);\n const process = getProcessorForType(typeName);\n\n // If diff or process == null, omit the corresponding property from the Attribute\n // Why:\n // 1. Consistency with AttributeType flow type\n // 2. Consistency with Static View Configs, which omit the null properties\n validAttributes[key] =\n diff == null\n ? process == null\n ? true\n : {process}\n : process == null\n ? {diff}\n : {diff, process};\n }\n\n // Unfortunately, the current setup declares style properties as top-level\n // props. This makes it so we allow style properties in the `style` prop.\n // TODO: Move style properties into a `style` prop and disallow them as\n // top-level props on the native side.\n validAttributes.style = ReactNativeStyleAttributes;\n\n Object.assign(viewConfig, {\n uiViewClassName,\n validAttributes,\n bubblingEventTypes,\n directEventTypes,\n });\n\n attachDefaultEventTypes(viewConfig);\n\n return viewConfig;\n}\n\nfunction attachDefaultEventTypes(viewConfig: any) {\n // This is supported on UIManager platforms (ex: Android),\n // as lazy view managers are not implemented for all platforms.\n // See [UIManager] for details on constants and implementations.\n const constants = UIManager.getConstants();\n if (constants.ViewManagerNames || constants.LazyViewManagersEnabled) {\n // Lazy view managers enabled.\n viewConfig = merge(viewConfig, UIManager.getDefaultEventTypes());\n } else {\n viewConfig.bubblingEventTypes = merge(\n viewConfig.bubblingEventTypes,\n constants.genericBubblingEventTypes,\n );\n viewConfig.directEventTypes = merge(\n viewConfig.directEventTypes,\n constants.genericDirectEventTypes,\n );\n }\n}\n\n// TODO: Figure out how to avoid all this runtime initialization cost.\nfunction merge(destination: ?Object, source: ?Object): ?Object {\n if (!source) {\n return destination;\n }\n if (!destination) {\n return source;\n }\n\n for (const key in source) {\n if (!source.hasOwnProperty(key)) {\n continue;\n }\n\n let sourceValue = source[key];\n if (destination.hasOwnProperty(key)) {\n const destinationValue = destination[key];\n if (\n typeof sourceValue === 'object' &&\n typeof destinationValue === 'object'\n ) {\n sourceValue = merge(destinationValue, sourceValue);\n }\n }\n destination[key] = sourceValue;\n }\n return destination;\n}\n\nfunction getDifferForType(\n typeName: string,\n): ?(prevProp: any, nextProp: any) => boolean {\n switch (typeName) {\n // iOS Types\n case 'CATransform3D':\n return matricesDiffer;\n case 'CGPoint':\n return pointsDiffer;\n case 'CGSize':\n return sizesDiffer;\n case 'UIEdgeInsets':\n return insetsDiffer;\n // Android Types\n case 'Point':\n return pointsDiffer;\n case 'EdgeInsets':\n return insetsDiffer;\n }\n return null;\n}\n\nfunction getProcessorForType(typeName: string): ?(nextProp: any) => any {\n switch (typeName) {\n // iOS Types\n case 'CGColor':\n case 'UIColor':\n return processColor;\n case 'CGColorArray':\n case 'UIColorArray':\n return processColorArray;\n case 'CGImage':\n case 'UIImage':\n case 'RCTImageSource':\n return resolveAssetSource;\n // Android Types\n case 'Color':\n return processColor;\n case 'ColorArray':\n return processColorArray;\n case 'ImageSource':\n return resolveAssetSource;\n }\n return null;\n}\n\nmodule.exports = getNativeComponentAttributes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../Types/RootTagTypes';\nimport type {Spec} from './NativeUIManager';\n\nexport interface UIManagerJSInterface extends Spec {\n +getViewManagerConfig: (viewManagerName: string) => Object;\n +hasViewManagerConfig: (viewManagerName: string) => boolean;\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n}\n\nconst UIManager: UIManagerJSInterface =\n global.RN$Bridgeless === true\n ? require('./BridgelessUIManager')\n : require('./PaperUIManager');\n\nmodule.exports = UIManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {RootTag} from '../Types/RootTagTypes';\n\nimport {unstable_hasComponent} from '../NativeComponent/NativeComponentRegistryUnstable';\n\nconst errorMessageForMethod = (methodName: string): string =>\n \"[ReactNative Architecture][JS] '\" +\n methodName +\n \"' is not available in the new React Native architecture.\";\n\nmodule.exports = {\n getViewManagerConfig: (viewManagerName: string): mixed => {\n console.error(\n errorMessageForMethod('getViewManagerConfig') +\n 'Use hasViewManagerConfig instead. viewManagerName: ' +\n viewManagerName,\n );\n return null;\n },\n hasViewManagerConfig: (viewManagerName: string): boolean => {\n return unstable_hasComponent(viewManagerName);\n },\n getConstants: (): Object => {\n console.error(errorMessageForMethod('getConstants'));\n return {};\n },\n getConstantsForViewManager: (viewManagerName: string): Object => {\n console.error(errorMessageForMethod('getConstantsForViewManager'));\n return {};\n },\n getDefaultEventTypes: (): Array => {\n console.error(errorMessageForMethod('getDefaultEventTypes'));\n return [];\n },\n lazilyLoadView: (name: string): Object => {\n console.error(errorMessageForMethod('lazilyLoadView'));\n return {};\n },\n createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ): void => console.error(errorMessageForMethod('createView')),\n updateView: (reactTag: number, viewName: string, props: Object): void =>\n console.error(errorMessageForMethod('updateView')),\n focus: (reactTag: ?number): void =>\n console.error(errorMessageForMethod('focus')),\n blur: (reactTag: ?number): void =>\n console.error(errorMessageForMethod('blur')),\n findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ): void => console.error(errorMessageForMethod('findSubviewIn')),\n dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ): void => console.error(errorMessageForMethod('dispatchViewManagerCommand')),\n measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ): void => console.error(errorMessageForMethod('measure')),\n measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ): void => console.error(errorMessageForMethod('measureInWindow')),\n viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ): void => console.error(errorMessageForMethod('viewIsDescendantOf')),\n measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ): void => console.error(errorMessageForMethod('measureLayout')),\n measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ): void =>\n console.error(errorMessageForMethod('measureLayoutRelativeToParent')),\n setJSResponder: (reactTag: ?number, blockNativeResponder: boolean): void =>\n console.error(errorMessageForMethod('setJSResponder')),\n clearJSResponder: (): void => {}, // Don't log error here because we're aware it gets called\n configureNextLayoutAnimation: (\n config: Object,\n callback: () => void,\n errorCallback: (error: Object) => void,\n ): void =>\n console.error(errorMessageForMethod('configureNextLayoutAnimation')),\n removeSubviewsFromContainerWithID: (containerID: number): void =>\n console.error(errorMessageForMethod('removeSubviewsFromContainerWithID')),\n replaceExistingNonRootView: (reactTag: ?number, newReactTag: ?number): void =>\n console.error(errorMessageForMethod('replaceExistingNonRootView')),\n setChildren: (containerTag: ?number, reactTags: Array): void =>\n console.error(errorMessageForMethod('setChildren')),\n manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ): void => console.error(errorMessageForMethod('manageChildren')),\n\n // Android only\n setLayoutAnimationEnabledExperimental: (enabled: boolean): void => {\n console.error(\n errorMessageForMethod('setLayoutAnimationEnabledExperimental'),\n );\n },\n // Please use AccessibilityInfo.sendAccessibilityEvent instead.\n // See SetAccessibilityFocusExample in AccessibilityExample.js for a migration example.\n sendAccessibilityEvent: (reactTag: ?number, eventType: number): void =>\n console.error(errorMessageForMethod('sendAccessibilityEvent')),\n showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ): void => console.error(errorMessageForMethod('showPopupMenu')),\n dismissPopupMenu: (): void =>\n console.error(errorMessageForMethod('dismissPopupMenu')),\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nlet componentNameToExists: Map = new Map();\n\n/**\n * Unstable API. Do not use!\n *\n * This method returns if the component with name received as a parameter\n * is registed in the native platform.\n */\nexport function unstable_hasComponent(name: string): boolean {\n let hasNativeComponent = componentNameToExists.get(name);\n if (hasNativeComponent == null) {\n if (global.__nativeComponentRegistry__hasComponent) {\n hasNativeComponent = global.__nativeComponentRegistry__hasComponent(name);\n componentNameToExists.set(name, hasNativeComponent);\n } else {\n throw `unstable_hasComponent('${name}'): Global function is not registered`;\n }\n }\n return hasNativeComponent;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../Types/RootTagTypes';\n\nimport NativeUIManager from './NativeUIManager';\n\nconst NativeModules = require('../BatchedBridge/NativeModules');\nconst defineLazyObjectProperty = require('../Utilities/defineLazyObjectProperty');\nconst Platform = require('../Utilities/Platform');\nconst UIManagerProperties = require('./UIManagerProperties');\n\nconst viewManagerConfigs: {[string]: any | null} = {};\n\nconst triedLoadingConfig = new Set();\n\nlet NativeUIManagerConstants = {};\nlet isNativeUIManagerConstantsSet = false;\nfunction getConstants(): Object {\n if (!isNativeUIManagerConstantsSet) {\n NativeUIManagerConstants = NativeUIManager.getConstants();\n isNativeUIManagerConstantsSet = true;\n }\n return NativeUIManagerConstants;\n}\n\nfunction getViewManagerConfig(viewManagerName: string): any {\n if (\n viewManagerConfigs[viewManagerName] === undefined &&\n global.nativeCallSyncHook && // If we're in the Chrome Debugger, let's not even try calling the sync method\n NativeUIManager.getConstantsForViewManager\n ) {\n try {\n viewManagerConfigs[viewManagerName] =\n NativeUIManager.getConstantsForViewManager(viewManagerName);\n } catch (e) {\n console.error(\n \"NativeUIManager.getConstantsForViewManager('\" +\n viewManagerName +\n \"') threw an exception.\",\n e,\n );\n viewManagerConfigs[viewManagerName] = null;\n }\n }\n\n const config = viewManagerConfigs[viewManagerName];\n if (config) {\n return config;\n }\n\n // If we're in the Chrome Debugger, let's not even try calling the sync\n // method.\n if (!global.nativeCallSyncHook) {\n return config;\n }\n\n if (\n NativeUIManager.lazilyLoadView &&\n !triedLoadingConfig.has(viewManagerName)\n ) {\n const result = NativeUIManager.lazilyLoadView(viewManagerName);\n triedLoadingConfig.add(viewManagerName);\n if (result != null && result.viewConfig != null) {\n getConstants()[viewManagerName] = result.viewConfig;\n lazifyViewManagerConfig(viewManagerName);\n }\n }\n\n return viewManagerConfigs[viewManagerName];\n}\n\n/* $FlowFixMe[cannot-spread-interface] (>=0.123.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.123.0 was deployed. To see\n * the error, delete this comment and run Flow. */\nconst UIManagerJS = {\n ...NativeUIManager,\n createView(\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ): void {\n if (Platform.OS === 'ios' && viewManagerConfigs[viewName] === undefined) {\n // This is necessary to force the initialization of native viewManager\n // classes in iOS when using static ViewConfigs\n getViewManagerConfig(viewName);\n }\n\n NativeUIManager.createView(reactTag, viewName, rootTag, props);\n },\n getConstants(): Object {\n return getConstants();\n },\n getViewManagerConfig(viewManagerName: string): any {\n return getViewManagerConfig(viewManagerName);\n },\n hasViewManagerConfig(viewManagerName: string): boolean {\n return getViewManagerConfig(viewManagerName) != null;\n },\n};\n\n// TODO (T45220498): Remove this.\n// 3rd party libs may be calling `NativeModules.UIManager.getViewManagerConfig()`\n// instead of `UIManager.getViewManagerConfig()` off UIManager.js.\n// This is a workaround for now.\n// $FlowFixMe[prop-missing]\nNativeUIManager.getViewManagerConfig = UIManagerJS.getViewManagerConfig;\n\nfunction lazifyViewManagerConfig(viewName: string) {\n const viewConfig = getConstants()[viewName];\n viewManagerConfigs[viewName] = viewConfig;\n if (viewConfig.Manager) {\n defineLazyObjectProperty(viewConfig, 'Constants', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const constants: {[string]: mixed} = {};\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value !== 'function') {\n constants[key] = value;\n }\n });\n return constants;\n },\n });\n defineLazyObjectProperty(viewConfig, 'Commands', {\n get: () => {\n const viewManager = NativeModules[viewConfig.Manager];\n const commands: {[string]: number} = {};\n let index = 0;\n viewManager &&\n Object.keys(viewManager).forEach(key => {\n const value = viewManager[key];\n if (typeof value === 'function') {\n commands[key] = index++;\n }\n });\n return commands;\n },\n });\n }\n}\n\n/**\n * Copies the ViewManager constants and commands into UIManager. This is\n * only needed for iOS, which puts the constants in the ViewManager\n * namespace instead of UIManager, unlike Android.\n */\nif (Platform.OS === 'ios') {\n Object.keys(getConstants()).forEach(viewName => {\n lazifyViewManagerConfig(viewName);\n });\n} else if (getConstants().ViewManagerNames) {\n NativeUIManager.getConstants().ViewManagerNames.forEach(viewManagerName => {\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => NativeUIManager.getConstantsForViewManager(viewManagerName),\n });\n });\n}\n\nif (!global.nativeCallSyncHook) {\n Object.keys(getConstants()).forEach(viewManagerName => {\n if (!UIManagerProperties.includes(viewManagerName)) {\n if (!viewManagerConfigs[viewManagerName]) {\n viewManagerConfigs[viewManagerName] = getConstants()[viewManagerName];\n }\n defineLazyObjectProperty(NativeUIManager, viewManagerName, {\n get: () => {\n console.warn(\n `Accessing view manager configs directly off UIManager via UIManager['${viewManagerName}'] ` +\n `is no longer supported. Use UIManager.getViewManagerConfig('${viewManagerName}') instead.`,\n );\n\n return UIManagerJS.getViewManagerConfig(viewManagerName);\n },\n });\n }\n });\n}\n\nmodule.exports = UIManagerJS;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../TurboModule/RCTExport';\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => Object;\n +getConstantsForViewManager: (viewManagerName: string) => Object;\n +getDefaultEventTypes: () => Array;\n +lazilyLoadView: (name: string) => Object; // revisit return\n +createView: (\n reactTag: ?number,\n viewName: string,\n rootTag: RootTag,\n props: Object,\n ) => void;\n +updateView: (reactTag: number, viewName: string, props: Object) => void;\n +focus: (reactTag: ?number) => void;\n +blur: (reactTag: ?number) => void;\n +findSubviewIn: (\n reactTag: ?number,\n point: Array,\n callback: (\n nativeViewTag: number,\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +dispatchViewManagerCommand: (\n reactTag: ?number,\n commandID: number,\n commandArgs: ?Array,\n ) => void;\n +measure: (\n reactTag: ?number,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => void,\n ) => void;\n +measureInWindow: (\n reactTag: ?number,\n callback: (x: number, y: number, width: number, height: number) => void,\n ) => void;\n +viewIsDescendantOf: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n callback: (result: Array) => void,\n ) => void;\n +measureLayout: (\n reactTag: ?number,\n ancestorReactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +measureLayoutRelativeToParent: (\n reactTag: ?number,\n errorCallback: (error: Object) => void,\n callback: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void,\n ) => void;\n +setJSResponder: (reactTag: ?number, blockNativeResponder: boolean) => void;\n +clearJSResponder: () => void;\n +configureNextLayoutAnimation: (\n config: Object,\n callback: () => void, // check what is returned here\n errorCallback: (error: Object) => void,\n ) => void;\n +removeSubviewsFromContainerWithID: (containerID: number) => void;\n +replaceExistingNonRootView: (\n reactTag: ?number,\n newReactTag: ?number,\n ) => void;\n +setChildren: (containerTag: ?number, reactTags: Array) => void;\n +manageChildren: (\n containerTag: ?number,\n moveFromIndices: Array,\n moveToIndices: Array,\n addChildReactTags: Array,\n addAtIndices: Array,\n removeAtIndices: Array,\n ) => void;\n\n // Android only\n +setLayoutAnimationEnabledExperimental: (enabled: boolean) => void;\n +sendAccessibilityEvent: (reactTag: ?number, eventType: number) => void;\n +showPopupMenu: (\n reactTag: ?number,\n items: Array,\n error: (error: Object) => void,\n success: (event: string, selected?: number) => void,\n ) => void;\n +dismissPopupMenu: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('UIManager'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\n/**\n * The list of non-ViewManager related UIManager properties.\n *\n * In an effort to improve startup performance by lazily loading view managers,\n * the interface to access view managers will change from\n * UIManager['viewManagerName'] to UIManager.getViewManagerConfig('viewManagerName').\n * By using a function call instead of a property access, the UIManager will\n * be able to initialize and load the required view manager from native\n * synchronously. All of React Native's core components have been updated to\n * use getViewManagerConfig(). For the next few releases, any usage of\n * UIManager['viewManagerName'] will result in a warning. Because React Native\n * does not support Proxy objects, a view manager access is implied if any of\n * UIManager's properties that are not one of the properties below is being\n * accessed. Once UIManager property accesses for view managers has been fully\n * deprecated, this file will also be removed.\n */\nmodule.exports = [\n 'clearJSResponder',\n 'configureNextLayoutAnimation',\n 'createView',\n 'dismissPopupMenu',\n 'dispatchViewManagerCommand',\n 'findSubviewIn',\n 'getConstantsForViewManager',\n 'getDefaultEventTypes',\n 'manageChildren',\n 'measure',\n 'measureInWindow',\n 'measureLayout',\n 'measureLayoutRelativeToParent',\n 'removeRootView',\n 'removeSubviewsFromContainerWithID',\n 'replaceExistingNonRootView',\n 'sendAccessibilityEvent',\n 'setChildren',\n 'setJSResponder',\n 'setLayoutAnimationEnabledExperimental',\n 'showPopupMenu',\n 'updateView',\n 'viewIsDescendantOf',\n 'PopupMenu',\n 'LazyViewManagersEnabled',\n 'ViewManagerNames',\n 'StyleConstants',\n 'AccessibilityEventTypes',\n 'UIView',\n 'getViewManagerConfig',\n 'hasViewManagerConfig',\n 'blur',\n 'focus',\n 'genericBubblingEventTypes',\n 'genericDirectEventTypes',\n 'lazilyLoadView',\n];\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format strict-local\n * @flow\n */\n\nimport type {AnyAttributeType} from '../../Renderer/shims/ReactNativeTypes';\n\nimport processAspectRatio from '../../StyleSheet/processAspectRatio';\nimport processColor from '../../StyleSheet/processColor';\nimport processFontVariant from '../../StyleSheet/processFontVariant';\nimport processTransform from '../../StyleSheet/processTransform';\nimport sizesDiffer from '../../Utilities/differ/sizesDiffer';\n\nconst colorAttributes = {process: processColor};\n\nconst ReactNativeStyleAttributes: {[string]: AnyAttributeType, ...} = {\n /**\n * Layout\n */\n alignContent: true,\n alignItems: true,\n alignSelf: true,\n aspectRatio: {process: processAspectRatio},\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n columnGap: true,\n borderWidth: true,\n bottom: true,\n direction: true,\n display: true,\n end: true,\n flex: true,\n flexBasis: true,\n flexDirection: true,\n flexGrow: true,\n flexShrink: true,\n flexWrap: true,\n gap: true,\n height: true,\n justifyContent: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n overflow: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n position: true,\n right: true,\n rowGap: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n\n /**\n * Shadow\n */\n elevation: true,\n shadowColor: colorAttributes,\n shadowOffset: {diff: sizesDiffer},\n shadowOpacity: true,\n shadowRadius: true,\n\n /**\n * Transform\n */\n transform: {process: processTransform},\n\n /**\n * View\n */\n backfaceVisibility: true,\n backgroundColor: colorAttributes,\n borderBottomColor: colorAttributes,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderColor: colorAttributes,\n borderCurve: true,\n borderEndColor: colorAttributes,\n borderLeftColor: colorAttributes,\n borderRadius: true,\n borderRightColor: colorAttributes,\n borderStartColor: colorAttributes,\n borderStyle: true,\n borderTopColor: colorAttributes,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n opacity: true,\n pointerEvents: true,\n\n /**\n * Text\n */\n color: colorAttributes,\n fontFamily: true,\n fontSize: true,\n fontStyle: true,\n fontVariant: {process: processFontVariant},\n fontWeight: true,\n includeFontPadding: true,\n letterSpacing: true,\n lineHeight: true,\n textAlign: true,\n textAlignVertical: true,\n textDecorationColor: colorAttributes,\n textDecorationLine: true,\n textDecorationStyle: true,\n textShadowColor: colorAttributes,\n textShadowOffset: true,\n textShadowRadius: true,\n textTransform: true,\n userSelect: true,\n verticalAlign: true,\n writingDirection: true,\n\n /**\n * Image\n */\n overlayColor: colorAttributes,\n resizeMode: true,\n tintColor: colorAttributes,\n objectFit: true,\n};\n\nmodule.exports = ReactNativeStyleAttributes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nfunction processAspectRatio(aspectRatio?: number | string): ?number {\n if (typeof aspectRatio === 'number') {\n return aspectRatio;\n }\n if (typeof aspectRatio !== 'string') {\n if (__DEV__) {\n invariant(\n !aspectRatio,\n 'aspectRatio must either be a number, a ratio string or `auto`. You passed: %s',\n aspectRatio,\n );\n }\n return;\n }\n\n const matches = aspectRatio.split('/').map(s => s.trim());\n\n if (matches.includes('auto')) {\n if (__DEV__) {\n invariant(\n matches.length,\n 'aspectRatio does not support `auto `. You passed: %s',\n aspectRatio,\n );\n }\n return;\n }\n\n const hasNonNumericValues = matches.some(n => Number.isNaN(Number(n)));\n if (__DEV__) {\n invariant(\n !hasNonNumericValues && (matches.length === 1 || matches.length === 2),\n 'aspectRatio must either be a number, a ratio string or `auto`. You passed: %s',\n aspectRatio,\n );\n }\n\n if (hasNonNumericValues) {\n return;\n }\n\n if (matches.length === 2) {\n return Number(matches[0]) / Number(matches[1]);\n }\n\n return Number(matches[0]);\n}\n\nmodule.exports = processAspectRatio;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {NativeColorValue} from './PlatformColorValueTypes';\nimport type {ColorValue} from './StyleSheet';\n\nconst Platform = require('../Utilities/Platform');\nconst normalizeColor = require('./normalizeColor');\n\nexport type ProcessedColorValue = number | NativeColorValue;\n\n/* eslint no-bitwise: 0 */\nfunction processColor(color?: ?(number | ColorValue)): ?ProcessedColorValue {\n if (color === undefined || color === null) {\n return color;\n }\n\n let normalizedColor = normalizeColor(color);\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor === 'object') {\n const processColorObject =\n require('./PlatformColorValueTypes').processColorObject;\n\n const processedColorObj = processColorObject(normalizedColor);\n\n if (processedColorObj != null) {\n return processedColorObj;\n }\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n // Converts 0xrrggbbaa into 0xaarrggbb\n normalizedColor = ((normalizedColor << 24) | (normalizedColor >>> 8)) >>> 0;\n\n if (Platform.OS === 'android') {\n // Android use 32 bit *signed* integer to represent the color\n // We utilize the fact that bitwise operations in JS also operates on\n // signed 32 bit integers, so that we can use those to convert from\n // *unsigned* to *signed* 32bit int that way.\n normalizedColor = normalizedColor | 0x0;\n }\n return normalizedColor;\n}\n\nmodule.exports = processColor;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n/* eslint no-bitwise: 0 */\n\nimport type {ProcessedColorValue} from './processColor';\nimport type {ColorValue} from './StyleSheet';\n\nimport _normalizeColor from '@react-native/normalize-color';\n\nfunction normalizeColor(\n color: ?(ColorValue | ProcessedColorValue),\n): ?ProcessedColorValue {\n if (typeof color === 'object' && color != null) {\n const {normalizeColorObject} = require('./PlatformColorValueTypes');\n const normalizedColor = normalizeColorObject(color);\n if (normalizedColor != null) {\n return normalizedColor;\n }\n }\n\n if (typeof color === 'string' || typeof color === 'number') {\n return _normalizeColor(color);\n }\n}\n\nmodule.exports = normalizeColor;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n/* eslint no-bitwise: 0 */\n\n'use strict';\n\nfunction normalizeColor(color) {\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n if (typeof color !== 'string') {\n return null;\n }\n\n const matchers = getMatchers();\n let match;\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers.hex6.exec(color))) {\n return parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n const colorFromKeyword = normalizeKeyword(color);\n if (colorFromKeyword != null) {\n return colorFromKeyword;\n }\n\n if ((match = matchers.rgb.exec(color))) {\n return (\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) | // b\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.rgba.exec(color))) {\n // rgba(R G B / A) notation\n if (match[6] !== undefined) {\n return (\n ((parse255(match[6]) << 24) | // r\n (parse255(match[7]) << 16) | // g\n (parse255(match[8]) << 8) | // b\n parse1(match[9])) >>> // a\n 0\n );\n }\n\n // rgba(R, G, B, A) notation\n return (\n ((parse255(match[2]) << 24) | // r\n (parse255(match[3]) << 16) | // g\n (parse255(match[4]) << 8) | // b\n parse1(match[5])) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hex3.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16,\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers.hex8.exec(color))) {\n return parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers.hex4.exec(color))) {\n return (\n parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16,\n ) >>> 0\n );\n }\n\n if ((match = matchers.hsl.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]), // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hsla.exec(color))) {\n // hsla(H S L / A) notation\n if (match[6] !== undefined) {\n return (\n (hslToRgb(\n parse360(match[6]), // h\n parsePercentage(match[7]), // s\n parsePercentage(match[8]), // l\n ) |\n parse1(match[9])) >>> // a\n 0\n );\n }\n\n // hsla(H, S, L, A) notation\n return (\n (hslToRgb(\n parse360(match[2]), // h\n parsePercentage(match[3]), // s\n parsePercentage(match[4]), // l\n ) |\n parse1(match[5])) >>> // a\n 0\n );\n }\n\n if ((match = matchers.hwb.exec(color))) {\n return (\n (hwbToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // w\n parsePercentage(match[3]), // b\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nfunction hue2rgb(p, q, t) {\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h, s, l) {\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\nfunction hwbToRgb(h, w, b) {\n if (w + b >= 1) {\n const gray = Math.round((w * 255) / (w + b));\n\n return (gray << 24) | (gray << 16) | (gray << 8);\n }\n\n const red = hue2rgb(0, 1, h + 1 / 3) * (1 - w - b) + w;\n const green = hue2rgb(0, 1, h) * (1 - w - b) + w;\n const blue = hue2rgb(0, 1, h - 1 / 3) * (1 - w - b) + w;\n\n return (\n (Math.round(red * 255) << 24) |\n (Math.round(green * 255) << 16) |\n (Math.round(blue * 255) << 8)\n );\n}\n\nconst NUMBER = '[-+]?\\\\d*\\\\.?\\\\d+';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args) {\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,?\\\\s*(') + ')\\\\s*\\\\)';\n}\n\nfunction callWithSlashSeparator(...args) {\n return (\n '\\\\(\\\\s*(' +\n args.slice(0, args.length - 1).join(')\\\\s*,?\\\\s*(') +\n ')\\\\s*/\\\\s*(' +\n args[args.length - 1] +\n ')\\\\s*\\\\)'\n );\n}\n\nfunction commaSeparatedCall(...args) {\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\nlet cachedMatchers;\n\nfunction getMatchers() {\n if (cachedMatchers === undefined) {\n cachedMatchers = {\n rgb: new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER)),\n rgba: new RegExp(\n 'rgba(' +\n commaSeparatedCall(NUMBER, NUMBER, NUMBER, NUMBER) +\n '|' +\n callWithSlashSeparator(NUMBER, NUMBER, NUMBER, NUMBER) +\n ')',\n ),\n hsl: new RegExp('hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)),\n hsla: new RegExp(\n 'hsla(' +\n commaSeparatedCall(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER) +\n '|' +\n callWithSlashSeparator(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER) +\n ')',\n ),\n hwb: new RegExp('hwb' + call(NUMBER, PERCENTAGE, PERCENTAGE)),\n hex3: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex4: /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n hex6: /^#([0-9a-fA-F]{6})$/,\n hex8: /^#([0-9a-fA-F]{8})$/,\n };\n }\n return cachedMatchers;\n}\n\nfunction parse255(str) {\n const int = parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str) {\n const int = parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str) {\n const num = parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str) {\n // parseFloat conveniently ignores the final %\n const int = parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nfunction normalizeKeyword(name) {\n // prettier-ignore\n switch (name) {\n case 'transparent': return 0x00000000;\n // http://www.w3.org/TR/css3-color/#svg-color\n case 'aliceblue': return 0xf0f8ffff;\n case 'antiquewhite': return 0xfaebd7ff;\n case 'aqua': return 0x00ffffff;\n case 'aquamarine': return 0x7fffd4ff;\n case 'azure': return 0xf0ffffff;\n case 'beige': return 0xf5f5dcff;\n case 'bisque': return 0xffe4c4ff;\n case 'black': return 0x000000ff;\n case 'blanchedalmond': return 0xffebcdff;\n case 'blue': return 0x0000ffff;\n case 'blueviolet': return 0x8a2be2ff;\n case 'brown': return 0xa52a2aff;\n case 'burlywood': return 0xdeb887ff;\n case 'burntsienna': return 0xea7e5dff;\n case 'cadetblue': return 0x5f9ea0ff;\n case 'chartreuse': return 0x7fff00ff;\n case 'chocolate': return 0xd2691eff;\n case 'coral': return 0xff7f50ff;\n case 'cornflowerblue': return 0x6495edff;\n case 'cornsilk': return 0xfff8dcff;\n case 'crimson': return 0xdc143cff;\n case 'cyan': return 0x00ffffff;\n case 'darkblue': return 0x00008bff;\n case 'darkcyan': return 0x008b8bff;\n case 'darkgoldenrod': return 0xb8860bff;\n case 'darkgray': return 0xa9a9a9ff;\n case 'darkgreen': return 0x006400ff;\n case 'darkgrey': return 0xa9a9a9ff;\n case 'darkkhaki': return 0xbdb76bff;\n case 'darkmagenta': return 0x8b008bff;\n case 'darkolivegreen': return 0x556b2fff;\n case 'darkorange': return 0xff8c00ff;\n case 'darkorchid': return 0x9932ccff;\n case 'darkred': return 0x8b0000ff;\n case 'darksalmon': return 0xe9967aff;\n case 'darkseagreen': return 0x8fbc8fff;\n case 'darkslateblue': return 0x483d8bff;\n case 'darkslategray': return 0x2f4f4fff;\n case 'darkslategrey': return 0x2f4f4fff;\n case 'darkturquoise': return 0x00ced1ff;\n case 'darkviolet': return 0x9400d3ff;\n case 'deeppink': return 0xff1493ff;\n case 'deepskyblue': return 0x00bfffff;\n case 'dimgray': return 0x696969ff;\n case 'dimgrey': return 0x696969ff;\n case 'dodgerblue': return 0x1e90ffff;\n case 'firebrick': return 0xb22222ff;\n case 'floralwhite': return 0xfffaf0ff;\n case 'forestgreen': return 0x228b22ff;\n case 'fuchsia': return 0xff00ffff;\n case 'gainsboro': return 0xdcdcdcff;\n case 'ghostwhite': return 0xf8f8ffff;\n case 'gold': return 0xffd700ff;\n case 'goldenrod': return 0xdaa520ff;\n case 'gray': return 0x808080ff;\n case 'green': return 0x008000ff;\n case 'greenyellow': return 0xadff2fff;\n case 'grey': return 0x808080ff;\n case 'honeydew': return 0xf0fff0ff;\n case 'hotpink': return 0xff69b4ff;\n case 'indianred': return 0xcd5c5cff;\n case 'indigo': return 0x4b0082ff;\n case 'ivory': return 0xfffff0ff;\n case 'khaki': return 0xf0e68cff;\n case 'lavender': return 0xe6e6faff;\n case 'lavenderblush': return 0xfff0f5ff;\n case 'lawngreen': return 0x7cfc00ff;\n case 'lemonchiffon': return 0xfffacdff;\n case 'lightblue': return 0xadd8e6ff;\n case 'lightcoral': return 0xf08080ff;\n case 'lightcyan': return 0xe0ffffff;\n case 'lightgoldenrodyellow': return 0xfafad2ff;\n case 'lightgray': return 0xd3d3d3ff;\n case 'lightgreen': return 0x90ee90ff;\n case 'lightgrey': return 0xd3d3d3ff;\n case 'lightpink': return 0xffb6c1ff;\n case 'lightsalmon': return 0xffa07aff;\n case 'lightseagreen': return 0x20b2aaff;\n case 'lightskyblue': return 0x87cefaff;\n case 'lightslategray': return 0x778899ff;\n case 'lightslategrey': return 0x778899ff;\n case 'lightsteelblue': return 0xb0c4deff;\n case 'lightyellow': return 0xffffe0ff;\n case 'lime': return 0x00ff00ff;\n case 'limegreen': return 0x32cd32ff;\n case 'linen': return 0xfaf0e6ff;\n case 'magenta': return 0xff00ffff;\n case 'maroon': return 0x800000ff;\n case 'mediumaquamarine': return 0x66cdaaff;\n case 'mediumblue': return 0x0000cdff;\n case 'mediumorchid': return 0xba55d3ff;\n case 'mediumpurple': return 0x9370dbff;\n case 'mediumseagreen': return 0x3cb371ff;\n case 'mediumslateblue': return 0x7b68eeff;\n case 'mediumspringgreen': return 0x00fa9aff;\n case 'mediumturquoise': return 0x48d1ccff;\n case 'mediumvioletred': return 0xc71585ff;\n case 'midnightblue': return 0x191970ff;\n case 'mintcream': return 0xf5fffaff;\n case 'mistyrose': return 0xffe4e1ff;\n case 'moccasin': return 0xffe4b5ff;\n case 'navajowhite': return 0xffdeadff;\n case 'navy': return 0x000080ff;\n case 'oldlace': return 0xfdf5e6ff;\n case 'olive': return 0x808000ff;\n case 'olivedrab': return 0x6b8e23ff;\n case 'orange': return 0xffa500ff;\n case 'orangered': return 0xff4500ff;\n case 'orchid': return 0xda70d6ff;\n case 'palegoldenrod': return 0xeee8aaff;\n case 'palegreen': return 0x98fb98ff;\n case 'paleturquoise': return 0xafeeeeff;\n case 'palevioletred': return 0xdb7093ff;\n case 'papayawhip': return 0xffefd5ff;\n case 'peachpuff': return 0xffdab9ff;\n case 'peru': return 0xcd853fff;\n case 'pink': return 0xffc0cbff;\n case 'plum': return 0xdda0ddff;\n case 'powderblue': return 0xb0e0e6ff;\n case 'purple': return 0x800080ff;\n case 'rebeccapurple': return 0x663399ff;\n case 'red': return 0xff0000ff;\n case 'rosybrown': return 0xbc8f8fff;\n case 'royalblue': return 0x4169e1ff;\n case 'saddlebrown': return 0x8b4513ff;\n case 'salmon': return 0xfa8072ff;\n case 'sandybrown': return 0xf4a460ff;\n case 'seagreen': return 0x2e8b57ff;\n case 'seashell': return 0xfff5eeff;\n case 'sienna': return 0xa0522dff;\n case 'silver': return 0xc0c0c0ff;\n case 'skyblue': return 0x87ceebff;\n case 'slateblue': return 0x6a5acdff;\n case 'slategray': return 0x708090ff;\n case 'slategrey': return 0x708090ff;\n case 'snow': return 0xfffafaff;\n case 'springgreen': return 0x00ff7fff;\n case 'steelblue': return 0x4682b4ff;\n case 'tan': return 0xd2b48cff;\n case 'teal': return 0x008080ff;\n case 'thistle': return 0xd8bfd8ff;\n case 'tomato': return 0xff6347ff;\n case 'turquoise': return 0x40e0d0ff;\n case 'violet': return 0xee82eeff;\n case 'wheat': return 0xf5deb3ff;\n case 'white': return 0xffffffff;\n case 'whitesmoke': return 0xf5f5f5ff;\n case 'yellow': return 0xffff00ff;\n case 'yellowgreen': return 0x9acd32ff;\n }\n return null;\n}\n\nmodule.exports = normalizeColor;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ProcessedColorValue} from './processColor';\nimport type {ColorValue} from './StyleSheet';\n\nexport opaque type NativeColorValue = {\n semantic?: Array,\n dynamic?: {\n light: ?(ColorValue | ProcessedColorValue),\n dark: ?(ColorValue | ProcessedColorValue),\n highContrastLight?: ?(ColorValue | ProcessedColorValue),\n highContrastDark?: ?(ColorValue | ProcessedColorValue),\n },\n};\n\nexport const PlatformColor = (...names: Array): ColorValue => {\n return {semantic: names};\n};\n\nexport type DynamicColorIOSTuplePrivate = {\n light: ColorValue,\n dark: ColorValue,\n highContrastLight?: ColorValue,\n highContrastDark?: ColorValue,\n};\n\nexport const DynamicColorIOSPrivate = (\n tuple: DynamicColorIOSTuplePrivate,\n): ColorValue => {\n return {\n dynamic: {\n light: tuple.light,\n dark: tuple.dark,\n highContrastLight: tuple.highContrastLight,\n highContrastDark: tuple.highContrastDark,\n },\n };\n};\n\nexport const normalizeColorObject = (\n color: NativeColorValue,\n): ?ProcessedColorValue => {\n if ('semantic' in color) {\n // an ios semantic color\n return color;\n } else if ('dynamic' in color && color.dynamic !== undefined) {\n const normalizeColor = require('./normalizeColor');\n\n // a dynamic, appearance aware color\n const dynamic = color.dynamic;\n const dynamicColor: NativeColorValue = {\n dynamic: {\n // $FlowFixMe[incompatible-use]\n light: normalizeColor(dynamic.light),\n // $FlowFixMe[incompatible-use]\n dark: normalizeColor(dynamic.dark),\n // $FlowFixMe[incompatible-use]\n highContrastLight: normalizeColor(dynamic.highContrastLight),\n // $FlowFixMe[incompatible-use]\n highContrastDark: normalizeColor(dynamic.highContrastDark),\n },\n };\n return dynamicColor;\n }\n\n return null;\n};\n\nexport const processColorObject = (\n color: NativeColorValue,\n): ?NativeColorValue => {\n if ('dynamic' in color && color.dynamic != null) {\n const processColor = require('./processColor');\n const dynamic = color.dynamic;\n const dynamicColor: NativeColorValue = {\n dynamic: {\n // $FlowFixMe[incompatible-use]\n light: processColor(dynamic.light),\n // $FlowFixMe[incompatible-use]\n dark: processColor(dynamic.dark),\n // $FlowFixMe[incompatible-use]\n highContrastLight: processColor(dynamic.highContrastLight),\n // $FlowFixMe[incompatible-use]\n highContrastDark: processColor(dynamic.highContrastDark),\n },\n };\n return dynamicColor;\n }\n return color;\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {____FontVariantArray_Internal} from './StyleSheetTypes';\n\nfunction processFontVariant(\n fontVariant: ____FontVariantArray_Internal | string,\n): ?____FontVariantArray_Internal {\n if (Array.isArray(fontVariant)) {\n return fontVariant;\n }\n\n // $FlowFixMe[incompatible-type]\n const match: ?____FontVariantArray_Internal = fontVariant\n .split(' ')\n .filter(Boolean);\n\n return match;\n}\n\nmodule.exports = processFontVariant;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst stringifySafe = require('../Utilities/stringifySafe').default;\nconst invariant = require('invariant');\n\n/**\n * Generate a transform matrix based on the provided transforms, and use that\n * within the style object instead.\n *\n * This allows us to provide an API that is similar to CSS, where transforms may\n * be applied in an arbitrary order, and yet have a universal, singular\n * interface to native code.\n */\nfunction processTransform(\n transform: Array | string,\n): Array | Array {\n if (typeof transform === 'string') {\n const regex = new RegExp(/(\\w+)\\(([^)]+)\\)/g);\n let transformArray: Array = [];\n let matches;\n\n while ((matches = regex.exec(transform))) {\n const {key, value} = _getKeyAndValueFromCSSTransform(\n matches[1],\n matches[2],\n );\n\n if (value !== undefined) {\n transformArray.push({[key]: value});\n }\n }\n transform = transformArray;\n }\n\n if (__DEV__) {\n _validateTransforms(transform);\n }\n\n return transform;\n}\n\nconst _getKeyAndValueFromCSSTransform: (\n key:\n | string\n | $TEMPORARY$string<'matrix'>\n | $TEMPORARY$string<'perspective'>\n | $TEMPORARY$string<'rotate'>\n | $TEMPORARY$string<'rotateX'>\n | $TEMPORARY$string<'rotateY'>\n | $TEMPORARY$string<'rotateZ'>\n | $TEMPORARY$string<'scale'>\n | $TEMPORARY$string<'scaleX'>\n | $TEMPORARY$string<'scaleY'>\n | $TEMPORARY$string<'skewX'>\n | $TEMPORARY$string<'skewY'>\n | $TEMPORARY$string<'translate'>\n | $TEMPORARY$string<'translate3d'>\n | $TEMPORARY$string<'translateX'>\n | $TEMPORARY$string<'translateY'>,\n args: string,\n) => {key: string, value?: number[] | number | string} = (key, args) => {\n const argsWithUnitsRegex = new RegExp(/([+-]?\\d+(\\.\\d+)?)([a-zA-Z]+)?/g);\n\n switch (key) {\n case 'matrix':\n return {key, value: args.match(/[+-]?\\d+(\\.\\d+)?/g)?.map(Number)};\n case 'translate':\n case 'translate3d':\n const parsedArgs = [];\n let missingUnitOfMeasurement = false;\n\n let matches;\n while ((matches = argsWithUnitsRegex.exec(args))) {\n const value = Number(matches[1]);\n const unitOfMeasurement = matches[3];\n\n if (value !== 0 && !unitOfMeasurement) {\n missingUnitOfMeasurement = true;\n }\n\n parsedArgs.push(value);\n }\n\n if (__DEV__) {\n invariant(\n !missingUnitOfMeasurement,\n `Transform with key ${key} must have units unless the provided value is 0, found %s`,\n `${key}(${args})`,\n );\n\n if (key === 'translate') {\n invariant(\n parsedArgs?.length === 1 || parsedArgs?.length === 2,\n 'Transform with key translate must be an string with 1 or 2 parameters, found %s: %s',\n parsedArgs?.length,\n `${key}(${args})`,\n );\n } else {\n invariant(\n parsedArgs?.length === 3,\n 'Transform with key translate3d must be an string with 3 parameters, found %s: %s',\n parsedArgs?.length,\n `${key}(${args})`,\n );\n }\n }\n\n if (parsedArgs?.length === 1) {\n parsedArgs.push(0);\n }\n\n return {key: 'translate', value: parsedArgs};\n case 'translateX':\n case 'translateY':\n case 'perspective':\n const argMatches = argsWithUnitsRegex.exec(args);\n\n if (!argMatches?.length) {\n return {key, value: undefined};\n }\n\n const value = Number(argMatches[1]);\n const unitOfMeasurement = argMatches[3];\n\n if (__DEV__) {\n invariant(\n value === 0 || unitOfMeasurement,\n `Transform with key ${key} must have units unless the provided value is 0, found %s`,\n `${key}(${args})`,\n );\n }\n\n return {key, value};\n\n default:\n return {key, value: !isNaN(args) ? Number(args) : args};\n }\n};\n\nfunction _validateTransforms(transform: Array): void {\n transform.forEach(transformation => {\n const keys = Object.keys(transformation);\n invariant(\n keys.length === 1,\n 'You must specify exactly one property per transform object. Passed properties: %s',\n stringifySafe(transformation),\n );\n const key = keys[0];\n const value = transformation[key];\n _validateTransform(key, value, transformation);\n });\n}\n\nfunction _validateTransform(\n key:\n | string\n | $TEMPORARY$string<'matrix'>\n | $TEMPORARY$string<'perspective'>\n | $TEMPORARY$string<'rotate'>\n | $TEMPORARY$string<'rotateX'>\n | $TEMPORARY$string<'rotateY'>\n | $TEMPORARY$string<'rotateZ'>\n | $TEMPORARY$string<'scale'>\n | $TEMPORARY$string<'scaleX'>\n | $TEMPORARY$string<'scaleY'>\n | $TEMPORARY$string<'skewX'>\n | $TEMPORARY$string<'skewY'>\n | $TEMPORARY$string<'translate'>\n | $TEMPORARY$string<'translateX'>\n | $TEMPORARY$string<'translateY'>,\n value: any | number | string,\n transformation: any,\n) {\n invariant(\n !value.getValue,\n 'You passed an Animated.Value to a normal component. ' +\n 'You need to wrap that component in an Animated. For example, ' +\n 'replace by .',\n );\n\n const multivalueTransforms = ['matrix', 'translate'];\n if (multivalueTransforms.indexOf(key) !== -1) {\n invariant(\n Array.isArray(value),\n 'Transform with key of %s must have an array as the value: %s',\n key,\n stringifySafe(transformation),\n );\n }\n switch (key) {\n case 'matrix':\n invariant(\n value.length === 9 || value.length === 16,\n 'Matrix transform must have a length of 9 (2d) or 16 (3d). ' +\n 'Provided matrix has a length of %s: %s',\n /* $FlowFixMe[prop-missing] (>=0.84.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.84 was deployed. To\n * see the error, delete this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'translate':\n invariant(\n value.length === 2 || value.length === 3,\n 'Transform with key translate must be an array of length 2 or 3, found %s: %s',\n /* $FlowFixMe[prop-missing] (>=0.84.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.84 was deployed. To\n * see the error, delete this comment and run Flow. */\n value.length,\n stringifySafe(transformation),\n );\n break;\n case 'rotateX':\n case 'rotateY':\n case 'rotateZ':\n case 'rotate':\n case 'skewX':\n case 'skewY':\n invariant(\n typeof value === 'string',\n 'Transform with key of \"%s\" must be a string: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value.indexOf('deg') > -1 || value.indexOf('rad') > -1,\n 'Rotate transform must be expressed in degrees (deg) or radians ' +\n '(rad): %s',\n stringifySafe(transformation),\n );\n break;\n case 'perspective':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n invariant(\n value !== 0,\n 'Transform with key of \"%s\" cannot be zero: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n case 'translateX':\n case 'translateY':\n case 'scale':\n case 'scaleX':\n case 'scaleY':\n invariant(\n typeof value === 'number',\n 'Transform with key of \"%s\" must be a number: %s',\n key,\n stringifySafe(transformation),\n );\n break;\n default:\n invariant(\n false,\n 'Invalid transform %s: %s',\n key,\n stringifySafe(transformation),\n );\n }\n}\n\nmodule.exports = processTransform;\n","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst dummySize = {width: undefined, height: undefined};\ntype Size = {width: ?number, height: ?number};\n\nconst sizesDiffer = function (one: Size, two: Size): boolean {\n const defaultedOne = one || dummySize;\n const defaultedTwo = two || dummySize;\n return (\n defaultedOne !== defaultedTwo &&\n (defaultedOne.width !== defaultedTwo.width ||\n defaultedOne.height !== defaultedTwo.height)\n );\n};\n\nmodule.exports = sizesDiffer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Unrolls an array comparison specially for matrices. Prioritizes\n * checking of indices that are most likely to change so that the comparison\n * bails as early as possible.\n *\n * @param {MatrixMath.Matrix} one First matrix.\n * @param {MatrixMath.Matrix} two Second matrix.\n * @return {boolean} Whether or not the two matrices differ.\n */\nconst matricesDiffer = function (\n one: ?Array,\n two: ?Array,\n): boolean {\n if (one === two) {\n return false;\n }\n return (\n !one ||\n !two ||\n one[12] !== two[12] ||\n one[13] !== two[13] ||\n one[14] !== two[14] ||\n one[5] !== two[5] ||\n one[10] !== two[10] ||\n one[0] !== two[0] ||\n one[1] !== two[1] ||\n one[2] !== two[2] ||\n one[3] !== two[3] ||\n one[4] !== two[4] ||\n one[6] !== two[6] ||\n one[7] !== two[7] ||\n one[8] !== two[8] ||\n one[9] !== two[9] ||\n one[11] !== two[11] ||\n one[15] !== two[15]\n );\n};\n\nmodule.exports = matricesDiffer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Point = {\n x: ?number,\n y: ?number,\n ...\n};\n\nconst dummyPoint = {x: undefined, y: undefined};\n\nconst pointsDiffer = function (one: ?Point, two: ?Point): boolean {\n one = one || dummyPoint;\n two = two || dummyPoint;\n return one !== two && (one.x !== two.x || one.y !== two.y);\n};\n\nmodule.exports = pointsDiffer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\ntype Inset = {\n top: ?number,\n left: ?number,\n right: ?number,\n bottom: ?number,\n ...\n};\n\nconst dummyInsets = {\n top: undefined,\n left: undefined,\n right: undefined,\n bottom: undefined,\n};\n\nconst insetsDiffer = function (one: Inset, two: Inset): boolean {\n one = one || dummyInsets;\n two = two || dummyInsets;\n return (\n one !== two &&\n (one.top !== two.top ||\n one.left !== two.left ||\n one.right !== two.right ||\n one.bottom !== two.bottom)\n );\n};\n\nmodule.exports = insetsDiffer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ColorValue} from './StyleSheet';\n\nimport processColor, {type ProcessedColorValue} from './processColor';\n\nconst TRANSPARENT = 0; // rgba(0, 0, 0, 0)\n\nfunction processColorArray(\n colors: ?$ReadOnlyArray,\n): ?$ReadOnlyArray {\n return colors == null ? null : colors.map(processColorElement);\n}\n\nfunction processColorElement(color: ColorValue): ProcessedColorValue {\n const value = processColor(color);\n // For invalid colors, fallback to transparent.\n if (value == null) {\n console.error('Invalid value in color array:', color);\n return TRANSPARENT;\n }\n return value;\n}\n\nmodule.exports = processColorArray;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n// Resolves an asset into a `source` for `Image`.\n\n'use strict';\n\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\n\nconst AssetSourceResolver = require('./AssetSourceResolver');\nconst {pickScale} = require('./AssetUtils');\nconst AssetRegistry = require('@react-native/assets/registry');\n\nlet _customSourceTransformer, _serverURL, _scriptURL;\n\nlet _sourceCodeScriptURL: ?string;\nfunction getSourceCodeScriptURL(): ?string {\n if (_sourceCodeScriptURL) {\n return _sourceCodeScriptURL;\n }\n\n let sourceCode =\n global.nativeExtensions && global.nativeExtensions.SourceCode;\n if (!sourceCode) {\n sourceCode = require('../NativeModules/specs/NativeSourceCode').default;\n }\n _sourceCodeScriptURL = sourceCode.getConstants().scriptURL;\n return _sourceCodeScriptURL;\n}\n\nfunction getDevServerURL(): ?string {\n if (_serverURL === undefined) {\n const sourceCodeScriptURL = getSourceCodeScriptURL();\n const match =\n sourceCodeScriptURL && sourceCodeScriptURL.match(/^https?:\\/\\/.*?\\//);\n if (match) {\n // jsBundle was loaded from network\n _serverURL = match[0];\n } else {\n // jsBundle was loaded from file\n _serverURL = null;\n }\n }\n return _serverURL;\n}\n\nfunction _coerceLocalScriptURL(scriptURL: ?string): ?string {\n if (scriptURL) {\n if (scriptURL.startsWith('assets://')) {\n // android: running from within assets, no offline path to use\n return null;\n }\n scriptURL = scriptURL.substring(0, scriptURL.lastIndexOf('/') + 1);\n if (!scriptURL.includes('://')) {\n // Add file protocol in case we have an absolute file path and not a URL.\n // This shouldn't really be necessary. scriptURL should be a URL.\n scriptURL = 'file://' + scriptURL;\n }\n }\n return scriptURL;\n}\n\nfunction getScriptURL(): ?string {\n if (_scriptURL === undefined) {\n _scriptURL = _coerceLocalScriptURL(getSourceCodeScriptURL());\n }\n return _scriptURL;\n}\n\nfunction setCustomSourceTransformer(\n transformer: (resolver: AssetSourceResolver) => ResolvedAssetSource,\n): void {\n _customSourceTransformer = transformer;\n}\n\n/**\n * `source` is either a number (opaque type returned by require('./foo.png'))\n * or an `ImageSource` like { uri: '' }\n */\nfunction resolveAssetSource(source: any): ?ResolvedAssetSource {\n if (typeof source === 'object') {\n return source;\n }\n\n const asset = AssetRegistry.getAssetByID(source);\n if (!asset) {\n return null;\n }\n\n const resolver = new AssetSourceResolver(\n getDevServerURL(),\n getScriptURL(),\n asset,\n );\n if (_customSourceTransformer) {\n return _customSourceTransformer(resolver);\n }\n return resolver.defaultAsset();\n}\n\nresolveAssetSource.pickScale = pickScale;\nresolveAssetSource.setCustomSourceTransformer = setCustomSourceTransformer;\nmodule.exports = resolveAssetSource;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n scriptURL: string,\n |};\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('SourceCode');\nlet constants = null;\n\nconst NativeSourceCode = {\n getConstants(): {|\n scriptURL: string,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n\n return constants;\n },\n};\n\nexport default NativeSourceCode;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nexport type PackagerAsset = {\n +__packager_asset: boolean,\n +fileSystemLocation: string,\n +httpServerLocation: string,\n +width: ?number,\n +height: ?number,\n +scales: Array,\n +hash: string,\n +name: string,\n +type: string,\n ...\n};\n\nconst assets: Array = [];\n\nfunction registerAsset(asset: PackagerAsset): number {\n // `push` returns new array length, so the first asset will\n // get id 1 (not 0) to make the value truthy\n return assets.push(asset);\n}\n\nfunction getAssetByID(assetId: number): PackagerAsset {\n return assets[assetId - 1];\n}\n\nmodule.exports = {registerAsset, getAssetByID};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nexport type ResolvedAssetSource = {|\n +__packager_asset: boolean,\n +width: ?number,\n +height: ?number,\n +uri: string,\n +scale: number,\n|};\n\nimport type {PackagerAsset} from '@react-native/assets/registry';\n\nconst PixelRatio = require('../Utilities/PixelRatio');\nconst Platform = require('../Utilities/Platform');\nconst {pickScale} = require('./AssetUtils');\nconst {\n getAndroidResourceFolderName,\n getAndroidResourceIdentifier,\n getBasePath,\n} = require('@react-native/assets/path-support');\nconst invariant = require('invariant');\n\n/**\n * Returns a path like 'assets/AwesomeModule/icon@2x.png'\n */\nfunction getScaledAssetPath(asset: PackagerAsset): string {\n const scale = pickScale(asset.scales, PixelRatio.get());\n const scaleSuffix = scale === 1 ? '' : '@' + scale + 'x';\n const assetDir = getBasePath(asset);\n return assetDir + '/' + asset.name + scaleSuffix + '.' + asset.type;\n}\n\n/**\n * Returns a path like 'drawable-mdpi/icon.png'\n */\nfunction getAssetPathInDrawableFolder(asset: PackagerAsset): string {\n const scale = pickScale(asset.scales, PixelRatio.get());\n const drawableFolder = getAndroidResourceFolderName(asset, scale);\n const fileName = getAndroidResourceIdentifier(asset);\n return drawableFolder + '/' + fileName + '.' + asset.type;\n}\n\nclass AssetSourceResolver {\n serverUrl: ?string;\n // where the jsbundle is being run from\n jsbundleUrl: ?string;\n // the asset to resolve\n asset: PackagerAsset;\n\n constructor(serverUrl: ?string, jsbundleUrl: ?string, asset: PackagerAsset) {\n this.serverUrl = serverUrl;\n this.jsbundleUrl = jsbundleUrl;\n this.asset = asset;\n }\n\n isLoadedFromServer(): boolean {\n return !!this.serverUrl;\n }\n\n isLoadedFromFileSystem(): boolean {\n return !!(this.jsbundleUrl && this.jsbundleUrl.startsWith('file://'));\n }\n\n defaultAsset(): ResolvedAssetSource {\n if (this.isLoadedFromServer()) {\n return this.assetServerURL();\n }\n\n if (Platform.OS === 'android') {\n return this.isLoadedFromFileSystem()\n ? this.drawableFolderInBundle()\n : this.resourceIdentifierWithoutScale();\n } else {\n return this.scaledAssetURLNearBundle();\n }\n }\n\n /**\n * Returns an absolute URL which can be used to fetch the asset\n * from the devserver\n */\n assetServerURL(): ResolvedAssetSource {\n invariant(!!this.serverUrl, 'need server to load from');\n return this.fromSource(\n this.serverUrl +\n getScaledAssetPath(this.asset) +\n '?platform=' +\n Platform.OS +\n '&hash=' +\n this.asset.hash,\n );\n }\n\n /**\n * Resolves to just the scaled asset filename\n * E.g. 'assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetPath(): ResolvedAssetSource {\n return this.fromSource(getScaledAssetPath(this.asset));\n }\n\n /**\n * Resolves to where the bundle is running from, with a scaled asset filename\n * E.g. 'file:///sdcard/bundle/assets/AwesomeModule/icon@2x.png'\n */\n scaledAssetURLNearBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(\n // Assets can have relative paths outside of the project root.\n // When bundling them we replace `../` with `_` to make sure they\n // don't end up outside of the expected assets directory.\n path + getScaledAssetPath(this.asset).replace(/\\.\\.\\//g, '_'),\n );\n }\n\n /**\n * The default location of assets bundled with the app, located by\n * resource identifier\n * The Android resource system picks the correct scale.\n * E.g. 'assets_awesomemodule_icon'\n */\n resourceIdentifierWithoutScale(): ResolvedAssetSource {\n invariant(\n Platform.OS === 'android',\n 'resource identifiers work on Android',\n );\n return this.fromSource(getAndroidResourceIdentifier(this.asset));\n }\n\n /**\n * If the jsbundle is running from a sideload location, this resolves assets\n * relative to its location\n * E.g. 'file:///sdcard/AwesomeModule/drawable-mdpi/icon.png'\n */\n drawableFolderInBundle(): ResolvedAssetSource {\n const path = this.jsbundleUrl || 'file://';\n return this.fromSource(path + getAssetPathInDrawableFolder(this.asset));\n }\n\n fromSource(source: string): ResolvedAssetSource {\n return {\n __packager_asset: true,\n width: this.asset.width,\n height: this.asset.height,\n uri: source,\n scale: pickScale(this.asset.scales, PixelRatio.get()),\n };\n }\n\n static pickScale: (scales: Array, deviceScale?: number) => number =\n pickScale;\n}\n\nmodule.exports = AssetSourceResolver;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport PixelRatio from '../Utilities/PixelRatio';\n\nlet cacheBreaker;\nlet warnIfCacheBreakerUnset = true;\n\nexport function pickScale(scales: Array, deviceScale?: number): number {\n if (deviceScale == null) {\n deviceScale = PixelRatio.get();\n }\n // Packager guarantees that `scales` array is sorted\n for (let i = 0; i < scales.length; i++) {\n if (scales[i] >= deviceScale) {\n return scales[i];\n }\n }\n\n // If nothing matches, device scale is larger than any available\n // scales, so we return the biggest one. Unless the array is empty,\n // in which case we default to 1\n return scales[scales.length - 1] || 1;\n}\n\nexport function setUrlCacheBreaker(appendage: string) {\n cacheBreaker = appendage;\n}\n\nexport function getUrlCacheBreaker(): string {\n if (cacheBreaker == null) {\n if (__DEV__ && warnIfCacheBreakerUnset) {\n warnIfCacheBreakerUnset = false;\n console.warn(\n 'AssetUtils.getUrlCacheBreaker: Cache breaker value is unset',\n );\n }\n return '';\n }\n return cacheBreaker;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst Dimensions = require('./Dimensions');\n\n/**\n * PixelRatio class gives access to the device pixel density.\n *\n * ## Fetching a correctly sized image\n *\n * You should get a higher resolution image if you are on a high pixel density\n * device. A good rule of thumb is to multiply the size of the image you display\n * by the pixel ratio.\n *\n * ```\n * var image = getImage({\n * width: PixelRatio.getPixelSizeForLayoutSize(200),\n * height: PixelRatio.getPixelSizeForLayoutSize(100),\n * });\n * \n * ```\n *\n * ## Pixel grid snapping\n *\n * In iOS, you can specify positions and dimensions for elements with arbitrary\n * precision, for example 29.674825. But, ultimately the physical display only\n * have a fixed number of pixels, for example 640×960 for iPhone 4 or 750×1334\n * for iPhone 6. iOS tries to be as faithful as possible to the user value by\n * spreading one original pixel into multiple ones to trick the eye. The\n * downside of this technique is that it makes the resulting element look\n * blurry.\n *\n * In practice, we found out that developers do not want this feature and they\n * have to work around it by doing manual rounding in order to avoid having\n * blurry elements. In React Native, we are rounding all the pixels\n * automatically.\n *\n * We have to be careful when to do this rounding. You never want to work with\n * rounded and unrounded values at the same time as you're going to accumulate\n * rounding errors. Having even one rounding error is deadly because a one\n * pixel border may vanish or be twice as big.\n *\n * In React Native, everything in JavaScript and within the layout engine works\n * with arbitrary precision numbers. It's only when we set the position and\n * dimensions of the native element on the main thread that we round. Also,\n * rounding is done relative to the root rather than the parent, again to avoid\n * accumulating rounding errors.\n *\n */\nclass PixelRatio {\n /**\n * Returns the device pixel density. Some examples:\n *\n * - PixelRatio.get() === 1\n * - mdpi Android devices (160 dpi)\n * - PixelRatio.get() === 1.5\n * - hdpi Android devices (240 dpi)\n * - PixelRatio.get() === 2\n * - iPhone 4, 4S\n * - iPhone 5, 5c, 5s\n * - iPhone 6\n * - iPhone 7\n * - iPhone 8\n * - iPhone SE\n * - xhdpi Android devices (320 dpi)\n * - PixelRatio.get() === 3\n * - iPhone 6 Plus\n * - iPhone 7 Plus\n * - iPhone 8 Plus\n * - iPhone X\n * - xxhdpi Android devices (480 dpi)\n * - PixelRatio.get() === 3.5\n * - Nexus 6\n */\n static get(): number {\n return Dimensions.get('window').scale;\n }\n\n /**\n * Returns the scaling factor for font sizes. This is the ratio that is used to calculate the\n * absolute font size, so any elements that heavily depend on that should use this to do\n * calculations.\n *\n * If a font scale is not set, this returns the device pixel ratio.\n *\n * This reflects the user preference set in:\n * - Settings > Display > Font size on Android,\n * - Settings > Display & Brightness > Text Size on iOS.\n */\n static getFontScale(): number {\n return Dimensions.get('window').fontScale || PixelRatio.get();\n }\n\n /**\n * Converts a layout size (dp) to pixel size (px).\n *\n * Guaranteed to return an integer number.\n */\n static getPixelSizeForLayoutSize(layoutSize: number): number {\n return Math.round(layoutSize * PixelRatio.get());\n }\n\n /**\n * Rounds a layout size (dp) to the nearest layout size that corresponds to\n * an integer number of pixels. For example, on a device with a PixelRatio\n * of 3, `PixelRatio.roundToNearestPixel(8.4) = 8.33`, which corresponds to\n * exactly (8.33 * 3) = 25 pixels.\n */\n static roundToNearestPixel(layoutSize: number): number {\n const ratio = PixelRatio.get();\n return Math.round(layoutSize * ratio) / ratio;\n }\n\n // No-op for iOS, but used on the web. Should not be documented.\n static startDetecting() {}\n}\n\nmodule.exports = PixelRatio;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport EventEmitter, {\n type EventSubscription,\n} from '../vendor/emitter/EventEmitter';\nimport NativeDeviceInfo, {\n type DimensionsPayload,\n type DisplayMetrics,\n type DisplayMetricsAndroid,\n} from './NativeDeviceInfo';\nimport invariant from 'invariant';\n\nconst eventEmitter = new EventEmitter<{\n change: [DimensionsPayload],\n}>();\nlet dimensionsInitialized = false;\nlet dimensions: DimensionsPayload;\n\nclass Dimensions {\n /**\n * NOTE: `useWindowDimensions` is the preferred API for React components.\n *\n * Initial dimensions are set before `runApplication` is called so they should\n * be available before any other require's are run, but may be updated later.\n *\n * Note: Although dimensions are available immediately, they may change (e.g\n * due to device rotation) so any rendering logic or styles that depend on\n * these constants should try to call this function on every render, rather\n * than caching the value (for example, using inline styles rather than\n * setting a value in a `StyleSheet`).\n *\n * Example: `const {height, width} = Dimensions.get('window');`\n *\n * @param {string} dim Name of dimension as defined when calling `set`.\n * @returns {DisplayMetrics? | DisplayMetricsAndroid?} Value for the dimension.\n */\n static get(dim: string): DisplayMetrics | DisplayMetricsAndroid {\n invariant(dimensions[dim], 'No dimension set for key ' + dim);\n return dimensions[dim];\n }\n\n /**\n * This should only be called from native code by sending the\n * didUpdateDimensions event.\n *\n * @param {DimensionsPayload} dims Simple string-keyed object of dimensions to set\n */\n static set(dims: $ReadOnly): void {\n // We calculate the window dimensions in JS so that we don't encounter loss of\n // precision in transferring the dimensions (which could be non-integers) over\n // the bridge.\n let {screen, window} = dims;\n const {windowPhysicalPixels} = dims;\n if (windowPhysicalPixels) {\n window = {\n width: windowPhysicalPixels.width / windowPhysicalPixels.scale,\n height: windowPhysicalPixels.height / windowPhysicalPixels.scale,\n scale: windowPhysicalPixels.scale,\n fontScale: windowPhysicalPixels.fontScale,\n };\n }\n const {screenPhysicalPixels} = dims;\n if (screenPhysicalPixels) {\n screen = {\n width: screenPhysicalPixels.width / screenPhysicalPixels.scale,\n height: screenPhysicalPixels.height / screenPhysicalPixels.scale,\n scale: screenPhysicalPixels.scale,\n fontScale: screenPhysicalPixels.fontScale,\n };\n } else if (screen == null) {\n screen = window;\n }\n\n dimensions = {window, screen};\n if (dimensionsInitialized) {\n // Don't fire 'change' the first time the dimensions are set.\n eventEmitter.emit('change', dimensions);\n } else {\n dimensionsInitialized = true;\n }\n }\n\n /**\n * Add an event handler. Supported events:\n *\n * - `change`: Fires when a property within the `Dimensions` object changes. The argument\n * to the event handler is an object with `window` and `screen` properties whose values\n * are the same as the return values of `Dimensions.get('window')` and\n * `Dimensions.get('screen')`, respectively.\n */\n static addEventListener(\n type: 'change',\n handler: Function,\n ): EventSubscription {\n invariant(\n type === 'change',\n 'Trying to subscribe to unknown event: \"%s\"',\n type,\n );\n return eventEmitter.addListener(type, handler);\n }\n}\n\nlet initialDims: ?$ReadOnly =\n global.nativeExtensions &&\n global.nativeExtensions.DeviceInfo &&\n global.nativeExtensions.DeviceInfo.Dimensions;\nif (!initialDims) {\n // Subscribe before calling getConstants to make sure we don't miss any updates in between.\n RCTDeviceEventEmitter.addListener(\n 'didUpdateDimensions',\n (update: DimensionsPayload) => {\n Dimensions.set(update);\n },\n );\n initialDims = NativeDeviceInfo.getConstants().Dimensions;\n}\n\nDimensions.set(initialDims);\n\nmodule.exports = Dimensions;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type DisplayMetricsAndroid = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n densityDpi: number,\n|};\n\nexport type DisplayMetrics = {|\n width: number,\n height: number,\n scale: number,\n fontScale: number,\n|};\n\nexport type DimensionsPayload = {|\n window?: DisplayMetrics,\n screen?: DisplayMetrics,\n windowPhysicalPixels?: DisplayMetricsAndroid,\n screenPhysicalPixels?: DisplayMetricsAndroid,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |};\n}\n\nconst NativeModule: Spec = TurboModuleRegistry.getEnforcing('DeviceInfo');\nlet constants = null;\n\nconst NativeDeviceInfo = {\n getConstants(): {|\n +Dimensions: DimensionsPayload,\n +isIPhoneX_deprecated?: boolean,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n};\n\nexport default NativeDeviceInfo;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nimport type {PackagerAsset} from './registry.js';\n\nconst androidScaleSuffix = {\n '0.75': 'ldpi',\n '1': 'mdpi',\n '1.5': 'hdpi',\n '2': 'xhdpi',\n '3': 'xxhdpi',\n '4': 'xxxhdpi',\n};\n\n/**\n * FIXME: using number to represent discrete scale numbers is fragile in essence because of\n * floating point numbers imprecision.\n */\nfunction getAndroidAssetSuffix(scale: number): string {\n if (scale.toString() in androidScaleSuffix) {\n return androidScaleSuffix[scale.toString()];\n }\n\n throw new Error('no such scale ' + scale.toString());\n}\n\n// See https://developer.android.com/guide/topics/resources/drawable-resource.html\nconst drawableFileTypes = new Set([\n 'gif',\n 'jpeg',\n 'jpg',\n 'png',\n 'svg',\n 'webp',\n 'xml',\n]);\n\nfunction getAndroidResourceFolderName(\n asset: PackagerAsset,\n scale: number,\n): string | $TEMPORARY$string<'raw'> {\n if (!drawableFileTypes.has(asset.type)) {\n return 'raw';\n }\n const suffix = getAndroidAssetSuffix(scale);\n if (!suffix) {\n throw new Error(\n \"Don't know which android drawable suffix to use for scale: \" +\n scale +\n '\\nAsset: ' +\n JSON.stringify(asset, null, '\\t') +\n '\\nPossible scales are:' +\n JSON.stringify(androidScaleSuffix, null, '\\t'),\n );\n }\n return 'drawable-' + suffix;\n}\n\nfunction getAndroidResourceIdentifier(asset: PackagerAsset): string {\n return (getBasePath(asset) + '/' + asset.name)\n .toLowerCase()\n .replace(/\\//g, '_') // Encode folder structure in file name\n .replace(/([^a-z0-9_])/g, '') // Remove illegal chars\n .replace(/^assets_/, ''); // Remove \"assets_\" prefix\n}\n\nfunction getBasePath(asset: PackagerAsset): string {\n const basePath = asset.httpServerLocation;\n return basePath.startsWith('/') ? basePath.substr(1) : basePath;\n}\n\nmodule.exports = {\n getAndroidResourceFolderName,\n getAndroidResourceIdentifier,\n getBasePath,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noformat\n * @flow strict-local\n * @generated SignedSource<>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport {type ViewConfig} from './ReactNativeTypes';\nimport invariant from 'invariant';\n\n// Event configs\nconst customBubblingEventTypes: {\n [eventName: string]: $ReadOnly<{\n phasedRegistrationNames: $ReadOnly<{\n captured: string,\n bubbled: string,\n skipBubbling?: ?boolean,\n }>,\n }>,\n ...,\n} = {};\nconst customDirectEventTypes: {\n [eventName: string]: $ReadOnly<{\n registrationName: string,\n }>,\n ...,\n} = {};\n\nexports.customBubblingEventTypes = customBubblingEventTypes;\nexports.customDirectEventTypes = customDirectEventTypes;\n\nconst viewConfigCallbacks = new Map();\nconst viewConfigs = new Map();\n\nfunction processEventTypes(viewConfig: ViewConfig): void {\n const {bubblingEventTypes, directEventTypes} = viewConfig;\n\n if (__DEV__) {\n if (bubblingEventTypes != null && directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n invariant(\n bubblingEventTypes[topLevelType] == null,\n 'Event cannot be both direct and bubbling: %s',\n topLevelType,\n );\n }\n }\n }\n\n if (bubblingEventTypes != null) {\n for (const topLevelType in bubblingEventTypes) {\n if (customBubblingEventTypes[topLevelType] == null) {\n customBubblingEventTypes[topLevelType] =\n bubblingEventTypes[topLevelType];\n }\n }\n }\n\n if (directEventTypes != null) {\n for (const topLevelType in directEventTypes) {\n if (customDirectEventTypes[topLevelType] == null) {\n customDirectEventTypes[topLevelType] = directEventTypes[topLevelType];\n }\n }\n }\n}\n\n/**\n * Registers a native view/component by name.\n * A callback is provided to load the view config from UIManager.\n * The callback is deferred until the view is actually rendered.\n */\nexports.register = function(name: string, callback: () => ViewConfig): string {\n invariant(\n !viewConfigCallbacks.has(name),\n 'Tried to register two views with the same name %s',\n name,\n );\n invariant(\n typeof callback === 'function',\n 'View config getter callback for component `%s` must be a function (received `%s`)',\n name,\n callback === null ? 'null' : typeof callback,\n );\n viewConfigCallbacks.set(name, callback);\n return name;\n};\n\n/**\n * Retrieves a config for the specified view.\n * If this is the first time the view has been used,\n * This configuration will be lazy-loaded from UIManager.\n */\nexports.get = function(name: string): ViewConfig {\n let viewConfig;\n if (!viewConfigs.has(name)) {\n const callback = viewConfigCallbacks.get(name);\n if (typeof callback !== 'function') {\n invariant(\n false,\n 'View config getter callback for component `%s` must be a function (received `%s`).%s',\n name,\n callback === null ? 'null' : typeof callback,\n typeof name[0] === 'string' && /[a-z]/.test(name[0])\n ? ' Make sure to start component names with a capital letter.'\n : '',\n );\n }\n viewConfig = callback();\n processEventTypes(viewConfig);\n viewConfigs.set(name, viewConfig);\n\n // Clear the callback after the config is set so that\n // we don't mask any errors during registration.\n viewConfigCallbacks.set(name, null);\n } else {\n viewConfig = viewConfigs.get(name);\n }\n invariant(viewConfig, 'View config not found for name %s', name);\n return viewConfig;\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport PlatformBaseViewConfig from '../NativeComponent/PlatformBaseViewConfig';\nimport {type ViewConfig} from '../Renderer/shims/ReactNativeTypes';\n\nconst IGNORED_KEYS = ['transform', 'hitSlop'];\n\n/**\n * The purpose of this function is to validate that the view config that\n * native exposes for a given view manager is the same as the view config\n * that is specified for that view manager in JS.\n *\n * In order to improve perf, we want to avoid calling into native to get\n * the view config when each view manager is used. To do this, we are moving\n * the configs to JS. In the future we will use these JS based view configs\n * to codegen the view manager on native to ensure they stay in sync without\n * this runtime check.\n *\n * If this function fails, that likely means a change was made to the native\n * view manager without updating the JS config as well. Ideally you can make\n * that direct change to the JS config. If you don't know what the differences\n * are, the best approach I've found is to create a view that prints\n * the return value of getNativeComponentAttributes, and then copying that\n * text and pasting it back into JS:\n * {JSON.stringify(getNativeComponentAttributes('RCTView'))}\n *\n * This is meant to be a stopgap until the time comes when we only have a\n * single source of truth. I wonder if this message will still be here two\n * years from now...\n */\nexport default function verifyComponentAttributeEquivalence(\n nativeViewConfig: ViewConfig,\n staticViewConfig: ViewConfig,\n) {\n for (const prop of [\n 'validAttributes',\n 'bubblingEventTypes',\n 'directEventTypes',\n ]) {\n const diff = Object.keys(\n lefthandObjectDiff(nativeViewConfig[prop], staticViewConfig[prop]),\n );\n\n if (diff.length > 0) {\n const name =\n staticViewConfig.uiViewClassName ?? nativeViewConfig.uiViewClassName;\n console.error(\n `'${name}' has a view config that does not match native. ` +\n `'${prop}' is missing: ${diff.join(', ')}`,\n );\n }\n }\n}\n\n// Return the different key-value pairs of the right object, by iterating through the keys in the left object\n// Note it won't return a difference where a key is missing in the left but exists the right.\nfunction lefthandObjectDiff(leftObj: Object, rightObj: Object): Object {\n const differentKeys: {[string]: any | {...}} = {};\n\n function compare(leftItem: any, rightItem: any, key: string) {\n if (typeof leftItem !== typeof rightItem && leftItem != null) {\n differentKeys[key] = rightItem;\n return;\n }\n\n if (typeof leftItem === 'object') {\n const objDiff = lefthandObjectDiff(leftItem, rightItem);\n if (Object.keys(objDiff).length > 1) {\n differentKeys[key] = objDiff;\n }\n return;\n }\n\n if (leftItem !== rightItem) {\n differentKeys[key] = rightItem;\n return;\n }\n }\n\n for (const key in leftObj) {\n if (IGNORED_KEYS.includes(key)) {\n continue;\n }\n\n if (!rightObj) {\n differentKeys[key] = {};\n } else if (leftObj.hasOwnProperty(key)) {\n compare(leftObj[key], rightObj[key], key);\n }\n }\n\n return differentKeys;\n}\n\nexport function getConfigWithoutViewProps(\n viewConfig: ViewConfig,\n propName: string,\n): {...} {\n if (!viewConfig[propName]) {\n return {};\n }\n\n return Object.keys(viewConfig[propName])\n .filter(prop => !PlatformBaseViewConfig[propName][prop])\n .reduce<{[string]: any}>((obj, prop) => {\n obj[prop] = viewConfig[propName][prop];\n return obj;\n }, {});\n}\n\nexport function stringifyViewConfig(viewConfig: any): string {\n return JSON.stringify(\n viewConfig,\n (key, val) => {\n if (typeof val === 'function') {\n return `ƒ ${val.name}`;\n }\n return val;\n },\n 2,\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {PartialViewConfig} from '../Renderer/shims/ReactNativeTypes';\n\nimport BaseViewConfig from './BaseViewConfig';\n\nexport type PartialViewConfigWithoutName = $Rest<\n PartialViewConfig,\n {uiViewClassName: string},\n>;\n\nconst PlatformBaseViewConfig: PartialViewConfigWithoutName = BaseViewConfig;\n\n// In Wilde/FB4A, use RNHostComponentListRoute in Bridge mode to verify\n// whether the JS props defined here match the native props defined\n// in RCTViewManagers in iOS, and ViewManagers in Android.\nexport default PlatformBaseViewConfig;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {PartialViewConfigWithoutName} from './PlatformBaseViewConfig';\n\nimport ReactNativeStyleAttributes from '../Components/View/ReactNativeStyleAttributes';\nimport {\n ConditionallyIgnoredEventHandlers,\n DynamicallyInjectedByGestureHandler,\n} from './ViewConfigIgnore';\n\nconst bubblingEventTypes = {\n // Generic Events\n topPress: {\n phasedRegistrationNames: {\n bubbled: 'onPress',\n captured: 'onPressCapture',\n },\n },\n topChange: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n\n // Touch Events\n topTouchStart: {\n phasedRegistrationNames: {\n bubbled: 'onTouchStart',\n captured: 'onTouchStartCapture',\n },\n },\n topTouchMove: {\n phasedRegistrationNames: {\n bubbled: 'onTouchMove',\n captured: 'onTouchMoveCapture',\n },\n },\n topTouchCancel: {\n phasedRegistrationNames: {\n bubbled: 'onTouchCancel',\n captured: 'onTouchCancelCapture',\n },\n },\n topTouchEnd: {\n phasedRegistrationNames: {\n bubbled: 'onTouchEnd',\n captured: 'onTouchEndCapture',\n },\n },\n\n // Experimental/Work in Progress Pointer Events (not yet ready for use)\n topPointerCancel: {\n phasedRegistrationNames: {\n captured: 'onPointerCancelCapture',\n bubbled: 'onPointerCancel',\n },\n },\n topPointerDown: {\n phasedRegistrationNames: {\n captured: 'onPointerDownCapture',\n bubbled: 'onPointerDown',\n },\n },\n topPointerMove: {\n phasedRegistrationNames: {\n captured: 'onPointerMoveCapture',\n bubbled: 'onPointerMove',\n },\n },\n topPointerUp: {\n phasedRegistrationNames: {\n captured: 'onPointerUpCapture',\n bubbled: 'onPointerUp',\n },\n },\n topPointerEnter: {\n phasedRegistrationNames: {\n captured: 'onPointerEnterCapture',\n bubbled: 'onPointerEnter',\n skipBubbling: true,\n },\n },\n topPointerLeave: {\n phasedRegistrationNames: {\n captured: 'onPointerLeaveCapture',\n bubbled: 'onPointerLeave',\n skipBubbling: true,\n },\n },\n topPointerOver: {\n phasedRegistrationNames: {\n captured: 'onPointerOverCapture',\n bubbled: 'onPointerOver',\n },\n },\n topPointerOut: {\n phasedRegistrationNames: {\n captured: 'onPointerOutCapture',\n bubbled: 'onPointerOut',\n },\n },\n};\n\nconst directEventTypes = {\n topAccessibilityAction: {\n registrationName: 'onAccessibilityAction',\n },\n topAccessibilityTap: {\n registrationName: 'onAccessibilityTap',\n },\n topMagicTap: {\n registrationName: 'onMagicTap',\n },\n topAccessibilityEscape: {\n registrationName: 'onAccessibilityEscape',\n },\n topLayout: {\n registrationName: 'onLayout',\n },\n onGestureHandlerEvent: DynamicallyInjectedByGestureHandler({\n registrationName: 'onGestureHandlerEvent',\n }),\n onGestureHandlerStateChange: DynamicallyInjectedByGestureHandler({\n registrationName: 'onGestureHandlerStateChange',\n }),\n};\n\nconst validAttributesForNonEventProps = {\n // View Props\n accessible: true,\n accessibilityActions: true,\n accessibilityLabel: true,\n accessibilityHint: true,\n accessibilityLanguage: true,\n accessibilityValue: true,\n accessibilityViewIsModal: true,\n accessibilityElementsHidden: true,\n accessibilityIgnoresInvertColors: true,\n testID: true,\n backgroundColor: {process: require('../StyleSheet/processColor')},\n backfaceVisibility: true,\n opacity: true,\n shadowColor: {process: require('../StyleSheet/processColor')},\n shadowOffset: {diff: require('../Utilities/differ/sizesDiffer')},\n shadowOpacity: true,\n shadowRadius: true,\n needsOffscreenAlphaCompositing: true,\n overflow: true,\n shouldRasterizeIOS: true,\n transform: {diff: require('../Utilities/differ/matricesDiffer')},\n accessibilityRole: true,\n accessibilityState: true,\n nativeID: true,\n pointerEvents: true,\n removeClippedSubviews: true,\n borderRadius: true,\n borderColor: {process: require('../StyleSheet/processColor')},\n borderCurve: true,\n borderWidth: true,\n borderStyle: true,\n hitSlop: {diff: require('../Utilities/differ/insetsDiffer')},\n collapsable: true,\n\n borderTopWidth: true,\n borderTopColor: {process: require('../StyleSheet/processColor')},\n borderRightWidth: true,\n borderRightColor: {process: require('../StyleSheet/processColor')},\n borderBottomWidth: true,\n borderBottomColor: {process: require('../StyleSheet/processColor')},\n borderLeftWidth: true,\n borderLeftColor: {process: require('../StyleSheet/processColor')},\n borderStartWidth: true,\n borderStartColor: {process: require('../StyleSheet/processColor')},\n borderEndWidth: true,\n borderEndColor: {process: require('../StyleSheet/processColor')},\n\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n borderTopEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderBottomEndRadius: true,\n display: true,\n zIndex: true,\n\n // ShadowView properties\n top: true,\n right: true,\n start: true,\n end: true,\n bottom: true,\n left: true,\n\n width: true,\n height: true,\n\n minWidth: true,\n maxWidth: true,\n minHeight: true,\n maxHeight: true,\n\n // Also declared as ViewProps\n // borderTopWidth: true,\n // borderRightWidth: true,\n // borderBottomWidth: true,\n // borderLeftWidth: true,\n // borderStartWidth: true,\n // borderEndWidth: true,\n // borderWidth: true,\n\n marginTop: true,\n marginRight: true,\n marginBottom: true,\n marginLeft: true,\n marginStart: true,\n marginEnd: true,\n marginVertical: true,\n marginHorizontal: true,\n margin: true,\n\n paddingTop: true,\n paddingRight: true,\n paddingBottom: true,\n paddingLeft: true,\n paddingStart: true,\n paddingEnd: true,\n paddingVertical: true,\n paddingHorizontal: true,\n padding: true,\n\n flex: true,\n flexGrow: true,\n rowGap: true,\n columnGap: true,\n gap: true,\n flexShrink: true,\n flexBasis: true,\n flexDirection: true,\n flexWrap: true,\n justifyContent: true,\n alignItems: true,\n alignSelf: true,\n alignContent: true,\n position: true,\n aspectRatio: true,\n\n // Also declared as ViewProps\n // overflow: true,\n // display: true,\n\n direction: true,\n\n style: ReactNativeStyleAttributes,\n};\n\n// Props for bubbling and direct events\nconst validAttributesForEventProps = ConditionallyIgnoredEventHandlers({\n onLayout: true,\n onMagicTap: true,\n\n // Accessibility\n onAccessibilityAction: true,\n onAccessibilityEscape: true,\n onAccessibilityTap: true,\n\n // PanResponder handlers\n onMoveShouldSetResponder: true,\n onMoveShouldSetResponderCapture: true,\n onStartShouldSetResponder: true,\n onStartShouldSetResponderCapture: true,\n onResponderGrant: true,\n onResponderReject: true,\n onResponderStart: true,\n onResponderEnd: true,\n onResponderRelease: true,\n onResponderMove: true,\n onResponderTerminate: true,\n onResponderTerminationRequest: true,\n onShouldBlockNativeResponder: true,\n\n // Touch events\n onTouchStart: true,\n onTouchMove: true,\n onTouchEnd: true,\n onTouchCancel: true,\n\n // Pointer events\n onPointerUp: true,\n onPointerDown: true,\n onPointerCancel: true,\n onPointerEnter: true,\n onPointerMove: true,\n onPointerLeave: true,\n onPointerOver: true,\n onPointerOut: true,\n});\n\n/**\n * On iOS, view managers define all of a component's props.\n * All view managers extend RCTViewManager, and RCTViewManager declares these props.\n */\nconst PlatformBaseViewConfigIos: PartialViewConfigWithoutName = {\n bubblingEventTypes,\n directEventTypes,\n validAttributes: {\n ...validAttributesForNonEventProps,\n ...validAttributesForEventProps,\n },\n};\n\nexport default PlatformBaseViewConfigIos;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport Platform from '../Utilities/Platform';\n\nconst ignoredViewConfigProps = new WeakSet<{...}>();\n\n/**\n * Decorates ViewConfig values that are dynamically injected by the library,\n * react-native-gesture-handler. (T45765076)\n */\nexport function DynamicallyInjectedByGestureHandler(object: T): T {\n ignoredViewConfigProps.add(object);\n return object;\n}\n\n/**\n * On iOS, ViewManager event declarations generate {eventName}: true entries\n * in ViewConfig valueAttributes. These entries aren't generated for Android.\n * This annotation allows Static ViewConfigs to insert these entries into\n * iOS but not Android.\n *\n * In the future, we want to remove this platform-inconsistency. We want\n * to set RN$ViewConfigEventValidAttributesDisabled = true server-side,\n * so that iOS does not generate validAttributes from event props in iOS RCTViewManager,\n * since Android does not generate validAttributes from events props in Android ViewManager.\n *\n * TODO(T110872225): Remove this logic, after achieving platform-consistency\n */\nexport function ConditionallyIgnoredEventHandlers(\n value: T,\n): T | void {\n if (\n Platform.OS === 'ios' &&\n !(global.RN$ViewConfigEventValidAttributesDisabled === true)\n ) {\n return value;\n }\n return undefined;\n}\n\nexport function isIgnored(value: mixed): boolean {\n if (typeof value === 'object' && value != null) {\n return ignoredViewConfigProps.has(value);\n }\n return false;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport {type ViewConfig} from '../Renderer/shims/ReactNativeTypes';\nimport {isIgnored} from './ViewConfigIgnore';\n\nexport type Difference =\n | {\n type: 'missing',\n path: Array,\n nativeValue: mixed,\n }\n | {\n type: 'unequal',\n path: Array,\n nativeValue: mixed,\n staticValue: mixed,\n }\n | {\n type: 'unexpected',\n path: Array,\n staticValue: mixed,\n };\n\nexport type ValidationResult = ValidResult | InvalidResult;\ntype ValidResult = {\n type: 'valid',\n};\ntype InvalidResult = {\n type: 'invalid',\n differences: Array,\n};\n\n/**\n * During the migration from native view configs to static view configs, this is\n * used to validate that the two are equivalent.\n */\nexport function validate(\n name: string,\n nativeViewConfig: ViewConfig,\n staticViewConfig: ViewConfig,\n): ValidationResult {\n const differences: Array = [];\n accumulateDifferences(\n differences,\n [],\n {\n bubblingEventTypes: nativeViewConfig.bubblingEventTypes,\n directEventTypes: nativeViewConfig.directEventTypes,\n uiViewClassName: nativeViewConfig.uiViewClassName,\n validAttributes: nativeViewConfig.validAttributes,\n },\n {\n bubblingEventTypes: staticViewConfig.bubblingEventTypes,\n directEventTypes: staticViewConfig.directEventTypes,\n uiViewClassName: staticViewConfig.uiViewClassName,\n validAttributes: staticViewConfig.validAttributes,\n },\n );\n\n if (differences.length === 0) {\n return {type: 'valid'};\n }\n\n return {\n type: 'invalid',\n differences,\n };\n}\n\nexport function stringifyValidationResult(\n name: string,\n validationResult: InvalidResult,\n): string {\n const {differences} = validationResult;\n return [\n `StaticViewConfigValidator: Invalid static view config for '${name}'.`,\n '',\n ...differences.map(difference => {\n const {type, path} = difference;\n switch (type) {\n case 'missing':\n return `- '${path.join('.')}' is missing.`;\n case 'unequal':\n return `- '${path.join('.')}' is the wrong value.`;\n case 'unexpected':\n return `- '${path.join('.')}' is present but not expected to be.`;\n }\n }),\n '',\n ].join('\\n');\n}\n\nfunction accumulateDifferences(\n differences: Array,\n path: Array,\n nativeObject: {...},\n staticObject: {...},\n): void {\n for (const nativeKey in nativeObject) {\n const nativeValue = nativeObject[nativeKey];\n\n if (!staticObject.hasOwnProperty(nativeKey)) {\n differences.push({\n path: [...path, nativeKey],\n type: 'missing',\n nativeValue,\n });\n continue;\n }\n\n const staticValue = staticObject[nativeKey];\n\n const nativeValueIfObject = ifObject(nativeValue);\n if (nativeValueIfObject != null) {\n const staticValueIfObject = ifObject(staticValue);\n if (staticValueIfObject != null) {\n path.push(nativeKey);\n accumulateDifferences(\n differences,\n path,\n nativeValueIfObject,\n staticValueIfObject,\n );\n path.pop();\n continue;\n }\n }\n\n if (nativeValue !== staticValue) {\n differences.push({\n path: [...path, nativeKey],\n type: 'unequal',\n nativeValue,\n staticValue,\n });\n }\n }\n\n for (const staticKey in staticObject) {\n if (\n !nativeObject.hasOwnProperty(staticKey) &&\n !isIgnored(staticObject[staticKey])\n ) {\n differences.push({\n path: [...path, staticKey],\n type: 'unexpected',\n staticValue: staticObject[staticKey],\n });\n }\n }\n}\n\nfunction ifObject(value: mixed): ?{...} {\n return typeof value === 'object' && !Array.isArray(value) ? value : null;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n PartialViewConfig,\n ViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\n\nimport PlatformBaseViewConfig from './PlatformBaseViewConfig';\n\n/**\n * Creates a complete `ViewConfig` from a `PartialViewConfig`.\n */\nexport function createViewConfig(\n partialViewConfig: PartialViewConfig,\n): ViewConfig {\n return {\n uiViewClassName: partialViewConfig.uiViewClassName,\n Commands: {},\n bubblingEventTypes: composeIndexers(\n PlatformBaseViewConfig.bubblingEventTypes,\n partialViewConfig.bubblingEventTypes,\n ),\n directEventTypes: composeIndexers(\n PlatformBaseViewConfig.directEventTypes,\n partialViewConfig.directEventTypes,\n ),\n validAttributes: composeIndexers(\n // $FlowFixMe[incompatible-call] `style` property confuses Flow.\n PlatformBaseViewConfig.validAttributes,\n // $FlowFixMe[incompatible-call] `style` property confuses Flow.\n partialViewConfig.validAttributes,\n ),\n };\n}\n\nfunction composeIndexers(\n maybeA: ?{+[string]: T},\n maybeB: ?{+[string]: T},\n): {+[string]: T} {\n return maybeA == null || maybeB == null\n ? maybeA ?? maybeB ?? {}\n : {...maybeA, ...maybeB};\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nconst {dispatchCommand} = require('../ReactNative/RendererProxy');\n\ntype Options = $ReadOnly<{|\n supportedCommands: $ReadOnlyArray,\n|}>;\n\nfunction codegenNativeCommands(options: Options<$Keys>): T {\n const commandObj: {[$Keys]: (...$ReadOnlyArray) => void} = {};\n\n options.supportedCommands.forEach(command => {\n commandObj[command] = (ref, ...args) => {\n dispatchCommand(ref, command, args);\n };\n });\n\n return ((commandObj: any): T);\n}\n\nexport default codegenNativeCommands;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {\n AccessibilityRole,\n Role,\n} from '../Components/View/ViewAccessibility';\n\n// Map role values to AccessibilityRole values\nexport function getAccessibilityRoleFromRole(role: Role): ?AccessibilityRole {\n switch (role) {\n case 'alert':\n return 'alert';\n case 'alertdialog':\n return undefined;\n case 'application':\n return undefined;\n case 'article':\n return undefined;\n case 'banner':\n return undefined;\n case 'button':\n return 'button';\n case 'cell':\n return undefined;\n case 'checkbox':\n return 'checkbox';\n case 'columnheader':\n return undefined;\n case 'combobox':\n return 'combobox';\n case 'complementary':\n return undefined;\n case 'contentinfo':\n return undefined;\n case 'definition':\n return undefined;\n case 'dialog':\n return undefined;\n case 'directory':\n return undefined;\n case 'document':\n return undefined;\n case 'feed':\n return undefined;\n case 'figure':\n return undefined;\n case 'form':\n return undefined;\n case 'grid':\n return 'grid';\n case 'group':\n return undefined;\n case 'heading':\n return 'header';\n case 'img':\n return 'image';\n case 'link':\n return 'link';\n case 'list':\n return 'list';\n case 'listitem':\n return undefined;\n case 'log':\n return undefined;\n case 'main':\n return undefined;\n case 'marquee':\n return undefined;\n case 'math':\n return undefined;\n case 'menu':\n return 'menu';\n case 'menubar':\n return 'menubar';\n case 'menuitem':\n return 'menuitem';\n case 'meter':\n return undefined;\n case 'navigation':\n return undefined;\n case 'none':\n return 'none';\n case 'note':\n return undefined;\n case 'option':\n return undefined;\n case 'presentation':\n return 'none';\n case 'progressbar':\n return 'progressbar';\n case 'radio':\n return 'radio';\n case 'radiogroup':\n return 'radiogroup';\n case 'region':\n return undefined;\n case 'row':\n return undefined;\n case 'rowgroup':\n return undefined;\n case 'rowheader':\n return undefined;\n case 'scrollbar':\n return 'scrollbar';\n case 'searchbox':\n return 'search';\n case 'separator':\n return undefined;\n case 'slider':\n return 'adjustable';\n case 'spinbutton':\n return 'spinbutton';\n case 'status':\n return undefined;\n case 'summary':\n return 'summary';\n case 'switch':\n return 'switch';\n case 'tab':\n return 'tab';\n case 'table':\n return undefined;\n case 'tablist':\n return 'tablist';\n case 'tabpanel':\n return undefined;\n case 'term':\n return undefined;\n case 'timer':\n return 'timer';\n case 'toolbar':\n return 'toolbar';\n case 'tooltip':\n return undefined;\n case 'tree':\n return undefined;\n case 'treegrid':\n return undefined;\n case 'treeitem':\n return undefined;\n }\n\n return undefined;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {\n ____ColorValue_Internal,\n ____DangerouslyImpreciseStyle_Internal,\n ____DangerouslyImpreciseStyleProp_Internal,\n ____ImageStyle_Internal,\n ____ImageStyleProp_Internal,\n ____Styles_Internal,\n ____TextStyle_Internal,\n ____TextStyleProp_Internal,\n ____ViewStyle_Internal,\n ____ViewStyleProp_Internal,\n} from './StyleSheetTypes';\n\nconst ReactNativeStyleAttributes = require('../Components/View/ReactNativeStyleAttributes');\nconst PixelRatio = require('../Utilities/PixelRatio');\nconst flatten = require('./flattenStyle');\n\n/**\n * This type should be used as the type for anything that is a color. It is\n * most useful when using DynamicColorIOS which can be a string or a dynamic\n * color object.\n *\n * type props = {backgroundColor: ColorValue};\n */\nexport type ColorValue = ____ColorValue_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that View doesn't support such as `fontSize`.`\n *\n * type Props = {style: ViewStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ViewStyleProp = ____ViewStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to a 's `style` prop. This ensures call sites of the component\n * can't pass styles that Text doesn't support such as `resizeMode`.`\n *\n * type Props = {style: TextStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type TextStyleProp = ____TextStyleProp_Internal;\n\n/**\n * This type should be used as the type for a prop that is passed through\n * to an 's `style` prop. This ensures call sites of the component\n * can't pass styles that Image doesn't support such as `fontSize`.`\n *\n * type Props = {style: ImageStyleProp}\n * const MyComponent = (props: Props) => \n */\nexport type ImageStyleProp = ____ImageStyleProp_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type\n * is similar to the ones above except it allows styles that are accepted\n * by all of View, Text, or Image. It is therefore very unsafe to pass this\n * through to an underlying component. Using this is almost always a mistake\n * and using one of the other more restrictive types is likely the right choice.\n */\nexport type DangerouslyImpreciseStyleProp =\n ____DangerouslyImpreciseStyleProp_Internal;\n\n/**\n * Utility type for getting the values for specific style keys.\n *\n * The following is bad because position is more restrictive than 'string':\n * ```\n * type Props = {position: string};\n * ```\n *\n * You should use the following instead:\n *\n * ```\n * type Props = {position: TypeForStyleKey<'position'>};\n * ```\n *\n * This will correctly give you the type 'absolute' | 'relative'\n */\nexport type TypeForStyleKey<\n +key: $Keys<____DangerouslyImpreciseStyle_Internal>,\n> = $ElementType<____DangerouslyImpreciseStyle_Internal, key>;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for View.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ViewStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a View that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ViewStyle = ____ViewStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Text.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using TextStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to a Text that can't be precomputed with\n * StyleSheet.create.\n */\nexport type TextStyle = ____TextStyle_Internal;\n\n/**\n * This type is an object of the different possible style\n * properties that can be specified for Image.\n *\n * Note that this isn't a safe way to type a style prop for a component as\n * results from StyleSheet.create return an internal identifier, not\n * an object of styles.\n *\n * If you want to type the style prop of a function,\n * consider using ImageStyleProp.\n *\n * A reasonable usage of this type is for helper functions that return an\n * object of styles to pass to an Image that can't be precomputed with\n * StyleSheet.create.\n */\nexport type ImageStyle = ____ImageStyle_Internal;\n\n/**\n * WARNING: You probably shouldn't be using this type. This type is an object\n * with all possible style keys and their values. Note that this isn't\n * a safe way to type a style prop for a component as results from\n * StyleSheet.create return an internal identifier, not an object of styles.\n *\n * If you want to type the style prop of a function, consider using\n * ViewStyleProp, TextStyleProp, or ImageStyleProp.\n *\n * This should only be used by very core utilities that operate on an object\n * containing any possible style value.\n */\nexport type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;\n\nlet hairlineWidth: number = PixelRatio.roundToNearestPixel(0.4);\nif (hairlineWidth === 0) {\n hairlineWidth = 1 / PixelRatio.get();\n}\n\nconst absoluteFill = {\n position: 'absolute',\n left: 0,\n right: 0,\n top: 0,\n bottom: 0,\n};\nif (__DEV__) {\n Object.freeze(absoluteFill);\n}\n\n/**\n * A StyleSheet is an abstraction similar to CSS StyleSheets\n *\n * Create a new StyleSheet:\n *\n * ```\n * const styles = StyleSheet.create({\n * container: {\n * borderRadius: 4,\n * borderWidth: 0.5,\n * borderColor: '#d6d7da',\n * },\n * title: {\n * fontSize: 19,\n * fontWeight: 'bold',\n * },\n * activeTitle: {\n * color: 'red',\n * },\n * });\n * ```\n *\n * Use a StyleSheet:\n *\n * ```\n * \n * \n * \n * ```\n *\n * Code quality:\n *\n * - By moving styles away from the render function, you're making the code\n * easier to understand.\n * - Naming the styles is a good way to add meaning to the low level components\n * in the render function.\n *\n * Performance:\n *\n * - Making a stylesheet from a style object makes it possible to refer to it\n * by ID instead of creating a new style object every time.\n * - It also allows to send the style only once through the bridge. All\n * subsequent uses are going to refer an id (not implemented yet).\n */\nmodule.exports = {\n /**\n * This is defined as the width of a thin line on the platform. It can be\n * used as the thickness of a border or division between two elements.\n * Example:\n * ```\n * {\n * borderBottomColor: '#bbb',\n * borderBottomWidth: StyleSheet.hairlineWidth\n * }\n * ```\n *\n * This constant will always be a round number of pixels (so a line defined\n * by it look crisp) and will try to match the standard width of a thin line\n * on the underlying platform. However, you should not rely on it being a\n * constant size, because on different platforms and screen densities its\n * value may be calculated differently.\n *\n * A line with hairline width may not be visible if your simulator is downscaled.\n */\n hairlineWidth,\n\n /**\n * A very common pattern is to create overlays with position absolute and zero positioning,\n * so `absoluteFill` can be used for convenience and to reduce duplication of these repeated\n * styles.\n */\n absoluteFill: (absoluteFill: any), // TODO: This should be updated after we fix downstream Flow sites.\n\n /**\n * Sometimes you may want `absoluteFill` but with a couple tweaks - `absoluteFillObject` can be\n * used to create a customized entry in a `StyleSheet`, e.g.:\n *\n * const styles = StyleSheet.create({\n * wrapper: {\n * ...StyleSheet.absoluteFillObject,\n * top: 10,\n * backgroundColor: 'transparent',\n * },\n * });\n */\n absoluteFillObject: absoluteFill,\n\n /**\n * Combines two styles such that `style2` will override any styles in `style1`.\n * If either style is falsy, the other one is returned without allocating an\n * array, saving allocations and maintaining reference equality for\n * PureComponent checks.\n */\n compose(\n style1: ?T,\n style2: ?T,\n ): ?T | $ReadOnlyArray {\n if (style1 != null && style2 != null) {\n return ([style1, style2]: $ReadOnlyArray);\n } else {\n return style1 != null ? style1 : style2;\n }\n },\n\n /**\n * Flattens an array of style objects, into one aggregated style object.\n * Alternatively, this method can be used to lookup IDs, returned by\n * StyleSheet.register.\n *\n * > **NOTE**: Exercise caution as abusing this can tax you in terms of\n * > optimizations.\n * >\n * > IDs enable optimizations through the bridge and memory in general. Referring\n * > to style objects directly will deprive you of these optimizations.\n *\n * Example:\n * ```\n * const styles = StyleSheet.create({\n * listItem: {\n * flex: 1,\n * fontSize: 16,\n * color: 'white'\n * },\n * selectedListItem: {\n * color: 'green'\n * }\n * });\n *\n * StyleSheet.flatten([styles.listItem, styles.selectedListItem])\n * // returns { flex: 1, fontSize: 16, color: 'green' }\n * ```\n * Alternative use:\n * ```\n * StyleSheet.flatten(styles.listItem);\n * // return { flex: 1, fontSize: 16, color: 'white' }\n * // Simply styles.listItem would return its ID (number)\n * ```\n * This method internally uses `StyleSheetRegistry.getStyleByID(style)`\n * to resolve style objects represented by IDs. Thus, an array of style\n * objects (instances of StyleSheet.create), are individually resolved to,\n * their respective objects, merged as one and then returned. This also explains\n * the alternative use.\n */\n flatten,\n\n /**\n * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will\n * not be reliably announced. The whole thing might be deleted, who knows? Use\n * at your own risk.\n *\n * Sets a function to use to pre-process a style property value. This is used\n * internally to process color and transform values. You should not use this\n * unless you really know what you are doing and have exhausted other options.\n */\n setStyleAttributePreprocessor(\n property: string,\n process: (nextProp: mixed) => mixed,\n ) {\n let value;\n\n if (ReactNativeStyleAttributes[property] === true) {\n value = {process};\n } else if (typeof ReactNativeStyleAttributes[property] === 'object') {\n value = {...ReactNativeStyleAttributes[property], process};\n } else {\n console.error(`${property} is not a valid style attribute`);\n return;\n }\n\n if (\n __DEV__ &&\n typeof value.process === 'function' &&\n typeof ReactNativeStyleAttributes[property]?.process === 'function' &&\n value.process !== ReactNativeStyleAttributes[property]?.process\n ) {\n console.warn(`Overwriting ${property} style attribute preprocessor`);\n }\n\n ReactNativeStyleAttributes[property] = value;\n },\n\n /**\n * Creates a StyleSheet style reference from the given object.\n */\n create<+S: ____Styles_Internal>(obj: S): $ReadOnly {\n // TODO: This should return S as the return type. But first,\n // we need to codemod all the callsites that are typing this\n // return value as a number (even though it was opaque).\n if (__DEV__) {\n for (const key in obj) {\n if (obj[key]) {\n Object.freeze(obj[key]);\n }\n }\n }\n return obj;\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\nexport opaque type RootTag = number;\n\nexport const RootTagContext: React$Context =\n React.createContext(0);\n\nif (__DEV__) {\n RootTagContext.displayName = 'RootTagContext';\n}\n\n/**\n * Intended to only be used by `AppContainer`.\n */\nexport function createRootTag(rootTag: number | RootTag): RootTag {\n return rootTag;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nexport opaque type DisplayModeType = number;\n\n/** DisplayMode should be in sync with the method displayModeToInt from\n * react/renderer/uimanager/primitives.h. */\nconst DisplayMode: {[string]: DisplayModeType} = Object.freeze({\n VISIBLE: 1,\n SUSPENDED: 2,\n HIDDEN: 3,\n});\n\nexport function coerceDisplayMode(value: ?number): DisplayModeType {\n switch (value) {\n case DisplayMode.SUSPENDED:\n return DisplayMode.SUSPENDED;\n case DisplayMode.HIDDEN:\n return DisplayMode.HIDDEN;\n default:\n return DisplayMode.VISIBLE;\n }\n}\n\nexport default DisplayMode;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {AbstractComponent, Node} from 'react';\n\ntype NoopComponent = AbstractComponent<{children: Node}>;\n\nconst cache: Map<\n string, // displayName\n NoopComponent, // ComponentWithDisplayName\n> = new Map();\n\nexport default function getCachedComponentWithDisplayName(\n displayName: string,\n): NoopComponent {\n let ComponentWithDisplayName = cache.get(displayName);\n\n if (!ComponentWithDisplayName) {\n ComponentWithDisplayName = ({\n children,\n }: $TEMPORARY$object<{children: Node}>) => children;\n // $FlowFixMe[prop-missing]\n ComponentWithDisplayName.displayName = displayName;\n cache.set(displayName, ComponentWithDisplayName);\n }\n\n return ComponentWithDisplayName;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nmodule.exports = require('../Components/UnimplementedViews/UnimplementedView');\n\ntype BackPressEventName = 'backPress' | 'hardwareBackPress';\n\nfunction emptyFunction(): void {}\n\ntype TBackHandler = {|\n +exitApp: () => void,\n +addEventListener: (\n eventName: BackPressEventName,\n handler: () => ?boolean,\n ) => {remove: () => void, ...},\n +removeEventListener: (\n eventName: BackPressEventName,\n handler: () => ?boolean,\n ) => void,\n|};\n\nlet BackHandler: TBackHandler = {\n exitApp: emptyFunction,\n addEventListener(_eventName: BackPressEventName, _handler: Function) {\n return {\n remove: emptyFunction,\n };\n },\n removeEventListener(_eventName: BackPressEventName, _handler: Function) {},\n};\n\nmodule.exports = BackHandler;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport * as React from 'react';\n\n/**\n * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner\n * View component and renders its children.\n */\nclass UnimplementedView extends React.Component<$FlowFixMeProps> {\n render(): React.Node {\n // Workaround require cycle from requireNativeComponent\n const View = require('../View/View');\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n unimplementedView: __DEV__\n ? {\n alignSelf: 'flex-start',\n borderColor: 'red',\n borderWidth: 1,\n }\n : {},\n});\n\nmodule.exports = UnimplementedView;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport typeof BatchedBridge from '../BatchedBridge/BatchedBridge';\nimport typeof legacySendAccessibilityEvent from '../Components/AccessibilityInfo/legacySendAccessibilityEvent';\nimport typeof TextInputState from '../Components/TextInput/TextInputState';\nimport typeof ExceptionsManager from '../Core/ExceptionsManager';\nimport typeof RawEventEmitter from '../Core/RawEventEmitter';\nimport typeof ReactFiberErrorDialog from '../Core/ReactFiberErrorDialog';\nimport typeof RCTEventEmitter from '../EventEmitter/RCTEventEmitter';\nimport typeof CustomEvent from '../Events/CustomEvent';\nimport typeof UIManager from '../ReactNative/UIManager';\nimport typeof ReactNativeViewConfigRegistry from '../Renderer/shims/ReactNativeViewConfigRegistry';\nimport typeof flattenStyle from '../StyleSheet/flattenStyle';\nimport typeof deepFreezeAndThrowOnMutationInDev from '../Utilities/deepFreezeAndThrowOnMutationInDev';\nimport typeof deepDiffer from '../Utilities/differ/deepDiffer';\nimport typeof Platform from '../Utilities/Platform';\n\nimport {type DangerouslyImpreciseStyleProp} from '../StyleSheet/StyleSheet';\n\n// flowlint unsafe-getters-setters:off\nmodule.exports = {\n get BatchedBridge(): BatchedBridge {\n return require('../BatchedBridge/BatchedBridge');\n },\n get ExceptionsManager(): ExceptionsManager {\n return require('../Core/ExceptionsManager');\n },\n get Platform(): Platform {\n return require('../Utilities/Platform');\n },\n get RCTEventEmitter(): RCTEventEmitter {\n return require('../EventEmitter/RCTEventEmitter');\n },\n get ReactNativeViewConfigRegistry(): ReactNativeViewConfigRegistry {\n return require('../Renderer/shims/ReactNativeViewConfigRegistry');\n },\n get TextInputState(): TextInputState {\n return require('../Components/TextInput/TextInputState');\n },\n get UIManager(): UIManager {\n return require('../ReactNative/UIManager');\n },\n get deepDiffer(): deepDiffer {\n return require('../Utilities/differ/deepDiffer');\n },\n get deepFreezeAndThrowOnMutationInDev(): deepFreezeAndThrowOnMutationInDev<\n {...} | Array,\n > {\n return require('../Utilities/deepFreezeAndThrowOnMutationInDev');\n },\n get flattenStyle(): flattenStyle {\n return require('../StyleSheet/flattenStyle');\n },\n get ReactFiberErrorDialog(): ReactFiberErrorDialog {\n return require('../Core/ReactFiberErrorDialog').default;\n },\n get legacySendAccessibilityEvent(): legacySendAccessibilityEvent {\n return require('../Components/AccessibilityInfo/legacySendAccessibilityEvent');\n },\n get RawEventEmitter(): RawEventEmitter {\n return require('../Core/RawEventEmitter').default;\n },\n get CustomEvent(): CustomEvent {\n return require('../Events/CustomEvent').default;\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\n\nconst RCTEventEmitter = {\n register(eventEmitter: any) {\n if (global.RN$Bridgeless) {\n global.RN$registerCallableModule('RCTEventEmitter', () => eventEmitter);\n } else {\n BatchedBridge.registerCallableModule('RCTEventEmitter', eventEmitter);\n }\n },\n};\n\nmodule.exports = RCTEventEmitter;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// This class is responsible for coordinating the \"focused\" state for\n// TextInputs. All calls relating to the keyboard should be funneled\n// through here.\n\nimport type {\n HostComponent,\n MeasureInWindowOnSuccessCallback,\n MeasureLayoutOnSuccessCallback,\n MeasureOnSuccessCallback,\n} from '../../Renderer/shims/ReactNativeTypes';\n\nimport {Commands as AndroidTextInputCommands} from '../../Components/TextInput/AndroidTextInputNativeComponent';\nimport {Commands as iOSTextInputCommands} from '../../Components/TextInput/RCTSingelineTextInputNativeComponent';\n\nconst {findNodeHandle} = require('../../ReactNative/RendererProxy');\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\ntype ComponentRef = React.ElementRef>;\n\nlet currentlyFocusedInputRef: ?ComponentRef = null;\nconst inputs = new Set<{\n blur(): void,\n focus(): void,\n measure(callback: MeasureOnSuccessCallback): void,\n measureInWindow(callback: MeasureInWindowOnSuccessCallback): void,\n measureLayout(\n relativeToNativeNode: number | React.ElementRef>,\n onSuccess: MeasureLayoutOnSuccessCallback,\n onFail?: () => void,\n ): void,\n setNativeProps(nativeProps: {...}): void,\n}>();\n\nfunction currentlyFocusedInput(): ?ComponentRef {\n return currentlyFocusedInputRef;\n}\n\n/**\n * Returns the ID of the currently focused text field, if one exists\n * If no text field is focused it returns null\n */\nfunction currentlyFocusedField(): ?number {\n if (__DEV__) {\n console.error(\n 'currentlyFocusedField is deprecated and will be removed in a future release. Use currentlyFocusedInput',\n );\n }\n\n return findNodeHandle(currentlyFocusedInputRef);\n}\n\nfunction focusInput(textField: ?ComponentRef): void {\n if (currentlyFocusedInputRef !== textField && textField != null) {\n currentlyFocusedInputRef = textField;\n }\n}\n\nfunction blurInput(textField: ?ComponentRef): void {\n if (currentlyFocusedInputRef === textField && textField != null) {\n currentlyFocusedInputRef = null;\n }\n}\n\nfunction focusField(textFieldID: ?number): void {\n if (__DEV__) {\n console.error('focusField no longer works. Use focusInput');\n }\n\n return;\n}\n\nfunction blurField(textFieldID: ?number) {\n if (__DEV__) {\n console.error('blurField no longer works. Use blurInput');\n }\n\n return;\n}\n\n/**\n * @param {number} TextInputID id of the text field to focus\n * Focuses the specified text field\n * noop if the text field was already focused or if the field is not editable\n */\nfunction focusTextInput(textField: ?ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'focusTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n if (textField != null) {\n const fieldCanBeFocused =\n currentlyFocusedInputRef !== textField &&\n // $FlowFixMe - `currentProps` is missing in `NativeMethods`\n textField.currentProps?.editable !== false;\n\n if (!fieldCanBeFocused) {\n return;\n }\n focusInput(textField);\n if (Platform.OS === 'ios') {\n // This isn't necessarily a single line text input\n // But commands don't actually care as long as the thing being passed in\n // actually has a command with that name. So this should work with single\n // and multiline text inputs. Ideally we'll merge them into one component\n // in the future.\n iOSTextInputCommands.focus(textField);\n } else if (Platform.OS === 'android') {\n AndroidTextInputCommands.focus(textField);\n }\n }\n}\n\n/**\n * @param {number} textFieldID id of the text field to unfocus\n * Unfocuses the specified text field\n * noop if it wasn't focused\n */\nfunction blurTextInput(textField: ?ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'blurTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n if (currentlyFocusedInputRef === textField && textField != null) {\n blurInput(textField);\n if (Platform.OS === 'ios') {\n // This isn't necessarily a single line text input\n // But commands don't actually care as long as the thing being passed in\n // actually has a command with that name. So this should work with single\n // and multiline text inputs. Ideally we'll merge them into one component\n // in the future.\n iOSTextInputCommands.blur(textField);\n } else if (Platform.OS === 'android') {\n AndroidTextInputCommands.blur(textField);\n }\n }\n}\n\nfunction registerInput(textField: ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'registerInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n\n inputs.add(textField);\n}\n\nfunction unregisterInput(textField: ComponentRef) {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'unregisterInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return;\n }\n inputs.delete(textField);\n}\n\nfunction isTextInput(textField: ComponentRef): boolean {\n if (typeof textField === 'number') {\n if (__DEV__) {\n console.error(\n 'isTextInput must be called with a host component. Passing a react tag is deprecated.',\n );\n }\n\n return false;\n }\n\n return inputs.has(textField);\n}\n\nmodule.exports = {\n currentlyFocusedInput,\n focusInput,\n blurInput,\n\n currentlyFocusedField,\n focusField,\n blurField,\n focusTextInput,\n blurTextInput,\n registerInput,\n unregisterInput,\n isTextInput,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport RCTTextInputViewConfig from './RCTTextInputViewConfig';\n\ntype NativeType = HostComponent;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'RCTSinglelineTextInputView',\n ...RCTTextInputViewConfig,\n};\n\nconst SinglelineTextInputNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'RCTSinglelineTextInputView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\n// flowlint-next-line unclear-type:off\nexport default ((SinglelineTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {PartialViewConfig} from '../../Renderer/shims/ReactNativeTypes';\n\nimport {ConditionallyIgnoredEventHandlers} from '../../NativeComponent/ViewConfigIgnore';\n\ntype PartialViewConfigWithoutName = $Rest<\n PartialViewConfig,\n {uiViewClassName: string},\n>;\n\nconst RCTTextInputViewConfig = {\n bubblingEventTypes: {\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topChange: {\n phasedRegistrationNames: {\n bubbled: 'onChange',\n captured: 'onChangeCapture',\n },\n },\n topContentSizeChange: {\n phasedRegistrationNames: {\n captured: 'onContentSizeChangeCapture',\n bubbled: 'onContentSizeChange',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTouchCancel: {\n phasedRegistrationNames: {\n bubbled: 'onTouchCancel',\n captured: 'onTouchCancelCapture',\n },\n },\n topTouchEnd: {\n phasedRegistrationNames: {\n bubbled: 'onTouchEnd',\n captured: 'onTouchEndCapture',\n },\n },\n\n topTouchMove: {\n phasedRegistrationNames: {\n bubbled: 'onTouchMove',\n captured: 'onTouchMoveCapture',\n },\n },\n },\n directEventTypes: {\n topTextInput: {\n registrationName: 'onTextInput',\n },\n topKeyPressSync: {\n registrationName: 'onKeyPressSync',\n },\n topScroll: {\n registrationName: 'onScroll',\n },\n topSelectionChange: {\n registrationName: 'onSelectionChange',\n },\n topChangeSync: {\n registrationName: 'onChangeSync',\n },\n },\n validAttributes: {\n fontSize: true,\n fontWeight: true,\n fontVariant: true,\n // flowlint-next-line untyped-import:off\n textShadowOffset: {diff: require('../../Utilities/differ/sizesDiffer')},\n allowFontScaling: true,\n fontStyle: true,\n textTransform: true,\n textAlign: true,\n fontFamily: true,\n lineHeight: true,\n isHighlighted: true,\n writingDirection: true,\n textDecorationLine: true,\n textShadowRadius: true,\n letterSpacing: true,\n textDecorationStyle: true,\n textDecorationColor: {process: require('../../StyleSheet/processColor')},\n color: {process: require('../../StyleSheet/processColor')},\n maxFontSizeMultiplier: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n editable: true,\n inputAccessoryViewID: true,\n caretHidden: true,\n enablesReturnKeyAutomatically: true,\n placeholderTextColor: {process: require('../../StyleSheet/processColor')},\n clearButtonMode: true,\n keyboardType: true,\n selection: true,\n returnKeyType: true,\n submitBehavior: true,\n mostRecentEventCount: true,\n scrollEnabled: true,\n selectionColor: {process: require('../../StyleSheet/processColor')},\n contextMenuHidden: true,\n secureTextEntry: true,\n placeholder: true,\n autoCorrect: true,\n multiline: true,\n numberOfLines: true,\n maximumNumberOfLines: true,\n textContentType: true,\n maxLength: true,\n autoCapitalize: true,\n keyboardAppearance: true,\n passwordRules: true,\n spellCheck: true,\n selectTextOnFocus: true,\n text: true,\n clearTextOnFocus: true,\n showSoftInputOnFocus: true,\n autoFocus: true,\n lineBreakStrategyIOS: true,\n smartInsertDelete: true,\n ...ConditionallyIgnoredEventHandlers({\n onChange: true,\n onSelectionChange: true,\n onContentSizeChange: true,\n onScroll: true,\n onChangeSync: true,\n onKeyPressSync: true,\n onTextInput: true,\n }),\n },\n};\n\nmodule.exports = (RCTTextInputViewConfig: PartialViewConfigWithoutName);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nlet logListeners;\n\ntype LogListeners = {|\n +onDifferentFunctionsIgnored: (nameOne: ?string, nameTwo: ?string) => void,\n|};\n\ntype Options = {|+unsafelyIgnoreFunctions?: boolean|};\n\nfunction unstable_setLogListeners(listeners: ?LogListeners) {\n logListeners = listeners;\n}\n\n/*\n * @returns {bool} true if different, false if equal\n */\nconst deepDiffer = function (\n one: any,\n two: any,\n maxDepthOrOptions: Options | number = -1,\n maybeOptions?: Options,\n): boolean {\n const options =\n typeof maxDepthOrOptions === 'number' ? maybeOptions : maxDepthOrOptions;\n const maxDepth =\n typeof maxDepthOrOptions === 'number' ? maxDepthOrOptions : -1;\n if (maxDepth === 0) {\n return true;\n }\n if (one === two) {\n // Short circuit on identical object references instead of traversing them.\n return false;\n }\n if (typeof one === 'function' && typeof two === 'function') {\n // We consider all functions equal unless explicitly configured otherwise\n let unsafelyIgnoreFunctions = options?.unsafelyIgnoreFunctions;\n if (unsafelyIgnoreFunctions == null) {\n if (\n logListeners &&\n logListeners.onDifferentFunctionsIgnored &&\n (!options || !('unsafelyIgnoreFunctions' in options))\n ) {\n logListeners.onDifferentFunctionsIgnored(one.name, two.name);\n }\n unsafelyIgnoreFunctions = true;\n }\n return !unsafelyIgnoreFunctions;\n }\n if (typeof one !== 'object' || one === null) {\n // Primitives can be directly compared\n return one !== two;\n }\n if (typeof two !== 'object' || two === null) {\n // We know they are different because the previous case would have triggered\n // otherwise.\n return true;\n }\n if (one.constructor !== two.constructor) {\n return true;\n }\n if (Array.isArray(one)) {\n // We know two is also an array because the constructors are equal\n const len = one.length;\n if (two.length !== len) {\n return true;\n }\n for (let ii = 0; ii < len; ii++) {\n if (deepDiffer(one[ii], two[ii], maxDepth - 1, options)) {\n return true;\n }\n }\n } else {\n for (const key in one) {\n if (deepDiffer(one[key], two[key], maxDepth - 1, options)) {\n return true;\n }\n }\n for (const twoKey in two) {\n // The only case we haven't checked yet is keys that are in two but aren't\n // in one, which means they are different.\n if (one[twoKey] === undefined && two[twoKey] !== undefined) {\n return true;\n }\n }\n }\n return false;\n};\n\ndeepDiffer.unstable_setLogListeners = unstable_setLogListeners;\nmodule.exports = deepDiffer;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * If your application is accepting different values for the same field over\n * time and is doing a diff on them, you can either (1) create a copy or\n * (2) ensure that those values are not mutated behind two passes.\n * This function helps you with (2) by freezing the object and throwing if\n * the user subsequently modifies the value.\n *\n * There are two caveats with this function:\n * - If the call site is not in strict mode, it will only throw when\n * mutating existing fields, adding a new one\n * will unfortunately fail silently :(\n * - If the object is already frozen or sealed, it will not continue the\n * deep traversal and will leave leaf nodes unfrozen.\n *\n * Freezing the object and adding the throw mechanism is expensive and will\n * only be used in DEV.\n */\nfunction deepFreezeAndThrowOnMutationInDev>(\n object: T,\n): T {\n if (__DEV__) {\n if (\n typeof object !== 'object' ||\n object === null ||\n Object.isFrozen(object) ||\n Object.isSealed(object)\n ) {\n return object;\n }\n\n // $FlowFixMe[not-an-object] `object` can be an array, but Object.keys works with arrays too\n const keys = Object.keys((object: {...} | Array));\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n Object.defineProperty(object, key, {\n get: identity.bind(null, object[key]),\n });\n Object.defineProperty(object, key, {\n set: throwOnImmutableMutation.bind(null, key),\n });\n }\n }\n\n Object.freeze(object);\n Object.seal(object);\n\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (hasOwnProperty.call(object, key)) {\n deepFreezeAndThrowOnMutationInDev(object[key]);\n }\n }\n }\n return object;\n}\n\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nfunction throwOnImmutableMutation(key: empty, value) {\n throw Error(\n 'You attempted to set the key `' +\n key +\n '` with the value `' +\n JSON.stringify(value) +\n '` on an object that is meant to be immutable ' +\n 'and has been frozen.',\n );\n}\n\nfunction identity(value: mixed) {\n return value;\n}\n\nmodule.exports = deepFreezeAndThrowOnMutationInDev;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ExtendedError} from './ExtendedError';\n\nimport {SyntheticError, handleException} from './ExceptionsManager';\n\nexport type CapturedError = {\n +componentStack: string,\n +error: mixed,\n +errorBoundary: ?{...},\n ...\n};\n\nconst ReactFiberErrorDialog = {\n /**\n * Intercept lifecycle errors and ensure they are shown with the correct stack\n * trace within the native redbox component.\n */\n showErrorDialog({componentStack, error: errorValue}: CapturedError): boolean {\n let error: ?ExtendedError;\n\n // Typically, `errorValue` should be an error. However, other values such as\n // strings (or even null) are sometimes thrown.\n if (errorValue instanceof Error) {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (errorValue: ExtendedError);\n } else if (typeof errorValue === 'string') {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (new SyntheticError(errorValue): ExtendedError);\n } else {\n /* $FlowFixMe[class-object-subtyping] added when improving typing for\n * this parameters */\n error = (new SyntheticError('Unspecified error'): ExtendedError);\n }\n try {\n error.componentStack = componentStack;\n error.isComponentError = true;\n } catch {\n // Ignored.\n }\n\n handleException(error, false);\n\n // Return false here to prevent ReactFiberErrorLogger default behavior of\n // logging error details to console.error. Calls to console.error are\n // automatically routed to the native redbox controller, which we've already\n // done above by calling ExceptionsManager.\n return false;\n },\n};\n\nexport default ReactFiberErrorDialog;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {IEventEmitter} from '../vendor/emitter/EventEmitter';\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\n\nexport type RawEventEmitterEvent = $ReadOnly<{|\n eventName: string,\n // We expect, but do not/cannot require, that nativeEvent is an object\n // with the properties: key, elementType (string), type (string), tag (numeric),\n // and a stateNode of the native element/Fiber the event was emitted to.\n nativeEvent: {[string]: mixed},\n|}>;\n\ntype RawEventDefinitions = {\n [eventChannel: string]: [RawEventEmitterEvent],\n};\n\nconst RawEventEmitter: IEventEmitter =\n new EventEmitter();\n\n// See the React renderer / react repo for how this is used.\n// Raw events are emitted here when they are received in JS\n// and before any event Plugins process them or before components\n// have a chance to respond to them. This allows you to implement\n// app-specific perf monitoring, which is unimplemented by default,\n// making this entire RawEventEmitter do nothing by default until\n// *you* add listeners for your own app.\n// Besides perf monitoring and maybe debugging, this RawEventEmitter\n// should not be used.\nexport default RawEventEmitter;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// Make sure global Event is defined\nimport EventPolyfill from './EventPolyfill';\n\ntype CustomEvent$Options = $ReadOnly<{|\n bubbles?: boolean,\n cancelable?: boolean,\n composed?: boolean,\n detail?: {...},\n|}>;\n\nclass CustomEvent extends EventPolyfill {\n detail: ?{...};\n\n constructor(typeArg: string, options: CustomEvent$Options) {\n const {bubbles, cancelable, composed} = options;\n super(typeArg, {bubbles, cancelable, composed});\n\n this.detail = options.detail; // this would correspond to `NativeEvent` in SyntheticEvent\n }\n}\n\nexport default CustomEvent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// https://dom.spec.whatwg.org/#dictdef-eventinit\ntype Event$Init = {\n bubbles?: boolean,\n cancelable?: boolean,\n composed?: boolean,\n /** Non-standard. See `composed` instead. */\n scoped?: boolean,\n ...\n};\n\n/**\n * This is a copy of the Event interface defined in Flow:\n * https://github.com/facebook/flow/blob/741104e69c43057ebd32804dd6bcc1b5e97548ea/lib/dom.js\n * which is itself a faithful interface of the W3 spec:\n * https://dom.spec.whatwg.org/#interface-event\n *\n * Since Flow assumes that Event is provided and is on the global object,\n * we must provide an implementation of Event for CustomEvent (and future\n * alignment of React Native's event system with the W3 spec).\n */\ninterface IEvent {\n constructor(type: string, eventInitDict?: Event$Init): void;\n /**\n * Returns the type of event, e.g. \"click\", \"hashchange\", or \"submit\".\n */\n +type: string;\n /**\n * Returns the object to which event is dispatched (its target).\n */\n +target: EventTarget; // TODO: nullable\n /** @deprecated */\n +srcElement: Element; // TODO: nullable\n /**\n * Returns the object whose event listener's callback is currently being invoked.\n */\n +currentTarget: EventTarget; // TODO: nullable\n /**\n * Returns the invocation target objects of event's path (objects on which\n * listeners will be invoked), except for any nodes in shadow trees of which\n * the shadow root's mode is \"closed\" that are not reachable from event's\n * currentTarget.\n */\n composedPath(): Array;\n\n +NONE: number;\n +AT_TARGET: number;\n +BUBBLING_PHASE: number;\n +CAPTURING_PHASE: number;\n /**\n * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET,\n * and BUBBLING_PHASE.\n */\n +eventPhase: number;\n\n /**\n * When dispatched in a tree, invoking this method prevents event from reaching\n * any objects other than the current object.\n */\n stopPropagation(): void;\n /**\n * Invoking this method prevents event from reaching any registered event\n * listeners after the current one finishes running and, when dispatched in a\n * tree, also prevents event from reaching any other objects.\n */\n stopImmediatePropagation(): void;\n\n /**\n * Returns true or false depending on how event was initialized. True if\n * event goes through its target's ancestors in reverse tree order, and\n * false otherwise.\n */\n +bubbles: boolean;\n /**\n * Returns true or false depending on how event was initialized. Its\n * return value does not always carry meaning, but true can indicate\n * that part of the operation during which event was dispatched, can\n * be canceled by invoking the preventDefault() method.\n */\n +cancelable: boolean;\n // returnValue: boolean; // legacy, and some subclasses still define it as a string!\n /**\n * If invoked when the cancelable attribute value is true, and while\n * executing a listener for the event with passive set to false, signals to\n * the operation that caused event to be dispatched that it needs to be\n * canceled.\n */\n preventDefault(): void;\n /**\n * Returns true if preventDefault() was invoked successfully to indicate\n * cancelation, and false otherwise.\n */\n +defaultPrevented: boolean;\n /**\n * Returns true or false depending on how event was initialized. True if\n * event invokes listeners past a ShadowRoot node that is the root of its\n * target, and false otherwise.\n */\n +composed: boolean;\n\n /**\n * Returns true if event was dispatched by the user agent, and false otherwise.\n */\n +isTrusted: boolean;\n /**\n * Returns the event's timestamp as the number of milliseconds measured relative\n * to the time origin.\n */\n +timeStamp: number;\n\n /** Non-standard. See Event.prototype.composedPath */\n +deepPath?: () => EventTarget[];\n /** Non-standard. See Event.prototype.composed */\n +scoped: boolean;\n\n /**\n * @deprecated\n */\n initEvent(type: string, bubbles: boolean, cancelable: boolean): void;\n}\n\nclass EventPolyfill implements IEvent {\n type: string;\n bubbles: boolean;\n cancelable: boolean;\n composed: boolean;\n // Non-standard. See `composed` instead.\n scoped: boolean;\n isTrusted: boolean;\n defaultPrevented: boolean;\n timeStamp: number;\n\n // https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase\n NONE: number;\n AT_TARGET: number;\n BUBBLING_PHASE: number;\n CAPTURING_PHASE: number;\n\n eventPhase: number;\n\n currentTarget: EventTarget; // TODO: nullable\n target: EventTarget; // TODO: nullable\n /** @deprecated */\n srcElement: Element; // TODO: nullable\n\n // React Native-specific: proxy data to a SyntheticEvent when\n // certain methods are called.\n // SyntheticEvent will also have a reference to this instance -\n // it is circular - and both classes use this reference to keep\n // data with the other in sync.\n _syntheticEvent: mixed;\n\n constructor(type: string, eventInitDict?: Event$Init): void {\n this.type = type;\n this.bubbles = !!(eventInitDict?.bubbles || false);\n this.cancelable = !!(eventInitDict?.cancelable || false);\n this.composed = !!(eventInitDict?.composed || false);\n this.scoped = !!(eventInitDict?.scoped || false);\n\n // TODO: somehow guarantee that only \"private\" instantiations of Event\n // can set this to true\n this.isTrusted = false;\n\n // TODO: in the future we'll want to make sure this has the same\n // time-basis as events originating from native\n this.timeStamp = Date.now();\n\n this.defaultPrevented = false;\n\n // https://developer.mozilla.org/en-US/docs/Web/API/Event/eventPhase\n this.NONE = 0;\n this.AT_TARGET = 1;\n this.BUBBLING_PHASE = 2;\n this.CAPTURING_PHASE = 3;\n this.eventPhase = this.NONE;\n\n // $FlowFixMe\n this.currentTarget = null;\n // $FlowFixMe\n this.target = null;\n // $FlowFixMe\n this.srcElement = null;\n }\n\n composedPath(): Array {\n throw new Error('TODO: not yet implemented');\n }\n\n preventDefault(): void {\n this.defaultPrevented = true;\n\n if (this._syntheticEvent != null) {\n // $FlowFixMe\n this._syntheticEvent.preventDefault();\n }\n }\n\n initEvent(type: string, bubbles: boolean, cancelable: boolean): void {\n throw new Error(\n 'TODO: not yet implemented. This method is also deprecated.',\n );\n }\n\n stopImmediatePropagation(): void {\n throw new Error('TODO: not yet implemented');\n }\n\n stopPropagation(): void {\n if (this._syntheticEvent != null) {\n // $FlowFixMe\n this._syntheticEvent.stopPropagation();\n }\n }\n\n setSyntheticEvent(value: mixed): void {\n this._syntheticEvent = value;\n }\n}\n\n// Assertion magic for polyfill follows.\ndeclare var checkEvent: Event; // eslint-disable-line no-unused-vars\n\n/*::\n// This can be a strict mode error at runtime so put it in a Flow comment.\n(checkEvent: IEvent);\n*/\n\nglobal.Event = EventPolyfill;\n\nexport default EventPolyfill;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}\n","/**\n * @license React\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';function f(a,b){var c=a.length;a.push(b);a:for(;0>>1,e=a[d];if(0>>1;dg(C,c))ng(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(ng(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}\nfunction g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if(\"object\"===typeof performance&&\"function\"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()}}else{var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q}}var r=[],t=[],u=1,v=null,y=3,z=!1,A=!1,B=!1,D=\"function\"===typeof setTimeout?setTimeout:null,E=\"function\"===typeof clearTimeout?clearTimeout:null,F=\"undefined\"!==typeof setImmediate?setImmediate:null;\n\"undefined\"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t)}}function H(a){B=!1;G(a);if(!A)if(null!==h(r))A=!0,I(J);else{var b=h(t);null!==b&&K(H,b.startTime-a)}}\nfunction J(a,b){A=!1;B&&(B=!1,E(L),L=-1);z=!0;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if(\"function\"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();\"function\"===typeof e?v.callback=e:v===h(r)&&k(r);G(b)}else k(r);v=h(r)}if(null!==v)var w=!0;else{var m=h(t);null!==m&&K(H,m.startTime-b);w=!1}return w}finally{v=null,y=c,z=!1}}var N=!1,O=null,L=-1,P=5,Q=-1;\nfunction M(){return exports.unstable_now()-Qa||125d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=!0,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=!0,I(J)));return a};\nexports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c}}};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noformat\n * @flow\n * @generated SignedSource<<744176db456e2656dac661d36e55f42a>>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport type {ReactNativeType} from './ReactNativeTypes';\n\nlet ReactNative;\n\nif (__DEV__) {\n ReactNative = require('../implementations/ReactNativeRenderer-dev');\n} else {\n ReactNative = require('../implementations/ReactNativeRenderer-prod');\n}\n\nmodule.exports = (ReactNative: ReactNativeType);\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noflow\n * @nolint\n * @providesModule ReactNativeRenderer-prod\n * @preventMunge\n * @generated SignedSource<<07cf699c0d1c149943b7a02432aa1550>>\n */\n\n\"use strict\";\nrequire(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInitializeCore\");\nvar ReactNativePrivateInterface = require(\"react-native/Libraries/ReactPrivate/ReactNativePrivateInterface\"),\n React = require(\"react\"),\n Scheduler = require(\"scheduler\");\nfunction invokeGuardedCallbackImpl(name, func, context, a, b, c, d, e, f) {\n var funcArgs = Array.prototype.slice.call(arguments, 3);\n try {\n func.apply(context, funcArgs);\n } catch (error) {\n this.onError(error);\n }\n}\nvar hasError = !1,\n caughtError = null,\n hasRethrowError = !1,\n rethrowError = null,\n reporter = {\n onError: function(error) {\n hasError = !0;\n caughtError = error;\n }\n };\nfunction invokeGuardedCallback(name, func, context, a, b, c, d, e, f) {\n hasError = !1;\n caughtError = null;\n invokeGuardedCallbackImpl.apply(reporter, arguments);\n}\nfunction invokeGuardedCallbackAndCatchFirstError(\n name,\n func,\n context,\n a,\n b,\n c,\n d,\n e,\n f\n) {\n invokeGuardedCallback.apply(this, arguments);\n if (hasError) {\n if (hasError) {\n var error = caughtError;\n hasError = !1;\n caughtError = null;\n } else\n throw Error(\n \"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.\"\n );\n hasRethrowError || ((hasRethrowError = !0), (rethrowError = error));\n }\n}\nvar isArrayImpl = Array.isArray,\n getFiberCurrentPropsFromNode = null,\n getInstanceFromNode = null,\n getNodeFromInstance = null;\nfunction executeDispatch(event, listener, inst) {\n var type = event.type || \"unknown-event\";\n event.currentTarget = getNodeFromInstance(inst);\n invokeGuardedCallbackAndCatchFirstError(type, listener, void 0, event);\n event.currentTarget = null;\n}\nfunction executeDirectDispatch(event) {\n var dispatchListener = event._dispatchListeners,\n dispatchInstance = event._dispatchInstances;\n if (isArrayImpl(dispatchListener))\n throw Error(\"executeDirectDispatch(...): Invalid `event`.\");\n event.currentTarget = dispatchListener\n ? getNodeFromInstance(dispatchInstance)\n : null;\n dispatchListener = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return dispatchListener;\n}\nvar assign = Object.assign;\nfunction functionThatReturnsTrue() {\n return !0;\n}\nfunction functionThatReturnsFalse() {\n return !1;\n}\nfunction SyntheticEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n) {\n this.dispatchConfig = dispatchConfig;\n this._targetInst = targetInst;\n this.nativeEvent = nativeEvent;\n this._dispatchInstances = this._dispatchListeners = null;\n dispatchConfig = this.constructor.Interface;\n for (var propName in dispatchConfig)\n dispatchConfig.hasOwnProperty(propName) &&\n ((targetInst = dispatchConfig[propName])\n ? (this[propName] = targetInst(nativeEvent))\n : \"target\" === propName\n ? (this.target = nativeEventTarget)\n : (this[propName] = nativeEvent[propName]));\n this.isDefaultPrevented = (null != nativeEvent.defaultPrevented\n ? nativeEvent.defaultPrevented\n : !1 === nativeEvent.returnValue)\n ? functionThatReturnsTrue\n : functionThatReturnsFalse;\n this.isPropagationStopped = functionThatReturnsFalse;\n return this;\n}\nassign(SyntheticEvent.prototype, {\n preventDefault: function() {\n this.defaultPrevented = !0;\n var event = this.nativeEvent;\n event &&\n (event.preventDefault\n ? event.preventDefault()\n : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n (this.isDefaultPrevented = functionThatReturnsTrue));\n },\n stopPropagation: function() {\n var event = this.nativeEvent;\n event &&\n (event.stopPropagation\n ? event.stopPropagation()\n : \"unknown\" !== typeof event.cancelBubble && (event.cancelBubble = !0),\n (this.isPropagationStopped = functionThatReturnsTrue));\n },\n persist: function() {\n this.isPersistent = functionThatReturnsTrue;\n },\n isPersistent: functionThatReturnsFalse,\n destructor: function() {\n var Interface = this.constructor.Interface,\n propName;\n for (propName in Interface) this[propName] = null;\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = functionThatReturnsFalse;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\nSyntheticEvent.Interface = {\n type: null,\n target: null,\n currentTarget: function() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function(event) {\n return event.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\nSyntheticEvent.extend = function(Interface) {\n function E() {}\n function Class() {\n return Super.apply(this, arguments);\n }\n var Super = this;\n E.prototype = Super.prototype;\n var prototype = new E();\n assign(prototype, Class.prototype);\n Class.prototype = prototype;\n Class.prototype.constructor = Class;\n Class.Interface = assign({}, Super.Interface, Interface);\n Class.extend = Super.extend;\n addEventPoolingTo(Class);\n return Class;\n};\naddEventPoolingTo(SyntheticEvent);\nfunction createOrGetPooledEvent(\n dispatchConfig,\n targetInst,\n nativeEvent,\n nativeInst\n) {\n if (this.eventPool.length) {\n var instance = this.eventPool.pop();\n this.call(instance, dispatchConfig, targetInst, nativeEvent, nativeInst);\n return instance;\n }\n return new this(dispatchConfig, targetInst, nativeEvent, nativeInst);\n}\nfunction releasePooledEvent(event) {\n if (!(event instanceof this))\n throw Error(\n \"Trying to release an event instance into a pool of a different type.\"\n );\n event.destructor();\n 10 > this.eventPool.length && this.eventPool.push(event);\n}\nfunction addEventPoolingTo(EventConstructor) {\n EventConstructor.getPooled = createOrGetPooledEvent;\n EventConstructor.eventPool = [];\n EventConstructor.release = releasePooledEvent;\n}\nvar ResponderSyntheticEvent = SyntheticEvent.extend({\n touchHistory: function() {\n return null;\n }\n});\nfunction isStartish(topLevelType) {\n return \"topTouchStart\" === topLevelType;\n}\nfunction isMoveish(topLevelType) {\n return \"topTouchMove\" === topLevelType;\n}\nvar startDependencies = [\"topTouchStart\"],\n moveDependencies = [\"topTouchMove\"],\n endDependencies = [\"topTouchCancel\", \"topTouchEnd\"],\n touchBank = [],\n touchHistory = {\n touchBank: touchBank,\n numberActiveTouches: 0,\n indexOfSingleActiveTouch: -1,\n mostRecentTimeStamp: 0\n };\nfunction timestampForTouch(touch) {\n return touch.timeStamp || touch.timestamp;\n}\nfunction getTouchIdentifier(_ref) {\n _ref = _ref.identifier;\n if (null == _ref) throw Error(\"Touch object is missing identifier.\");\n return _ref;\n}\nfunction recordTouchStart(touch) {\n var identifier = getTouchIdentifier(touch),\n touchRecord = touchBank[identifier];\n touchRecord\n ? ((touchRecord.touchActive = !0),\n (touchRecord.startPageX = touch.pageX),\n (touchRecord.startPageY = touch.pageY),\n (touchRecord.startTimeStamp = timestampForTouch(touch)),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchRecord.previousPageX = touch.pageX),\n (touchRecord.previousPageY = touch.pageY),\n (touchRecord.previousTimeStamp = timestampForTouch(touch)))\n : ((touchRecord = {\n touchActive: !0,\n startPageX: touch.pageX,\n startPageY: touch.pageY,\n startTimeStamp: timestampForTouch(touch),\n currentPageX: touch.pageX,\n currentPageY: touch.pageY,\n currentTimeStamp: timestampForTouch(touch),\n previousPageX: touch.pageX,\n previousPageY: touch.pageY,\n previousTimeStamp: timestampForTouch(touch)\n }),\n (touchBank[identifier] = touchRecord));\n touchHistory.mostRecentTimeStamp = timestampForTouch(touch);\n}\nfunction recordTouchMove(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !0),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nfunction recordTouchEnd(touch) {\n var touchRecord = touchBank[getTouchIdentifier(touch)];\n touchRecord &&\n ((touchRecord.touchActive = !1),\n (touchRecord.previousPageX = touchRecord.currentPageX),\n (touchRecord.previousPageY = touchRecord.currentPageY),\n (touchRecord.previousTimeStamp = touchRecord.currentTimeStamp),\n (touchRecord.currentPageX = touch.pageX),\n (touchRecord.currentPageY = touch.pageY),\n (touchRecord.currentTimeStamp = timestampForTouch(touch)),\n (touchHistory.mostRecentTimeStamp = timestampForTouch(touch)));\n}\nvar instrumentationCallback,\n ResponderTouchHistoryStore = {\n instrument: function(callback) {\n instrumentationCallback = callback;\n },\n recordTouchTrack: function(topLevelType, nativeEvent) {\n null != instrumentationCallback &&\n instrumentationCallback(topLevelType, nativeEvent);\n if (isMoveish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchMove);\n else if (isStartish(topLevelType))\n nativeEvent.changedTouches.forEach(recordTouchStart),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches &&\n (touchHistory.indexOfSingleActiveTouch =\n nativeEvent.touches[0].identifier);\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (\n (nativeEvent.changedTouches.forEach(recordTouchEnd),\n (touchHistory.numberActiveTouches = nativeEvent.touches.length),\n 1 === touchHistory.numberActiveTouches)\n )\n for (\n topLevelType = 0;\n topLevelType < touchBank.length;\n topLevelType++\n )\n if (\n ((nativeEvent = touchBank[topLevelType]),\n null != nativeEvent && nativeEvent.touchActive)\n ) {\n touchHistory.indexOfSingleActiveTouch = topLevelType;\n break;\n }\n },\n touchHistory: touchHistory\n };\nfunction accumulate(current, next) {\n if (null == next)\n throw Error(\n \"accumulate(...): Accumulated items must not be null or undefined.\"\n );\n return null == current\n ? next\n : isArrayImpl(current)\n ? current.concat(next)\n : isArrayImpl(next)\n ? [current].concat(next)\n : [current, next];\n}\nfunction accumulateInto(current, next) {\n if (null == next)\n throw Error(\n \"accumulateInto(...): Accumulated items must not be null or undefined.\"\n );\n if (null == current) return next;\n if (isArrayImpl(current)) {\n if (isArrayImpl(next)) return current.push.apply(current, next), current;\n current.push(next);\n return current;\n }\n return isArrayImpl(next) ? [current].concat(next) : [current, next];\n}\nfunction forEachAccumulated(arr, cb, scope) {\n Array.isArray(arr) ? arr.forEach(cb, scope) : arr && cb.call(scope, arr);\n}\nvar responderInst = null,\n trackedTouchCount = 0;\nfunction changeResponder(nextResponderInst, blockHostResponder) {\n var oldResponderInst = responderInst;\n responderInst = nextResponderInst;\n if (null !== ResponderEventPlugin.GlobalResponderHandler)\n ResponderEventPlugin.GlobalResponderHandler.onChange(\n oldResponderInst,\n nextResponderInst,\n blockHostResponder\n );\n}\nvar eventTypes = {\n startShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onStartShouldSetResponder\",\n captured: \"onStartShouldSetResponderCapture\"\n },\n dependencies: startDependencies\n },\n scrollShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onScrollShouldSetResponder\",\n captured: \"onScrollShouldSetResponderCapture\"\n },\n dependencies: [\"topScroll\"]\n },\n selectionChangeShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onSelectionChangeShouldSetResponder\",\n captured: \"onSelectionChangeShouldSetResponderCapture\"\n },\n dependencies: [\"topSelectionChange\"]\n },\n moveShouldSetResponder: {\n phasedRegistrationNames: {\n bubbled: \"onMoveShouldSetResponder\",\n captured: \"onMoveShouldSetResponderCapture\"\n },\n dependencies: moveDependencies\n },\n responderStart: {\n registrationName: \"onResponderStart\",\n dependencies: startDependencies\n },\n responderMove: {\n registrationName: \"onResponderMove\",\n dependencies: moveDependencies\n },\n responderEnd: {\n registrationName: \"onResponderEnd\",\n dependencies: endDependencies\n },\n responderRelease: {\n registrationName: \"onResponderRelease\",\n dependencies: endDependencies\n },\n responderTerminationRequest: {\n registrationName: \"onResponderTerminationRequest\",\n dependencies: []\n },\n responderGrant: { registrationName: \"onResponderGrant\", dependencies: [] },\n responderReject: { registrationName: \"onResponderReject\", dependencies: [] },\n responderTerminate: {\n registrationName: \"onResponderTerminate\",\n dependencies: []\n }\n};\nfunction getParent(inst) {\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n return inst ? inst : null;\n}\nfunction traverseTwoPhase(inst, fn, arg) {\n for (var path = []; inst; ) path.push(inst), (inst = getParent(inst));\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction getListener(inst, registrationName) {\n inst = inst.stateNode;\n if (null === inst) return null;\n inst = getFiberCurrentPropsFromNode(inst);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n return inst;\n}\nfunction accumulateDirectionalDispatches(inst, phase, event) {\n if (\n (phase = getListener(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase]\n ))\n )\n (event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n phase\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n ));\n}\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listener = getListener(inst, event.dispatchConfig.registrationName);\n listener &&\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listener\n )),\n (event._dispatchInstances = accumulateInto(\n event._dispatchInstances,\n inst\n )));\n }\n }\n}\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n targetInst = targetInst ? getParent(targetInst) : null;\n traverseTwoPhase(targetInst, accumulateDirectionalDispatches, event);\n }\n}\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n}\nvar ResponderEventPlugin = {\n _getResponder: function() {\n return responderInst;\n },\n eventTypes: eventTypes,\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (isStartish(topLevelType)) trackedTouchCount += 1;\n else if (\n \"topTouchEnd\" === topLevelType ||\n \"topTouchCancel\" === topLevelType\n )\n if (0 <= trackedTouchCount) --trackedTouchCount;\n else return null;\n ResponderTouchHistoryStore.recordTouchTrack(topLevelType, nativeEvent);\n if (\n targetInst &&\n ((\"topScroll\" === topLevelType && !nativeEvent.responderIgnoreScroll) ||\n (0 < trackedTouchCount && \"topSelectionChange\" === topLevelType) ||\n isStartish(topLevelType) ||\n isMoveish(topLevelType))\n ) {\n var shouldSetEventType = isStartish(topLevelType)\n ? eventTypes.startShouldSetResponder\n : isMoveish(topLevelType)\n ? eventTypes.moveShouldSetResponder\n : \"topSelectionChange\" === topLevelType\n ? eventTypes.selectionChangeShouldSetResponder\n : eventTypes.scrollShouldSetResponder;\n if (responderInst)\n b: {\n var JSCompiler_temp = responderInst;\n for (\n var depthA = 0, tempA = JSCompiler_temp;\n tempA;\n tempA = getParent(tempA)\n )\n depthA++;\n tempA = 0;\n for (var tempB = targetInst; tempB; tempB = getParent(tempB))\n tempA++;\n for (; 0 < depthA - tempA; )\n (JSCompiler_temp = getParent(JSCompiler_temp)), depthA--;\n for (; 0 < tempA - depthA; )\n (targetInst = getParent(targetInst)), tempA--;\n for (; depthA--; ) {\n if (\n JSCompiler_temp === targetInst ||\n JSCompiler_temp === targetInst.alternate\n )\n break b;\n JSCompiler_temp = getParent(JSCompiler_temp);\n targetInst = getParent(targetInst);\n }\n JSCompiler_temp = null;\n }\n else JSCompiler_temp = targetInst;\n targetInst = JSCompiler_temp;\n JSCompiler_temp = targetInst === responderInst;\n shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory;\n JSCompiler_temp\n ? forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingleSkipTarget\n )\n : forEachAccumulated(\n shouldSetEventType,\n accumulateTwoPhaseDispatchesSingle\n );\n b: {\n JSCompiler_temp = shouldSetEventType._dispatchListeners;\n targetInst = shouldSetEventType._dispatchInstances;\n if (isArrayImpl(JSCompiler_temp))\n for (\n depthA = 0;\n depthA < JSCompiler_temp.length &&\n !shouldSetEventType.isPropagationStopped();\n depthA++\n ) {\n if (\n JSCompiler_temp[depthA](shouldSetEventType, targetInst[depthA])\n ) {\n JSCompiler_temp = targetInst[depthA];\n break b;\n }\n }\n else if (\n JSCompiler_temp &&\n JSCompiler_temp(shouldSetEventType, targetInst)\n ) {\n JSCompiler_temp = targetInst;\n break b;\n }\n JSCompiler_temp = null;\n }\n shouldSetEventType._dispatchInstances = null;\n shouldSetEventType._dispatchListeners = null;\n shouldSetEventType.isPersistent() ||\n shouldSetEventType.constructor.release(shouldSetEventType);\n if (JSCompiler_temp && JSCompiler_temp !== responderInst)\n if (\n ((shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderGrant,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (targetInst = !0 === executeDirectDispatch(shouldSetEventType)),\n responderInst)\n )\n if (\n ((depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminationRequest,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (depthA.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle),\n (tempA =\n !depthA._dispatchListeners || executeDirectDispatch(depthA)),\n depthA.isPersistent() || depthA.constructor.release(depthA),\n tempA)\n ) {\n depthA = ResponderSyntheticEvent.getPooled(\n eventTypes.responderTerminate,\n responderInst,\n nativeEvent,\n nativeEventTarget\n );\n depthA.touchHistory = ResponderTouchHistoryStore.touchHistory;\n forEachAccumulated(depthA, accumulateDirectDispatchesSingle);\n var JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n [shouldSetEventType, depthA]\n );\n changeResponder(JSCompiler_temp, targetInst);\n } else\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n eventTypes.responderReject,\n JSCompiler_temp,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n else\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n )),\n changeResponder(JSCompiler_temp, targetInst);\n else JSCompiler_temp$jscomp$0 = null;\n } else JSCompiler_temp$jscomp$0 = null;\n shouldSetEventType = responderInst && isStartish(topLevelType);\n JSCompiler_temp = responderInst && isMoveish(topLevelType);\n targetInst =\n responderInst &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType);\n if (\n (shouldSetEventType = shouldSetEventType\n ? eventTypes.responderStart\n : JSCompiler_temp\n ? eventTypes.responderMove\n : targetInst\n ? eventTypes.responderEnd\n : null)\n )\n (shouldSetEventType = ResponderSyntheticEvent.getPooled(\n shouldSetEventType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (shouldSetEventType.touchHistory =\n ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(\n shouldSetEventType,\n accumulateDirectDispatchesSingle\n ),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n shouldSetEventType\n ));\n shouldSetEventType = responderInst && \"topTouchCancel\" === topLevelType;\n if (\n (topLevelType =\n responderInst &&\n !shouldSetEventType &&\n (\"topTouchEnd\" === topLevelType || \"topTouchCancel\" === topLevelType))\n )\n a: {\n if ((topLevelType = nativeEvent.touches) && 0 !== topLevelType.length)\n for (\n JSCompiler_temp = 0;\n JSCompiler_temp < topLevelType.length;\n JSCompiler_temp++\n )\n if (\n ((targetInst = topLevelType[JSCompiler_temp].target),\n null !== targetInst &&\n void 0 !== targetInst &&\n 0 !== targetInst)\n ) {\n depthA = getInstanceFromNode(targetInst);\n b: {\n for (targetInst = responderInst; depthA; ) {\n if (\n targetInst === depthA ||\n targetInst === depthA.alternate\n ) {\n targetInst = !0;\n break b;\n }\n depthA = getParent(depthA);\n }\n targetInst = !1;\n }\n if (targetInst) {\n topLevelType = !1;\n break a;\n }\n }\n topLevelType = !0;\n }\n if (\n (topLevelType = shouldSetEventType\n ? eventTypes.responderTerminate\n : topLevelType\n ? eventTypes.responderRelease\n : null)\n )\n (nativeEvent = ResponderSyntheticEvent.getPooled(\n topLevelType,\n responderInst,\n nativeEvent,\n nativeEventTarget\n )),\n (nativeEvent.touchHistory = ResponderTouchHistoryStore.touchHistory),\n forEachAccumulated(nativeEvent, accumulateDirectDispatchesSingle),\n (JSCompiler_temp$jscomp$0 = accumulate(\n JSCompiler_temp$jscomp$0,\n nativeEvent\n )),\n changeResponder(null);\n return JSCompiler_temp$jscomp$0;\n },\n GlobalResponderHandler: null,\n injection: {\n injectGlobalResponderHandler: function(GlobalResponderHandler) {\n ResponderEventPlugin.GlobalResponderHandler = GlobalResponderHandler;\n }\n }\n },\n eventPluginOrder = null,\n namesToPlugins = {};\nfunction recomputePluginOrdering() {\n if (eventPluginOrder)\n for (var pluginName in namesToPlugins) {\n var pluginModule = namesToPlugins[pluginName],\n pluginIndex = eventPluginOrder.indexOf(pluginName);\n if (-1 >= pluginIndex)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `\" +\n (pluginName + \"`.\")\n );\n if (!plugins[pluginIndex]) {\n if (!pluginModule.extractEvents)\n throw Error(\n \"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `\" +\n (pluginName + \"` does not.\")\n );\n plugins[pluginIndex] = pluginModule;\n pluginIndex = pluginModule.eventTypes;\n for (var eventName in pluginIndex) {\n var JSCompiler_inline_result = void 0;\n var dispatchConfig = pluginIndex[eventName],\n eventName$jscomp$0 = eventName;\n if (eventNameDispatchConfigs.hasOwnProperty(eventName$jscomp$0))\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same event name, `\" +\n (eventName$jscomp$0 + \"`.\")\n );\n eventNameDispatchConfigs[eventName$jscomp$0] = dispatchConfig;\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (JSCompiler_inline_result in phasedRegistrationNames)\n phasedRegistrationNames.hasOwnProperty(\n JSCompiler_inline_result\n ) &&\n publishRegistrationName(\n phasedRegistrationNames[JSCompiler_inline_result],\n pluginModule,\n eventName$jscomp$0\n );\n JSCompiler_inline_result = !0;\n } else\n dispatchConfig.registrationName\n ? (publishRegistrationName(\n dispatchConfig.registrationName,\n pluginModule,\n eventName$jscomp$0\n ),\n (JSCompiler_inline_result = !0))\n : (JSCompiler_inline_result = !1);\n if (!JSCompiler_inline_result)\n throw Error(\n \"EventPluginRegistry: Failed to publish event `\" +\n eventName +\n \"` for plugin `\" +\n pluginName +\n \"`.\"\n );\n }\n }\n }\n}\nfunction publishRegistrationName(registrationName, pluginModule) {\n if (registrationNameModules[registrationName])\n throw Error(\n \"EventPluginRegistry: More than one plugin attempted to publish the same registration name, `\" +\n (registrationName + \"`.\")\n );\n registrationNameModules[registrationName] = pluginModule;\n}\nvar plugins = [],\n eventNameDispatchConfigs = {},\n registrationNameModules = {};\nfunction getListeners(\n inst,\n registrationName,\n phase,\n dispatchToImperativeListeners\n) {\n var stateNode = inst.stateNode;\n if (null === stateNode) return null;\n inst = getFiberCurrentPropsFromNode(stateNode);\n if (null === inst) return null;\n if ((inst = inst[registrationName]) && \"function\" !== typeof inst)\n throw Error(\n \"Expected `\" +\n registrationName +\n \"` listener to be a function, instead got a value of `\" +\n typeof inst +\n \"` type.\"\n );\n if (\n !(\n dispatchToImperativeListeners &&\n stateNode.canonical &&\n stateNode.canonical._eventListeners\n )\n )\n return inst;\n var listeners = [];\n inst && listeners.push(inst);\n var requestedPhaseIsCapture = \"captured\" === phase,\n mangledImperativeRegistrationName = requestedPhaseIsCapture\n ? \"rn:\" + registrationName.replace(/Capture$/, \"\")\n : \"rn:\" + registrationName;\n stateNode.canonical._eventListeners[mangledImperativeRegistrationName] &&\n 0 <\n stateNode.canonical._eventListeners[mangledImperativeRegistrationName]\n .length &&\n stateNode.canonical._eventListeners[\n mangledImperativeRegistrationName\n ].forEach(function(listenerObj) {\n if (\n (null != listenerObj.options.capture && listenerObj.options.capture) ===\n requestedPhaseIsCapture\n ) {\n var listenerFnWrapper = function(syntheticEvent) {\n var eventInst = new ReactNativePrivateInterface.CustomEvent(\n mangledImperativeRegistrationName,\n { detail: syntheticEvent.nativeEvent }\n );\n eventInst.isTrusted = !0;\n eventInst.setSyntheticEvent(syntheticEvent);\n for (\n var _len = arguments.length,\n args = Array(1 < _len ? _len - 1 : 0),\n _key = 1;\n _key < _len;\n _key++\n )\n args[_key - 1] = arguments[_key];\n listenerObj.listener.apply(listenerObj, [eventInst].concat(args));\n };\n listenerObj.options.once\n ? listeners.push(function() {\n stateNode.canonical.removeEventListener_unstable(\n mangledImperativeRegistrationName,\n listenerObj.listener,\n listenerObj.capture\n );\n listenerObj.invalidated ||\n ((listenerObj.invalidated = !0),\n listenerObj.listener.apply(listenerObj, arguments));\n })\n : listeners.push(listenerFnWrapper);\n }\n });\n return 0 === listeners.length\n ? null\n : 1 === listeners.length\n ? listeners[0]\n : listeners;\n}\nvar customBubblingEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customBubblingEventTypes,\n customDirectEventTypes =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry\n .customDirectEventTypes;\nfunction accumulateListenersAndInstances(inst, event, listeners) {\n var listenersLength = listeners\n ? isArrayImpl(listeners)\n ? listeners.length\n : 1\n : 0;\n if (0 < listenersLength)\n if (\n ((event._dispatchListeners = accumulateInto(\n event._dispatchListeners,\n listeners\n )),\n null == event._dispatchInstances && 1 === listenersLength)\n )\n event._dispatchInstances = inst;\n else\n for (\n event._dispatchInstances = event._dispatchInstances || [],\n isArrayImpl(event._dispatchInstances) ||\n (event._dispatchInstances = [event._dispatchInstances]),\n listeners = 0;\n listeners < listenersLength;\n listeners++\n )\n event._dispatchInstances.push(inst);\n}\nfunction accumulateDirectionalDispatches$1(inst, phase, event) {\n phase = getListeners(\n inst,\n event.dispatchConfig.phasedRegistrationNames[phase],\n phase,\n !0\n );\n accumulateListenersAndInstances(inst, event, phase);\n}\nfunction traverseTwoPhase$1(inst, fn, arg, skipBubbling) {\n for (var path = []; inst; ) {\n path.push(inst);\n do inst = inst.return;\n while (inst && 5 !== inst.tag);\n inst = inst ? inst : null;\n }\n for (inst = path.length; 0 < inst--; ) fn(path[inst], \"captured\", arg);\n if (skipBubbling) fn(path[0], \"bubbled\", arg);\n else\n for (inst = 0; inst < path.length; inst++) fn(path[inst], \"bubbled\", arg);\n}\nfunction accumulateTwoPhaseDispatchesSingle$1(event) {\n event &&\n event.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase$1(\n event._targetInst,\n accumulateDirectionalDispatches$1,\n event,\n !1\n );\n}\nfunction accumulateDirectDispatchesSingle$1(event) {\n if (event && event.dispatchConfig.registrationName) {\n var inst = event._targetInst;\n if (inst && event && event.dispatchConfig.registrationName) {\n var listeners = getListeners(\n inst,\n event.dispatchConfig.registrationName,\n \"bubbled\",\n !1\n );\n accumulateListenersAndInstances(inst, event, listeners);\n }\n }\n}\nif (eventPluginOrder)\n throw Error(\n \"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.\"\n );\neventPluginOrder = Array.prototype.slice.call([\n \"ResponderEventPlugin\",\n \"ReactNativeBridgeEventPlugin\"\n]);\nrecomputePluginOrdering();\nvar injectedNamesToPlugins$jscomp$inline_229 = {\n ResponderEventPlugin: ResponderEventPlugin,\n ReactNativeBridgeEventPlugin: {\n eventTypes: {},\n extractEvents: function(\n topLevelType,\n targetInst,\n nativeEvent,\n nativeEventTarget\n ) {\n if (null == targetInst) return null;\n var bubbleDispatchConfig = customBubblingEventTypes[topLevelType],\n directDispatchConfig = customDirectEventTypes[topLevelType];\n if (!bubbleDispatchConfig && !directDispatchConfig)\n throw Error(\n 'Unsupported top level event type \"' + topLevelType + '\" dispatched'\n );\n topLevelType = SyntheticEvent.getPooled(\n bubbleDispatchConfig || directDispatchConfig,\n targetInst,\n nativeEvent,\n nativeEventTarget\n );\n if (bubbleDispatchConfig)\n null != topLevelType &&\n null != topLevelType.dispatchConfig.phasedRegistrationNames &&\n topLevelType.dispatchConfig.phasedRegistrationNames.skipBubbling\n ? topLevelType &&\n topLevelType.dispatchConfig.phasedRegistrationNames &&\n traverseTwoPhase$1(\n topLevelType._targetInst,\n accumulateDirectionalDispatches$1,\n topLevelType,\n !0\n )\n : forEachAccumulated(\n topLevelType,\n accumulateTwoPhaseDispatchesSingle$1\n );\n else if (directDispatchConfig)\n forEachAccumulated(topLevelType, accumulateDirectDispatchesSingle$1);\n else return null;\n return topLevelType;\n }\n }\n },\n isOrderingDirty$jscomp$inline_230 = !1,\n pluginName$jscomp$inline_231;\nfor (pluginName$jscomp$inline_231 in injectedNamesToPlugins$jscomp$inline_229)\n if (\n injectedNamesToPlugins$jscomp$inline_229.hasOwnProperty(\n pluginName$jscomp$inline_231\n )\n ) {\n var pluginModule$jscomp$inline_232 =\n injectedNamesToPlugins$jscomp$inline_229[pluginName$jscomp$inline_231];\n if (\n !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_231) ||\n namesToPlugins[pluginName$jscomp$inline_231] !==\n pluginModule$jscomp$inline_232\n ) {\n if (namesToPlugins[pluginName$jscomp$inline_231])\n throw Error(\n \"EventPluginRegistry: Cannot inject two different event plugins using the same name, `\" +\n (pluginName$jscomp$inline_231 + \"`.\")\n );\n namesToPlugins[\n pluginName$jscomp$inline_231\n ] = pluginModule$jscomp$inline_232;\n isOrderingDirty$jscomp$inline_230 = !0;\n }\n }\nisOrderingDirty$jscomp$inline_230 && recomputePluginOrdering();\nvar instanceCache = new Map(),\n instanceProps = new Map();\nfunction getInstanceFromTag(tag) {\n return instanceCache.get(tag) || null;\n}\nfunction batchedUpdatesImpl(fn, bookkeeping) {\n return fn(bookkeeping);\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates(fn, bookkeeping) {\n if (isInsideEventHandler) return fn(bookkeeping);\n isInsideEventHandler = !0;\n try {\n return batchedUpdatesImpl(fn, bookkeeping);\n } finally {\n isInsideEventHandler = !1;\n }\n}\nvar eventQueue = null;\nfunction executeDispatchesAndReleaseTopLevel(e) {\n if (e) {\n var dispatchListeners = e._dispatchListeners,\n dispatchInstances = e._dispatchInstances;\n if (isArrayImpl(dispatchListeners))\n for (\n var i = 0;\n i < dispatchListeners.length && !e.isPropagationStopped();\n i++\n )\n executeDispatch(e, dispatchListeners[i], dispatchInstances[i]);\n else\n dispatchListeners &&\n executeDispatch(e, dispatchListeners, dispatchInstances);\n e._dispatchListeners = null;\n e._dispatchInstances = null;\n e.isPersistent() || e.constructor.release(e);\n }\n}\nvar EMPTY_NATIVE_EVENT = {};\nfunction _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam) {\n var nativeEvent = nativeEventParam || EMPTY_NATIVE_EVENT,\n inst = getInstanceFromTag(rootNodeID),\n target = null;\n null != inst && (target = inst.stateNode);\n batchedUpdates(function() {\n var JSCompiler_inline_result = target;\n for (\n var events = null, legacyPlugins = plugins, i = 0;\n i < legacyPlugins.length;\n i++\n ) {\n var possiblePlugin = legacyPlugins[i];\n possiblePlugin &&\n (possiblePlugin = possiblePlugin.extractEvents(\n topLevelType,\n inst,\n nativeEvent,\n JSCompiler_inline_result\n )) &&\n (events = accumulateInto(events, possiblePlugin));\n }\n JSCompiler_inline_result = events;\n null !== JSCompiler_inline_result &&\n (eventQueue = accumulateInto(eventQueue, JSCompiler_inline_result));\n JSCompiler_inline_result = eventQueue;\n eventQueue = null;\n if (JSCompiler_inline_result) {\n forEachAccumulated(\n JSCompiler_inline_result,\n executeDispatchesAndReleaseTopLevel\n );\n if (eventQueue)\n throw Error(\n \"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.\"\n );\n if (hasRethrowError)\n throw ((JSCompiler_inline_result = rethrowError),\n (hasRethrowError = !1),\n (rethrowError = null),\n JSCompiler_inline_result);\n }\n });\n}\nReactNativePrivateInterface.RCTEventEmitter.register({\n receiveEvent: function(rootNodeID, topLevelType, nativeEventParam) {\n _receiveRootNodeIDEvent(rootNodeID, topLevelType, nativeEventParam);\n },\n receiveTouches: function(eventTopLevelType, touches, changedIndices) {\n if (\n \"topTouchEnd\" === eventTopLevelType ||\n \"topTouchCancel\" === eventTopLevelType\n ) {\n var JSCompiler_temp = [];\n for (var i = 0; i < changedIndices.length; i++) {\n var index$0 = changedIndices[i];\n JSCompiler_temp.push(touches[index$0]);\n touches[index$0] = null;\n }\n for (i = changedIndices = 0; i < touches.length; i++)\n (index$0 = touches[i]),\n null !== index$0 && (touches[changedIndices++] = index$0);\n touches.length = changedIndices;\n } else\n for (JSCompiler_temp = [], i = 0; i < changedIndices.length; i++)\n JSCompiler_temp.push(touches[changedIndices[i]]);\n for (\n changedIndices = 0;\n changedIndices < JSCompiler_temp.length;\n changedIndices++\n ) {\n i = JSCompiler_temp[changedIndices];\n i.changedTouches = JSCompiler_temp;\n i.touches = touches;\n index$0 = null;\n var target = i.target;\n null === target || void 0 === target || 1 > target || (index$0 = target);\n _receiveRootNodeIDEvent(index$0, eventTopLevelType, i);\n }\n }\n});\ngetFiberCurrentPropsFromNode = function(stateNode) {\n return instanceProps.get(stateNode._nativeTag) || null;\n};\ngetInstanceFromNode = getInstanceFromTag;\ngetNodeFromInstance = function(inst) {\n inst = inst.stateNode;\n var tag = inst._nativeTag;\n void 0 === tag && ((inst = inst.canonical), (tag = inst._nativeTag));\n if (!tag) throw Error(\"All native instances should have a tag.\");\n return inst;\n};\nResponderEventPlugin.injection.injectGlobalResponderHandler({\n onChange: function(from, to, blockNativeResponder) {\n null !== to\n ? ReactNativePrivateInterface.UIManager.setJSResponder(\n to.stateNode._nativeTag,\n blockNativeResponder\n )\n : ReactNativePrivateInterface.UIManager.clearJSResponder();\n }\n});\nvar ReactSharedInternals =\n React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,\n REACT_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_PROVIDER_TYPE = Symbol.for(\"react.provider\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nSymbol.for(\"react.scope\");\nSymbol.for(\"react.debug_trace_mode\");\nvar REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\");\nSymbol.for(\"react.legacy_hidden\");\nSymbol.for(\"react.cache\");\nSymbol.for(\"react.tracing_marker\");\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n maybeIterable =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[\"@@iterator\"];\n return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nfunction getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type) return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Consumer\";\n case REACT_PROVIDER_TYPE:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n}\nfunction getComponentNameFromFiber(fiber) {\n var type = fiber.type;\n switch (fiber.tag) {\n case 24:\n return \"Cache\";\n case 9:\n return (type.displayName || \"Context\") + \".Consumer\";\n case 10:\n return (type._context.displayName || \"Context\") + \".Provider\";\n case 18:\n return \"DehydratedFragment\";\n case 11:\n return (\n (fiber = type.render),\n (fiber = fiber.displayName || fiber.name || \"\"),\n type.displayName ||\n (\"\" !== fiber ? \"ForwardRef(\" + fiber + \")\" : \"ForwardRef\")\n );\n case 7:\n return \"Fragment\";\n case 5:\n return type;\n case 4:\n return \"Portal\";\n case 3:\n return \"Root\";\n case 6:\n return \"Text\";\n case 16:\n return getComponentNameFromType(type);\n case 8:\n return type === REACT_STRICT_MODE_TYPE ? \"StrictMode\" : \"Mode\";\n case 22:\n return \"Offscreen\";\n case 12:\n return \"Profiler\";\n case 21:\n return \"Scope\";\n case 13:\n return \"Suspense\";\n case 19:\n return \"SuspenseList\";\n case 25:\n return \"TracingMarker\";\n case 1:\n case 0:\n case 17:\n case 2:\n case 14:\n case 15:\n if (\"function\" === typeof type)\n return type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n }\n return null;\n}\nfunction getNearestMountedFiber(fiber) {\n var node = fiber,\n nearestMounted = fiber;\n if (fiber.alternate) for (; node.return; ) node = node.return;\n else {\n fiber = node;\n do\n (node = fiber),\n 0 !== (node.flags & 4098) && (nearestMounted = node.return),\n (fiber = node.return);\n while (fiber);\n }\n return 3 === node.tag ? nearestMounted : null;\n}\nfunction assertIsMounted(fiber) {\n if (getNearestMountedFiber(fiber) !== fiber)\n throw Error(\"Unable to find node on an unmounted component.\");\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n var alternate = fiber.alternate;\n if (!alternate) {\n alternate = getNearestMountedFiber(fiber);\n if (null === alternate)\n throw Error(\"Unable to find node on an unmounted component.\");\n return alternate !== fiber ? null : fiber;\n }\n for (var a = fiber, b = alternate; ; ) {\n var parentA = a.return;\n if (null === parentA) break;\n var parentB = parentA.alternate;\n if (null === parentB) {\n b = parentA.return;\n if (null !== b) {\n a = b;\n continue;\n }\n break;\n }\n if (parentA.child === parentB.child) {\n for (parentB = parentA.child; parentB; ) {\n if (parentB === a) return assertIsMounted(parentA), fiber;\n if (parentB === b) return assertIsMounted(parentA), alternate;\n parentB = parentB.sibling;\n }\n throw Error(\"Unable to find node on an unmounted component.\");\n }\n if (a.return !== b.return) (a = parentA), (b = parentB);\n else {\n for (var didFindChild = !1, child$1 = parentA.child; child$1; ) {\n if (child$1 === a) {\n didFindChild = !0;\n a = parentA;\n b = parentB;\n break;\n }\n if (child$1 === b) {\n didFindChild = !0;\n b = parentA;\n a = parentB;\n break;\n }\n child$1 = child$1.sibling;\n }\n if (!didFindChild) {\n for (child$1 = parentB.child; child$1; ) {\n if (child$1 === a) {\n didFindChild = !0;\n a = parentB;\n b = parentA;\n break;\n }\n if (child$1 === b) {\n didFindChild = !0;\n b = parentB;\n a = parentA;\n break;\n }\n child$1 = child$1.sibling;\n }\n if (!didFindChild)\n throw Error(\n \"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.\"\n );\n }\n }\n if (a.alternate !== b)\n throw Error(\n \"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (3 !== a.tag)\n throw Error(\"Unable to find node on an unmounted component.\");\n return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiber(parent) {\n parent = findCurrentFiberUsingSlowPath(parent);\n return null !== parent ? findCurrentHostFiberImpl(parent) : null;\n}\nfunction findCurrentHostFiberImpl(node) {\n if (5 === node.tag || 6 === node.tag) return node;\n for (node = node.child; null !== node; ) {\n var match = findCurrentHostFiberImpl(node);\n if (null !== match) return match;\n node = node.sibling;\n }\n return null;\n}\nvar emptyObject = {},\n removedKeys = null,\n removedKeyCount = 0,\n deepDifferOptions = { unsafelyIgnoreFunctions: !0 };\nfunction defaultDiffer(prevProp, nextProp) {\n return \"object\" !== typeof nextProp || null === nextProp\n ? !0\n : ReactNativePrivateInterface.deepDiffer(\n prevProp,\n nextProp,\n deepDifferOptions\n );\n}\nfunction restoreDeletedValuesInNestedArray(\n updatePayload,\n node,\n validAttributes\n) {\n if (isArrayImpl(node))\n for (var i = node.length; i-- && 0 < removedKeyCount; )\n restoreDeletedValuesInNestedArray(\n updatePayload,\n node[i],\n validAttributes\n );\n else if (node && 0 < removedKeyCount)\n for (i in removedKeys)\n if (removedKeys[i]) {\n var nextProp = node[i];\n if (void 0 !== nextProp) {\n var attributeConfig = validAttributes[i];\n if (attributeConfig) {\n \"function\" === typeof nextProp && (nextProp = !0);\n \"undefined\" === typeof nextProp && (nextProp = null);\n if (\"object\" !== typeof attributeConfig)\n updatePayload[i] = nextProp;\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (nextProp =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[i] = nextProp);\n removedKeys[i] = !1;\n removedKeyCount--;\n }\n }\n }\n}\nfunction diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n validAttributes\n) {\n if (!updatePayload && prevProp === nextProp) return updatePayload;\n if (!prevProp || !nextProp)\n return nextProp\n ? addNestedProperty(updatePayload, nextProp, validAttributes)\n : prevProp\n ? clearNestedProperty(updatePayload, prevProp, validAttributes)\n : updatePayload;\n if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp))\n return diffProperties(updatePayload, prevProp, nextProp, validAttributes);\n if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) {\n var minLength =\n prevProp.length < nextProp.length ? prevProp.length : nextProp.length,\n i;\n for (i = 0; i < minLength; i++)\n updatePayload = diffNestedProperty(\n updatePayload,\n prevProp[i],\n nextProp[i],\n validAttributes\n );\n for (; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n for (; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n }\n return isArrayImpl(prevProp)\n ? diffProperties(\n updatePayload,\n ReactNativePrivateInterface.flattenStyle(prevProp),\n nextProp,\n validAttributes\n )\n : diffProperties(\n updatePayload,\n prevProp,\n ReactNativePrivateInterface.flattenStyle(nextProp),\n validAttributes\n );\n}\nfunction addNestedProperty(updatePayload, nextProp, validAttributes) {\n if (!nextProp) return updatePayload;\n if (!isArrayImpl(nextProp))\n return diffProperties(\n updatePayload,\n emptyObject,\n nextProp,\n validAttributes\n );\n for (var i = 0; i < nextProp.length; i++)\n updatePayload = addNestedProperty(\n updatePayload,\n nextProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction clearNestedProperty(updatePayload, prevProp, validAttributes) {\n if (!prevProp) return updatePayload;\n if (!isArrayImpl(prevProp))\n return diffProperties(\n updatePayload,\n prevProp,\n emptyObject,\n validAttributes\n );\n for (var i = 0; i < prevProp.length; i++)\n updatePayload = clearNestedProperty(\n updatePayload,\n prevProp[i],\n validAttributes\n );\n return updatePayload;\n}\nfunction diffProperties(updatePayload, prevProps, nextProps, validAttributes) {\n var attributeConfig, propKey;\n for (propKey in nextProps)\n if ((attributeConfig = validAttributes[propKey])) {\n var prevProp = prevProps[propKey];\n var nextProp = nextProps[propKey];\n \"function\" === typeof nextProp &&\n ((nextProp = !0), \"function\" === typeof prevProp && (prevProp = !0));\n \"undefined\" === typeof nextProp &&\n ((nextProp = null),\n \"undefined\" === typeof prevProp && (prevProp = null));\n removedKeys && (removedKeys[propKey] = !1);\n if (updatePayload && void 0 !== updatePayload[propKey])\n if (\"object\" !== typeof attributeConfig)\n updatePayload[propKey] = nextProp;\n else {\n if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n (updatePayload[propKey] = attributeConfig);\n }\n else if (prevProp !== nextProp)\n if (\"object\" !== typeof attributeConfig)\n defaultDiffer(prevProp, nextProp) &&\n ((updatePayload || (updatePayload = {}))[propKey] = nextProp);\n else if (\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ) {\n if (\n void 0 === prevProp ||\n (\"function\" === typeof attributeConfig.diff\n ? attributeConfig.diff(prevProp, nextProp)\n : defaultDiffer(prevProp, nextProp))\n )\n (attributeConfig =\n \"function\" === typeof attributeConfig.process\n ? attributeConfig.process(nextProp)\n : nextProp),\n ((updatePayload || (updatePayload = {}))[\n propKey\n ] = attributeConfig);\n } else\n (removedKeys = null),\n (removedKeyCount = 0),\n (updatePayload = diffNestedProperty(\n updatePayload,\n prevProp,\n nextProp,\n attributeConfig\n )),\n 0 < removedKeyCount &&\n updatePayload &&\n (restoreDeletedValuesInNestedArray(\n updatePayload,\n nextProp,\n attributeConfig\n ),\n (removedKeys = null));\n }\n for (var propKey$3 in prevProps)\n void 0 === nextProps[propKey$3] &&\n (!(attributeConfig = validAttributes[propKey$3]) ||\n (updatePayload && void 0 !== updatePayload[propKey$3]) ||\n ((prevProp = prevProps[propKey$3]),\n void 0 !== prevProp &&\n (\"object\" !== typeof attributeConfig ||\n \"function\" === typeof attributeConfig.diff ||\n \"function\" === typeof attributeConfig.process\n ? (((updatePayload || (updatePayload = {}))[propKey$3] = null),\n removedKeys || (removedKeys = {}),\n removedKeys[propKey$3] ||\n ((removedKeys[propKey$3] = !0), removedKeyCount++))\n : (updatePayload = clearNestedProperty(\n updatePayload,\n prevProp,\n attributeConfig\n )))));\n return updatePayload;\n}\nfunction mountSafeCallback_NOT_REALLY_SAFE(context, callback) {\n return function() {\n if (\n callback &&\n (\"boolean\" !== typeof context.__isMounted || context.__isMounted)\n )\n return callback.apply(context, arguments);\n };\n}\nvar ReactNativeFiberHostComponent = (function() {\n function ReactNativeFiberHostComponent(tag, viewConfig) {\n this._nativeTag = tag;\n this._children = [];\n this.viewConfig = viewConfig;\n }\n var _proto = ReactNativeFiberHostComponent.prototype;\n _proto.blur = function() {\n ReactNativePrivateInterface.TextInputState.blurTextInput(this);\n };\n _proto.focus = function() {\n ReactNativePrivateInterface.TextInputState.focusTextInput(this);\n };\n _proto.measure = function(callback) {\n ReactNativePrivateInterface.UIManager.measure(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureInWindow = function(callback) {\n ReactNativePrivateInterface.UIManager.measureInWindow(\n this._nativeTag,\n mountSafeCallback_NOT_REALLY_SAFE(this, callback)\n );\n };\n _proto.measureLayout = function(relativeToNativeNode, onSuccess, onFail) {\n if (\"number\" === typeof relativeToNativeNode)\n var relativeNode = relativeToNativeNode;\n else\n relativeToNativeNode._nativeTag &&\n (relativeNode = relativeToNativeNode._nativeTag);\n null != relativeNode &&\n ReactNativePrivateInterface.UIManager.measureLayout(\n this._nativeTag,\n relativeNode,\n mountSafeCallback_NOT_REALLY_SAFE(this, onFail),\n mountSafeCallback_NOT_REALLY_SAFE(this, onSuccess)\n );\n };\n _proto.setNativeProps = function(nativeProps) {\n nativeProps = diffProperties(\n null,\n emptyObject,\n nativeProps,\n this.viewConfig.validAttributes\n );\n null != nativeProps &&\n ReactNativePrivateInterface.UIManager.updateView(\n this._nativeTag,\n this.viewConfig.uiViewClassName,\n nativeProps\n );\n };\n return ReactNativeFiberHostComponent;\n })(),\n scheduleCallback = Scheduler.unstable_scheduleCallback,\n cancelCallback = Scheduler.unstable_cancelCallback,\n shouldYield = Scheduler.unstable_shouldYield,\n requestPaint = Scheduler.unstable_requestPaint,\n now = Scheduler.unstable_now,\n ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n NormalPriority = Scheduler.unstable_NormalPriority,\n IdlePriority = Scheduler.unstable_IdlePriority,\n rendererID = null,\n injectedHook = null;\nfunction onCommitRoot(root) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n try {\n injectedHook.onCommitFiberRoot(\n rendererID,\n root,\n void 0,\n 128 === (root.current.flags & 128)\n );\n } catch (err) {}\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n log = Math.log,\n LN2 = Math.LN2;\nfunction clz32Fallback(x) {\n x >>>= 0;\n return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n}\nvar nextTransitionLane = 64,\n nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n switch (lanes & -lanes) {\n case 1:\n return 1;\n case 2:\n return 2;\n case 4:\n return 4;\n case 8:\n return 8;\n case 16:\n return 16;\n case 32:\n return 32;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return lanes & 4194240;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return lanes & 130023424;\n case 134217728:\n return 134217728;\n case 268435456:\n return 268435456;\n case 536870912:\n return 536870912;\n case 1073741824:\n return 1073741824;\n default:\n return lanes;\n }\n}\nfunction getNextLanes(root, wipLanes) {\n var pendingLanes = root.pendingLanes;\n if (0 === pendingLanes) return 0;\n var nextLanes = 0,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n nonIdlePendingLanes = pendingLanes & 268435455;\n if (0 !== nonIdlePendingLanes) {\n var nonIdleUnblockedLanes = nonIdlePendingLanes & ~suspendedLanes;\n 0 !== nonIdleUnblockedLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdleUnblockedLanes))\n : ((pingedLanes &= nonIdlePendingLanes),\n 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes)));\n } else\n (nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n 0 !== nonIdlePendingLanes\n ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n : 0 !== pingedLanes &&\n (nextLanes = getHighestPriorityLanes(pingedLanes));\n if (0 === nextLanes) return 0;\n if (\n 0 !== wipLanes &&\n wipLanes !== nextLanes &&\n 0 === (wipLanes & suspendedLanes) &&\n ((suspendedLanes = nextLanes & -nextLanes),\n (pingedLanes = wipLanes & -wipLanes),\n suspendedLanes >= pingedLanes ||\n (16 === suspendedLanes && 0 !== (pingedLanes & 4194240)))\n )\n return wipLanes;\n 0 !== (nextLanes & 4) && (nextLanes |= pendingLanes & 16);\n wipLanes = root.entangledLanes;\n if (0 !== wipLanes)\n for (root = root.entanglements, wipLanes &= nextLanes; 0 < wipLanes; )\n (pendingLanes = 31 - clz32(wipLanes)),\n (suspendedLanes = 1 << pendingLanes),\n (nextLanes |= root[pendingLanes]),\n (wipLanes &= ~suspendedLanes);\n return nextLanes;\n}\nfunction computeExpirationTime(lane, currentTime) {\n switch (lane) {\n case 1:\n case 2:\n case 4:\n return currentTime + 250;\n case 8:\n case 16:\n case 32:\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n return currentTime + 5e3;\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n return -1;\n case 134217728:\n case 268435456:\n case 536870912:\n case 1073741824:\n return -1;\n default:\n return -1;\n }\n}\nfunction getLanesToRetrySynchronouslyOnError(root) {\n root = root.pendingLanes & -1073741825;\n return 0 !== root ? root : root & 1073741824 ? 1073741824 : 0;\n}\nfunction claimNextTransitionLane() {\n var lane = nextTransitionLane;\n nextTransitionLane <<= 1;\n 0 === (nextTransitionLane & 4194240) && (nextTransitionLane = 64);\n return lane;\n}\nfunction createLaneMap(initial) {\n for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n return laneMap;\n}\nfunction markRootUpdated(root, updateLane, eventTime) {\n root.pendingLanes |= updateLane;\n 536870912 !== updateLane &&\n ((root.suspendedLanes = 0), (root.pingedLanes = 0));\n root = root.eventTimes;\n updateLane = 31 - clz32(updateLane);\n root[updateLane] = eventTime;\n}\nfunction markRootFinished(root, remainingLanes) {\n var noLongerPendingLanes = root.pendingLanes & ~remainingLanes;\n root.pendingLanes = remainingLanes;\n root.suspendedLanes = 0;\n root.pingedLanes = 0;\n root.expiredLanes &= remainingLanes;\n root.mutableReadLanes &= remainingLanes;\n root.entangledLanes &= remainingLanes;\n remainingLanes = root.entanglements;\n var eventTimes = root.eventTimes;\n for (root = root.expirationTimes; 0 < noLongerPendingLanes; ) {\n var index$8 = 31 - clz32(noLongerPendingLanes),\n lane = 1 << index$8;\n remainingLanes[index$8] = 0;\n eventTimes[index$8] = -1;\n root[index$8] = -1;\n noLongerPendingLanes &= ~lane;\n }\n}\nfunction markRootEntangled(root, entangledLanes) {\n var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n for (root = root.entanglements; rootEntangledLanes; ) {\n var index$9 = 31 - clz32(rootEntangledLanes),\n lane = 1 << index$9;\n (lane & entangledLanes) | (root[index$9] & entangledLanes) &&\n (root[index$9] |= entangledLanes);\n rootEntangledLanes &= ~lane;\n }\n}\nvar currentUpdatePriority = 0;\nfunction lanesToEventPriority(lanes) {\n lanes &= -lanes;\n return 1 < lanes\n ? 4 < lanes\n ? 0 !== (lanes & 268435455)\n ? 16\n : 536870912\n : 4\n : 1;\n}\nfunction shim() {\n throw Error(\n \"The current renderer does not support hydration. This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nvar getViewConfigForType =\n ReactNativePrivateInterface.ReactNativeViewConfigRegistry.get,\n UPDATE_SIGNAL = {},\n nextReactTag = 3;\nfunction allocateTag() {\n var tag = nextReactTag;\n 1 === tag % 10 && (tag += 2);\n nextReactTag = tag + 2;\n return tag;\n}\nfunction recursivelyUncacheFiberNode(node) {\n if (\"number\" === typeof node)\n instanceCache.delete(node), instanceProps.delete(node);\n else {\n var tag = node._nativeTag;\n instanceCache.delete(tag);\n instanceProps.delete(tag);\n node._children.forEach(recursivelyUncacheFiberNode);\n }\n}\nfunction finalizeInitialChildren(parentInstance) {\n if (0 === parentInstance._children.length) return !1;\n var nativeTags = parentInstance._children.map(function(child) {\n return \"number\" === typeof child ? child : child._nativeTag;\n });\n ReactNativePrivateInterface.UIManager.setChildren(\n parentInstance._nativeTag,\n nativeTags\n );\n return !1;\n}\nvar scheduleTimeout = setTimeout,\n cancelTimeout = clearTimeout;\nfunction describeComponentFrame(name, source, ownerName) {\n source = \"\";\n ownerName && (source = \" (created by \" + ownerName + \")\");\n return \"\\n in \" + (name || \"Unknown\") + source;\n}\nfunction describeFunctionComponentFrame(fn, source) {\n return fn\n ? describeComponentFrame(fn.displayName || fn.name || null, source, null)\n : \"\";\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n valueStack = [],\n index = -1;\nfunction createCursor(defaultValue) {\n return { current: defaultValue };\n}\nfunction pop(cursor) {\n 0 > index ||\n ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n index++;\n valueStack[index] = cursor.current;\n cursor.current = value;\n}\nvar emptyContextObject = {},\n contextStackCursor = createCursor(emptyContextObject),\n didPerformWorkStackCursor = createCursor(!1),\n previousContext = emptyContextObject;\nfunction getMaskedContext(workInProgress, unmaskedContext) {\n var contextTypes = workInProgress.type.contextTypes;\n if (!contextTypes) return emptyContextObject;\n var instance = workInProgress.stateNode;\n if (\n instance &&\n instance.__reactInternalMemoizedUnmaskedChildContext === unmaskedContext\n )\n return instance.__reactInternalMemoizedMaskedChildContext;\n var context = {},\n key;\n for (key in contextTypes) context[key] = unmaskedContext[key];\n instance &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return context;\n}\nfunction isContextProvider(type) {\n type = type.childContextTypes;\n return null !== type && void 0 !== type;\n}\nfunction popContext() {\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n}\nfunction pushTopLevelContextObject(fiber, context, didChange) {\n if (contextStackCursor.current !== emptyContextObject)\n throw Error(\n \"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.\"\n );\n push(contextStackCursor, context);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction processChildContext(fiber, type, parentContext) {\n var instance = fiber.stateNode;\n type = type.childContextTypes;\n if (\"function\" !== typeof instance.getChildContext) return parentContext;\n instance = instance.getChildContext();\n for (var contextKey in instance)\n if (!(contextKey in type))\n throw Error(\n (getComponentNameFromFiber(fiber) || \"Unknown\") +\n '.getChildContext(): key \"' +\n contextKey +\n '\" is not defined in childContextTypes.'\n );\n return assign({}, parentContext, instance);\n}\nfunction pushContextProvider(workInProgress) {\n workInProgress =\n ((workInProgress = workInProgress.stateNode) &&\n workInProgress.__reactInternalMemoizedMergedChildContext) ||\n emptyContextObject;\n previousContext = contextStackCursor.current;\n push(contextStackCursor, workInProgress);\n push(didPerformWorkStackCursor, didPerformWorkStackCursor.current);\n return !0;\n}\nfunction invalidateContextProvider(workInProgress, type, didChange) {\n var instance = workInProgress.stateNode;\n if (!instance)\n throw Error(\n \"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.\"\n );\n didChange\n ? ((workInProgress = processChildContext(\n workInProgress,\n type,\n previousContext\n )),\n (instance.__reactInternalMemoizedMergedChildContext = workInProgress),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n push(contextStackCursor, workInProgress))\n : pop(didPerformWorkStackCursor);\n push(didPerformWorkStackCursor, didChange);\n}\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n syncQueue = null,\n includesLegacySyncCallbacks = !1,\n isFlushingSyncQueue = !1;\nfunction flushSyncCallbacks() {\n if (!isFlushingSyncQueue && null !== syncQueue) {\n isFlushingSyncQueue = !0;\n var i = 0,\n previousUpdatePriority = currentUpdatePriority;\n try {\n var queue = syncQueue;\n for (currentUpdatePriority = 1; i < queue.length; i++) {\n var callback = queue[i];\n do callback = callback(!0);\n while (null !== callback);\n }\n syncQueue = null;\n includesLegacySyncCallbacks = !1;\n } catch (error) {\n throw (null !== syncQueue && (syncQueue = syncQueue.slice(i + 1)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n error);\n } finally {\n (currentUpdatePriority = previousUpdatePriority),\n (isFlushingSyncQueue = !1);\n }\n }\n return null;\n}\nvar forkStack = [],\n forkStackIndex = 0,\n treeForkProvider = null,\n idStack = [],\n idStackIndex = 0,\n treeContextProvider = null;\nfunction popTreeContext(workInProgress) {\n for (; workInProgress === treeForkProvider; )\n (treeForkProvider = forkStack[--forkStackIndex]),\n (forkStack[forkStackIndex] = null),\n --forkStackIndex,\n (forkStack[forkStackIndex] = null);\n for (; workInProgress === treeContextProvider; )\n (treeContextProvider = idStack[--idStackIndex]),\n (idStack[idStackIndex] = null),\n --idStackIndex,\n (idStack[idStackIndex] = null),\n --idStackIndex,\n (idStack[idStackIndex] = null);\n}\nvar hydrationErrors = null,\n ReactCurrentBatchConfig = ReactSharedInternals.ReactCurrentBatchConfig;\nfunction shallowEqual(objA, objB) {\n if (objectIs(objA, objB)) return !0;\n if (\n \"object\" !== typeof objA ||\n null === objA ||\n \"object\" !== typeof objB ||\n null === objB\n )\n return !1;\n var keysA = Object.keys(objA),\n keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) return !1;\n for (keysB = 0; keysB < keysA.length; keysB++) {\n var currentKey = keysA[keysB];\n if (\n !hasOwnProperty.call(objB, currentKey) ||\n !objectIs(objA[currentKey], objB[currentKey])\n )\n return !1;\n }\n return !0;\n}\nfunction describeFiber(fiber) {\n switch (fiber.tag) {\n case 5:\n return describeComponentFrame(fiber.type, null, null);\n case 16:\n return describeComponentFrame(\"Lazy\", null, null);\n case 13:\n return describeComponentFrame(\"Suspense\", null, null);\n case 19:\n return describeComponentFrame(\"SuspenseList\", null, null);\n case 0:\n case 2:\n case 15:\n return describeFunctionComponentFrame(fiber.type, null);\n case 11:\n return describeFunctionComponentFrame(fiber.type.render, null);\n case 1:\n return (fiber = describeFunctionComponentFrame(fiber.type, null)), fiber;\n default:\n return \"\";\n }\n}\nfunction getStackByFiberInDevAndProd(workInProgress) {\n try {\n var info = \"\";\n do\n (info += describeFiber(workInProgress)),\n (workInProgress = workInProgress.return);\n while (workInProgress);\n return info;\n } catch (x) {\n return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n }\n}\nfunction resolveDefaultProps(Component, baseProps) {\n if (Component && Component.defaultProps) {\n baseProps = assign({}, baseProps);\n Component = Component.defaultProps;\n for (var propName in Component)\n void 0 === baseProps[propName] &&\n (baseProps[propName] = Component[propName]);\n return baseProps;\n }\n return baseProps;\n}\nvar valueCursor = createCursor(null),\n currentlyRenderingFiber = null,\n lastContextDependency = null,\n lastFullyObservedContext = null;\nfunction resetContextDependencies() {\n lastFullyObservedContext = lastContextDependency = currentlyRenderingFiber = null;\n}\nfunction popProvider(context) {\n var currentValue = valueCursor.current;\n pop(valueCursor);\n context._currentValue = currentValue;\n}\nfunction scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n for (; null !== parent; ) {\n var alternate = parent.alternate;\n (parent.childLanes & renderLanes) !== renderLanes\n ? ((parent.childLanes |= renderLanes),\n null !== alternate && (alternate.childLanes |= renderLanes))\n : null !== alternate &&\n (alternate.childLanes & renderLanes) !== renderLanes &&\n (alternate.childLanes |= renderLanes);\n if (parent === propagationRoot) break;\n parent = parent.return;\n }\n}\nfunction prepareToReadContext(workInProgress, renderLanes) {\n currentlyRenderingFiber = workInProgress;\n lastFullyObservedContext = lastContextDependency = null;\n workInProgress = workInProgress.dependencies;\n null !== workInProgress &&\n null !== workInProgress.firstContext &&\n (0 !== (workInProgress.lanes & renderLanes) && (didReceiveUpdate = !0),\n (workInProgress.firstContext = null));\n}\nfunction readContext(context) {\n var value = context._currentValue;\n if (lastFullyObservedContext !== context)\n if (\n ((context = { context: context, memoizedValue: value, next: null }),\n null === lastContextDependency)\n ) {\n if (null === currentlyRenderingFiber)\n throw Error(\n \"Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().\"\n );\n lastContextDependency = context;\n currentlyRenderingFiber.dependencies = {\n lanes: 0,\n firstContext: context\n };\n } else lastContextDependency = lastContextDependency.next = context;\n return value;\n}\nvar concurrentQueues = null;\nfunction pushConcurrentUpdateQueue(queue) {\n null === concurrentQueues\n ? (concurrentQueues = [queue])\n : concurrentQueues.push(queue);\n}\nfunction enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update), pushConcurrentUpdateQueue(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, lane) {\n sourceFiber.lanes |= lane;\n var alternate = sourceFiber.alternate;\n null !== alternate && (alternate.lanes |= lane);\n alternate = sourceFiber;\n for (sourceFiber = sourceFiber.return; null !== sourceFiber; )\n (sourceFiber.childLanes |= lane),\n (alternate = sourceFiber.alternate),\n null !== alternate && (alternate.childLanes |= lane),\n (alternate = sourceFiber),\n (sourceFiber = sourceFiber.return);\n return 3 === alternate.tag ? alternate.stateNode : null;\n}\nvar hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n fiber.updateQueue = {\n baseState: fiber.memoizedState,\n firstBaseUpdate: null,\n lastBaseUpdate: null,\n shared: { pending: null, interleaved: null, lanes: 0 },\n effects: null\n };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n current = current.updateQueue;\n workInProgress.updateQueue === current &&\n (workInProgress.updateQueue = {\n baseState: current.baseState,\n firstBaseUpdate: current.firstBaseUpdate,\n lastBaseUpdate: current.lastBaseUpdate,\n shared: current.shared,\n effects: current.effects\n });\n}\nfunction createUpdate(eventTime, lane) {\n return {\n eventTime: eventTime,\n lane: lane,\n tag: 0,\n payload: null,\n callback: null,\n next: null\n };\n}\nfunction enqueueUpdate(fiber, update, lane) {\n var updateQueue = fiber.updateQueue;\n if (null === updateQueue) return null;\n updateQueue = updateQueue.shared;\n if (0 !== (executionContext & 2)) {\n var pending = updateQueue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.pending = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n }\n pending = updateQueue.interleaved;\n null === pending\n ? ((update.next = update), pushConcurrentUpdateQueue(updateQueue))\n : ((update.next = pending.next), (pending.next = update));\n updateQueue.interleaved = update;\n return markUpdateLaneFromFiberToRoot(fiber, lane);\n}\nfunction entangleTransitions(root, fiber, lane) {\n fiber = fiber.updateQueue;\n if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194240))) {\n var queueLanes = fiber.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n fiber.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n var queue = workInProgress.updateQueue,\n current = workInProgress.alternate;\n if (\n null !== current &&\n ((current = current.updateQueue), queue === current)\n ) {\n var newFirst = null,\n newLast = null;\n queue = queue.firstBaseUpdate;\n if (null !== queue) {\n do {\n var clone = {\n eventTime: queue.eventTime,\n lane: queue.lane,\n tag: queue.tag,\n payload: queue.payload,\n callback: queue.callback,\n next: null\n };\n null === newLast\n ? (newFirst = newLast = clone)\n : (newLast = newLast.next = clone);\n queue = queue.next;\n } while (null !== queue);\n null === newLast\n ? (newFirst = newLast = capturedUpdate)\n : (newLast = newLast.next = capturedUpdate);\n } else newFirst = newLast = capturedUpdate;\n queue = {\n baseState: current.baseState,\n firstBaseUpdate: newFirst,\n lastBaseUpdate: newLast,\n shared: current.shared,\n effects: current.effects\n };\n workInProgress.updateQueue = queue;\n return;\n }\n workInProgress = queue.lastBaseUpdate;\n null === workInProgress\n ? (queue.firstBaseUpdate = capturedUpdate)\n : (workInProgress.next = capturedUpdate);\n queue.lastBaseUpdate = capturedUpdate;\n}\nfunction processUpdateQueue(\n workInProgress$jscomp$0,\n props,\n instance,\n renderLanes\n) {\n var queue = workInProgress$jscomp$0.updateQueue;\n hasForceUpdate = !1;\n var firstBaseUpdate = queue.firstBaseUpdate,\n lastBaseUpdate = queue.lastBaseUpdate,\n pendingQueue = queue.shared.pending;\n if (null !== pendingQueue) {\n queue.shared.pending = null;\n var lastPendingUpdate = pendingQueue,\n firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = null;\n null === lastBaseUpdate\n ? (firstBaseUpdate = firstPendingUpdate)\n : (lastBaseUpdate.next = firstPendingUpdate);\n lastBaseUpdate = lastPendingUpdate;\n var current = workInProgress$jscomp$0.alternate;\n null !== current &&\n ((current = current.updateQueue),\n (pendingQueue = current.lastBaseUpdate),\n pendingQueue !== lastBaseUpdate &&\n (null === pendingQueue\n ? (current.firstBaseUpdate = firstPendingUpdate)\n : (pendingQueue.next = firstPendingUpdate),\n (current.lastBaseUpdate = lastPendingUpdate)));\n }\n if (null !== firstBaseUpdate) {\n var newState = queue.baseState;\n lastBaseUpdate = 0;\n current = firstPendingUpdate = lastPendingUpdate = null;\n pendingQueue = firstBaseUpdate;\n do {\n var updateLane = pendingQueue.lane,\n updateEventTime = pendingQueue.eventTime;\n if ((renderLanes & updateLane) === updateLane) {\n null !== current &&\n (current = current.next = {\n eventTime: updateEventTime,\n lane: 0,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n });\n a: {\n var workInProgress = workInProgress$jscomp$0,\n update = pendingQueue;\n updateLane = props;\n updateEventTime = instance;\n switch (update.tag) {\n case 1:\n workInProgress = update.payload;\n if (\"function\" === typeof workInProgress) {\n newState = workInProgress.call(\n updateEventTime,\n newState,\n updateLane\n );\n break a;\n }\n newState = workInProgress;\n break a;\n case 3:\n workInProgress.flags = (workInProgress.flags & -65537) | 128;\n case 0:\n workInProgress = update.payload;\n updateLane =\n \"function\" === typeof workInProgress\n ? workInProgress.call(updateEventTime, newState, updateLane)\n : workInProgress;\n if (null === updateLane || void 0 === updateLane) break a;\n newState = assign({}, newState, updateLane);\n break a;\n case 2:\n hasForceUpdate = !0;\n }\n }\n null !== pendingQueue.callback &&\n 0 !== pendingQueue.lane &&\n ((workInProgress$jscomp$0.flags |= 64),\n (updateLane = queue.effects),\n null === updateLane\n ? (queue.effects = [pendingQueue])\n : updateLane.push(pendingQueue));\n } else\n (updateEventTime = {\n eventTime: updateEventTime,\n lane: updateLane,\n tag: pendingQueue.tag,\n payload: pendingQueue.payload,\n callback: pendingQueue.callback,\n next: null\n }),\n null === current\n ? ((firstPendingUpdate = current = updateEventTime),\n (lastPendingUpdate = newState))\n : (current = current.next = updateEventTime),\n (lastBaseUpdate |= updateLane);\n pendingQueue = pendingQueue.next;\n if (null === pendingQueue)\n if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n break;\n else\n (updateLane = pendingQueue),\n (pendingQueue = updateLane.next),\n (updateLane.next = null),\n (queue.lastBaseUpdate = updateLane),\n (queue.shared.pending = null);\n } while (1);\n null === current && (lastPendingUpdate = newState);\n queue.baseState = lastPendingUpdate;\n queue.firstBaseUpdate = firstPendingUpdate;\n queue.lastBaseUpdate = current;\n props = queue.shared.interleaved;\n if (null !== props) {\n queue = props;\n do (lastBaseUpdate |= queue.lane), (queue = queue.next);\n while (queue !== props);\n } else null === firstBaseUpdate && (queue.shared.lanes = 0);\n workInProgressRootSkippedLanes |= lastBaseUpdate;\n workInProgress$jscomp$0.lanes = lastBaseUpdate;\n workInProgress$jscomp$0.memoizedState = newState;\n }\n}\nfunction commitUpdateQueue(finishedWork, finishedQueue, instance) {\n finishedWork = finishedQueue.effects;\n finishedQueue.effects = null;\n if (null !== finishedWork)\n for (\n finishedQueue = 0;\n finishedQueue < finishedWork.length;\n finishedQueue++\n ) {\n var effect = finishedWork[finishedQueue],\n callback = effect.callback;\n if (null !== callback) {\n effect.callback = null;\n if (\"function\" !== typeof callback)\n throw Error(\n \"Invalid argument passed as callback. Expected a function. Instead received: \" +\n callback\n );\n callback.call(instance);\n }\n }\n}\nvar emptyRefsObject = new React.Component().refs;\nfunction applyDerivedStateFromProps(\n workInProgress,\n ctor,\n getDerivedStateFromProps,\n nextProps\n) {\n ctor = workInProgress.memoizedState;\n getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n getDerivedStateFromProps =\n null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n ? ctor\n : assign({}, ctor, getDerivedStateFromProps);\n workInProgress.memoizedState = getDerivedStateFromProps;\n 0 === workInProgress.lanes &&\n (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n isMounted: function(component) {\n return (component = component._reactInternals)\n ? getNearestMountedFiber(component) === component\n : !1;\n },\n enqueueSetState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane, eventTime),\n entangleTransitions(payload, inst, lane));\n },\n enqueueReplaceState: function(inst, payload, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 1;\n update.payload = payload;\n void 0 !== callback && null !== callback && (update.callback = callback);\n payload = enqueueUpdate(inst, update, lane);\n null !== payload &&\n (scheduleUpdateOnFiber(payload, inst, lane, eventTime),\n entangleTransitions(payload, inst, lane));\n },\n enqueueForceUpdate: function(inst, callback) {\n inst = inst._reactInternals;\n var eventTime = requestEventTime(),\n lane = requestUpdateLane(inst),\n update = createUpdate(eventTime, lane);\n update.tag = 2;\n void 0 !== callback && null !== callback && (update.callback = callback);\n callback = enqueueUpdate(inst, update, lane);\n null !== callback &&\n (scheduleUpdateOnFiber(callback, inst, lane, eventTime),\n entangleTransitions(callback, inst, lane));\n }\n};\nfunction checkShouldComponentUpdate(\n workInProgress,\n ctor,\n oldProps,\n newProps,\n oldState,\n newState,\n nextContext\n) {\n workInProgress = workInProgress.stateNode;\n return \"function\" === typeof workInProgress.shouldComponentUpdate\n ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n : ctor.prototype && ctor.prototype.isPureReactComponent\n ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n : !0;\n}\nfunction constructClassInstance(workInProgress, ctor, props) {\n var isLegacyContextConsumer = !1,\n unmaskedContext = emptyContextObject;\n var context = ctor.contextType;\n \"object\" === typeof context && null !== context\n ? (context = readContext(context))\n : ((unmaskedContext = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (isLegacyContextConsumer = ctor.contextTypes),\n (context = (isLegacyContextConsumer =\n null !== isLegacyContextConsumer && void 0 !== isLegacyContextConsumer)\n ? getMaskedContext(workInProgress, unmaskedContext)\n : emptyContextObject));\n ctor = new ctor(props, context);\n workInProgress.memoizedState =\n null !== ctor.state && void 0 !== ctor.state ? ctor.state : null;\n ctor.updater = classComponentUpdater;\n workInProgress.stateNode = ctor;\n ctor._reactInternals = workInProgress;\n isLegacyContextConsumer &&\n ((workInProgress = workInProgress.stateNode),\n (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext),\n (workInProgress.__reactInternalMemoizedMaskedChildContext = context));\n return ctor;\n}\nfunction callComponentWillReceiveProps(\n workInProgress,\n instance,\n newProps,\n nextContext\n) {\n workInProgress = instance.state;\n \"function\" === typeof instance.componentWillReceiveProps &&\n instance.componentWillReceiveProps(newProps, nextContext);\n \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n instance.state !== workInProgress &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction mountClassInstance(workInProgress, ctor, newProps, renderLanes) {\n var instance = workInProgress.stateNode;\n instance.props = newProps;\n instance.state = workInProgress.memoizedState;\n instance.refs = emptyRefsObject;\n initializeUpdateQueue(workInProgress);\n var contextType = ctor.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (instance.context = readContext(contextType))\n : ((contextType = isContextProvider(ctor)\n ? previousContext\n : contextStackCursor.current),\n (instance.context = getMaskedContext(workInProgress, contextType)));\n instance.state = workInProgress.memoizedState;\n contextType = ctor.getDerivedStateFromProps;\n \"function\" === typeof contextType &&\n (applyDerivedStateFromProps(workInProgress, ctor, contextType, newProps),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof ctor.getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n ((ctor = instance.state),\n \"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount(),\n ctor !== instance.state &&\n classComponentUpdater.enqueueReplaceState(instance, instance.state, null),\n processUpdateQueue(workInProgress, newProps, instance, renderLanes),\n (instance.state = workInProgress.memoizedState));\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4);\n}\nfunction coerceRef(returnFiber, current, element) {\n returnFiber = element.ref;\n if (\n null !== returnFiber &&\n \"function\" !== typeof returnFiber &&\n \"object\" !== typeof returnFiber\n ) {\n if (element._owner) {\n element = element._owner;\n if (element) {\n if (1 !== element.tag)\n throw Error(\n \"Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref\"\n );\n var inst = element.stateNode;\n }\n if (!inst)\n throw Error(\n \"Missing owner for string ref \" +\n returnFiber +\n \". This error is likely caused by a bug in React. Please file an issue.\"\n );\n var resolvedInst = inst,\n stringRef = \"\" + returnFiber;\n if (\n null !== current &&\n null !== current.ref &&\n \"function\" === typeof current.ref &&\n current.ref._stringRef === stringRef\n )\n return current.ref;\n current = function(value) {\n var refs = resolvedInst.refs;\n refs === emptyRefsObject && (refs = resolvedInst.refs = {});\n null === value ? delete refs[stringRef] : (refs[stringRef] = value);\n };\n current._stringRef = stringRef;\n return current;\n }\n if (\"string\" !== typeof returnFiber)\n throw Error(\n \"Expected ref to be a function, a string, an object returned by React.createRef(), or null.\"\n );\n if (!element._owner)\n throw Error(\n \"Element ref was specified as a string (\" +\n returnFiber +\n \") but no owner was set. This could happen for one of the following reasons:\\n1. You may be adding a ref to a function component\\n2. You may be adding a ref to a component that was not created inside a component's render method\\n3. You have multiple copies of React loaded\\nSee https://reactjs.org/link/refs-must-have-owner for more information.\"\n );\n }\n return returnFiber;\n}\nfunction throwOnInvalidObjectType(returnFiber, newChild) {\n returnFiber = Object.prototype.toString.call(newChild);\n throw Error(\n \"Objects are not valid as a React child (found: \" +\n (\"[object Object]\" === returnFiber\n ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n : returnFiber) +\n \"). If you meant to render a collection of children, use an array instead.\"\n );\n}\nfunction resolveLazy(lazyType) {\n var init = lazyType._init;\n return init(lazyType._payload);\n}\nfunction ChildReconciler(shouldTrackSideEffects) {\n function deleteChild(returnFiber, childToDelete) {\n if (shouldTrackSideEffects) {\n var deletions = returnFiber.deletions;\n null === deletions\n ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n : deletions.push(childToDelete);\n }\n }\n function deleteRemainingChildren(returnFiber, currentFirstChild) {\n if (!shouldTrackSideEffects) return null;\n for (; null !== currentFirstChild; )\n deleteChild(returnFiber, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return null;\n }\n function mapRemainingChildren(returnFiber, currentFirstChild) {\n for (returnFiber = new Map(); null !== currentFirstChild; )\n null !== currentFirstChild.key\n ? returnFiber.set(currentFirstChild.key, currentFirstChild)\n : returnFiber.set(currentFirstChild.index, currentFirstChild),\n (currentFirstChild = currentFirstChild.sibling);\n return returnFiber;\n }\n function useFiber(fiber, pendingProps) {\n fiber = createWorkInProgress(fiber, pendingProps);\n fiber.index = 0;\n fiber.sibling = null;\n return fiber;\n }\n function placeChild(newFiber, lastPlacedIndex, newIndex) {\n newFiber.index = newIndex;\n if (!shouldTrackSideEffects)\n return (newFiber.flags |= 1048576), lastPlacedIndex;\n newIndex = newFiber.alternate;\n if (null !== newIndex)\n return (\n (newIndex = newIndex.index),\n newIndex < lastPlacedIndex\n ? ((newFiber.flags |= 2), lastPlacedIndex)\n : newIndex\n );\n newFiber.flags |= 2;\n return lastPlacedIndex;\n }\n function placeSingleChild(newFiber) {\n shouldTrackSideEffects &&\n null === newFiber.alternate &&\n (newFiber.flags |= 2);\n return newFiber;\n }\n function updateTextNode(returnFiber, current, textContent, lanes) {\n if (null === current || 6 !== current.tag)\n return (\n (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, textContent);\n current.return = returnFiber;\n return current;\n }\n function updateElement(returnFiber, current, element, lanes) {\n var elementType = element.type;\n if (elementType === REACT_FRAGMENT_TYPE)\n return updateFragment(\n returnFiber,\n current,\n element.props.children,\n lanes,\n element.key\n );\n if (\n null !== current &&\n (current.elementType === elementType ||\n (\"object\" === typeof elementType &&\n null !== elementType &&\n elementType.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(elementType) === current.type))\n )\n return (\n (lanes = useFiber(current, element.props)),\n (lanes.ref = coerceRef(returnFiber, current, element)),\n (lanes.return = returnFiber),\n lanes\n );\n lanes = createFiberFromTypeAndProps(\n element.type,\n element.key,\n element.props,\n null,\n returnFiber.mode,\n lanes\n );\n lanes.ref = coerceRef(returnFiber, current, element);\n lanes.return = returnFiber;\n return lanes;\n }\n function updatePortal(returnFiber, current, portal, lanes) {\n if (\n null === current ||\n 4 !== current.tag ||\n current.stateNode.containerInfo !== portal.containerInfo ||\n current.stateNode.implementation !== portal.implementation\n )\n return (\n (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, portal.children || []);\n current.return = returnFiber;\n return current;\n }\n function updateFragment(returnFiber, current, fragment, lanes, key) {\n if (null === current || 7 !== current.tag)\n return (\n (current = createFiberFromFragment(\n fragment,\n returnFiber.mode,\n lanes,\n key\n )),\n (current.return = returnFiber),\n current\n );\n current = useFiber(current, fragment);\n current.return = returnFiber;\n return current;\n }\n function createChild(returnFiber, newChild, lanes) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return (\n (newChild = createFiberFromText(\n \"\" + newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(returnFiber, null, newChild)),\n (lanes.return = returnFiber),\n lanes\n );\n case REACT_PORTAL_TYPE:\n return (\n (newChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (newChild.return = returnFiber),\n newChild\n );\n case REACT_LAZY_TYPE:\n var init = newChild._init;\n return createChild(returnFiber, init(newChild._payload), lanes);\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (newChild = createFiberFromFragment(\n newChild,\n returnFiber.mode,\n lanes,\n null\n )),\n (newChild.return = returnFiber),\n newChild\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n var key = null !== oldFiber ? oldFiber.key : null;\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return null !== key\n ? null\n : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return newChild.key === key\n ? updateElement(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_PORTAL_TYPE:\n return newChild.key === key\n ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n : null;\n case REACT_LAZY_TYPE:\n return (\n (key = newChild._init),\n updateSlot(returnFiber, oldFiber, key(newChild._payload), lanes)\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return null !== key\n ? null\n : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n newChild,\n lanes\n ) {\n if (\n (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n )\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n );\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updateElement(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_PORTAL_TYPE:\n return (\n (existingChildren =\n existingChildren.get(\n null === newChild.key ? newIdx : newChild.key\n ) || null),\n updatePortal(returnFiber, existingChildren, newChild, lanes)\n );\n case REACT_LAZY_TYPE:\n var init = newChild._init;\n return updateFromMap(\n existingChildren,\n returnFiber,\n newIdx,\n init(newChild._payload),\n lanes\n );\n }\n if (isArrayImpl(newChild) || getIteratorFn(newChild))\n return (\n (existingChildren = existingChildren.get(newIdx) || null),\n updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return null;\n }\n function reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChildren,\n lanes\n ) {\n for (\n var resultingFirstChild = null,\n previousNewFiber = null,\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null;\n null !== oldFiber && newIdx < newChildren.length;\n newIdx++\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(\n returnFiber,\n oldFiber,\n newChildren[newIdx],\n lanes\n );\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (resultingFirstChild = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (newIdx === newChildren.length)\n return (\n deleteRemainingChildren(returnFiber, oldFiber), resultingFirstChild\n );\n if (null === oldFiber) {\n for (; newIdx < newChildren.length; newIdx++)\n (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n null !== oldFiber &&\n ((currentFirstChild = placeChild(\n oldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = oldFiber)\n : (previousNewFiber.sibling = oldFiber),\n (previousNewFiber = oldFiber));\n return resultingFirstChild;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n newIdx < newChildren.length;\n newIdx++\n )\n (nextOldFiber = updateFromMap(\n oldFiber,\n returnFiber,\n newIdx,\n newChildren[newIdx],\n lanes\n )),\n null !== nextOldFiber &&\n (shouldTrackSideEffects &&\n null !== nextOldFiber.alternate &&\n oldFiber.delete(\n null === nextOldFiber.key ? newIdx : nextOldFiber.key\n ),\n (currentFirstChild = placeChild(\n nextOldFiber,\n currentFirstChild,\n newIdx\n )),\n null === previousNewFiber\n ? (resultingFirstChild = nextOldFiber)\n : (previousNewFiber.sibling = nextOldFiber),\n (previousNewFiber = nextOldFiber));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return resultingFirstChild;\n }\n function reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChildrenIterable,\n lanes\n ) {\n var iteratorFn = getIteratorFn(newChildrenIterable);\n if (\"function\" !== typeof iteratorFn)\n throw Error(\n \"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.\"\n );\n newChildrenIterable = iteratorFn.call(newChildrenIterable);\n if (null == newChildrenIterable)\n throw Error(\"An iterable object provided no iterator.\");\n for (\n var previousNewFiber = (iteratorFn = null),\n oldFiber = currentFirstChild,\n newIdx = (currentFirstChild = 0),\n nextOldFiber = null,\n step = newChildrenIterable.next();\n null !== oldFiber && !step.done;\n newIdx++, step = newChildrenIterable.next()\n ) {\n oldFiber.index > newIdx\n ? ((nextOldFiber = oldFiber), (oldFiber = null))\n : (nextOldFiber = oldFiber.sibling);\n var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n if (null === newFiber) {\n null === oldFiber && (oldFiber = nextOldFiber);\n break;\n }\n shouldTrackSideEffects &&\n oldFiber &&\n null === newFiber.alternate &&\n deleteChild(returnFiber, oldFiber);\n currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n null === previousNewFiber\n ? (iteratorFn = newFiber)\n : (previousNewFiber.sibling = newFiber);\n previousNewFiber = newFiber;\n oldFiber = nextOldFiber;\n }\n if (step.done)\n return deleteRemainingChildren(returnFiber, oldFiber), iteratorFn;\n if (null === oldFiber) {\n for (; !step.done; newIdx++, step = newChildrenIterable.next())\n (step = createChild(returnFiber, step.value, lanes)),\n null !== step &&\n ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n return iteratorFn;\n }\n for (\n oldFiber = mapRemainingChildren(returnFiber, oldFiber);\n !step.done;\n newIdx++, step = newChildrenIterable.next()\n )\n (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n null !== step &&\n (shouldTrackSideEffects &&\n null !== step.alternate &&\n oldFiber.delete(null === step.key ? newIdx : step.key),\n (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n null === previousNewFiber\n ? (iteratorFn = step)\n : (previousNewFiber.sibling = step),\n (previousNewFiber = step));\n shouldTrackSideEffects &&\n oldFiber.forEach(function(child) {\n return deleteChild(returnFiber, child);\n });\n return iteratorFn;\n }\n function reconcileChildFibers(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n ) {\n \"object\" === typeof newChild &&\n null !== newChild &&\n newChild.type === REACT_FRAGMENT_TYPE &&\n null === newChild.key &&\n (newChild = newChild.props.children);\n if (\"object\" === typeof newChild && null !== newChild) {\n switch (newChild.$$typeof) {\n case REACT_ELEMENT_TYPE:\n a: {\n for (\n var key = newChild.key, child = currentFirstChild;\n null !== child;\n\n ) {\n if (child.key === key) {\n key = newChild.type;\n if (key === REACT_FRAGMENT_TYPE) {\n if (7 === child.tag) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild = useFiber(\n child,\n newChild.props.children\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n } else if (\n child.elementType === key ||\n (\"object\" === typeof key &&\n null !== key &&\n key.$$typeof === REACT_LAZY_TYPE &&\n resolveLazy(key) === child.type)\n ) {\n deleteRemainingChildren(returnFiber, child.sibling);\n currentFirstChild = useFiber(child, newChild.props);\n currentFirstChild.ref = coerceRef(\n returnFiber,\n child,\n newChild\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n }\n deleteRemainingChildren(returnFiber, child);\n break;\n } else deleteChild(returnFiber, child);\n child = child.sibling;\n }\n newChild.type === REACT_FRAGMENT_TYPE\n ? ((currentFirstChild = createFiberFromFragment(\n newChild.props.children,\n returnFiber.mode,\n lanes,\n newChild.key\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : ((lanes = createFiberFromTypeAndProps(\n newChild.type,\n newChild.key,\n newChild.props,\n null,\n returnFiber.mode,\n lanes\n )),\n (lanes.ref = coerceRef(\n returnFiber,\n currentFirstChild,\n newChild\n )),\n (lanes.return = returnFiber),\n (returnFiber = lanes));\n }\n return placeSingleChild(returnFiber);\n case REACT_PORTAL_TYPE:\n a: {\n for (child = newChild.key; null !== currentFirstChild; ) {\n if (currentFirstChild.key === child)\n if (\n 4 === currentFirstChild.tag &&\n currentFirstChild.stateNode.containerInfo ===\n newChild.containerInfo &&\n currentFirstChild.stateNode.implementation ===\n newChild.implementation\n ) {\n deleteRemainingChildren(\n returnFiber,\n currentFirstChild.sibling\n );\n currentFirstChild = useFiber(\n currentFirstChild,\n newChild.children || []\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n break a;\n } else {\n deleteRemainingChildren(returnFiber, currentFirstChild);\n break;\n }\n else deleteChild(returnFiber, currentFirstChild);\n currentFirstChild = currentFirstChild.sibling;\n }\n currentFirstChild = createFiberFromPortal(\n newChild,\n returnFiber.mode,\n lanes\n );\n currentFirstChild.return = returnFiber;\n returnFiber = currentFirstChild;\n }\n return placeSingleChild(returnFiber);\n case REACT_LAZY_TYPE:\n return (\n (child = newChild._init),\n reconcileChildFibers(\n returnFiber,\n currentFirstChild,\n child(newChild._payload),\n lanes\n )\n );\n }\n if (isArrayImpl(newChild))\n return reconcileChildrenArray(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n if (getIteratorFn(newChild))\n return reconcileChildrenIterator(\n returnFiber,\n currentFirstChild,\n newChild,\n lanes\n );\n throwOnInvalidObjectType(returnFiber, newChild);\n }\n return (\"string\" === typeof newChild && \"\" !== newChild) ||\n \"number\" === typeof newChild\n ? ((newChild = \"\" + newChild),\n null !== currentFirstChild && 6 === currentFirstChild.tag\n ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n (currentFirstChild = useFiber(currentFirstChild, newChild)),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild))\n : (deleteRemainingChildren(returnFiber, currentFirstChild),\n (currentFirstChild = createFiberFromText(\n newChild,\n returnFiber.mode,\n lanes\n )),\n (currentFirstChild.return = returnFiber),\n (returnFiber = currentFirstChild)),\n placeSingleChild(returnFiber))\n : deleteRemainingChildren(returnFiber, currentFirstChild);\n }\n return reconcileChildFibers;\n}\nvar reconcileChildFibers = ChildReconciler(!0),\n mountChildFibers = ChildReconciler(!1),\n NO_CONTEXT = {},\n contextStackCursor$1 = createCursor(NO_CONTEXT),\n contextFiberStackCursor = createCursor(NO_CONTEXT),\n rootInstanceStackCursor = createCursor(NO_CONTEXT);\nfunction requiredContext(c) {\n if (c === NO_CONTEXT)\n throw Error(\n \"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.\"\n );\n return c;\n}\nfunction pushHostContainer(fiber, nextRootInstance) {\n push(rootInstanceStackCursor, nextRootInstance);\n push(contextFiberStackCursor, fiber);\n push(contextStackCursor$1, NO_CONTEXT);\n pop(contextStackCursor$1);\n push(contextStackCursor$1, { isInAParentText: !1 });\n}\nfunction popHostContainer() {\n pop(contextStackCursor$1);\n pop(contextFiberStackCursor);\n pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n requiredContext(rootInstanceStackCursor.current);\n var context = requiredContext(contextStackCursor$1.current);\n var JSCompiler_inline_result = fiber.type;\n JSCompiler_inline_result =\n \"AndroidTextInput\" === JSCompiler_inline_result ||\n \"RCTMultilineTextInputView\" === JSCompiler_inline_result ||\n \"RCTSinglelineTextInputView\" === JSCompiler_inline_result ||\n \"RCTText\" === JSCompiler_inline_result ||\n \"RCTVirtualText\" === JSCompiler_inline_result;\n JSCompiler_inline_result =\n context.isInAParentText !== JSCompiler_inline_result\n ? { isInAParentText: JSCompiler_inline_result }\n : context;\n context !== JSCompiler_inline_result &&\n (push(contextFiberStackCursor, fiber),\n push(contextStackCursor$1, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n contextFiberStackCursor.current === fiber &&\n (pop(contextStackCursor$1), pop(contextFiberStackCursor));\n}\nvar suspenseStackCursor = createCursor(0);\nfunction findFirstSuspended(row) {\n for (var node = row; null !== node; ) {\n if (13 === node.tag) {\n var state = node.memoizedState;\n if (null !== state && (null === state.dehydrated || shim() || shim()))\n return node;\n } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) {\n if (0 !== (node.flags & 128)) return node;\n } else if (null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === row) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === row) return null;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n return null;\n}\nvar workInProgressSources = [];\nfunction resetWorkInProgressVersions() {\n for (var i = 0; i < workInProgressSources.length; i++)\n workInProgressSources[i]._workInProgressVersionPrimary = null;\n workInProgressSources.length = 0;\n}\nvar ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentBatchConfig$1 = ReactSharedInternals.ReactCurrentBatchConfig,\n renderLanes = 0,\n currentlyRenderingFiber$1 = null,\n currentHook = null,\n workInProgressHook = null,\n didScheduleRenderPhaseUpdate = !1,\n didScheduleRenderPhaseUpdateDuringThisPass = !1,\n globalClientIdCounter = 0;\nfunction throwInvalidHookError() {\n throw Error(\n \"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\\n1. You might have mismatching versions of React and the renderer (such as React DOM)\\n2. You might be breaking the Rules of Hooks\\n3. You might have more than one copy of React in the same app\\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.\"\n );\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n if (null === prevDeps) return !1;\n for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n return !0;\n}\nfunction renderWithHooks(\n current,\n workInProgress,\n Component,\n props,\n secondArg,\n nextRenderLanes\n) {\n renderLanes = nextRenderLanes;\n currentlyRenderingFiber$1 = workInProgress;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n workInProgress.lanes = 0;\n ReactCurrentDispatcher$1.current =\n null === current || null === current.memoizedState\n ? HooksDispatcherOnMount\n : HooksDispatcherOnUpdate;\n current = Component(props, secondArg);\n if (didScheduleRenderPhaseUpdateDuringThisPass) {\n nextRenderLanes = 0;\n do {\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n if (25 <= nextRenderLanes)\n throw Error(\n \"Too many re-renders. React limits the number of renders to prevent an infinite loop.\"\n );\n nextRenderLanes += 1;\n workInProgressHook = currentHook = null;\n workInProgress.updateQueue = null;\n ReactCurrentDispatcher$1.current = HooksDispatcherOnRerender;\n current = Component(props, secondArg);\n } while (didScheduleRenderPhaseUpdateDuringThisPass);\n }\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n workInProgress = null !== currentHook && null !== currentHook.next;\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdate = !1;\n if (workInProgress)\n throw Error(\n \"Rendered fewer hooks than expected. This may be caused by an accidental early return statement.\"\n );\n return current;\n}\nfunction mountWorkInProgressHook() {\n var hook = {\n memoizedState: null,\n baseState: null,\n baseQueue: null,\n queue: null,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = hook)\n : (workInProgressHook = workInProgressHook.next = hook);\n return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n if (null === currentHook) {\n var nextCurrentHook = currentlyRenderingFiber$1.alternate;\n nextCurrentHook =\n null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n } else nextCurrentHook = currentHook.next;\n var nextWorkInProgressHook =\n null === workInProgressHook\n ? currentlyRenderingFiber$1.memoizedState\n : workInProgressHook.next;\n if (null !== nextWorkInProgressHook)\n (workInProgressHook = nextWorkInProgressHook),\n (currentHook = nextCurrentHook);\n else {\n if (null === nextCurrentHook)\n throw Error(\"Rendered more hooks than during the previous render.\");\n currentHook = nextCurrentHook;\n nextCurrentHook = {\n memoizedState: currentHook.memoizedState,\n baseState: currentHook.baseState,\n baseQueue: currentHook.baseQueue,\n queue: currentHook.queue,\n next: null\n };\n null === workInProgressHook\n ? (currentlyRenderingFiber$1.memoizedState = workInProgressHook = nextCurrentHook)\n : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n }\n return workInProgressHook;\n}\nfunction basicStateReducer(state, action) {\n return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var current = currentHook,\n baseQueue = current.baseQueue,\n pendingQueue = queue.pending;\n if (null !== pendingQueue) {\n if (null !== baseQueue) {\n var baseFirst = baseQueue.next;\n baseQueue.next = pendingQueue.next;\n pendingQueue.next = baseFirst;\n }\n current.baseQueue = baseQueue = pendingQueue;\n queue.pending = null;\n }\n if (null !== baseQueue) {\n pendingQueue = baseQueue.next;\n current = current.baseState;\n var newBaseQueueFirst = (baseFirst = null),\n newBaseQueueLast = null,\n update = pendingQueue;\n do {\n var updateLane = update.lane;\n if ((renderLanes & updateLane) === updateLane)\n null !== newBaseQueueLast &&\n (newBaseQueueLast = newBaseQueueLast.next = {\n lane: 0,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n }),\n (current = update.hasEagerState\n ? update.eagerState\n : reducer(current, update.action));\n else {\n var clone = {\n lane: updateLane,\n action: update.action,\n hasEagerState: update.hasEagerState,\n eagerState: update.eagerState,\n next: null\n };\n null === newBaseQueueLast\n ? ((newBaseQueueFirst = newBaseQueueLast = clone),\n (baseFirst = current))\n : (newBaseQueueLast = newBaseQueueLast.next = clone);\n currentlyRenderingFiber$1.lanes |= updateLane;\n workInProgressRootSkippedLanes |= updateLane;\n }\n update = update.next;\n } while (null !== update && update !== pendingQueue);\n null === newBaseQueueLast\n ? (baseFirst = current)\n : (newBaseQueueLast.next = newBaseQueueFirst);\n objectIs(current, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = current;\n hook.baseState = baseFirst;\n hook.baseQueue = newBaseQueueLast;\n queue.lastRenderedState = current;\n }\n reducer = queue.interleaved;\n if (null !== reducer) {\n baseQueue = reducer;\n do\n (pendingQueue = baseQueue.lane),\n (currentlyRenderingFiber$1.lanes |= pendingQueue),\n (workInProgressRootSkippedLanes |= pendingQueue),\n (baseQueue = baseQueue.next);\n while (baseQueue !== reducer);\n } else null === baseQueue && (queue.lanes = 0);\n return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n var hook = updateWorkInProgressHook(),\n queue = hook.queue;\n if (null === queue)\n throw Error(\n \"Should have a queue. This is likely a bug in React. Please file an issue.\"\n );\n queue.lastRenderedReducer = reducer;\n var dispatch = queue.dispatch,\n lastRenderPhaseUpdate = queue.pending,\n newState = hook.memoizedState;\n if (null !== lastRenderPhaseUpdate) {\n queue.pending = null;\n var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n do (newState = reducer(newState, update.action)), (update = update.next);\n while (update !== lastRenderPhaseUpdate);\n objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n hook.memoizedState = newState;\n null === hook.baseQueue && (hook.baseState = newState);\n queue.lastRenderedState = newState;\n }\n return [newState, dispatch];\n}\nfunction updateMutableSource() {}\nfunction updateSyncExternalStore(subscribe, getSnapshot) {\n var fiber = currentlyRenderingFiber$1,\n hook = updateWorkInProgressHook(),\n nextSnapshot = getSnapshot(),\n snapshotChanged = !objectIs(hook.memoizedState, nextSnapshot);\n snapshotChanged &&\n ((hook.memoizedState = nextSnapshot), (didReceiveUpdate = !0));\n hook = hook.queue;\n updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [\n subscribe\n ]);\n if (\n hook.getSnapshot !== getSnapshot ||\n snapshotChanged ||\n (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1)\n ) {\n fiber.flags |= 2048;\n pushEffect(\n 9,\n updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot),\n void 0,\n null\n );\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n 0 !== (renderLanes & 30) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n }\n return nextSnapshot;\n}\nfunction pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n fiber.flags |= 16384;\n fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n getSnapshot = currentlyRenderingFiber$1.updateQueue;\n null === getSnapshot\n ? ((getSnapshot = { lastEffect: null, stores: null }),\n (currentlyRenderingFiber$1.updateQueue = getSnapshot),\n (getSnapshot.stores = [fiber]))\n : ((renderedSnapshot = getSnapshot.stores),\n null === renderedSnapshot\n ? (getSnapshot.stores = [fiber])\n : renderedSnapshot.push(fiber));\n}\nfunction updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n inst.value = nextSnapshot;\n inst.getSnapshot = getSnapshot;\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n}\nfunction subscribeToStore(fiber, inst, subscribe) {\n return subscribe(function() {\n checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n });\n}\nfunction checkIfSnapshotChanged(inst) {\n var latestGetSnapshot = inst.getSnapshot;\n inst = inst.value;\n try {\n var nextValue = latestGetSnapshot();\n return !objectIs(inst, nextValue);\n } catch (error) {\n return !0;\n }\n}\nfunction forceStoreRerender(fiber) {\n var root = markUpdateLaneFromFiberToRoot(fiber, 1);\n null !== root && scheduleUpdateOnFiber(root, fiber, 1, -1);\n}\nfunction mountState(initialState) {\n var hook = mountWorkInProgressHook();\n \"function\" === typeof initialState && (initialState = initialState());\n hook.memoizedState = hook.baseState = initialState;\n initialState = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: basicStateReducer,\n lastRenderedState: initialState\n };\n hook.queue = initialState;\n initialState = initialState.dispatch = dispatchSetState.bind(\n null,\n currentlyRenderingFiber$1,\n initialState\n );\n return [hook.memoizedState, initialState];\n}\nfunction pushEffect(tag, create, destroy, deps) {\n tag = { tag: tag, create: create, destroy: destroy, deps: deps, next: null };\n create = currentlyRenderingFiber$1.updateQueue;\n null === create\n ? ((create = { lastEffect: null, stores: null }),\n (currentlyRenderingFiber$1.updateQueue = create),\n (create.lastEffect = tag.next = tag))\n : ((destroy = create.lastEffect),\n null === destroy\n ? (create.lastEffect = tag.next = tag)\n : ((deps = destroy.next),\n (destroy.next = tag),\n (tag.next = deps),\n (create.lastEffect = tag)));\n return tag;\n}\nfunction updateRef() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = mountWorkInProgressHook();\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(\n 1 | hookFlags,\n create,\n void 0,\n void 0 === deps ? null : deps\n );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var destroy = void 0;\n if (null !== currentHook) {\n var prevEffect = currentHook.memoizedState;\n destroy = prevEffect.destroy;\n if (null !== deps && areHookInputsEqual(deps, prevEffect.deps)) {\n hook.memoizedState = pushEffect(hookFlags, create, destroy, deps);\n return;\n }\n }\n currentlyRenderingFiber$1.flags |= fiberFlags;\n hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps);\n}\nfunction mountEffect(create, deps) {\n return mountEffectImpl(8390656, 8, create, deps);\n}\nfunction updateEffect(create, deps) {\n return updateEffectImpl(2048, 8, create, deps);\n}\nfunction updateInsertionEffect(create, deps) {\n return updateEffectImpl(4, 2, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n return updateEffectImpl(4, 4, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n if (\"function\" === typeof ref)\n return (\n (create = create()),\n ref(create),\n function() {\n ref(null);\n }\n );\n if (null !== ref && void 0 !== ref)\n return (\n (create = create()),\n (ref.current = create),\n function() {\n ref.current = null;\n }\n );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return updateEffectImpl(\n 4,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n hook.memoizedState = [callback, deps];\n return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n var hook = updateWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n var prevState = hook.memoizedState;\n if (\n null !== prevState &&\n null !== deps &&\n areHookInputsEqual(deps, prevState[1])\n )\n return prevState[0];\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n}\nfunction updateDeferredValueImpl(hook, prevValue, value) {\n if (0 === (renderLanes & 21))\n return (\n hook.baseState && ((hook.baseState = !1), (didReceiveUpdate = !0)),\n (hook.memoizedState = value)\n );\n objectIs(value, prevValue) ||\n ((value = claimNextTransitionLane()),\n (currentlyRenderingFiber$1.lanes |= value),\n (workInProgressRootSkippedLanes |= value),\n (hook.baseState = !0));\n return prevValue;\n}\nfunction startTransition(setPending, callback) {\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority =\n 0 !== previousPriority && 4 > previousPriority ? previousPriority : 4;\n setPending(!0);\n var prevTransition = ReactCurrentBatchConfig$1.transition;\n ReactCurrentBatchConfig$1.transition = {};\n try {\n setPending(!1), callback();\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$1.transition = prevTransition);\n }\n}\nfunction updateId() {\n return updateWorkInProgressHook().memoizedState;\n}\nfunction dispatchReducerAction(fiber, queue, action) {\n var lane = requestUpdateLane(fiber);\n action = {\n lane: lane,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, action);\n else if (\n ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)),\n null !== action)\n ) {\n var eventTime = requestEventTime();\n scheduleUpdateOnFiber(action, fiber, lane, eventTime);\n entangleTransitionUpdate(action, queue, lane);\n }\n}\nfunction dispatchSetState(fiber, queue, action) {\n var lane = requestUpdateLane(fiber),\n update = {\n lane: lane,\n action: action,\n hasEagerState: !1,\n eagerState: null,\n next: null\n };\n if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n else {\n var alternate = fiber.alternate;\n if (\n 0 === fiber.lanes &&\n (null === alternate || 0 === alternate.lanes) &&\n ((alternate = queue.lastRenderedReducer), null !== alternate)\n )\n try {\n var currentState = queue.lastRenderedState,\n eagerState = alternate(currentState, action);\n update.hasEagerState = !0;\n update.eagerState = eagerState;\n if (objectIs(eagerState, currentState)) {\n var interleaved = queue.interleaved;\n null === interleaved\n ? ((update.next = update), pushConcurrentUpdateQueue(queue))\n : ((update.next = interleaved.next), (interleaved.next = update));\n queue.interleaved = update;\n return;\n }\n } catch (error) {\n } finally {\n }\n action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n null !== action &&\n ((update = requestEventTime()),\n scheduleUpdateOnFiber(action, fiber, lane, update),\n entangleTransitionUpdate(action, queue, lane));\n }\n}\nfunction isRenderPhaseUpdate(fiber) {\n var alternate = fiber.alternate;\n return (\n fiber === currentlyRenderingFiber$1 ||\n (null !== alternate && alternate === currentlyRenderingFiber$1)\n );\n}\nfunction enqueueRenderPhaseUpdate(queue, update) {\n didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate = !0;\n var pending = queue.pending;\n null === pending\n ? (update.next = update)\n : ((update.next = pending.next), (pending.next = update));\n queue.pending = update;\n}\nfunction entangleTransitionUpdate(root, queue, lane) {\n if (0 !== (lane & 4194240)) {\n var queueLanes = queue.lanes;\n queueLanes &= root.pendingLanes;\n lane |= queueLanes;\n queue.lanes = lane;\n markRootEntangled(root, lane);\n }\n}\nvar ContextOnlyDispatcher = {\n readContext: readContext,\n useCallback: throwInvalidHookError,\n useContext: throwInvalidHookError,\n useEffect: throwInvalidHookError,\n useImperativeHandle: throwInvalidHookError,\n useInsertionEffect: throwInvalidHookError,\n useLayoutEffect: throwInvalidHookError,\n useMemo: throwInvalidHookError,\n useReducer: throwInvalidHookError,\n useRef: throwInvalidHookError,\n useState: throwInvalidHookError,\n useDebugValue: throwInvalidHookError,\n useDeferredValue: throwInvalidHookError,\n useTransition: throwInvalidHookError,\n useMutableSource: throwInvalidHookError,\n useSyncExternalStore: throwInvalidHookError,\n useId: throwInvalidHookError,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnMount = {\n readContext: readContext,\n useCallback: function(callback, deps) {\n mountWorkInProgressHook().memoizedState = [\n callback,\n void 0 === deps ? null : deps\n ];\n return callback;\n },\n useContext: readContext,\n useEffect: mountEffect,\n useImperativeHandle: function(ref, create, deps) {\n deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n return mountEffectImpl(\n 4,\n 4,\n imperativeHandleEffect.bind(null, create, ref),\n deps\n );\n },\n useLayoutEffect: function(create, deps) {\n return mountEffectImpl(4, 4, create, deps);\n },\n useInsertionEffect: function(create, deps) {\n return mountEffectImpl(4, 2, create, deps);\n },\n useMemo: function(nextCreate, deps) {\n var hook = mountWorkInProgressHook();\n deps = void 0 === deps ? null : deps;\n nextCreate = nextCreate();\n hook.memoizedState = [nextCreate, deps];\n return nextCreate;\n },\n useReducer: function(reducer, initialArg, init) {\n var hook = mountWorkInProgressHook();\n initialArg = void 0 !== init ? init(initialArg) : initialArg;\n hook.memoizedState = hook.baseState = initialArg;\n reducer = {\n pending: null,\n interleaved: null,\n lanes: 0,\n dispatch: null,\n lastRenderedReducer: reducer,\n lastRenderedState: initialArg\n };\n hook.queue = reducer;\n reducer = reducer.dispatch = dispatchReducerAction.bind(\n null,\n currentlyRenderingFiber$1,\n reducer\n );\n return [hook.memoizedState, reducer];\n },\n useRef: function(initialValue) {\n var hook = mountWorkInProgressHook();\n initialValue = { current: initialValue };\n return (hook.memoizedState = initialValue);\n },\n useState: mountState,\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n return (mountWorkInProgressHook().memoizedState = value);\n },\n useTransition: function() {\n var _mountState = mountState(!1),\n isPending = _mountState[0];\n _mountState = startTransition.bind(null, _mountState[1]);\n mountWorkInProgressHook().memoizedState = _mountState;\n return [isPending, _mountState];\n },\n useMutableSource: function() {},\n useSyncExternalStore: function(subscribe, getSnapshot) {\n var fiber = currentlyRenderingFiber$1,\n hook = mountWorkInProgressHook();\n var nextSnapshot = getSnapshot();\n if (null === workInProgressRoot)\n throw Error(\n \"Expected a work-in-progress root. This is a bug in React. Please file an issue.\"\n );\n 0 !== (renderLanes & 30) ||\n pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot);\n hook.memoizedState = nextSnapshot;\n var inst = { value: nextSnapshot, getSnapshot: getSnapshot };\n hook.queue = inst;\n mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [\n subscribe\n ]);\n fiber.flags |= 2048;\n pushEffect(\n 9,\n updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot),\n void 0,\n null\n );\n return nextSnapshot;\n },\n useId: function() {\n var hook = mountWorkInProgressHook(),\n identifierPrefix = workInProgressRoot.identifierPrefix,\n globalClientId = globalClientIdCounter++;\n identifierPrefix =\n \":\" + identifierPrefix + \"r\" + globalClientId.toString(32) + \":\";\n return (hook.memoizedState = identifierPrefix);\n },\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnUpdate = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: updateReducer,\n useRef: updateRef,\n useState: function() {\n return updateReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var hook = updateWorkInProgressHook();\n return updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n },\n useTransition: function() {\n var isPending = updateReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n unstable_isNewReconciler: !1\n },\n HooksDispatcherOnRerender = {\n readContext: readContext,\n useCallback: updateCallback,\n useContext: readContext,\n useEffect: updateEffect,\n useImperativeHandle: updateImperativeHandle,\n useInsertionEffect: updateInsertionEffect,\n useLayoutEffect: updateLayoutEffect,\n useMemo: updateMemo,\n useReducer: rerenderReducer,\n useRef: updateRef,\n useState: function() {\n return rerenderReducer(basicStateReducer);\n },\n useDebugValue: mountDebugValue,\n useDeferredValue: function(value) {\n var hook = updateWorkInProgressHook();\n return null === currentHook\n ? (hook.memoizedState = value)\n : updateDeferredValueImpl(hook, currentHook.memoizedState, value);\n },\n useTransition: function() {\n var isPending = rerenderReducer(basicStateReducer)[0],\n start = updateWorkInProgressHook().memoizedState;\n return [isPending, start];\n },\n useMutableSource: updateMutableSource,\n useSyncExternalStore: updateSyncExternalStore,\n useId: updateId,\n unstable_isNewReconciler: !1\n };\nfunction createCapturedValueAtFiber(value, source) {\n return {\n value: value,\n source: source,\n stack: getStackByFiberInDevAndProd(source),\n digest: null\n };\n}\nfunction createCapturedValue(value, digest, stack) {\n return {\n value: value,\n source: null,\n stack: null != stack ? stack : null,\n digest: null != digest ? digest : null\n };\n}\nif (\n \"function\" !==\n typeof ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog\n)\n throw Error(\n \"Expected ReactFiberErrorDialog.showErrorDialog to be a function.\"\n );\nfunction logCapturedError(boundary, errorInfo) {\n try {\n !1 !==\n ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog({\n componentStack: null !== errorInfo.stack ? errorInfo.stack : \"\",\n error: errorInfo.value,\n errorBoundary:\n null !== boundary && 1 === boundary.tag ? boundary.stateNode : null\n }) && console.error(errorInfo.value);\n } catch (e) {\n setTimeout(function() {\n throw e;\n });\n }\n}\nvar PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map;\nfunction createRootErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n lane.payload = { element: null };\n var error = errorInfo.value;\n lane.callback = function() {\n hasUncaughtError || ((hasUncaughtError = !0), (firstUncaughtError = error));\n logCapturedError(fiber, errorInfo);\n };\n return lane;\n}\nfunction createClassErrorUpdate(fiber, errorInfo, lane) {\n lane = createUpdate(-1, lane);\n lane.tag = 3;\n var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n if (\"function\" === typeof getDerivedStateFromError) {\n var error = errorInfo.value;\n lane.payload = function() {\n return getDerivedStateFromError(error);\n };\n lane.callback = function() {\n logCapturedError(fiber, errorInfo);\n };\n }\n var inst = fiber.stateNode;\n null !== inst &&\n \"function\" === typeof inst.componentDidCatch &&\n (lane.callback = function() {\n logCapturedError(fiber, errorInfo);\n \"function\" !== typeof getDerivedStateFromError &&\n (null === legacyErrorBoundariesThatAlreadyFailed\n ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n : legacyErrorBoundariesThatAlreadyFailed.add(this));\n var stack = errorInfo.stack;\n this.componentDidCatch(errorInfo.value, {\n componentStack: null !== stack ? stack : \"\"\n });\n });\n return lane;\n}\nfunction attachPingListener(root, wakeable, lanes) {\n var pingCache = root.pingCache;\n if (null === pingCache) {\n pingCache = root.pingCache = new PossiblyWeakMap();\n var threadIDs = new Set();\n pingCache.set(wakeable, threadIDs);\n } else\n (threadIDs = pingCache.get(wakeable)),\n void 0 === threadIDs &&\n ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));\n threadIDs.has(lanes) ||\n (threadIDs.add(lanes),\n (root = pingSuspendedRoot.bind(null, root, wakeable, lanes)),\n wakeable.then(root, root));\n}\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner,\n didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n workInProgress.child =\n null === current\n ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n : reconcileChildFibers(\n workInProgress,\n current.child,\n nextChildren,\n renderLanes\n );\n}\nfunction updateForwardRef(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n Component = Component.render;\n var ref = workInProgress.ref;\n prepareToReadContext(workInProgress, renderLanes);\n nextProps = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n ref,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -2053),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, nextProps, renderLanes);\n return workInProgress.child;\n}\nfunction updateMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null === current) {\n var type = Component.type;\n if (\n \"function\" === typeof type &&\n !shouldConstruct(type) &&\n void 0 === type.defaultProps &&\n null === Component.compare &&\n void 0 === Component.defaultProps\n )\n return (\n (workInProgress.tag = 15),\n (workInProgress.type = type),\n updateSimpleMemoComponent(\n current,\n workInProgress,\n type,\n nextProps,\n renderLanes\n )\n );\n current = createFiberFromTypeAndProps(\n Component.type,\n null,\n nextProps,\n workInProgress,\n workInProgress.mode,\n renderLanes\n );\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n }\n type = current.child;\n if (0 === (current.lanes & renderLanes)) {\n var prevProps = type.memoizedProps;\n Component = Component.compare;\n Component = null !== Component ? Component : shallowEqual;\n if (Component(prevProps, nextProps) && current.ref === workInProgress.ref)\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n }\n workInProgress.flags |= 1;\n current = createWorkInProgress(type, nextProps);\n current.ref = workInProgress.ref;\n current.return = workInProgress;\n return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (null !== current) {\n var prevProps = current.memoizedProps;\n if (\n shallowEqual(prevProps, nextProps) &&\n current.ref === workInProgress.ref\n )\n if (\n ((didReceiveUpdate = !1),\n (workInProgress.pendingProps = nextProps = prevProps),\n 0 !== (current.lanes & renderLanes))\n )\n 0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n else\n return (\n (workInProgress.lanes = current.lanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n }\n return updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n );\n}\nfunction updateOffscreenComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n nextChildren = nextProps.children,\n prevState = null !== current ? current.memoizedState : null;\n if (\"hidden\" === nextProps.mode)\n if (0 === (workInProgress.mode & 1))\n (workInProgress.memoizedState = {\n baseLanes: 0,\n cachePool: null,\n transitions: null\n }),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= renderLanes);\n else {\n if (0 === (renderLanes & 1073741824))\n return (\n (current =\n null !== prevState\n ? prevState.baseLanes | renderLanes\n : renderLanes),\n (workInProgress.lanes = workInProgress.childLanes = 1073741824),\n (workInProgress.memoizedState = {\n baseLanes: current,\n cachePool: null,\n transitions: null\n }),\n (workInProgress.updateQueue = null),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= current),\n null\n );\n workInProgress.memoizedState = {\n baseLanes: 0,\n cachePool: null,\n transitions: null\n };\n nextProps = null !== prevState ? prevState.baseLanes : renderLanes;\n push(subtreeRenderLanesCursor, subtreeRenderLanes);\n subtreeRenderLanes |= nextProps;\n }\n else\n null !== prevState\n ? ((nextProps = prevState.baseLanes | renderLanes),\n (workInProgress.memoizedState = null))\n : (nextProps = renderLanes),\n push(subtreeRenderLanesCursor, subtreeRenderLanes),\n (subtreeRenderLanes |= nextProps);\n reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n return workInProgress.child;\n}\nfunction markRef(current, workInProgress) {\n var ref = workInProgress.ref;\n if (\n (null === current && null !== ref) ||\n (null !== current && current.ref !== ref)\n )\n workInProgress.flags |= 512;\n}\nfunction updateFunctionComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n var context = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current;\n context = getMaskedContext(workInProgress, context);\n prepareToReadContext(workInProgress, renderLanes);\n Component = renderWithHooks(\n current,\n workInProgress,\n Component,\n nextProps,\n context,\n renderLanes\n );\n if (null !== current && !didReceiveUpdate)\n return (\n (workInProgress.updateQueue = current.updateQueue),\n (workInProgress.flags &= -2053),\n (current.lanes &= ~renderLanes),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n workInProgress.flags |= 1;\n reconcileChildren(current, workInProgress, Component, renderLanes);\n return workInProgress.child;\n}\nfunction updateClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n renderLanes\n) {\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n prepareToReadContext(workInProgress, renderLanes);\n if (null === workInProgress.stateNode)\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),\n constructClassInstance(workInProgress, Component, nextProps),\n mountClassInstance(workInProgress, Component, nextProps, renderLanes),\n (nextProps = !0);\n else if (null === current) {\n var instance = workInProgress.stateNode,\n oldProps = workInProgress.memoizedProps;\n instance.props = oldProps;\n var oldContext = instance.context,\n contextType = Component.contextType;\n \"object\" === typeof contextType && null !== contextType\n ? (contextType = readContext(contextType))\n : ((contextType = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (contextType = getMaskedContext(workInProgress, contextType)));\n var getDerivedStateFromProps = Component.getDerivedStateFromProps,\n hasNewLifecycles =\n \"function\" === typeof getDerivedStateFromProps ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate;\n hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== nextProps || oldContext !== contextType) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n contextType\n ));\n hasForceUpdate = !1;\n var oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n oldContext = workInProgress.memoizedState;\n oldProps !== nextProps ||\n oldState !== oldContext ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps,\n nextProps\n ),\n (oldContext = workInProgress.memoizedState)),\n (oldProps =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n oldProps,\n nextProps,\n oldState,\n oldContext,\n contextType\n ))\n ? (hasNewLifecycles ||\n (\"function\" !== typeof instance.UNSAFE_componentWillMount &&\n \"function\" !== typeof instance.componentWillMount) ||\n (\"function\" === typeof instance.componentWillMount &&\n instance.componentWillMount(),\n \"function\" === typeof instance.UNSAFE_componentWillMount &&\n instance.UNSAFE_componentWillMount()),\n \"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = oldContext)),\n (instance.props = nextProps),\n (instance.state = oldContext),\n (instance.context = contextType),\n (nextProps = oldProps))\n : (\"function\" === typeof instance.componentDidMount &&\n (workInProgress.flags |= 4),\n (nextProps = !1));\n } else {\n instance = workInProgress.stateNode;\n cloneUpdateQueue(current, workInProgress);\n oldProps = workInProgress.memoizedProps;\n contextType =\n workInProgress.type === workInProgress.elementType\n ? oldProps\n : resolveDefaultProps(workInProgress.type, oldProps);\n instance.props = contextType;\n hasNewLifecycles = workInProgress.pendingProps;\n oldState = instance.context;\n oldContext = Component.contextType;\n \"object\" === typeof oldContext && null !== oldContext\n ? (oldContext = readContext(oldContext))\n : ((oldContext = isContextProvider(Component)\n ? previousContext\n : contextStackCursor.current),\n (oldContext = getMaskedContext(workInProgress, oldContext)));\n var getDerivedStateFromProps$jscomp$0 = Component.getDerivedStateFromProps;\n (getDerivedStateFromProps =\n \"function\" === typeof getDerivedStateFromProps$jscomp$0 ||\n \"function\" === typeof instance.getSnapshotBeforeUpdate) ||\n (\"function\" !== typeof instance.UNSAFE_componentWillReceiveProps &&\n \"function\" !== typeof instance.componentWillReceiveProps) ||\n ((oldProps !== hasNewLifecycles || oldState !== oldContext) &&\n callComponentWillReceiveProps(\n workInProgress,\n instance,\n nextProps,\n oldContext\n ));\n hasForceUpdate = !1;\n oldState = workInProgress.memoizedState;\n instance.state = oldState;\n processUpdateQueue(workInProgress, nextProps, instance, renderLanes);\n var newState = workInProgress.memoizedState;\n oldProps !== hasNewLifecycles ||\n oldState !== newState ||\n didPerformWorkStackCursor.current ||\n hasForceUpdate\n ? (\"function\" === typeof getDerivedStateFromProps$jscomp$0 &&\n (applyDerivedStateFromProps(\n workInProgress,\n Component,\n getDerivedStateFromProps$jscomp$0,\n nextProps\n ),\n (newState = workInProgress.memoizedState)),\n (contextType =\n hasForceUpdate ||\n checkShouldComponentUpdate(\n workInProgress,\n Component,\n contextType,\n nextProps,\n oldState,\n newState,\n oldContext\n ) ||\n !1)\n ? (getDerivedStateFromProps ||\n (\"function\" !== typeof instance.UNSAFE_componentWillUpdate &&\n \"function\" !== typeof instance.componentWillUpdate) ||\n (\"function\" === typeof instance.componentWillUpdate &&\n instance.componentWillUpdate(nextProps, newState, oldContext),\n \"function\" === typeof instance.UNSAFE_componentWillUpdate &&\n instance.UNSAFE_componentWillUpdate(\n nextProps,\n newState,\n oldContext\n )),\n \"function\" === typeof instance.componentDidUpdate &&\n (workInProgress.flags |= 4),\n \"function\" === typeof instance.getSnapshotBeforeUpdate &&\n (workInProgress.flags |= 1024))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (workInProgress.memoizedProps = nextProps),\n (workInProgress.memoizedState = newState)),\n (instance.props = nextProps),\n (instance.state = newState),\n (instance.context = oldContext),\n (nextProps = contextType))\n : (\"function\" !== typeof instance.componentDidUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 4),\n \"function\" !== typeof instance.getSnapshotBeforeUpdate ||\n (oldProps === current.memoizedProps &&\n oldState === current.memoizedState) ||\n (workInProgress.flags |= 1024),\n (nextProps = !1));\n }\n return finishClassComponent(\n current,\n workInProgress,\n Component,\n nextProps,\n hasContext,\n renderLanes\n );\n}\nfunction finishClassComponent(\n current,\n workInProgress,\n Component,\n shouldUpdate,\n hasContext,\n renderLanes\n) {\n markRef(current, workInProgress);\n var didCaptureError = 0 !== (workInProgress.flags & 128);\n if (!shouldUpdate && !didCaptureError)\n return (\n hasContext && invalidateContextProvider(workInProgress, Component, !1),\n bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n );\n shouldUpdate = workInProgress.stateNode;\n ReactCurrentOwner$1.current = workInProgress;\n var nextChildren =\n didCaptureError && \"function\" !== typeof Component.getDerivedStateFromError\n ? null\n : shouldUpdate.render();\n workInProgress.flags |= 1;\n null !== current && didCaptureError\n ? ((workInProgress.child = reconcileChildFibers(\n workInProgress,\n current.child,\n null,\n renderLanes\n )),\n (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n nextChildren,\n renderLanes\n )))\n : reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n workInProgress.memoizedState = shouldUpdate.state;\n hasContext && invalidateContextProvider(workInProgress, Component, !0);\n return workInProgress.child;\n}\nfunction pushHostRootContext(workInProgress) {\n var root = workInProgress.stateNode;\n root.pendingContext\n ? pushTopLevelContextObject(\n workInProgress,\n root.pendingContext,\n root.pendingContext !== root.context\n )\n : root.context &&\n pushTopLevelContextObject(workInProgress, root.context, !1);\n pushHostContainer(workInProgress, root.containerInfo);\n}\nvar SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0 };\nfunction mountSuspenseOffscreenState(renderLanes) {\n return { baseLanes: renderLanes, cachePool: null, transitions: null };\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n suspenseContext = suspenseStackCursor.current,\n showFallback = !1,\n didSuspend = 0 !== (workInProgress.flags & 128),\n JSCompiler_temp;\n (JSCompiler_temp = didSuspend) ||\n (JSCompiler_temp =\n null !== current && null === current.memoizedState\n ? !1\n : 0 !== (suspenseContext & 2));\n if (JSCompiler_temp) (showFallback = !0), (workInProgress.flags &= -129);\n else if (null === current || null !== current.memoizedState)\n suspenseContext |= 1;\n push(suspenseStackCursor, suspenseContext & 1);\n if (null === current) {\n current = workInProgress.memoizedState;\n if (null !== current && null !== current.dehydrated)\n return (\n 0 === (workInProgress.mode & 1)\n ? (workInProgress.lanes = 1)\n : shim()\n ? (workInProgress.lanes = 8)\n : (workInProgress.lanes = 1073741824),\n null\n );\n didSuspend = nextProps.children;\n current = nextProps.fallback;\n return showFallback\n ? ((nextProps = workInProgress.mode),\n (showFallback = workInProgress.child),\n (didSuspend = { mode: \"hidden\", children: didSuspend }),\n 0 === (nextProps & 1) && null !== showFallback\n ? ((showFallback.childLanes = 0),\n (showFallback.pendingProps = didSuspend))\n : (showFallback = createFiberFromOffscreen(\n didSuspend,\n nextProps,\n 0,\n null\n )),\n (current = createFiberFromFragment(\n current,\n nextProps,\n renderLanes,\n null\n )),\n (showFallback.return = workInProgress),\n (current.return = workInProgress),\n (showFallback.sibling = current),\n (workInProgress.child = showFallback),\n (workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n )),\n (workInProgress.memoizedState = SUSPENDED_MARKER),\n current)\n : mountSuspensePrimaryChildren(workInProgress, didSuspend);\n }\n suspenseContext = current.memoizedState;\n if (\n null !== suspenseContext &&\n ((JSCompiler_temp = suspenseContext.dehydrated), null !== JSCompiler_temp)\n )\n return updateDehydratedSuspenseComponent(\n current,\n workInProgress,\n didSuspend,\n nextProps,\n JSCompiler_temp,\n suspenseContext,\n renderLanes\n );\n if (showFallback) {\n showFallback = nextProps.fallback;\n didSuspend = workInProgress.mode;\n suspenseContext = current.child;\n JSCompiler_temp = suspenseContext.sibling;\n var primaryChildProps = { mode: \"hidden\", children: nextProps.children };\n 0 === (didSuspend & 1) && workInProgress.child !== suspenseContext\n ? ((nextProps = workInProgress.child),\n (nextProps.childLanes = 0),\n (nextProps.pendingProps = primaryChildProps),\n (workInProgress.deletions = null))\n : ((nextProps = createWorkInProgress(suspenseContext, primaryChildProps)),\n (nextProps.subtreeFlags = suspenseContext.subtreeFlags & 14680064));\n null !== JSCompiler_temp\n ? (showFallback = createWorkInProgress(JSCompiler_temp, showFallback))\n : ((showFallback = createFiberFromFragment(\n showFallback,\n didSuspend,\n renderLanes,\n null\n )),\n (showFallback.flags |= 2));\n showFallback.return = workInProgress;\n nextProps.return = workInProgress;\n nextProps.sibling = showFallback;\n workInProgress.child = nextProps;\n nextProps = showFallback;\n showFallback = workInProgress.child;\n didSuspend = current.child.memoizedState;\n didSuspend =\n null === didSuspend\n ? mountSuspenseOffscreenState(renderLanes)\n : {\n baseLanes: didSuspend.baseLanes | renderLanes,\n cachePool: null,\n transitions: didSuspend.transitions\n };\n showFallback.memoizedState = didSuspend;\n showFallback.childLanes = current.childLanes & ~renderLanes;\n workInProgress.memoizedState = SUSPENDED_MARKER;\n return nextProps;\n }\n showFallback = current.child;\n current = showFallback.sibling;\n nextProps = createWorkInProgress(showFallback, {\n mode: \"visible\",\n children: nextProps.children\n });\n 0 === (workInProgress.mode & 1) && (nextProps.lanes = renderLanes);\n nextProps.return = workInProgress;\n nextProps.sibling = null;\n null !== current &&\n ((renderLanes = workInProgress.deletions),\n null === renderLanes\n ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n : renderLanes.push(current));\n workInProgress.child = nextProps;\n workInProgress.memoizedState = null;\n return nextProps;\n}\nfunction mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n primaryChildren = createFiberFromOffscreen(\n { mode: \"visible\", children: primaryChildren },\n workInProgress.mode,\n 0,\n null\n );\n primaryChildren.return = workInProgress;\n return (workInProgress.child = primaryChildren);\n}\nfunction retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n recoverableError\n) {\n null !== recoverableError &&\n (null === hydrationErrors\n ? (hydrationErrors = [recoverableError])\n : hydrationErrors.push(recoverableError));\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n current = mountSuspensePrimaryChildren(\n workInProgress,\n workInProgress.pendingProps.children\n );\n current.flags |= 2;\n workInProgress.memoizedState = null;\n return current;\n}\nfunction updateDehydratedSuspenseComponent(\n current,\n workInProgress,\n didSuspend,\n nextProps,\n suspenseInstance,\n suspenseState,\n renderLanes\n) {\n if (didSuspend) {\n if (workInProgress.flags & 256)\n return (\n (workInProgress.flags &= -257),\n (suspenseState = createCapturedValue(\n Error(\n \"There was an error while hydrating this Suspense boundary. Switched to client rendering.\"\n )\n )),\n retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n )\n );\n if (null !== workInProgress.memoizedState)\n return (\n (workInProgress.child = current.child),\n (workInProgress.flags |= 128),\n null\n );\n suspenseState = nextProps.fallback;\n didSuspend = workInProgress.mode;\n nextProps = createFiberFromOffscreen(\n { mode: \"visible\", children: nextProps.children },\n didSuspend,\n 0,\n null\n );\n suspenseState = createFiberFromFragment(\n suspenseState,\n didSuspend,\n renderLanes,\n null\n );\n suspenseState.flags |= 2;\n nextProps.return = workInProgress;\n suspenseState.return = workInProgress;\n nextProps.sibling = suspenseState;\n workInProgress.child = nextProps;\n 0 !== (workInProgress.mode & 1) &&\n reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n workInProgress.child.memoizedState = mountSuspenseOffscreenState(\n renderLanes\n );\n workInProgress.memoizedState = SUSPENDED_MARKER;\n return suspenseState;\n }\n if (0 === (workInProgress.mode & 1))\n return retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n null\n );\n if (shim())\n return (\n (suspenseState = shim().digest),\n (suspenseState = createCapturedValue(\n Error(\n \"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.\"\n ),\n suspenseState,\n void 0\n )),\n retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n )\n );\n didSuspend = 0 !== (renderLanes & current.childLanes);\n if (didReceiveUpdate || didSuspend) {\n nextProps = workInProgressRoot;\n if (null !== nextProps) {\n switch (renderLanes & -renderLanes) {\n case 4:\n didSuspend = 2;\n break;\n case 16:\n didSuspend = 8;\n break;\n case 64:\n case 128:\n case 256:\n case 512:\n case 1024:\n case 2048:\n case 4096:\n case 8192:\n case 16384:\n case 32768:\n case 65536:\n case 131072:\n case 262144:\n case 524288:\n case 1048576:\n case 2097152:\n case 4194304:\n case 8388608:\n case 16777216:\n case 33554432:\n case 67108864:\n didSuspend = 32;\n break;\n case 536870912:\n didSuspend = 268435456;\n break;\n default:\n didSuspend = 0;\n }\n didSuspend =\n 0 !== (didSuspend & (nextProps.suspendedLanes | renderLanes))\n ? 0\n : didSuspend;\n 0 !== didSuspend &&\n didSuspend !== suspenseState.retryLane &&\n ((suspenseState.retryLane = didSuspend),\n markUpdateLaneFromFiberToRoot(current, didSuspend),\n scheduleUpdateOnFiber(nextProps, current, didSuspend, -1));\n }\n renderDidSuspendDelayIfPossible();\n suspenseState = createCapturedValue(\n Error(\n \"This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.\"\n )\n );\n return retrySuspenseComponentWithoutHydrating(\n current,\n workInProgress,\n renderLanes,\n suspenseState\n );\n }\n if (shim())\n return (\n (workInProgress.flags |= 128),\n (workInProgress.child = current.child),\n retryDehydratedSuspenseBoundary.bind(null, current),\n shim(),\n null\n );\n current = mountSuspensePrimaryChildren(workInProgress, nextProps.children);\n current.flags |= 4096;\n return current;\n}\nfunction scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n fiber.lanes |= renderLanes;\n var alternate = fiber.alternate;\n null !== alternate && (alternate.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n}\nfunction initSuspenseListRenderState(\n workInProgress,\n isBackwards,\n tail,\n lastContentRow,\n tailMode\n) {\n var renderState = workInProgress.memoizedState;\n null === renderState\n ? (workInProgress.memoizedState = {\n isBackwards: isBackwards,\n rendering: null,\n renderingStartTime: 0,\n last: lastContentRow,\n tail: tail,\n tailMode: tailMode\n })\n : ((renderState.isBackwards = isBackwards),\n (renderState.rendering = null),\n (renderState.renderingStartTime = 0),\n (renderState.last = lastContentRow),\n (renderState.tail = tail),\n (renderState.tailMode = tailMode));\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n var nextProps = workInProgress.pendingProps,\n revealOrder = nextProps.revealOrder,\n tailMode = nextProps.tail;\n reconcileChildren(current, workInProgress, nextProps.children, renderLanes);\n nextProps = suspenseStackCursor.current;\n if (0 !== (nextProps & 2))\n (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128);\n else {\n if (null !== current && 0 !== (current.flags & 128))\n a: for (current = workInProgress.child; null !== current; ) {\n if (13 === current.tag)\n null !== current.memoizedState &&\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (19 === current.tag)\n scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n else if (null !== current.child) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === workInProgress) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === workInProgress)\n break a;\n current = current.return;\n }\n current.sibling.return = current.return;\n current = current.sibling;\n }\n nextProps &= 1;\n }\n push(suspenseStackCursor, nextProps);\n if (0 === (workInProgress.mode & 1)) workInProgress.memoizedState = null;\n else\n switch (revealOrder) {\n case \"forwards\":\n renderLanes = workInProgress.child;\n for (revealOrder = null; null !== renderLanes; )\n (current = renderLanes.alternate),\n null !== current &&\n null === findFirstSuspended(current) &&\n (revealOrder = renderLanes),\n (renderLanes = renderLanes.sibling);\n renderLanes = revealOrder;\n null === renderLanes\n ? ((revealOrder = workInProgress.child),\n (workInProgress.child = null))\n : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null));\n initSuspenseListRenderState(\n workInProgress,\n !1,\n revealOrder,\n renderLanes,\n tailMode\n );\n break;\n case \"backwards\":\n renderLanes = null;\n revealOrder = workInProgress.child;\n for (workInProgress.child = null; null !== revealOrder; ) {\n current = revealOrder.alternate;\n if (null !== current && null === findFirstSuspended(current)) {\n workInProgress.child = revealOrder;\n break;\n }\n current = revealOrder.sibling;\n revealOrder.sibling = renderLanes;\n renderLanes = revealOrder;\n revealOrder = current;\n }\n initSuspenseListRenderState(\n workInProgress,\n !0,\n renderLanes,\n null,\n tailMode\n );\n break;\n case \"together\":\n initSuspenseListRenderState(workInProgress, !1, null, null, void 0);\n break;\n default:\n workInProgress.memoizedState = null;\n }\n return workInProgress.child;\n}\nfunction resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress) {\n 0 === (workInProgress.mode & 1) &&\n null !== current &&\n ((current.alternate = null),\n (workInProgress.alternate = null),\n (workInProgress.flags |= 2));\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n null !== current && (workInProgress.dependencies = current.dependencies);\n workInProgressRootSkippedLanes |= workInProgress.lanes;\n if (0 === (renderLanes & workInProgress.childLanes)) return null;\n if (null !== current && workInProgress.child !== current.child)\n throw Error(\"Resuming work not yet implemented.\");\n if (null !== workInProgress.child) {\n current = workInProgress.child;\n renderLanes = createWorkInProgress(current, current.pendingProps);\n workInProgress.child = renderLanes;\n for (renderLanes.return = workInProgress; null !== current.sibling; )\n (current = current.sibling),\n (renderLanes = renderLanes.sibling = createWorkInProgress(\n current,\n current.pendingProps\n )),\n (renderLanes.return = workInProgress);\n renderLanes.sibling = null;\n }\n return workInProgress.child;\n}\nfunction attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n) {\n switch (workInProgress.tag) {\n case 3:\n pushHostRootContext(workInProgress);\n break;\n case 5:\n pushHostContext(workInProgress);\n break;\n case 1:\n isContextProvider(workInProgress.type) &&\n pushContextProvider(workInProgress);\n break;\n case 4:\n pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n break;\n case 10:\n var context = workInProgress.type._context,\n nextValue = workInProgress.memoizedProps.value;\n push(valueCursor, context._currentValue);\n context._currentValue = nextValue;\n break;\n case 13:\n context = workInProgress.memoizedState;\n if (null !== context) {\n if (null !== context.dehydrated)\n return (\n push(suspenseStackCursor, suspenseStackCursor.current & 1),\n (workInProgress.flags |= 128),\n null\n );\n if (0 !== (renderLanes & workInProgress.child.childLanes))\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n current = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n return null !== current ? current.sibling : null;\n }\n push(suspenseStackCursor, suspenseStackCursor.current & 1);\n break;\n case 19:\n context = 0 !== (renderLanes & workInProgress.childLanes);\n if (0 !== (current.flags & 128)) {\n if (context)\n return updateSuspenseListComponent(\n current,\n workInProgress,\n renderLanes\n );\n workInProgress.flags |= 128;\n }\n nextValue = workInProgress.memoizedState;\n null !== nextValue &&\n ((nextValue.rendering = null),\n (nextValue.tail = null),\n (nextValue.lastEffect = null));\n push(suspenseStackCursor, suspenseStackCursor.current);\n if (context) break;\n else return null;\n case 22:\n case 23:\n return (\n (workInProgress.lanes = 0),\n updateOffscreenComponent(current, workInProgress, renderLanes)\n );\n }\n return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n}\nvar appendAllChildren,\n updateHostContainer,\n updateHostComponent$1,\n updateHostText$1;\nappendAllChildren = function(parent, workInProgress) {\n for (var node = workInProgress.child; null !== node; ) {\n if (5 === node.tag || 6 === node.tag) parent._children.push(node.stateNode);\n else if (4 !== node.tag && null !== node.child) {\n node.child.return = node;\n node = node.child;\n continue;\n }\n if (node === workInProgress) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === workInProgress) return;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n};\nupdateHostContainer = function() {};\nupdateHostComponent$1 = function(current, workInProgress, type, newProps) {\n current.memoizedProps !== newProps &&\n (requiredContext(contextStackCursor$1.current),\n (workInProgress.updateQueue = UPDATE_SIGNAL)) &&\n (workInProgress.flags |= 4);\n};\nupdateHostText$1 = function(current, workInProgress, oldText, newText) {\n oldText !== newText && (workInProgress.flags |= 4);\n};\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n switch (renderState.tailMode) {\n case \"hidden\":\n hasRenderedATailFallback = renderState.tail;\n for (var lastTailNode = null; null !== hasRenderedATailFallback; )\n null !== hasRenderedATailFallback.alternate &&\n (lastTailNode = hasRenderedATailFallback),\n (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n null === lastTailNode\n ? (renderState.tail = null)\n : (lastTailNode.sibling = null);\n break;\n case \"collapsed\":\n lastTailNode = renderState.tail;\n for (var lastTailNode$62 = null; null !== lastTailNode; )\n null !== lastTailNode.alternate && (lastTailNode$62 = lastTailNode),\n (lastTailNode = lastTailNode.sibling);\n null === lastTailNode$62\n ? hasRenderedATailFallback || null === renderState.tail\n ? (renderState.tail = null)\n : (renderState.tail.sibling = null)\n : (lastTailNode$62.sibling = null);\n }\n}\nfunction bubbleProperties(completedWork) {\n var didBailout =\n null !== completedWork.alternate &&\n completedWork.alternate.child === completedWork.child,\n newChildLanes = 0,\n subtreeFlags = 0;\n if (didBailout)\n for (var child$63 = completedWork.child; null !== child$63; )\n (newChildLanes |= child$63.lanes | child$63.childLanes),\n (subtreeFlags |= child$63.subtreeFlags & 14680064),\n (subtreeFlags |= child$63.flags & 14680064),\n (child$63.return = completedWork),\n (child$63 = child$63.sibling);\n else\n for (child$63 = completedWork.child; null !== child$63; )\n (newChildLanes |= child$63.lanes | child$63.childLanes),\n (subtreeFlags |= child$63.subtreeFlags),\n (subtreeFlags |= child$63.flags),\n (child$63.return = completedWork),\n (child$63 = child$63.sibling);\n completedWork.subtreeFlags |= subtreeFlags;\n completedWork.childLanes = newChildLanes;\n return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n var newProps = workInProgress.pendingProps;\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 2:\n case 16:\n case 15:\n case 0:\n case 11:\n case 7:\n case 8:\n case 12:\n case 9:\n case 14:\n return bubbleProperties(workInProgress), null;\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 3:\n return (\n (renderLanes = workInProgress.stateNode),\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n renderLanes.pendingContext &&\n ((renderLanes.context = renderLanes.pendingContext),\n (renderLanes.pendingContext = null)),\n (null !== current && null !== current.child) ||\n null === current ||\n (current.memoizedState.isDehydrated &&\n 0 === (workInProgress.flags & 256)) ||\n ((workInProgress.flags |= 1024),\n null !== hydrationErrors &&\n (queueRecoverableErrors(hydrationErrors),\n (hydrationErrors = null))),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 5:\n popHostContext(workInProgress);\n renderLanes = requiredContext(rootInstanceStackCursor.current);\n var type = workInProgress.type;\n if (null !== current && null != workInProgress.stateNode)\n updateHostComponent$1(\n current,\n workInProgress,\n type,\n newProps,\n renderLanes\n ),\n current.ref !== workInProgress.ref && (workInProgress.flags |= 512);\n else {\n if (!newProps) {\n if (null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n bubbleProperties(workInProgress);\n return null;\n }\n requiredContext(contextStackCursor$1.current);\n current = allocateTag();\n type = getViewConfigForType(type);\n var updatePayload = diffProperties(\n null,\n emptyObject,\n newProps,\n type.validAttributes\n );\n ReactNativePrivateInterface.UIManager.createView(\n current,\n type.uiViewClassName,\n renderLanes,\n updatePayload\n );\n renderLanes = new ReactNativeFiberHostComponent(\n current,\n type,\n workInProgress\n );\n instanceCache.set(current, workInProgress);\n instanceProps.set(current, newProps);\n appendAllChildren(renderLanes, workInProgress, !1, !1);\n workInProgress.stateNode = renderLanes;\n finalizeInitialChildren(renderLanes) && (workInProgress.flags |= 4);\n null !== workInProgress.ref && (workInProgress.flags |= 512);\n }\n bubbleProperties(workInProgress);\n return null;\n case 6:\n if (current && null != workInProgress.stateNode)\n updateHostText$1(\n current,\n workInProgress,\n current.memoizedProps,\n newProps\n );\n else {\n if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n throw Error(\n \"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.\"\n );\n current = requiredContext(rootInstanceStackCursor.current);\n if (!requiredContext(contextStackCursor$1.current).isInAParentText)\n throw Error(\n \"Text strings must be rendered within a component.\"\n );\n renderLanes = allocateTag();\n ReactNativePrivateInterface.UIManager.createView(\n renderLanes,\n \"RCTRawText\",\n current,\n { text: newProps }\n );\n instanceCache.set(renderLanes, workInProgress);\n workInProgress.stateNode = renderLanes;\n }\n bubbleProperties(workInProgress);\n return null;\n case 13:\n pop(suspenseStackCursor);\n newProps = workInProgress.memoizedState;\n if (\n null === current ||\n (null !== current.memoizedState &&\n null !== current.memoizedState.dehydrated)\n ) {\n if (null !== newProps && null !== newProps.dehydrated) {\n if (null === current) {\n throw Error(\n \"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.\"\n );\n throw Error(\n \"Expected prepareToHydrateHostSuspenseInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n 0 === (workInProgress.flags & 128) &&\n (workInProgress.memoizedState = null);\n workInProgress.flags |= 4;\n bubbleProperties(workInProgress);\n type = !1;\n } else\n null !== hydrationErrors &&\n (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)),\n (type = !0);\n if (!type) return workInProgress.flags & 65536 ? workInProgress : null;\n }\n if (0 !== (workInProgress.flags & 128))\n return (workInProgress.lanes = renderLanes), workInProgress;\n renderLanes = null !== newProps;\n renderLanes !== (null !== current && null !== current.memoizedState) &&\n renderLanes &&\n ((workInProgress.child.flags |= 8192),\n 0 !== (workInProgress.mode & 1) &&\n (null === current || 0 !== (suspenseStackCursor.current & 1)\n ? 0 === workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 3)\n : renderDidSuspendDelayIfPossible()));\n null !== workInProgress.updateQueue && (workInProgress.flags |= 4);\n bubbleProperties(workInProgress);\n return null;\n case 4:\n return (\n popHostContainer(),\n updateHostContainer(current, workInProgress),\n bubbleProperties(workInProgress),\n null\n );\n case 10:\n return (\n popProvider(workInProgress.type._context),\n bubbleProperties(workInProgress),\n null\n );\n case 17:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n bubbleProperties(workInProgress),\n null\n );\n case 19:\n pop(suspenseStackCursor);\n type = workInProgress.memoizedState;\n if (null === type) return bubbleProperties(workInProgress), null;\n newProps = 0 !== (workInProgress.flags & 128);\n updatePayload = type.rendering;\n if (null === updatePayload)\n if (newProps) cutOffTailIfNeeded(type, !1);\n else {\n if (\n 0 !== workInProgressRootExitStatus ||\n (null !== current && 0 !== (current.flags & 128))\n )\n for (current = workInProgress.child; null !== current; ) {\n updatePayload = findFirstSuspended(current);\n if (null !== updatePayload) {\n workInProgress.flags |= 128;\n cutOffTailIfNeeded(type, !1);\n current = updatePayload.updateQueue;\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4));\n workInProgress.subtreeFlags = 0;\n current = renderLanes;\n for (renderLanes = workInProgress.child; null !== renderLanes; )\n (newProps = renderLanes),\n (type = current),\n (newProps.flags &= 14680066),\n (updatePayload = newProps.alternate),\n null === updatePayload\n ? ((newProps.childLanes = 0),\n (newProps.lanes = type),\n (newProps.child = null),\n (newProps.subtreeFlags = 0),\n (newProps.memoizedProps = null),\n (newProps.memoizedState = null),\n (newProps.updateQueue = null),\n (newProps.dependencies = null),\n (newProps.stateNode = null))\n : ((newProps.childLanes = updatePayload.childLanes),\n (newProps.lanes = updatePayload.lanes),\n (newProps.child = updatePayload.child),\n (newProps.subtreeFlags = 0),\n (newProps.deletions = null),\n (newProps.memoizedProps = updatePayload.memoizedProps),\n (newProps.memoizedState = updatePayload.memoizedState),\n (newProps.updateQueue = updatePayload.updateQueue),\n (newProps.type = updatePayload.type),\n (type = updatePayload.dependencies),\n (newProps.dependencies =\n null === type\n ? null\n : {\n lanes: type.lanes,\n firstContext: type.firstContext\n })),\n (renderLanes = renderLanes.sibling);\n push(\n suspenseStackCursor,\n (suspenseStackCursor.current & 1) | 2\n );\n return workInProgress.child;\n }\n current = current.sibling;\n }\n null !== type.tail &&\n now() > workInProgressRootRenderTargetTime &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n }\n else {\n if (!newProps)\n if (\n ((current = findFirstSuspended(updatePayload)), null !== current)\n ) {\n if (\n ((workInProgress.flags |= 128),\n (newProps = !0),\n (current = current.updateQueue),\n null !== current &&\n ((workInProgress.updateQueue = current),\n (workInProgress.flags |= 4)),\n cutOffTailIfNeeded(type, !0),\n null === type.tail &&\n \"hidden\" === type.tailMode &&\n !updatePayload.alternate)\n )\n return bubbleProperties(workInProgress), null;\n } else\n 2 * now() - type.renderingStartTime >\n workInProgressRootRenderTargetTime &&\n 1073741824 !== renderLanes &&\n ((workInProgress.flags |= 128),\n (newProps = !0),\n cutOffTailIfNeeded(type, !1),\n (workInProgress.lanes = 4194304));\n type.isBackwards\n ? ((updatePayload.sibling = workInProgress.child),\n (workInProgress.child = updatePayload))\n : ((current = type.last),\n null !== current\n ? (current.sibling = updatePayload)\n : (workInProgress.child = updatePayload),\n (type.last = updatePayload));\n }\n if (null !== type.tail)\n return (\n (workInProgress = type.tail),\n (type.rendering = workInProgress),\n (type.tail = workInProgress.sibling),\n (type.renderingStartTime = now()),\n (workInProgress.sibling = null),\n (current = suspenseStackCursor.current),\n push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),\n workInProgress\n );\n bubbleProperties(workInProgress);\n return null;\n case 22:\n case 23:\n return (\n popRenderLanes(),\n (renderLanes = null !== workInProgress.memoizedState),\n null !== current &&\n (null !== current.memoizedState) !== renderLanes &&\n (workInProgress.flags |= 8192),\n renderLanes && 0 !== (workInProgress.mode & 1)\n ? 0 !== (subtreeRenderLanes & 1073741824) &&\n (bubbleProperties(workInProgress),\n workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192))\n : bubbleProperties(workInProgress),\n null\n );\n case 24:\n return null;\n case 25:\n return null;\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n}\nfunction unwindWork(current, workInProgress) {\n popTreeContext(workInProgress);\n switch (workInProgress.tag) {\n case 1:\n return (\n isContextProvider(workInProgress.type) && popContext(),\n (current = workInProgress.flags),\n current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 3:\n return (\n popHostContainer(),\n pop(didPerformWorkStackCursor),\n pop(contextStackCursor),\n resetWorkInProgressVersions(),\n (current = workInProgress.flags),\n 0 !== (current & 65536) && 0 === (current & 128)\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null\n );\n case 5:\n return popHostContext(workInProgress), null;\n case 13:\n pop(suspenseStackCursor);\n current = workInProgress.memoizedState;\n if (\n null !== current &&\n null !== current.dehydrated &&\n null === workInProgress.alternate\n )\n throw Error(\n \"Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.\"\n );\n current = workInProgress.flags;\n return current & 65536\n ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n : null;\n case 19:\n return pop(suspenseStackCursor), null;\n case 4:\n return popHostContainer(), null;\n case 10:\n return popProvider(workInProgress.type._context), null;\n case 22:\n case 23:\n return popRenderLanes(), null;\n case 24:\n return null;\n default:\n return null;\n }\n}\nvar PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n nextEffect = null;\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n var ref = current.ref;\n if (null !== ref)\n if (\"function\" === typeof ref)\n try {\n ref(null);\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n else ref.current = null;\n}\nfunction safelyCallDestroy(current, nearestMountedAncestor, destroy) {\n try {\n destroy();\n } catch (error) {\n captureCommitPhaseError(current, nearestMountedAncestor, error);\n }\n}\nvar shouldFireAfterActiveInstanceBlur = !1;\nfunction commitBeforeMutationEffects(root, firstChild) {\n for (nextEffect = firstChild; null !== nextEffect; )\n if (\n ((root = nextEffect),\n (firstChild = root.child),\n 0 !== (root.subtreeFlags & 1028) && null !== firstChild)\n )\n (firstChild.return = root), (nextEffect = firstChild);\n else\n for (; null !== nextEffect; ) {\n root = nextEffect;\n try {\n var current = root.alternate;\n if (0 !== (root.flags & 1024))\n switch (root.tag) {\n case 0:\n case 11:\n case 15:\n break;\n case 1:\n if (null !== current) {\n var prevProps = current.memoizedProps,\n prevState = current.memoizedState,\n instance = root.stateNode,\n snapshot = instance.getSnapshotBeforeUpdate(\n root.elementType === root.type\n ? prevProps\n : resolveDefaultProps(root.type, prevProps),\n prevState\n );\n instance.__reactInternalSnapshotBeforeUpdate = snapshot;\n }\n break;\n case 3:\n break;\n case 5:\n case 6:\n case 4:\n case 17:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n } catch (error) {\n captureCommitPhaseError(root, root.return, error);\n }\n firstChild = root.sibling;\n if (null !== firstChild) {\n firstChild.return = root.return;\n nextEffect = firstChild;\n break;\n }\n nextEffect = root.return;\n }\n current = shouldFireAfterActiveInstanceBlur;\n shouldFireAfterActiveInstanceBlur = !1;\n return current;\n}\nfunction commitHookEffectListUnmount(\n flags,\n finishedWork,\n nearestMountedAncestor\n) {\n var updateQueue = finishedWork.updateQueue;\n updateQueue = null !== updateQueue ? updateQueue.lastEffect : null;\n if (null !== updateQueue) {\n var effect = (updateQueue = updateQueue.next);\n do {\n if ((effect.tag & flags) === flags) {\n var destroy = effect.destroy;\n effect.destroy = void 0;\n void 0 !== destroy &&\n safelyCallDestroy(finishedWork, nearestMountedAncestor, destroy);\n }\n effect = effect.next;\n } while (effect !== updateQueue);\n }\n}\nfunction commitHookEffectListMount(flags, finishedWork) {\n finishedWork = finishedWork.updateQueue;\n finishedWork = null !== finishedWork ? finishedWork.lastEffect : null;\n if (null !== finishedWork) {\n var effect = (finishedWork = finishedWork.next);\n do {\n if ((effect.tag & flags) === flags) {\n var create$75 = effect.create;\n effect.destroy = create$75();\n }\n effect = effect.next;\n } while (effect !== finishedWork);\n }\n}\nfunction detachFiberAfterEffects(fiber) {\n var alternate = fiber.alternate;\n null !== alternate &&\n ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n fiber.child = null;\n fiber.deletions = null;\n fiber.sibling = null;\n fiber.stateNode = null;\n fiber.return = null;\n fiber.dependencies = null;\n fiber.memoizedProps = null;\n fiber.memoizedState = null;\n fiber.pendingProps = null;\n fiber.stateNode = null;\n fiber.updateQueue = null;\n}\nfunction isHostParent(fiber) {\n return 5 === fiber.tag || 3 === fiber.tag || 4 === fiber.tag;\n}\nfunction getHostSibling(fiber) {\n a: for (;;) {\n for (; null === fiber.sibling; ) {\n if (null === fiber.return || isHostParent(fiber.return)) return null;\n fiber = fiber.return;\n }\n fiber.sibling.return = fiber.return;\n for (\n fiber = fiber.sibling;\n 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;\n\n ) {\n if (fiber.flags & 2) continue a;\n if (null === fiber.child || 4 === fiber.tag) continue a;\n else (fiber.child.return = fiber), (fiber = fiber.child);\n }\n if (!(fiber.flags & 2)) return fiber.stateNode;\n }\n}\nfunction insertOrAppendPlacementNodeIntoContainer(node, before, parent) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n if (((node = node.stateNode), before)) {\n if (\"number\" === typeof parent)\n throw Error(\"Container does not support insertBefore operation\");\n } else\n ReactNativePrivateInterface.UIManager.setChildren(parent, [\n \"number\" === typeof node ? node : node._nativeTag\n ]);\n else if (4 !== tag && ((node = node.child), null !== node))\n for (\n insertOrAppendPlacementNodeIntoContainer(node, before, parent),\n node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNodeIntoContainer(node, before, parent),\n (node = node.sibling);\n}\nfunction insertOrAppendPlacementNode(node, before, parent) {\n var tag = node.tag;\n if (5 === tag || 6 === tag)\n if (((node = node.stateNode), before)) {\n tag = parent._children;\n var index = tag.indexOf(node);\n 0 <= index\n ? (tag.splice(index, 1),\n (before = tag.indexOf(before)),\n tag.splice(before, 0, node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [index],\n [before],\n [],\n [],\n []\n ))\n : ((before = tag.indexOf(before)),\n tag.splice(before, 0, node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [],\n [],\n [\"number\" === typeof node ? node : node._nativeTag],\n [before],\n []\n ));\n } else\n (before = \"number\" === typeof node ? node : node._nativeTag),\n (tag = parent._children),\n (index = tag.indexOf(node)),\n 0 <= index\n ? (tag.splice(index, 1),\n tag.push(node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [index],\n [tag.length - 1],\n [],\n [],\n []\n ))\n : (tag.push(node),\n ReactNativePrivateInterface.UIManager.manageChildren(\n parent._nativeTag,\n [],\n [],\n [before],\n [tag.length - 1],\n []\n ));\n else if (4 !== tag && ((node = node.child), null !== node))\n for (\n insertOrAppendPlacementNode(node, before, parent), node = node.sibling;\n null !== node;\n\n )\n insertOrAppendPlacementNode(node, before, parent), (node = node.sibling);\n}\nvar hostParent = null,\n hostParentIsContainer = !1;\nfunction recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n parent\n) {\n for (parent = parent.child; null !== parent; )\n commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent),\n (parent = parent.sibling);\n}\nfunction commitDeletionEffectsOnFiber(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n) {\n if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberUnmount)\n try {\n injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n } catch (err) {}\n switch (deletedFiber.tag) {\n case 5:\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n case 6:\n var prevHostParent = hostParent,\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = null;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n null !== hostParent &&\n (hostParentIsContainer\n ? ((finishedRoot = hostParent),\n recursivelyUncacheFiberNode(deletedFiber.stateNode),\n ReactNativePrivateInterface.UIManager.manageChildren(\n finishedRoot,\n [],\n [],\n [],\n [],\n [0]\n ))\n : ((finishedRoot = hostParent),\n (nearestMountedAncestor = deletedFiber.stateNode),\n recursivelyUncacheFiberNode(nearestMountedAncestor),\n (deletedFiber = finishedRoot._children),\n (nearestMountedAncestor = deletedFiber.indexOf(\n nearestMountedAncestor\n )),\n deletedFiber.splice(nearestMountedAncestor, 1),\n ReactNativePrivateInterface.UIManager.manageChildren(\n finishedRoot._nativeTag,\n [],\n [],\n [],\n [],\n [nearestMountedAncestor]\n )));\n break;\n case 18:\n null !== hostParent && shim(hostParent, deletedFiber.stateNode);\n break;\n case 4:\n prevHostParent = hostParent;\n prevHostParentIsContainer = hostParentIsContainer;\n hostParent = deletedFiber.stateNode.containerInfo;\n hostParentIsContainer = !0;\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n hostParent = prevHostParent;\n hostParentIsContainer = prevHostParentIsContainer;\n break;\n case 0:\n case 11:\n case 14:\n case 15:\n prevHostParent = deletedFiber.updateQueue;\n if (\n null !== prevHostParent &&\n ((prevHostParent = prevHostParent.lastEffect), null !== prevHostParent)\n ) {\n prevHostParentIsContainer = prevHostParent = prevHostParent.next;\n do {\n var _effect = prevHostParentIsContainer,\n destroy = _effect.destroy;\n _effect = _effect.tag;\n void 0 !== destroy &&\n (0 !== (_effect & 2)\n ? safelyCallDestroy(deletedFiber, nearestMountedAncestor, destroy)\n : 0 !== (_effect & 4) &&\n safelyCallDestroy(\n deletedFiber,\n nearestMountedAncestor,\n destroy\n ));\n prevHostParentIsContainer = prevHostParentIsContainer.next;\n } while (prevHostParentIsContainer !== prevHostParent);\n }\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 1:\n safelyDetachRef(deletedFiber, nearestMountedAncestor);\n prevHostParent = deletedFiber.stateNode;\n if (\"function\" === typeof prevHostParent.componentWillUnmount)\n try {\n (prevHostParent.props = deletedFiber.memoizedProps),\n (prevHostParent.state = deletedFiber.memoizedState),\n prevHostParent.componentWillUnmount();\n } catch (error) {\n captureCommitPhaseError(deletedFiber, nearestMountedAncestor, error);\n }\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 21:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n case 22:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n break;\n default:\n recursivelyTraverseDeletionEffects(\n finishedRoot,\n nearestMountedAncestor,\n deletedFiber\n );\n }\n}\nfunction attachSuspenseRetryListeners(finishedWork) {\n var wakeables = finishedWork.updateQueue;\n if (null !== wakeables) {\n finishedWork.updateQueue = null;\n var retryCache = finishedWork.stateNode;\n null === retryCache &&\n (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n wakeables.forEach(function(wakeable) {\n var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n retryCache.has(wakeable) ||\n (retryCache.add(wakeable), wakeable.then(retry, retry));\n });\n }\n}\nfunction recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {\n var deletions = parentFiber.deletions;\n if (null !== deletions)\n for (var i = 0; i < deletions.length; i++) {\n var childToDelete = deletions[i];\n try {\n var root = root$jscomp$0,\n returnFiber = parentFiber,\n parent = returnFiber;\n a: for (; null !== parent; ) {\n switch (parent.tag) {\n case 5:\n hostParent = parent.stateNode;\n hostParentIsContainer = !1;\n break a;\n case 3:\n hostParent = parent.stateNode.containerInfo;\n hostParentIsContainer = !0;\n break a;\n case 4:\n hostParent = parent.stateNode.containerInfo;\n hostParentIsContainer = !0;\n break a;\n }\n parent = parent.return;\n }\n if (null === hostParent)\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);\n hostParent = null;\n hostParentIsContainer = !1;\n var alternate = childToDelete.alternate;\n null !== alternate && (alternate.return = null);\n childToDelete.return = null;\n } catch (error) {\n captureCommitPhaseError(childToDelete, parentFiber, error);\n }\n }\n if (parentFiber.subtreeFlags & 12854)\n for (parentFiber = parentFiber.child; null !== parentFiber; )\n commitMutationEffectsOnFiber(parentFiber, root$jscomp$0),\n (parentFiber = parentFiber.sibling);\n}\nfunction commitMutationEffectsOnFiber(finishedWork, root) {\n var current = finishedWork.alternate,\n flags = finishedWork.flags;\n switch (finishedWork.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (flags & 4) {\n try {\n commitHookEffectListUnmount(3, finishedWork, finishedWork.return),\n commitHookEffectListMount(3, finishedWork);\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n try {\n commitHookEffectListUnmount(5, finishedWork, finishedWork.return);\n } catch (error$85) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error$85);\n }\n }\n break;\n case 1:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n null !== current &&\n safelyDetachRef(current, current.return);\n break;\n case 5:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 512 &&\n null !== current &&\n safelyDetachRef(current, current.return);\n if (flags & 4) {\n var instance$87 = finishedWork.stateNode;\n if (null != instance$87) {\n var newProps = finishedWork.memoizedProps,\n oldProps = null !== current ? current.memoizedProps : newProps,\n updatePayload = finishedWork.updateQueue;\n finishedWork.updateQueue = null;\n if (null !== updatePayload)\n try {\n var viewConfig = instance$87.viewConfig;\n instanceProps.set(instance$87._nativeTag, newProps);\n var updatePayload$jscomp$0 = diffProperties(\n null,\n oldProps,\n newProps,\n viewConfig.validAttributes\n );\n null != updatePayload$jscomp$0 &&\n ReactNativePrivateInterface.UIManager.updateView(\n instance$87._nativeTag,\n viewConfig.uiViewClassName,\n updatePayload$jscomp$0\n );\n } catch (error$88) {\n captureCommitPhaseError(\n finishedWork,\n finishedWork.return,\n error$88\n );\n }\n }\n }\n break;\n case 6:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (flags & 4) {\n if (null === finishedWork.stateNode)\n throw Error(\n \"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.\"\n );\n viewConfig = finishedWork.stateNode;\n updatePayload$jscomp$0 = finishedWork.memoizedProps;\n try {\n ReactNativePrivateInterface.UIManager.updateView(\n viewConfig,\n \"RCTRawText\",\n { text: updatePayload$jscomp$0 }\n );\n } catch (error$89) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error$89);\n }\n }\n break;\n case 3:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 4:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n break;\n case 13:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n viewConfig = finishedWork.child;\n viewConfig.flags & 8192 &&\n ((updatePayload$jscomp$0 = null !== viewConfig.memoizedState),\n (viewConfig.stateNode.isHidden = updatePayload$jscomp$0),\n !updatePayload$jscomp$0 ||\n (null !== viewConfig.alternate &&\n null !== viewConfig.alternate.memoizedState) ||\n (globalMostRecentFallbackTime = now()));\n flags & 4 && attachSuspenseRetryListeners(finishedWork);\n break;\n case 22:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n if (flags & 8192)\n a: for (\n viewConfig = null !== finishedWork.memoizedState,\n finishedWork.stateNode.isHidden = viewConfig,\n updatePayload$jscomp$0 = null,\n current = finishedWork;\n ;\n\n ) {\n if (5 === current.tag) {\n if (null === updatePayload$jscomp$0) {\n updatePayload$jscomp$0 = current;\n try {\n if (((instance$87 = current.stateNode), viewConfig))\n (newProps = instance$87.viewConfig),\n (oldProps = diffProperties(\n null,\n emptyObject,\n { style: { display: \"none\" } },\n newProps.validAttributes\n )),\n ReactNativePrivateInterface.UIManager.updateView(\n instance$87._nativeTag,\n newProps.uiViewClassName,\n oldProps\n );\n else {\n updatePayload = current.stateNode;\n var props = current.memoizedProps,\n viewConfig$jscomp$0 = updatePayload.viewConfig,\n prevProps = assign({}, props, {\n style: [props.style, { display: \"none\" }]\n });\n var updatePayload$jscomp$1 = diffProperties(\n null,\n prevProps,\n props,\n viewConfig$jscomp$0.validAttributes\n );\n ReactNativePrivateInterface.UIManager.updateView(\n updatePayload._nativeTag,\n viewConfig$jscomp$0.uiViewClassName,\n updatePayload$jscomp$1\n );\n }\n } catch (error) {\n captureCommitPhaseError(\n finishedWork,\n finishedWork.return,\n error\n );\n }\n }\n } else if (6 === current.tag) {\n if (null === updatePayload$jscomp$0)\n try {\n throw Error(\"Not yet implemented.\");\n } catch (error$80) {\n captureCommitPhaseError(\n finishedWork,\n finishedWork.return,\n error$80\n );\n }\n } else if (\n ((22 !== current.tag && 23 !== current.tag) ||\n null === current.memoizedState ||\n current === finishedWork) &&\n null !== current.child\n ) {\n current.child.return = current;\n current = current.child;\n continue;\n }\n if (current === finishedWork) break a;\n for (; null === current.sibling; ) {\n if (null === current.return || current.return === finishedWork)\n break a;\n updatePayload$jscomp$0 === current &&\n (updatePayload$jscomp$0 = null);\n current = current.return;\n }\n updatePayload$jscomp$0 === current && (updatePayload$jscomp$0 = null);\n current.sibling.return = current.return;\n current = current.sibling;\n }\n break;\n case 19:\n recursivelyTraverseMutationEffects(root, finishedWork);\n commitReconciliationEffects(finishedWork);\n flags & 4 && attachSuspenseRetryListeners(finishedWork);\n break;\n case 21:\n break;\n default:\n recursivelyTraverseMutationEffects(root, finishedWork),\n commitReconciliationEffects(finishedWork);\n }\n}\nfunction commitReconciliationEffects(finishedWork) {\n var flags = finishedWork.flags;\n if (flags & 2) {\n try {\n a: {\n for (var parent = finishedWork.return; null !== parent; ) {\n if (isHostParent(parent)) {\n var JSCompiler_inline_result = parent;\n break a;\n }\n parent = parent.return;\n }\n throw Error(\n \"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n switch (JSCompiler_inline_result.tag) {\n case 5:\n var parent$jscomp$0 = JSCompiler_inline_result.stateNode;\n JSCompiler_inline_result.flags & 32 &&\n (JSCompiler_inline_result.flags &= -33);\n var before = getHostSibling(finishedWork);\n insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);\n break;\n case 3:\n case 4:\n var parent$81 = JSCompiler_inline_result.stateNode.containerInfo,\n before$82 = getHostSibling(finishedWork);\n insertOrAppendPlacementNodeIntoContainer(\n finishedWork,\n before$82,\n parent$81\n );\n break;\n default:\n throw Error(\n \"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n } catch (error) {\n captureCommitPhaseError(finishedWork, finishedWork.return, error);\n }\n finishedWork.flags &= -3;\n }\n flags & 4096 && (finishedWork.flags &= -4097);\n}\nfunction commitLayoutEffects(finishedWork) {\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n var fiber = nextEffect,\n firstChild = fiber.child;\n if (0 !== (fiber.subtreeFlags & 8772) && null !== firstChild)\n (firstChild.return = fiber), (nextEffect = firstChild);\n else\n for (fiber = finishedWork; null !== nextEffect; ) {\n firstChild = nextEffect;\n if (0 !== (firstChild.flags & 8772)) {\n var current = firstChild.alternate;\n try {\n if (0 !== (firstChild.flags & 8772))\n switch (firstChild.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(5, firstChild);\n break;\n case 1:\n var instance = firstChild.stateNode;\n if (firstChild.flags & 4)\n if (null === current) instance.componentDidMount();\n else {\n var prevProps =\n firstChild.elementType === firstChild.type\n ? current.memoizedProps\n : resolveDefaultProps(\n firstChild.type,\n current.memoizedProps\n );\n instance.componentDidUpdate(\n prevProps,\n current.memoizedState,\n instance.__reactInternalSnapshotBeforeUpdate\n );\n }\n var updateQueue = firstChild.updateQueue;\n null !== updateQueue &&\n commitUpdateQueue(firstChild, updateQueue, instance);\n break;\n case 3:\n var updateQueue$76 = firstChild.updateQueue;\n if (null !== updateQueue$76) {\n current = null;\n if (null !== firstChild.child)\n switch (firstChild.child.tag) {\n case 5:\n current = firstChild.child.stateNode;\n break;\n case 1:\n current = firstChild.child.stateNode;\n }\n commitUpdateQueue(firstChild, updateQueue$76, current);\n }\n break;\n case 5:\n break;\n case 6:\n break;\n case 4:\n break;\n case 12:\n break;\n case 13:\n break;\n case 19:\n case 17:\n case 21:\n case 22:\n case 23:\n case 25:\n break;\n default:\n throw Error(\n \"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (firstChild.flags & 512) {\n current = void 0;\n var ref = firstChild.ref;\n if (null !== ref) {\n var instance$jscomp$0 = firstChild.stateNode;\n switch (firstChild.tag) {\n case 5:\n current = instance$jscomp$0;\n break;\n default:\n current = instance$jscomp$0;\n }\n \"function\" === typeof ref\n ? ref(current)\n : (ref.current = current);\n }\n }\n } catch (error) {\n captureCommitPhaseError(firstChild, firstChild.return, error);\n }\n }\n if (firstChild === fiber) {\n nextEffect = null;\n break;\n }\n current = firstChild.sibling;\n if (null !== current) {\n current.return = firstChild.return;\n nextEffect = current;\n break;\n }\n nextEffect = firstChild.return;\n }\n }\n}\nvar ceil = Math.ceil,\n ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher,\n ReactCurrentOwner$2 = ReactSharedInternals.ReactCurrentOwner,\n ReactCurrentBatchConfig$2 = ReactSharedInternals.ReactCurrentBatchConfig,\n executionContext = 0,\n workInProgressRoot = null,\n workInProgress = null,\n workInProgressRootRenderLanes = 0,\n subtreeRenderLanes = 0,\n subtreeRenderLanesCursor = createCursor(0),\n workInProgressRootExitStatus = 0,\n workInProgressRootFatalError = null,\n workInProgressRootSkippedLanes = 0,\n workInProgressRootInterleavedUpdatedLanes = 0,\n workInProgressRootPingedLanes = 0,\n workInProgressRootConcurrentErrors = null,\n workInProgressRootRecoverableErrors = null,\n globalMostRecentFallbackTime = 0,\n workInProgressRootRenderTargetTime = Infinity,\n workInProgressTransitions = null,\n hasUncaughtError = !1,\n firstUncaughtError = null,\n legacyErrorBoundariesThatAlreadyFailed = null,\n rootDoesHavePassiveEffects = !1,\n rootWithPendingPassiveEffects = null,\n pendingPassiveEffectsLanes = 0,\n nestedUpdateCount = 0,\n rootWithNestedUpdates = null,\n currentEventTime = -1,\n currentEventTransitionLane = 0;\nfunction requestEventTime() {\n return 0 !== (executionContext & 6)\n ? now()\n : -1 !== currentEventTime\n ? currentEventTime\n : (currentEventTime = now());\n}\nfunction requestUpdateLane(fiber) {\n if (0 === (fiber.mode & 1)) return 1;\n if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)\n return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;\n if (null !== ReactCurrentBatchConfig.transition)\n return (\n 0 === currentEventTransitionLane &&\n (currentEventTransitionLane = claimNextTransitionLane()),\n currentEventTransitionLane\n );\n fiber = currentUpdatePriority;\n return 0 !== fiber ? fiber : 16;\n}\nfunction scheduleUpdateOnFiber(root, fiber, lane, eventTime) {\n if (50 < nestedUpdateCount)\n throw ((nestedUpdateCount = 0),\n (rootWithNestedUpdates = null),\n Error(\n \"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.\"\n ));\n markRootUpdated(root, lane, eventTime);\n if (0 === (executionContext & 2) || root !== workInProgressRoot)\n root === workInProgressRoot &&\n (0 === (executionContext & 2) &&\n (workInProgressRootInterleavedUpdatedLanes |= lane),\n 4 === workInProgressRootExitStatus &&\n markRootSuspended$1(root, workInProgressRootRenderLanes)),\n ensureRootIsScheduled(root, eventTime),\n 1 === lane &&\n 0 === executionContext &&\n 0 === (fiber.mode & 1) &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n}\nfunction ensureRootIsScheduled(root, currentTime) {\n for (\n var existingCallbackNode = root.callbackNode,\n suspendedLanes = root.suspendedLanes,\n pingedLanes = root.pingedLanes,\n expirationTimes = root.expirationTimes,\n lanes = root.pendingLanes;\n 0 < lanes;\n\n ) {\n var index$6 = 31 - clz32(lanes),\n lane = 1 << index$6,\n expirationTime = expirationTimes[index$6];\n if (-1 === expirationTime) {\n if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n expirationTimes[index$6] = computeExpirationTime(lane, currentTime);\n } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n lanes &= ~lane;\n }\n suspendedLanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === suspendedLanes)\n null !== existingCallbackNode && cancelCallback(existingCallbackNode),\n (root.callbackNode = null),\n (root.callbackPriority = 0);\n else if (\n ((currentTime = suspendedLanes & -suspendedLanes),\n root.callbackPriority !== currentTime)\n ) {\n null != existingCallbackNode && cancelCallback(existingCallbackNode);\n if (1 === currentTime)\n 0 === root.tag\n ? ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n (includesLegacySyncCallbacks = !0),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode))\n : ((existingCallbackNode = performSyncWorkOnRoot.bind(null, root)),\n null === syncQueue\n ? (syncQueue = [existingCallbackNode])\n : syncQueue.push(existingCallbackNode)),\n scheduleCallback(ImmediatePriority, flushSyncCallbacks),\n (existingCallbackNode = null);\n else {\n switch (lanesToEventPriority(suspendedLanes)) {\n case 1:\n existingCallbackNode = ImmediatePriority;\n break;\n case 4:\n existingCallbackNode = UserBlockingPriority;\n break;\n case 16:\n existingCallbackNode = NormalPriority;\n break;\n case 536870912:\n existingCallbackNode = IdlePriority;\n break;\n default:\n existingCallbackNode = NormalPriority;\n }\n existingCallbackNode = scheduleCallback$1(\n existingCallbackNode,\n performConcurrentWorkOnRoot.bind(null, root)\n );\n }\n root.callbackPriority = currentTime;\n root.callbackNode = existingCallbackNode;\n }\n}\nfunction performConcurrentWorkOnRoot(root, didTimeout) {\n currentEventTime = -1;\n currentEventTransitionLane = 0;\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n var originalCallbackNode = root.callbackNode;\n if (flushPassiveEffects() && root.callbackNode !== originalCallbackNode)\n return null;\n var lanes = getNextLanes(\n root,\n root === workInProgressRoot ? workInProgressRootRenderLanes : 0\n );\n if (0 === lanes) return null;\n if (0 !== (lanes & 30) || 0 !== (lanes & root.expiredLanes) || didTimeout)\n didTimeout = renderRootSync(root, lanes);\n else {\n didTimeout = lanes;\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher();\n if (\n workInProgressRoot !== root ||\n workInProgressRootRenderLanes !== didTimeout\n )\n (workInProgressTransitions = null),\n (workInProgressRootRenderTargetTime = now() + 500),\n prepareFreshStack(root, didTimeout);\n do\n try {\n workLoopConcurrent();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n ReactCurrentDispatcher$2.current = prevDispatcher;\n executionContext = prevExecutionContext;\n null !== workInProgress\n ? (didTimeout = 0)\n : ((workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0),\n (didTimeout = workInProgressRootExitStatus));\n }\n if (0 !== didTimeout) {\n 2 === didTimeout &&\n ((prevExecutionContext = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== prevExecutionContext &&\n ((lanes = prevExecutionContext),\n (didTimeout = recoverFromConcurrentError(root, prevExecutionContext))));\n if (1 === didTimeout)\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n if (6 === didTimeout) markRootSuspended$1(root, lanes);\n else {\n prevExecutionContext = root.current.alternate;\n if (\n 0 === (lanes & 30) &&\n !isRenderConsistentWithExternalStores(prevExecutionContext) &&\n ((didTimeout = renderRootSync(root, lanes)),\n 2 === didTimeout &&\n ((prevDispatcher = getLanesToRetrySynchronouslyOnError(root)),\n 0 !== prevDispatcher &&\n ((lanes = prevDispatcher),\n (didTimeout = recoverFromConcurrentError(root, prevDispatcher)))),\n 1 === didTimeout)\n )\n throw ((originalCallbackNode = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n originalCallbackNode);\n root.finishedWork = prevExecutionContext;\n root.finishedLanes = lanes;\n switch (didTimeout) {\n case 0:\n case 1:\n throw Error(\"Root did not complete. This is a bug in React.\");\n case 2:\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 3:\n markRootSuspended$1(root, lanes);\n if (\n (lanes & 130023424) === lanes &&\n ((didTimeout = globalMostRecentFallbackTime + 500 - now()),\n 10 < didTimeout)\n ) {\n if (0 !== getNextLanes(root, 0)) break;\n prevExecutionContext = root.suspendedLanes;\n if ((prevExecutionContext & lanes) !== lanes) {\n requestEventTime();\n root.pingedLanes |= root.suspendedLanes & prevExecutionContext;\n break;\n }\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(\n null,\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n ),\n didTimeout\n );\n break;\n }\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 4:\n markRootSuspended$1(root, lanes);\n if ((lanes & 4194240) === lanes) break;\n didTimeout = root.eventTimes;\n for (prevExecutionContext = -1; 0 < lanes; ) {\n var index$5 = 31 - clz32(lanes);\n prevDispatcher = 1 << index$5;\n index$5 = didTimeout[index$5];\n index$5 > prevExecutionContext && (prevExecutionContext = index$5);\n lanes &= ~prevDispatcher;\n }\n lanes = prevExecutionContext;\n lanes = now() - lanes;\n lanes =\n (120 > lanes\n ? 120\n : 480 > lanes\n ? 480\n : 1080 > lanes\n ? 1080\n : 1920 > lanes\n ? 1920\n : 3e3 > lanes\n ? 3e3\n : 4320 > lanes\n ? 4320\n : 1960 * ceil(lanes / 1960)) - lanes;\n if (10 < lanes) {\n root.timeoutHandle = scheduleTimeout(\n commitRoot.bind(\n null,\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n ),\n lanes\n );\n break;\n }\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n case 5:\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n break;\n default:\n throw Error(\"Unknown root exit status.\");\n }\n }\n }\n ensureRootIsScheduled(root, now());\n return root.callbackNode === originalCallbackNode\n ? performConcurrentWorkOnRoot.bind(null, root)\n : null;\n}\nfunction recoverFromConcurrentError(root, errorRetryLanes) {\n var errorsFromFirstAttempt = workInProgressRootConcurrentErrors;\n root.current.memoizedState.isDehydrated &&\n (prepareFreshStack(root, errorRetryLanes).flags |= 256);\n root = renderRootSync(root, errorRetryLanes);\n 2 !== root &&\n ((errorRetryLanes = workInProgressRootRecoverableErrors),\n (workInProgressRootRecoverableErrors = errorsFromFirstAttempt),\n null !== errorRetryLanes && queueRecoverableErrors(errorRetryLanes));\n return root;\n}\nfunction queueRecoverableErrors(errors) {\n null === workInProgressRootRecoverableErrors\n ? (workInProgressRootRecoverableErrors = errors)\n : workInProgressRootRecoverableErrors.push.apply(\n workInProgressRootRecoverableErrors,\n errors\n );\n}\nfunction isRenderConsistentWithExternalStores(finishedWork) {\n for (var node = finishedWork; ; ) {\n if (node.flags & 16384) {\n var updateQueue = node.updateQueue;\n if (\n null !== updateQueue &&\n ((updateQueue = updateQueue.stores), null !== updateQueue)\n )\n for (var i = 0; i < updateQueue.length; i++) {\n var check = updateQueue[i],\n getSnapshot = check.getSnapshot;\n check = check.value;\n try {\n if (!objectIs(getSnapshot(), check)) return !1;\n } catch (error) {\n return !1;\n }\n }\n }\n updateQueue = node.child;\n if (node.subtreeFlags & 16384 && null !== updateQueue)\n (updateQueue.return = node), (node = updateQueue);\n else {\n if (node === finishedWork) break;\n for (; null === node.sibling; ) {\n if (null === node.return || node.return === finishedWork) return !0;\n node = node.return;\n }\n node.sibling.return = node.return;\n node = node.sibling;\n }\n }\n return !0;\n}\nfunction markRootSuspended$1(root, suspendedLanes) {\n suspendedLanes &= ~workInProgressRootPingedLanes;\n suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;\n root.suspendedLanes |= suspendedLanes;\n root.pingedLanes &= ~suspendedLanes;\n for (root = root.expirationTimes; 0 < suspendedLanes; ) {\n var index$7 = 31 - clz32(suspendedLanes),\n lane = 1 << index$7;\n root[index$7] = -1;\n suspendedLanes &= ~lane;\n }\n}\nfunction performSyncWorkOnRoot(root) {\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n flushPassiveEffects();\n var lanes = getNextLanes(root, 0);\n if (0 === (lanes & 1)) return ensureRootIsScheduled(root, now()), null;\n var exitStatus = renderRootSync(root, lanes);\n if (0 !== root.tag && 2 === exitStatus) {\n var errorRetryLanes = getLanesToRetrySynchronouslyOnError(root);\n 0 !== errorRetryLanes &&\n ((lanes = errorRetryLanes),\n (exitStatus = recoverFromConcurrentError(root, errorRetryLanes)));\n }\n if (1 === exitStatus)\n throw ((exitStatus = workInProgressRootFatalError),\n prepareFreshStack(root, 0),\n markRootSuspended$1(root, lanes),\n ensureRootIsScheduled(root, now()),\n exitStatus);\n if (6 === exitStatus)\n throw Error(\"Root did not complete. This is a bug in React.\");\n root.finishedWork = root.current.alternate;\n root.finishedLanes = lanes;\n commitRoot(\n root,\n workInProgressRootRecoverableErrors,\n workInProgressTransitions\n );\n ensureRootIsScheduled(root, now());\n return null;\n}\nfunction popRenderLanes() {\n subtreeRenderLanes = subtreeRenderLanesCursor.current;\n pop(subtreeRenderLanesCursor);\n}\nfunction prepareFreshStack(root, lanes) {\n root.finishedWork = null;\n root.finishedLanes = 0;\n var timeoutHandle = root.timeoutHandle;\n -1 !== timeoutHandle &&\n ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n if (null !== workInProgress)\n for (timeoutHandle = workInProgress.return; null !== timeoutHandle; ) {\n var interruptedWork = timeoutHandle;\n popTreeContext(interruptedWork);\n switch (interruptedWork.tag) {\n case 1:\n interruptedWork = interruptedWork.type.childContextTypes;\n null !== interruptedWork &&\n void 0 !== interruptedWork &&\n popContext();\n break;\n case 3:\n popHostContainer();\n pop(didPerformWorkStackCursor);\n pop(contextStackCursor);\n resetWorkInProgressVersions();\n break;\n case 5:\n popHostContext(interruptedWork);\n break;\n case 4:\n popHostContainer();\n break;\n case 13:\n pop(suspenseStackCursor);\n break;\n case 19:\n pop(suspenseStackCursor);\n break;\n case 10:\n popProvider(interruptedWork.type._context);\n break;\n case 22:\n case 23:\n popRenderLanes();\n }\n timeoutHandle = timeoutHandle.return;\n }\n workInProgressRoot = root;\n workInProgress = root = createWorkInProgress(root.current, null);\n workInProgressRootRenderLanes = subtreeRenderLanes = lanes;\n workInProgressRootExitStatus = 0;\n workInProgressRootFatalError = null;\n workInProgressRootPingedLanes = workInProgressRootInterleavedUpdatedLanes = workInProgressRootSkippedLanes = 0;\n workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null;\n if (null !== concurrentQueues) {\n for (lanes = 0; lanes < concurrentQueues.length; lanes++)\n if (\n ((timeoutHandle = concurrentQueues[lanes]),\n (interruptedWork = timeoutHandle.interleaved),\n null !== interruptedWork)\n ) {\n timeoutHandle.interleaved = null;\n var firstInterleavedUpdate = interruptedWork.next,\n lastPendingUpdate = timeoutHandle.pending;\n if (null !== lastPendingUpdate) {\n var firstPendingUpdate = lastPendingUpdate.next;\n lastPendingUpdate.next = firstInterleavedUpdate;\n interruptedWork.next = firstPendingUpdate;\n }\n timeoutHandle.pending = interruptedWork;\n }\n concurrentQueues = null;\n }\n return root;\n}\nfunction handleError(root$jscomp$0, thrownValue) {\n do {\n var erroredWork = workInProgress;\n try {\n resetContextDependencies();\n ReactCurrentDispatcher$1.current = ContextOnlyDispatcher;\n if (didScheduleRenderPhaseUpdate) {\n for (\n var hook = currentlyRenderingFiber$1.memoizedState;\n null !== hook;\n\n ) {\n var queue = hook.queue;\n null !== queue && (queue.pending = null);\n hook = hook.next;\n }\n didScheduleRenderPhaseUpdate = !1;\n }\n renderLanes = 0;\n workInProgressHook = currentHook = currentlyRenderingFiber$1 = null;\n didScheduleRenderPhaseUpdateDuringThisPass = !1;\n ReactCurrentOwner$2.current = null;\n if (null === erroredWork || null === erroredWork.return) {\n workInProgressRootExitStatus = 1;\n workInProgressRootFatalError = thrownValue;\n workInProgress = null;\n break;\n }\n a: {\n var root = root$jscomp$0,\n returnFiber = erroredWork.return,\n sourceFiber = erroredWork,\n value = thrownValue;\n thrownValue = workInProgressRootRenderLanes;\n sourceFiber.flags |= 32768;\n if (\n null !== value &&\n \"object\" === typeof value &&\n \"function\" === typeof value.then\n ) {\n var wakeable = value,\n sourceFiber$jscomp$0 = sourceFiber,\n tag = sourceFiber$jscomp$0.tag;\n if (\n 0 === (sourceFiber$jscomp$0.mode & 1) &&\n (0 === tag || 11 === tag || 15 === tag)\n ) {\n var currentSource = sourceFiber$jscomp$0.alternate;\n currentSource\n ? ((sourceFiber$jscomp$0.updateQueue = currentSource.updateQueue),\n (sourceFiber$jscomp$0.memoizedState =\n currentSource.memoizedState),\n (sourceFiber$jscomp$0.lanes = currentSource.lanes))\n : ((sourceFiber$jscomp$0.updateQueue = null),\n (sourceFiber$jscomp$0.memoizedState = null));\n }\n b: {\n sourceFiber$jscomp$0 = returnFiber;\n do {\n var JSCompiler_temp;\n if ((JSCompiler_temp = 13 === sourceFiber$jscomp$0.tag)) {\n var nextState = sourceFiber$jscomp$0.memoizedState;\n JSCompiler_temp =\n null !== nextState\n ? null !== nextState.dehydrated\n ? !0\n : !1\n : !0;\n }\n if (JSCompiler_temp) {\n var suspenseBoundary = sourceFiber$jscomp$0;\n break b;\n }\n sourceFiber$jscomp$0 = sourceFiber$jscomp$0.return;\n } while (null !== sourceFiber$jscomp$0);\n suspenseBoundary = null;\n }\n if (null !== suspenseBoundary) {\n suspenseBoundary.flags &= -257;\n value = suspenseBoundary;\n sourceFiber$jscomp$0 = thrownValue;\n if (0 === (value.mode & 1))\n if (value === returnFiber) value.flags |= 65536;\n else {\n value.flags |= 128;\n sourceFiber.flags |= 131072;\n sourceFiber.flags &= -52805;\n if (1 === sourceFiber.tag)\n if (null === sourceFiber.alternate) sourceFiber.tag = 17;\n else {\n var update = createUpdate(-1, 1);\n update.tag = 2;\n enqueueUpdate(sourceFiber, update, 1);\n }\n sourceFiber.lanes |= 1;\n }\n else (value.flags |= 65536), (value.lanes = sourceFiber$jscomp$0);\n suspenseBoundary.mode & 1 &&\n attachPingListener(root, wakeable, thrownValue);\n thrownValue = suspenseBoundary;\n root = wakeable;\n var wakeables = thrownValue.updateQueue;\n if (null === wakeables) {\n var updateQueue = new Set();\n updateQueue.add(root);\n thrownValue.updateQueue = updateQueue;\n } else wakeables.add(root);\n break a;\n } else {\n if (0 === (thrownValue & 1)) {\n attachPingListener(root, wakeable, thrownValue);\n renderDidSuspendDelayIfPossible();\n break a;\n }\n value = Error(\n \"A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.\"\n );\n }\n }\n root = value = createCapturedValueAtFiber(value, sourceFiber);\n 4 !== workInProgressRootExitStatus &&\n (workInProgressRootExitStatus = 2);\n null === workInProgressRootConcurrentErrors\n ? (workInProgressRootConcurrentErrors = [root])\n : workInProgressRootConcurrentErrors.push(root);\n root = returnFiber;\n do {\n switch (root.tag) {\n case 3:\n wakeable = value;\n root.flags |= 65536;\n thrownValue &= -thrownValue;\n root.lanes |= thrownValue;\n var update$jscomp$0 = createRootErrorUpdate(\n root,\n wakeable,\n thrownValue\n );\n enqueueCapturedUpdate(root, update$jscomp$0);\n break a;\n case 1:\n wakeable = value;\n var ctor = root.type,\n instance = root.stateNode;\n if (\n 0 === (root.flags & 128) &&\n (\"function\" === typeof ctor.getDerivedStateFromError ||\n (null !== instance &&\n \"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance))))\n ) {\n root.flags |= 65536;\n thrownValue &= -thrownValue;\n root.lanes |= thrownValue;\n var update$34 = createClassErrorUpdate(\n root,\n wakeable,\n thrownValue\n );\n enqueueCapturedUpdate(root, update$34);\n break a;\n }\n }\n root = root.return;\n } while (null !== root);\n }\n completeUnitOfWork(erroredWork);\n } catch (yetAnotherThrownValue) {\n thrownValue = yetAnotherThrownValue;\n workInProgress === erroredWork &&\n null !== erroredWork &&\n (workInProgress = erroredWork = erroredWork.return);\n continue;\n }\n break;\n } while (1);\n}\nfunction pushDispatcher() {\n var prevDispatcher = ReactCurrentDispatcher$2.current;\n ReactCurrentDispatcher$2.current = ContextOnlyDispatcher;\n return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction renderDidSuspendDelayIfPossible() {\n if (\n 0 === workInProgressRootExitStatus ||\n 3 === workInProgressRootExitStatus ||\n 2 === workInProgressRootExitStatus\n )\n workInProgressRootExitStatus = 4;\n null === workInProgressRoot ||\n (0 === (workInProgressRootSkippedLanes & 268435455) &&\n 0 === (workInProgressRootInterleavedUpdatedLanes & 268435455)) ||\n markRootSuspended$1(workInProgressRoot, workInProgressRootRenderLanes);\n}\nfunction renderRootSync(root, lanes) {\n var prevExecutionContext = executionContext;\n executionContext |= 2;\n var prevDispatcher = pushDispatcher();\n if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)\n (workInProgressTransitions = null), prepareFreshStack(root, lanes);\n do\n try {\n workLoopSync();\n break;\n } catch (thrownValue) {\n handleError(root, thrownValue);\n }\n while (1);\n resetContextDependencies();\n executionContext = prevExecutionContext;\n ReactCurrentDispatcher$2.current = prevDispatcher;\n if (null !== workInProgress)\n throw Error(\n \"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.\"\n );\n workInProgressRoot = null;\n workInProgressRootRenderLanes = 0;\n return workInProgressRootExitStatus;\n}\nfunction workLoopSync() {\n for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction workLoopConcurrent() {\n for (; null !== workInProgress && !shouldYield(); )\n performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n var next = beginWork$1(unitOfWork.alternate, unitOfWork, subtreeRenderLanes);\n unitOfWork.memoizedProps = unitOfWork.pendingProps;\n null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n ReactCurrentOwner$2.current = null;\n}\nfunction completeUnitOfWork(unitOfWork) {\n var completedWork = unitOfWork;\n do {\n var current = completedWork.alternate;\n unitOfWork = completedWork.return;\n if (0 === (completedWork.flags & 32768)) {\n if (\n ((current = completeWork(current, completedWork, subtreeRenderLanes)),\n null !== current)\n ) {\n workInProgress = current;\n return;\n }\n } else {\n current = unwindWork(current, completedWork);\n if (null !== current) {\n current.flags &= 32767;\n workInProgress = current;\n return;\n }\n if (null !== unitOfWork)\n (unitOfWork.flags |= 32768),\n (unitOfWork.subtreeFlags = 0),\n (unitOfWork.deletions = null);\n else {\n workInProgressRootExitStatus = 6;\n workInProgress = null;\n return;\n }\n }\n completedWork = completedWork.sibling;\n if (null !== completedWork) {\n workInProgress = completedWork;\n return;\n }\n workInProgress = completedWork = unitOfWork;\n } while (null !== completedWork);\n 0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction commitRoot(root, recoverableErrors, transitions) {\n var previousUpdateLanePriority = currentUpdatePriority,\n prevTransition = ReactCurrentBatchConfig$2.transition;\n try {\n (ReactCurrentBatchConfig$2.transition = null),\n (currentUpdatePriority = 1),\n commitRootImpl(\n root,\n recoverableErrors,\n transitions,\n previousUpdateLanePriority\n );\n } finally {\n (ReactCurrentBatchConfig$2.transition = prevTransition),\n (currentUpdatePriority = previousUpdateLanePriority);\n }\n return null;\n}\nfunction commitRootImpl(\n root,\n recoverableErrors,\n transitions,\n renderPriorityLevel\n) {\n do flushPassiveEffects();\n while (null !== rootWithPendingPassiveEffects);\n if (0 !== (executionContext & 6))\n throw Error(\"Should not already be working.\");\n transitions = root.finishedWork;\n var lanes = root.finishedLanes;\n if (null === transitions) return null;\n root.finishedWork = null;\n root.finishedLanes = 0;\n if (transitions === root.current)\n throw Error(\n \"Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.\"\n );\n root.callbackNode = null;\n root.callbackPriority = 0;\n var remainingLanes = transitions.lanes | transitions.childLanes;\n markRootFinished(root, remainingLanes);\n root === workInProgressRoot &&\n ((workInProgress = workInProgressRoot = null),\n (workInProgressRootRenderLanes = 0));\n (0 === (transitions.subtreeFlags & 2064) &&\n 0 === (transitions.flags & 2064)) ||\n rootDoesHavePassiveEffects ||\n ((rootDoesHavePassiveEffects = !0),\n scheduleCallback$1(NormalPriority, function() {\n flushPassiveEffects();\n return null;\n }));\n remainingLanes = 0 !== (transitions.flags & 15990);\n if (0 !== (transitions.subtreeFlags & 15990) || remainingLanes) {\n remainingLanes = ReactCurrentBatchConfig$2.transition;\n ReactCurrentBatchConfig$2.transition = null;\n var previousPriority = currentUpdatePriority;\n currentUpdatePriority = 1;\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n ReactCurrentOwner$2.current = null;\n commitBeforeMutationEffects(root, transitions);\n commitMutationEffectsOnFiber(transitions, root);\n root.current = transitions;\n commitLayoutEffects(transitions, root, lanes);\n requestPaint();\n executionContext = prevExecutionContext;\n currentUpdatePriority = previousPriority;\n ReactCurrentBatchConfig$2.transition = remainingLanes;\n } else root.current = transitions;\n rootDoesHavePassiveEffects &&\n ((rootDoesHavePassiveEffects = !1),\n (rootWithPendingPassiveEffects = root),\n (pendingPassiveEffectsLanes = lanes));\n remainingLanes = root.pendingLanes;\n 0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);\n onCommitRoot(transitions.stateNode, renderPriorityLevel);\n ensureRootIsScheduled(root, now());\n if (null !== recoverableErrors)\n for (\n renderPriorityLevel = root.onRecoverableError, transitions = 0;\n transitions < recoverableErrors.length;\n transitions++\n )\n (lanes = recoverableErrors[transitions]),\n renderPriorityLevel(lanes.value, {\n componentStack: lanes.stack,\n digest: lanes.digest\n });\n if (hasUncaughtError)\n throw ((hasUncaughtError = !1),\n (root = firstUncaughtError),\n (firstUncaughtError = null),\n root);\n 0 !== (pendingPassiveEffectsLanes & 1) &&\n 0 !== root.tag &&\n flushPassiveEffects();\n remainingLanes = root.pendingLanes;\n 0 !== (remainingLanes & 1)\n ? root === rootWithNestedUpdates\n ? nestedUpdateCount++\n : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n : (nestedUpdateCount = 0);\n flushSyncCallbacks();\n return null;\n}\nfunction flushPassiveEffects() {\n if (null !== rootWithPendingPassiveEffects) {\n var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes),\n prevTransition = ReactCurrentBatchConfig$2.transition,\n previousPriority = currentUpdatePriority;\n try {\n ReactCurrentBatchConfig$2.transition = null;\n currentUpdatePriority = 16 > renderPriority ? 16 : renderPriority;\n if (null === rootWithPendingPassiveEffects)\n var JSCompiler_inline_result = !1;\n else {\n renderPriority = rootWithPendingPassiveEffects;\n rootWithPendingPassiveEffects = null;\n pendingPassiveEffectsLanes = 0;\n if (0 !== (executionContext & 6))\n throw Error(\"Cannot flush passive effects while already rendering.\");\n var prevExecutionContext = executionContext;\n executionContext |= 4;\n for (nextEffect = renderPriority.current; null !== nextEffect; ) {\n var fiber = nextEffect,\n child = fiber.child;\n if (0 !== (nextEffect.flags & 16)) {\n var deletions = fiber.deletions;\n if (null !== deletions) {\n for (var i = 0; i < deletions.length; i++) {\n var fiberToDelete = deletions[i];\n for (nextEffect = fiberToDelete; null !== nextEffect; ) {\n var fiber$jscomp$0 = nextEffect;\n switch (fiber$jscomp$0.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(8, fiber$jscomp$0, fiber);\n }\n var child$jscomp$0 = fiber$jscomp$0.child;\n if (null !== child$jscomp$0)\n (child$jscomp$0.return = fiber$jscomp$0),\n (nextEffect = child$jscomp$0);\n else\n for (; null !== nextEffect; ) {\n fiber$jscomp$0 = nextEffect;\n var sibling = fiber$jscomp$0.sibling,\n returnFiber = fiber$jscomp$0.return;\n detachFiberAfterEffects(fiber$jscomp$0);\n if (fiber$jscomp$0 === fiberToDelete) {\n nextEffect = null;\n break;\n }\n if (null !== sibling) {\n sibling.return = returnFiber;\n nextEffect = sibling;\n break;\n }\n nextEffect = returnFiber;\n }\n }\n }\n var previousFiber = fiber.alternate;\n if (null !== previousFiber) {\n var detachedChild = previousFiber.child;\n if (null !== detachedChild) {\n previousFiber.child = null;\n do {\n var detachedSibling = detachedChild.sibling;\n detachedChild.sibling = null;\n detachedChild = detachedSibling;\n } while (null !== detachedChild);\n }\n }\n nextEffect = fiber;\n }\n }\n if (0 !== (fiber.subtreeFlags & 2064) && null !== child)\n (child.return = fiber), (nextEffect = child);\n else\n b: for (; null !== nextEffect; ) {\n fiber = nextEffect;\n if (0 !== (fiber.flags & 2048))\n switch (fiber.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListUnmount(9, fiber, fiber.return);\n }\n var sibling$jscomp$0 = fiber.sibling;\n if (null !== sibling$jscomp$0) {\n sibling$jscomp$0.return = fiber.return;\n nextEffect = sibling$jscomp$0;\n break b;\n }\n nextEffect = fiber.return;\n }\n }\n var finishedWork = renderPriority.current;\n for (nextEffect = finishedWork; null !== nextEffect; ) {\n child = nextEffect;\n var firstChild = child.child;\n if (0 !== (child.subtreeFlags & 2064) && null !== firstChild)\n (firstChild.return = child), (nextEffect = firstChild);\n else\n b: for (child = finishedWork; null !== nextEffect; ) {\n deletions = nextEffect;\n if (0 !== (deletions.flags & 2048))\n try {\n switch (deletions.tag) {\n case 0:\n case 11:\n case 15:\n commitHookEffectListMount(9, deletions);\n }\n } catch (error) {\n captureCommitPhaseError(deletions, deletions.return, error);\n }\n if (deletions === child) {\n nextEffect = null;\n break b;\n }\n var sibling$jscomp$1 = deletions.sibling;\n if (null !== sibling$jscomp$1) {\n sibling$jscomp$1.return = deletions.return;\n nextEffect = sibling$jscomp$1;\n break b;\n }\n nextEffect = deletions.return;\n }\n }\n executionContext = prevExecutionContext;\n flushSyncCallbacks();\n if (\n injectedHook &&\n \"function\" === typeof injectedHook.onPostCommitFiberRoot\n )\n try {\n injectedHook.onPostCommitFiberRoot(rendererID, renderPriority);\n } catch (err) {}\n JSCompiler_inline_result = !0;\n }\n return JSCompiler_inline_result;\n } finally {\n (currentUpdatePriority = previousPriority),\n (ReactCurrentBatchConfig$2.transition = prevTransition);\n }\n }\n return !1;\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber = createRootErrorUpdate(rootFiber, sourceFiber, 1);\n rootFiber = enqueueUpdate(rootFiber, sourceFiber, 1);\n sourceFiber = requestEventTime();\n null !== rootFiber &&\n (markRootUpdated(rootFiber, 1, sourceFiber),\n ensureRootIsScheduled(rootFiber, sourceFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n if (3 === sourceFiber.tag)\n captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n else\n for (\n nearestMountedAncestor = sourceFiber.return;\n null !== nearestMountedAncestor;\n\n ) {\n if (3 === nearestMountedAncestor.tag) {\n captureCommitPhaseErrorOnRoot(\n nearestMountedAncestor,\n sourceFiber,\n error\n );\n break;\n } else if (1 === nearestMountedAncestor.tag) {\n var instance = nearestMountedAncestor.stateNode;\n if (\n \"function\" ===\n typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n (\"function\" === typeof instance.componentDidCatch &&\n (null === legacyErrorBoundariesThatAlreadyFailed ||\n !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n ) {\n sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n sourceFiber = createClassErrorUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n nearestMountedAncestor = enqueueUpdate(\n nearestMountedAncestor,\n sourceFiber,\n 1\n );\n sourceFiber = requestEventTime();\n null !== nearestMountedAncestor &&\n (markRootUpdated(nearestMountedAncestor, 1, sourceFiber),\n ensureRootIsScheduled(nearestMountedAncestor, sourceFiber));\n break;\n }\n }\n nearestMountedAncestor = nearestMountedAncestor.return;\n }\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n var pingCache = root.pingCache;\n null !== pingCache && pingCache.delete(wakeable);\n wakeable = requestEventTime();\n root.pingedLanes |= root.suspendedLanes & pingedLanes;\n workInProgressRoot === root &&\n (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n (4 === workInProgressRootExitStatus ||\n (3 === workInProgressRootExitStatus &&\n (workInProgressRootRenderLanes & 130023424) ===\n workInProgressRootRenderLanes &&\n 500 > now() - globalMostRecentFallbackTime)\n ? prepareFreshStack(root, 0)\n : (workInProgressRootPingedLanes |= pingedLanes));\n ensureRootIsScheduled(root, wakeable);\n}\nfunction retryTimedOutBoundary(boundaryFiber, retryLane) {\n 0 === retryLane &&\n (0 === (boundaryFiber.mode & 1)\n ? (retryLane = 1)\n : ((retryLane = nextRetryLane),\n (nextRetryLane <<= 1),\n 0 === (nextRetryLane & 130023424) && (nextRetryLane = 4194304)));\n var eventTime = requestEventTime();\n boundaryFiber = markUpdateLaneFromFiberToRoot(boundaryFiber, retryLane);\n null !== boundaryFiber &&\n (markRootUpdated(boundaryFiber, retryLane, eventTime),\n ensureRootIsScheduled(boundaryFiber, eventTime));\n}\nfunction retryDehydratedSuspenseBoundary(boundaryFiber) {\n var suspenseState = boundaryFiber.memoizedState,\n retryLane = 0;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n var retryLane = 0;\n switch (boundaryFiber.tag) {\n case 13:\n var retryCache = boundaryFiber.stateNode;\n var suspenseState = boundaryFiber.memoizedState;\n null !== suspenseState && (retryLane = suspenseState.retryLane);\n break;\n case 19:\n retryCache = boundaryFiber.stateNode;\n break;\n default:\n throw Error(\n \"Pinged unknown suspense boundary type. This is probably a bug in React.\"\n );\n }\n null !== retryCache && retryCache.delete(wakeable);\n retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nvar beginWork$1;\nbeginWork$1 = function(current, workInProgress, renderLanes) {\n if (null !== current)\n if (\n current.memoizedProps !== workInProgress.pendingProps ||\n didPerformWorkStackCursor.current\n )\n didReceiveUpdate = !0;\n else {\n if (\n 0 === (current.lanes & renderLanes) &&\n 0 === (workInProgress.flags & 128)\n )\n return (\n (didReceiveUpdate = !1),\n attemptEarlyBailoutIfNoScheduledUpdate(\n current,\n workInProgress,\n renderLanes\n )\n );\n didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n }\n else didReceiveUpdate = !1;\n workInProgress.lanes = 0;\n switch (workInProgress.tag) {\n case 2:\n var Component = workInProgress.type;\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n current = workInProgress.pendingProps;\n var context = getMaskedContext(\n workInProgress,\n contextStackCursor.current\n );\n prepareToReadContext(workInProgress, renderLanes);\n context = renderWithHooks(\n null,\n workInProgress,\n Component,\n current,\n context,\n renderLanes\n );\n workInProgress.flags |= 1;\n if (\n \"object\" === typeof context &&\n null !== context &&\n \"function\" === typeof context.render &&\n void 0 === context.$$typeof\n ) {\n workInProgress.tag = 1;\n workInProgress.memoizedState = null;\n workInProgress.updateQueue = null;\n if (isContextProvider(Component)) {\n var hasContext = !0;\n pushContextProvider(workInProgress);\n } else hasContext = !1;\n workInProgress.memoizedState =\n null !== context.state && void 0 !== context.state\n ? context.state\n : null;\n initializeUpdateQueue(workInProgress);\n context.updater = classComponentUpdater;\n workInProgress.stateNode = context;\n context._reactInternals = workInProgress;\n mountClassInstance(workInProgress, Component, current, renderLanes);\n workInProgress = finishClassComponent(\n null,\n workInProgress,\n Component,\n !0,\n hasContext,\n renderLanes\n );\n } else\n (workInProgress.tag = 0),\n reconcileChildren(null, workInProgress, context, renderLanes),\n (workInProgress = workInProgress.child);\n return workInProgress;\n case 16:\n Component = workInProgress.elementType;\n a: {\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress);\n current = workInProgress.pendingProps;\n context = Component._init;\n Component = context(Component._payload);\n workInProgress.type = Component;\n context = workInProgress.tag = resolveLazyComponentTag(Component);\n current = resolveDefaultProps(Component, current);\n switch (context) {\n case 0:\n workInProgress = updateFunctionComponent(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 1:\n workInProgress = updateClassComponent(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 11:\n workInProgress = updateForwardRef(\n null,\n workInProgress,\n Component,\n current,\n renderLanes\n );\n break a;\n case 14:\n workInProgress = updateMemoComponent(\n null,\n workInProgress,\n Component,\n resolveDefaultProps(Component.type, current),\n renderLanes\n );\n break a;\n }\n throw Error(\n \"Element type is invalid. Received a promise that resolves to: \" +\n Component +\n \". Lazy element type must resolve to a class or function.\"\n );\n }\n return workInProgress;\n case 0:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateFunctionComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 1:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateClassComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 3:\n pushHostRootContext(workInProgress);\n if (null === current)\n throw Error(\"Should have a current fiber. This is a bug in React.\");\n context = workInProgress.pendingProps;\n Component = workInProgress.memoizedState.element;\n cloneUpdateQueue(current, workInProgress);\n processUpdateQueue(workInProgress, context, null, renderLanes);\n context = workInProgress.memoizedState.element;\n context === Component\n ? (workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n ))\n : (reconcileChildren(current, workInProgress, context, renderLanes),\n (workInProgress = workInProgress.child));\n return workInProgress;\n case 5:\n return (\n pushHostContext(workInProgress),\n (Component = workInProgress.pendingProps.children),\n markRef(current, workInProgress),\n reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 6:\n return null;\n case 13:\n return updateSuspenseComponent(current, workInProgress, renderLanes);\n case 4:\n return (\n pushHostContainer(\n workInProgress,\n workInProgress.stateNode.containerInfo\n ),\n (Component = workInProgress.pendingProps),\n null === current\n ? (workInProgress.child = reconcileChildFibers(\n workInProgress,\n null,\n Component,\n renderLanes\n ))\n : reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 11:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n updateForwardRef(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 7:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps,\n renderLanes\n ),\n workInProgress.child\n );\n case 8:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 12:\n return (\n reconcileChildren(\n current,\n workInProgress,\n workInProgress.pendingProps.children,\n renderLanes\n ),\n workInProgress.child\n );\n case 10:\n a: {\n Component = workInProgress.type._context;\n context = workInProgress.pendingProps;\n hasContext = workInProgress.memoizedProps;\n var newValue = context.value;\n push(valueCursor, Component._currentValue);\n Component._currentValue = newValue;\n if (null !== hasContext)\n if (objectIs(hasContext.value, newValue)) {\n if (\n hasContext.children === context.children &&\n !didPerformWorkStackCursor.current\n ) {\n workInProgress = bailoutOnAlreadyFinishedWork(\n current,\n workInProgress,\n renderLanes\n );\n break a;\n }\n } else\n for (\n hasContext = workInProgress.child,\n null !== hasContext && (hasContext.return = workInProgress);\n null !== hasContext;\n\n ) {\n var list = hasContext.dependencies;\n if (null !== list) {\n newValue = hasContext.child;\n for (\n var dependency = list.firstContext;\n null !== dependency;\n\n ) {\n if (dependency.context === Component) {\n if (1 === hasContext.tag) {\n dependency = createUpdate(-1, renderLanes & -renderLanes);\n dependency.tag = 2;\n var updateQueue = hasContext.updateQueue;\n if (null !== updateQueue) {\n updateQueue = updateQueue.shared;\n var pending = updateQueue.pending;\n null === pending\n ? (dependency.next = dependency)\n : ((dependency.next = pending.next),\n (pending.next = dependency));\n updateQueue.pending = dependency;\n }\n }\n hasContext.lanes |= renderLanes;\n dependency = hasContext.alternate;\n null !== dependency && (dependency.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n hasContext.return,\n renderLanes,\n workInProgress\n );\n list.lanes |= renderLanes;\n break;\n }\n dependency = dependency.next;\n }\n } else if (10 === hasContext.tag)\n newValue =\n hasContext.type === workInProgress.type\n ? null\n : hasContext.child;\n else if (18 === hasContext.tag) {\n newValue = hasContext.return;\n if (null === newValue)\n throw Error(\n \"We just came from a parent so we must have had a parent. This is a bug in React.\"\n );\n newValue.lanes |= renderLanes;\n list = newValue.alternate;\n null !== list && (list.lanes |= renderLanes);\n scheduleContextWorkOnParentPath(\n newValue,\n renderLanes,\n workInProgress\n );\n newValue = hasContext.sibling;\n } else newValue = hasContext.child;\n if (null !== newValue) newValue.return = hasContext;\n else\n for (newValue = hasContext; null !== newValue; ) {\n if (newValue === workInProgress) {\n newValue = null;\n break;\n }\n hasContext = newValue.sibling;\n if (null !== hasContext) {\n hasContext.return = newValue.return;\n newValue = hasContext;\n break;\n }\n newValue = newValue.return;\n }\n hasContext = newValue;\n }\n reconcileChildren(\n current,\n workInProgress,\n context.children,\n renderLanes\n );\n workInProgress = workInProgress.child;\n }\n return workInProgress;\n case 9:\n return (\n (context = workInProgress.type),\n (Component = workInProgress.pendingProps.children),\n prepareToReadContext(workInProgress, renderLanes),\n (context = readContext(context)),\n (Component = Component(context)),\n (workInProgress.flags |= 1),\n reconcileChildren(current, workInProgress, Component, renderLanes),\n workInProgress.child\n );\n case 14:\n return (\n (Component = workInProgress.type),\n (context = resolveDefaultProps(Component, workInProgress.pendingProps)),\n (context = resolveDefaultProps(Component.type, context)),\n updateMemoComponent(\n current,\n workInProgress,\n Component,\n context,\n renderLanes\n )\n );\n case 15:\n return updateSimpleMemoComponent(\n current,\n workInProgress,\n workInProgress.type,\n workInProgress.pendingProps,\n renderLanes\n );\n case 17:\n return (\n (Component = workInProgress.type),\n (context = workInProgress.pendingProps),\n (context =\n workInProgress.elementType === Component\n ? context\n : resolveDefaultProps(Component, context)),\n resetSuspendedCurrentOnMountInLegacyMode(current, workInProgress),\n (workInProgress.tag = 1),\n isContextProvider(Component)\n ? ((current = !0), pushContextProvider(workInProgress))\n : (current = !1),\n prepareToReadContext(workInProgress, renderLanes),\n constructClassInstance(workInProgress, Component, context),\n mountClassInstance(workInProgress, Component, context, renderLanes),\n finishClassComponent(\n null,\n workInProgress,\n Component,\n !0,\n current,\n renderLanes\n )\n );\n case 19:\n return updateSuspenseListComponent(current, workInProgress, renderLanes);\n case 22:\n return updateOffscreenComponent(current, workInProgress, renderLanes);\n }\n throw Error(\n \"Unknown unit of work tag (\" +\n workInProgress.tag +\n \"). This error is likely caused by a bug in React. Please file an issue.\"\n );\n};\nfunction scheduleCallback$1(priorityLevel, callback) {\n return scheduleCallback(priorityLevel, callback);\n}\nfunction FiberNode(tag, pendingProps, key, mode) {\n this.tag = tag;\n this.key = key;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = pendingProps;\n this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = mode;\n this.subtreeFlags = this.flags = 0;\n this.deletions = null;\n this.childLanes = this.lanes = 0;\n this.alternate = null;\n}\nfunction createFiber(tag, pendingProps, key, mode) {\n return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n Component = Component.prototype;\n return !(!Component || !Component.isReactComponent);\n}\nfunction resolveLazyComponentTag(Component) {\n if (\"function\" === typeof Component)\n return shouldConstruct(Component) ? 1 : 0;\n if (void 0 !== Component && null !== Component) {\n Component = Component.$$typeof;\n if (Component === REACT_FORWARD_REF_TYPE) return 11;\n if (Component === REACT_MEMO_TYPE) return 14;\n }\n return 2;\n}\nfunction createWorkInProgress(current, pendingProps) {\n var workInProgress = current.alternate;\n null === workInProgress\n ? ((workInProgress = createFiber(\n current.tag,\n pendingProps,\n current.key,\n current.mode\n )),\n (workInProgress.elementType = current.elementType),\n (workInProgress.type = current.type),\n (workInProgress.stateNode = current.stateNode),\n (workInProgress.alternate = current),\n (current.alternate = workInProgress))\n : ((workInProgress.pendingProps = pendingProps),\n (workInProgress.type = current.type),\n (workInProgress.flags = 0),\n (workInProgress.subtreeFlags = 0),\n (workInProgress.deletions = null));\n workInProgress.flags = current.flags & 14680064;\n workInProgress.childLanes = current.childLanes;\n workInProgress.lanes = current.lanes;\n workInProgress.child = current.child;\n workInProgress.memoizedProps = current.memoizedProps;\n workInProgress.memoizedState = current.memoizedState;\n workInProgress.updateQueue = current.updateQueue;\n pendingProps = current.dependencies;\n workInProgress.dependencies =\n null === pendingProps\n ? null\n : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n workInProgress.sibling = current.sibling;\n workInProgress.index = current.index;\n workInProgress.ref = current.ref;\n return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n type,\n key,\n pendingProps,\n owner,\n mode,\n lanes\n) {\n var fiberTag = 2;\n owner = type;\n if (\"function\" === typeof type) shouldConstruct(type) && (fiberTag = 1);\n else if (\"string\" === typeof type) fiberTag = 5;\n else\n a: switch (type) {\n case REACT_FRAGMENT_TYPE:\n return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n case REACT_STRICT_MODE_TYPE:\n fiberTag = 8;\n mode |= 8;\n break;\n case REACT_PROFILER_TYPE:\n return (\n (type = createFiber(12, pendingProps, key, mode | 2)),\n (type.elementType = REACT_PROFILER_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_TYPE:\n return (\n (type = createFiber(13, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_SUSPENSE_LIST_TYPE:\n return (\n (type = createFiber(19, pendingProps, key, mode)),\n (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n (type.lanes = lanes),\n type\n );\n case REACT_OFFSCREEN_TYPE:\n return createFiberFromOffscreen(pendingProps, mode, lanes, key);\n default:\n if (\"object\" === typeof type && null !== type)\n switch (type.$$typeof) {\n case REACT_PROVIDER_TYPE:\n fiberTag = 10;\n break a;\n case REACT_CONTEXT_TYPE:\n fiberTag = 9;\n break a;\n case REACT_FORWARD_REF_TYPE:\n fiberTag = 11;\n break a;\n case REACT_MEMO_TYPE:\n fiberTag = 14;\n break a;\n case REACT_LAZY_TYPE:\n fiberTag = 16;\n owner = null;\n break a;\n }\n throw Error(\n \"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: \" +\n ((null == type ? type : typeof type) + \".\")\n );\n }\n key = createFiber(fiberTag, pendingProps, key, mode);\n key.elementType = type;\n key.type = owner;\n key.lanes = lanes;\n return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n elements = createFiber(7, elements, key, mode);\n elements.lanes = lanes;\n return elements;\n}\nfunction createFiberFromOffscreen(pendingProps, mode, lanes, key) {\n pendingProps = createFiber(22, pendingProps, key, mode);\n pendingProps.elementType = REACT_OFFSCREEN_TYPE;\n pendingProps.lanes = lanes;\n pendingProps.stateNode = { isHidden: !1 };\n return pendingProps;\n}\nfunction createFiberFromText(content, mode, lanes) {\n content = createFiber(6, content, null, mode);\n content.lanes = lanes;\n return content;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n mode = createFiber(\n 4,\n null !== portal.children ? portal.children : [],\n portal.key,\n mode\n );\n mode.lanes = lanes;\n mode.stateNode = {\n containerInfo: portal.containerInfo,\n pendingChildren: null,\n implementation: portal.implementation\n };\n return mode;\n}\nfunction FiberRootNode(\n containerInfo,\n tag,\n hydrate,\n identifierPrefix,\n onRecoverableError\n) {\n this.tag = tag;\n this.containerInfo = containerInfo;\n this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;\n this.timeoutHandle = -1;\n this.callbackNode = this.pendingContext = this.context = null;\n this.callbackPriority = 0;\n this.eventTimes = createLaneMap(0);\n this.expirationTimes = createLaneMap(-1);\n this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;\n this.entanglements = createLaneMap(0);\n this.identifierPrefix = identifierPrefix;\n this.onRecoverableError = onRecoverableError;\n}\nfunction createPortal(children, containerInfo, implementation) {\n var key =\n 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: REACT_PORTAL_TYPE,\n key: null == key ? null : \"\" + key,\n children: children,\n containerInfo: containerInfo,\n implementation: implementation\n };\n}\nfunction findHostInstance(component) {\n var fiber = component._reactInternals;\n if (void 0 === fiber) {\n if (\"function\" === typeof component.render)\n throw Error(\"Unable to find node on an unmounted component.\");\n component = Object.keys(component).join(\",\");\n throw Error(\n \"Argument appears to not be a ReactComponent. Keys: \" + component\n );\n }\n component = findCurrentHostFiber(fiber);\n return null === component ? null : component.stateNode;\n}\nfunction updateContainer(element, container, parentComponent, callback) {\n var current = container.current,\n eventTime = requestEventTime(),\n lane = requestUpdateLane(current);\n a: if (parentComponent) {\n parentComponent = parentComponent._reactInternals;\n b: {\n if (\n getNearestMountedFiber(parentComponent) !== parentComponent ||\n 1 !== parentComponent.tag\n )\n throw Error(\n \"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.\"\n );\n var JSCompiler_inline_result = parentComponent;\n do {\n switch (JSCompiler_inline_result.tag) {\n case 3:\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode.context;\n break b;\n case 1:\n if (isContextProvider(JSCompiler_inline_result.type)) {\n JSCompiler_inline_result =\n JSCompiler_inline_result.stateNode\n .__reactInternalMemoizedMergedChildContext;\n break b;\n }\n }\n JSCompiler_inline_result = JSCompiler_inline_result.return;\n } while (null !== JSCompiler_inline_result);\n throw Error(\n \"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.\"\n );\n }\n if (1 === parentComponent.tag) {\n var Component = parentComponent.type;\n if (isContextProvider(Component)) {\n parentComponent = processChildContext(\n parentComponent,\n Component,\n JSCompiler_inline_result\n );\n break a;\n }\n }\n parentComponent = JSCompiler_inline_result;\n } else parentComponent = emptyContextObject;\n null === container.context\n ? (container.context = parentComponent)\n : (container.pendingContext = parentComponent);\n container = createUpdate(eventTime, lane);\n container.payload = { element: element };\n callback = void 0 === callback ? null : callback;\n null !== callback && (container.callback = callback);\n element = enqueueUpdate(current, container, lane);\n null !== element &&\n (scheduleUpdateOnFiber(element, current, lane, eventTime),\n entangleTransitions(element, current, lane));\n return lane;\n}\nfunction emptyFindFiberByHostInstance() {\n return null;\n}\nfunction findNodeHandle(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (\"number\" === typeof componentOrHandle) return componentOrHandle;\n if (componentOrHandle._nativeTag) return componentOrHandle._nativeTag;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical._nativeTag;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical._nativeTag\n : componentOrHandle._nativeTag;\n}\nfunction onRecoverableError(error) {\n console.error(error);\n}\nfunction unmountComponentAtNode(containerTag) {\n var root = roots.get(containerTag);\n root &&\n updateContainer(null, root, null, function() {\n roots.delete(containerTag);\n });\n}\nbatchedUpdatesImpl = function(fn, a) {\n var prevExecutionContext = executionContext;\n executionContext |= 1;\n try {\n return fn(a);\n } finally {\n (executionContext = prevExecutionContext),\n 0 === executionContext &&\n ((workInProgressRootRenderTargetTime = now() + 500),\n includesLegacySyncCallbacks && flushSyncCallbacks());\n }\n};\nvar roots = new Map(),\n devToolsConfig$jscomp$inline_979 = {\n findFiberByHostInstance: getInstanceFromTag,\n bundleType: 0,\n version: \"18.2.0-next-9e3b772b8-20220608\",\n rendererPackageName: \"react-native-renderer\",\n rendererConfig: {\n getInspectorDataForViewTag: function() {\n throw Error(\n \"getInspectorDataForViewTag() is not available in production\"\n );\n },\n getInspectorDataForViewAtPoint: function() {\n throw Error(\n \"getInspectorDataForViewAtPoint() is not available in production.\"\n );\n }.bind(null, findNodeHandle)\n }\n };\nvar internals$jscomp$inline_1247 = {\n bundleType: devToolsConfig$jscomp$inline_979.bundleType,\n version: devToolsConfig$jscomp$inline_979.version,\n rendererPackageName: devToolsConfig$jscomp$inline_979.rendererPackageName,\n rendererConfig: devToolsConfig$jscomp$inline_979.rendererConfig,\n overrideHookState: null,\n overrideHookStateDeletePath: null,\n overrideHookStateRenamePath: null,\n overrideProps: null,\n overridePropsDeletePath: null,\n overridePropsRenamePath: null,\n setErrorHandler: null,\n setSuspenseHandler: null,\n scheduleUpdate: null,\n currentDispatcherRef: ReactSharedInternals.ReactCurrentDispatcher,\n findHostInstanceByFiber: function(fiber) {\n fiber = findCurrentHostFiber(fiber);\n return null === fiber ? null : fiber.stateNode;\n },\n findFiberByHostInstance:\n devToolsConfig$jscomp$inline_979.findFiberByHostInstance ||\n emptyFindFiberByHostInstance,\n findHostInstancesForRefresh: null,\n scheduleRefresh: null,\n scheduleRoot: null,\n setRefreshHandler: null,\n getCurrentFiber: null,\n reconcilerVersion: \"18.2.0-next-9e3b772b8-20220608\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n var hook$jscomp$inline_1248 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (\n !hook$jscomp$inline_1248.isDisabled &&\n hook$jscomp$inline_1248.supportsFiber\n )\n try {\n (rendererID = hook$jscomp$inline_1248.inject(\n internals$jscomp$inline_1247\n )),\n (injectedHook = hook$jscomp$inline_1248);\n } catch (err) {}\n}\nexports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {\n computeComponentStackForErrorReporting: function(reactTag) {\n return (reactTag = getInstanceFromTag(reactTag))\n ? getStackByFiberInDevAndProd(reactTag)\n : \"\";\n }\n};\nexports.createPortal = function(children, containerTag) {\n return createPortal(\n children,\n containerTag,\n null,\n 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null\n );\n};\nexports.dispatchCommand = function(handle, command, args) {\n null != handle._nativeTag &&\n (null != handle._internalInstanceHandle\n ? ((handle = handle._internalInstanceHandle.stateNode),\n null != handle &&\n nativeFabricUIManager.dispatchCommand(handle.node, command, args))\n : ReactNativePrivateInterface.UIManager.dispatchViewManagerCommand(\n handle._nativeTag,\n command,\n args\n ));\n};\nexports.findHostInstance_DEPRECATED = function(componentOrHandle) {\n if (null == componentOrHandle) return null;\n if (componentOrHandle._nativeTag) return componentOrHandle;\n if (componentOrHandle.canonical && componentOrHandle.canonical._nativeTag)\n return componentOrHandle.canonical;\n componentOrHandle = findHostInstance(componentOrHandle);\n return null == componentOrHandle\n ? componentOrHandle\n : componentOrHandle.canonical\n ? componentOrHandle.canonical\n : componentOrHandle;\n};\nexports.findNodeHandle = findNodeHandle;\nexports.getInspectorDataForInstance = void 0;\nexports.render = function(element, containerTag, callback) {\n var root = roots.get(containerTag);\n if (!root) {\n root = new FiberRootNode(containerTag, 0, !1, \"\", onRecoverableError);\n var JSCompiler_inline_result = createFiber(3, null, null, 0);\n root.current = JSCompiler_inline_result;\n JSCompiler_inline_result.stateNode = root;\n JSCompiler_inline_result.memoizedState = {\n element: null,\n isDehydrated: !1,\n cache: null,\n transitions: null,\n pendingSuspenseBoundaries: null\n };\n initializeUpdateQueue(JSCompiler_inline_result);\n roots.set(containerTag, root);\n }\n updateContainer(element, root, null, callback);\n a: if (((element = root.current), element.child))\n switch (element.child.tag) {\n case 5:\n element = element.child.stateNode;\n break a;\n default:\n element = element.child.stateNode;\n }\n else element = null;\n return element;\n};\nexports.sendAccessibilityEvent = function(handle, eventType) {\n null != handle._nativeTag &&\n (null != handle._internalInstanceHandle\n ? ((handle = handle._internalInstanceHandle.stateNode),\n null != handle &&\n nativeFabricUIManager.sendAccessibilityEvent(handle.node, eventType))\n : ReactNativePrivateInterface.legacySendAccessibilityEvent(\n handle._nativeTag,\n eventType\n ));\n};\nexports.unmountComponentAtNode = unmountComponentAtNode;\nexports.unmountComponentAtNodeAndRemoveContainer = function(containerTag) {\n unmountComponentAtNode(containerTag);\n ReactNativePrivateInterface.UIManager.removeRootView(containerTag);\n};\nexports.unstable_batchedUpdates = batchedUpdates;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generate-docs\n */\n\n'use strict';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {ActivityIndicator as ActivityIndicatorType} from './ActivityIndicator.flow';\n\nimport StyleSheet, {type ColorValue} from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport View from '../View/View';\nimport * as React from 'react';\n\nconst PlatformActivityIndicator =\n Platform.OS === 'android'\n ? require('../ProgressBarAndroid/ProgressBarAndroid')\n : require('./ActivityIndicatorViewNativeComponent').default;\n\nconst GRAY = '#999999';\n\ntype IndicatorSize = number | 'small' | 'large';\n\ntype IOSProps = $ReadOnly<{|\n /**\n Whether the indicator should hide when not animating.\n\n @platform ios\n */\n hidesWhenStopped?: ?boolean,\n|}>;\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n \tWhether to show the indicator (`true`) or hide it (`false`).\n */\n animating?: ?boolean,\n\n /**\n The foreground color of the spinner.\n\n @default {@platform android} `null` (system accent default color)\n @default {@platform ios} '#999999'\n */\n color?: ?ColorValue,\n\n /**\n Size of the indicator.\n\n @type enum(`'small'`, `'large'`)\n @type {@platform android} number\n */\n size?: ?IndicatorSize,\n|}>;\n\nconst ActivityIndicator = (\n {\n animating = true,\n color = Platform.OS === 'ios' ? GRAY : null,\n hidesWhenStopped = true,\n onLayout,\n size = 'small',\n style,\n ...restProps\n }: Props,\n forwardedRef?: any,\n) => {\n let sizeStyle;\n let sizeProp;\n\n switch (size) {\n case 'small':\n sizeStyle = styles.sizeSmall;\n sizeProp = 'small';\n break;\n case 'large':\n sizeStyle = styles.sizeLarge;\n sizeProp = 'large';\n break;\n default:\n sizeStyle = {height: size, width: size};\n break;\n }\n\n const nativeProps = {\n animating,\n color,\n hidesWhenStopped,\n ...restProps,\n ref: forwardedRef,\n style: sizeStyle,\n size: sizeProp,\n };\n\n const androidProps = {\n styleAttr: 'Normal',\n indeterminate: true,\n };\n\n return (\n \n {Platform.OS === 'android' ? (\n // $FlowFixMe[prop-missing] Flow doesn't know when this is the android component\n \n ) : (\n /* $FlowFixMe[prop-missing] (>=0.106.0 site=react_native_android_fb) This comment\n * suppresses an error found when Flow v0.106 was deployed. To see the\n * error, delete this comment and run Flow. */\n \n )}\n \n );\n};\n\n/**\n Displays a circular loading indicator.\n\n ```SnackPlayer name=ActivityIndicator%20Function%20Component%20Example\n import React from \"react\";\n import { ActivityIndicator, StyleSheet, Text, View } from \"react-native\";\n\n const App = () => (\n \n \n \n \n \n \n );\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\"\n },\n horizontal: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n padding: 10\n }\n });\n export default App;\n ```\n\n ```SnackPlayer name=ActivityIndicator%20Class%20Component%20Example\n import React, { Component } from \"react\";\n import { ActivityIndicator, StyleSheet, Text, View } from \"react-native\";\n\n class App extends Component {\n render() {\n return (\n \n \n \n \n \n \n );\n }\n }\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: \"center\"\n },\n horizontal: {\n flexDirection: \"row\",\n justifyContent: \"space-around\",\n padding: 10\n }\n });\n export default App;\n ```\n*/\n\nconst ActivityIndicatorWithRef: ActivityIndicatorType =\n React.forwardRef(ActivityIndicator);\nActivityIndicatorWithRef.displayName = 'ActivityIndicator';\n\nconst styles = StyleSheet.create({\n container: {\n alignItems: 'center',\n justifyContent: 'center',\n },\n sizeSmall: {\n width: 20,\n height: 20,\n },\n sizeLarge: {\n width: 36,\n height: 36,\n },\n});\n\nmodule.exports = ActivityIndicatorWithRef;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {WithDefault} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the indicator should hide when not animating (true by default).\n *\n * See https://reactnative.dev/docs/activityindicator#hideswhenstopped\n */\n hidesWhenStopped?: WithDefault,\n\n /**\n * Whether to show the indicator (true, the default) or hide it (false).\n *\n * See https://reactnative.dev/docs/activityindicator#animating\n */\n animating?: WithDefault,\n\n /**\n * The foreground color of the spinner (default is gray).\n *\n * See https://reactnative.dev/docs/activityindicator#color\n */\n color?: ?ColorValue,\n\n /**\n * Size of the indicator (default is 'small').\n * Passing a number to the size prop is only supported on Android.\n *\n * See https://reactnative.dev/docs/activityindicator#size\n */\n size?: WithDefault<'small' | 'large', 'small'>,\n|}>;\n\nexport default (codegenNativeComponent('ActivityIndicatorView', {\n paperComponentName: 'RCTActivityIndicatorView',\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// TODO: move this file to shims/ReactNative (requires React update and sync)\n\nimport type {HostComponent} from '../../Libraries/Renderer/shims/ReactNativeTypes';\n\nimport requireNativeComponent from '../../Libraries/ReactNative/requireNativeComponent';\nimport UIManager from '../ReactNative/UIManager';\n\n// TODO: import from CodegenSchema once workspaces are enabled\ntype Options = $ReadOnly<{|\n interfaceOnly?: boolean,\n paperComponentName?: string,\n paperComponentNameDeprecated?: string,\n excludedPlatforms?: $ReadOnlyArray<'iOS' | 'android'>,\n|}>;\n\nexport type NativeComponentType = HostComponent;\n\n// If this function runs then that means the view configs were not\n// generated at build time using `GenerateViewConfigJs.js`. Thus\n// we need to `requireNativeComponent` to get the view configs from view managers.\n// `requireNativeComponent` is not available in Bridgeless mode.\n// e.g. This function runs at runtime if `codegenNativeComponent` was not called\n// from a file suffixed with NativeComponent.js.\nfunction codegenNativeComponent(\n componentName: string,\n options?: Options,\n): NativeComponentType {\n if (global.RN$Bridgeless === true) {\n const errorMessage =\n \"Native Component '\" +\n componentName +\n \"' that calls codegenNativeComponent was not code generated at build time. Please check its definition.\";\n console.error(errorMessage);\n }\n\n let componentNameInUse =\n options && options.paperComponentName != null\n ? options.paperComponentName\n : componentName;\n\n if (options != null && options.paperComponentNameDeprecated != null) {\n if (UIManager.hasViewManagerConfig(componentName)) {\n componentNameInUse = componentName;\n } else if (\n options.paperComponentNameDeprecated != null &&\n UIManager.hasViewManagerConfig(options.paperComponentNameDeprecated)\n ) {\n // $FlowFixMe[incompatible-type]\n componentNameInUse = options.paperComponentNameDeprecated;\n } else {\n throw new Error(\n `Failed to find native component for either ${componentName} or ${\n options.paperComponentNameDeprecated ?? '(unknown)'\n }`,\n );\n }\n }\n\n return (requireNativeComponent(\n // $FlowFixMe[incompatible-call]\n componentNameInUse,\n ): HostComponent);\n}\n\nexport default codegenNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\n\nconst createReactNativeComponentClass = require('../Renderer/shims/createReactNativeComponentClass');\nconst getNativeComponentAttributes = require('./getNativeComponentAttributes');\n\n/**\n * Creates values that can be used like React components which represent native\n * view managers. You should create JavaScript modules that wrap these values so\n * that the results are memoized. Example:\n *\n * const View = requireNativeComponent('RCTView');\n *\n */\n\nconst requireNativeComponent = (uiViewClassName: string): HostComponent =>\n ((createReactNativeComponentClass(uiViewClassName, () =>\n getNativeComponentAttributes(uiViewClassName),\n ): any): HostComponent);\n\nmodule.exports = requireNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @noformat\n * @flow strict-local\n * @generated SignedSource<<7d3d4090dadea2daa09d92e5e66f6e5d>>\n *\n * This file was sync'd from the facebook/react repository.\n */\n\n'use strict';\n\nimport {ReactNativeViewConfigRegistry} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface';\nimport {type ViewConfig} from './ReactNativeTypes';\n\nconst {register} = ReactNativeViewConfigRegistry;\n\n/**\n * Creates a renderable ReactNative host component.\n * Use this method for view configs that are loaded from UIManager.\n * Use createReactNativeComponentClass() for view configs defined within JavaScript.\n *\n * @param {string} config iOS View configuration.\n * @private\n */\nconst createReactNativeComponentClass = function(\n name: string,\n callback: () => ViewConfig,\n): string {\n return register(name, callback);\n};\n\nmodule.exports = createReactNativeComponentClass;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n * @generate-docs\n */\n\n'use strict';\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\nimport type {Button as ButtonType} from './Button.flow';\nimport type {\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n AccessibilityState,\n} from './View/ViewAccessibility';\n\nimport StyleSheet, {type ColorValue} from '../StyleSheet/StyleSheet';\nimport Text from '../Text/Text';\nimport Platform from '../Utilities/Platform';\nimport TouchableNativeFeedback from './Touchable/TouchableNativeFeedback';\nimport TouchableOpacity from './Touchable/TouchableOpacity';\nimport View from './View/View';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\ntype ButtonProps = $ReadOnly<{|\n /**\n Text to display inside the button. On Android the given title will be\n converted to the uppercased form.\n */\n title: string,\n\n /**\n Handler to be called when the user taps the button. The first function\n argument is an event in form of [PressEvent](pressevent).\n */\n onPress: (event?: PressEvent) => mixed,\n\n /**\n If `true`, doesn't play system sound on touch.\n\n @platform android\n\n @default false\n */\n touchSoundDisabled?: ?boolean,\n\n /**\n Color of the text (iOS), or background color of the button (Android).\n\n @default {@platform android} '#2196F3'\n @default {@platform ios} '#007AFF'\n */\n color?: ?ColorValue,\n\n /**\n TV preferred focus.\n\n @platform tv\n\n @default false\n */\n hasTVPreferredFocus?: ?boolean,\n\n /**\n Designates the next view to receive focus when the user navigates down. See\n the [Android documentation][android:nextFocusDown].\n\n [android:nextFocusDown]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusDown\n\n @platform android, tv\n */\n nextFocusDown?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates forward.\n See the [Android documentation][android:nextFocusForward].\n\n [android:nextFocusForward]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusForward\n\n @platform android, tv\n */\n nextFocusForward?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates left. See\n the [Android documentation][android:nextFocusLeft].\n\n [android:nextFocusLeft]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusLeft\n\n @platform android, tv\n */\n nextFocusLeft?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates right. See\n the [Android documentation][android:nextFocusRight].\n\n [android:nextFocusRight]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusRight\n\n @platform android, tv\n */\n nextFocusRight?: ?number,\n\n /**\n Designates the next view to receive focus when the user navigates up. See\n the [Android documentation][android:nextFocusUp].\n\n [android:nextFocusUp]:\n https://developer.android.com/reference/android/view/View.html#attr_android:nextFocusUp\n\n @platform android, tv\n */\n nextFocusUp?: ?number,\n\n /**\n Text to display for blindness accessibility features.\n */\n accessibilityLabel?: ?string,\n /**\n * Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabel\n * https://github.com/facebook/react-native/issues/34424\n */\n 'aria-label'?: ?string,\n /**\n If `true`, disable all interactions for this component.\n\n @default false\n */\n disabled?: ?boolean,\n\n /**\n Used to locate this view in end-to-end tests.\n */\n testID?: ?string,\n\n /**\n * Accessibility props.\n */\n accessible?: ?boolean,\n accessibilityActions?: ?$ReadOnlyArray,\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n accessibilityState?: ?AccessibilityState,\n\n /**\n * alias for accessibilityState\n *\n * see https://reactnative.dev/docs/accessibility#accessibilitystate\n */\n 'aria-busy'?: ?boolean,\n 'aria-checked'?: ?boolean | 'mixed',\n 'aria-disabled'?: ?boolean,\n 'aria-expanded'?: ?boolean,\n 'aria-selected'?: ?boolean,\n\n /**\n * [Android] Controlling if a view fires accessibility events and if it is reported to accessibility services.\n */\n importantForAccessibility?: ?('auto' | 'yes' | 'no' | 'no-hide-descendants'),\n accessibilityHint?: ?string,\n accessibilityLanguage?: ?Stringish,\n|}>;\n\n/**\n A basic button component that should render nicely on any platform. Supports a\n minimal level of customization.\n\n If this button doesn't look right for your app, you can build your own button\n using [TouchableOpacity](touchableopacity) or\n [TouchableWithoutFeedback](touchablewithoutfeedback). For inspiration, look at\n the [source code for this button component][button:source]. Or, take a look at\n the [wide variety of button components built by the community]\n [button:examples].\n\n [button:source]:\n https://github.com/facebook/react-native/blob/HEAD/Libraries/Components/Button.js\n\n [button:examples]:\n https://js.coach/?menu%5Bcollections%5D=React%20Native&page=1&query=button\n\n ```jsx\n \n ```\n\n ```SnackPlayer name=Button%20Example\n import React from 'react';\n import { StyleSheet, Button, View, SafeAreaView, Text, Alert } from 'react-native';\n\n const Separator = () => (\n \n );\n\n const App = () => (\n \n \n \n The title and onPress handler are required. It is recommended to set accessibilityLabel to help make your app usable by everyone.\n \n Alert.alert('Simple Button pressed')}\n />\n \n \n \n \n Adjust the color in a way that looks standard on each platform. On iOS, the color prop controls the color of the text. On Android, the color adjusts the background color of the button.\n \n Alert.alert('Button with adjusted color pressed')}\n />\n \n \n \n \n All interaction for the component are disabled.\n \n Alert.alert('Cannot press this one')}\n />\n \n \n \n \n This layout strategy lets the title define the width of the button.\n \n \n Alert.alert('Left button pressed')}\n />\n Alert.alert('Right button pressed')}\n />\n \n \n \n );\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n marginHorizontal: 16,\n },\n title: {\n textAlign: 'center',\n marginVertical: 8,\n },\n fixToText: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n separator: {\n marginVertical: 8,\n borderBottomColor: '#737373',\n borderBottomWidth: StyleSheet.hairlineWidth,\n },\n });\n\n export default App;\n ```\n */\n\nclass Button extends React.Component {\n render(): React.Node {\n const {\n accessibilityLabel,\n accessibilityState,\n 'aria-busy': ariaBusy,\n 'aria-checked': ariaChecked,\n 'aria-disabled': ariaDisabled,\n 'aria-expanded': ariaExpanded,\n 'aria-label': ariaLabel,\n 'aria-selected': ariaSelected,\n importantForAccessibility,\n color,\n onPress,\n touchSoundDisabled,\n title,\n hasTVPreferredFocus,\n nextFocusDown,\n nextFocusForward,\n nextFocusLeft,\n nextFocusRight,\n nextFocusUp,\n testID,\n accessible,\n accessibilityActions,\n accessibilityHint,\n accessibilityLanguage,\n onAccessibilityAction,\n } = this.props;\n const buttonStyles = [styles.button];\n const textStyles = [styles.text];\n if (color) {\n if (Platform.OS === 'ios') {\n textStyles.push({color: color});\n } else {\n buttonStyles.push({backgroundColor: color});\n }\n }\n\n let _accessibilityState = {\n busy: ariaBusy ?? accessibilityState?.busy,\n checked: ariaChecked ?? accessibilityState?.checked,\n disabled: ariaDisabled ?? accessibilityState?.disabled,\n expanded: ariaExpanded ?? accessibilityState?.expanded,\n selected: ariaSelected ?? accessibilityState?.selected,\n };\n\n const disabled =\n this.props.disabled != null\n ? this.props.disabled\n : _accessibilityState?.disabled;\n\n _accessibilityState =\n disabled !== _accessibilityState?.disabled\n ? {..._accessibilityState, disabled}\n : _accessibilityState;\n\n if (disabled) {\n buttonStyles.push(styles.buttonDisabled);\n textStyles.push(styles.textDisabled);\n }\n\n invariant(\n typeof title === 'string',\n 'The title prop of a Button must be a string',\n );\n const formattedTitle =\n Platform.OS === 'android' ? title.toUpperCase() : title;\n const Touchable =\n Platform.OS === 'android' ? TouchableNativeFeedback : TouchableOpacity;\n\n // If `no` is specified for `importantForAccessibility`, it will be changed to `no-hide-descendants` because the text inside should not be focused.\n const _importantForAccessibility =\n importantForAccessibility === 'no'\n ? 'no-hide-descendants'\n : importantForAccessibility;\n\n return (\n \n \n \n {formattedTitle}\n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n button: Platform.select({\n ios: {},\n android: {\n elevation: 4,\n // Material design blue from https://material.google.com/style/color.html#color-color-palette\n backgroundColor: '#2196F3',\n borderRadius: 2,\n },\n }),\n text: {\n textAlign: 'center',\n margin: 8,\n ...Platform.select({\n ios: {\n // iOS blue from https://developer.apple.com/ios/human-interface-guidelines/visual-design/color/\n color: '#007AFF',\n fontSize: 18,\n },\n android: {\n color: 'white',\n fontWeight: '500',\n },\n }),\n },\n buttonDisabled: Platform.select({\n ios: {},\n android: {\n elevation: 0,\n backgroundColor: '#dfdfdf',\n },\n }),\n textDisabled: Platform.select({\n ios: {\n color: '#cdcdcd',\n },\n android: {\n color: '#a1a1a1',\n },\n }),\n});\n\nmodule.exports = (Button: ButtonType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\n\nimport * as PressabilityDebug from '../Pressability/PressabilityDebug';\nimport usePressability from '../Pressability/usePressability';\nimport flattenStyle from '../StyleSheet/flattenStyle';\nimport processColor from '../StyleSheet/processColor';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport {getAccessibilityRoleFromRole} from '../Utilities/AcessibilityMapping';\nimport Platform from '../Utilities/Platform';\nimport TextAncestor from './TextAncestor';\nimport {NativeText, NativeVirtualText} from './TextNativeComponent';\nimport {type TextProps} from './TextProps';\nimport * as React from 'react';\nimport {useContext, useMemo, useState} from 'react';\n\n/**\n * Text is the fundamental component for displaying text.\n *\n * @see https://reactnative.dev/docs/text\n */\nconst Text: React.AbstractComponent<\n TextProps,\n React.ElementRef,\n> = React.forwardRef((props: TextProps, forwardedRef) => {\n const {\n accessible,\n accessibilityLabel,\n accessibilityRole,\n allowFontScaling,\n 'aria-busy': ariaBusy,\n 'aria-checked': ariaChecked,\n 'aria-disabled': ariaDisabled,\n 'aria-expanded': ariaExpanded,\n 'aria-label': ariaLabel,\n 'aria-selected': ariaSelected,\n ellipsizeMode,\n id,\n nativeID,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n onResponderGrant,\n onResponderMove,\n onResponderRelease,\n onResponderTerminate,\n onResponderTerminationRequest,\n onStartShouldSetResponder,\n pressRetentionOffset,\n role,\n suppressHighlighting,\n numberOfLines,\n ...restProps\n } = props;\n\n const [isHighlighted, setHighlighted] = useState(false);\n\n const _accessibilityState = {\n busy: ariaBusy ?? props.accessibilityState?.busy,\n checked: ariaChecked ?? props.accessibilityState?.checked,\n disabled: ariaDisabled ?? props.accessibilityState?.disabled,\n expanded: ariaExpanded ?? props.accessibilityState?.expanded,\n selected: ariaSelected ?? props.accessibilityState?.selected,\n };\n\n const _disabled =\n restProps.disabled != null\n ? restProps.disabled\n : _accessibilityState?.disabled;\n\n const nativeTextAccessibilityState =\n _disabled !== _accessibilityState?.disabled\n ? {..._accessibilityState, disabled: _disabled}\n : _accessibilityState;\n\n const isPressable =\n (onPress != null ||\n onLongPress != null ||\n onStartShouldSetResponder != null) &&\n _disabled !== true;\n\n const initialized = useLazyInitialization(isPressable);\n const config = useMemo(\n () =>\n initialized\n ? {\n disabled: !isPressable,\n pressRectOffset: pressRetentionOffset,\n onLongPress,\n onPress,\n onPressIn(event: PressEvent) {\n setHighlighted(!suppressHighlighting);\n onPressIn?.(event);\n },\n onPressOut(event: PressEvent) {\n setHighlighted(false);\n onPressOut?.(event);\n },\n onResponderTerminationRequest_DEPRECATED:\n onResponderTerminationRequest,\n onStartShouldSetResponder_DEPRECATED: onStartShouldSetResponder,\n }\n : null,\n [\n initialized,\n isPressable,\n pressRetentionOffset,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n onResponderTerminationRequest,\n onStartShouldSetResponder,\n suppressHighlighting,\n ],\n );\n\n const eventHandlers = usePressability(config);\n const eventHandlersForText = useMemo(\n () =>\n eventHandlers == null\n ? null\n : {\n onResponderGrant(event: PressEvent) {\n eventHandlers.onResponderGrant(event);\n if (onResponderGrant != null) {\n onResponderGrant(event);\n }\n },\n onResponderMove(event: PressEvent) {\n eventHandlers.onResponderMove(event);\n if (onResponderMove != null) {\n onResponderMove(event);\n }\n },\n onResponderRelease(event: PressEvent) {\n eventHandlers.onResponderRelease(event);\n if (onResponderRelease != null) {\n onResponderRelease(event);\n }\n },\n onResponderTerminate(event: PressEvent) {\n eventHandlers.onResponderTerminate(event);\n if (onResponderTerminate != null) {\n onResponderTerminate(event);\n }\n },\n onClick: eventHandlers.onClick,\n onResponderTerminationRequest:\n eventHandlers.onResponderTerminationRequest,\n onStartShouldSetResponder: eventHandlers.onStartShouldSetResponder,\n },\n [\n eventHandlers,\n onResponderGrant,\n onResponderMove,\n onResponderRelease,\n onResponderTerminate,\n ],\n );\n\n // TODO: Move this processing to the view configuration.\n const selectionColor =\n restProps.selectionColor == null\n ? null\n : processColor(restProps.selectionColor);\n\n let style = flattenStyle(restProps.style);\n\n let _selectable = restProps.selectable;\n if (style?.userSelect != null) {\n _selectable = userSelectToSelectableMap[style.userSelect];\n }\n\n if (style?.verticalAlign != null) {\n style = StyleSheet.compose(style, {\n textAlignVertical:\n verticalAlignToTextAlignVerticalMap[style.verticalAlign],\n });\n }\n\n if (__DEV__) {\n if (PressabilityDebug.isEnabled() && onPress != null) {\n style = StyleSheet.compose(restProps.style, {\n color: 'magenta',\n });\n }\n }\n\n let numberOfLinesValue = numberOfLines;\n if (numberOfLines != null && !(numberOfLines >= 0)) {\n console.error(\n `'numberOfLines' in must be a non-negative number, received: ${numberOfLines}. The value will be set to 0.`,\n );\n numberOfLinesValue = 0;\n }\n\n const hasTextAncestor = useContext(TextAncestor);\n\n const _accessible = Platform.select({\n ios: accessible !== false,\n default: accessible,\n });\n\n let flattenedStyle = flattenStyle(style);\n\n if (typeof flattenedStyle?.fontWeight === 'number') {\n flattenedStyle.fontWeight = flattenedStyle?.fontWeight.toString();\n }\n\n const _hasOnPressOrOnLongPress =\n props.onPress != null || props.onLongPress != null;\n\n return hasTextAncestor ? (\n \n ) : (\n \n \n \n );\n});\n\nText.displayName = 'Text';\n\n/**\n * Switch to `deprecated-react-native-prop-types` for compatibility with future\n * releases. This is deprecated and will be removed in the future.\n */\nText.propTypes = require('deprecated-react-native-prop-types').TextPropTypes;\n\n/**\n * Returns false until the first time `newValue` is true, after which this will\n * always return true. This is necessary to lazily initialize `Pressability` so\n * we do not eagerly create one for every pressable `Text` component.\n */\nfunction useLazyInitialization(newValue: boolean): boolean {\n const [oldValue, setValue] = useState(newValue);\n if (!oldValue && newValue) {\n setValue(newValue);\n }\n return oldValue;\n}\n\nconst userSelectToSelectableMap = {\n auto: true,\n text: true,\n none: false,\n contain: true,\n all: true,\n};\n\nconst verticalAlignToTextAlignVerticalMap = {\n auto: 'auto',\n top: 'top',\n bottom: 'bottom',\n middle: 'center',\n};\n\nmodule.exports = Text;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ColorValue} from '../StyleSheet/StyleSheet';\n\nimport View from '../Components/View/View';\nimport normalizeColor from '../StyleSheet/normalizeColor';\nimport {type RectOrSize, normalizeRect} from '../StyleSheet/Rect';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n color: ColorValue,\n hitSlop: ?RectOrSize,\n|}>;\n\n/**\n * Displays a debug overlay to visualize press targets when enabled via the\n * React Native Inspector. Calls to this module should be guarded by `__DEV__`,\n * for example:\n *\n * return (\n * \n * {children}\n * {__DEV__ ? (\n * \n * ) : null}\n * \n * );\n *\n */\nexport function PressabilityDebugView(props: Props): React.Node {\n if (__DEV__) {\n if (isEnabled()) {\n const normalizedColor = normalizeColor(props.color);\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n const baseColor =\n '#' + (normalizedColor ?? 0).toString(16).padStart(8, '0');\n const hitSlop = normalizeRect(props.hitSlop);\n return (\n \n );\n }\n }\n return null;\n}\n\nlet isDebugEnabled = false;\n\nexport function isEnabled(): boolean {\n if (__DEV__) {\n return isDebugEnabled;\n }\n return false;\n}\n\nexport function setEnabled(value: boolean): void {\n if (__DEV__) {\n isDebugEnabled = value;\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport Pressability, {\n type EventHandlers,\n type PressabilityConfig,\n} from './Pressability';\nimport {useEffect, useRef} from 'react';\n\n/**\n * Creates a persistent instance of `Pressability` that automatically configures\n * itself and resets. Accepts null `config` to support lazy initialization. Once\n * initialized, will not un-initialize until the component has been unmounted.\n */\nexport default function usePressability(\n config: ?PressabilityConfig,\n): ?EventHandlers {\n const pressabilityRef = useRef(null);\n if (config != null && pressabilityRef.current == null) {\n pressabilityRef.current = new Pressability(config);\n }\n const pressability = pressabilityRef.current;\n\n // On the initial mount, this is a no-op. On updates, `pressability` will be\n // re-configured to use the new configuration.\n useEffect(() => {\n if (config != null && pressability != null) {\n pressability.configure(config);\n }\n }, [config, pressability]);\n\n // On unmount, reset pending state and timers inside `pressability`. This is\n // a separate effect because we do not want to reset when `config` changes.\n useEffect(() => {\n if (pressability != null) {\n return () => {\n pressability.reset();\n };\n }\n }, [pressability]);\n\n return pressability == null ? null : pressability.getEventHandlers();\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {\n BlurEvent,\n FocusEvent,\n MouseEvent,\n PressEvent,\n} from '../Types/CoreEventTypes';\n\nimport SoundManager from '../Components/Sound/SoundManager';\nimport ReactNativeFeatureFlags from '../ReactNative/ReactNativeFeatureFlags';\nimport UIManager from '../ReactNative/UIManager';\nimport {type RectOrSize, normalizeRect} from '../StyleSheet/Rect';\nimport {type PointerEvent} from '../Types/CoreEventTypes';\nimport Platform from '../Utilities/Platform';\nimport {isHoverEnabled} from './HoverState';\nimport PressabilityPerformanceEventEmitter from './PressabilityPerformanceEventEmitter.js';\nimport {type PressabilityTouchSignal as TouchSignal} from './PressabilityTypes.js';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nexport type PressabilityConfig = $ReadOnly<{|\n /**\n * Whether a press gesture can be interrupted by a parent gesture such as a\n * scroll event. Defaults to true.\n */\n cancelable?: ?boolean,\n\n /**\n * Whether to disable initialization of the press gesture.\n */\n disabled?: ?boolean,\n\n /**\n * Amount to extend the `VisualRect` by to create `HitRect`.\n */\n hitSlop?: ?RectOrSize,\n\n /**\n * Amount to extend the `HitRect` by to create `PressRect`.\n */\n pressRectOffset?: ?RectOrSize,\n\n /**\n * Whether to disable the systemm sound when `onPress` fires on Android.\n **/\n android_disableSound?: ?boolean,\n\n /**\n * Duration to wait after hover in before calling `onHoverIn`.\n */\n delayHoverIn?: ?number,\n\n /**\n * Duration to wait after hover out before calling `onHoverOut`.\n */\n delayHoverOut?: ?number,\n\n /**\n * Duration (in addition to `delayPressIn`) after which a press gesture is\n * considered a long press gesture. Defaults to 500 (milliseconds).\n */\n delayLongPress?: ?number,\n\n /**\n * Duration to wait after press down before calling `onPressIn`.\n */\n delayPressIn?: ?number,\n\n /**\n * Duration to wait after letting up before calling `onPressOut`.\n */\n delayPressOut?: ?number,\n\n /**\n * Minimum duration to wait between calling `onPressIn` and `onPressOut`.\n */\n minPressDuration?: ?number,\n\n /**\n * Called after the element loses focus.\n */\n onBlur?: ?(event: BlurEvent) => mixed,\n\n /**\n * Called after the element is focused.\n */\n onFocus?: ?(event: FocusEvent) => mixed,\n\n /**\n * Called when the hover is activated to provide visual feedback.\n */\n onHoverIn?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when the hover is deactivated to undo visual feedback.\n */\n onHoverOut?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when a long press gesture has been triggered.\n */\n onLongPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a press gestute has been triggered.\n */\n onPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press is activated to provide visual feedback.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press location moves. (This should rarely be used.)\n */\n onPressMove?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when the press is deactivated to undo visual feedback.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Returns whether a long press gesture should cancel the press gesture.\n * Defaults to true.\n */\n onLongPressShouldCancelPress_DEPRECATED?: ?() => boolean,\n\n /**\n * If `cancelable` is set, this will be ignored.\n *\n * Returns whether to yield to a lock termination request (e.g. if a native\n * scroll gesture attempts to steal the responder lock).\n */\n onResponderTerminationRequest_DEPRECATED?: ?() => boolean,\n\n /**\n * If `disabled` is set, this will be ignored.\n *\n * Returns whether to start a press gesture.\n *\n * @deprecated\n */\n onStartShouldSetResponder_DEPRECATED?: ?() => boolean,\n|}>;\n\nexport type EventHandlers = $ReadOnly<{|\n onBlur: (event: BlurEvent) => void,\n onClick: (event: PressEvent) => void,\n onFocus: (event: FocusEvent) => void,\n onMouseEnter?: (event: MouseEvent) => void,\n onMouseLeave?: (event: MouseEvent) => void,\n onPointerEnter?: (event: PointerEvent) => void,\n onPointerLeave?: (event: PointerEvent) => void,\n onResponderGrant: (event: PressEvent) => void,\n onResponderMove: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: () => boolean,\n onStartShouldSetResponder: () => boolean,\n|}>;\n\ntype TouchState =\n | 'NOT_RESPONDER'\n | 'RESPONDER_INACTIVE_PRESS_IN'\n | 'RESPONDER_INACTIVE_PRESS_OUT'\n | 'RESPONDER_ACTIVE_PRESS_IN'\n | 'RESPONDER_ACTIVE_PRESS_OUT'\n | 'RESPONDER_ACTIVE_LONG_PRESS_IN'\n | 'RESPONDER_ACTIVE_LONG_PRESS_OUT'\n | 'ERROR';\n\nconst Transitions = Object.freeze({\n NOT_RESPONDER: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'RESPONDER_INACTIVE_PRESS_IN',\n RESPONDER_RELEASE: 'ERROR',\n RESPONDER_TERMINATED: 'ERROR',\n ENTER_PRESS_RECT: 'ERROR',\n LEAVE_PRESS_RECT: 'ERROR',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: 'RESPONDER_ACTIVE_PRESS_IN',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: 'RESPONDER_ACTIVE_PRESS_OUT',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_INACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n LONG_PRESS_DETECTED: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: 'ERROR',\n RESPONDER_GRANT: 'ERROR',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_IN',\n LEAVE_PRESS_RECT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT',\n LONG_PRESS_DETECTED: 'ERROR',\n },\n ERROR: {\n DELAY: 'NOT_RESPONDER',\n RESPONDER_GRANT: 'RESPONDER_INACTIVE_PRESS_IN',\n RESPONDER_RELEASE: 'NOT_RESPONDER',\n RESPONDER_TERMINATED: 'NOT_RESPONDER',\n ENTER_PRESS_RECT: 'NOT_RESPONDER',\n LEAVE_PRESS_RECT: 'NOT_RESPONDER',\n LONG_PRESS_DETECTED: 'NOT_RESPONDER',\n },\n});\n\nconst isActiveSignal = (signal: TouchState) =>\n signal === 'RESPONDER_ACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_LONG_PRESS_IN';\n\nconst isActivationSignal = (signal: TouchState) =>\n signal === 'RESPONDER_ACTIVE_PRESS_OUT' ||\n signal === 'RESPONDER_ACTIVE_PRESS_IN';\n\nconst isPressInSignal = (signal: TouchState) =>\n signal === 'RESPONDER_INACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_PRESS_IN' ||\n signal === 'RESPONDER_ACTIVE_LONG_PRESS_IN';\n\nconst isTerminalSignal = (signal: TouchSignal) =>\n signal === 'RESPONDER_TERMINATED' || signal === 'RESPONDER_RELEASE';\n\nconst DEFAULT_LONG_PRESS_DELAY_MS = 500;\nconst DEFAULT_PRESS_RECT_OFFSETS = {\n bottom: 30,\n left: 20,\n right: 20,\n top: 20,\n};\nconst DEFAULT_MIN_PRESS_DURATION = 130;\n\n/**\n * Pressability implements press handling capabilities.\n *\n * =========================== Pressability Tutorial ===========================\n *\n * The `Pressability` class helps you create press interactions by analyzing the\n * geometry of elements and observing when another responder (e.g. ScrollView)\n * has stolen the touch lock. It offers hooks for your component to provide\n * interaction feedback to the user:\n *\n * - When a press has activated (e.g. highlight an element)\n * - When a press has deactivated (e.g. un-highlight an element)\n * - When a press sould trigger an action, meaning it activated and deactivated\n * while within the geometry of the element without the lock being stolen.\n *\n * A high quality interaction isn't as simple as you might think. There should\n * be a slight delay before activation. Moving your finger beyond an element's\n * bounds should trigger deactivation, but moving the same finger back within an\n * element's bounds should trigger reactivation.\n *\n * In order to use `Pressability`, do the following:\n *\n * 1. Instantiate `Pressability` and store it on your component's state.\n *\n * state = {\n * pressability: new Pressability({\n * // ...\n * }),\n * };\n *\n * 2. Choose the rendered component who should collect the press events. On that\n * element, spread `pressability.getEventHandlers()` into its props.\n *\n * return (\n * \n * );\n *\n * 3. Reset `Pressability` when your component unmounts.\n *\n * componentWillUnmount() {\n * this.state.pressability.reset();\n * }\n *\n * ==================== Pressability Implementation Details ====================\n *\n * `Pressability` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * # Geometry\n *\n * ┌────────────────────────┐\n * │ ┌──────────────────┐ │ - Presses start anywhere within `HitRect`, which\n * │ │ ┌────────────┐ │ │ is expanded via the prop `hitSlop`.\n * │ │ │ VisualRect │ │ │\n * │ │ └────────────┘ │ │ - When pressed down for sufficient amount of time\n * │ │ HitRect │ │ before letting up, `VisualRect` activates for\n * │ └──────────────────┘ │ as long as the press stays within `PressRect`.\n * │ PressRect o │\n * └────────────────────│───┘\n * Out Region └────── `PressRect`, which is expanded via the prop\n * `pressRectOffset`, allows presses to move\n * beyond `HitRect` while maintaining activation\n * and being eligible for a \"press\".\n *\n * # State Machine\n *\n * ┌───────────────┐ ◀──── RESPONDER_RELEASE\n * │ NOT_RESPONDER │\n * └───┬───────────┘ ◀──── RESPONDER_TERMINATED\n * │\n * │ RESPONDER_GRANT (HitRect)\n * │\n * ▼\n * ┌─────────────────────┐ ┌───────────────────┐ ┌───────────────────┐\n * │ RESPONDER_INACTIVE_ │ DELAY │ RESPONDER_ACTIVE_ │ T + DELAY │ RESPONDER_ACTIVE_ │\n * │ PRESS_IN ├────────▶ │ PRESS_IN ├────────────▶ │ LONG_PRESS_IN │\n * └─┬───────────────────┘ └─┬─────────────────┘ └─┬─────────────────┘\n * │ ▲ │ ▲ │ ▲\n * │LEAVE_ │ │LEAVE_ │ │LEAVE_ │\n * │PRESS_RECT │ENTER_ │PRESS_RECT │ENTER_ │PRESS_RECT │ENTER_\n * │ │PRESS_RECT │ │PRESS_RECT │ │PRESS_RECT\n * ▼ │ ▼ │ ▼ │\n * ┌─────────────┴───────┐ ┌─────────────┴─────┐ ┌─────────────┴─────┐\n * │ RESPONDER_INACTIVE_ │ DELAY │ RESPONDER_ACTIVE_ │ │ RESPONDER_ACTIVE_ │\n * │ PRESS_OUT ├────────▶ │ PRESS_OUT │ │ LONG_PRESS_OUT │\n * └─────────────────────┘ └───────────────────┘ └───────────────────┘\n *\n * T + DELAY => LONG_PRESS_DELAY + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the invocation of `onPress` and `onLongPress` that occur when a\n * responder is release while in the \"press in\" states.\n */\nexport default class Pressability {\n _config: PressabilityConfig;\n _eventHandlers: ?EventHandlers = null;\n _hoverInDelayTimeout: ?TimeoutID = null;\n _hoverOutDelayTimeout: ?TimeoutID = null;\n _isHovered: boolean = false;\n _longPressDelayTimeout: ?TimeoutID = null;\n _pressDelayTimeout: ?TimeoutID = null;\n _pressOutDelayTimeout: ?TimeoutID = null;\n _responderID: ?number | React.ElementRef> = null;\n _responderRegion: ?$ReadOnly<{|\n bottom: number,\n left: number,\n right: number,\n top: number,\n |}> = null;\n _touchActivatePosition: ?$ReadOnly<{|\n pageX: number,\n pageY: number,\n |}>;\n _touchActivateTime: ?number;\n _touchState: TouchState = 'NOT_RESPONDER';\n\n constructor(config: PressabilityConfig) {\n this.configure(config);\n }\n\n configure(config: PressabilityConfig): void {\n this._config = config;\n }\n\n /**\n * Resets any pending timers. This should be called on unmount.\n */\n reset(): void {\n this._cancelHoverInDelayTimeout();\n this._cancelHoverOutDelayTimeout();\n this._cancelLongPressDelayTimeout();\n this._cancelPressDelayTimeout();\n this._cancelPressOutDelayTimeout();\n\n // Ensure that, if any async event handlers are fired after unmount\n // due to a race, we don't call any configured callbacks.\n this._config = Object.freeze({});\n }\n\n /**\n * Returns a set of props to spread into the interactive element.\n */\n getEventHandlers(): EventHandlers {\n if (this._eventHandlers == null) {\n this._eventHandlers = this._createEventHandlers();\n }\n return this._eventHandlers;\n }\n\n _createEventHandlers(): EventHandlers {\n const focusEventHandlers = {\n onBlur: (event: BlurEvent): void => {\n const {onBlur} = this._config;\n if (onBlur != null) {\n onBlur(event);\n }\n },\n onFocus: (event: FocusEvent): void => {\n const {onFocus} = this._config;\n if (onFocus != null) {\n onFocus(event);\n }\n },\n };\n\n const responderEventHandlers = {\n onStartShouldSetResponder: (): boolean => {\n const {disabled} = this._config;\n if (disabled == null) {\n const {onStartShouldSetResponder_DEPRECATED} = this._config;\n return onStartShouldSetResponder_DEPRECATED == null\n ? true\n : onStartShouldSetResponder_DEPRECATED();\n }\n return !disabled;\n },\n\n onResponderGrant: (event: PressEvent): void => {\n event.persist();\n\n this._cancelPressOutDelayTimeout();\n\n this._responderID = event.currentTarget;\n this._touchState = 'NOT_RESPONDER';\n this._receiveSignal('RESPONDER_GRANT', event);\n\n const delayPressIn = normalizeDelay(this._config.delayPressIn);\n if (delayPressIn > 0) {\n this._pressDelayTimeout = setTimeout(() => {\n this._receiveSignal('DELAY', event);\n }, delayPressIn);\n } else {\n this._receiveSignal('DELAY', event);\n }\n\n const delayLongPress = normalizeDelay(\n this._config.delayLongPress,\n 10,\n DEFAULT_LONG_PRESS_DELAY_MS - delayPressIn,\n );\n this._longPressDelayTimeout = setTimeout(() => {\n this._handleLongPress(event);\n }, delayLongPress + delayPressIn);\n },\n\n onResponderMove: (event: PressEvent): void => {\n const {onPressMove} = this._config;\n if (onPressMove != null) {\n onPressMove(event);\n }\n\n // Region may not have finished being measured, yet.\n const responderRegion = this._responderRegion;\n if (responderRegion == null) {\n return;\n }\n\n const touch = getTouchFromPressEvent(event);\n if (touch == null) {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal('LEAVE_PRESS_RECT', event);\n return;\n }\n\n if (this._touchActivatePosition != null) {\n const deltaX = this._touchActivatePosition.pageX - touch.pageX;\n const deltaY = this._touchActivatePosition.pageY - touch.pageY;\n if (Math.hypot(deltaX, deltaY) > 10) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n if (this._isTouchWithinResponderRegion(touch, responderRegion)) {\n this._receiveSignal('ENTER_PRESS_RECT', event);\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal('LEAVE_PRESS_RECT', event);\n }\n },\n\n onResponderRelease: (event: PressEvent): void => {\n this._receiveSignal('RESPONDER_RELEASE', event);\n },\n\n onResponderTerminate: (event: PressEvent): void => {\n this._receiveSignal('RESPONDER_TERMINATED', event);\n },\n\n onResponderTerminationRequest: (): boolean => {\n const {cancelable} = this._config;\n if (cancelable == null) {\n const {onResponderTerminationRequest_DEPRECATED} = this._config;\n return onResponderTerminationRequest_DEPRECATED == null\n ? true\n : onResponderTerminationRequest_DEPRECATED();\n }\n return cancelable;\n },\n\n onClick: (event: PressEvent): void => {\n const {onPress, disabled} = this._config;\n if (onPress != null && disabled !== true) {\n onPress(event);\n }\n },\n };\n\n if (process.env.NODE_ENV === 'test') {\n // We are setting this in order to find this node in ReactNativeTestTools\n // $FlowFixMe[prop-missing]\n responderEventHandlers.onStartShouldSetResponder.testOnly_pressabilityConfig =\n () => this._config;\n }\n\n if (\n ReactNativeFeatureFlags.shouldPressibilityUseW3CPointerEventsForHover()\n ) {\n const hoverPointerEvents = {\n onPointerEnter: undefined,\n onPointerLeave: undefined,\n };\n const {onHoverIn, onHoverOut} = this._config;\n if (onHoverIn != null) {\n hoverPointerEvents.onPointerEnter = (event: PointerEvent) => {\n this._isHovered = true;\n this._cancelHoverOutDelayTimeout();\n if (onHoverIn != null) {\n const delayHoverIn = normalizeDelay(this._config.delayHoverIn);\n if (delayHoverIn > 0) {\n event.persist();\n this._hoverInDelayTimeout = setTimeout(() => {\n onHoverIn(convertPointerEventToMouseEvent(event));\n }, delayHoverIn);\n } else {\n onHoverIn(convertPointerEventToMouseEvent(event));\n }\n }\n };\n }\n if (onHoverOut != null) {\n hoverPointerEvents.onPointerLeave = (event: PointerEvent) => {\n if (this._isHovered) {\n this._isHovered = false;\n this._cancelHoverInDelayTimeout();\n if (onHoverOut != null) {\n const delayHoverOut = normalizeDelay(this._config.delayHoverOut);\n if (delayHoverOut > 0) {\n event.persist();\n this._hoverOutDelayTimeout = setTimeout(() => {\n onHoverOut(convertPointerEventToMouseEvent(event));\n }, delayHoverOut);\n } else {\n onHoverOut(convertPointerEventToMouseEvent(event));\n }\n }\n }\n };\n }\n return {\n ...focusEventHandlers,\n ...responderEventHandlers,\n ...hoverPointerEvents,\n };\n } else {\n const mouseEventHandlers =\n Platform.OS === 'ios' || Platform.OS === 'android'\n ? null\n : {\n onMouseEnter: (event: MouseEvent): void => {\n if (isHoverEnabled()) {\n this._isHovered = true;\n this._cancelHoverOutDelayTimeout();\n const {onHoverIn} = this._config;\n if (onHoverIn != null) {\n const delayHoverIn = normalizeDelay(\n this._config.delayHoverIn,\n );\n if (delayHoverIn > 0) {\n event.persist();\n this._hoverInDelayTimeout = setTimeout(() => {\n onHoverIn(event);\n }, delayHoverIn);\n } else {\n onHoverIn(event);\n }\n }\n }\n },\n\n onMouseLeave: (event: MouseEvent): void => {\n if (this._isHovered) {\n this._isHovered = false;\n this._cancelHoverInDelayTimeout();\n const {onHoverOut} = this._config;\n if (onHoverOut != null) {\n const delayHoverOut = normalizeDelay(\n this._config.delayHoverOut,\n );\n if (delayHoverOut > 0) {\n event.persist();\n this._hoverInDelayTimeout = setTimeout(() => {\n onHoverOut(event);\n }, delayHoverOut);\n } else {\n onHoverOut(event);\n }\n }\n }\n },\n };\n return {\n ...focusEventHandlers,\n ...responderEventHandlers,\n ...mouseEventHandlers,\n };\n }\n }\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n */\n _receiveSignal(signal: TouchSignal, event: PressEvent): void {\n // Especially on iOS, not all events have timestamps associated.\n // For telemetry purposes, this doesn't matter too much, as long as *some* do.\n // Since the native timestamp is integral for logging telemetry, just skip\n // events if they don't have a timestamp attached.\n if (event.nativeEvent.timestamp != null) {\n PressabilityPerformanceEventEmitter.emitEvent(() => {\n return {\n signal,\n nativeTimestamp: event.nativeEvent.timestamp,\n };\n });\n }\n\n const prevState = this._touchState;\n const nextState = Transitions[prevState]?.[signal];\n if (this._responderID == null && signal === 'RESPONDER_RELEASE') {\n return;\n }\n invariant(\n nextState != null && nextState !== 'ERROR',\n 'Pressability: Invalid signal `%s` for state `%s` on responder: %s',\n signal,\n prevState,\n typeof this._responderID === 'number'\n ? this._responderID\n : '<>',\n );\n if (prevState !== nextState) {\n this._performTransitionSideEffects(prevState, nextState, signal, event);\n this._touchState = nextState;\n }\n }\n\n /**\n * Performs a transition between touchable states and identify any activations\n * or deactivations (and callback invocations).\n */\n _performTransitionSideEffects(\n prevState: TouchState,\n nextState: TouchState,\n signal: TouchSignal,\n event: PressEvent,\n ): void {\n if (isTerminalSignal(signal)) {\n this._touchActivatePosition = null;\n this._cancelLongPressDelayTimeout();\n }\n\n const isInitialTransition =\n prevState === 'NOT_RESPONDER' &&\n nextState === 'RESPONDER_INACTIVE_PRESS_IN';\n\n const isActivationTransition =\n !isActivationSignal(prevState) && isActivationSignal(nextState);\n\n if (isInitialTransition || isActivationTransition) {\n this._measureResponderRegion();\n }\n\n if (isPressInSignal(prevState) && signal === 'LONG_PRESS_DETECTED') {\n const {onLongPress} = this._config;\n if (onLongPress != null) {\n onLongPress(event);\n }\n }\n\n const isPrevActive = isActiveSignal(prevState);\n const isNextActive = isActiveSignal(nextState);\n\n if (!isPrevActive && isNextActive) {\n this._activate(event);\n } else if (isPrevActive && !isNextActive) {\n this._deactivate(event);\n }\n\n if (isPressInSignal(prevState) && signal === 'RESPONDER_RELEASE') {\n // If we never activated (due to delays), activate and deactivate now.\n if (!isNextActive && !isPrevActive) {\n this._activate(event);\n this._deactivate(event);\n }\n const {onLongPress, onPress, android_disableSound} = this._config;\n if (onPress != null) {\n const isPressCanceledByLongPress =\n onLongPress != null &&\n prevState === 'RESPONDER_ACTIVE_LONG_PRESS_IN' &&\n this._shouldLongPressCancelPress();\n if (!isPressCanceledByLongPress) {\n if (Platform.OS === 'android' && android_disableSound !== true) {\n SoundManager.playTouchSound();\n }\n onPress(event);\n }\n }\n }\n\n this._cancelPressDelayTimeout();\n }\n\n _activate(event: PressEvent): void {\n const {onPressIn} = this._config;\n const {pageX, pageY} = getTouchFromPressEvent(event);\n this._touchActivatePosition = {pageX, pageY};\n this._touchActivateTime = Date.now();\n if (onPressIn != null) {\n onPressIn(event);\n }\n }\n\n _deactivate(event: PressEvent): void {\n const {onPressOut} = this._config;\n if (onPressOut != null) {\n const minPressDuration = normalizeDelay(\n this._config.minPressDuration,\n 0,\n DEFAULT_MIN_PRESS_DURATION,\n );\n const pressDuration = Date.now() - (this._touchActivateTime ?? 0);\n const delayPressOut = Math.max(\n minPressDuration - pressDuration,\n normalizeDelay(this._config.delayPressOut),\n );\n if (delayPressOut > 0) {\n event.persist();\n this._pressOutDelayTimeout = setTimeout(() => {\n onPressOut(event);\n }, delayPressOut);\n } else {\n onPressOut(event);\n }\n }\n this._touchActivateTime = null;\n }\n\n _measureResponderRegion(): void {\n if (this._responderID == null) {\n return;\n }\n\n if (typeof this._responderID === 'number') {\n UIManager.measure(this._responderID, this._measureCallback);\n } else {\n this._responderID.measure(this._measureCallback);\n }\n }\n\n _measureCallback = (\n left: number,\n top: number,\n width: number,\n height: number,\n pageX: number,\n pageY: number,\n ) => {\n if (!left && !top && !width && !height && !pageX && !pageY) {\n return;\n }\n this._responderRegion = {\n bottom: pageY + height,\n left: pageX,\n right: pageX + width,\n top: pageY,\n };\n };\n\n _isTouchWithinResponderRegion(\n touch: $PropertyType,\n responderRegion: $ReadOnly<{|\n bottom: number,\n left: number,\n right: number,\n top: number,\n |}>,\n ): boolean {\n const hitSlop = normalizeRect(this._config.hitSlop);\n const pressRectOffset = normalizeRect(this._config.pressRectOffset);\n\n let regionBottom = responderRegion.bottom;\n let regionLeft = responderRegion.left;\n let regionRight = responderRegion.right;\n let regionTop = responderRegion.top;\n\n if (hitSlop != null) {\n if (hitSlop.bottom != null) {\n regionBottom += hitSlop.bottom;\n }\n if (hitSlop.left != null) {\n regionLeft -= hitSlop.left;\n }\n if (hitSlop.right != null) {\n regionRight += hitSlop.right;\n }\n if (hitSlop.top != null) {\n regionTop -= hitSlop.top;\n }\n }\n\n regionBottom +=\n pressRectOffset?.bottom ?? DEFAULT_PRESS_RECT_OFFSETS.bottom;\n regionLeft -= pressRectOffset?.left ?? DEFAULT_PRESS_RECT_OFFSETS.left;\n regionRight += pressRectOffset?.right ?? DEFAULT_PRESS_RECT_OFFSETS.right;\n regionTop -= pressRectOffset?.top ?? DEFAULT_PRESS_RECT_OFFSETS.top;\n\n return (\n touch.pageX > regionLeft &&\n touch.pageX < regionRight &&\n touch.pageY > regionTop &&\n touch.pageY < regionBottom\n );\n }\n\n _handleLongPress(event: PressEvent): void {\n if (\n this._touchState === 'RESPONDER_ACTIVE_PRESS_IN' ||\n this._touchState === 'RESPONDER_ACTIVE_LONG_PRESS_IN'\n ) {\n this._receiveSignal('LONG_PRESS_DETECTED', event);\n }\n }\n\n _shouldLongPressCancelPress(): boolean {\n return (\n this._config.onLongPressShouldCancelPress_DEPRECATED == null ||\n this._config.onLongPressShouldCancelPress_DEPRECATED()\n );\n }\n\n _cancelHoverInDelayTimeout(): void {\n if (this._hoverInDelayTimeout != null) {\n clearTimeout(this._hoverInDelayTimeout);\n this._hoverInDelayTimeout = null;\n }\n }\n\n _cancelHoverOutDelayTimeout(): void {\n if (this._hoverOutDelayTimeout != null) {\n clearTimeout(this._hoverOutDelayTimeout);\n this._hoverOutDelayTimeout = null;\n }\n }\n\n _cancelLongPressDelayTimeout(): void {\n if (this._longPressDelayTimeout != null) {\n clearTimeout(this._longPressDelayTimeout);\n this._longPressDelayTimeout = null;\n }\n }\n\n _cancelPressDelayTimeout(): void {\n if (this._pressDelayTimeout != null) {\n clearTimeout(this._pressDelayTimeout);\n this._pressDelayTimeout = null;\n }\n }\n\n _cancelPressOutDelayTimeout(): void {\n if (this._pressOutDelayTimeout != null) {\n clearTimeout(this._pressOutDelayTimeout);\n this._pressOutDelayTimeout = null;\n }\n }\n}\n\nfunction normalizeDelay(\n delay: ?number,\n min: number = 0,\n fallback: number = 0,\n): number {\n return Math.max(min, delay ?? fallback);\n}\n\nconst getTouchFromPressEvent = (event: PressEvent) => {\n const {changedTouches, touches} = event.nativeEvent;\n\n if (touches != null && touches.length > 0) {\n return touches[0];\n }\n if (changedTouches != null && changedTouches.length > 0) {\n return changedTouches[0];\n }\n return event.nativeEvent;\n};\n\nfunction convertPointerEventToMouseEvent(input: PointerEvent): MouseEvent {\n const {clientX, clientY} = input.nativeEvent;\n return {\n ...input,\n nativeEvent: {\n clientX,\n clientY,\n pageX: clientX,\n pageY: clientY,\n timestamp: input.timeStamp,\n },\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeSoundManager from './NativeSoundManager';\n\nconst SoundManager = {\n playTouchSound: function (): void {\n if (NativeSoundManager) {\n NativeSoundManager.playTouchSound();\n }\n },\n};\n\nmodule.exports = SoundManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\n/**\n * Native Module used for playing sounds in native platform.\n */\nexport interface Spec extends TurboModule {\n +playTouchSound: () => void;\n}\n\nexport default (TurboModuleRegistry.get('SoundManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nexport type FeatureFlags = {|\n /**\n * Function used to enable / disabled Layout Animations in React Native.\n * Default value = true.\n */\n isLayoutAnimationEnabled: () => boolean,\n /**\n * Function used to enable / disable W3C pointer event emitting in React Native.\n * If enabled you must also flip the equivalent native flags on each platform:\n * iOS -> RCTSetDispatchW3CPointerEvents\n * Android -> ReactFeatureFlags.dispatchPointerEvents\n */\n shouldEmitW3CPointerEvents: () => boolean,\n /**\n * Function used to enable / disable Pressibility from using W3C Pointer Events\n * for its hover callbacks\n */\n shouldPressibilityUseW3CPointerEventsForHover: () => boolean,\n /**\n * Enables an experimental flush-queue debouncing in Animated.js.\n */\n animatedShouldDebounceQueueFlush: () => boolean,\n /**\n * Enables an experimental mega-operation for Animated.js that replaces\n * many calls to native with a single call into native, to reduce JSI/JNI\n * traffic.\n */\n animatedShouldUseSingleOp: () => boolean,\n /**\n * This feature flag enables an experimental render system that allows\n * to render react components driven by classes written in C++.\n */\n enableCppRenderSystem: () => boolean,\n\n removeListenersOnDetach: () => boolean,\n|};\n\nconst ReactNativeFeatureFlags: FeatureFlags = {\n isLayoutAnimationEnabled: () => true,\n shouldEmitW3CPointerEvents: () => false,\n shouldPressibilityUseW3CPointerEventsForHover: () => false,\n animatedShouldDebounceQueueFlush: () => false,\n animatedShouldUseSingleOp: () => false,\n enableCppRenderSystem: () => false,\n removeListenersOnDetach: () => false,\n};\n\nmodule.exports = ReactNativeFeatureFlags;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport {type PressabilityTouchSignal as TouchSignal} from './PressabilityTypes.js';\n\nexport type PressabilityPerformanceEvent = $ReadOnly<{|\n signal: TouchSignal,\n nativeTimestamp: number,\n|}>;\nexport type PressabilityPerformanceEventListener =\n PressabilityPerformanceEvent => void;\n\nclass PressabilityPerformanceEventEmitter {\n _listeners: Array = [];\n\n constructor() {}\n\n addListener(listener: PressabilityPerformanceEventListener): void {\n this._listeners.push(listener);\n }\n\n removeListener(listener: PressabilityPerformanceEventListener): void {\n const index = this._listeners.indexOf(listener);\n if (index > -1) {\n this._listeners.splice(index, 1);\n }\n }\n\n emitEvent(constructEvent: () => PressabilityPerformanceEvent): void {\n if (this._listeners.length === 0) {\n return;\n }\n\n const event = constructEvent();\n this._listeners.forEach(listener => listener(event));\n }\n}\n\nconst PressabilityPerformanceEventEmitterSingleton: PressabilityPerformanceEventEmitter =\n new PressabilityPerformanceEventEmitter();\n\nexport default PressabilityPerformanceEventEmitterSingleton;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport Platform from '../Utilities/Platform';\n\nlet isEnabled = false;\n\nif (Platform.OS === 'web') {\n const canUseDOM = Boolean(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement,\n );\n\n if (canUseDOM) {\n /**\n * Web browsers emulate mouse events (and hover states) after touch events.\n * This code infers when the currently-in-use modality supports hover\n * (including for multi-modality devices) and considers \"hover\" to be enabled\n * if a mouse movement occurs more than 1 second after the last touch event.\n * This threshold is long enough to account for longer delays between the\n * browser firing touch and mouse events on low-powered devices.\n */\n const HOVER_THRESHOLD_MS = 1000;\n let lastTouchTimestamp = 0;\n\n const enableHover = () => {\n if (isEnabled || Date.now() - lastTouchTimestamp < HOVER_THRESHOLD_MS) {\n return;\n }\n isEnabled = true;\n };\n\n const disableHover = () => {\n lastTouchTimestamp = Date.now();\n if (isEnabled) {\n isEnabled = false;\n }\n };\n\n document.addEventListener('touchstart', disableHover, true);\n document.addEventListener('touchmove', disableHover, true);\n document.addEventListener('mousemove', enableHover, true);\n }\n}\n\nexport function isHoverEnabled(): boolean {\n return isEnabled;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nexport type Rect = $ReadOnly<{|\n bottom?: ?number,\n left?: ?number,\n right?: ?number,\n top?: ?number,\n|}>;\n\nexport type RectOrSize = Rect | number;\n\nexport function createSquare(size: number): Rect {\n return {bottom: size, left: size, right: size, top: size};\n}\n\nexport function normalizeRect(rectOrSize: ?RectOrSize): ?Rect {\n return typeof rectOrSize === 'number' ? createSquare(rectOrSize) : rectOrSize;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport {createViewConfig} from '../NativeComponent/ViewConfig';\nimport UIManager from '../ReactNative/UIManager';\nimport createReactNativeComponentClass from '../Renderer/shims/createReactNativeComponentClass';\nimport {type HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport {type ProcessedColorValue} from '../StyleSheet/processColor';\nimport {type PressEvent} from '../Types/CoreEventTypes';\nimport {type TextProps} from './TextProps';\n\ntype NativeTextProps = $ReadOnly<{\n ...TextProps,\n maximumNumberOfLines?: ?number,\n isHighlighted?: ?boolean,\n selectionColor?: ?ProcessedColorValue,\n onClick?: ?(event: PressEvent) => mixed,\n // This is only needed for platforms that optimize text hit testing, e.g.,\n // react-native-windows. It can be used to only hit test virtual text spans\n // that have pressable events attached to them.\n isPressable?: ?boolean,\n}>;\n\nconst textViewConfig = {\n validAttributes: {\n isHighlighted: true,\n isPressable: true,\n maximumNumberOfLines: true,\n ellipsizeMode: true,\n allowFontScaling: true,\n dynamicTypeRamp: true,\n maxFontSizeMultiplier: true,\n disabled: true,\n selectable: true,\n selectionColor: true,\n adjustsFontSizeToFit: true,\n minimumFontScale: true,\n textBreakStrategy: true,\n onTextLayout: true,\n onInlineViewLayout: true,\n dataDetectorType: true,\n android_hyphenationFrequency: true,\n lineBreakStrategyIOS: true,\n },\n directEventTypes: {\n topTextLayout: {\n registrationName: 'onTextLayout',\n },\n topInlineViewLayout: {\n registrationName: 'onInlineViewLayout',\n },\n },\n uiViewClassName: 'RCTText',\n};\n\nconst virtualTextViewConfig = {\n validAttributes: {\n isHighlighted: true,\n isPressable: true,\n maxFontSizeMultiplier: true,\n },\n uiViewClassName: 'RCTVirtualText',\n};\n\nexport const NativeText: HostComponent =\n (createReactNativeComponentClass('RCTText', () =>\n createViewConfig(textViewConfig),\n ): any);\n\nexport const NativeVirtualText: HostComponent =\n !global.RN$Bridgeless && !UIManager.hasViewManagerConfig('RCTVirtualText')\n ? NativeText\n : (createReactNativeComponentClass('RCTVirtualText', () =>\n createViewConfig(virtualTextViewConfig),\n ): any);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nmodule.exports = {\n get ColorPropType() {\n return require('./DeprecatedColorPropType');\n },\n get EdgeInsetsPropType() {\n return require('./DeprecatedEdgeInsetsPropType');\n },\n get ImagePropTypes() {\n return require('./DeprecatedImagePropType');\n },\n get PointPropType() {\n return require('./DeprecatedPointPropType');\n },\n get TextInputPropTypes() {\n return require('./DeprecatedTextInputPropTypes');\n },\n get TextPropTypes() {\n return require('./DeprecatedTextPropTypes');\n },\n get ViewPropTypes() {\n return require('./DeprecatedViewPropTypes');\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst normalizeColor = require('@react-native/normalize-color');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst colorPropType = function(\n isRequired,\n props,\n propName,\n componentName,\n location,\n propFullName,\n) {\n const color = props[propName];\n\n if (color == null) {\n if (isRequired) {\n return new Error(\n 'Required ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` was not specified in `' +\n componentName +\n '`.',\n );\n }\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (typeof color === 'string' && normalizeColor(color) === null) {\n return new Error(\n 'Invalid ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` supplied to `' +\n componentName +\n '`: ' +\n color +\n '\\n' +\n `Valid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n`,\n );\n }\n};\n\nconst ColorPropType = colorPropType.bind(null, false /* isRequired */);\nColorPropType.isRequired = colorPropType.bind(null, true /* isRequired */);\n\nmodule.exports = ColorPropType;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/Rect.js\n */\nconst DeprecatedEdgeInsetsPropType = PropTypes.shape({\n bottom: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n top: PropTypes.number,\n});\n\nmodule.exports = DeprecatedEdgeInsetsPropType;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedImageSourcePropType = require('./DeprecatedImageSourcePropType');\nconst DeprecatedImageStylePropTypes = require('./DeprecatedImageStylePropTypes');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst DeprecatedViewPropTypes = require('./DeprecatedViewPropTypes');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/Image/ImageProps.js\n */\nconst DeprecatedImagePropType = {\n ...DeprecatedViewPropTypes,\n alt: PropTypes.string,\n blurRadius: PropTypes.number,\n capInsets: DeprecatedEdgeInsetsPropType,\n crossOrigin: PropTypes.oneOf(['anonymous', 'use-credentials']),\n defaultSource: DeprecatedImageSourcePropType,\n fadeDuration: PropTypes.number,\n height: PropTypes.number,\n internal_analyticTag: PropTypes.string,\n loadingIndicatorSource: PropTypes.oneOfType([\n PropTypes.shape({\n uri: PropTypes.string,\n }),\n PropTypes.number,\n ]),\n onError: PropTypes.func,\n onLoad: PropTypes.func,\n onLoadEnd: PropTypes.func,\n onLoadStart: PropTypes.func,\n onPartialLoad: PropTypes.func,\n onProgress: PropTypes.func,\n progressiveRenderingEnabled: PropTypes.bool,\n referrerPolicy: PropTypes.oneOf([\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'origin',\n 'origin-when-cross-origin',\n 'same-origin',\n 'strict-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url',\n ]),\n resizeMethod: PropTypes.oneOf(['auto', 'resize', 'scale']),\n resizeMode: PropTypes.oneOf([\n 'cover',\n 'contain',\n 'stretch',\n 'repeat',\n 'center',\n ]),\n source: DeprecatedImageSourcePropType,\n src: PropTypes.string,\n srcSet: PropTypes.string,\n style: DeprecatedStyleSheetPropType(DeprecatedImageStylePropTypes),\n testID: PropTypes.string,\n tintColor: DeprecatedColorPropType,\n width: PropTypes.number,\n};\n\nmodule.exports = DeprecatedImagePropType;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst {\n AccessibilityActionInfoPropType,\n AccessibilityRolePropType,\n AccessibilityStatePropType,\n AccessibilityValuePropType,\n RolePropType,\n} = require('./DeprecatedViewAccessibility');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst PropTypes = require('prop-types');\n\nconst MouseEventPropTypes = {\n onMouseEnter: PropTypes.func,\n onMouseLeave: PropTypes.func,\n};\n\n// Experimental/Work in Progress Pointer Event Callbacks (not yet ready for use)\nconst PointerEventPropTypes = {\n onPointerEnter: PropTypes.func,\n onPointerEnterCapture: PropTypes.func,\n onPointerLeave: PropTypes.func,\n onPointerLeaveCapture: PropTypes.func,\n onPointerMove: PropTypes.func,\n onPointerMoveCapture: PropTypes.func,\n onPointerCancel: PropTypes.func,\n onPointerCancelCapture: PropTypes.func,\n onPointerDown: PropTypes.func,\n onPointerDownCapture: PropTypes.func,\n onPointerUp: PropTypes.func,\n onPointerUpCapture: PropTypes.func,\n onPointerOver: PropTypes.func,\n onPointerOverCapture: PropTypes.func,\n onPointerOut: PropTypes.func,\n onPointerOutCapture: PropTypes.func,\n};\n\nconst FocusEventPropTypes = {\n onBlur: PropTypes.func,\n onBlurCapture: PropTypes.func,\n onFocus: PropTypes.func,\n onFocusCapture: PropTypes.func,\n};\n\nconst TouchEventPropTypes = {\n onTouchCancel: PropTypes.func,\n onTouchCancelCapture: PropTypes.func,\n onTouchEnd: PropTypes.func,\n onTouchEndCapture: PropTypes.func,\n onTouchMove: PropTypes.func,\n onTouchMoveCapture: PropTypes.func,\n onTouchStart: PropTypes.func,\n onTouchStartCapture: PropTypes.func,\n};\n\nconst GestureResponderEventPropTypes = {\n onMoveShouldSetResponder: PropTypes.func,\n onMoveShouldSetResponderCapture: PropTypes.func,\n onResponderEnd: PropTypes.func,\n onResponderGrant: PropTypes.func,\n onResponderMove: PropTypes.func,\n onResponderReject: PropTypes.func,\n onResponderRelease: PropTypes.func,\n onResponderStart: PropTypes.func,\n onResponderTerminate: PropTypes.func,\n onResponderTerminationRequest: PropTypes.func,\n onStartShouldSetResponder: PropTypes.func,\n onStartShouldSetResponderCapture: PropTypes.func,\n};\n\n/**\n * @see facebook/react-native/Libraries/Components/View/ViewPropTypes.js\n */\nconst DeprecatedViewPropTypes = {\n ...MouseEventPropTypes,\n ...PointerEventPropTypes,\n ...FocusEventPropTypes,\n ...TouchEventPropTypes,\n ...GestureResponderEventPropTypes,\n 'aria-busy': PropTypes.bool,\n 'aria-checked': PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf(['mixed']),\n ]),\n 'aria-disabled': PropTypes.bool,\n 'aria-expanded': PropTypes.bool,\n 'aria-hidden': PropTypes.bool,\n 'aria-label': PropTypes.string,\n 'aria-labelledby': PropTypes.string,\n 'aria-live': PropTypes.oneOf(['polite' | 'assertive' | 'off']),\n 'aria-modal': PropTypes.bool,\n 'aria-selected': PropTypes.bool,\n 'aria-valuemax': PropTypes.number,\n 'aria-valuemin': PropTypes.number,\n 'aria-valuenow': PropTypes.number,\n 'aria-valuetext': PropTypes.string,\n accessibilityActions: PropTypes.arrayOf(AccessibilityActionInfoPropType),\n accessibilityElementsHidden: PropTypes.bool,\n accessibilityHint: PropTypes.string,\n accessibilityIgnoresInvertColors: PropTypes.bool,\n accessibilityLabel: PropTypes.node,\n accessibilityLabelledBy: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(PropTypes.string),\n ]),\n accessibilityLanguage: PropTypes.string,\n accessibilityLiveRegion: PropTypes.oneOf(['assertive', 'none', 'polite']),\n accessibilityRole: AccessibilityRolePropType,\n accessibilityState: AccessibilityStatePropType,\n accessibilityValue: AccessibilityValuePropType,\n accessibilityViewIsModal: PropTypes.bool,\n accessible: PropTypes.bool,\n collapsable: PropTypes.bool,\n focusable: PropTypes.bool,\n hitSlop: PropTypes.oneOfType([\n DeprecatedEdgeInsetsPropType,\n PropTypes.number,\n ]),\n importantForAccessibility: PropTypes.oneOf([\n 'auto',\n 'no',\n 'no-hide-descendants',\n 'yes',\n ]),\n nativeBackgroundAndroid: PropTypes.object,\n nativeForegroundAndroid: PropTypes.object,\n nativeID: PropTypes.string,\n needsOffscreenAlphaCompositing: PropTypes.bool,\n onAccessibilityAction: PropTypes.func,\n onAccessibilityEscape: PropTypes.func,\n onAccessibilityTap: PropTypes.func,\n onClick: PropTypes.func,\n onLayout: PropTypes.func,\n onMagicTap: PropTypes.func,\n pointerEvents: PropTypes.oneOf(['auto', 'box-none', 'box-only', 'none']),\n removeClippedSubviews: PropTypes.bool,\n renderToHardwareTextureAndroid: PropTypes.bool,\n role: RolePropType,\n shouldRasterizeIOS: PropTypes.bool,\n style: DeprecatedStyleSheetPropType(DeprecatedViewStylePropTypes),\n tabIndex: PropTypes.oneOf([0, -1]),\n testID: PropTypes.string,\n};\n\nmodule.exports = DeprecatedViewPropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/Components/View/ViewAccessibility.js\n */\nconst DeprecatedViewAccessibility = {\n AccessibilityRolePropType: PropTypes.oneOf([\n 'adjustable',\n 'alert',\n 'button',\n 'checkbox',\n 'combobox',\n 'drawerlayout',\n 'dropdownlist',\n 'grid',\n 'header',\n 'horizontalscrollview',\n 'iconmenu',\n 'image',\n 'imagebutton',\n 'keyboardkey',\n 'link',\n 'list',\n 'menu',\n 'menubar',\n 'menuitem',\n 'none',\n 'pager',\n 'progressbar',\n 'radio',\n 'radiogroup',\n 'scrollbar',\n 'scrollview',\n 'search',\n 'slidingdrawer',\n 'spinbutton',\n 'summary',\n 'switch',\n 'tab',\n 'tabbar',\n 'tablist',\n 'text',\n 'timer',\n 'togglebutton',\n 'toolbar',\n 'viewgroup',\n 'webview',\n ]),\n AccessibilityStatePropType: PropTypes.object,\n AccessibilityActionInfoPropType: PropTypes.object,\n AccessibilityValuePropType: PropTypes.object,\n RolePropType: PropTypes.oneOf([\n 'alert',\n 'alertdialog',\n 'application',\n 'article',\n 'banner',\n 'button',\n 'cell',\n 'checkbox',\n 'columnheader',\n 'combobox',\n 'complementary',\n 'contentinfo',\n 'definition',\n 'dialog',\n 'directory',\n 'document',\n 'feed',\n 'figure',\n 'form',\n 'grid',\n 'group',\n 'heading',\n 'img',\n 'link',\n 'list',\n 'listitem',\n 'log',\n 'main',\n 'marquee',\n 'math',\n 'menu',\n 'menubar',\n 'menuitem',\n 'meter',\n 'navigation',\n 'none',\n 'note',\n 'option',\n 'presentation',\n 'progressbar',\n 'radio',\n 'radiogroup',\n 'region',\n 'row',\n 'rowgroup',\n 'rowheader',\n 'scrollbar',\n 'searchbox',\n 'separator',\n 'slider',\n 'spinbutton',\n 'status',\n 'summary',\n 'switch',\n 'tab',\n 'table',\n 'tablist',\n 'tabpanel',\n 'term',\n 'timer',\n 'toolbar',\n 'tooltip',\n 'tree',\n 'treegrid',\n 'treeitem',\n ]),\n};\n\nmodule.exports = DeprecatedViewAccessibility;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst deprecatedCreateStrictShapeTypeChecker = require('./deprecatedCreateStrictShapeTypeChecker');\n\nfunction DeprecatedStyleSheetPropType(shape) {\n const shapePropType = deprecatedCreateStrictShapeTypeChecker(shape);\n return function(props, propName, componentName, location, ...rest) {\n let newProps = props;\n if (props[propName]) {\n // Just make a dummy prop object with only the flattened style\n newProps = {};\n newProps[propName] = flattenStyle(props[propName]);\n }\n return shapePropType(newProps, propName, componentName, location, ...rest);\n };\n}\n\nfunction flattenStyle(style) {\n if (style === null || typeof style !== 'object') {\n return undefined;\n }\n\n if (!Array.isArray(style)) {\n return style;\n }\n\n const result = {};\n for (let i = 0, styleLength = style.length; i < styleLength; ++i) {\n const computedStyle = flattenStyle(style[i]);\n if (computedStyle) {\n for (const key in computedStyle) {\n result[key] = computedStyle[key];\n }\n }\n }\n return result;\n}\n\nmodule.exports = DeprecatedStyleSheetPropType;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nfunction deprecatedCreateStrictShapeTypeChecker(shapeTypes) {\n function checkType(\n isRequired,\n props,\n propName,\n componentName,\n location,\n ...rest\n ) {\n if (!props[propName]) {\n if (isRequired) {\n invariant(\n false,\n `Required object \\`${propName}\\` was not specified in ` +\n `\\`${componentName}\\`.`,\n );\n }\n return;\n }\n const propValue = props[propName];\n const propType = typeof propValue;\n const locationName = location || '(unknown)';\n if (propType !== 'object') {\n invariant(\n false,\n `Invalid ${locationName} \\`${propName}\\` of type \\`${propType}\\` ` +\n `supplied to \\`${componentName}\\`, expected \\`object\\`.`,\n );\n }\n // We need to check all keys in case some are required but missing from\n // props.\n const allKeys = {...props[propName], ...shapeTypes};\n for (const key in allKeys) {\n const checker = shapeTypes[key];\n if (!checker) {\n invariant(\n false,\n `Invalid props.${propName} key \\`${key}\\` supplied to \\`${componentName}\\`.` +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' +\n JSON.stringify(Object.keys(shapeTypes), null, ' '),\n );\n }\n const error = checker(propValue, key, componentName, location, ...rest);\n if (error) {\n invariant(\n false,\n error.message +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' '),\n );\n }\n }\n }\n function chainedCheckType(props, propName, componentName, location, ...rest) {\n return checkType(false, props, propName, componentName, location, ...rest);\n }\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n}\n\nmodule.exports = deprecatedCreateStrictShapeTypeChecker;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst DeprecatedViewStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n backfaceVisibility: PropTypes.oneOf(['hidden', 'visible']),\n backgroundColor: DeprecatedColorPropType,\n borderBottomColor: DeprecatedColorPropType,\n borderBottomEndRadius: PropTypes.number,\n borderBottomLeftRadius: PropTypes.number,\n borderBottomRightRadius: PropTypes.number,\n borderBottomStartRadius: PropTypes.number,\n borderBottomWidth: PropTypes.number,\n borderColor: DeprecatedColorPropType,\n borderCurve: PropTypes.oneOf(['circular', 'continuous']),\n borderEndColor: DeprecatedColorPropType,\n borderLeftColor: DeprecatedColorPropType,\n borderLeftWidth: PropTypes.number,\n borderRadius: PropTypes.number,\n borderRightColor: DeprecatedColorPropType,\n borderRightWidth: PropTypes.number,\n borderStartColor: DeprecatedColorPropType,\n borderStyle: PropTypes.oneOf(['dashed', 'dotted', 'solid']),\n borderTopColor: DeprecatedColorPropType,\n borderTopEndRadius: PropTypes.number,\n borderTopLeftRadius: PropTypes.number,\n borderTopRightRadius: PropTypes.number,\n borderTopStartRadius: PropTypes.number,\n borderTopWidth: PropTypes.number,\n borderWidth: PropTypes.number,\n elevation: PropTypes.number,\n opacity: PropTypes.number,\n pointerEvents: PropTypes.oneOf(['auto', 'box-none', 'box-only', 'none']),\n};\n\nmodule.exports = DeprecatedViewStylePropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst DimensionValuePropType = PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.string,\n]);\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst DeprecatedLayoutPropTypes = {\n alignContent: PropTypes.oneOf([\n 'center',\n 'flex-end',\n 'flex-start',\n 'space-around',\n 'space-between',\n 'stretch',\n ]),\n alignItems: PropTypes.oneOf([\n 'baseline',\n 'center',\n 'flex-end',\n 'flex-start',\n 'stretch',\n ]),\n alignSelf: PropTypes.oneOf([\n 'auto',\n 'baseline',\n 'center',\n 'flex-end',\n 'flex-start',\n 'stretch',\n ]),\n aspectRatio: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n borderBottomWidth: PropTypes.number,\n borderEndWidth: PropTypes.number,\n borderLeftWidth: PropTypes.number,\n borderRightWidth: PropTypes.number,\n borderStartWidth: PropTypes.number,\n borderTopWidth: PropTypes.number,\n borderWidth: PropTypes.number,\n bottom: DimensionValuePropType,\n columnGap: PropTypes.number,\n direction: PropTypes.oneOf(['inherit', 'ltr', 'rtl']),\n display: PropTypes.oneOf(['flex', 'none']),\n end: DimensionValuePropType,\n flex: PropTypes.number,\n flexBasis: DimensionValuePropType,\n flexDirection: PropTypes.oneOf([\n 'column',\n 'column-reverse',\n 'row',\n 'row-reverse',\n ]),\n flexGrow: PropTypes.number,\n flexShrink: PropTypes.number,\n flexWrap: PropTypes.oneOf(['nowrap', 'wrap', 'wrap-reverse']),\n gap: PropTypes.number,\n height: DimensionValuePropType,\n justifyContent: PropTypes.oneOf([\n 'center',\n 'flex-end',\n 'flex-start',\n 'space-around',\n 'space-between',\n 'space-evenly',\n ]),\n left: DimensionValuePropType,\n margin: DimensionValuePropType,\n marginBlock: DimensionValuePropType,\n marginBlockEnd: DimensionValuePropType,\n marginBlockStart: DimensionValuePropType,\n marginBottom: DimensionValuePropType,\n marginEnd: DimensionValuePropType,\n marginHorizontal: DimensionValuePropType,\n marginInline: DimensionValuePropType,\n marginInlineEnd: DimensionValuePropType,\n marginInlineStart: DimensionValuePropType,\n marginLeft: DimensionValuePropType,\n marginRight: DimensionValuePropType,\n marginStart: DimensionValuePropType,\n marginTop: DimensionValuePropType,\n marginVertical: DimensionValuePropType,\n maxHeight: DimensionValuePropType,\n maxWidth: DimensionValuePropType,\n minHeight: DimensionValuePropType,\n minWidth: DimensionValuePropType,\n overflow: PropTypes.oneOf(['hidden', 'scroll', 'visible']),\n padding: DimensionValuePropType,\n paddingBlock: DimensionValuePropType,\n paddingBlockEnd: DimensionValuePropType,\n paddingBlockStart: DimensionValuePropType,\n paddingBottom: DimensionValuePropType,\n paddingEnd: DimensionValuePropType,\n paddingHorizontal: DimensionValuePropType,\n paddingInline: DimensionValuePropType,\n paddingInlineEnd: DimensionValuePropType,\n paddingInlineStart: DimensionValuePropType,\n paddingLeft: DimensionValuePropType,\n paddingRight: DimensionValuePropType,\n paddingStart: DimensionValuePropType,\n paddingTop: DimensionValuePropType,\n paddingVertical: DimensionValuePropType,\n position: PropTypes.oneOf(['absolute', 'relative']),\n right: DimensionValuePropType,\n rowGap: PropTypes.number,\n start: DimensionValuePropType,\n top: DimensionValuePropType,\n width: DimensionValuePropType,\n zIndex: PropTypes.number,\n};\n\nmodule.exports = DeprecatedLayoutPropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst DeprecatedShadowPropTypesIOS = {\n shadowColor: DeprecatedColorPropType,\n shadowOffset: PropTypes.shape({\n height: PropTypes.number,\n width: PropTypes.number,\n }),\n shadowOpacity: PropTypes.number,\n shadowRadius: PropTypes.number,\n};\n\nmodule.exports = DeprecatedShadowPropTypesIOS;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/private/_TransformStyle.js\n */\nconst DeprecatedTransformPropTypes = {\n transform: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape({perspective: PropTypes.number}),\n PropTypes.shape({rotate: PropTypes.string}),\n PropTypes.shape({rotateX: PropTypes.string}),\n PropTypes.shape({rotateY: PropTypes.string}),\n PropTypes.shape({rotateZ: PropTypes.string}),\n PropTypes.shape({scale: PropTypes.number}),\n PropTypes.shape({scaleX: PropTypes.number}),\n PropTypes.shape({scaleY: PropTypes.number}),\n PropTypes.shape({skewX: PropTypes.string}),\n PropTypes.shape({skewY: PropTypes.string}),\n PropTypes.shape({translateX: PropTypes.number}),\n PropTypes.shape({translateY: PropTypes.number}),\n ]),\n ),\n};\n\nmodule.exports = DeprecatedTransformPropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/Image/ImageSource.js\n */\nconst ImageURISourcePropType = PropTypes.shape({\n body: PropTypes.string,\n bundle: PropTypes.string,\n cache: PropTypes.oneOf([\n 'default',\n 'force-cache',\n 'only-if-cached',\n 'reload',\n ]),\n headers: PropTypes.objectOf(PropTypes.string),\n height: PropTypes.number,\n method: PropTypes.string,\n scale: PropTypes.number,\n uri: PropTypes.string,\n width: PropTypes.number,\n});\n\nconst ImageSourcePropType = PropTypes.oneOfType([\n ImageURISourcePropType,\n PropTypes.number,\n PropTypes.arrayOf(ImageURISourcePropType),\n]);\n\nmodule.exports = ImageSourcePropType;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst DeprecatedImageStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n backfaceVisibility: PropTypes.oneOf(['hidden', 'visible']),\n backgroundColor: DeprecatedColorPropType,\n borderBottomLeftRadius: PropTypes.number,\n borderBottomRightRadius: PropTypes.number,\n borderColor: DeprecatedColorPropType,\n borderRadius: PropTypes.number,\n borderTopLeftRadius: PropTypes.number,\n borderTopRightRadius: PropTypes.number,\n borderWidth: PropTypes.number,\n objectFit: PropTypes.oneOf(['contain', 'cover', 'fill', 'scale-down']),\n opacity: PropTypes.number,\n overflow: PropTypes.oneOf(['hidden', 'visible']),\n overlayColor: PropTypes.string,\n tintColor: DeprecatedColorPropType,\n resizeMode: PropTypes.oneOf([\n 'center',\n 'contain',\n 'cover',\n 'repeat',\n 'stretch',\n ]),\n};\n\nmodule.exports = DeprecatedImageStylePropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst PointPropType = PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number,\n});\n\nmodule.exports = PointPropType;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedTextPropTypes = require('./DeprecatedTextPropTypes');\nconst DeprecatedViewPropTypes = require('./DeprecatedViewPropTypes');\nconst PropTypes = require('prop-types');\n\nconst DataDetectorTypes = [\n 'address',\n 'all',\n 'calendarEvent',\n 'link',\n 'none',\n 'phoneNumber',\n];\n\n/**\n * @see facebook/react-native/Libraries/TextInput/TextInput.js\n */\nconst DeprecatedTextInputPropTypes = {\n ...DeprecatedViewPropTypes,\n allowFontScaling: PropTypes.bool,\n autoCapitalize: PropTypes.oneOf(['none', 'sentences', 'words', 'characters']),\n autoComplete: PropTypes.oneOf([\n 'additional-name',\n 'address-line1',\n 'address-line2',\n 'bday',\n 'bday-day',\n 'bday-month',\n 'bday-year',\n 'birthdate-day',\n 'birthdate-full',\n 'birthdate-month',\n 'birthdate-year',\n 'cc-csc',\n 'cc-exp',\n 'cc-exp-day',\n 'cc-exp-month',\n 'cc-exp-year',\n 'cc-number',\n 'country',\n 'current-password',\n 'email',\n 'family-name',\n 'gender',\n 'given-name',\n 'honorific-prefix',\n 'honorific-suffix',\n 'name',\n 'name-family',\n 'name-given',\n 'name-middle',\n 'name-middle-initial',\n 'name-prefix',\n 'name-suffix',\n 'new-password',\n 'nickname',\n 'off',\n 'one-time-code',\n 'organization',\n 'organization-title',\n 'password',\n 'password-new',\n 'postal-address',\n 'postal-address-country',\n 'postal-address-extended',\n 'postal-address-extended-postal-code',\n 'postal-address-locality',\n 'postal-address-region',\n 'postal-code',\n 'sex',\n 'sms-otp',\n 'street-address',\n 'tel',\n 'tel-country-code',\n 'tel-device',\n 'tel-national',\n 'url',\n 'username',\n 'username-new',\n ]),\n autoCorrect: PropTypes.bool,\n autoFocus: PropTypes.bool,\n blurOnSubmit: PropTypes.bool,\n caretHidden: PropTypes.bool,\n clearButtonMode: PropTypes.oneOf([\n 'always',\n 'never',\n 'unless-editing',\n 'while-editing',\n ]),\n clearTextOnFocus: PropTypes.bool,\n cursorColor: DeprecatedColorPropType,\n contextMenuHidden: PropTypes.bool,\n dataDetectorTypes: PropTypes.oneOfType([\n PropTypes.oneOf(DataDetectorTypes),\n PropTypes.arrayOf(PropTypes.oneOf(DataDetectorTypes)),\n ]),\n defaultValue: PropTypes.string,\n disableFullscreenUI: PropTypes.bool,\n editable: PropTypes.bool,\n enablesReturnKeyAutomatically: PropTypes.bool,\n enterKeyHint: PropTypes.oneOf([\n 'done',\n 'enter',\n 'go',\n 'next',\n 'previous',\n 'search',\n 'send',\n ]),\n inlineImageLeft: PropTypes.string,\n inlineImagePadding: PropTypes.number,\n inputAccessoryViewID: PropTypes.string,\n inputMode: PropTypes.oneOf([\n 'decimal',\n 'email',\n 'none',\n 'numeric',\n 'search',\n 'tel',\n 'text',\n 'url',\n ]),\n keyboardAppearance: PropTypes.oneOf(['default', 'dark', 'light']),\n keyboardType: PropTypes.oneOf([\n 'ascii-capable',\n 'ascii-capable-number-pad',\n 'decimal-pad',\n 'default',\n 'email-address',\n 'name-phone-pad',\n 'number-pad',\n 'numbers-and-punctuation',\n 'numeric',\n 'phone-pad',\n 'twitter',\n 'url',\n 'visible-password',\n 'web-search',\n ]),\n lineBreakStrategyIOS: PropTypes.oneOf([\n 'hangul-word',\n 'none',\n 'push-out',\n 'standard',\n ]),\n maxFontSizeMultiplier: PropTypes.number,\n maxLength: PropTypes.number,\n multiline: PropTypes.bool,\n numberOfLines: PropTypes.number,\n onBlur: PropTypes.func,\n onChange: PropTypes.func,\n onChangeText: PropTypes.func,\n onContentSizeChange: PropTypes.func,\n onEndEditing: PropTypes.func,\n onFocus: PropTypes.func,\n onKeyPress: PropTypes.func,\n onLayout: PropTypes.func,\n onScroll: PropTypes.func,\n onSelectionChange: PropTypes.func,\n onSubmitEditing: PropTypes.func,\n onTextInput: PropTypes.func,\n placeholder: PropTypes.string,\n placeholderTextColor: DeprecatedColorPropType,\n readOnly: PropTypes.bool,\n rejectResponderTermination: PropTypes.bool,\n returnKeyLabel: PropTypes.string,\n returnKeyType: PropTypes.oneOf([\n 'default',\n 'done',\n 'emergency-call',\n 'go',\n 'google',\n 'join',\n 'next',\n 'none',\n 'previous',\n 'route',\n 'search',\n 'send',\n 'yahoo',\n ]),\n rows: PropTypes.number,\n scrollEnabled: PropTypes.bool,\n secureTextEntry: PropTypes.bool,\n selection: PropTypes.shape({\n end: PropTypes.number,\n start: PropTypes.number.isRequired,\n }),\n selectionColor: DeprecatedColorPropType,\n selectTextOnFocus: PropTypes.bool,\n showSoftInputOnFocus: PropTypes.bool,\n spellCheck: PropTypes.bool,\n style: DeprecatedTextPropTypes.style,\n submitBehavior: PropTypes.oneOf(['blurAndSubmit', 'newline', 'submit']),\n textBreakStrategy: PropTypes.oneOf(['balanced', 'highQuality', 'simple']),\n textContentType: PropTypes.oneOf([\n 'addressCity',\n 'addressCityAndState',\n 'addressState',\n 'countryName',\n 'creditCardNumber',\n 'emailAddress',\n 'familyName',\n 'fullStreetAddress',\n 'givenName',\n 'jobTitle',\n 'location',\n 'middleName',\n 'name',\n 'namePrefix',\n 'nameSuffix',\n 'newPassword',\n 'nickname',\n 'none',\n 'oneTimeCode',\n 'organizationName',\n 'password',\n 'postalCode',\n 'streetAddressLine1',\n 'streetAddressLine2',\n 'sublocality',\n 'telephoneNumber',\n 'URL',\n 'username',\n ]),\n underlineColorAndroid: DeprecatedColorPropType,\n value: PropTypes.string,\n};\n\nmodule.exports = DeprecatedTextInputPropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst DeprecatedTextStylePropTypes = require('./DeprecatedTextStylePropTypes');\nconst {\n AccessibilityActionInfoPropType,\n AccessibilityRolePropType,\n AccessibilityStatePropType,\n AccessibilityValuePropType,\n RolePropType,\n} = require('./DeprecatedViewAccessibility');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/Text/TextProps.js\n */\nconst DeprecatedTextPropTypes = {\n 'aria-busy': PropTypes.bool,\n 'aria-checked': PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf(['mixed']),\n ]),\n 'aria-disabled': PropTypes.bool,\n 'aria-expanded': PropTypes.bool,\n 'aria-label': PropTypes.string,\n 'aria-labelledby': PropTypes.string,\n 'aria-selected': PropTypes.bool,\n accessibilityActions: PropTypes.arrayOf(AccessibilityActionInfoPropType),\n accessibilityHint: PropTypes.string,\n accessibilityLabel: PropTypes.string,\n accessibilityLanguage: PropTypes.string,\n accessibilityRole: AccessibilityRolePropType,\n accessibilityState: AccessibilityStatePropType,\n accessible: PropTypes.bool,\n adjustsFontSizeToFit: PropTypes.bool,\n allowFontScaling: PropTypes.bool,\n dataDetectorType: PropTypes.oneOf([\n 'all',\n 'email',\n 'link',\n 'none',\n 'phoneNumber',\n ]),\n disabled: PropTypes.bool,\n dynamicTypeRamp: PropTypes.oneOf([\n 'body',\n 'callout',\n 'caption1',\n 'caption2',\n 'footnote',\n 'headline',\n 'largeTitle',\n 'subheadline',\n 'title1',\n 'title2',\n 'title3',\n ]),\n ellipsizeMode: PropTypes.oneOf(['clip', 'head', 'middle', 'tail']),\n id: PropTypes.string,\n lineBreakStrategyIOS: PropTypes.oneOf([\n 'hangul-word',\n 'none',\n 'push-out',\n 'standard',\n ]),\n maxFontSizeMultiplier: PropTypes.number,\n minimumFontScale: PropTypes.number,\n nativeID: PropTypes.string,\n numberOfLines: PropTypes.number,\n onAccessibilityAction: PropTypes.func,\n onLayout: PropTypes.func,\n onLongPress: PropTypes.func,\n onMoveShouldSetResponder: PropTypes.func,\n onPress: PropTypes.func,\n onPressIn: PropTypes.func,\n onPressOut: PropTypes.func,\n onResponderGrant: PropTypes.func,\n onResponderMove: PropTypes.func,\n onResponderRelease: PropTypes.func,\n onResponderTerminate: PropTypes.func,\n onResponderTerminationRequest: PropTypes.func,\n onStartShouldSetResponder: PropTypes.func,\n onTextLayout: PropTypes.func,\n pressRetentionOffset: DeprecatedEdgeInsetsPropType,\n role: RolePropType,\n selectable: PropTypes.bool,\n selectionColor: DeprecatedColorPropType,\n style: DeprecatedStyleSheetPropType(DeprecatedTextStylePropTypes),\n suppressHighlighting: PropTypes.bool,\n testID: PropTypes.string,\n textBreakStrategy: PropTypes.oneOf(['balanced', 'highQuality', 'simple']),\n};\n\nmodule.exports = DeprecatedTextPropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst PropTypes = require('prop-types');\n\n/**\n * @see facebook/react-native/Libraries/StyleSheet/StyleSheetTypes.js\n */\nconst DeprecatedTextStylePropTypes = {\n ...DeprecatedViewStylePropTypes,\n color: DeprecatedColorPropType,\n fontFamily: PropTypes.string,\n fontSize: PropTypes.number,\n fontStyle: PropTypes.oneOf(['italic', 'normal']),\n fontVariant: PropTypes.oneOfType([\n PropTypes.arrayOf(\n PropTypes.oneOf([\n 'lining-nums',\n 'oldstyle-nums',\n 'proportional-nums',\n 'small-caps',\n 'stylistic-eight',\n 'stylistic-eighteen',\n 'stylistic-eleven',\n 'stylistic-fifteen',\n 'stylistic-five',\n 'stylistic-four',\n 'stylistic-fourteen',\n 'stylistic-nine',\n 'stylistic-nineteen',\n 'stylistic-one',\n 'stylistic-seven',\n 'stylistic-seventeen',\n 'stylistic-six',\n 'stylistic-sixteen',\n 'stylistic-ten',\n 'stylistic-thirteen',\n 'stylistic-three',\n 'stylistic-twelve',\n 'stylistic-twenty',\n 'stylistic-two',\n 'tabular-nums',\n ]),\n ),\n PropTypes.string,\n ]),\n fontWeight: PropTypes.oneOf([\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n 'black',\n 'bold',\n 'condensed',\n 'condensedBold',\n 'heavy',\n 'light',\n 'medium',\n 'normal',\n 'regular',\n 'semibold',\n 'thin',\n 'ultralight',\n 100,\n 200,\n 300,\n 400,\n 500,\n 600,\n 700,\n 800,\n 900,\n ]),\n includeFontPadding: PropTypes.bool,\n letterSpacing: PropTypes.number,\n lineHeight: PropTypes.number,\n textAlign: PropTypes.oneOf(['auto', 'center', 'justify', 'left', 'right']),\n textAlignVertical: PropTypes.oneOf(['auto', 'bottom', 'center', 'top']),\n textDecorationColor: DeprecatedColorPropType,\n textDecorationLine: PropTypes.oneOf([\n 'line-through',\n 'none',\n 'underline line-through',\n 'underline',\n ]),\n textDecorationStyle: PropTypes.oneOf(['dashed', 'dotted', 'double', 'solid']),\n textShadowColor: DeprecatedColorPropType,\n textShadowOffset: PropTypes.shape({\n height: PropTypes.number,\n width: PropTypes.number,\n }),\n textShadowRadius: PropTypes.number,\n textTransform: PropTypes.oneOf([\n 'capitalize',\n 'lowercase',\n 'none',\n 'uppercase',\n ]),\n userSelect: PropTypes.oneOf(['all', 'auto', 'contain', 'none', 'text']),\n verticalAlign: PropTypes.oneOf(['auto', 'bottom', 'middle', 'top']),\n writingDirection: PropTypes.oneOf(['auto', 'ltr', 'rtl']),\n};\n\nmodule.exports = DeprecatedTextStylePropTypes;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {PressEvent} from '../../Types/CoreEventTypes';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\n\nimport View from '../../Components/View/View';\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport {findHostInstance_DEPRECATED} from '../../ReactNative/RendererProxy';\nimport processColor from '../../StyleSheet/processColor';\nimport Platform from '../../Utilities/Platform';\nimport {Commands} from '../View/ViewNativeComponent';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n\n /**\n * Determines the type of background drawable that's going to be used to\n * display feedback. It takes an object with `type` property and extra data\n * depending on the `type`. It's recommended to use one of the static\n * methods to generate that dictionary.\n */\n background?: ?(\n | $ReadOnly<{|\n type: 'ThemeAttrAndroid',\n attribute:\n | 'selectableItemBackground'\n | 'selectableItemBackgroundBorderless',\n rippleRadius: ?number,\n |}>\n | $ReadOnly<{|\n type: 'RippleAndroid',\n color: ?number,\n borderless: boolean,\n rippleRadius: ?number,\n |}>\n ),\n\n /**\n * TV preferred focus (see documentation for the View component).\n */\n hasTVPreferredFocus?: ?boolean,\n\n /**\n * TV next focus down (see documentation for the View component).\n */\n nextFocusDown?: ?number,\n\n /**\n * TV next focus forward (see documentation for the View component).\n */\n nextFocusForward?: ?number,\n\n /**\n * TV next focus left (see documentation for the View component).\n */\n nextFocusLeft?: ?number,\n\n /**\n * TV next focus right (see documentation for the View component).\n */\n nextFocusRight?: ?number,\n\n /**\n * TV next focus up (see documentation for the View component).\n */\n nextFocusUp?: ?number,\n\n /**\n * Set to true to add the ripple effect to the foreground of the view, instead\n * of the background. This is useful if one of your child views has a\n * background of its own, or you're e.g. displaying images, and you don't want\n * the ripple to be covered by them.\n *\n * Check TouchableNativeFeedback.canUseNativeForeground() first, as this is\n * only available on Android 6.0 and above. If you try to use this on older\n * versions, this will fallback to background.\n */\n useForeground?: ?boolean,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n|}>;\n\nclass TouchableNativeFeedback extends React.Component {\n /**\n * Creates a value for the `background` prop that uses the Android theme's\n * default background for selectable elements.\n */\n static SelectableBackground: (rippleRadius: ?number) => $ReadOnly<{|\n attribute: 'selectableItemBackground',\n type: 'ThemeAttrAndroid',\n rippleRadius: ?number,\n |}> = (rippleRadius: ?number) => ({\n type: 'ThemeAttrAndroid',\n attribute: 'selectableItemBackground',\n rippleRadius,\n });\n\n /**\n * Creates a value for the `background` prop that uses the Android theme's\n * default background for borderless selectable elements. Requires API 21+.\n */\n static SelectableBackgroundBorderless: (rippleRadius: ?number) => $ReadOnly<{|\n attribute: 'selectableItemBackgroundBorderless',\n type: 'ThemeAttrAndroid',\n rippleRadius: ?number,\n |}> = (rippleRadius: ?number) => ({\n type: 'ThemeAttrAndroid',\n attribute: 'selectableItemBackgroundBorderless',\n rippleRadius,\n });\n\n /**\n * Creates a value for the `background` prop that uses the Android ripple with\n * the supplied color. If `borderless` is true, the ripple will render outside\n * of the view bounds. Requires API 21+.\n */\n static Ripple: (\n color: string,\n borderless: boolean,\n rippleRadius: ?number,\n ) => $ReadOnly<{|\n borderless: boolean,\n color: ?number,\n rippleRadius: ?number,\n type: 'RippleAndroid',\n |}> = (color: string, borderless: boolean, rippleRadius: ?number) => {\n const processedColor = processColor(color);\n invariant(\n processedColor == null || typeof processedColor === 'number',\n 'Unexpected color given for Ripple color',\n );\n return {\n type: 'RippleAndroid',\n color: processedColor,\n borderless,\n rippleRadius,\n };\n };\n\n /**\n * Whether `useForeground` is supported.\n */\n static canUseNativeForeground: () => boolean = () =>\n Platform.OS === 'android' && Platform.Version >= 23;\n\n state: State = {\n pressability: new Pressability(this._createPressabilityConfig()),\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n const accessibilityStateDisabled =\n this.props['aria-disabled'] ?? this.props.accessibilityState?.disabled;\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled:\n this.props.disabled != null\n ? this.props.disabled\n : accessibilityStateDisabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n android_disableSound: this.props.touchSoundDisabled,\n onLongPress: this.props.onLongPress,\n onPress: this.props.onPress,\n onPressIn: event => {\n if (Platform.OS === 'android') {\n this._dispatchHotspotUpdate(event);\n this._dispatchPressedStateChange(true);\n }\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressMove: event => {\n if (Platform.OS === 'android') {\n this._dispatchHotspotUpdate(event);\n }\n },\n onPressOut: event => {\n if (Platform.OS === 'android') {\n this._dispatchPressedStateChange(false);\n }\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n _dispatchPressedStateChange(pressed: boolean): void {\n if (Platform.OS === 'android') {\n const hostComponentRef = findHostInstance_DEPRECATED(this);\n if (hostComponentRef == null) {\n console.warn(\n 'Touchable: Unable to find HostComponent instance. ' +\n 'Has your Touchable component been unmounted?',\n );\n } else {\n Commands.setPressed(hostComponentRef, pressed);\n }\n }\n }\n\n _dispatchHotspotUpdate(event: PressEvent): void {\n if (Platform.OS === 'android') {\n const {locationX, locationY} = event.nativeEvent;\n const hostComponentRef = findHostInstance_DEPRECATED(this);\n if (hostComponentRef == null) {\n console.warn(\n 'Touchable: Unable to find HostComponent instance. ' +\n 'Has your Touchable component been unmounted?',\n );\n } else {\n Commands.hotspotUpdate(\n hostComponentRef,\n locationX ?? 0,\n locationY ?? 0,\n );\n }\n }\n }\n\n render(): React.Node {\n const element = React.Children.only(this.props.children);\n const children = [element.props.children];\n if (__DEV__) {\n if (element.type === View) {\n children.push(\n ,\n );\n }\n }\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {onBlur, onFocus, ...eventHandlersWithoutBlurAndFocus} =\n this.state.pressability.getEventHandlers();\n\n let _accessibilityState = {\n busy: this.props['aria-busy'] ?? this.props.accessibilityState?.busy,\n checked:\n this.props['aria-checked'] ?? this.props.accessibilityState?.checked,\n disabled:\n this.props['aria-disabled'] ?? this.props.accessibilityState?.disabled,\n expanded:\n this.props['aria-expanded'] ?? this.props.accessibilityState?.expanded,\n selected:\n this.props['aria-selected'] ?? this.props.accessibilityState?.selected,\n };\n\n _accessibilityState =\n this.props.disabled != null\n ? {\n ..._accessibilityState,\n disabled: this.props.disabled,\n }\n : _accessibilityState;\n\n const accessibilityValue = {\n max: this.props['aria-valuemax'] ?? this.props.accessibilityValue?.max,\n min: this.props['aria-valuemin'] ?? this.props.accessibilityValue?.min,\n now: this.props['aria-valuenow'] ?? this.props.accessibilityValue?.now,\n text: this.props['aria-valuetext'] ?? this.props.accessibilityValue?.text,\n };\n\n const accessibilityLiveRegion =\n this.props['aria-live'] === 'off'\n ? 'none'\n : this.props['aria-live'] ?? this.props.accessibilityLiveRegion;\n\n const accessibilityLabel =\n this.props['aria-label'] ?? this.props.accessibilityLabel;\n return React.cloneElement(\n element,\n {\n ...eventHandlersWithoutBlurAndFocus,\n ...getBackgroundProp(\n this.props.background === undefined\n ? TouchableNativeFeedback.SelectableBackground()\n : this.props.background,\n this.props.useForeground === true,\n ),\n accessible: this.props.accessible !== false,\n accessibilityHint: this.props.accessibilityHint,\n accessibilityLanguage: this.props.accessibilityLanguage,\n accessibilityLabel: accessibilityLabel,\n accessibilityRole: this.props.accessibilityRole,\n accessibilityState: _accessibilityState,\n accessibilityActions: this.props.accessibilityActions,\n onAccessibilityAction: this.props.onAccessibilityAction,\n accessibilityValue: accessibilityValue,\n importantForAccessibility:\n this.props['aria-hidden'] === true\n ? 'no-hide-descendants'\n : this.props.importantForAccessibility,\n accessibilityViewIsModal:\n this.props['aria-modal'] ?? this.props.accessibilityViewIsModal,\n accessibilityLiveRegion: accessibilityLiveRegion,\n accessibilityElementsHidden:\n this.props['aria-hidden'] ?? this.props.accessibilityElementsHidden,\n hasTVPreferredFocus: this.props.hasTVPreferredFocus,\n hitSlop: this.props.hitSlop,\n focusable:\n this.props.focusable !== false &&\n this.props.onPress !== undefined &&\n !this.props.disabled,\n nativeID: this.props.nativeID,\n nextFocusDown: this.props.nextFocusDown,\n nextFocusForward: this.props.nextFocusForward,\n nextFocusLeft: this.props.nextFocusLeft,\n nextFocusRight: this.props.nextFocusRight,\n nextFocusUp: this.props.nextFocusUp,\n onLayout: this.props.onLayout,\n testID: this.props.testID,\n },\n ...children,\n );\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nconst getBackgroundProp =\n Platform.OS === 'android'\n ? /* $FlowFixMe[missing-local-annot] The type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n (background, useForeground: boolean) =>\n useForeground && TouchableNativeFeedback.canUseNativeForeground()\n ? {nativeForegroundAndroid: background}\n : {nativeBackgroundAndroid: background}\n : /* $FlowFixMe[missing-local-annot] The type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n (background, useForeground: boolean) => null;\n\nTouchableNativeFeedback.displayName = 'TouchableNativeFeedback';\n\nmodule.exports = TouchableNativeFeedback;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\n\nimport Animated from '../../Animated/Animated';\nimport Easing from '../../Animated/Easing';\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\n\ntype TVProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n ...TVProps,\n\n activeOpacity?: ?number,\n style?: ?ViewStyleProp,\n\n hostRef?: ?React.Ref,\n|}>;\n\ntype State = $ReadOnly<{|\n anim: Animated.Value,\n pressability: Pressability,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, dimming it.\n *\n * Opacity is controlled by wrapping the children in an Animated.View, which is\n * added to the view hierarchy. Be aware that this can affect layout.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableOpacity,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * state = { count: 0 }\n *\n * onPress = () => {\n * this.setState(state => ({\n * count: state.count + 1\n * }));\n * };\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\nclass TouchableOpacity extends React.Component {\n state: State = {\n anim: new Animated.Value(this._getChildStyleOpacityWithDefault()),\n pressability: new Pressability(this._createPressabilityConfig()),\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled:\n this.props.disabled ??\n this.props['aria-disabled'] ??\n this.props.accessibilityState?.disabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n onBlur: event => {\n if (Platform.isTV) {\n this._opacityInactive(250);\n }\n if (this.props.onBlur != null) {\n this.props.onBlur(event);\n }\n },\n onFocus: event => {\n if (Platform.isTV) {\n this._opacityActive(150);\n }\n if (this.props.onFocus != null) {\n this.props.onFocus(event);\n }\n },\n onLongPress: this.props.onLongPress,\n onPress: this.props.onPress,\n onPressIn: event => {\n this._opacityActive(\n event.dispatchConfig.registrationName === 'onResponderGrant'\n ? 0\n : 150,\n );\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressOut: event => {\n this._opacityInactive(250);\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n /**\n * Animate the touchable to a new opacity.\n */\n _setOpacityTo(toValue: number, duration: number): void {\n Animated.timing(this.state.anim, {\n toValue,\n duration,\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: true,\n }).start();\n }\n\n _opacityActive(duration: number): void {\n this._setOpacityTo(this.props.activeOpacity ?? 0.2, duration);\n }\n\n _opacityInactive(duration: number): void {\n this._setOpacityTo(this._getChildStyleOpacityWithDefault(), duration);\n }\n\n _getChildStyleOpacityWithDefault(): number {\n const opacity = flattenStyle(this.props.style)?.opacity;\n return typeof opacity === 'number' ? opacity : 1;\n }\n\n render(): React.Node {\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {onBlur, onFocus, ...eventHandlersWithoutBlurAndFocus} =\n this.state.pressability.getEventHandlers();\n\n let _accessibilityState = {\n busy: this.props['aria-busy'] ?? this.props.accessibilityState?.busy,\n checked:\n this.props['aria-checked'] ?? this.props.accessibilityState?.checked,\n disabled:\n this.props['aria-disabled'] ?? this.props.accessibilityState?.disabled,\n expanded:\n this.props['aria-expanded'] ?? this.props.accessibilityState?.expanded,\n selected:\n this.props['aria-selected'] ?? this.props.accessibilityState?.selected,\n };\n\n _accessibilityState =\n this.props.disabled != null\n ? {\n ..._accessibilityState,\n disabled: this.props.disabled,\n }\n : _accessibilityState;\n\n const accessibilityValue = {\n max: this.props['aria-valuemax'] ?? this.props.accessibilityValue?.max,\n min: this.props['aria-valuemin'] ?? this.props.accessibilityValue?.min,\n now: this.props['aria-valuenow'] ?? this.props.accessibilityValue?.now,\n text: this.props['aria-valuetext'] ?? this.props.accessibilityValue?.text,\n };\n\n const accessibilityLiveRegion =\n this.props['aria-live'] === 'off'\n ? 'none'\n : this.props['aria-live'] ?? this.props.accessibilityLiveRegion;\n\n const accessibilityLabel =\n this.props['aria-label'] ?? this.props.accessibilityLabel;\n return (\n \n {this.props.children}\n {__DEV__ ? (\n \n ) : null}\n \n );\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n if (\n this.props.disabled !== prevProps.disabled ||\n (flattenStyle(prevProps.style)?.opacity !==\n flattenStyle(this.props.style)?.opacity) !==\n undefined\n ) {\n this._opacityInactive(250);\n }\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nconst Touchable = (React.forwardRef((props, ref) => (\n \n)): React.AbstractComponent>);\n\nTouchable.displayName = 'TouchableOpacity';\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nexport type {CompositeAnimation, Numeric} from './AnimatedImplementation';\n\nimport typeof AnimatedFlatList from './components/AnimatedFlatList';\nimport typeof AnimatedImage from './components/AnimatedImage';\nimport typeof AnimatedScrollView from './components/AnimatedScrollView';\nimport typeof AnimatedSectionList from './components/AnimatedSectionList';\nimport typeof AnimatedText from './components/AnimatedText';\nimport typeof AnimatedView from './components/AnimatedView';\n\nimport Platform from '../Utilities/Platform';\nimport AnimatedImplementation from './AnimatedImplementation';\nimport AnimatedMock from './AnimatedMock';\n\nconst Animated = ((Platform.isTesting\n ? AnimatedMock\n : AnimatedImplementation): typeof AnimatedImplementation);\n\nexport default {\n get FlatList(): AnimatedFlatList {\n return require('./components/AnimatedFlatList').default;\n },\n get Image(): AnimatedImage {\n return require('./components/AnimatedImage').default;\n },\n get ScrollView(): AnimatedScrollView {\n return require('./components/AnimatedScrollView').default;\n },\n get SectionList(): AnimatedSectionList {\n return require('./components/AnimatedSectionList').default;\n },\n get Text(): AnimatedText {\n return require('./components/AnimatedText').default;\n },\n get View(): AnimatedView {\n return require('./components/AnimatedView').default;\n },\n ...Animated,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {EventConfig, Mapping} from './AnimatedEvent';\nimport type {\n AnimationConfig,\n EndCallback,\n EndResult,\n} from './animations/Animation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\n\nimport {AnimatedEvent, attachNativeEvent} from './AnimatedEvent';\nimport DecayAnimation from './animations/DecayAnimation';\nimport SpringAnimation from './animations/SpringAnimation';\nimport TimingAnimation from './animations/TimingAnimation';\nimport createAnimatedComponent from './createAnimatedComponent';\nimport AnimatedAddition from './nodes/AnimatedAddition';\nimport AnimatedColor from './nodes/AnimatedColor';\nimport AnimatedDiffClamp from './nodes/AnimatedDiffClamp';\nimport AnimatedDivision from './nodes/AnimatedDivision';\nimport AnimatedInterpolation from './nodes/AnimatedInterpolation';\nimport AnimatedModulo from './nodes/AnimatedModulo';\nimport AnimatedMultiplication from './nodes/AnimatedMultiplication';\nimport AnimatedNode from './nodes/AnimatedNode';\nimport AnimatedSubtraction from './nodes/AnimatedSubtraction';\nimport AnimatedTracking from './nodes/AnimatedTracking';\nimport AnimatedValue from './nodes/AnimatedValue';\nimport AnimatedValueXY from './nodes/AnimatedValueXY';\n\nexport type CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n ...\n};\n\nconst add = function (\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedAddition {\n return new AnimatedAddition(a, b);\n};\n\nconst subtract = function (\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedSubtraction {\n return new AnimatedSubtraction(a, b);\n};\n\nconst divide = function (\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedDivision {\n return new AnimatedDivision(a, b);\n};\n\nconst multiply = function (\n a: AnimatedNode | number,\n b: AnimatedNode | number,\n): AnimatedMultiplication {\n return new AnimatedMultiplication(a, b);\n};\n\nconst modulo = function (a: AnimatedNode, modulus: number): AnimatedModulo {\n return new AnimatedModulo(a, modulus);\n};\n\nconst diffClamp = function (\n a: AnimatedNode,\n min: number,\n max: number,\n): AnimatedDiffClamp {\n return new AnimatedDiffClamp(a, min, max);\n};\n\nconst _combineCallbacks = function (\n callback: ?EndCallback,\n config: $ReadOnly<{...AnimationConfig, ...}>,\n) {\n if (callback && config.onComplete) {\n return (...args: Array) => {\n config.onComplete && config.onComplete(...args);\n callback && callback(...args);\n };\n } else {\n return callback || config.onComplete;\n }\n};\n\nconst maybeVectorAnim = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: Object,\n anim: (value: AnimatedValue, config: Object) => CompositeAnimation,\n): ?CompositeAnimation {\n if (value instanceof AnimatedValueXY) {\n const configX = {...config};\n const configY = {...config};\n for (const key in config) {\n const {x, y} = config[key];\n if (x !== undefined && y !== undefined) {\n configX[key] = x;\n configY[key] = y;\n }\n }\n const aX = anim((value: AnimatedValueXY).x, configX);\n const aY = anim((value: AnimatedValueXY).y, configY);\n // We use `stopTogether: false` here because otherwise tracking will break\n // because the second animation will get stopped before it can update.\n return parallel([aX, aY], {stopTogether: false});\n } else if (value instanceof AnimatedColor) {\n const configR = {...config};\n const configG = {...config};\n const configB = {...config};\n const configA = {...config};\n for (const key in config) {\n const {r, g, b, a} = config[key];\n if (\n r !== undefined &&\n g !== undefined &&\n b !== undefined &&\n a !== undefined\n ) {\n configR[key] = r;\n configG[key] = g;\n configB[key] = b;\n configA[key] = a;\n }\n }\n const aR = anim((value: AnimatedColor).r, configR);\n const aG = anim((value: AnimatedColor).g, configG);\n const aB = anim((value: AnimatedColor).b, configB);\n const aA = anim((value: AnimatedColor).a, configA);\n // We use `stopTogether: false` here because otherwise tracking will break\n // because the second animation will get stopped before it can update.\n return parallel([aR, aG, aB, aA], {stopTogether: false});\n }\n return null;\n};\n\nconst spring = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const start = function (\n animatedValue: AnimatedValue | AnimatedValueXY | AnimatedColor,\n configuration: SpringAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n SpringAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new SpringAnimation(singleConfig), callback);\n }\n };\n return (\n maybeVectorAnim(value, config, spring) || {\n start: function (callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function (): void {\n value.stopAnimation();\n },\n\n reset: function (): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function (iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function (): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst timing = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const start = function (\n animatedValue: AnimatedValue | AnimatedValueXY | AnimatedColor,\n configuration: TimingAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n if (configuration.toValue instanceof AnimatedNode) {\n singleValue.track(\n new AnimatedTracking(\n singleValue,\n configuration.toValue,\n TimingAnimation,\n singleConfig,\n callback,\n ),\n );\n } else {\n singleValue.animate(new TimingAnimation(singleConfig), callback);\n }\n };\n\n return (\n maybeVectorAnim(value, config, timing) || {\n start: function (callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function (): void {\n value.stopAnimation();\n },\n\n reset: function (): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function (iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function (): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst decay = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n const start = function (\n animatedValue: AnimatedValue | AnimatedValueXY | AnimatedColor,\n configuration: DecayAnimationConfig,\n callback?: ?EndCallback,\n ): void {\n callback = _combineCallbacks(callback, configuration);\n const singleValue: any = animatedValue;\n const singleConfig: any = configuration;\n singleValue.stopTracking();\n singleValue.animate(new DecayAnimation(singleConfig), callback);\n };\n\n return (\n maybeVectorAnim(value, config, decay) || {\n start: function (callback?: ?EndCallback): void {\n start(value, config, callback);\n },\n\n stop: function (): void {\n value.stopAnimation();\n },\n\n reset: function (): void {\n value.resetAnimation();\n },\n\n _startNativeLoop: function (iterations?: number): void {\n const singleConfig = {...config, iterations};\n start(value, singleConfig);\n },\n\n _isUsingNativeDriver: function (): boolean {\n return config.useNativeDriver || false;\n },\n }\n );\n};\n\nconst sequence = function (\n animations: Array,\n): CompositeAnimation {\n let current = 0;\n return {\n start: function (callback?: ?EndCallback) {\n const onComplete = function (result: EndResult) {\n if (!result.finished) {\n callback && callback(result);\n return;\n }\n\n current++;\n\n if (current === animations.length) {\n callback && callback(result);\n return;\n }\n\n animations[current].start(onComplete);\n };\n\n if (animations.length === 0) {\n callback && callback({finished: true});\n } else {\n animations[current].start(onComplete);\n }\n },\n\n stop: function () {\n if (current < animations.length) {\n animations[current].stop();\n }\n },\n\n reset: function () {\n animations.forEach((animation, idx) => {\n if (idx <= current) {\n animation.reset();\n }\n });\n current = 0;\n },\n\n _startNativeLoop: function () {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.sequence animations',\n );\n },\n\n _isUsingNativeDriver: function (): boolean {\n return false;\n },\n };\n};\n\ntype ParallelConfig = {\n // If one is stopped, stop all. default: true\n stopTogether?: boolean,\n ...\n};\nconst parallel = function (\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n let doneCount = 0;\n // Make sure we only call stop() at most once for each animation\n const hasEnded: {[number]: boolean} = {};\n const stopTogether = !(config && config.stopTogether === false);\n\n const result = {\n start: function (callback?: ?EndCallback) {\n if (doneCount === animations.length) {\n callback && callback({finished: true});\n return;\n }\n\n animations.forEach((animation, idx) => {\n const cb = function (endResult: EndResult | {finished: boolean}) {\n hasEnded[idx] = true;\n doneCount++;\n if (doneCount === animations.length) {\n doneCount = 0;\n callback && callback(endResult);\n return;\n }\n\n if (!endResult.finished && stopTogether) {\n result.stop();\n }\n };\n\n if (!animation) {\n cb({finished: true});\n } else {\n animation.start(cb);\n }\n });\n },\n\n stop: function (): void {\n animations.forEach((animation, idx) => {\n !hasEnded[idx] && animation.stop();\n hasEnded[idx] = true;\n });\n },\n\n reset: function (): void {\n animations.forEach((animation, idx) => {\n animation.reset();\n hasEnded[idx] = false;\n doneCount = 0;\n });\n },\n\n _startNativeLoop: function (): empty {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.parallel animations',\n );\n },\n\n _isUsingNativeDriver: function (): boolean {\n return false;\n },\n };\n\n return result;\n};\n\nconst delay = function (time: number): CompositeAnimation {\n // Would be nice to make a specialized implementation\n return timing(new AnimatedValue(0), {\n toValue: 0,\n delay: time,\n duration: 0,\n useNativeDriver: false,\n });\n};\n\nconst stagger = function (\n time: number,\n animations: Array,\n): CompositeAnimation {\n return parallel(\n animations.map((animation, i) => {\n return sequence([delay(time * i), animation]);\n }),\n );\n};\n\ntype LoopAnimationConfig = {\n iterations: number,\n resetBeforeIteration?: boolean,\n ...\n};\n\nconst loop = function (\n animation: CompositeAnimation,\n // $FlowFixMe[prop-missing]\n {iterations = -1, resetBeforeIteration = true}: LoopAnimationConfig = {},\n): CompositeAnimation {\n let isFinished = false;\n let iterationsSoFar = 0;\n return {\n start: function (callback?: ?EndCallback) {\n const restart = function (result: EndResult = {finished: true}): void {\n if (\n isFinished ||\n iterationsSoFar === iterations ||\n result.finished === false\n ) {\n callback && callback(result);\n } else {\n iterationsSoFar++;\n resetBeforeIteration && animation.reset();\n animation.start(restart);\n }\n };\n if (!animation || iterations === 0) {\n callback && callback({finished: true});\n } else {\n if (animation._isUsingNativeDriver()) {\n animation._startNativeLoop(iterations);\n } else {\n restart(); // Start looping recursively on the js thread\n }\n }\n },\n\n stop: function (): void {\n isFinished = true;\n animation.stop();\n },\n\n reset: function (): void {\n iterationsSoFar = 0;\n isFinished = false;\n animation.reset();\n },\n\n _startNativeLoop: function () {\n throw new Error(\n 'Loops run using the native driver cannot contain Animated.loop animations',\n );\n },\n\n _isUsingNativeDriver: function (): boolean {\n return animation._isUsingNativeDriver();\n },\n };\n};\n\nfunction forkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): AnimatedEvent | Function {\n if (!event) {\n return listener;\n } else if (event instanceof AnimatedEvent) {\n event.__addListener(listener);\n return event;\n } else {\n return (...args) => {\n typeof event === 'function' && event(...args);\n listener(...args);\n };\n }\n}\n\nfunction unforkEvent(\n event: ?AnimatedEvent | ?Function,\n listener: Function,\n): void {\n if (event && event instanceof AnimatedEvent) {\n event.__removeListener(listener);\n }\n}\n\nconst event = function (\n argMapping: $ReadOnlyArray,\n config: EventConfig,\n): any {\n const animatedEvent = new AnimatedEvent(argMapping, config);\n if (animatedEvent.__isNative) {\n return animatedEvent;\n } else {\n return animatedEvent.__getHandler();\n }\n};\n\n// All types of animated nodes that represent scalar numbers and can be interpolated (etc)\ntype AnimatedNumeric =\n | AnimatedAddition\n | AnimatedDiffClamp\n | AnimatedDivision\n | AnimatedInterpolation\n | AnimatedModulo\n | AnimatedMultiplication\n | AnimatedSubtraction\n | AnimatedValue;\n\nexport type {AnimatedNumeric as Numeric};\n\n/**\n * The `Animated` library is designed to make animations fluid, powerful, and\n * easy to build and maintain. `Animated` focuses on declarative relationships\n * between inputs and outputs, with configurable transforms in between, and\n * simple `start`/`stop` methods to control time-based animation execution.\n * If additional transforms are added, be sure to include them in\n * AnimatedMock.js as well.\n *\n * See https://reactnative.dev/docs/animated\n */\nexport default {\n /**\n * Standard value class for driving animations. Typically initialized with\n * `new Animated.Value(0);`\n *\n * See https://reactnative.dev/docs/animated#value\n */\n Value: AnimatedValue,\n /**\n * 2D value class for driving 2D animations, such as pan gestures.\n *\n * See https://reactnative.dev/docs/animatedvaluexy\n */\n ValueXY: AnimatedValueXY,\n /**\n * Value class for driving color animations.\n */\n Color: AnimatedColor,\n /**\n * Exported to use the Interpolation type in flow.\n *\n * See https://reactnative.dev/docs/animated#interpolation\n */\n Interpolation: AnimatedInterpolation,\n /**\n * Exported for ease of type checking. All animated values derive from this\n * class.\n *\n * See https://reactnative.dev/docs/animated#node\n */\n Node: AnimatedNode,\n\n /**\n * Animates a value from an initial velocity to zero based on a decay\n * coefficient.\n *\n * See https://reactnative.dev/docs/animated#decay\n */\n decay,\n /**\n * Animates a value along a timed easing curve. The Easing module has tons of\n * predefined curves, or you can use your own function.\n *\n * See https://reactnative.dev/docs/animated#timing\n */\n timing,\n /**\n * Animates a value according to an analytical spring model based on\n * damped harmonic oscillation.\n *\n * See https://reactnative.dev/docs/animated#spring\n */\n spring,\n\n /**\n * Creates a new Animated value composed from two Animated values added\n * together.\n *\n * See https://reactnative.dev/docs/animated#add\n */\n add,\n\n /**\n * Creates a new Animated value composed by subtracting the second Animated\n * value from the first Animated value.\n *\n * See https://reactnative.dev/docs/animated#subtract\n */\n subtract,\n\n /**\n * Creates a new Animated value composed by dividing the first Animated value\n * by the second Animated value.\n *\n * See https://reactnative.dev/docs/animated#divide\n */\n divide,\n\n /**\n * Creates a new Animated value composed from two Animated values multiplied\n * together.\n *\n * See https://reactnative.dev/docs/animated#multiply\n */\n multiply,\n\n /**\n * Creates a new Animated value that is the (non-negative) modulo of the\n * provided Animated value.\n *\n * See https://reactnative.dev/docs/animated#modulo\n */\n modulo,\n\n /**\n * Create a new Animated value that is limited between 2 values. It uses the\n * difference between the last value so even if the value is far from the\n * bounds it will start changing when the value starts getting closer again.\n *\n * See https://reactnative.dev/docs/animated#diffclamp\n */\n diffClamp,\n\n /**\n * Starts an animation after the given delay.\n *\n * See https://reactnative.dev/docs/animated#delay\n */\n delay,\n /**\n * Starts an array of animations in order, waiting for each to complete\n * before starting the next. If the current running animation is stopped, no\n * following animations will be started.\n *\n * See https://reactnative.dev/docs/animated#sequence\n */\n sequence,\n /**\n * Starts an array of animations all at the same time. By default, if one\n * of the animations is stopped, they will all be stopped. You can override\n * this with the `stopTogether` flag.\n *\n * See https://reactnative.dev/docs/animated#parallel\n */\n parallel,\n /**\n * Array of animations may run in parallel (overlap), but are started in\n * sequence with successive delays. Nice for doing trailing effects.\n *\n * See https://reactnative.dev/docs/animated#stagger\n */\n stagger,\n /**\n * Loops a given animation continuously, so that each time it reaches the\n * end, it resets and begins again from the start.\n *\n * See https://reactnative.dev/docs/animated#loop\n */\n loop,\n\n /**\n * Takes an array of mappings and extracts values from each arg accordingly,\n * then calls `setValue` on the mapped outputs.\n *\n * See https://reactnative.dev/docs/animated#event\n */\n event,\n\n /**\n * Make any React component Animatable. Used to create `Animated.View`, etc.\n *\n * See https://reactnative.dev/docs/animated#createanimatedcomponent\n */\n createAnimatedComponent,\n\n /**\n * Imperative API to attach an animated value to an event on a view. Prefer\n * using `Animated.event` with `useNativeDrive: true` if possible.\n *\n * See https://reactnative.dev/docs/animated#attachnativeevent\n */\n attachNativeEvent,\n\n /**\n * Advanced imperative API for snooping on animated events that are passed in\n * through props. Use values directly where possible.\n *\n * See https://reactnative.dev/docs/animated#forkevent\n */\n forkEvent,\n unforkEvent,\n\n /**\n * Expose Event class, so it can be used as a type for type checkers.\n */\n Event: AnimatedEvent,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type AnimatedValue from '../nodes/AnimatedValue';\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport Animation from './Animation';\n\nexport type DecayAnimationConfig = {\n ...AnimationConfig,\n velocity:\n | number\n | {\n x: number,\n y: number,\n ...\n },\n deceleration?: number,\n};\n\nexport type DecayAnimationConfigSingle = {\n ...AnimationConfig,\n velocity: number,\n deceleration?: number,\n};\n\nexport default class DecayAnimation extends Animation {\n _startTime: number;\n _lastValue: number;\n _fromValue: number;\n _deceleration: number;\n _velocity: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n _platformConfig: ?PlatformConfig;\n\n constructor(config: DecayAnimationConfigSingle) {\n super();\n this._deceleration = config.deceleration ?? 0.998;\n this._velocity = config.velocity;\n this._useNativeDriver = NativeAnimatedHelper.shouldUseNativeDriver(config);\n this._platformConfig = config.platformConfig;\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n }\n\n __getNativeAnimationConfig(): {|\n deceleration: number,\n iterations: number,\n platformConfig: ?PlatformConfig,\n type: $TEMPORARY$string<'decay'>,\n velocity: number,\n |} {\n return {\n type: 'decay',\n deceleration: this._deceleration,\n velocity: this._velocity,\n iterations: this.__iterations,\n platformConfig: this._platformConfig,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._lastValue = fromValue;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n\n const value =\n this._fromValue +\n (this._velocity / (1 - this._deceleration)) *\n (1 - Math.exp(-(1 - this._deceleration) * (now - this._startTime)));\n\n this._onUpdate(value);\n\n if (Math.abs(this._lastValue - value) < 0.1) {\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._lastValue = value;\n if (this.__active) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\nimport type {EventConfig} from './AnimatedEvent';\nimport type {AnimationConfig, EndCallback} from './animations/Animation';\nimport type {\n AnimatedNodeConfig,\n AnimatingNodeConfig,\n EventMapping,\n} from './NativeAnimatedModule';\nimport type {InterpolationConfigType} from './nodes/AnimatedInterpolation';\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport ReactNativeFeatureFlags from '../ReactNative/ReactNativeFeatureFlags';\nimport Platform from '../Utilities/Platform';\nimport NativeAnimatedNonTurboModule from './NativeAnimatedModule';\nimport NativeAnimatedTurboModule from './NativeAnimatedTurboModule';\nimport invariant from 'invariant';\n\n// TODO T69437152 @petetheheat - Delete this fork when Fabric ships to 100%.\nconst NativeAnimatedModule =\n Platform.OS === 'ios' && global.RN$Bridgeless === true\n ? NativeAnimatedTurboModule\n : NativeAnimatedNonTurboModule;\n\nlet __nativeAnimatedNodeTagCount = 1; /* used for animated nodes */\nlet __nativeAnimationIdCount = 1; /* used for started animations */\n\nlet nativeEventEmitter;\n\nlet waitingForQueuedOperations = new Set();\nlet queueOperations = false;\nlet queue: Array<() => void> = [];\n// $FlowFixMe\nlet singleOpQueue: Array = [];\n\nconst useSingleOpBatching =\n Platform.OS === 'android' &&\n !!NativeAnimatedModule?.queueAndExecuteBatchedOperations &&\n ReactNativeFeatureFlags.animatedShouldUseSingleOp();\nlet flushQueueTimeout = null;\n\nconst eventListenerGetValueCallbacks: {\n [$FlowFixMe | number]: ((value: number) => void) | void,\n} = {};\nconst eventListenerAnimationFinishedCallbacks: {\n [$FlowFixMe | number]: EndCallback | void,\n} = {};\nlet globalEventEmitterGetValueListener: ?EventSubscription = null;\nlet globalEventEmitterAnimationFinishedListener: ?EventSubscription = null;\n\nconst nativeOps: ?typeof NativeAnimatedModule = useSingleOpBatching\n ? ((function () {\n const apis = [\n 'createAnimatedNode', // 1\n 'updateAnimatedNodeConfig', // 2\n 'getValue', // 3\n 'startListeningToAnimatedNodeValue', // 4\n 'stopListeningToAnimatedNodeValue', // 5\n 'connectAnimatedNodes', // 6\n 'disconnectAnimatedNodes', // 7\n 'startAnimatingNode', // 8\n 'stopAnimation', // 9\n 'setAnimatedNodeValue', // 10\n 'setAnimatedNodeOffset', // 11\n 'flattenAnimatedNodeOffset', // 12\n 'extractAnimatedNodeOffset', // 13\n 'connectAnimatedNodeToView', // 14\n 'disconnectAnimatedNodeFromView', // 15\n 'restoreDefaultValues', // 16\n 'dropAnimatedNode', // 17\n 'addAnimatedEventToView', // 18\n 'removeAnimatedEventFromView', // 19\n 'addListener', // 20\n 'removeListener', // 21\n ];\n return apis.reduce<{[string]: number}>((acc, functionName, i) => {\n // These indices need to be kept in sync with the indices in native (see NativeAnimatedModule in Java, or the equivalent for any other native platform).\n // $FlowFixMe[prop-missing]\n acc[functionName] = i + 1;\n return acc;\n }, {});\n })(): $FlowFixMe)\n : NativeAnimatedModule;\n\n/**\n * Wrappers around NativeAnimatedModule to provide flow and autocomplete support for\n * the native module methods, and automatic queue management on Android\n */\nconst API = {\n getValue: function (\n tag: number,\n saveValueCallback: (value: number) => void,\n ): void {\n invariant(nativeOps, 'Native animated module is not available');\n if (useSingleOpBatching) {\n if (saveValueCallback) {\n eventListenerGetValueCallbacks[tag] = saveValueCallback;\n }\n // $FlowFixMe\n API.queueOperation(nativeOps.getValue, tag);\n } else {\n API.queueOperation(nativeOps.getValue, tag, saveValueCallback);\n }\n },\n setWaitingForIdentifier: function (id: string): void {\n waitingForQueuedOperations.add(id);\n queueOperations = true;\n if (\n ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush() &&\n flushQueueTimeout\n ) {\n clearTimeout(flushQueueTimeout);\n }\n },\n unsetWaitingForIdentifier: function (id: string): void {\n waitingForQueuedOperations.delete(id);\n\n if (waitingForQueuedOperations.size === 0) {\n queueOperations = false;\n API.disableQueue();\n }\n },\n disableQueue: function (): void {\n invariant(nativeOps, 'Native animated module is not available');\n\n if (ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush()) {\n const prevTimeout = flushQueueTimeout;\n clearImmediate(prevTimeout);\n flushQueueTimeout = setImmediate(API.flushQueue);\n } else {\n API.flushQueue();\n }\n },\n flushQueue: function (): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n flushQueueTimeout = null;\n\n // Early returns before calling any APIs\n if (useSingleOpBatching && singleOpQueue.length === 0) {\n return;\n }\n if (!useSingleOpBatching && queue.length === 0) {\n return;\n }\n\n if (useSingleOpBatching) {\n // Set up event listener for callbacks if it's not set up\n if (\n !globalEventEmitterGetValueListener ||\n !globalEventEmitterAnimationFinishedListener\n ) {\n setupGlobalEventEmitterListeners();\n }\n // Single op batching doesn't use callback functions, instead we\n // use RCTDeviceEventEmitter. This reduces overhead of sending lots of\n // JSI functions across to native code; but also, TM infrastructure currently\n // does not support packing a function into native arrays.\n NativeAnimatedModule.queueAndExecuteBatchedOperations?.(singleOpQueue);\n singleOpQueue.length = 0;\n } else {\n Platform.OS === 'android' && NativeAnimatedModule.startOperationBatch?.();\n for (let q = 0, l = queue.length; q < l; q++) {\n queue[q]();\n }\n queue.length = 0;\n Platform.OS === 'android' &&\n NativeAnimatedModule.finishOperationBatch?.();\n }\n },\n queueOperation: , Fn: (...Args) => void>(\n fn: Fn,\n ...args: Args\n ): void => {\n if (useSingleOpBatching) {\n // Get the command ID from the queued function, and push that ID and any arguments needed to execute the operation\n // $FlowFixMe: surprise, fn is actually a number\n singleOpQueue.push(fn, ...args);\n return;\n }\n\n // If queueing is explicitly on, *or* the queue has not yet\n // been flushed, use the queue. This is to prevent operations\n // from being executed out of order.\n if (queueOperations || queue.length !== 0) {\n queue.push(() => fn(...args));\n } else {\n fn(...args);\n }\n },\n createAnimatedNode: function (tag: number, config: AnimatedNodeConfig): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.createAnimatedNode, tag, config);\n },\n updateAnimatedNodeConfig: function (\n tag: number,\n config: AnimatedNodeConfig,\n ): void {\n invariant(nativeOps, 'Native animated module is not available');\n if (nativeOps.updateAnimatedNodeConfig) {\n API.queueOperation(nativeOps.updateAnimatedNodeConfig, tag, config);\n }\n },\n startListeningToAnimatedNodeValue: function (tag: number) {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.startListeningToAnimatedNodeValue, tag);\n },\n stopListeningToAnimatedNodeValue: function (tag: number) {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.stopListeningToAnimatedNodeValue, tag);\n },\n connectAnimatedNodes: function (parentTag: number, childTag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.connectAnimatedNodes, parentTag, childTag);\n },\n disconnectAnimatedNodes: function (\n parentTag: number,\n childTag: number,\n ): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.disconnectAnimatedNodes, parentTag, childTag);\n },\n startAnimatingNode: function (\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ): void {\n invariant(nativeOps, 'Native animated module is not available');\n if (useSingleOpBatching) {\n if (endCallback) {\n eventListenerAnimationFinishedCallbacks[animationId] = endCallback;\n }\n // $FlowFixMe\n API.queueOperation(\n nativeOps.startAnimatingNode,\n animationId,\n nodeTag,\n config,\n );\n } else {\n API.queueOperation(\n nativeOps.startAnimatingNode,\n animationId,\n nodeTag,\n config,\n endCallback,\n );\n }\n },\n stopAnimation: function (animationId: number) {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.stopAnimation, animationId);\n },\n setAnimatedNodeValue: function (nodeTag: number, value: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.setAnimatedNodeValue, nodeTag, value);\n },\n setAnimatedNodeOffset: function (nodeTag: number, offset: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.setAnimatedNodeOffset, nodeTag, offset);\n },\n flattenAnimatedNodeOffset: function (nodeTag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.flattenAnimatedNodeOffset, nodeTag);\n },\n extractAnimatedNodeOffset: function (nodeTag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.extractAnimatedNodeOffset, nodeTag);\n },\n connectAnimatedNodeToView: function (nodeTag: number, viewTag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.connectAnimatedNodeToView, nodeTag, viewTag);\n },\n disconnectAnimatedNodeFromView: function (\n nodeTag: number,\n viewTag: number,\n ): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(\n nativeOps.disconnectAnimatedNodeFromView,\n nodeTag,\n viewTag,\n );\n },\n restoreDefaultValues: function (nodeTag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n // Backwards compat with older native runtimes, can be removed later.\n if (nativeOps.restoreDefaultValues != null) {\n API.queueOperation(nativeOps.restoreDefaultValues, nodeTag);\n }\n },\n dropAnimatedNode: function (tag: number): void {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(nativeOps.dropAnimatedNode, tag);\n },\n addAnimatedEventToView: function (\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(\n nativeOps.addAnimatedEventToView,\n viewTag,\n eventName,\n eventMapping,\n );\n },\n removeAnimatedEventFromView(\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) {\n invariant(nativeOps, 'Native animated module is not available');\n API.queueOperation(\n nativeOps.removeAnimatedEventFromView,\n viewTag,\n eventName,\n animatedNodeTag,\n );\n },\n};\n\nfunction setupGlobalEventEmitterListeners() {\n globalEventEmitterGetValueListener = RCTDeviceEventEmitter.addListener(\n 'onNativeAnimatedModuleGetValue',\n function (params) {\n const {tag} = params;\n const callback = eventListenerGetValueCallbacks[tag];\n if (!callback) {\n return;\n }\n callback(params.value);\n delete eventListenerGetValueCallbacks[tag];\n },\n );\n globalEventEmitterAnimationFinishedListener =\n RCTDeviceEventEmitter.addListener(\n 'onNativeAnimatedModuleAnimationFinished',\n function (params) {\n const {animationId} = params;\n const callback = eventListenerAnimationFinishedCallbacks[animationId];\n if (!callback) {\n return;\n }\n callback(params);\n delete eventListenerAnimationFinishedCallbacks[animationId];\n },\n );\n}\n\n/**\n * Styles allowed by the native animated implementation.\n *\n * In general native animated implementation should support any numeric or color property that\n * doesn't need to be updated through the shadow view hierarchy (all non-layout properties).\n */\nconst SUPPORTED_COLOR_STYLES = {\n backgroundColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderRightColor: true,\n borderStartColor: true,\n borderTopColor: true,\n color: true,\n tintColor: true,\n};\n\nconst SUPPORTED_STYLES = {\n ...SUPPORTED_COLOR_STYLES,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n elevation: true,\n opacity: true,\n transform: true,\n zIndex: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\nconst SUPPORTED_TRANSFORMS = {\n translateX: true,\n translateY: true,\n scale: true,\n scaleX: true,\n scaleY: true,\n rotate: true,\n rotateX: true,\n rotateY: true,\n rotateZ: true,\n perspective: true,\n};\n\nconst SUPPORTED_INTERPOLATION_PARAMS = {\n inputRange: true,\n outputRange: true,\n extrapolate: true,\n extrapolateRight: true,\n extrapolateLeft: true,\n};\n\nfunction addWhitelistedStyleProp(prop: string): void {\n // $FlowFixMe[prop-missing]\n SUPPORTED_STYLES[prop] = true;\n}\n\nfunction addWhitelistedTransformProp(prop: string): void {\n // $FlowFixMe[prop-missing]\n SUPPORTED_TRANSFORMS[prop] = true;\n}\n\nfunction addWhitelistedInterpolationParam(param: string): void {\n // $FlowFixMe[prop-missing]\n SUPPORTED_INTERPOLATION_PARAMS[param] = true;\n}\n\nfunction isSupportedColorStyleProp(prop: string): boolean {\n return SUPPORTED_COLOR_STYLES.hasOwnProperty(prop);\n}\n\nfunction isSupportedStyleProp(prop: string): boolean {\n return SUPPORTED_STYLES.hasOwnProperty(prop);\n}\n\nfunction isSupportedTransformProp(prop: string): boolean {\n return SUPPORTED_TRANSFORMS.hasOwnProperty(prop);\n}\n\nfunction isSupportedInterpolationParam(param: string): boolean {\n return SUPPORTED_INTERPOLATION_PARAMS.hasOwnProperty(param);\n}\n\nfunction validateTransform(\n configs: Array<\n | {\n type: 'animated',\n property: string,\n nodeTag: ?number,\n ...\n }\n | {\n type: 'static',\n property: string,\n value: number | string,\n ...\n },\n >,\n): void {\n configs.forEach(config => {\n if (!isSupportedTransformProp(config.property)) {\n throw new Error(\n `Property '${config.property}' is not supported by native animated module`,\n );\n }\n });\n}\n\nfunction validateStyles(styles: {[key: string]: ?number, ...}): void {\n for (const key in styles) {\n if (!isSupportedStyleProp(key)) {\n throw new Error(\n `Style property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction validateInterpolation(\n config: InterpolationConfigType,\n): void {\n for (const key in config) {\n if (!isSupportedInterpolationParam(key)) {\n throw new Error(\n `Interpolation property '${key}' is not supported by native animated module`,\n );\n }\n }\n}\n\nfunction generateNewNodeTag(): number {\n return __nativeAnimatedNodeTagCount++;\n}\n\nfunction generateNewAnimationId(): number {\n return __nativeAnimationIdCount++;\n}\n\nfunction assertNativeAnimatedModule(): void {\n invariant(NativeAnimatedModule, 'Native animated module is not available');\n}\n\nlet _warnedMissingNativeAnimated = false;\n\nfunction shouldUseNativeDriver(\n config: $ReadOnly<{...AnimationConfig, ...}> | EventConfig,\n): boolean {\n if (config.useNativeDriver == null) {\n console.warn(\n 'Animated: `useNativeDriver` was not specified. This is a required ' +\n 'option and must be explicitly set to `true` or `false`',\n );\n }\n\n if (config.useNativeDriver === true && !NativeAnimatedModule) {\n if (process.env.NODE_ENV !== 'test') {\n if (!_warnedMissingNativeAnimated) {\n console.warn(\n 'Animated: `useNativeDriver` is not supported because the native ' +\n 'animated module is missing. Falling back to JS-based animation. To ' +\n 'resolve this, add `RCTAnimation` module to this app, or remove ' +\n '`useNativeDriver`. ' +\n 'Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md',\n );\n _warnedMissingNativeAnimated = true;\n }\n }\n return false;\n }\n\n return config.useNativeDriver || false;\n}\n\nfunction transformDataType(value: number | string): number | string {\n // Change the string type to number type so we can reuse the same logic in\n // iOS and Android platform\n if (typeof value !== 'string') {\n return value;\n }\n if (/deg$/.test(value)) {\n const degrees = parseFloat(value) || 0;\n const radians = (degrees * Math.PI) / 180.0;\n return radians;\n } else {\n return value;\n }\n}\n\nexport default {\n API,\n isSupportedColorStyleProp,\n isSupportedStyleProp,\n isSupportedTransformProp,\n isSupportedInterpolationParam,\n addWhitelistedStyleProp,\n addWhitelistedTransformProp,\n addWhitelistedInterpolationParam,\n validateStyles,\n validateTransform,\n validateInterpolation,\n generateNewNodeTag,\n generateNewAnimationId,\n assertNativeAnimatedModule,\n shouldUseNativeDriver,\n transformDataType,\n // $FlowExpectedError[unsafe-getters-setters] - unsafe getter lint suppresion\n // $FlowExpectedError[missing-type-arg] - unsafe getter lint suppresion\n get nativeEventEmitter(): NativeEventEmitter {\n if (!nativeEventEmitter) {\n nativeEventEmitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAnimatedModule,\n );\n }\n return nativeEventEmitter;\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype EndResult = {finished: boolean, ...};\ntype EndCallback = (result: EndResult) => void;\ntype SaveValueCallback = (value: number) => void;\n\nexport type EventMapping = {|\n nativeEventPath: Array,\n animatedValueTag: ?number,\n|};\n\n// The config has different keys depending on the type of the Node\n// TODO(T54896888): Make these types strict\nexport type AnimatedNodeConfig = Object;\nexport type AnimatingNodeConfig = Object;\n\nexport interface Spec extends TurboModule {\n +startOperationBatch: () => void;\n +finishOperationBatch: () => void;\n +createAnimatedNode: (tag: number, config: AnimatedNodeConfig) => void;\n +updateAnimatedNodeConfig?: (tag: number, config: AnimatedNodeConfig) => void;\n +getValue: (tag: number, saveValueCallback: SaveValueCallback) => void;\n +startListeningToAnimatedNodeValue: (tag: number) => void;\n +stopListeningToAnimatedNodeValue: (tag: number) => void;\n +connectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +disconnectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +startAnimatingNode: (\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ) => void;\n +stopAnimation: (animationId: number) => void;\n +setAnimatedNodeValue: (nodeTag: number, value: number) => void;\n +setAnimatedNodeOffset: (nodeTag: number, offset: number) => void;\n +flattenAnimatedNodeOffset: (nodeTag: number) => void;\n +extractAnimatedNodeOffset: (nodeTag: number) => void;\n +connectAnimatedNodeToView: (nodeTag: number, viewTag: number) => void;\n +disconnectAnimatedNodeFromView: (nodeTag: number, viewTag: number) => void;\n +restoreDefaultValues: (nodeTag: number) => void;\n +dropAnimatedNode: (tag: number) => void;\n +addAnimatedEventToView: (\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) => void;\n +removeAnimatedEventFromView: (\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n\n // All of the above in a batched mode\n +queueAndExecuteBatchedOperations?: (operationsAndArgs: Array) => void;\n}\n\nexport default (TurboModuleRegistry.get('NativeAnimatedModule'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype EndResult = {finished: boolean, ...};\ntype EndCallback = (result: EndResult) => void;\ntype SaveValueCallback = (value: number) => void;\n\nexport type EventMapping = {|\n nativeEventPath: Array,\n animatedValueTag: ?number,\n|};\n\n// The config has different keys depending on the type of the Node\n// TODO(T54896888): Make these types strict\nexport type AnimatedNodeConfig = Object;\nexport type AnimatingNodeConfig = Object;\n\nexport interface Spec extends TurboModule {\n +startOperationBatch: () => void;\n +finishOperationBatch: () => void;\n +createAnimatedNode: (tag: number, config: AnimatedNodeConfig) => void;\n +updateAnimatedNodeConfig?: (tag: number, config: AnimatedNodeConfig) => void;\n +getValue: (tag: number, saveValueCallback: SaveValueCallback) => void;\n +startListeningToAnimatedNodeValue: (tag: number) => void;\n +stopListeningToAnimatedNodeValue: (tag: number) => void;\n +connectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +disconnectAnimatedNodes: (parentTag: number, childTag: number) => void;\n +startAnimatingNode: (\n animationId: number,\n nodeTag: number,\n config: AnimatingNodeConfig,\n endCallback: EndCallback,\n ) => void;\n +stopAnimation: (animationId: number) => void;\n +setAnimatedNodeValue: (nodeTag: number, value: number) => void;\n +setAnimatedNodeOffset: (nodeTag: number, offset: number) => void;\n +flattenAnimatedNodeOffset: (nodeTag: number) => void;\n +extractAnimatedNodeOffset: (nodeTag: number) => void;\n +connectAnimatedNodeToView: (nodeTag: number, viewTag: number) => void;\n +disconnectAnimatedNodeFromView: (nodeTag: number, viewTag: number) => void;\n +restoreDefaultValues: (nodeTag: number) => void;\n +dropAnimatedNode: (tag: number) => void;\n +addAnimatedEventToView: (\n viewTag: number,\n eventName: string,\n eventMapping: EventMapping,\n ) => void;\n +removeAnimatedEventFromView: (\n viewTag: number,\n eventName: string,\n animatedNodeTag: number,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n\n // All of the above in a batched mode\n +queueAndExecuteBatchedOperations?: (operationsAndArgs: Array) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'NativeAnimatedTurboModule',\n): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type AnimatedValue from '../nodes/AnimatedValue';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\n\nexport type EndResult = {finished: boolean, ...};\nexport type EndCallback = (result: EndResult) => void;\n\nexport type AnimationConfig = {\n isInteraction?: boolean,\n useNativeDriver: boolean,\n platformConfig?: PlatformConfig,\n onComplete?: ?EndCallback,\n iterations?: number,\n};\n\nlet startNativeAnimationNextId = 1;\n\n// Important note: start() and stop() will only be called at most once.\n// Once an animation has been stopped or finished its course, it will\n// not be reused.\nexport default class Animation {\n __active: boolean;\n __isInteraction: boolean;\n __nativeId: number;\n __onEnd: ?EndCallback;\n __iterations: number;\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {}\n stop(): void {\n if (this.__nativeId) {\n NativeAnimatedHelper.API.stopAnimation(this.__nativeId);\n }\n }\n __getNativeAnimationConfig(): any {\n // Subclasses that have corresponding animation implementation done in native\n // should override this method\n throw new Error('This animation type cannot be offloaded to native');\n }\n // Helper function for subclasses to make sure onEnd is only called once.\n __debouncedOnEnd(result: EndResult): void {\n const onEnd = this.__onEnd;\n this.__onEnd = null;\n onEnd && onEnd(result);\n }\n __startNativeAnimation(animatedValue: AnimatedValue): void {\n const startNativeAnimationWaitId = `${startNativeAnimationNextId}:startAnimation`;\n startNativeAnimationNextId += 1;\n NativeAnimatedHelper.API.setWaitingForIdentifier(\n startNativeAnimationWaitId,\n );\n try {\n const config = this.__getNativeAnimationConfig();\n animatedValue.__makeNative(config.platformConfig);\n this.__nativeId = NativeAnimatedHelper.generateNewAnimationId();\n NativeAnimatedHelper.API.startAnimatingNode(\n this.__nativeId,\n animatedValue.__getNativeTag(),\n config,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.__debouncedOnEnd.bind(this),\n );\n } catch (e) {\n throw e;\n } finally {\n NativeAnimatedHelper.API.unsetWaitingForIdentifier(\n startNativeAnimationWaitId,\n );\n }\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type AnimatedInterpolation from '../nodes/AnimatedInterpolation';\nimport type AnimatedValue from '../nodes/AnimatedValue';\nimport type AnimatedValueXY from '../nodes/AnimatedValueXY';\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedColor from '../nodes/AnimatedColor';\nimport * as SpringConfig from '../SpringConfig';\nimport Animation from './Animation';\nimport invariant from 'invariant';\n\nexport type SpringAnimationConfig = {\n ...AnimationConfig,\n toValue:\n | number\n | AnimatedValue\n | {\n x: number,\n y: number,\n ...\n }\n | AnimatedValueXY\n | {\n r: number,\n g: number,\n b: number,\n a: number,\n ...\n }\n | AnimatedColor\n | AnimatedInterpolation,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?:\n | number\n | {\n x: number,\n y: number,\n ...\n },\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nexport type SpringAnimationConfigSingle = {\n ...AnimationConfig,\n toValue: number,\n overshootClamping?: boolean,\n restDisplacementThreshold?: number,\n restSpeedThreshold?: number,\n velocity?: number,\n bounciness?: number,\n speed?: number,\n tension?: number,\n friction?: number,\n stiffness?: number,\n damping?: number,\n mass?: number,\n delay?: number,\n};\n\nexport default class SpringAnimation extends Animation {\n _overshootClamping: boolean;\n _restDisplacementThreshold: number;\n _restSpeedThreshold: number;\n _lastVelocity: number;\n _startPosition: number;\n _lastPosition: number;\n _fromValue: number;\n _toValue: number;\n _stiffness: number;\n _damping: number;\n _mass: number;\n _initialVelocity: number;\n _delay: number;\n _timeout: any;\n _startTime: number;\n _lastTime: number;\n _frameTime: number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _useNativeDriver: boolean;\n _platformConfig: ?PlatformConfig;\n\n constructor(config: SpringAnimationConfigSingle) {\n super();\n\n this._overshootClamping = config.overshootClamping ?? false;\n this._restDisplacementThreshold = config.restDisplacementThreshold ?? 0.001;\n this._restSpeedThreshold = config.restSpeedThreshold ?? 0.001;\n this._initialVelocity = config.velocity ?? 0;\n this._lastVelocity = config.velocity ?? 0;\n this._toValue = config.toValue;\n this._delay = config.delay ?? 0;\n this._useNativeDriver = NativeAnimatedHelper.shouldUseNativeDriver(config);\n this._platformConfig = config.platformConfig;\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n this.__iterations = config.iterations ?? 1;\n\n if (\n config.stiffness !== undefined ||\n config.damping !== undefined ||\n config.mass !== undefined\n ) {\n invariant(\n config.bounciness === undefined &&\n config.speed === undefined &&\n config.tension === undefined &&\n config.friction === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n this._stiffness = config.stiffness ?? 100;\n this._damping = config.damping ?? 10;\n this._mass = config.mass ?? 1;\n } else if (config.bounciness !== undefined || config.speed !== undefined) {\n // Convert the origami bounciness/speed values to stiffness/damping\n // We assume mass is 1.\n invariant(\n config.tension === undefined &&\n config.friction === undefined &&\n config.stiffness === undefined &&\n config.damping === undefined &&\n config.mass === undefined,\n 'You can define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one',\n );\n const springConfig = SpringConfig.fromBouncinessAndSpeed(\n config.bounciness ?? 8,\n config.speed ?? 12,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n } else {\n // Convert the origami tension/friction values to stiffness/damping\n // We assume mass is 1.\n const springConfig = SpringConfig.fromOrigamiTensionAndFriction(\n config.tension ?? 40,\n config.friction ?? 7,\n );\n this._stiffness = springConfig.stiffness;\n this._damping = springConfig.damping;\n this._mass = 1;\n }\n\n invariant(this._stiffness > 0, 'Stiffness value must be greater than 0');\n invariant(this._damping > 0, 'Damping value must be greater than 0');\n invariant(this._mass > 0, 'Mass value must be greater than 0');\n }\n\n __getNativeAnimationConfig(): {|\n damping: number,\n initialVelocity: number,\n iterations: number,\n mass: number,\n platformConfig: ?PlatformConfig,\n overshootClamping: boolean,\n restDisplacementThreshold: number,\n restSpeedThreshold: number,\n stiffness: number,\n toValue: any,\n type: $TEMPORARY$string<'spring'>,\n |} {\n return {\n type: 'spring',\n overshootClamping: this._overshootClamping,\n restDisplacementThreshold: this._restDisplacementThreshold,\n restSpeedThreshold: this._restSpeedThreshold,\n stiffness: this._stiffness,\n damping: this._damping,\n mass: this._mass,\n initialVelocity: this._initialVelocity ?? this._lastVelocity,\n toValue: this._toValue,\n iterations: this.__iterations,\n platformConfig: this._platformConfig,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._startPosition = fromValue;\n this._lastPosition = this._startPosition;\n\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n this._lastTime = Date.now();\n this._frameTime = 0.0;\n\n if (previousAnimation instanceof SpringAnimation) {\n const internalState = previousAnimation.getInternalState();\n this._lastPosition = internalState.lastPosition;\n this._lastVelocity = internalState.lastVelocity;\n // Set the initial velocity to the last velocity\n this._initialVelocity = this._lastVelocity;\n this._lastTime = internalState.lastTime;\n }\n\n const start = () => {\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this.onUpdate();\n }\n };\n\n // If this._delay is more than 0, we start after the timeout.\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n getInternalState(): Object {\n return {\n lastPosition: this._lastPosition,\n lastVelocity: this._lastVelocity,\n lastTime: this._lastTime,\n };\n }\n\n /**\n * This spring model is based off of a damped harmonic oscillator\n * (https://en.wikipedia.org/wiki/Harmonic_oscillator#Damped_harmonic_oscillator).\n *\n * We use the closed form of the second order differential equation:\n *\n * x'' + (2ζ⍵_0)x' + ⍵^2x = 0\n *\n * where\n * ⍵_0 = √(k / m) (undamped angular frequency of the oscillator),\n * ζ = c / 2√mk (damping ratio),\n * c = damping constant\n * k = stiffness\n * m = mass\n *\n * The derivation of the closed form is described in detail here:\n * http://planetmath.org/sites/default/files/texpdf/39745.pdf\n *\n * This algorithm happens to match the algorithm used by CASpringAnimation,\n * a QuartzCore (iOS) API that creates spring animations.\n */\n onUpdate(): void {\n // If for some reason we lost a lot of frames (e.g. process large payload or\n // stopped in the debugger), we only advance by 4 frames worth of\n // computation and will continue on the next frame. It's better to have it\n // running at faster speed than jumping to the end.\n const MAX_STEPS = 64;\n let now = Date.now();\n if (now > this._lastTime + MAX_STEPS) {\n now = this._lastTime + MAX_STEPS;\n }\n\n const deltaTime = (now - this._lastTime) / 1000;\n this._frameTime += deltaTime;\n\n const c: number = this._damping;\n const m: number = this._mass;\n const k: number = this._stiffness;\n const v0: number = -this._initialVelocity;\n\n const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = omega0 * Math.sqrt(1.0 - zeta * zeta); // exponential decay\n const x0 = this._toValue - this._startPosition; // calculate the oscillation from x0 = 1 to x = 0\n\n let position = 0.0;\n let velocity = 0.0;\n const t = this._frameTime;\n if (zeta < 1) {\n // Under damped\n const envelope = Math.exp(-zeta * omega0 * t);\n position =\n this._toValue -\n envelope *\n (((v0 + zeta * omega0 * x0) / omega1) * Math.sin(omega1 * t) +\n x0 * Math.cos(omega1 * t));\n // This looks crazy -- it's actually just the derivative of the\n // oscillation function\n velocity =\n zeta *\n omega0 *\n envelope *\n ((Math.sin(omega1 * t) * (v0 + zeta * omega0 * x0)) / omega1 +\n x0 * Math.cos(omega1 * t)) -\n envelope *\n (Math.cos(omega1 * t) * (v0 + zeta * omega0 * x0) -\n omega1 * x0 * Math.sin(omega1 * t));\n } else {\n // Critically damped\n const envelope = Math.exp(-omega0 * t);\n position = this._toValue - envelope * (x0 + (v0 + omega0 * x0) * t);\n velocity =\n envelope * (v0 * (t * omega0 - 1) + t * x0 * (omega0 * omega0));\n }\n\n this._lastTime = now;\n this._lastPosition = position;\n this._lastVelocity = velocity;\n\n this._onUpdate(position);\n if (!this.__active) {\n // a listener might have stopped us in _onUpdate\n return;\n }\n\n // Conditions for stopping the spring animation\n let isOvershooting = false;\n if (this._overshootClamping && this._stiffness !== 0) {\n if (this._startPosition < this._toValue) {\n isOvershooting = position > this._toValue;\n } else {\n isOvershooting = position < this._toValue;\n }\n }\n const isVelocity = Math.abs(velocity) <= this._restSpeedThreshold;\n let isDisplacement = true;\n if (this._stiffness !== 0) {\n isDisplacement =\n Math.abs(this._toValue - position) <= this._restDisplacementThreshold;\n }\n\n if (isOvershooting || (isVelocity && isDisplacement)) {\n if (this._stiffness !== 0) {\n // Ensure that we end up with a round value\n this._lastPosition = this._toValue;\n this._lastVelocity = 0;\n this._onUpdate(this._toValue);\n }\n\n this.__debouncedOnEnd({finished: true});\n return;\n }\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {NativeColorValue} from '../../StyleSheet/PlatformColorValueTypes';\nimport type {ProcessedColorValue} from '../../StyleSheet/processColor';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport normalizeColor from '../../StyleSheet/normalizeColor';\nimport {processColorObject} from '../../StyleSheet/PlatformColorValueTypes';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport type AnimatedColorConfig = $ReadOnly<{\n useNativeDriver: boolean,\n}>;\n\ntype ColorListenerCallback = (value: ColorValue) => mixed;\n\nexport type RgbaValue = {\n +r: number,\n +g: number,\n +b: number,\n +a: number,\n ...\n};\n\ntype RgbaAnimatedValue = {\n +r: AnimatedValue,\n +g: AnimatedValue,\n +b: AnimatedValue,\n +a: AnimatedValue,\n ...\n};\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\n\nconst defaultColor: RgbaValue = {r: 0, g: 0, b: 0, a: 1.0};\nlet _uniqueId = 1;\n\n/* eslint no-bitwise: 0 */\nfunction processColor(\n color?: ?(ColorValue | RgbaValue),\n): ?(RgbaValue | NativeColorValue) {\n if (color === undefined || color === null) {\n return null;\n }\n\n if (isRgbaValue(color)) {\n // $FlowIgnore[incompatible-cast] - Type is verified above\n return (color: RgbaValue);\n }\n\n let normalizedColor: ?ProcessedColorValue = normalizeColor(\n // $FlowIgnore[incompatible-cast] - Type is verified above\n (color: ColorValue),\n );\n if (normalizedColor === undefined || normalizedColor === null) {\n return null;\n }\n\n if (typeof normalizedColor === 'object') {\n const processedColorObj: ?NativeColorValue =\n processColorObject(normalizedColor);\n if (processedColorObj != null) {\n return processedColorObj;\n }\n } else if (typeof normalizedColor === 'number') {\n const r: number = (normalizedColor & 0xff000000) >>> 24;\n const g: number = (normalizedColor & 0x00ff0000) >>> 16;\n const b: number = (normalizedColor & 0x0000ff00) >>> 8;\n const a: number = (normalizedColor & 0x000000ff) / 255;\n\n return {r, g, b, a};\n }\n\n return null;\n}\n\nfunction isRgbaValue(value: any): boolean {\n return (\n value &&\n typeof value.r === 'number' &&\n typeof value.g === 'number' &&\n typeof value.b === 'number' &&\n typeof value.a === 'number'\n );\n}\n\nfunction isRgbaAnimatedValue(value: any): boolean {\n return (\n value &&\n value.r instanceof AnimatedValue &&\n value.g instanceof AnimatedValue &&\n value.b instanceof AnimatedValue &&\n value.a instanceof AnimatedValue\n );\n}\n\nexport default class AnimatedColor extends AnimatedWithChildren {\n r: AnimatedValue;\n g: AnimatedValue;\n b: AnimatedValue;\n a: AnimatedValue;\n nativeColor: ?NativeColorValue;\n _listeners: {\n [key: string]: {\n r: string,\n g: string,\n b: string,\n a: string,\n ...\n },\n ...\n } = {};\n\n constructor(\n valueIn?: ?(RgbaValue | RgbaAnimatedValue | ColorValue),\n config?: ?AnimatedColorConfig,\n ) {\n super();\n let value: RgbaValue | RgbaAnimatedValue | ColorValue =\n valueIn ?? defaultColor;\n if (isRgbaAnimatedValue(value)) {\n // $FlowIgnore[incompatible-cast] - Type is verified above\n const rgbaAnimatedValue: RgbaAnimatedValue = (value: RgbaAnimatedValue);\n this.r = rgbaAnimatedValue.r;\n this.g = rgbaAnimatedValue.g;\n this.b = rgbaAnimatedValue.b;\n this.a = rgbaAnimatedValue.a;\n } else {\n const processedColor: RgbaValue | NativeColorValue =\n // $FlowIgnore[incompatible-cast] - Type is verified above\n processColor((value: ColorValue | RgbaValue)) ?? defaultColor;\n let initColor: RgbaValue = defaultColor;\n if (isRgbaValue(processedColor)) {\n // $FlowIgnore[incompatible-cast] - Type is verified above\n initColor = (processedColor: RgbaValue);\n } else {\n // $FlowIgnore[incompatible-cast] - Type is verified above\n this.nativeColor = (processedColor: NativeColorValue);\n }\n\n this.r = new AnimatedValue(initColor.r);\n this.g = new AnimatedValue(initColor.g);\n this.b = new AnimatedValue(initColor.b);\n this.a = new AnimatedValue(initColor.a);\n }\n if (this.nativeColor || (config && config.useNativeDriver)) {\n this.__makeNative();\n }\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n */\n setValue(value: RgbaValue | ColorValue): void {\n let shouldUpdateNodeConfig = false;\n if (this.__isNative) {\n const nativeTag = this.__getNativeTag();\n NativeAnimatedAPI.setWaitingForIdentifier(nativeTag.toString());\n }\n\n const processedColor: RgbaValue | NativeColorValue =\n processColor(value) ?? defaultColor;\n if (isRgbaValue(processedColor)) {\n // $FlowIgnore[incompatible-type] - Type is verified above\n const rgbaValue: RgbaValue = processedColor;\n this.r.setValue(rgbaValue.r);\n this.g.setValue(rgbaValue.g);\n this.b.setValue(rgbaValue.b);\n this.a.setValue(rgbaValue.a);\n if (this.nativeColor != null) {\n this.nativeColor = null;\n shouldUpdateNodeConfig = true;\n }\n } else {\n // $FlowIgnore[incompatible-type] - Type is verified above\n const nativeColor: NativeColorValue = processedColor;\n if (this.nativeColor !== nativeColor) {\n this.nativeColor = nativeColor;\n shouldUpdateNodeConfig = true;\n }\n }\n\n if (this.__isNative) {\n const nativeTag = this.__getNativeTag();\n if (shouldUpdateNodeConfig) {\n NativeAnimatedAPI.updateAnimatedNodeConfig(\n nativeTag,\n this.__getNativeConfig(),\n );\n }\n NativeAnimatedAPI.unsetWaitingForIdentifier(nativeTag.toString());\n }\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n */\n setOffset(offset: RgbaValue): void {\n this.r.setOffset(offset.r);\n this.g.setOffset(offset.g);\n this.b.setOffset(offset.b);\n this.a.setOffset(offset.a);\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n */\n flattenOffset(): void {\n this.r.flattenOffset();\n this.g.flattenOffset();\n this.b.flattenOffset();\n this.a.flattenOffset();\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n */\n extractOffset(): void {\n this.r.extractOffset();\n this.g.extractOffset();\n this.b.extractOffset();\n this.a.extractOffset();\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n */\n addListener(callback: ColorListenerCallback): string {\n const id = String(_uniqueId++);\n const jointCallback = ({value: number}: any) => {\n callback(this.__getValue());\n };\n this._listeners[id] = {\n r: this.r.addListener(jointCallback),\n g: this.g.addListener(jointCallback),\n b: this.b.addListener(jointCallback),\n a: this.a.addListener(jointCallback),\n };\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n */\n removeListener(id: string): void {\n this.r.removeListener(this._listeners[id].r);\n this.g.removeListener(this._listeners[id].g);\n this.b.removeListener(this._listeners[id].b);\n this.a.removeListener(this._listeners[id].a);\n delete this._listeners[id];\n }\n\n /**\n * Remove all registered listeners.\n */\n removeAllListeners(): void {\n this.r.removeAllListeners();\n this.g.removeAllListeners();\n this.b.removeAllListeners();\n this.a.removeAllListeners();\n this._listeners = {};\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n */\n stopAnimation(callback?: ColorListenerCallback): void {\n this.r.stopAnimation();\n this.g.stopAnimation();\n this.b.stopAnimation();\n this.a.stopAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any animation and resets the value to its original.\n */\n resetAnimation(callback?: ColorListenerCallback): void {\n this.r.resetAnimation();\n this.g.resetAnimation();\n this.b.resetAnimation();\n this.a.resetAnimation();\n callback && callback(this.__getValue());\n }\n\n __getValue(): ColorValue {\n if (this.nativeColor != null) {\n return this.nativeColor;\n } else {\n return `rgba(${this.r.__getValue()}, ${this.g.__getValue()}, ${this.b.__getValue()}, ${this.a.__getValue()})`;\n }\n }\n\n __attach(): void {\n this.r.__addChild(this);\n this.g.__addChild(this);\n this.b.__addChild(this);\n this.a.__addChild(this);\n super.__attach();\n }\n\n __detach(): void {\n this.r.__removeChild(this);\n this.g.__removeChild(this);\n this.b.__removeChild(this);\n this.a.__removeChild(this);\n super.__detach();\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this.r.__makeNative(platformConfig);\n this.g.__makeNative(platformConfig);\n this.b.__makeNative(platformConfig);\n this.a.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getNativeConfig(): {...} {\n return {\n type: 'color',\n r: this.r.__getNativeTag(),\n g: this.g.__getNativeTag(),\n b: this.b.__getNativeTag(),\n a: this.a.__getNativeTag(),\n nativeColor: this.nativeColor,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type Animation, {EndCallback} from '../animations/Animation';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\nimport type AnimatedTracking from './AnimatedTracking';\n\nimport InteractionManager from '../../Interaction/InteractionManager';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport type AnimatedValueConfig = $ReadOnly<{\n useNativeDriver: boolean,\n}>;\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\n\n/**\n * Animated works by building a directed acyclic graph of dependencies\n * transparently when you render your Animated components.\n *\n * new Animated.Value(0)\n * .interpolate() .interpolate() new Animated.Value(1)\n * opacity translateY scale\n * style transform\n * View#234 style\n * View#123\n *\n * A) Top Down phase\n * When an Animated.Value is updated, we recursively go down through this\n * graph in order to find leaf nodes: the views that we flag as needing\n * an update.\n *\n * B) Bottom Up phase\n * When a view is flagged as needing an update, we recursively go back up\n * in order to build the new value that it needs. The reason why we need\n * this two-phases process is to deal with composite props such as\n * transform which can receive values from multiple parents.\n */\nfunction _flush(rootNode: AnimatedValue): void {\n const animatedStyles = new Set();\n function findAnimatedStyles(node: AnimatedValue | AnimatedNode) {\n /* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.68 was deployed. To see the error\n * delete this comment and run Flow. */\n if (typeof node.update === 'function') {\n animatedStyles.add(node);\n } else {\n node.__getChildren().forEach(findAnimatedStyles);\n }\n }\n findAnimatedStyles(rootNode);\n // $FlowFixMe[prop-missing]\n animatedStyles.forEach(animatedStyle => animatedStyle.update());\n}\n\n/**\n * Some operations are executed only on batch end, which is _mostly_ scheduled when\n * Animated component props change. For some of the changes which require immediate execution\n * (e.g. setValue), we create a separate batch in case none is scheduled.\n */\nfunction _executeAsAnimatedBatch(id: string, operation: () => void) {\n NativeAnimatedAPI.setWaitingForIdentifier(id);\n operation();\n NativeAnimatedAPI.unsetWaitingForIdentifier(id);\n}\n\n/**\n * Standard value for driving animations. One `Animated.Value` can drive\n * multiple properties in a synchronized fashion, but can only be driven by one\n * mechanism at a time. Using a new mechanism (e.g. starting a new animation,\n * or calling `setValue`) will stop any previous ones.\n *\n * See https://reactnative.dev/docs/animatedvalue\n */\nexport default class AnimatedValue extends AnimatedWithChildren {\n _value: number;\n _startingValue: number;\n _offset: number;\n _animation: ?Animation;\n _tracking: ?AnimatedTracking;\n\n // $FlowFixMe[missing-local-annot]\n constructor(value: number, config?: ?AnimatedValueConfig) {\n super();\n if (typeof value !== 'number') {\n throw new Error('AnimatedValue: Attempting to set value to undefined');\n }\n this._startingValue = this._value = value;\n this._offset = 0;\n this._animation = null;\n if (config && config.useNativeDriver) {\n this.__makeNative();\n }\n }\n\n __detach() {\n if (this.__isNative) {\n NativeAnimatedAPI.getValue(this.__getNativeTag(), value => {\n this._value = value - this._offset;\n });\n }\n this.stopAnimation();\n super.__detach();\n }\n\n __getValue(): number {\n return this._value + this._offset;\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See https://reactnative.dev/docs/animatedvalue#setvalue\n */\n setValue(value: number): void {\n if (this._animation) {\n this._animation.stop();\n this._animation = null;\n }\n this._updateValue(\n value,\n !this.__isNative /* don't perform a flush for natively driven values */,\n );\n if (this.__isNative) {\n _executeAsAnimatedBatch(this.__getNativeTag().toString(), () =>\n NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), value),\n );\n }\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether via\n * `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See https://reactnative.dev/docs/animatedvalue#setoffset\n */\n setOffset(offset: number): void {\n this._offset = offset;\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);\n }\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvalue#flattenoffset\n */\n flattenOffset(): void {\n this._value += this._offset;\n this._offset = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvalue#extractoffset\n */\n extractOffset(): void {\n this._offset += this._value;\n this._value = 0;\n if (this.__isNative) {\n NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());\n }\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See https://reactnative.dev/docs/animatedvalue#stopanimation\n */\n stopAnimation(callback?: ?(value: number) => void): void {\n this.stopTracking();\n this._animation && this._animation.stop();\n this._animation = null;\n if (callback) {\n if (this.__isNative) {\n NativeAnimatedAPI.getValue(this.__getNativeTag(), callback);\n } else {\n callback(this.__getValue());\n }\n }\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See https://reactnative.dev/docs/animatedvalue#resetanimation\n */\n resetAnimation(callback?: ?(value: number) => void): void {\n this.stopAnimation(callback);\n this._value = this._startingValue;\n if (this.__isNative) {\n NativeAnimatedAPI.setAnimatedNodeValue(\n this.__getNativeTag(),\n this._startingValue,\n );\n }\n }\n\n __onAnimatedValueUpdateReceived(value: number): void {\n this._updateValue(value, false /*flush*/);\n }\n\n /**\n * Interpolates the value before updating the property, e.g. mapping 0-1 to\n * 0-10.\n */\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n /**\n * Typically only used internally, but could be used by a custom Animation\n * class.\n *\n * See https://reactnative.dev/docs/animatedvalue#animate\n */\n animate(animation: Animation, callback: ?EndCallback): void {\n let handle = null;\n if (animation.__isInteraction) {\n handle = InteractionManager.createInteractionHandle();\n }\n const previousAnimation = this._animation;\n this._animation && this._animation.stop();\n this._animation = animation;\n animation.start(\n this._value,\n value => {\n // Natively driven animations will never call into that callback, therefore we can always\n // pass flush = true to allow the updated value to propagate to native with setNativeProps\n this._updateValue(value, true /* flush */);\n },\n result => {\n this._animation = null;\n if (handle !== null) {\n InteractionManager.clearInteractionHandle(handle);\n }\n callback && callback(result);\n },\n previousAnimation,\n this,\n );\n }\n\n /**\n * Typically only used internally.\n */\n stopTracking(): void {\n this._tracking && this._tracking.__detach();\n this._tracking = null;\n }\n\n /**\n * Typically only used internally.\n */\n track(tracking: AnimatedTracking): void {\n this.stopTracking();\n this._tracking = tracking;\n // Make sure that the tracking animation starts executing\n this._tracking && this._tracking.update();\n }\n\n _updateValue(value: number, flush: boolean): void {\n if (value === undefined) {\n throw new Error('AnimatedValue: Attempting to set value to undefined');\n }\n\n this._value = value;\n if (flush) {\n _flush(this);\n }\n super.__callListeners(this.__getValue());\n }\n\n __getNativeConfig(): Object {\n return {\n type: 'value',\n value: this._value,\n offset: this._offset,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {Task} from './TaskQueue';\n\nimport EventEmitter from '../vendor/emitter/EventEmitter';\n\nconst BatchedBridge = require('../BatchedBridge/BatchedBridge');\nconst infoLog = require('../Utilities/infoLog');\nconst TaskQueue = require('./TaskQueue');\nconst invariant = require('invariant');\n\nexport type Handle = number;\n\nconst _emitter = new EventEmitter<{\n interactionComplete: [],\n interactionStart: [],\n}>();\n\nconst DEBUG_DELAY: 0 = 0;\nconst DEBUG: false = false;\n\n/**\n * InteractionManager allows long-running work to be scheduled after any\n * interactions/animations have completed. In particular, this allows JavaScript\n * animations to run smoothly.\n *\n * Applications can schedule tasks to run after interactions with the following:\n *\n * ```\n * InteractionManager.runAfterInteractions(() => {\n * // ...long-running synchronous task...\n * });\n * ```\n *\n * Compare this to other scheduling alternatives:\n *\n * - requestAnimationFrame(): for code that animates a view over time.\n * - setImmediate/setTimeout(): run code later, note this may delay animations.\n * - runAfterInteractions(): run code later, without delaying active animations.\n *\n * The touch handling system considers one or more active touches to be an\n * 'interaction' and will delay `runAfterInteractions()` callbacks until all\n * touches have ended or been cancelled.\n *\n * InteractionManager also allows applications to register animations by\n * creating an interaction 'handle' on animation start, and clearing it upon\n * completion:\n *\n * ```\n * var handle = InteractionManager.createInteractionHandle();\n * // run animation... (`runAfterInteractions` tasks are queued)\n * // later, on animation completion:\n * InteractionManager.clearInteractionHandle(handle);\n * // queued tasks run if all handles were cleared\n * ```\n *\n * `runAfterInteractions` takes either a plain callback function, or a\n * `PromiseTask` object with a `gen` method that returns a `Promise`. If a\n * `PromiseTask` is supplied, then it is fully resolved (including asynchronous\n * dependencies that also schedule more tasks via `runAfterInteractions`) before\n * starting on the next task that might have been queued up synchronously\n * earlier.\n *\n * By default, queued tasks are executed together in a loop in one\n * `setImmediate` batch. If `setDeadline` is called with a positive number, then\n * tasks will only be executed until the deadline (in terms of js event loop run\n * time) approaches, at which point execution will yield via setTimeout,\n * allowing events such as touches to start interactions and block queued tasks\n * from executing, making apps more responsive.\n */\nconst InteractionManager = {\n Events: {\n interactionStart: 'interactionStart',\n interactionComplete: 'interactionComplete',\n },\n\n /**\n * Schedule a function to run after all interactions have completed. Returns a cancellable\n * \"promise\".\n */\n runAfterInteractions(task: ?Task): {\n then: (\n onFulfill?: ?(void) => ?(Promise | U),\n onReject?: ?(error: mixed) => ?(Promise | U),\n ) => Promise,\n cancel: () => void,\n ...\n } {\n const tasks: Array = [];\n const promise = new Promise((resolve: () => void) => {\n _scheduleUpdate();\n if (task) {\n tasks.push(task);\n }\n tasks.push({\n run: resolve,\n name: 'resolve ' + ((task && task.name) || '?'),\n });\n _taskQueue.enqueueTasks(tasks);\n });\n return {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n then: promise.then.bind(promise),\n cancel: function () {\n _taskQueue.cancelTasks(tasks);\n },\n };\n },\n\n /**\n * Notify manager that an interaction has started.\n */\n createInteractionHandle(): Handle {\n DEBUG && infoLog('InteractionManager: create interaction handle');\n _scheduleUpdate();\n const handle = ++_inc;\n _addInteractionSet.add(handle);\n return handle;\n },\n\n /**\n * Notify manager that an interaction has completed.\n */\n clearInteractionHandle(handle: Handle) {\n DEBUG && infoLog('InteractionManager: clear interaction handle');\n invariant(!!handle, 'InteractionManager: Must provide a handle to clear.');\n _scheduleUpdate();\n _addInteractionSet.delete(handle);\n _deleteInteractionSet.add(handle);\n },\n\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n addListener: (_emitter.addListener.bind(_emitter): $FlowFixMe),\n\n /**\n * A positive number will use setTimeout to schedule any tasks after the\n * eventLoopRunningTime hits the deadline value, otherwise all tasks will be\n * executed in one setImmediate batch (default).\n */\n setDeadline(deadline: number) {\n _deadline = deadline;\n },\n};\n\nconst _interactionSet = new Set();\nconst _addInteractionSet = new Set();\nconst _deleteInteractionSet = new Set();\nconst _taskQueue = new TaskQueue({onMoreTasks: _scheduleUpdate});\nlet _nextUpdateHandle: $FlowFixMe | TimeoutID = 0;\nlet _inc = 0;\nlet _deadline = -1;\n\n/**\n * Schedule an asynchronous update to the interaction state.\n */\nfunction _scheduleUpdate() {\n if (!_nextUpdateHandle) {\n if (_deadline > 0) {\n _nextUpdateHandle = setTimeout(_processUpdate, 0 + DEBUG_DELAY);\n } else {\n _nextUpdateHandle = setImmediate(_processUpdate);\n }\n }\n}\n\n/**\n * Notify listeners, process queue, etc\n */\nfunction _processUpdate() {\n _nextUpdateHandle = 0;\n\n const interactionCount = _interactionSet.size;\n _addInteractionSet.forEach(handle => _interactionSet.add(handle));\n _deleteInteractionSet.forEach(handle => _interactionSet.delete(handle));\n const nextInteractionCount = _interactionSet.size;\n\n if (interactionCount !== 0 && nextInteractionCount === 0) {\n // transition from 1+ --> 0 interactions\n _emitter.emit(InteractionManager.Events.interactionComplete);\n } else if (interactionCount === 0 && nextInteractionCount !== 0) {\n // transition from 0 --> 1+ interactions\n _emitter.emit(InteractionManager.Events.interactionStart);\n }\n\n // process the queue regardless of a transition\n if (nextInteractionCount === 0) {\n while (_taskQueue.hasTasksToProcess()) {\n _taskQueue.processNext();\n if (\n _deadline > 0 &&\n BatchedBridge.getEventLoopRunningTime() >= _deadline\n ) {\n // Hit deadline before processing all tasks, so process more later.\n _scheduleUpdate();\n break;\n }\n }\n }\n _addInteractionSet.clear();\n _deleteInteractionSet.clear();\n}\n\nmodule.exports = InteractionManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst infoLog = require('../Utilities/infoLog');\nconst invariant = require('invariant');\n\ntype SimpleTask = {\n name: string,\n run: () => void,\n};\ntype PromiseTask = {\n name: string,\n gen: () => Promise,\n};\nexport type Task = SimpleTask | PromiseTask | (() => void);\n\nconst DEBUG: false = false;\n\n/**\n * TaskQueue - A system for queueing and executing a mix of simple callbacks and\n * trees of dependent tasks based on Promises. No tasks are executed unless\n * `processNext` is called.\n *\n * `enqueue` takes a Task object with either a simple `run` callback, or a\n * `gen` function that returns a `Promise` and puts it in the queue. If a gen\n * function is supplied, then the promise it returns will block execution of\n * tasks already in the queue until it resolves. This can be used to make sure\n * the first task is fully resolved (including asynchronous dependencies that\n * also schedule more tasks via `enqueue`) before starting on the next task.\n * The `onMoreTasks` constructor argument is used to inform the owner that an\n * async task has resolved and that the queue should be processed again.\n *\n * Note: Tasks are only actually executed with explicit calls to `processNext`.\n */\nclass TaskQueue {\n /**\n * TaskQueue instances are self contained and independent, so multiple tasks\n * of varying semantics and priority can operate together.\n *\n * `onMoreTasks` is invoked when `PromiseTask`s resolve if there are more\n * tasks to process.\n */\n constructor({onMoreTasks}: {onMoreTasks: () => void, ...}) {\n this._onMoreTasks = onMoreTasks;\n this._queueStack = [{tasks: [], popable: false}];\n }\n\n /**\n * Add a task to the queue. It is recommended to name your tasks for easier\n * async debugging. Tasks will not be executed until `processNext` is called\n * explicitly.\n */\n enqueue(task: Task): void {\n this._getCurrentQueue().push(task);\n }\n\n enqueueTasks(tasks: Array): void {\n tasks.forEach(task => this.enqueue(task));\n }\n\n cancelTasks(tasksToCancel: Array): void {\n // search through all tasks and remove them.\n this._queueStack = this._queueStack\n .map(queue => ({\n ...queue,\n tasks: queue.tasks.filter(task => tasksToCancel.indexOf(task) === -1),\n }))\n .filter((queue, idx) => queue.tasks.length > 0 || idx === 0);\n }\n\n /**\n * Check to see if `processNext` should be called.\n *\n * @returns {boolean} Returns true if there are tasks that are ready to be\n * processed with `processNext`, or returns false if there are no more tasks\n * to be processed right now, although there may be tasks in the queue that\n * are blocked by earlier `PromiseTask`s that haven't resolved yet.\n * `onMoreTasks` will be called after each `PromiseTask` resolves if there are\n * tasks ready to run at that point.\n */\n hasTasksToProcess(): boolean {\n return this._getCurrentQueue().length > 0;\n }\n\n /**\n * Executes the next task in the queue.\n */\n processNext(): void {\n const queue = this._getCurrentQueue();\n if (queue.length) {\n const task = queue.shift();\n try {\n if (typeof task === 'object' && task.gen) {\n DEBUG && infoLog('TaskQueue: genPromise for task ' + task.name);\n this._genPromise(task);\n } else if (typeof task === 'object' && task.run) {\n DEBUG && infoLog('TaskQueue: run task ' + task.name);\n task.run();\n } else {\n invariant(\n typeof task === 'function',\n 'Expected Function, SimpleTask, or PromiseTask, but got:\\n' +\n JSON.stringify(task, null, 2),\n );\n DEBUG && infoLog('TaskQueue: run anonymous task');\n task();\n }\n } catch (e) {\n e.message =\n 'TaskQueue: Error with task ' + (task.name || '') + ': ' + e.message;\n throw e;\n }\n }\n }\n\n _queueStack: Array<{\n tasks: Array,\n popable: boolean,\n ...\n }>;\n _onMoreTasks: () => void;\n\n _getCurrentQueue(): Array {\n const stackIdx = this._queueStack.length - 1;\n const queue = this._queueStack[stackIdx];\n if (\n queue.popable &&\n queue.tasks.length === 0 &&\n this._queueStack.length > 1\n ) {\n this._queueStack.pop();\n DEBUG &&\n infoLog('TaskQueue: popped queue: ', {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n return this._getCurrentQueue();\n } else {\n return queue.tasks;\n }\n }\n\n _genPromise(task: PromiseTask) {\n // Each async task pushes it's own queue onto the queue stack. This\n // effectively defers execution of previously queued tasks until the promise\n // resolves, at which point we allow the new queue to be popped, which\n // happens once it is fully processed.\n this._queueStack.push({tasks: [], popable: false});\n const stackIdx = this._queueStack.length - 1;\n const stackItem = this._queueStack[stackIdx];\n DEBUG && infoLog('TaskQueue: push new queue: ', {stackIdx});\n DEBUG && infoLog('TaskQueue: exec gen task ' + task.name);\n task\n .gen()\n .then(() => {\n DEBUG &&\n infoLog('TaskQueue: onThen for gen task ' + task.name, {\n stackIdx,\n queueStackSize: this._queueStack.length,\n });\n stackItem.popable = true;\n this.hasTasksToProcess() && this._onMoreTasks();\n })\n .catch(ex => {\n setTimeout(() => {\n ex.message = `TaskQueue: Error resolving Promise in task ${task.name}: ${ex.message}`;\n throw ex;\n }, 0);\n });\n }\n}\n\nmodule.exports = TaskQueue;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n/* eslint no-bitwise: 0 */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type AnimatedNode from './AnimatedNode';\n\nimport normalizeColor from '../../StyleSheet/normalizeColor';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport invariant from 'invariant';\n\ntype ExtrapolateType = 'extend' | 'identity' | 'clamp';\n\nexport type InterpolationConfigType = $ReadOnly<{\n inputRange: $ReadOnlyArray,\n outputRange: $ReadOnlyArray,\n easing?: (input: number) => number,\n extrapolate?: ExtrapolateType,\n extrapolateLeft?: ExtrapolateType,\n extrapolateRight?: ExtrapolateType,\n}>;\n\nconst linear = (t: number) => t;\n\n/**\n * Very handy helper to map input ranges to output ranges with an easing\n * function and custom behavior outside of the ranges.\n */\nfunction createInterpolation(\n config: InterpolationConfigType,\n): (input: number) => OutputT {\n if (config.outputRange && typeof config.outputRange[0] === 'string') {\n return (createInterpolationFromStringOutputRange((config: any)): any);\n }\n\n const outputRange: $ReadOnlyArray = (config.outputRange: any);\n\n const inputRange = config.inputRange;\n\n if (__DEV__) {\n checkInfiniteRange('outputRange', outputRange);\n checkInfiniteRange('inputRange', inputRange);\n checkValidInputRange(inputRange);\n\n invariant(\n inputRange.length === outputRange.length,\n 'inputRange (' +\n inputRange.length +\n ') and outputRange (' +\n outputRange.length +\n ') must have the same length',\n );\n }\n\n const easing = config.easing || linear;\n\n let extrapolateLeft: ExtrapolateType = 'extend';\n if (config.extrapolateLeft !== undefined) {\n extrapolateLeft = config.extrapolateLeft;\n } else if (config.extrapolate !== undefined) {\n extrapolateLeft = config.extrapolate;\n }\n\n let extrapolateRight: ExtrapolateType = 'extend';\n if (config.extrapolateRight !== undefined) {\n extrapolateRight = config.extrapolateRight;\n } else if (config.extrapolate !== undefined) {\n extrapolateRight = config.extrapolate;\n }\n\n return input => {\n invariant(\n typeof input === 'number',\n 'Cannot interpolation an input which is not a number',\n );\n\n const range = findRange(input, inputRange);\n return (interpolate(\n input,\n inputRange[range],\n inputRange[range + 1],\n outputRange[range],\n outputRange[range + 1],\n easing,\n extrapolateLeft,\n extrapolateRight,\n ): any);\n };\n}\n\nfunction interpolate(\n input: number,\n inputMin: number,\n inputMax: number,\n outputMin: number,\n outputMax: number,\n easing: (input: number) => number,\n extrapolateLeft: ExtrapolateType,\n extrapolateRight: ExtrapolateType,\n) {\n let result = input;\n\n // Extrapolate\n if (result < inputMin) {\n if (extrapolateLeft === 'identity') {\n return result;\n } else if (extrapolateLeft === 'clamp') {\n result = inputMin;\n } else if (extrapolateLeft === 'extend') {\n // noop\n }\n }\n\n if (result > inputMax) {\n if (extrapolateRight === 'identity') {\n return result;\n } else if (extrapolateRight === 'clamp') {\n result = inputMax;\n } else if (extrapolateRight === 'extend') {\n // noop\n }\n }\n\n if (outputMin === outputMax) {\n return outputMin;\n }\n\n if (inputMin === inputMax) {\n if (input <= inputMin) {\n return outputMin;\n }\n return outputMax;\n }\n\n // Input Range\n if (inputMin === -Infinity) {\n result = -result;\n } else if (inputMax === Infinity) {\n result = result - inputMin;\n } else {\n result = (result - inputMin) / (inputMax - inputMin);\n }\n\n // Easing\n result = easing(result);\n\n // Output Range\n if (outputMin === -Infinity) {\n result = -result;\n } else if (outputMax === Infinity) {\n result = result + outputMin;\n } else {\n result = result * (outputMax - outputMin) + outputMin;\n }\n\n return result;\n}\n\nfunction colorToRgba(input: string): string {\n let normalizedColor = normalizeColor(input);\n if (normalizedColor === null || typeof normalizedColor !== 'number') {\n return input;\n }\n\n normalizedColor = normalizedColor || 0;\n\n const r = (normalizedColor & 0xff000000) >>> 24;\n const g = (normalizedColor & 0x00ff0000) >>> 16;\n const b = (normalizedColor & 0x0000ff00) >>> 8;\n const a = (normalizedColor & 0x000000ff) / 255;\n\n return `rgba(${r}, ${g}, ${b}, ${a})`;\n}\n\nconst stringShapeRegex = /[+-]?(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][+-]?\\d+)?/g;\n\n/**\n * Supports string shapes by extracting numbers so new values can be computed,\n * and recombines those values into new strings of the same shape. Supports\n * things like:\n *\n * rgba(123, 42, 99, 0.36) // colors\n * -45deg // values with units\n */\nfunction createInterpolationFromStringOutputRange(\n config: InterpolationConfigType,\n): (input: number) => string {\n let outputRange: Array = (config.outputRange: any);\n invariant(outputRange.length >= 2, 'Bad output range');\n outputRange = outputRange.map(colorToRgba);\n checkPattern(outputRange);\n\n // ['rgba(0, 100, 200, 0)', 'rgba(50, 150, 250, 0.5)']\n // ->\n // [\n // [0, 50],\n // [100, 150],\n // [200, 250],\n // [0, 0.5],\n // ]\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n const outputRanges = outputRange[0].match(stringShapeRegex).map(() => []);\n outputRange.forEach(value => {\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `value.match()` can return\n * `null`. Need to guard against this possibility. */\n value.match(stringShapeRegex).forEach((number, i) => {\n outputRanges[i].push(+number);\n });\n });\n\n const interpolations = outputRange[0]\n .match(stringShapeRegex)\n /* $FlowFixMe[incompatible-use] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n /* $FlowFixMe[incompatible-call] (>=0.18.0): `outputRange[0].match()` can\n * return `null`. Need to guard against this possibility. */\n .map((value, i) => {\n return createInterpolation({\n ...config,\n outputRange: outputRanges[i],\n });\n });\n\n // rgba requires that the r,g,b are integers.... so we want to round them, but we *dont* want to\n // round the opacity (4th column).\n const shouldRound = isRgbOrRgba(outputRange[0]);\n\n return input => {\n let i = 0;\n // 'rgba(0, 100, 200, 0)'\n // ->\n // 'rgba(${interpolations[0](input)}, ${interpolations[1](input)}, ...'\n return outputRange[0].replace(stringShapeRegex, () => {\n let val = +interpolations[i++](input);\n if (shouldRound) {\n val = i < 4 ? Math.round(val) : Math.round(val * 1000) / 1000;\n }\n return String(val);\n });\n };\n}\n\nfunction isRgbOrRgba(range: string) {\n return typeof range === 'string' && range.startsWith('rgb');\n}\n\nfunction checkPattern(arr: $ReadOnlyArray) {\n const pattern = arr[0].replace(stringShapeRegex, '');\n for (let i = 1; i < arr.length; ++i) {\n invariant(\n pattern === arr[i].replace(stringShapeRegex, ''),\n 'invalid pattern ' + arr[0] + ' and ' + arr[i],\n );\n }\n}\n\nfunction findRange(input: number, inputRange: $ReadOnlyArray) {\n let i;\n for (i = 1; i < inputRange.length - 1; ++i) {\n if (inputRange[i] >= input) {\n break;\n }\n }\n return i - 1;\n}\n\nfunction checkValidInputRange(arr: $ReadOnlyArray) {\n invariant(arr.length >= 2, 'inputRange must have at least 2 elements');\n const message =\n 'inputRange must be monotonically non-decreasing ' + String(arr);\n for (let i = 1; i < arr.length; ++i) {\n invariant(arr[i] >= arr[i - 1], message);\n }\n}\n\nfunction checkInfiniteRange(name: string, arr: $ReadOnlyArray) {\n invariant(arr.length >= 2, name + ' must have at least 2 elements');\n invariant(\n arr.length !== 2 || arr[0] !== -Infinity || arr[1] !== Infinity,\n /* $FlowFixMe[incompatible-type] (>=0.13.0) - In the addition expression\n * below this comment, one or both of the operands may be something that\n * doesn't cleanly convert to a string, like undefined, null, and object,\n * etc. If you really mean this implicit string conversion, you can do\n * something like String(myThing) */\n name + 'cannot be ]-infinity;+infinity[ ' + arr,\n );\n}\n\nexport default class AnimatedInterpolation<\n OutputT: number | string,\n> extends AnimatedWithChildren {\n // Export for testing.\n static __createInterpolation: (\n config: InterpolationConfigType,\n ) => (input: number) => OutputT = createInterpolation;\n\n _parent: AnimatedNode;\n _config: InterpolationConfigType;\n _interpolation: (input: number) => OutputT;\n\n constructor(parent: AnimatedNode, config: InterpolationConfigType) {\n super();\n this._parent = parent;\n this._config = config;\n this._interpolation = createInterpolation(config);\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._parent.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number | string {\n const parentValue: number = this._parent.__getValue();\n invariant(\n typeof parentValue === 'number',\n 'Cannot interpolate an input which is not a number.',\n );\n return this._interpolation(parentValue);\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n __transformDataType(range: $ReadOnlyArray): Array {\n return range.map(NativeAnimatedHelper.transformDataType);\n }\n\n __getNativeConfig(): any {\n if (__DEV__) {\n NativeAnimatedHelper.validateInterpolation(this._config);\n }\n\n return {\n inputRange: this._config.inputRange,\n // Only the `outputRange` can contain strings so we don't need to transform `inputRange` here\n outputRange: this.__transformDataType(this._config.outputRange),\n extrapolateLeft:\n this._config.extrapolateLeft || this._config.extrapolate || 'extend',\n extrapolateRight:\n this._config.extrapolateRight || this._config.extrapolate || 'extend',\n type: 'interpolation',\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedNode from './AnimatedNode';\n\nexport default class AnimatedWithChildren extends AnimatedNode {\n _children: Array;\n\n constructor() {\n super();\n this._children = [];\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const child of this._children) {\n child.__makeNative(platformConfig);\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n super.__makeNative(platformConfig);\n }\n\n __addChild(child: AnimatedNode): void {\n if (this._children.length === 0) {\n this.__attach();\n }\n this._children.push(child);\n if (this.__isNative) {\n // Only accept \"native\" animated nodes as children\n child.__makeNative(this.__getPlatformConfig());\n NativeAnimatedHelper.API.connectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n }\n\n __removeChild(child: AnimatedNode): void {\n const index = this._children.indexOf(child);\n if (index === -1) {\n console.warn(\"Trying to remove a child that doesn't exist\");\n return;\n }\n if (this.__isNative && child.__isNative) {\n NativeAnimatedHelper.API.disconnectAnimatedNodes(\n this.__getNativeTag(),\n child.__getNativeTag(),\n );\n }\n this._children.splice(index, 1);\n if (this._children.length === 0) {\n this.__detach();\n }\n }\n\n __getChildren(): Array {\n return this._children;\n }\n\n __callListeners(value: number): void {\n super.__callListeners(value);\n if (!this.__isNative) {\n for (const child of this._children) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n if (child.__getValue) {\n child.__callListeners(child.__getValue());\n }\n }\n }\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport ReactNativeFeatureFlags from '../../ReactNative/ReactNativeFeatureFlags';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport invariant from 'invariant';\n\nconst NativeAnimatedAPI = NativeAnimatedHelper.API;\n\ntype ValueListenerCallback = (state: {value: number, ...}) => mixed;\n\nlet _uniqueId = 1;\n\n// Note(vjeux): this would be better as an interface but flow doesn't\n// support them yet\nexport default class AnimatedNode {\n _listeners: {[key: string]: ValueListenerCallback, ...};\n _platformConfig: ?PlatformConfig;\n __nativeAnimatedValueListener: ?any;\n __attach(): void {}\n __detach(): void {\n if (ReactNativeFeatureFlags.removeListenersOnDetach()) {\n this.removeAllListeners();\n }\n if (this.__isNative && this.__nativeTag != null) {\n NativeAnimatedHelper.API.dropAnimatedNode(this.__nativeTag);\n this.__nativeTag = undefined;\n }\n }\n __getValue(): any {}\n __getAnimatedValue(): any {\n return this.__getValue();\n }\n __addChild(child: AnimatedNode) {}\n __removeChild(child: AnimatedNode) {}\n __getChildren(): Array {\n return [];\n }\n\n /* Methods and props used by native Animated impl */\n __isNative: boolean;\n __nativeTag: ?number;\n __shouldUpdateListenersForNewNativeTag: boolean;\n\n constructor() {\n this._listeners = {};\n }\n\n __makeNative(platformConfig: ?PlatformConfig): void {\n if (!this.__isNative) {\n throw new Error('This node cannot be made a \"native\" animated node');\n }\n\n this._platformConfig = platformConfig;\n if (this.hasListeners()) {\n this._startListeningToNativeValueUpdates();\n }\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to\n * synchronously read the value because it might be driven natively.\n *\n * See https://reactnative.dev/docs/animatedvalue#addlistener\n */\n addListener(callback: (value: any) => mixed): string {\n const id = String(_uniqueId++);\n this._listeners[id] = callback;\n if (this.__isNative) {\n this._startListeningToNativeValueUpdates();\n }\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See https://reactnative.dev/docs/animatedvalue#removelistener\n */\n removeListener(id: string): void {\n delete this._listeners[id];\n if (this.__isNative && !this.hasListeners()) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n /**\n * Remove all registered listeners.\n *\n * See https://reactnative.dev/docs/animatedvalue#removealllisteners\n */\n removeAllListeners(): void {\n this._listeners = {};\n if (this.__isNative) {\n this._stopListeningForNativeValueUpdates();\n }\n }\n\n hasListeners(): boolean {\n return !!Object.keys(this._listeners).length;\n }\n\n _startListeningToNativeValueUpdates() {\n if (\n this.__nativeAnimatedValueListener &&\n !this.__shouldUpdateListenersForNewNativeTag\n ) {\n return;\n }\n\n if (this.__shouldUpdateListenersForNewNativeTag) {\n this.__shouldUpdateListenersForNewNativeTag = false;\n this._stopListeningForNativeValueUpdates();\n }\n\n NativeAnimatedAPI.startListeningToAnimatedNodeValue(this.__getNativeTag());\n this.__nativeAnimatedValueListener =\n NativeAnimatedHelper.nativeEventEmitter.addListener(\n 'onAnimatedValueUpdate',\n data => {\n if (data.tag !== this.__getNativeTag()) {\n return;\n }\n this.__onAnimatedValueUpdateReceived(data.value);\n },\n );\n }\n\n __onAnimatedValueUpdateReceived(value: number) {\n this.__callListeners(value);\n }\n\n __callListeners(value: number): void {\n for (const key in this._listeners) {\n this._listeners[key]({value});\n }\n }\n\n _stopListeningForNativeValueUpdates() {\n if (!this.__nativeAnimatedValueListener) {\n return;\n }\n\n this.__nativeAnimatedValueListener.remove();\n this.__nativeAnimatedValueListener = null;\n NativeAnimatedAPI.stopListeningToAnimatedNodeValue(this.__getNativeTag());\n }\n\n __getNativeTag(): number {\n NativeAnimatedHelper.assertNativeAnimatedModule();\n invariant(\n this.__isNative,\n 'Attempt to get native tag from node not marked as \"native\"',\n );\n\n const nativeTag =\n this.__nativeTag ?? NativeAnimatedHelper.generateNewNodeTag();\n\n if (this.__nativeTag == null) {\n this.__nativeTag = nativeTag;\n const config = this.__getNativeConfig();\n if (this._platformConfig) {\n config.platformConfig = this._platformConfig;\n }\n NativeAnimatedHelper.API.createAnimatedNode(nativeTag, config);\n this.__shouldUpdateListenersForNewNativeTag = true;\n }\n\n return nativeTag;\n }\n __getNativeConfig(): Object {\n throw new Error(\n 'This JS animated node type cannot be used as native animated node',\n );\n }\n toJSON(): any {\n return this.__getValue();\n }\n\n __getPlatformConfig(): ?PlatformConfig {\n return this._platformConfig;\n }\n __setPlatformConfig(platformConfig: ?PlatformConfig) {\n this._platformConfig = platformConfig;\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\ntype SpringConfigType = {\n stiffness: number,\n damping: number,\n ...\n};\n\nfunction stiffnessFromOrigamiValue(oValue: number) {\n return (oValue - 30) * 3.62 + 194;\n}\n\nfunction dampingFromOrigamiValue(oValue: number) {\n return (oValue - 8) * 3 + 25;\n}\n\nexport function fromOrigamiTensionAndFriction(\n tension: number,\n friction: number,\n): SpringConfigType {\n return {\n stiffness: stiffnessFromOrigamiValue(tension),\n damping: dampingFromOrigamiValue(friction),\n };\n}\n\nexport function fromBouncinessAndSpeed(\n bounciness: number,\n speed: number,\n): SpringConfigType {\n function normalize(value: number, startValue: number, endValue: number) {\n return (value - startValue) / (endValue - startValue);\n }\n\n function projectNormal(n: number, start: number, end: number) {\n return start + n * (end - start);\n }\n\n function linearInterpolation(t: number, start: number, end: number) {\n return t * end + (1 - t) * start;\n }\n\n function quadraticOutInterpolation(t: number, start: number, end: number) {\n return linearInterpolation(2 * t - t * t, start, end);\n }\n\n function b3Friction1(x: number) {\n return 0.0007 * Math.pow(x, 3) - 0.031 * Math.pow(x, 2) + 0.64 * x + 1.28;\n }\n\n function b3Friction2(x: number) {\n return 0.000044 * Math.pow(x, 3) - 0.006 * Math.pow(x, 2) + 0.36 * x + 2;\n }\n\n function b3Friction3(x: number) {\n return (\n 0.00000045 * Math.pow(x, 3) -\n 0.000332 * Math.pow(x, 2) +\n 0.1078 * x +\n 5.84\n );\n }\n\n function b3Nobounce(tension: number) {\n if (tension <= 18) {\n return b3Friction1(tension);\n } else if (tension > 18 && tension <= 44) {\n return b3Friction2(tension);\n } else {\n return b3Friction3(tension);\n }\n }\n\n let b = normalize(bounciness / 1.7, 0, 20);\n b = projectNormal(b, 0, 0.8);\n const s = normalize(speed / 1.7, 0, 20);\n const bouncyTension = projectNormal(s, 0.5, 200);\n const bouncyFriction = quadraticOutInterpolation(\n b,\n b3Nobounce(bouncyTension),\n 0.01,\n );\n\n return {\n stiffness: stiffnessFromOrigamiValue(bouncyTension),\n damping: dampingFromOrigamiValue(bouncyFriction),\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {RgbaValue} from '../nodes/AnimatedColor';\nimport type AnimatedInterpolation from '../nodes/AnimatedInterpolation';\nimport type AnimatedValue from '../nodes/AnimatedValue';\nimport type AnimatedValueXY from '../nodes/AnimatedValueXY';\nimport type {AnimationConfig, EndCallback} from './Animation';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedColor from '../nodes/AnimatedColor';\nimport Animation from './Animation';\n\nexport type TimingAnimationConfig = $ReadOnly<{\n ...AnimationConfig,\n toValue:\n | number\n | AnimatedValue\n | {\n x: number,\n y: number,\n ...\n }\n | AnimatedValueXY\n | RgbaValue\n | AnimatedColor\n | AnimatedInterpolation,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n}>;\n\nexport type TimingAnimationConfigSingle = $ReadOnly<{\n ...AnimationConfig,\n toValue: number,\n easing?: (value: number) => number,\n duration?: number,\n delay?: number,\n}>;\n\nlet _easeInOut;\nfunction easeInOut() {\n if (!_easeInOut) {\n const Easing = require('../Easing').default;\n _easeInOut = Easing.inOut(Easing.ease);\n }\n return _easeInOut;\n}\n\nexport default class TimingAnimation extends Animation {\n _startTime: number;\n _fromValue: number;\n _toValue: number;\n _duration: number;\n _delay: number;\n _easing: (value: number) => number;\n _onUpdate: (value: number) => void;\n _animationFrame: any;\n _timeout: any;\n _useNativeDriver: boolean;\n _platformConfig: ?PlatformConfig;\n\n constructor(config: TimingAnimationConfigSingle) {\n super();\n this._toValue = config.toValue;\n this._easing = config.easing ?? easeInOut();\n this._duration = config.duration ?? 500;\n this._delay = config.delay ?? 0;\n this.__iterations = config.iterations ?? 1;\n this._useNativeDriver = NativeAnimatedHelper.shouldUseNativeDriver(config);\n this._platformConfig = config.platformConfig;\n this.__isInteraction = config.isInteraction ?? !this._useNativeDriver;\n }\n\n __getNativeAnimationConfig(): any {\n const frameDuration = 1000.0 / 60.0;\n const frames = [];\n const numFrames = Math.round(this._duration / frameDuration);\n for (let frame = 0; frame < numFrames; frame++) {\n frames.push(this._easing(frame / numFrames));\n }\n frames.push(this._easing(1));\n return {\n type: 'frames',\n frames,\n toValue: this._toValue,\n iterations: this.__iterations,\n platformConfig: this._platformConfig,\n };\n }\n\n start(\n fromValue: number,\n onUpdate: (value: number) => void,\n onEnd: ?EndCallback,\n previousAnimation: ?Animation,\n animatedValue: AnimatedValue,\n ): void {\n this.__active = true;\n this._fromValue = fromValue;\n this._onUpdate = onUpdate;\n this.__onEnd = onEnd;\n\n const start = () => {\n // Animations that sometimes have 0 duration and sometimes do not\n // still need to use the native driver when duration is 0 so as to\n // not cause intermixed JS and native animations.\n if (this._duration === 0 && !this._useNativeDriver) {\n this._onUpdate(this._toValue);\n this.__debouncedOnEnd({finished: true});\n } else {\n this._startTime = Date.now();\n if (this._useNativeDriver) {\n this.__startNativeAnimation(animatedValue);\n } else {\n this._animationFrame = requestAnimationFrame(\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this.onUpdate.bind(this),\n );\n }\n }\n };\n if (this._delay) {\n this._timeout = setTimeout(start, this._delay);\n } else {\n start();\n }\n }\n\n onUpdate(): void {\n const now = Date.now();\n if (now >= this._startTime + this._duration) {\n if (this._duration === 0) {\n this._onUpdate(this._toValue);\n } else {\n this._onUpdate(\n this._fromValue + this._easing(1) * (this._toValue - this._fromValue),\n );\n }\n this.__debouncedOnEnd({finished: true});\n return;\n }\n\n this._onUpdate(\n this._fromValue +\n this._easing((now - this._startTime) / this._duration) *\n (this._toValue - this._fromValue),\n );\n if (this.__active) {\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._animationFrame = requestAnimationFrame(this.onUpdate.bind(this));\n }\n }\n\n stop(): void {\n super.stop();\n this.__active = false;\n clearTimeout(this._timeout);\n global.cancelAnimationFrame(this._animationFrame);\n this.__debouncedOnEnd({finished: false});\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nlet ease;\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\nconst Easing = {\n /**\n * A stepping function, returns 1 for any positive value of `n`.\n */\n step0(n: number): number {\n return n > 0 ? 1 : 0;\n },\n\n /**\n * A stepping function, returns 1 if `n` is greater than or equal to 1.\n */\n step1(n: number): number {\n return n >= 1 ? 1 : 0;\n },\n\n /**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\n linear(t: number): number {\n return t;\n },\n\n /**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\n ease(t: number): number {\n if (!ease) {\n ease = Easing.bezier(0.42, 0, 1, 1);\n }\n return ease(t);\n },\n\n /**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\n quad(t: number): number {\n return t * t;\n },\n\n /**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\n cubic(t: number): number {\n return t * t * t;\n },\n\n /**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\n poly(n: number): (t: number) => number {\n return (t: number) => Math.pow(t, n);\n },\n\n /**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\n sin(t: number): number {\n return 1 - Math.cos((t * Math.PI) / 2);\n },\n\n /**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\n circle(t: number): number {\n return 1 - Math.sqrt(1 - t * t);\n },\n\n /**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\n exp(t: number): number {\n return Math.pow(2, 10 * (t - 1));\n },\n\n /**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\n elastic(bounciness: number = 1): (t: number) => number {\n const p = bounciness * Math.PI;\n return t => 1 - Math.pow(Math.cos((t * Math.PI) / 2), 3) * Math.cos(t * p);\n },\n\n /**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * https://easings.net/#easeInBack\n */\n back(s: number = 1.70158): (t: number) => number {\n return t => t * t * ((s + 1) * t - s);\n },\n\n /**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\n bounce(t: number): number {\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n const t2 = t - 1.5 / 2.75;\n return 7.5625 * t2 * t2 + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n const t2 = t - 2.25 / 2.75;\n return 7.5625 * t2 * t2 + 0.9375;\n }\n\n const t2 = t - 2.625 / 2.75;\n return 7.5625 * t2 * t2 + 0.984375;\n },\n\n /**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\n bezier(\n x1: number,\n y1: number,\n x2: number,\n y2: number,\n ): (t: number) => number {\n const _bezier = require('./bezier').default;\n return _bezier(x1, y1, x2, y2);\n },\n\n /**\n * Runs an easing function forwards.\n */\n in(easing: (t: number) => number): (t: number) => number {\n return easing;\n },\n\n /**\n * Runs an easing function backwards.\n */\n out(easing: (t: number) => number): (t: number) => number {\n return t => 1 - easing(1 - t);\n },\n\n /**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\n inOut(easing: (t: number) => number): (t: number) => number {\n return t => {\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n return 1 - easing((1 - t) * 2) / 2;\n };\n },\n};\n\nexport default Easing;\n","/**\n * Portions Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n/**\n * BezierEasing - use bezier curve for transition easing function\n * https://github.com/gre/bezier-easing\n * @copyright 2014-2015 Gaëtan Renaudeau. MIT License.\n */\n\n'use strict';\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\nconst NEWTON_ITERATIONS = 4;\nconst NEWTON_MIN_SLOPE = 0.001;\nconst SUBDIVISION_PRECISION = 0.0000001;\nconst SUBDIVISION_MAX_ITERATIONS = 10;\n\nconst kSplineTableSize = 11;\nconst kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\nconst float32ArraySupported = typeof Float32Array === 'function';\n\nfunction A(aA1: number, aA2: number) {\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n}\nfunction B(aA1: number, aA2: number) {\n return 3.0 * aA2 - 6.0 * aA1;\n}\nfunction C(aA1: number) {\n return 3.0 * aA1;\n}\n\n// Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\nfunction calcBezier(aT: number, aA1: number, aA2: number) {\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n}\n\n// Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\nfunction getSlope(aT: number, aA1: number, aA2: number) {\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n}\n\nfunction binarySubdivide(\n aX: number,\n _aA: number,\n _aB: number,\n mX1: number,\n mX2: number,\n) {\n let currentX,\n currentT,\n i = 0,\n aA = _aA,\n aB = _aB;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n}\n\nfunction newtonRaphsonIterate(\n aX: number,\n _aGuessT: number,\n mX1: number,\n mX2: number,\n) {\n let aGuessT = _aGuessT;\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n}\n\nexport default function bezier(\n mX1: number,\n mY1: number,\n mX2: number,\n mY2: number,\n): (x: number) => number {\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n // Precompute samples table\n const sampleValues = float32ArraySupported\n ? new Float32Array(kSplineTableSize)\n : new Array(kSplineTableSize);\n if (mX1 !== mY1 || mX2 !== mY2) {\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n }\n\n function getTForX(aX: number) {\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n const dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2,\n );\n }\n }\n\n return function BezierEasing(x: number): number {\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport View from '../Components/View/View';\nimport setAndForwardRef from '../Utilities/setAndForwardRef';\nimport {AnimatedEvent} from './AnimatedEvent';\nimport * as createAnimatedComponentInjection from './createAnimatedComponentInjection';\nimport NativeAnimatedHelper from './NativeAnimatedHelper';\nimport AnimatedProps from './nodes/AnimatedProps';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nlet animatedComponentNextId = 1;\n\nexport type AnimatedComponentType<\n -Props: {+[string]: mixed, ...},\n +Instance = mixed,\n> = React.AbstractComponent<\n $ObjMap<\n Props &\n $ReadOnly<{\n passthroughAnimatedPropExplicitValues?: React.ElementConfig<\n typeof View,\n >,\n }>,\n () => any,\n >,\n Instance,\n>;\n\nfunction createAnimatedComponent(\n Component: React.AbstractComponent,\n): AnimatedComponentType {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.',\n );\n\n class AnimatedComponent extends React.Component {\n _component: any; // TODO T53738161: flow type this, and the whole file\n _invokeAnimatedPropsCallbackOnMount: boolean = false;\n _prevComponent: any;\n _propsAnimated: AnimatedProps;\n _eventDetachers: Array = [];\n\n // Only to be used in this file, and only in Fabric.\n _animatedComponentId: string = `${animatedComponentNextId++}:animatedComponent`;\n\n _attachNativeEvents() {\n // Make sure to get the scrollable node for components that implement\n // `ScrollResponder.Mixin`.\n const scrollableNode = this._component?.getScrollableNode\n ? this._component.getScrollableNode()\n : this._component;\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (prop instanceof AnimatedEvent && prop.__isNative) {\n prop.__attach(scrollableNode, key);\n this._eventDetachers.push(() => prop.__detach(scrollableNode, key));\n }\n }\n }\n\n _detachNativeEvents() {\n this._eventDetachers.forEach(remove => remove());\n this._eventDetachers = [];\n }\n\n _isFabric = (): boolean => {\n // When called during the first render, `_component` is always null.\n // Therefore, even if a component is rendered in Fabric, we can't detect\n // that until ref is set, which happens sometime after the first render.\n // In cases where this value switching between \"false\" and \"true\" on Fabric\n // causes issues, add an additional check for _component nullity.\n if (this._component == null) {\n return false;\n }\n return (\n // eslint-disable-next-line dot-notation\n this._component['_internalInstanceHandle']?.stateNode?.canonical !=\n null ||\n // Some components have a setNativeProps function but aren't a host component\n // such as lists like FlatList and SectionList. These should also use\n // forceUpdate in Fabric since setNativeProps doesn't exist on the underlying\n // host component. This crazy hack is essentially special casing those lists and\n // ScrollView itself to use forceUpdate in Fabric.\n // If these components end up using forwardRef then these hacks can go away\n // as this._component would actually be the underlying host component and the above check\n // would be sufficient.\n (this._component.getNativeScrollRef != null &&\n this._component.getNativeScrollRef() != null &&\n // eslint-disable-next-line dot-notation\n this._component.getNativeScrollRef()['_internalInstanceHandle']\n ?.stateNode?.canonical != null) ||\n (this._component.getScrollResponder != null &&\n this._component.getScrollResponder() != null &&\n this._component.getScrollResponder().getNativeScrollRef != null &&\n this._component.getScrollResponder().getNativeScrollRef() != null &&\n this._component.getScrollResponder().getNativeScrollRef()[\n // eslint-disable-next-line dot-notation\n '_internalInstanceHandle'\n ]?.stateNode?.canonical != null)\n );\n };\n\n _waitForUpdate = (): void => {\n if (this._isFabric()) {\n NativeAnimatedHelper.API.setWaitingForIdentifier(\n this._animatedComponentId,\n );\n }\n };\n\n _markUpdateComplete = (): void => {\n if (this._isFabric()) {\n NativeAnimatedHelper.API.unsetWaitingForIdentifier(\n this._animatedComponentId,\n );\n }\n };\n\n // The system is best designed when setNativeProps is implemented. It is\n // able to avoid re-rendering and directly set the attributes that changed.\n // However, setNativeProps can only be implemented on leaf native\n // components. If you want to animate a composite component, you need to\n // re-render it. In this case, we have a fallback that uses forceUpdate.\n // This fallback is also called in Fabric.\n _animatedPropsCallback = (): void => {\n if (this._component == null) {\n // AnimatedProps is created in will-mount because it's used in render.\n // But this callback may be invoked before mount in async mode,\n // In which case we should defer the setNativeProps() call.\n // React may throw away uncommitted work in async mode,\n // So a deferred call won't always be invoked.\n this._invokeAnimatedPropsCallbackOnMount = true;\n } else if (\n process.env.NODE_ENV === 'test' ||\n // For animating properties of non-leaf/non-native components\n typeof this._component.setNativeProps !== 'function' ||\n // In Fabric, force animations to go through forceUpdate and skip setNativeProps\n this._isFabric()\n ) {\n this.forceUpdate();\n } else if (!this._propsAnimated.__isNative) {\n this._component.setNativeProps(\n this._propsAnimated.__getAnimatedValue(),\n );\n } else {\n throw new Error(\n 'Attempting to run JS driven animation on animated ' +\n 'node that has been moved to \"native\" earlier by starting an ' +\n 'animation with `useNativeDriver: true`',\n );\n }\n };\n\n _attachProps(nextProps: any) {\n const oldPropsAnimated = this._propsAnimated;\n\n this._propsAnimated = new AnimatedProps(\n nextProps,\n this._animatedPropsCallback,\n );\n this._propsAnimated.__attach();\n\n // When you call detach, it removes the element from the parent list\n // of children. If it goes to 0, then the parent also detaches itself\n // and so on.\n // An optimization is to attach the new elements and THEN detach the old\n // ones instead of detaching and THEN attaching.\n // This way the intermediate state isn't to go to 0 and trigger\n // this expensive recursive detaching to then re-attach everything on\n // the very next operation.\n if (oldPropsAnimated) {\n oldPropsAnimated.__restoreDefaultValues();\n oldPropsAnimated.__detach();\n }\n }\n\n _setComponentRef: (ref: React.ElementRef) => void = setAndForwardRef({\n getForwardedRef: () => this.props.forwardedRef,\n setLocalRef: ref => {\n this._prevComponent = this._component;\n this._component = ref;\n },\n });\n\n render(): React.Node {\n const animatedProps = this._propsAnimated.__getValue() || {};\n\n const {style = {}, ...props} = animatedProps;\n const {style: passthruStyle = {}, ...passthruProps} =\n this.props.passthroughAnimatedPropExplicitValues || {};\n const mergedStyle = {...style, ...passthruStyle};\n\n // Force `collapsable` to be false so that native view is not flattened.\n // Flattened views cannot be accurately referenced by a native driver.\n return (\n \n );\n }\n\n UNSAFE_componentWillMount() {\n this._waitForUpdate();\n this._attachProps(this.props);\n }\n\n componentDidMount() {\n if (this._invokeAnimatedPropsCallbackOnMount) {\n this._invokeAnimatedPropsCallbackOnMount = false;\n this._animatedPropsCallback();\n }\n\n this._propsAnimated.setNativeView(this._component);\n this._attachNativeEvents();\n this._markUpdateComplete();\n }\n\n UNSAFE_componentWillReceiveProps(newProps: any) {\n this._waitForUpdate();\n this._attachProps(newProps);\n }\n\n componentDidUpdate(prevProps: any) {\n if (this._component !== this._prevComponent) {\n this._propsAnimated.setNativeView(this._component);\n }\n if (this._component !== this._prevComponent || prevProps !== this.props) {\n this._detachNativeEvents();\n this._attachNativeEvents();\n }\n this._markUpdateComplete();\n }\n\n componentWillUnmount() {\n this._propsAnimated && this._propsAnimated.__detach();\n this._detachNativeEvents();\n this._markUpdateComplete();\n this._component = null;\n this._prevComponent = null;\n }\n }\n\n return React.forwardRef(function AnimatedComponentWrapper(props, ref) {\n return (\n \n );\n });\n}\n\n// $FlowIgnore[incompatible-cast] - Will be compatible after refactors.\nexport default (createAnimatedComponentInjection.recordAndRetrieve() ??\n createAnimatedComponent: typeof createAnimatedComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport type {ElementRef, Ref} from 'react';\n\ntype Args = $ReadOnly<{|\n getForwardedRef: () => ?Ref,\n setLocalRef: (ref: ElementRef) => mixed,\n|}>;\n\n/**\n * This is a helper function for when a component needs to be able to forward a ref\n * to a child component, but still needs to have access to that component as part of\n * its implementation.\n *\n * Its main use case is in wrappers for native components.\n *\n * Usage:\n *\n * class MyView extends React.Component {\n * _nativeRef = null;\n *\n * _setNativeRef = setAndForwardRef({\n * getForwardedRef: () => this.props.forwardedRef,\n * setLocalRef: ref => {\n * this._nativeRef = ref;\n * },\n * });\n *\n * render() {\n * return ;\n * }\n * }\n *\n * const MyViewWithRef = React.forwardRef((props, ref) => (\n * \n * ));\n *\n * module.exports = MyViewWithRef;\n */\n\nfunction setAndForwardRef({\n getForwardedRef,\n setLocalRef,\n}: Args): (ref: ElementRef) => void {\n return function forwardRef(ref: ElementRef) {\n const forwardedRef = getForwardedRef();\n\n setLocalRef(ref);\n\n // Forward to user ref prop (if one has been specified)\n if (typeof forwardedRef === 'function') {\n // Handle function-based refs. String-based refs are handled as functions.\n forwardedRef(ref);\n } else if (typeof forwardedRef === 'object' && forwardedRef != null) {\n // Handle createRef-based refs\n forwardedRef.current = ref;\n }\n };\n}\n\nmodule.exports = setAndForwardRef;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport * as React from 'react';\n\ntype createAnimatedComponent = (\n Component: React.AbstractComponent,\n) => React.AbstractComponent;\n\n// This can be undefined, null, or the experimental implementation. If this is\n// null, that means `createAnimatedComponent` has already been initialized and\n// it is too late to call `inject`.\nlet injected: ?createAnimatedComponent;\n\n/**\n * Call during bundle initialization to opt-in to new `createAnimatedComponent`.\n */\nexport function inject(newInjected: createAnimatedComponent): void {\n if (injected !== undefined) {\n if (__DEV__) {\n console.error(\n 'createAnimatedComponentInjection: ' +\n (injected == null\n ? 'Must be called before `createAnimatedComponent`.'\n : 'Cannot be called more than once.'),\n );\n }\n return;\n }\n injected = newInjected;\n}\n\n/**\n * Only called by `createAnimatedComponent.js`.\n */\nexport function recordAndRetrieve(): createAnimatedComponent | null {\n if (injected === undefined) {\n injected = null;\n }\n return injected;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport {findNodeHandle} from '../../ReactNative/RendererProxy';\nimport {AnimatedEvent} from '../AnimatedEvent';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedStyle from './AnimatedStyle';\nimport invariant from 'invariant';\n\nexport default class AnimatedProps extends AnimatedNode {\n _props: Object;\n _animatedView: any;\n _callback: () => void;\n\n constructor(props: Object, callback: () => void) {\n super();\n if (props.style) {\n props = {\n ...props,\n style: new AnimatedStyle(props.style),\n };\n }\n this._props = props;\n this._callback = callback;\n }\n\n __getValue(): Object {\n const props: {[string]: any | ((...args: any) => void)} = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getValue();\n } else if (value instanceof AnimatedEvent) {\n props[key] = value.__getHandler();\n } else {\n props[key] = value;\n }\n }\n\n return props;\n }\n\n __getAnimatedValue(): Object {\n const props: {[string]: any} = {};\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n props[key] = value.__getAnimatedValue();\n }\n }\n return props;\n }\n\n __attach(): void {\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n if (this.__isNative && this._animatedView) {\n this.__disconnectAnimatedView();\n }\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n update(): void {\n this._callback();\n }\n\n __makeNative(platformConfig: ?PlatformConfig): void {\n if (!this.__isNative) {\n this.__isNative = true;\n for (const key in this._props) {\n const value = this._props[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative(platformConfig);\n }\n }\n\n // Since this does not call the super.__makeNative, we need to store the\n // supplied platformConfig here, before calling __connectAnimatedView\n // where it will be needed to traverse the graph of attached values.\n super.__setPlatformConfig(platformConfig);\n\n if (this._animatedView) {\n this.__connectAnimatedView();\n }\n }\n }\n\n setNativeView(animatedView: any): void {\n if (this._animatedView === animatedView) {\n return;\n }\n this._animatedView = animatedView;\n if (this.__isNative) {\n this.__connectAnimatedView();\n }\n }\n\n __connectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.connectAnimatedNodeToView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __disconnectAnimatedView(): void {\n invariant(this.__isNative, 'Expected node to be marked as \"native\"');\n const nativeViewTag: ?number = findNodeHandle(this._animatedView);\n invariant(\n nativeViewTag != null,\n 'Unable to locate attached view in the native tree',\n );\n NativeAnimatedHelper.API.disconnectAnimatedNodeFromView(\n this.__getNativeTag(),\n nativeViewTag,\n );\n }\n\n __restoreDefaultValues(): void {\n // When using the native driver, view properties need to be restored to\n // their default values manually since react no longer tracks them. This\n // is needed to handle cases where a prop driven by native animated is removed\n // after having been changed natively by an animation.\n if (this.__isNative) {\n NativeAnimatedHelper.API.restoreDefaultValues(this.__getNativeTag());\n }\n }\n\n __getNativeConfig(): Object {\n const propsConfig: {[string]: number} = {};\n for (const propKey in this._props) {\n const value = this._props[propKey];\n if (value instanceof AnimatedNode) {\n value.__makeNative(this.__getPlatformConfig());\n propsConfig[propKey] = value.__getNativeTag();\n }\n }\n return {\n type: 'props',\n props: propsConfig,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedTransform from './AnimatedTransform';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedStyle extends AnimatedWithChildren {\n _style: Object;\n\n constructor(style: any) {\n super();\n style = flattenStyle(style) || ({}: {[string]: any});\n if (style.transform) {\n style = {\n ...style,\n transform: new AnimatedTransform(style.transform),\n };\n }\n this._style = style;\n }\n\n // Recursively get values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetValues(style: any): {[string]: any | {...}} {\n const updatedStyle: {[string]: any | {...}} = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetValues(value);\n } else {\n updatedStyle[key] = value;\n }\n }\n return updatedStyle;\n }\n\n __getValue(): Object {\n return this._walkStyleAndGetValues(this._style);\n }\n\n // Recursively get animated values for nested styles (like iOS's shadowOffset)\n _walkStyleAndGetAnimatedValues(style: any): {[string]: any | {...}} {\n const updatedStyle: {[string]: any | {...}} = {};\n for (const key in style) {\n const value = style[key];\n if (value instanceof AnimatedNode) {\n updatedStyle[key] = value.__getAnimatedValue();\n } else if (value && !Array.isArray(value) && typeof value === 'object') {\n // Support animating nested values (for example: shadowOffset.height)\n updatedStyle[key] = this._walkStyleAndGetAnimatedValues(value);\n }\n }\n return updatedStyle;\n }\n\n __getAnimatedValue(): Object {\n return this._walkStyleAndGetAnimatedValues(this._style);\n }\n\n __attach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n }\n\n __detach(): void {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n super.__detach();\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n for (const key in this._style) {\n const value = this._style[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative(platformConfig);\n }\n }\n super.__makeNative(platformConfig);\n }\n\n __getNativeConfig(): Object {\n const styleConfig: {[string]: ?number} = {};\n for (const styleKey in this._style) {\n if (this._style[styleKey] instanceof AnimatedNode) {\n const style = this._style[styleKey];\n style.__makeNative(this.__getPlatformConfig());\n styleConfig[styleKey] = style.__getNativeTag();\n }\n // Non-animated styles are set using `setNativeProps`, no need\n // to pass those as a part of the node config\n }\n NativeAnimatedHelper.validateStyles(styleConfig);\n return {\n type: 'style',\n style: styleConfig,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedTransform extends AnimatedWithChildren {\n _transforms: $ReadOnlyArray;\n\n constructor(transforms: $ReadOnlyArray) {\n super();\n this._transforms = transforms;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__makeNative(platformConfig);\n }\n }\n });\n super.__makeNative(platformConfig);\n }\n\n __getValue(): $ReadOnlyArray {\n return this._get(animatedNode => animatedNode.__getValue());\n }\n\n __getAnimatedValue(): $ReadOnlyArray {\n return this._get(animatedNode => animatedNode.__getAnimatedValue());\n }\n\n __attach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__addChild(this);\n }\n }\n });\n }\n\n __detach(): void {\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n value.__removeChild(this);\n }\n }\n });\n super.__detach();\n }\n\n __getNativeConfig(): any {\n const transConfigs = [];\n\n this._transforms.forEach(transform => {\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n transConfigs.push({\n type: 'animated',\n property: key,\n nodeTag: value.__getNativeTag(),\n });\n } else {\n transConfigs.push({\n type: 'static',\n property: key,\n value: NativeAnimatedHelper.transformDataType(value),\n });\n }\n }\n });\n\n NativeAnimatedHelper.validateTransform(transConfigs);\n return {\n type: 'transform',\n transforms: transConfigs,\n };\n }\n\n _get(getter: AnimatedNode => any): $ReadOnlyArray {\n return this._transforms.map(transform => {\n const result: {[string]: any} = {};\n for (const key in transform) {\n const value = transform[key];\n if (value instanceof AnimatedNode) {\n result[key] = getter(value);\n } else if (Array.isArray(value)) {\n result[key] = value.map(element => {\n if (element instanceof AnimatedNode) {\n return getter(element);\n } else {\n return element;\n }\n });\n } else if (typeof value === 'object') {\n result[key] = {};\n for (const [nestedKey, nestedValue] of Object.entries(value)) {\n if (nestedValue instanceof AnimatedNode) {\n result[key][nestedKey] = getter(nestedValue);\n } else {\n result[key][nestedKey] = nestedValue;\n }\n }\n } else {\n result[key] = value;\n }\n }\n return result;\n });\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from './AnimatedPlatformConfig';\n\nimport {findNodeHandle} from '../ReactNative/RendererProxy';\nimport NativeAnimatedHelper from './NativeAnimatedHelper';\nimport AnimatedValue from './nodes/AnimatedValue';\nimport AnimatedValueXY from './nodes/AnimatedValueXY';\nimport invariant from 'invariant';\n\nexport type Mapping =\n | {[key: string]: Mapping, ...}\n | AnimatedValue\n | AnimatedValueXY;\nexport type EventConfig = {\n listener?: ?Function,\n useNativeDriver: boolean,\n platformConfig?: PlatformConfig,\n};\n\nexport function attachNativeEvent(\n viewRef: any,\n eventName: string,\n argMapping: $ReadOnlyArray,\n platformConfig: ?PlatformConfig,\n): {detach: () => void} {\n // Find animated values in `argMapping` and create an array representing their\n // key path inside the `nativeEvent` object. Ex.: ['contentOffset', 'x'].\n const eventMappings = [];\n\n const traverse = (value: mixed, path: Array) => {\n if (value instanceof AnimatedValue) {\n value.__makeNative(platformConfig);\n\n eventMappings.push({\n nativeEventPath: path,\n animatedValueTag: value.__getNativeTag(),\n });\n } else if (value instanceof AnimatedValueXY) {\n traverse(value.x, path.concat('x'));\n traverse(value.y, path.concat('y'));\n } else if (typeof value === 'object') {\n for (const key in value) {\n traverse(value[key], path.concat(key));\n }\n }\n };\n\n invariant(\n argMapping[0] && argMapping[0].nativeEvent,\n 'Native driven events only support animated values contained inside `nativeEvent`.',\n );\n\n // Assume that the event containing `nativeEvent` is always the first argument.\n traverse(argMapping[0].nativeEvent, []);\n\n const viewTag = findNodeHandle(viewRef);\n if (viewTag != null) {\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.addAnimatedEventToView(\n viewTag,\n eventName,\n mapping,\n );\n });\n }\n\n return {\n detach() {\n if (viewTag != null) {\n eventMappings.forEach(mapping => {\n NativeAnimatedHelper.API.removeAnimatedEventFromView(\n viewTag,\n eventName,\n // $FlowFixMe[incompatible-call]\n mapping.animatedValueTag,\n );\n });\n }\n },\n };\n}\n\nfunction validateMapping(argMapping: $ReadOnlyArray, args: any) {\n const validate = (recMapping: ?Mapping, recEvt: any, key: string) => {\n if (recMapping instanceof AnimatedValue) {\n invariant(\n typeof recEvt === 'number',\n 'Bad mapping of event key ' +\n key +\n ', should be number but got ' +\n typeof recEvt,\n );\n return;\n }\n if (recMapping instanceof AnimatedValueXY) {\n invariant(\n typeof recEvt.x === 'number' && typeof recEvt.y === 'number',\n 'Bad mapping of event key ' + key + ', should be XY but got ' + recEvt,\n );\n return;\n }\n if (typeof recEvt === 'number') {\n invariant(\n recMapping instanceof AnimatedValue,\n 'Bad mapping of type ' +\n typeof recMapping +\n ' for key ' +\n key +\n ', event value must map to AnimatedValue',\n );\n return;\n }\n invariant(\n typeof recMapping === 'object',\n 'Bad mapping of type ' + typeof recMapping + ' for key ' + key,\n );\n invariant(\n typeof recEvt === 'object',\n 'Bad event of type ' + typeof recEvt + ' for key ' + key,\n );\n for (const mappingKey in recMapping) {\n validate(recMapping[mappingKey], recEvt[mappingKey], mappingKey);\n }\n };\n\n invariant(\n args.length >= argMapping.length,\n 'Event has less arguments than mapping',\n );\n argMapping.forEach((mapping, idx) => {\n validate(mapping, args[idx], 'arg' + idx);\n });\n}\n\nexport class AnimatedEvent {\n _argMapping: $ReadOnlyArray;\n _listeners: Array = [];\n _attachedEvent: ?{detach: () => void, ...};\n __isNative: boolean;\n __platformConfig: ?PlatformConfig;\n\n constructor(argMapping: $ReadOnlyArray, config: EventConfig) {\n this._argMapping = argMapping;\n\n if (config == null) {\n console.warn('Animated.event now requires a second argument for options');\n config = {useNativeDriver: false};\n }\n\n if (config.listener) {\n this.__addListener(config.listener);\n }\n this._attachedEvent = null;\n this.__isNative = NativeAnimatedHelper.shouldUseNativeDriver(config);\n this.__platformConfig = config.platformConfig;\n }\n\n __addListener(callback: Function): void {\n this._listeners.push(callback);\n }\n\n __removeListener(callback: Function): void {\n this._listeners = this._listeners.filter(listener => listener !== callback);\n }\n\n __attach(viewRef: any, eventName: string): void {\n invariant(\n this.__isNative,\n 'Only native driven events need to be attached.',\n );\n\n this._attachedEvent = attachNativeEvent(\n viewRef,\n eventName,\n this._argMapping,\n this.__platformConfig,\n );\n }\n\n __detach(viewTag: any, eventName: string): void {\n invariant(\n this.__isNative,\n 'Only native driven events need to be detached.',\n );\n\n this._attachedEvent && this._attachedEvent.detach();\n }\n\n __getHandler(): any | ((...args: any) => void) {\n if (this.__isNative) {\n if (__DEV__) {\n let validatedMapping = false;\n return (...args: any) => {\n if (!validatedMapping) {\n validateMapping(this._argMapping, args);\n validatedMapping = true;\n }\n this._callListeners(...args);\n };\n } else {\n return this._callListeners;\n }\n }\n\n let validatedMapping = false;\n return (...args: any) => {\n if (__DEV__ && !validatedMapping) {\n validateMapping(this._argMapping, args);\n validatedMapping = true;\n }\n\n const traverse = (\n recMapping: ?(Mapping | AnimatedValue),\n recEvt: any,\n ) => {\n if (recMapping instanceof AnimatedValue) {\n if (typeof recEvt === 'number') {\n recMapping.setValue(recEvt);\n }\n } else if (recMapping instanceof AnimatedValueXY) {\n if (typeof recEvt === 'object') {\n traverse(recMapping.x, recEvt.x);\n traverse(recMapping.y, recEvt.y);\n }\n } else if (typeof recMapping === 'object') {\n for (const mappingKey in recMapping) {\n /* $FlowFixMe[prop-missing] (>=0.120.0) This comment suppresses an\n * error found when Flow v0.120 was deployed. To see the error,\n * delete this comment and run Flow. */\n traverse(recMapping[mappingKey], recEvt[mappingKey]);\n }\n }\n };\n this._argMapping.forEach((mapping, idx) => {\n traverse(mapping, args[idx]);\n });\n\n this._callListeners(...args);\n };\n }\n\n _callListeners = (...args: any) => {\n this._listeners.forEach(listener => listener(...args));\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\n\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\nimport invariant from 'invariant';\n\nexport type AnimatedValueXYConfig = $ReadOnly<{\n useNativeDriver: boolean,\n}>;\ntype ValueXYListenerCallback = (value: {\n x: number,\n y: number,\n ...\n}) => mixed;\n\nlet _uniqueId = 1;\n\n/**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See https://reactnative.dev/docs/animatedvaluexy\n */\nexport default class AnimatedValueXY extends AnimatedWithChildren {\n x: AnimatedValue;\n y: AnimatedValue;\n _listeners: {\n [key: string]: {\n x: string,\n y: string,\n ...\n },\n ...\n };\n\n constructor(\n valueIn?: ?{\n +x: number | AnimatedValue,\n +y: number | AnimatedValue,\n ...\n },\n config?: ?AnimatedValueXYConfig,\n ) {\n super();\n const value: any = valueIn || {x: 0, y: 0}; // @flowfixme: shouldn't need `: any`\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n this.x = new AnimatedValue(value.x);\n this.y = new AnimatedValue(value.y);\n } else {\n invariant(\n value.x instanceof AnimatedValue && value.y instanceof AnimatedValue,\n 'AnimatedValueXY must be initialized with an object of numbers or ' +\n 'AnimatedValues.',\n );\n this.x = value.x;\n this.y = value.y;\n }\n this._listeners = {};\n if (config && config.useNativeDriver) {\n this.__makeNative();\n }\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#setvalue\n */\n setValue(value: {x: number, y: number, ...}) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#setoffset\n */\n setOffset(offset: {x: number, y: number, ...}) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#flattenoffset\n */\n flattenOffset(): void {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#extractoffset\n */\n extractOffset(): void {\n this.x.extractOffset();\n this.y.extractOffset();\n }\n\n __getValue(): {\n x: number,\n y: number,\n ...\n } {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue(),\n };\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#resetanimation\n */\n resetAnimation(\n callback?: (value: {\n x: number,\n y: number,\n ...\n }) => void,\n ): void {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#stopanimation\n */\n stopAnimation(\n callback?: (value: {\n x: number,\n y: number,\n ...\n }) => void,\n ): void {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#addlistener\n */\n addListener(callback: ValueXYListenerCallback): string {\n const id = String(_uniqueId++);\n const jointCallback = ({value: number}: any) => {\n callback(this.__getValue());\n };\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback),\n };\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#removelistener\n */\n removeListener(id: string): void {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n\n /**\n * Remove all registered listeners.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#removealllisteners\n */\n removeAllListeners(): void {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#getlayout\n */\n getLayout(): {[key: string]: AnimatedValue, ...} {\n return {\n left: this.x,\n top: this.y,\n };\n }\n\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See https://reactnative.dev/docs/animatedvaluexy#gettranslatetransform\n */\n getTranslateTransform(): Array<{[key: string]: AnimatedValue, ...}> {\n return [{translateX: this.x}, {translateY: this.y}];\n }\n\n __attach(): void {\n this.x.__addChild(this);\n this.y.__addChild(this);\n super.__attach();\n }\n\n __detach(): void {\n this.x.__removeChild(this);\n this.y.__removeChild(this);\n super.__detach();\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this.x.__makeNative(platformConfig);\n this.y.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedAddition extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number {\n return this._a.__getValue() + this._b.__getValue();\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'addition',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedDiffClamp extends AnimatedWithChildren {\n _a: AnimatedNode;\n _min: number;\n _max: number;\n _value: number;\n _lastValue: number;\n\n constructor(a: AnimatedNode, min: number, max: number) {\n super();\n\n this._a = a;\n this._min = min;\n this._max = max;\n this._value = this._lastValue = this._a.__getValue();\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __getValue(): number {\n const value = this._a.__getValue();\n const diff = value - this._lastValue;\n this._lastValue = value;\n this._value = Math.min(Math.max(this._value + diff, this._min), this._max);\n return this._value;\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'diffclamp',\n input: this._a.__getNativeTag(),\n min: this._min,\n max: this._max,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedDivision extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n _warnedAboutDivideByZero: boolean = false;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n if (b === 0 || (b instanceof AnimatedNode && b.__getValue() === 0)) {\n console.error('Detected potential division by zero in AnimatedDivision');\n }\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number {\n const a = this._a.__getValue();\n const b = this._b.__getValue();\n if (b === 0) {\n // Prevent spamming the console/LogBox\n if (!this._warnedAboutDivideByZero) {\n console.error('Detected division by zero in AnimatedDivision');\n this._warnedAboutDivideByZero = true;\n }\n // Passing infinity/NaN to Fabric will cause a native crash\n return 0;\n }\n this._warnedAboutDivideByZero = false;\n return a / b;\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'division',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedModulo extends AnimatedWithChildren {\n _a: AnimatedNode;\n _modulus: number;\n\n constructor(a: AnimatedNode, modulus: number) {\n super();\n this._a = a;\n this._modulus = modulus;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number {\n return (\n ((this._a.__getValue() % this._modulus) + this._modulus) % this._modulus\n );\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'modulus',\n input: this._a.__getNativeTag(),\n modulus: this._modulus,\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedMultiplication extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number {\n return this._a.__getValue() * this._b.__getValue();\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {InterpolationConfigType} from './AnimatedInterpolation';\nimport type AnimatedNode from './AnimatedNode';\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nexport default class AnimatedSubtraction extends AnimatedWithChildren {\n _a: AnimatedNode;\n _b: AnimatedNode;\n\n constructor(a: AnimatedNode | number, b: AnimatedNode | number) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this._a.__makeNative(platformConfig);\n this._b.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n }\n\n __getValue(): number {\n return this._a.__getValue() - this._b.__getValue();\n }\n\n interpolate(\n config: InterpolationConfigType,\n ): AnimatedInterpolation {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach(): void {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n\n __detach(): void {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n super.__detach();\n }\n\n __getNativeConfig(): any {\n return {\n type: 'subtraction',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()],\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PlatformConfig} from '../AnimatedPlatformConfig';\nimport type {EndCallback} from '../animations/Animation';\nimport type AnimatedValue from './AnimatedValue';\n\nimport NativeAnimatedHelper from '../NativeAnimatedHelper';\nimport AnimatedNode from './AnimatedNode';\n\nexport default class AnimatedTracking extends AnimatedNode {\n _value: AnimatedValue;\n _parent: AnimatedNode;\n _callback: ?EndCallback;\n _animationConfig: Object;\n _animationClass: any;\n _useNativeDriver: boolean;\n\n constructor(\n value: AnimatedValue,\n parent: AnimatedNode,\n animationClass: any,\n animationConfig: Object,\n callback?: ?EndCallback,\n ) {\n super();\n this._value = value;\n this._parent = parent;\n this._animationClass = animationClass;\n this._animationConfig = animationConfig;\n this._useNativeDriver =\n NativeAnimatedHelper.shouldUseNativeDriver(animationConfig);\n this._callback = callback;\n this.__attach();\n }\n\n __makeNative(platformConfig: ?PlatformConfig) {\n this.__isNative = true;\n this._parent.__makeNative(platformConfig);\n super.__makeNative(platformConfig);\n this._value.__makeNative(platformConfig);\n }\n\n __getValue(): Object {\n return this._parent.__getValue();\n }\n\n __attach(): void {\n this._parent.__addChild(this);\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n let {platformConfig} = this._animationConfig;\n this.__makeNative(platformConfig);\n }\n }\n\n __detach(): void {\n this._parent.__removeChild(this);\n super.__detach();\n }\n\n update(): void {\n this._value.animate(\n new this._animationClass({\n ...this._animationConfig,\n toValue: (this._animationConfig.toValue: any).__getValue(),\n }),\n this._callback,\n );\n }\n\n __getNativeConfig(): any {\n const animation = new this._animationClass({\n ...this._animationConfig,\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined,\n });\n const animationConfig = animation.__getNativeAnimationConfig();\n return {\n type: 'tracking',\n animationId: NativeAnimatedHelper.generateNewAnimationId(),\n animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag(),\n };\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {Numeric as AnimatedNumeric} from './AnimatedImplementation';\nimport type {EndResult} from './animations/Animation';\nimport type {EndCallback} from './animations/Animation';\nimport type {DecayAnimationConfig} from './animations/DecayAnimation';\nimport type {SpringAnimationConfig} from './animations/SpringAnimation';\nimport type {TimingAnimationConfig} from './animations/TimingAnimation';\n\nimport {AnimatedEvent, attachNativeEvent} from './AnimatedEvent';\nimport AnimatedImplementation from './AnimatedImplementation';\nimport createAnimatedComponent from './createAnimatedComponent';\nimport AnimatedColor from './nodes/AnimatedColor';\nimport AnimatedInterpolation from './nodes/AnimatedInterpolation';\nimport AnimatedNode from './nodes/AnimatedNode';\nimport AnimatedValue from './nodes/AnimatedValue';\nimport AnimatedValueXY from './nodes/AnimatedValueXY';\n\n/**\n * Animations are a source of flakiness in snapshot testing. This mock replaces\n * animation functions from AnimatedImplementation with empty animations for\n * predictability in tests. When possible the animation will run immediately\n * to the final state.\n */\n\n// Prevent any callback invocation from recursively triggering another\n// callback, which may trigger another animation\nlet inAnimationCallback = false;\nfunction mockAnimationStart(\n start: (callback?: ?EndCallback) => void,\n): (callback?: ?EndCallback) => void {\n return callback => {\n const guardedCallback =\n callback == null\n ? callback\n : (...args: Array) => {\n if (inAnimationCallback) {\n console.warn(\n 'Ignoring recursive animation callback when running mock animations',\n );\n return;\n }\n inAnimationCallback = true;\n try {\n callback(...args);\n } finally {\n inAnimationCallback = false;\n }\n };\n start(guardedCallback);\n };\n}\n\nexport type CompositeAnimation = {\n start: (callback?: ?EndCallback) => void,\n stop: () => void,\n reset: () => void,\n _startNativeLoop: (iterations?: number) => void,\n _isUsingNativeDriver: () => boolean,\n ...\n};\n\nconst emptyAnimation = {\n start: () => {},\n stop: () => {},\n reset: () => {},\n _startNativeLoop: () => {},\n _isUsingNativeDriver: () => {\n return false;\n },\n};\n\nconst mockCompositeAnimation = (\n animations: Array,\n): CompositeAnimation => ({\n ...emptyAnimation,\n start: mockAnimationStart((callback?: ?EndCallback): void => {\n animations.forEach(animation => animation.start());\n callback?.({finished: true});\n }),\n});\n\nconst spring = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: SpringAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: mockAnimationStart((callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback?.({finished: true});\n }),\n };\n};\n\nconst timing = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: TimingAnimationConfig,\n): CompositeAnimation {\n const anyValue: any = value;\n return {\n ...emptyAnimation,\n start: mockAnimationStart((callback?: ?EndCallback): void => {\n anyValue.setValue(config.toValue);\n callback?.({finished: true});\n }),\n };\n};\n\nconst decay = function (\n value: AnimatedValue | AnimatedValueXY | AnimatedColor,\n config: DecayAnimationConfig,\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst sequence = function (\n animations: Array,\n): CompositeAnimation {\n return mockCompositeAnimation(animations);\n};\n\ntype ParallelConfig = {stopTogether?: boolean, ...};\nconst parallel = function (\n animations: Array,\n config?: ?ParallelConfig,\n): CompositeAnimation {\n return mockCompositeAnimation(animations);\n};\n\nconst delay = function (time: number): CompositeAnimation {\n return emptyAnimation;\n};\n\nconst stagger = function (\n time: number,\n animations: Array,\n): CompositeAnimation {\n return mockCompositeAnimation(animations);\n};\n\ntype LoopAnimationConfig = {\n iterations: number,\n resetBeforeIteration?: boolean,\n ...\n};\n\nconst loop = function (\n animation: CompositeAnimation,\n // $FlowFixMe[prop-missing]\n {iterations = -1}: LoopAnimationConfig = {},\n): CompositeAnimation {\n return emptyAnimation;\n};\n\nexport type {AnimatedNumeric as Numeric};\n\nexport default {\n Value: AnimatedValue,\n ValueXY: AnimatedValueXY,\n Color: AnimatedColor,\n Interpolation: AnimatedInterpolation,\n Node: AnimatedNode,\n decay,\n timing,\n spring,\n add: AnimatedImplementation.add,\n subtract: AnimatedImplementation.subtract,\n divide: AnimatedImplementation.divide,\n multiply: AnimatedImplementation.multiply,\n modulo: AnimatedImplementation.modulo,\n diffClamp: AnimatedImplementation.diffClamp,\n delay,\n sequence,\n parallel,\n stagger,\n loop,\n event: AnimatedImplementation.event,\n createAnimatedComponent,\n attachNativeEvent,\n forkEvent: AnimatedImplementation.forkEvent,\n unforkEvent: AnimatedImplementation.unforkEvent,\n Event: AnimatedEvent,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport FlatList from '../../Lists/FlatList';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport * as React from 'react';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst FlatListWithEventThrottle = React.forwardRef((props, ref) => (\n \n));\n\nexport default (createAnimatedComponent(\n FlatListWithEventThrottle,\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport typeof ScrollViewNativeComponent from '../Components/ScrollView/ScrollViewNativeComponent';\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {\n ViewabilityConfigCallbackPair,\n ViewToken,\n} from './ViewabilityHelper';\nimport type {RenderItemProps, RenderItemType} from './VirtualizedList';\n\nimport {type ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport VirtualizedList from './VirtualizedList';\nimport {keyExtractor as defaultKeyExtractor} from './VirtualizeUtils';\nimport memoizeOne from 'memoize-one';\n\nconst View = require('../Components/View/View');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst deepDiffer = require('../Utilities/differ/deepDiffer');\nconst Platform = require('../Utilities/Platform');\nconst invariant = require('invariant');\nconst React = require('react');\n\ntype RequiredProps = {|\n /**\n * For simplicity, data is just a plain array. If you want to use something else, like an\n * immutable list, use the underlying `VirtualizedList` directly.\n */\n data: ?$ReadOnlyArray,\n|};\ntype OptionalProps = {|\n /**\n * Takes an item from `data` and renders it into the list. Example usage:\n *\n * (\n * \n * )}\n * data={[{title: 'Title Text', key: 'item1'}]}\n * renderItem={({item, separators}) => (\n * this._onPress(item)}\n * onShowUnderlay={separators.highlight}\n * onHideUnderlay={separators.unhighlight}>\n * \n * {item.title}\n * \n * \n * )}\n * />\n *\n * Provides additional metadata like `index` if you need it, as well as a more generic\n * `separators.updateProps` function which let's you set whatever props you want to change the\n * rendering of either the leading separator or trailing separator in case the more common\n * `highlight` and `unhighlight` (which set the `highlighted: boolean` prop) are insufficient for\n * your use-case.\n */\n renderItem?: ?RenderItemType,\n\n /**\n * Optional custom style for multi-item rows generated when numColumns > 1.\n */\n columnWrapperStyle?: ViewStyleProp,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * `getItemLayout` is an optional optimizations that let us skip measurement of dynamic content if\n * you know the height of items a priori. `getItemLayout` is the most efficient, and is easy to\n * use if you have fixed height items, for example:\n *\n * getItemLayout={(data, index) => (\n * {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index}\n * )}\n *\n * Adding `getItemLayout` can be a great performance boost for lists of several hundred items.\n * Remember to include separator length (height or width) in your offset calculation if you\n * specify `ItemSeparatorComponent`.\n */\n getItemLayout?: (\n data: ?Array,\n index: number,\n ) => {\n length: number,\n offset: number,\n index: number,\n ...\n },\n /**\n * If true, renders items next to each other horizontally instead of stacked vertically.\n */\n horizontal?: ?boolean,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender?: ?number,\n /**\n * Instead of starting at the top with the first item, start at `initialScrollIndex`. This\n * disables the \"scroll to top\" optimization that keeps the first `initialNumToRender` items\n * always rendered and immediately renders the items starting at this initial index. Requires\n * `getItemLayout` to be implemented.\n */\n initialScrollIndex?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks `item.key`, then\n * falls back to using the index, like React does.\n */\n keyExtractor?: ?(item: ItemT, index: number) => string,\n /**\n * Multiple columns can only be rendered with `horizontal={false}` and will zig-zag like a\n * `flexWrap` layout. Items should all be the same height - masonry layouts are not supported.\n *\n * The default value is 1.\n */\n numColumns?: number,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n *\n * The default value is true for Android.\n */\n removeClippedSubviews?: boolean,\n /**\n * See `ScrollView` for flow type and further documentation.\n */\n fadingEdgeLength?: ?number,\n /**\n * Enable an optimization to memoize the item renderer to prevent unnecessary rerenders.\n */\n strictMode?: boolean,\n|};\n\n/**\n * Default Props Helper Functions\n * Use the following helper functions for default values\n */\n\n// removeClippedSubviewsOrDefault(this.props.removeClippedSubviews)\nfunction removeClippedSubviewsOrDefault(removeClippedSubviews: ?boolean) {\n return removeClippedSubviews ?? Platform.OS === 'android';\n}\n\n// numColumnsOrDefault(this.props.numColumns)\nfunction numColumnsOrDefault(numColumns: ?number) {\n return numColumns ?? 1;\n}\n\ntype FlatListProps = {|\n ...RequiredProps,\n ...OptionalProps,\n|};\n\ntype VirtualizedListProps = React.ElementConfig;\n\nexport type Props = {\n ...$Diff<\n VirtualizedListProps,\n {\n getItem: $PropertyType,\n getItemCount: $PropertyType,\n getItemLayout: $PropertyType,\n renderItem: $PropertyType,\n keyExtractor: $PropertyType,\n ...\n },\n >,\n ...FlatListProps,\n ...\n};\n\n/**\n * A performant interface for rendering simple, flat lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Optional horizontal mode.\n * - Configurable viewability callbacks.\n * - Header support.\n * - Footer support.\n * - Separator support.\n * - Pull to Refresh.\n * - Scroll loading.\n * - ScrollToIndex support.\n *\n * If you need section support, use [``](docs/sectionlist.html).\n *\n * Minimal Example:\n *\n * {item.key}}\n * />\n *\n * More complex, multi-select example demonstrating `PureComponent` usage for perf optimization and avoiding bugs.\n *\n * - By binding the `onPressItem` handler, the props will remain `===` and `PureComponent` will\n * prevent wasteful re-renders unless the actual `id`, `selected`, or `title` props change, even\n * if the components rendered in `MyListItem` did not have such optimizations.\n * - By passing `extraData={this.state}` to `FlatList` we make sure `FlatList` itself will re-render\n * when the `state.selected` changes. Without setting this prop, `FlatList` would not know it\n * needs to re-render any items because it is also a `PureComponent` and the prop comparison will\n * not show any changes.\n * - `keyExtractor` tells the list to use the `id`s for the react keys instead of the default `key` property.\n *\n *\n * class MyListItem extends React.PureComponent {\n * _onPress = () => {\n * this.props.onPressItem(this.props.id);\n * };\n *\n * render() {\n * const textColor = this.props.selected ? \"red\" : \"black\";\n * return (\n * \n * \n * \n * {this.props.title}\n * \n * \n * \n * );\n * }\n * }\n *\n * class MultiSelectList extends React.PureComponent {\n * state = {selected: (new Map(): Map)};\n *\n * _keyExtractor = (item, index) => item.id;\n *\n * _onPressItem = (id: string) => {\n * // updater functions are preferred for transactional updates\n * this.setState((state) => {\n * // copy the map rather than modifying state.\n * const selected = new Map(state.selected);\n * selected.set(id, !selected.get(id)); // toggle\n * return {selected};\n * });\n * };\n *\n * _renderItem = ({item}) => (\n * \n * );\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * This is a convenience wrapper around [``](docs/virtualizedlist.html),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n * Also inherits [ScrollView Props](docs/scrollview.html#props), unless it is nested in another FlatList of same orientation.\n */\nclass FlatList extends React.PureComponent, void> {\n props: Props;\n /**\n * Scrolls to the end of the content. May be janky without `getItemLayout` prop.\n */\n scrollToEnd(params?: ?{animated?: ?boolean, ...}) {\n if (this._listRef) {\n this._listRef.scrollToEnd(params);\n }\n }\n\n /**\n * Scrolls to the item at the specified index such that it is positioned in the viewable area\n * such that `viewPosition` 0 places it at the top, 1 at the bottom, and 0.5 centered in the\n * middle. `viewOffset` is a fixed number of pixels to offset the final target position.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }) {\n if (this._listRef) {\n this._listRef.scrollToIndex(params);\n }\n }\n\n /**\n * Requires linear scan through data - use `scrollToIndex` instead if possible.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToItem(params: {\n animated?: ?boolean,\n item: ItemT,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }) {\n if (this._listRef) {\n this._listRef.scrollToItem(params);\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Check out [scrollToOffset](docs/virtualizedlist.html#scrolltooffset) of VirtualizedList\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number, ...}) {\n if (this._listRef) {\n this._listRef.scrollToOffset(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n if (this._listRef) {\n this._listRef.recordInteraction();\n }\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n if (this._listRef) {\n this._listRef.flashScrollIndicators();\n }\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): ?ScrollResponderType {\n if (this._listRef) {\n return this._listRef.getScrollResponder();\n }\n }\n\n /**\n * Provides a reference to the underlying host component\n */\n getNativeScrollRef():\n | ?React.ElementRef\n | ?React.ElementRef {\n if (this._listRef) {\n /* $FlowFixMe[incompatible-return] Suppresses errors found when fixing\n * TextInput typing */\n return this._listRef.getScrollRef();\n }\n }\n\n getScrollableNode(): any {\n if (this._listRef) {\n return this._listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: {[string]: mixed, ...}) {\n if (this._listRef) {\n this._listRef.setNativeProps(props);\n }\n }\n\n constructor(props: Props) {\n super(props);\n this._checkProps(this.props);\n if (this.props.viewabilityConfigCallbackPairs) {\n this._virtualizedListPairs =\n this.props.viewabilityConfigCallbackPairs.map(pair => ({\n viewabilityConfig: pair.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n pair.onViewableItemsChanged,\n ),\n }));\n } else if (this.props.onViewableItemsChanged) {\n this._virtualizedListPairs.push({\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To\n * see the error delete this comment and run Flow. */\n viewabilityConfig: this.props.viewabilityConfig,\n onViewableItemsChanged: this._createOnViewableItemsChanged(\n this.props.onViewableItemsChanged,\n ),\n });\n }\n }\n\n // $FlowFixMe[missing-local-annot]\n componentDidUpdate(prevProps: Props) {\n invariant(\n prevProps.numColumns === this.props.numColumns,\n 'Changing numColumns on the fly is not supported. Change the key prop on FlatList when ' +\n 'changing the number of columns to force a fresh render of the component.',\n );\n invariant(\n prevProps.onViewableItemsChanged === this.props.onViewableItemsChanged,\n 'Changing onViewableItemsChanged on the fly is not supported',\n );\n invariant(\n !deepDiffer(prevProps.viewabilityConfig, this.props.viewabilityConfig),\n 'Changing viewabilityConfig on the fly is not supported',\n );\n invariant(\n prevProps.viewabilityConfigCallbackPairs ===\n this.props.viewabilityConfigCallbackPairs,\n 'Changing viewabilityConfigCallbackPairs on the fly is not supported',\n );\n\n this._checkProps(this.props);\n }\n\n _listRef: ?React.ElementRef;\n _virtualizedListPairs: Array = [];\n\n _captureRef = (ref: ?React.ElementRef) => {\n this._listRef = ref;\n };\n\n // $FlowFixMe[missing-local-annot]\n _checkProps(props: Props) {\n const {\n // $FlowFixMe[prop-missing] this prop doesn't exist, is only used for an invariant\n getItem,\n // $FlowFixMe[prop-missing] this prop doesn't exist, is only used for an invariant\n getItemCount,\n horizontal,\n columnWrapperStyle,\n onViewableItemsChanged,\n viewabilityConfigCallbackPairs,\n } = props;\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n invariant(\n !getItem && !getItemCount,\n 'FlatList does not support custom data formats.',\n );\n if (numColumns > 1) {\n invariant(!horizontal, 'numColumns does not support horizontal.');\n } else {\n invariant(\n !columnWrapperStyle,\n 'columnWrapperStyle not supported for single column lists',\n );\n }\n invariant(\n !(onViewableItemsChanged && viewabilityConfigCallbackPairs),\n 'FlatList does not support setting both onViewableItemsChanged and ' +\n 'viewabilityConfigCallbackPairs.',\n );\n }\n\n // $FlowFixMe[missing-local-annot]\n _getItem = (data: Array, index: number) => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n if (numColumns > 1) {\n const ret = [];\n for (let kk = 0; kk < numColumns; kk++) {\n const itemIndex = index * numColumns + kk;\n if (itemIndex < data.length) {\n const item = data[itemIndex];\n ret.push(item);\n }\n }\n return ret;\n } else {\n return data[index];\n }\n };\n\n _getItemCount = (data: ?Array): number => {\n if (Array.isArray(data)) {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n return numColumns > 1 ? Math.ceil(data.length / numColumns) : data.length;\n } else {\n return 0;\n }\n };\n\n _keyExtractor = (items: ItemT | Array, index: number): string => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n const keyExtractor = this.props.keyExtractor ?? defaultKeyExtractor;\n\n if (numColumns > 1) {\n invariant(\n Array.isArray(items),\n 'FlatList: Encountered internal consistency error, expected each item to consist of an ' +\n 'array with 1-%s columns; instead, received a single item.',\n numColumns,\n );\n return items\n .map((item, kk) =>\n keyExtractor(((item: $FlowFixMe): ItemT), index * numColumns + kk),\n )\n .join(':');\n }\n\n // $FlowFixMe[incompatible-call] Can't call keyExtractor with an array\n return keyExtractor(items, index);\n };\n\n _pushMultiColumnViewable(arr: Array, v: ViewToken): void {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n const keyExtractor = this.props.keyExtractor ?? defaultKeyExtractor;\n v.item.forEach((item, ii) => {\n invariant(v.index != null, 'Missing index!');\n const index = v.index * numColumns + ii;\n arr.push({...v, item, key: keyExtractor(item, index), index});\n });\n }\n\n _createOnViewableItemsChanged(\n onViewableItemsChanged: ?(info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n // $FlowFixMe[missing-local-annot]\n ) {\n return (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => {\n const numColumns = numColumnsOrDefault(this.props.numColumns);\n if (onViewableItemsChanged) {\n if (numColumns > 1) {\n const changed: Array = [];\n const viewableItems: Array = [];\n info.viewableItems.forEach(v =>\n this._pushMultiColumnViewable(viewableItems, v),\n );\n info.changed.forEach(v => this._pushMultiColumnViewable(changed, v));\n onViewableItemsChanged({viewableItems, changed});\n } else {\n onViewableItemsChanged(info);\n }\n }\n };\n }\n\n _renderer = (\n ListItemComponent: ?(React.ComponentType | React.Element),\n renderItem: ?RenderItemType,\n columnWrapperStyle: ?ViewStyleProp,\n numColumns: ?number,\n extraData: ?any,\n // $FlowFixMe[missing-local-annot]\n ) => {\n const cols = numColumnsOrDefault(numColumns);\n\n const render = (props: RenderItemProps): React.Node => {\n if (ListItemComponent) {\n // $FlowFixMe[not-a-component] Component isn't valid\n // $FlowFixMe[incompatible-type-arg] Component isn't valid\n // $FlowFixMe[incompatible-return] Component isn't valid\n return ;\n } else if (renderItem) {\n // $FlowFixMe[incompatible-call]\n return renderItem(props);\n } else {\n return null;\n }\n };\n\n const renderProp = (info: RenderItemProps) => {\n if (cols > 1) {\n const {item, index} = info;\n invariant(\n Array.isArray(item),\n 'Expected array of items with numColumns > 1',\n );\n return (\n \n {item.map((it, kk) => {\n const element = render({\n // $FlowFixMe[incompatible-call]\n item: it,\n index: index * cols + kk,\n separators: info.separators,\n });\n return element != null ? (\n {element}\n ) : null;\n })}\n \n );\n } else {\n return render(info);\n }\n };\n\n return ListItemComponent\n ? {ListItemComponent: renderProp}\n : {renderItem: renderProp};\n };\n\n // $FlowFixMe[missing-local-annot]\n _memoizedRenderer = memoizeOne(this._renderer);\n\n render(): React.Node {\n const {\n numColumns,\n columnWrapperStyle,\n removeClippedSubviews: _removeClippedSubviews,\n strictMode = false,\n ...restProps\n } = this.props;\n\n const renderer = strictMode ? this._memoizedRenderer : this._renderer;\n\n return (\n // $FlowFixMe[incompatible-exact] - `restProps` (`Props`) is inexact.\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n row: {flexDirection: 'row'},\n});\n\nmodule.exports = FlatList;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {LayoutEvent, ScrollEvent} from '../Types/CoreEventTypes';\nimport type {ViewToken} from './ViewabilityHelper';\nimport type {\n FrameMetricProps,\n Item,\n Props,\n RenderItemProps,\n RenderItemType,\n Separators,\n} from './VirtualizedListProps';\n\nimport RefreshControl from '../Components/RefreshControl/RefreshControl';\nimport ScrollView from '../Components/ScrollView/ScrollView';\nimport View from '../Components/View/View';\nimport Batchinator from '../Interaction/Batchinator';\nimport {findNodeHandle} from '../ReactNative/RendererProxy';\nimport flattenStyle from '../StyleSheet/flattenStyle';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport clamp from '../Utilities/clamp';\nimport infoLog from '../Utilities/infoLog';\nimport {CellRenderMask} from './CellRenderMask';\nimport ChildListCollection from './ChildListCollection';\nimport FillRateHelper from './FillRateHelper';\nimport StateSafePureComponent from './StateSafePureComponent';\nimport ViewabilityHelper from './ViewabilityHelper';\nimport CellRenderer from './VirtualizedListCellRenderer';\nimport {\n VirtualizedListCellContextProvider,\n VirtualizedListContext,\n VirtualizedListContextProvider,\n} from './VirtualizedListContext.js';\nimport {\n computeWindowedRenderLimits,\n keyExtractor as defaultKeyExtractor,\n} from './VirtualizeUtils';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nexport type {RenderItemProps, RenderItemType, Separators};\n\nconst ON_EDGE_REACHED_EPSILON = 0.001;\n\nlet _usedIndexForKey = false;\nlet _keylessItemComponentName: string = '';\n\ntype ViewabilityHelperCallbackTuple = {\n viewabilityHelper: ViewabilityHelper,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n ...\n};\n\ntype State = {\n renderMask: CellRenderMask,\n cellsAroundViewport: {first: number, last: number},\n // Used to track items added at the start of the list for maintainVisibleContentPosition.\n firstItemKey: ?string,\n // When using maintainVisibleContentPosition we need to adjust the window to make sure\n // make sure that the visible elements are still rendered.\n maintainVisibleContentPositionAdjustment: ?number,\n};\n\n/**\n * Default Props Helper Functions\n * Use the following helper functions for default values\n */\n\n// horizontalOrDefault(this.props.horizontal)\nfunction horizontalOrDefault(horizontal: ?boolean) {\n return horizontal ?? false;\n}\n\n// initialNumToRenderOrDefault(this.props.initialNumToRenderOrDefault)\nfunction initialNumToRenderOrDefault(initialNumToRender: ?number) {\n return initialNumToRender ?? 10;\n}\n\n// maxToRenderPerBatchOrDefault(this.props.maxToRenderPerBatch)\nfunction maxToRenderPerBatchOrDefault(maxToRenderPerBatch: ?number) {\n return maxToRenderPerBatch ?? 10;\n}\n\n// onStartReachedThresholdOrDefault(this.props.onStartReachedThreshold)\nfunction onStartReachedThresholdOrDefault(onStartReachedThreshold: ?number) {\n return onStartReachedThreshold ?? 2;\n}\n\n// onEndReachedThresholdOrDefault(this.props.onEndReachedThreshold)\nfunction onEndReachedThresholdOrDefault(onEndReachedThreshold: ?number) {\n return onEndReachedThreshold ?? 2;\n}\n\n// getScrollingThreshold(visibleLength, onEndReachedThreshold)\nfunction getScrollingThreshold(threshold: number, visibleLength: number) {\n return (threshold * visibleLength) / 2;\n}\n\n// scrollEventThrottleOrDefault(this.props.scrollEventThrottle)\nfunction scrollEventThrottleOrDefault(scrollEventThrottle: ?number) {\n return scrollEventThrottle ?? 50;\n}\n\n// windowSizeOrDefault(this.props.windowSize)\nfunction windowSizeOrDefault(windowSize: ?number) {\n return windowSize ?? 21;\n}\n\nfunction findLastWhere(\n arr: $ReadOnlyArray,\n predicate: (element: T) => boolean,\n): T | null {\n for (let i = arr.length - 1; i >= 0; i--) {\n if (predicate(arr[i])) {\n return arr[i];\n }\n }\n\n return null;\n}\n\nfunction extractKey(\n props: {\n keyExtractor?: ?(item: Item, index: number) => string,\n ...\n },\n item: Item,\n index: number,\n): string {\n if (props.keyExtractor != null) {\n return props.keyExtractor(item, index);\n }\n\n const key = defaultKeyExtractor(item, index);\n if (key === String(index)) {\n _usedIndexForKey = true;\n if (item.type && item.type.displayName) {\n _keylessItemComponentName = item.type.displayName;\n }\n }\n return key;\n}\n\nfunction findItemIndexWithKey(props: Props, key: string): ?number {\n for (let ii = 0; ii < props.getItemCount(props.data); ii++) {\n const item = props.getItem(props.data, ii);\n const curKey = extractKey(props, item, ii);\n if (curKey === key) {\n return ii;\n }\n }\n return null;\n}\n\nfunction getItemKey(props: Props, index: number): ?string {\n const item = props.getItem(props.data, index);\n if (item == null) {\n return null;\n }\n return extractKey(props, item, 0);\n}\n\n/**\n * Base implementation for the more convenient [``](https://reactnative.dev/docs/flatlist)\n * and [``](https://reactnative.dev/docs/sectionlist) components, which are also better\n * documented. In general, this should only really be used if you need more flexibility than\n * `FlatList` provides, e.g. for use with immutable data instead of plain arrays.\n *\n * Virtualization massively improves memory consumption and performance of large lists by\n * maintaining a finite render window of active items and replacing all items outside of the render\n * window with appropriately sized blank space. The window adapts to scrolling behavior, and items\n * are rendered incrementally with low-pri (after any running interactions) if they are far from the\n * visible area, or with hi-pri otherwise to minimize the potential of seeing blank space.\n *\n * Some caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate ands momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` or `id` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n * - As an effort to remove defaultProps, use helper functions when referencing certain props\n *\n */\nexport default class VirtualizedList extends StateSafePureComponent<\n Props,\n State,\n> {\n static contextType: typeof VirtualizedListContext = VirtualizedListContext;\n\n // scrollToEnd may be janky without getItemLayout prop\n scrollToEnd(params?: ?{animated?: ?boolean, ...}) {\n const animated = params ? params.animated : true;\n const veryLast = this.props.getItemCount(this.props.data) - 1;\n const frame = this.__getFrameMetricsApprox(veryLast, this.props);\n const offset = Math.max(\n 0,\n frame.offset +\n frame.length +\n this._footerLength -\n this._scrollMetrics.visibleLength,\n );\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontalOrDefault(this.props.horizontal)\n ? {x: offset, animated}\n : {y: offset, animated},\n );\n }\n\n // scrollToIndex may be janky without getItemLayout prop\n scrollToIndex(params: {\n animated?: ?boolean,\n index: number,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }): $FlowFixMe {\n const {\n data,\n horizontal,\n getItemCount,\n getItemLayout,\n onScrollToIndexFailed,\n } = this.props;\n const {animated, index, viewOffset, viewPosition} = params;\n invariant(\n index >= 0,\n `scrollToIndex out of range: requested index ${index} but minimum is 0`,\n );\n invariant(\n getItemCount(data) >= 1,\n `scrollToIndex out of range: item length ${getItemCount(\n data,\n )} but minimum is 1`,\n );\n invariant(\n index < getItemCount(data),\n `scrollToIndex out of range: requested index ${index} is out of 0 to ${\n getItemCount(data) - 1\n }`,\n );\n if (!getItemLayout && index > this._highestMeasuredFrameIndex) {\n invariant(\n !!onScrollToIndexFailed,\n 'scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, ' +\n 'otherwise there is no way to know the location of offscreen indices or handle failures.',\n );\n onScrollToIndexFailed({\n averageItemLength: this._averageCellLength,\n highestMeasuredFrameIndex: this._highestMeasuredFrameIndex,\n index,\n });\n return;\n }\n const frame = this.__getFrameMetricsApprox(Math.floor(index), this.props);\n const offset =\n Math.max(\n 0,\n this._getOffsetApprox(index, this.props) -\n (viewPosition || 0) *\n (this._scrollMetrics.visibleLength - frame.length),\n ) - (viewOffset || 0);\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontal ? {x: offset, animated} : {y: offset, animated},\n );\n }\n\n // scrollToItem may be janky without getItemLayout prop. Required linear scan through items -\n // use scrollToIndex instead if possible.\n scrollToItem(params: {\n animated?: ?boolean,\n item: Item,\n viewOffset?: number,\n viewPosition?: number,\n ...\n }) {\n const {item} = params;\n const {data, getItem, getItemCount} = this.props;\n const itemCount = getItemCount(data);\n for (let index = 0; index < itemCount; index++) {\n if (getItem(data, index) === item) {\n this.scrollToIndex({...params, index});\n break;\n }\n }\n }\n\n /**\n * Scroll to a specific content pixel offset in the list.\n *\n * Param `offset` expects the offset to scroll to.\n * In case of `horizontal` is true, the offset is the x-value,\n * in any other case the offset is the y-value.\n *\n * Param `animated` (`true` by default) defines whether the list\n * should do an animation while scrolling.\n */\n scrollToOffset(params: {animated?: ?boolean, offset: number, ...}) {\n const {animated, offset} = params;\n\n if (this._scrollRef == null) {\n return;\n }\n\n if (this._scrollRef.scrollTo == null) {\n console.warn(\n 'No scrollTo method provided. This may be because you have two nested ' +\n 'VirtualizedLists with the same orientation, or because you are ' +\n 'using a custom component that does not implement scrollTo.',\n );\n return;\n }\n\n this._scrollRef.scrollTo(\n horizontalOrDefault(this.props.horizontal)\n ? {x: offset, animated}\n : {y: offset, animated},\n );\n }\n\n recordInteraction() {\n this._nestedChildLists.forEach(childList => {\n childList.recordInteraction();\n });\n this._viewabilityTuples.forEach(t => {\n t.viewabilityHelper.recordInteraction();\n });\n this._updateViewableItems(this.props, this.state.cellsAroundViewport);\n }\n\n flashScrollIndicators() {\n if (this._scrollRef == null) {\n return;\n }\n\n this._scrollRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n * Note that `this._scrollRef` might not be a `ScrollView`, so we\n * need to check that it responds to `getScrollResponder` before calling it.\n */\n getScrollResponder(): ?ScrollResponderType {\n if (this._scrollRef && this._scrollRef.getScrollResponder) {\n return this._scrollRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): ?number {\n if (this._scrollRef && this._scrollRef.getScrollableNode) {\n return this._scrollRef.getScrollableNode();\n } else {\n return findNodeHandle(this._scrollRef);\n }\n }\n\n getScrollRef():\n | ?React.ElementRef\n | ?React.ElementRef {\n if (this._scrollRef && this._scrollRef.getScrollRef) {\n return this._scrollRef.getScrollRef();\n } else {\n return this._scrollRef;\n }\n }\n\n setNativeProps(props: Object) {\n if (this._scrollRef) {\n this._scrollRef.setNativeProps(props);\n }\n }\n\n _getCellKey(): string {\n return this.context?.cellKey || 'rootList';\n }\n\n // $FlowFixMe[missing-local-annot]\n _getScrollMetrics = () => {\n return this._scrollMetrics;\n };\n\n hasMore(): boolean {\n return this._hasMore;\n }\n\n // $FlowFixMe[missing-local-annot]\n _getOutermostParentListRef = () => {\n if (this._isNestedWithSameOrientation()) {\n return this.context.getOutermostParentListRef();\n } else {\n return this;\n }\n };\n\n _registerAsNestedChild = (childList: {\n cellKey: string,\n ref: React.ElementRef,\n }): void => {\n this._nestedChildLists.add(childList.ref, childList.cellKey);\n if (this._hasInteracted) {\n childList.ref.recordInteraction();\n }\n };\n\n _unregisterAsNestedChild = (childList: {\n ref: React.ElementRef,\n }): void => {\n this._nestedChildLists.remove(childList.ref);\n };\n\n state: State;\n\n constructor(props: Props) {\n super(props);\n invariant(\n // $FlowFixMe[prop-missing]\n !props.onScroll || !props.onScroll.__isNative,\n 'Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent ' +\n 'to support native onScroll events with useNativeDriver',\n );\n invariant(\n windowSizeOrDefault(props.windowSize) > 0,\n 'VirtualizedList: The windowSize prop must be present and set to a value greater than 0.',\n );\n\n invariant(\n props.getItemCount,\n 'VirtualizedList: The \"getItemCount\" prop must be provided',\n );\n\n this._fillRateHelper = new FillRateHelper(this._getFrameMetrics);\n this._updateCellsToRenderBatcher = new Batchinator(\n this._updateCellsToRender,\n this.props.updateCellsBatchingPeriod ?? 50,\n );\n\n if (this.props.viewabilityConfigCallbackPairs) {\n this._viewabilityTuples = this.props.viewabilityConfigCallbackPairs.map(\n pair => ({\n viewabilityHelper: new ViewabilityHelper(pair.viewabilityConfig),\n onViewableItemsChanged: pair.onViewableItemsChanged,\n }),\n );\n } else {\n const {onViewableItemsChanged, viewabilityConfig} = this.props;\n if (onViewableItemsChanged) {\n this._viewabilityTuples.push({\n viewabilityHelper: new ViewabilityHelper(viewabilityConfig),\n onViewableItemsChanged: onViewableItemsChanged,\n });\n }\n }\n\n invariant(\n !this.context,\n 'Unexpectedly saw VirtualizedListContext available in ctor',\n );\n\n const initialRenderRegion = VirtualizedList._initialRenderRegion(props);\n\n this.state = {\n cellsAroundViewport: initialRenderRegion,\n renderMask: VirtualizedList._createRenderMask(\n props,\n initialRenderRegion,\n null,\n ),\n firstItemKey: getItemKey(this.props, 0),\n maintainVisibleContentPositionAdjustment: null,\n };\n }\n\n static _createRenderMask(\n props: Props,\n cellsAroundViewport: {first: number, last: number},\n maintainVisibleContentPositionAdjustment: ?number,\n additionalRegions?: ?$ReadOnlyArray<{first: number, last: number}>,\n ): CellRenderMask {\n const itemCount = props.getItemCount(props.data);\n\n invariant(\n cellsAroundViewport.first >= 0 &&\n cellsAroundViewport.last >= cellsAroundViewport.first - 1 &&\n cellsAroundViewport.last < itemCount,\n `Invalid cells around viewport \"[${cellsAroundViewport.first}, ${cellsAroundViewport.last}]\" was passed to VirtualizedList._createRenderMask`,\n );\n\n const renderMask = new CellRenderMask(itemCount);\n\n if (itemCount > 0) {\n const allRegions = [cellsAroundViewport, ...(additionalRegions ?? [])];\n for (const region of allRegions) {\n renderMask.addCells(region);\n }\n\n // The initially rendered cells are retained as part of the\n // \"scroll-to-top\" optimization\n if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {\n const initialRegion = VirtualizedList._initialRenderRegion(props);\n renderMask.addCells(initialRegion);\n }\n\n // The layout coordinates of sticker headers may be off-screen while the\n // actual header is on-screen. Keep the most recent before the viewport\n // rendered, even if its layout coordinates are not in viewport.\n const stickyIndicesSet = new Set(props.stickyHeaderIndices);\n VirtualizedList._ensureClosestStickyHeader(\n props,\n stickyIndicesSet,\n renderMask,\n cellsAroundViewport.first,\n );\n\n if (maintainVisibleContentPositionAdjustment != null) {\n renderMask.addCells({\n first:\n cellsAroundViewport.first +\n maintainVisibleContentPositionAdjustment,\n last:\n cellsAroundViewport.last + maintainVisibleContentPositionAdjustment,\n });\n }\n }\n\n return renderMask;\n }\n\n static _initialRenderRegion(props: Props): {first: number, last: number} {\n const itemCount = props.getItemCount(props.data);\n const scrollIndex = Math.floor(Math.max(0, props.initialScrollIndex ?? 0));\n\n return {\n first: scrollIndex,\n last:\n Math.min(\n itemCount,\n scrollIndex + initialNumToRenderOrDefault(props.initialNumToRender),\n ) - 1,\n };\n }\n\n static _ensureClosestStickyHeader(\n props: Props,\n stickyIndicesSet: Set,\n renderMask: CellRenderMask,\n cellIdx: number,\n ) {\n const stickyOffset = props.ListHeaderComponent ? 1 : 0;\n\n for (let itemIdx = cellIdx - 1; itemIdx >= 0; itemIdx--) {\n if (stickyIndicesSet.has(itemIdx + stickyOffset)) {\n renderMask.addCells({first: itemIdx, last: itemIdx});\n break;\n }\n }\n }\n\n _adjustCellsAroundViewport(\n props: Props,\n cellsAroundViewport: {first: number, last: number},\n ): {first: number, last: number} {\n const {data, getItemCount} = props;\n const onEndReachedThreshold = onEndReachedThresholdOrDefault(\n props.onEndReachedThreshold,\n );\n\n const {contentLength, offset, visibleLength} = this._scrollMetrics;\n const distanceFromEnd = contentLength - visibleLength - offset;\n\n // Wait until the scroll view metrics have been set up. And until then,\n // we will trust the initialNumToRender suggestion\n if (visibleLength <= 0 || contentLength <= 0) {\n return cellsAroundViewport.last >= getItemCount(data)\n ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props)\n : cellsAroundViewport;\n }\n\n let newCellsAroundViewport: {first: number, last: number};\n if (props.disableVirtualization) {\n const renderAhead =\n distanceFromEnd < onEndReachedThreshold * visibleLength\n ? maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch)\n : 0;\n\n newCellsAroundViewport = {\n first: 0,\n last: Math.min(\n cellsAroundViewport.last + renderAhead,\n getItemCount(data) - 1,\n ),\n };\n } else {\n // If we have a non-zero initialScrollIndex and run this before we've scrolled,\n // we'll wipe out the initialNumToRender rendered elements starting at initialScrollIndex.\n // So let's wait until we've scrolled the view to the right place. And until then,\n // we will trust the initialScrollIndex suggestion.\n\n // Thus, we want to recalculate the windowed render limits if any of the following hold:\n // - initialScrollIndex is undefined or is 0\n // - initialScrollIndex > 0 AND scrolling is complete\n // - initialScrollIndex > 0 AND the end of the list is visible (this handles the case\n // where the list is shorter than the visible area)\n if (\n props.initialScrollIndex &&\n !this._scrollMetrics.offset &&\n Math.abs(distanceFromEnd) >= Number.EPSILON\n ) {\n return cellsAroundViewport.last >= getItemCount(data)\n ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props)\n : cellsAroundViewport;\n }\n\n newCellsAroundViewport = computeWindowedRenderLimits(\n props,\n maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch),\n windowSizeOrDefault(props.windowSize),\n cellsAroundViewport,\n this.__getFrameMetricsApprox,\n this._scrollMetrics,\n );\n invariant(\n newCellsAroundViewport.last < getItemCount(data),\n 'computeWindowedRenderLimits() should return range in-bounds',\n );\n }\n\n if (this._nestedChildLists.size() > 0) {\n // If some cell in the new state has a child list in it, we should only render\n // up through that item, so that we give that list a chance to render.\n // Otherwise there's churn from multiple child lists mounting and un-mounting\n // their items.\n\n // Will this prevent rendering if the nested list doesn't realize the end?\n const childIdx = this._findFirstChildWithMore(\n newCellsAroundViewport.first,\n newCellsAroundViewport.last,\n );\n\n newCellsAroundViewport.last = childIdx ?? newCellsAroundViewport.last;\n }\n\n return newCellsAroundViewport;\n }\n\n _findFirstChildWithMore(first: number, last: number): number | null {\n for (let ii = first; ii <= last; ii++) {\n const cellKeyForIndex = this._indicesToKeys.get(ii);\n if (\n cellKeyForIndex != null &&\n this._nestedChildLists.anyInCell(cellKeyForIndex, childList =>\n childList.hasMore(),\n )\n ) {\n return ii;\n }\n }\n\n return null;\n }\n\n componentDidMount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.registerAsNestedChild({\n ref: this,\n cellKey: this.context.cellKey,\n });\n }\n }\n\n componentWillUnmount() {\n if (this._isNestedWithSameOrientation()) {\n this.context.unregisterAsNestedChild({ref: this});\n }\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.dispose();\n });\n this._fillRateHelper.deactivateAndFlush();\n }\n\n static getDerivedStateFromProps(newProps: Props, prevState: State): State {\n // first and last could be stale (e.g. if a new, shorter items props is passed in), so we make\n // sure we're rendering a reasonable range here.\n const itemCount = newProps.getItemCount(newProps.data);\n if (itemCount === prevState.renderMask.numCells()) {\n return prevState;\n }\n\n let maintainVisibleContentPositionAdjustment =\n prevState.maintainVisibleContentPositionAdjustment;\n const newFirstItemKey = getItemKey(newProps, 0);\n if (\n newProps.maintainVisibleContentPosition != null &&\n maintainVisibleContentPositionAdjustment == null &&\n prevState.firstItemKey != null &&\n newFirstItemKey != null\n ) {\n maintainVisibleContentPositionAdjustment =\n newFirstItemKey !== prevState.firstItemKey\n ? findItemIndexWithKey(newProps, prevState.firstItemKey)\n : null;\n }\n\n const constrainedCells = VirtualizedList._constrainToItemCount(\n prevState.cellsAroundViewport,\n newProps,\n );\n\n return {\n cellsAroundViewport: constrainedCells,\n renderMask: VirtualizedList._createRenderMask(\n newProps,\n constrainedCells,\n maintainVisibleContentPositionAdjustment,\n ),\n firstItemKey: newFirstItemKey,\n maintainVisibleContentPositionAdjustment,\n };\n }\n\n _pushCells(\n cells: Array,\n stickyHeaderIndices: Array,\n stickyIndicesFromProps: Set,\n first: number,\n last: number,\n inversionStyle: ViewStyleProp,\n ) {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n ListHeaderComponent,\n ListItemComponent,\n data,\n debug,\n getItem,\n getItemCount,\n getItemLayout,\n horizontal,\n renderItem,\n } = this.props;\n const stickyOffset = ListHeaderComponent ? 1 : 0;\n const end = getItemCount(data) - 1;\n let prevCellKey;\n last = Math.min(end, last);\n for (let ii = first; ii <= last; ii++) {\n const item = getItem(data, ii);\n const key = extractKey(this.props, item, ii);\n this._indicesToKeys.set(ii, key);\n if (stickyIndicesFromProps.has(ii + stickyOffset)) {\n stickyHeaderIndices.push(cells.length);\n }\n cells.push(\n this._onCellFocusCapture(key)}\n onUnmount={this._onCellUnmount}\n ref={ref => {\n this._cellRefs[key] = ref;\n }}\n renderItem={renderItem}\n />,\n );\n prevCellKey = key;\n }\n }\n\n static _constrainToItemCount(\n cells: {first: number, last: number},\n props: Props,\n ): {first: number, last: number} {\n const itemCount = props.getItemCount(props.data);\n const last = Math.min(itemCount - 1, cells.last);\n\n const maxToRenderPerBatch = maxToRenderPerBatchOrDefault(\n props.maxToRenderPerBatch,\n );\n\n return {\n first: clamp(0, itemCount - 1 - maxToRenderPerBatch, cells.first),\n last,\n };\n }\n\n _onUpdateSeparators = (keys: Array, newProps: Object) => {\n keys.forEach(key => {\n const ref = key != null && this._cellRefs[key];\n ref && ref.updateSeparatorProps(newProps);\n });\n };\n\n _isNestedWithSameOrientation(): boolean {\n const nestedContext = this.context;\n return !!(\n nestedContext &&\n !!nestedContext.horizontal === horizontalOrDefault(this.props.horizontal)\n );\n }\n\n _getSpacerKey = (isVertical: boolean): string =>\n isVertical ? 'height' : 'width';\n\n render(): React.Node {\n if (__DEV__) {\n const flatStyles = flattenStyle(this.props.contentContainerStyle);\n if (flatStyles != null && flatStyles.flexWrap === 'wrap') {\n console.warn(\n '`flexWrap: `wrap`` is not supported with the `VirtualizedList` components.' +\n 'Consider using `numColumns` with `FlatList` instead.',\n );\n }\n }\n const {ListEmptyComponent, ListFooterComponent, ListHeaderComponent} =\n this.props;\n const {data, horizontal} = this.props;\n const inversionStyle = this.props.inverted\n ? horizontalOrDefault(this.props.horizontal)\n ? styles.horizontallyInverted\n : styles.verticallyInverted\n : null;\n const cells: Array = [];\n const stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices);\n const stickyHeaderIndices = [];\n\n // 1. Add cell for ListHeaderComponent\n if (ListHeaderComponent) {\n if (stickyIndicesFromProps.has(0)) {\n stickyHeaderIndices.push(0);\n }\n const element = React.isValidElement(ListHeaderComponent) ? (\n ListHeaderComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n\n // 2a. Add a cell for ListEmptyComponent if applicable\n const itemCount = this.props.getItemCount(data);\n if (itemCount === 0 && ListEmptyComponent) {\n const element: React.Element = ((React.isValidElement(\n ListEmptyComponent,\n ) ? (\n ListEmptyComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n )): any);\n cells.push(\n \n {React.cloneElement(element, {\n onLayout: (event: LayoutEvent) => {\n this._onLayoutEmpty(event);\n if (element.props.onLayout) {\n element.props.onLayout(event);\n }\n },\n style: StyleSheet.compose(inversionStyle, element.props.style),\n })}\n ,\n );\n }\n\n // 2b. Add cells and spacers for each item\n if (itemCount > 0) {\n _usedIndexForKey = false;\n _keylessItemComponentName = '';\n const spacerKey = this._getSpacerKey(!horizontal);\n\n const renderRegions = this.state.renderMask.enumerateRegions();\n const lastSpacer = findLastWhere(renderRegions, r => r.isSpacer);\n\n for (const section of renderRegions) {\n if (section.isSpacer) {\n // Legacy behavior is to avoid spacers when virtualization is\n // disabled (including head spacers on initial render).\n if (this.props.disableVirtualization) {\n continue;\n }\n\n // Without getItemLayout, we limit our tail spacer to the _highestMeasuredFrameIndex to\n // prevent the user for hyperscrolling into un-measured area because otherwise content will\n // likely jump around as it renders in above the viewport.\n const isLastSpacer = section === lastSpacer;\n const constrainToMeasured = isLastSpacer && !this.props.getItemLayout;\n const last = constrainToMeasured\n ? clamp(\n section.first - 1,\n section.last,\n this._highestMeasuredFrameIndex,\n )\n : section.last;\n\n const firstMetrics = this.__getFrameMetricsApprox(\n section.first,\n this.props,\n );\n const lastMetrics = this.__getFrameMetricsApprox(last, this.props);\n const spacerSize =\n lastMetrics.offset + lastMetrics.length - firstMetrics.offset;\n cells.push(\n ,\n );\n } else {\n this._pushCells(\n cells,\n stickyHeaderIndices,\n stickyIndicesFromProps,\n section.first,\n section.last,\n inversionStyle,\n );\n }\n }\n\n if (!this._hasWarned.keys && _usedIndexForKey) {\n console.warn(\n 'VirtualizedList: missing keys for items, make sure to specify a key or id property on each ' +\n 'item or provide a custom keyExtractor.',\n _keylessItemComponentName,\n );\n this._hasWarned.keys = true;\n }\n }\n\n // 3. Add cell for ListFooterComponent\n if (ListFooterComponent) {\n const element = React.isValidElement(ListFooterComponent) ? (\n ListFooterComponent\n ) : (\n // $FlowFixMe[not-a-component]\n // $FlowFixMe[incompatible-type-arg]\n \n );\n cells.push(\n \n \n {\n // $FlowFixMe[incompatible-type] - Typing ReactNativeComponent revealed errors\n element\n }\n \n ,\n );\n }\n\n // 4. Render the ScrollView\n const scrollProps = {\n ...this.props,\n onContentSizeChange: this._onContentSizeChange,\n onLayout: this._onLayout,\n onScroll: this._onScroll,\n onScrollBeginDrag: this._onScrollBeginDrag,\n onScrollEndDrag: this._onScrollEndDrag,\n onMomentumScrollBegin: this._onMomentumScrollBegin,\n onMomentumScrollEnd: this._onMomentumScrollEnd,\n scrollEventThrottle: scrollEventThrottleOrDefault(\n this.props.scrollEventThrottle,\n ), // TODO: Android support\n invertStickyHeaders:\n this.props.invertStickyHeaders !== undefined\n ? this.props.invertStickyHeaders\n : this.props.inverted,\n stickyHeaderIndices,\n style: inversionStyle\n ? [inversionStyle, this.props.style]\n : this.props.style,\n };\n\n this._hasMore = this.state.cellsAroundViewport.last < itemCount - 1;\n\n const innerRet = (\n \n {React.cloneElement(\n (\n this.props.renderScrollComponent ||\n this._defaultRenderScrollComponent\n )(scrollProps),\n {\n ref: this._captureScrollRef,\n },\n cells,\n )}\n \n );\n let ret: React.Node = innerRet;\n if (__DEV__) {\n ret = (\n \n {scrollContext => {\n if (\n scrollContext != null &&\n !scrollContext.horizontal ===\n !horizontalOrDefault(this.props.horizontal) &&\n !this._hasWarned.nesting &&\n this.context == null &&\n this.props.scrollEnabled !== false\n ) {\n // TODO (T46547044): use React.warn once 16.9 is sync'd: https://github.com/facebook/react/pull/15170\n console.error(\n 'VirtualizedLists should never be nested inside plain ScrollViews with the same ' +\n 'orientation because it can break windowing and other functionality - use another ' +\n 'VirtualizedList-backed container instead.',\n );\n this._hasWarned.nesting = true;\n }\n return innerRet;\n }}\n \n );\n }\n if (this.props.debug) {\n return (\n \n {ret}\n {this._renderDebugOverlay()}\n \n );\n } else {\n return ret;\n }\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n const {data, extraData} = this.props;\n if (data !== prevProps.data || extraData !== prevProps.extraData) {\n // clear the viewableIndices cache to also trigger\n // the onViewableItemsChanged callback with the new data\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.resetViewableIndices();\n });\n }\n // The `this._hiPriInProgress` is guaranteeing a hiPri cell update will only happen\n // once per fiber update. The `_scheduleCellsToRenderUpdate` will set it to true\n // if a hiPri update needs to perform. If `componentDidUpdate` is triggered with\n // `this._hiPriInProgress=true`, means it's triggered by the hiPri update. The\n // `_scheduleCellsToRenderUpdate` will check this condition and not perform\n // another hiPri update.\n const hiPriInProgress = this._hiPriInProgress;\n this._scheduleCellsToRenderUpdate();\n // Make sure setting `this._hiPriInProgress` back to false after `componentDidUpdate`\n // is triggered with `this._hiPriInProgress = true`\n if (hiPriInProgress) {\n this._hiPriInProgress = false;\n }\n\n // Make sure to cancel any pending updates if maintainVisibleContentPositionAdjustment\n // changed since they are now invalid.\n if (\n prevState.maintainVisibleContentPositionAdjustment !==\n this.state.maintainVisibleContentPositionAdjustment\n ) {\n this._updateCellsToRenderBatcher.dispose({abort: true});\n }\n }\n\n _averageCellLength = 0;\n _cellRefs: {[string]: null | CellRenderer} = {};\n _fillRateHelper: FillRateHelper;\n _frames: {\n [string]: {\n inLayout?: boolean,\n index: number,\n length: number,\n offset: number,\n },\n } = {};\n _footerLength = 0;\n // Used for preventing scrollToIndex from being called multiple times for initialScrollIndex\n _hasTriggeredInitialScrollToIndex = false;\n _hasInteracted = false;\n _hasMore = false;\n _hasWarned: {[string]: boolean} = {};\n _headerLength = 0;\n _hiPriInProgress: boolean = false; // flag to prevent infinite hiPri cell limit update\n _highestMeasuredFrameIndex = 0;\n _indicesToKeys: Map = new Map();\n _lastFocusedCellKey: ?string = null;\n _nestedChildLists: ChildListCollection =\n new ChildListCollection();\n _offsetFromParentVirtualizedList: number = 0;\n _prevParentOffset: number = 0;\n // $FlowFixMe[missing-local-annot]\n _scrollMetrics = {\n contentLength: 0,\n dOffset: 0,\n dt: 10,\n offset: 0,\n timestamp: 0,\n velocity: 0,\n visibleLength: 0,\n zoomScale: 1,\n };\n _scrollRef: ?React.ElementRef = null;\n _sentStartForContentLength = 0;\n _sentEndForContentLength = 0;\n _totalCellLength = 0;\n _totalCellsMeasured = 0;\n _updateCellsToRenderBatcher: Batchinator;\n _viewabilityTuples: Array = [];\n\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\n _captureScrollRef = ref => {\n this._scrollRef = ref;\n };\n\n _computeBlankness() {\n this._fillRateHelper.computeBlankness(\n this.props,\n this.state.cellsAroundViewport,\n this._scrollMetrics,\n );\n }\n\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\n _defaultRenderScrollComponent = props => {\n const onRefresh = props.onRefresh;\n if (this._isNestedWithSameOrientation()) {\n // $FlowFixMe[prop-missing] - Typing ReactNativeComponent revealed errors\n return ;\n } else if (onRefresh) {\n invariant(\n typeof props.refreshing === 'boolean',\n '`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `' +\n JSON.stringify(props.refreshing ?? 'undefined') +\n '`',\n );\n return (\n // $FlowFixMe[prop-missing] Invalid prop usage\n // $FlowFixMe[incompatible-use]\n \n ) : (\n props.refreshControl\n )\n }\n />\n );\n } else {\n // $FlowFixMe[prop-missing] Invalid prop usage\n // $FlowFixMe[incompatible-use]\n return ;\n }\n };\n\n _onCellLayout = (e: LayoutEvent, cellKey: string, index: number): void => {\n const layout = e.nativeEvent.layout;\n const next = {\n offset: this._selectOffset(layout),\n length: this._selectLength(layout),\n index,\n inLayout: true,\n };\n const curr = this._frames[cellKey];\n if (\n !curr ||\n next.offset !== curr.offset ||\n next.length !== curr.length ||\n index !== curr.index\n ) {\n this._totalCellLength += next.length - (curr ? curr.length : 0);\n this._totalCellsMeasured += curr ? 0 : 1;\n this._averageCellLength =\n this._totalCellLength / this._totalCellsMeasured;\n this._frames[cellKey] = next;\n this._highestMeasuredFrameIndex = Math.max(\n this._highestMeasuredFrameIndex,\n index,\n );\n this._scheduleCellsToRenderUpdate();\n } else {\n this._frames[cellKey].inLayout = true;\n }\n\n this._triggerRemeasureForChildListsInCell(cellKey);\n\n this._computeBlankness();\n this._updateViewableItems(this.props, this.state.cellsAroundViewport);\n };\n\n _onCellFocusCapture(cellKey: string) {\n this._lastFocusedCellKey = cellKey;\n const renderMask = VirtualizedList._createRenderMask(\n this.props,\n this.state.cellsAroundViewport,\n this.state.maintainVisibleContentPositionAdjustment,\n this._getNonViewportRenderRegions(this.props),\n );\n\n this.setState(state => {\n if (!renderMask.equals(state.renderMask)) {\n return {renderMask};\n }\n return null;\n });\n }\n\n _onCellUnmount = (cellKey: string) => {\n const curr = this._frames[cellKey];\n if (curr) {\n this._frames[cellKey] = {...curr, inLayout: false};\n }\n };\n\n _triggerRemeasureForChildListsInCell(cellKey: string): void {\n this._nestedChildLists.forEachInCell(cellKey, childList => {\n childList.measureLayoutRelativeToContainingList();\n });\n }\n\n measureLayoutRelativeToContainingList(): void {\n // TODO (T35574538): findNodeHandle sometimes crashes with \"Unable to find\n // node on an unmounted component\" during scrolling\n try {\n if (!this._scrollRef) {\n return;\n }\n // We are assuming that getOutermostParentListRef().getScrollRef()\n // is a non-null reference to a ScrollView\n this._scrollRef.measureLayout(\n this.context.getOutermostParentListRef().getScrollRef(),\n (x, y, width, height) => {\n this._offsetFromParentVirtualizedList = this._selectOffset({x, y});\n this._scrollMetrics.contentLength = this._selectLength({\n width,\n height,\n });\n const scrollMetrics = this._convertParentScrollMetrics(\n this.context.getScrollMetrics(),\n );\n\n const metricsChanged =\n this._scrollMetrics.visibleLength !== scrollMetrics.visibleLength ||\n this._scrollMetrics.offset !== scrollMetrics.offset;\n\n if (metricsChanged) {\n this._scrollMetrics.visibleLength = scrollMetrics.visibleLength;\n this._scrollMetrics.offset = scrollMetrics.offset;\n\n // If metrics of the scrollView changed, then we triggered remeasure for child list\n // to ensure VirtualizedList has the right information.\n this._nestedChildLists.forEach(childList => {\n childList.measureLayoutRelativeToContainingList();\n });\n }\n },\n error => {\n console.warn(\n \"VirtualizedList: Encountered an error while measuring a list's\" +\n ' offset from its containing VirtualizedList.',\n );\n },\n );\n } catch (error) {\n console.warn(\n 'measureLayoutRelativeToContainingList threw an error',\n error.stack,\n );\n }\n }\n\n _onLayout = (e: LayoutEvent) => {\n if (this._isNestedWithSameOrientation()) {\n // Need to adjust our scroll metrics to be relative to our containing\n // VirtualizedList before we can make claims about list item viewability\n this.measureLayoutRelativeToContainingList();\n } else {\n this._scrollMetrics.visibleLength = this._selectLength(\n e.nativeEvent.layout,\n );\n }\n this.props.onLayout && this.props.onLayout(e);\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEdgeReached();\n };\n\n _onLayoutEmpty = (e: LayoutEvent) => {\n this.props.onLayout && this.props.onLayout(e);\n };\n\n _getFooterCellKey(): string {\n return this._getCellKey() + '-footer';\n }\n\n _onLayoutFooter = (e: LayoutEvent) => {\n this._triggerRemeasureForChildListsInCell(this._getFooterCellKey());\n this._footerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n _onLayoutHeader = (e: LayoutEvent) => {\n this._headerLength = this._selectLength(e.nativeEvent.layout);\n };\n\n // $FlowFixMe[missing-local-annot]\n _renderDebugOverlay() {\n const normalize =\n this._scrollMetrics.visibleLength /\n (this._scrollMetrics.contentLength || 1);\n const framesInLayout = [];\n const itemCount = this.props.getItemCount(this.props.data);\n for (let ii = 0; ii < itemCount; ii++) {\n const frame = this.__getFrameMetricsApprox(ii, this.props);\n /* $FlowFixMe[prop-missing] (>=0.68.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.68 was deployed. To see the\n * error delete this comment and run Flow. */\n if (frame.inLayout) {\n framesInLayout.push(frame);\n }\n }\n const windowTop = this.__getFrameMetricsApprox(\n this.state.cellsAroundViewport.first,\n this.props,\n ).offset;\n const frameLast = this.__getFrameMetricsApprox(\n this.state.cellsAroundViewport.last,\n this.props,\n );\n const windowLen = frameLast.offset + frameLast.length - windowTop;\n const visTop = this._scrollMetrics.offset;\n const visLen = this._scrollMetrics.visibleLength;\n\n return (\n \n {framesInLayout.map((f, ii) => (\n \n ))}\n \n \n \n );\n }\n\n _selectLength(\n metrics: $ReadOnly<{\n height: number,\n width: number,\n ...\n }>,\n ): number {\n return !horizontalOrDefault(this.props.horizontal)\n ? metrics.height\n : metrics.width;\n }\n\n _selectOffset(\n metrics: $ReadOnly<{\n x: number,\n y: number,\n ...\n }>,\n ): number {\n return !horizontalOrDefault(this.props.horizontal) ? metrics.y : metrics.x;\n }\n\n _maybeCallOnEdgeReached() {\n const {\n data,\n getItemCount,\n onStartReached,\n onStartReachedThreshold,\n onEndReached,\n onEndReachedThreshold,\n initialScrollIndex,\n } = this.props;\n if (this.state.maintainVisibleContentPositionAdjustment != null) {\n return;\n }\n const {contentLength, visibleLength, offset} = this._scrollMetrics;\n let distanceFromStart = offset;\n let distanceFromEnd = contentLength - visibleLength - offset;\n\n // Especially when oERT is zero it's necessary to 'floor' very small distance values to be 0\n // since debouncing causes us to not fire this event for every single \"pixel\" we scroll and can thus\n // be at the edge of the list with a distance approximating 0 but not quite there.\n if (distanceFromStart < ON_EDGE_REACHED_EPSILON) {\n distanceFromStart = 0;\n }\n if (distanceFromEnd < ON_EDGE_REACHED_EPSILON) {\n distanceFromEnd = 0;\n }\n\n // TODO: T121172172 Look into why we're \"defaulting\" to a threshold of 2 when oERT is not present\n const startThreshold =\n onStartReachedThresholdOrDefault(onStartReachedThreshold) * visibleLength;\n const endThreshold =\n onEndReachedThresholdOrDefault(onEndReachedThreshold) * visibleLength;\n const isWithinStartThreshold = distanceFromStart <= startThreshold;\n const isWithinEndThreshold = distanceFromEnd <= endThreshold;\n\n // First check if the user just scrolled within the end threshold\n // and call onEndReached only once for a given content length,\n // and only if onStartReached is not being executed\n if (\n onEndReached &&\n this.state.cellsAroundViewport.last === getItemCount(data) - 1 &&\n isWithinEndThreshold &&\n this._scrollMetrics.contentLength !== this._sentEndForContentLength\n ) {\n this._sentEndForContentLength = this._scrollMetrics.contentLength;\n onEndReached({distanceFromEnd});\n }\n\n // Next check if the user just scrolled within the start threshold\n // and call onStartReached only once for a given content length,\n // and only if onEndReached is not being executed\n else if (\n onStartReached &&\n this.state.cellsAroundViewport.first === 0 &&\n isWithinStartThreshold &&\n this._scrollMetrics.contentLength !== this._sentStartForContentLength &&\n // On initial mount when using initialScrollIndex the offset will be 0 initially\n // and will trigger an unexpected onStartReached. To avoid this we can use\n // timestamp to differentiate between the initial scroll metrics and when we actually\n // received the first scroll event.\n (!initialScrollIndex || this._scrollMetrics.timestamp !== 0)\n ) {\n this._sentStartForContentLength = this._scrollMetrics.contentLength;\n onStartReached({distanceFromStart});\n }\n\n // If the user scrolls away from the start or end and back again,\n // cause onStartReached or onEndReached to be triggered again\n else {\n this._sentStartForContentLength = isWithinStartThreshold\n ? this._sentStartForContentLength\n : 0;\n this._sentEndForContentLength = isWithinEndThreshold\n ? this._sentEndForContentLength\n : 0;\n }\n }\n\n _onContentSizeChange = (width: number, height: number) => {\n if (\n width > 0 &&\n height > 0 &&\n this.props.initialScrollIndex != null &&\n this.props.initialScrollIndex > 0 &&\n !this._hasTriggeredInitialScrollToIndex\n ) {\n if (this.props.contentOffset == null) {\n this.scrollToIndex({\n animated: false,\n index: this.props.initialScrollIndex,\n });\n }\n this._hasTriggeredInitialScrollToIndex = true;\n }\n if (this.props.onContentSizeChange) {\n this.props.onContentSizeChange(width, height);\n }\n this._scrollMetrics.contentLength = this._selectLength({height, width});\n this._scheduleCellsToRenderUpdate();\n this._maybeCallOnEdgeReached();\n };\n\n /* Translates metrics from a scroll event in a parent VirtualizedList into\n * coordinates relative to the child list.\n */\n _convertParentScrollMetrics = (metrics: {\n visibleLength: number,\n offset: number,\n ...\n }): $FlowFixMe => {\n // Offset of the top of the nested list relative to the top of its parent's viewport\n const offset = metrics.offset - this._offsetFromParentVirtualizedList;\n // Child's visible length is the same as its parent's\n const visibleLength = metrics.visibleLength;\n const dOffset = offset - this._scrollMetrics.offset;\n const contentLength = this._scrollMetrics.contentLength;\n\n return {\n visibleLength,\n contentLength,\n offset,\n dOffset,\n };\n };\n\n _onScroll = (e: Object) => {\n this._nestedChildLists.forEach(childList => {\n childList._onScroll(e);\n });\n if (this.props.onScroll) {\n this.props.onScroll(e);\n }\n const timestamp = e.timeStamp;\n let visibleLength = this._selectLength(e.nativeEvent.layoutMeasurement);\n let contentLength = this._selectLength(e.nativeEvent.contentSize);\n let offset = this._selectOffset(e.nativeEvent.contentOffset);\n let dOffset = offset - this._scrollMetrics.offset;\n\n if (this._isNestedWithSameOrientation()) {\n if (this._scrollMetrics.contentLength === 0) {\n // Ignore scroll events until onLayout has been called and we\n // know our offset from our offset from our parent\n return;\n }\n ({visibleLength, contentLength, offset, dOffset} =\n this._convertParentScrollMetrics({\n visibleLength,\n offset,\n }));\n }\n\n const dt = this._scrollMetrics.timestamp\n ? Math.max(1, timestamp - this._scrollMetrics.timestamp)\n : 1;\n const velocity = dOffset / dt;\n\n if (\n dt > 500 &&\n this._scrollMetrics.dt > 500 &&\n contentLength > 5 * visibleLength &&\n !this._hasWarned.perf\n ) {\n infoLog(\n 'VirtualizedList: You have a large list that is slow to update - make sure your ' +\n 'renderItem function renders components that follow React performance best practices ' +\n 'like PureComponent, shouldComponentUpdate, etc.',\n {dt, prevDt: this._scrollMetrics.dt, contentLength},\n );\n this._hasWarned.perf = true;\n }\n\n // For invalid negative values (w/ RTL), set this to 1.\n const zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;\n this._scrollMetrics = {\n contentLength,\n dt,\n dOffset,\n offset,\n timestamp,\n velocity,\n visibleLength,\n zoomScale,\n };\n if (this.state.maintainVisibleContentPositionAdjustment != null) {\n this.setState({\n maintainVisibleContentPositionAdjustment: null,\n });\n }\n this._updateViewableItems(this.props, this.state.cellsAroundViewport);\n if (!this.props) {\n return;\n }\n this._maybeCallOnEdgeReached();\n if (velocity !== 0) {\n this._fillRateHelper.activate();\n }\n this._computeBlankness();\n this._scheduleCellsToRenderUpdate();\n };\n\n _scheduleCellsToRenderUpdate() {\n if (this.state.maintainVisibleContentPositionAdjustment != null) {\n return;\n }\n const {first, last} = this.state.cellsAroundViewport;\n const {offset, visibleLength, velocity} = this._scrollMetrics;\n const itemCount = this.props.getItemCount(this.props.data);\n let hiPri = false;\n const onStartReachedThreshold = onStartReachedThresholdOrDefault(\n this.props.onStartReachedThreshold,\n );\n const onEndReachedThreshold = onEndReachedThresholdOrDefault(\n this.props.onEndReachedThreshold,\n );\n // Mark as high priority if we're close to the start of the first item\n // But only if there are items before the first rendered item\n if (first > 0) {\n const distTop =\n offset - this.__getFrameMetricsApprox(first, this.props).offset;\n hiPri =\n hiPri ||\n distTop < 0 ||\n (velocity < -2 &&\n distTop <\n getScrollingThreshold(onStartReachedThreshold, visibleLength));\n }\n // Mark as high priority if we're close to the end of the last item\n // But only if there are items after the last rendered item\n if (last >= 0 && last < itemCount - 1) {\n const distBottom =\n this.__getFrameMetricsApprox(last, this.props).offset -\n (offset + visibleLength);\n hiPri =\n hiPri ||\n distBottom < 0 ||\n (velocity > 2 &&\n distBottom <\n getScrollingThreshold(onEndReachedThreshold, visibleLength));\n }\n // Only trigger high-priority updates if we've actually rendered cells,\n // and with that size estimate, accurately compute how many cells we should render.\n // Otherwise, it would just render as many cells as it can (of zero dimension),\n // each time through attempting to render more (limited by maxToRenderPerBatch),\n // starving the renderer from actually laying out the objects and computing _averageCellLength.\n // If this is triggered in an `componentDidUpdate` followed by a hiPri cellToRenderUpdate\n // We shouldn't do another hipri cellToRenderUpdate\n if (\n hiPri &&\n (this._averageCellLength || this.props.getItemLayout) &&\n !this._hiPriInProgress\n ) {\n this._hiPriInProgress = true;\n // Don't worry about interactions when scrolling quickly; focus on filling content as fast\n // as possible.\n this._updateCellsToRenderBatcher.dispose({abort: true});\n this._updateCellsToRender();\n return;\n } else {\n this._updateCellsToRenderBatcher.schedule();\n }\n }\n\n _onScrollBeginDrag = (e: ScrollEvent): void => {\n this._nestedChildLists.forEach(childList => {\n childList._onScrollBeginDrag(e);\n });\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.recordInteraction();\n });\n this._hasInteracted = true;\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n };\n\n _onScrollEndDrag = (e: ScrollEvent): void => {\n this._nestedChildLists.forEach(childList => {\n childList._onScrollEndDrag(e);\n });\n const {velocity} = e.nativeEvent;\n if (velocity) {\n this._scrollMetrics.velocity = this._selectOffset(velocity);\n }\n this._computeBlankness();\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n };\n\n _onMomentumScrollBegin = (e: ScrollEvent): void => {\n this._nestedChildLists.forEach(childList => {\n childList._onMomentumScrollBegin(e);\n });\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n };\n\n _onMomentumScrollEnd = (e: ScrollEvent): void => {\n this._nestedChildLists.forEach(childList => {\n childList._onMomentumScrollEnd(e);\n });\n this._scrollMetrics.velocity = 0;\n this._computeBlankness();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n };\n\n _updateCellsToRender = () => {\n this._updateViewableItems(this.props, this.state.cellsAroundViewport);\n\n this.setState((state, props) => {\n const cellsAroundViewport = this._adjustCellsAroundViewport(\n props,\n state.cellsAroundViewport,\n );\n const renderMask = VirtualizedList._createRenderMask(\n props,\n cellsAroundViewport,\n state.maintainVisibleContentPositionAdjustment,\n this._getNonViewportRenderRegions(props),\n );\n\n if (\n cellsAroundViewport.first === state.cellsAroundViewport.first &&\n cellsAroundViewport.last === state.cellsAroundViewport.last &&\n renderMask.equals(state.renderMask)\n ) {\n return null;\n }\n\n return {cellsAroundViewport, renderMask};\n });\n };\n\n _createViewToken = (\n index: number,\n isViewable: boolean,\n props: FrameMetricProps,\n // $FlowFixMe[missing-local-annot]\n ) => {\n const {data, getItem} = props;\n const item = getItem(data, index);\n return {\n index,\n item,\n key: extractKey(props, item, index),\n isViewable,\n };\n };\n\n /**\n * Gets an approximate offset to an item at a given index. Supports\n * fractional indices.\n */\n _getOffsetApprox = (index: number, props: FrameMetricProps): number => {\n if (Number.isInteger(index)) {\n return this.__getFrameMetricsApprox(index, props).offset;\n } else {\n const frameMetrics = this.__getFrameMetricsApprox(\n Math.floor(index),\n props,\n );\n const remainder = index - Math.floor(index);\n return frameMetrics.offset + remainder * frameMetrics.length;\n }\n };\n\n __getFrameMetricsApprox: (\n index: number,\n props: FrameMetricProps,\n ) => {\n length: number,\n offset: number,\n ...\n } = (index, props) => {\n const frame = this._getFrameMetrics(index, props);\n if (frame && frame.index === index) {\n // check for invalid frames due to row re-ordering\n return frame;\n } else {\n const {data, getItemCount, getItemLayout} = props;\n invariant(\n index >= 0 && index < getItemCount(data),\n 'Tried to get frame for out of range index ' + index,\n );\n invariant(\n !getItemLayout,\n 'Should not have to estimate frames when a measurement metrics function is provided',\n );\n return {\n length: this._averageCellLength,\n offset: this._averageCellLength * index,\n };\n }\n };\n\n _getFrameMetrics = (\n index: number,\n props: FrameMetricProps,\n ): ?{\n length: number,\n offset: number,\n index: number,\n inLayout?: boolean,\n ...\n } => {\n const {data, getItem, getItemCount, getItemLayout} = props;\n invariant(\n index >= 0 && index < getItemCount(data),\n 'Tried to get frame for out of range index ' + index,\n );\n const item = getItem(data, index);\n const frame =\n item != null ? this._frames[extractKey(props, item, index)] : undefined;\n if (!frame || frame.index !== index) {\n if (getItemLayout) {\n /* $FlowFixMe[prop-missing] (>=0.63.0 site=react_native_fb) This comment\n * suppresses an error found when Flow v0.63 was deployed. To see the error\n * delete this comment and run Flow. */\n return getItemLayout(data, index);\n }\n }\n return frame;\n };\n\n _getNonViewportRenderRegions = (\n props: FrameMetricProps,\n ): $ReadOnlyArray<{\n first: number,\n last: number,\n }> => {\n // Keep a viewport's worth of content around the last focused cell to allow\n // random navigation around it without any blanking. E.g. tabbing from one\n // focused item out of viewport to another.\n if (\n !(this._lastFocusedCellKey && this._cellRefs[this._lastFocusedCellKey])\n ) {\n return [];\n }\n\n const lastFocusedCellRenderer = this._cellRefs[this._lastFocusedCellKey];\n const focusedCellIndex = lastFocusedCellRenderer.props.index;\n const itemCount = props.getItemCount(props.data);\n\n // The cell may have been unmounted and have a stale index\n if (\n focusedCellIndex >= itemCount ||\n this._indicesToKeys.get(focusedCellIndex) !== this._lastFocusedCellKey\n ) {\n return [];\n }\n\n let first = focusedCellIndex;\n let heightOfCellsBeforeFocused = 0;\n for (\n let i = first - 1;\n i >= 0 && heightOfCellsBeforeFocused < this._scrollMetrics.visibleLength;\n i--\n ) {\n first--;\n heightOfCellsBeforeFocused += this.__getFrameMetricsApprox(\n i,\n props,\n ).length;\n }\n\n let last = focusedCellIndex;\n let heightOfCellsAfterFocused = 0;\n for (\n let i = last + 1;\n i < itemCount &&\n heightOfCellsAfterFocused < this._scrollMetrics.visibleLength;\n i++\n ) {\n last++;\n heightOfCellsAfterFocused += this.__getFrameMetricsApprox(\n i,\n props,\n ).length;\n }\n\n return [{first, last}];\n };\n\n _updateViewableItems(\n props: FrameMetricProps,\n cellsAroundViewport: {first: number, last: number},\n ) {\n this._viewabilityTuples.forEach(tuple => {\n tuple.viewabilityHelper.onUpdate(\n props,\n this._scrollMetrics.offset,\n this._scrollMetrics.visibleLength,\n this._getFrameMetrics,\n this._createViewToken,\n tuple.onViewableItemsChanged,\n cellsAroundViewport,\n );\n });\n }\n}\n\nconst styles = StyleSheet.create({\n verticallyInverted: {\n transform: [{scaleY: -1}],\n },\n horizontallyInverted: {\n transform: [{scaleX: -1}],\n },\n debug: {\n flex: 1,\n },\n debugOverlayBase: {\n position: 'absolute',\n top: 0,\n right: 0,\n },\n debugOverlay: {\n bottom: 0,\n width: 20,\n borderColor: 'blue',\n borderWidth: 1,\n },\n debugOverlayFrame: {\n left: 0,\n backgroundColor: 'orange',\n },\n debugOverlayFrameLast: {\n left: 0,\n borderColor: 'green',\n borderWidth: 2,\n },\n debugOverlayFrameVis: {\n left: 0,\n borderColor: 'red',\n borderWidth: 2,\n },\n});\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport AndroidSwipeRefreshLayoutNativeComponent, {\n Commands as AndroidSwipeRefreshLayoutCommands,\n} from './AndroidSwipeRefreshLayoutNativeComponent';\nimport PullToRefreshViewNativeComponent, {\n Commands as PullToRefreshCommands,\n} from './PullToRefreshViewNativeComponent';\n\nconst Platform = require('../../Utilities/Platform');\nconst React = require('react');\n\ntype IOSProps = $ReadOnly<{|\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: ?string,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: ?boolean,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator.\n */\n size?: ?('default' | 'large'),\n|}>;\n\nexport type RefreshControlProps = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?() => void | Promise,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n\n /**\n * Progress view top offset\n */\n progressViewOffset?: ?number,\n|}>;\n\n/**\n * This component is used inside a ScrollView or ListView to add pull to refresh\n * functionality. When the ScrollView is at `scrollY: 0`, swiping down\n * triggers an `onRefresh` event.\n *\n * ### Usage example\n *\n * ``` js\n * class RefreshableList extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * refreshing: false,\n * };\n * }\n *\n * _onRefresh() {\n * this.setState({refreshing: true});\n * fetchData().then(() => {\n * this.setState({refreshing: false});\n * });\n * }\n *\n * render() {\n * return (\n * \n * }\n * ...\n * >\n * ...\n * \n * );\n * }\n * ...\n * }\n * ```\n *\n * __Note:__ `refreshing` is a controlled prop, this is why it needs to be set to true\n * in the `onRefresh` function otherwise the refresh indicator will stop immediately.\n */\nclass RefreshControl extends React.Component {\n _nativeRef: ?React.ElementRef<\n | typeof PullToRefreshViewNativeComponent\n | typeof AndroidSwipeRefreshLayoutNativeComponent,\n >;\n _lastNativeRefreshing = false;\n\n componentDidMount() {\n this._lastNativeRefreshing = this.props.refreshing;\n }\n\n componentDidUpdate(prevProps: RefreshControlProps) {\n // RefreshControl is a controlled component so if the native refreshing\n // value doesn't match the current js refreshing prop update it to\n // the js value.\n if (this.props.refreshing !== prevProps.refreshing) {\n this._lastNativeRefreshing = this.props.refreshing;\n } else if (\n this.props.refreshing !== this._lastNativeRefreshing &&\n this._nativeRef\n ) {\n if (Platform.OS === 'android') {\n AndroidSwipeRefreshLayoutCommands.setNativeRefreshing(\n this._nativeRef,\n this.props.refreshing,\n );\n } else {\n PullToRefreshCommands.setNativeRefreshing(\n this._nativeRef,\n this.props.refreshing,\n );\n }\n this._lastNativeRefreshing = this.props.refreshing;\n }\n }\n\n render(): React.Node {\n if (Platform.OS === 'ios') {\n const {enabled, colors, progressBackgroundColor, size, ...props} =\n this.props;\n return (\n \n );\n } else {\n const {tintColor, titleColor, title, ...props} = this.props;\n return (\n \n );\n }\n }\n\n _onRefresh = () => {\n this._lastNativeRefreshing = true;\n\n this.props.onRefresh && this.props.onRefresh();\n\n // The native component will start refreshing so force an update to\n // make sure it stays in sync with the js component.\n this.forceUpdate();\n };\n\n _setNativeRef = (\n ref: ?React.ElementRef<\n | typeof PullToRefreshViewNativeComponent\n | typeof AndroidSwipeRefreshLayoutNativeComponent,\n >,\n ) => {\n this._nativeRef = ref;\n };\n}\n\nmodule.exports = RefreshControl;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n DirectEventHandler,\n Float,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport * as React from 'react';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Whether the pull to refresh functionality is enabled.\n */\n enabled?: WithDefault,\n /**\n * The colors (at least one) that will be used to draw the refresh indicator.\n */\n colors?: ?$ReadOnlyArray,\n /**\n * The background color of the refresh indicator.\n */\n progressBackgroundColor?: ?ColorValue,\n /**\n * Size of the refresh indicator.\n */\n size?: WithDefault<'default' | 'large', 'default'>,\n /**\n * Progress view top offset\n */\n progressViewOffset?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\ntype NativeType = HostComponent;\n\ninterface NativeCommands {\n +setNativeRefreshing: (\n viewRef: React.ElementRef,\n value: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeRefreshing'],\n});\n\nexport default (codegenNativeComponent(\n 'AndroidSwipeRefreshLayout',\n): NativeType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n DirectEventHandler,\n Float,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport * as React from 'react';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The color of the refresh indicator.\n */\n tintColor?: ?ColorValue,\n /**\n * Title color.\n */\n titleColor?: ?ColorValue,\n /**\n * The title displayed under the refresh indicator.\n */\n title?: WithDefault,\n /**\n * Progress view top offset\n */\n progressViewOffset?: WithDefault,\n\n /**\n * Called when the view starts refreshing.\n */\n onRefresh?: ?DirectEventHandler,\n\n /**\n * Whether the view should be indicating an active refresh.\n */\n refreshing: boolean,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setNativeRefreshing: (\n viewRef: React.ElementRef,\n refreshing: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeRefreshing'],\n});\n\nexport default (codegenNativeComponent('PullToRefreshView', {\n paperComponentName: 'RCTRefreshControl',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {PointProp} from '../../StyleSheet/PointPropType';\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n LayoutEvent,\n PressEvent,\n ScrollEvent,\n} from '../../Types/CoreEventTypes';\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\nimport type {KeyboardEvent, KeyboardMetrics} from '../Keyboard/Keyboard';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {Props as ScrollViewStickyHeaderProps} from './ScrollViewStickyHeader';\n\nimport AnimatedImplementation from '../../Animated/AnimatedImplementation';\nimport FrameRateLogger from '../../Interaction/FrameRateLogger';\nimport {findNodeHandle} from '../../ReactNative/RendererProxy';\nimport UIManager from '../../ReactNative/UIManager';\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport splitLayoutProps from '../../StyleSheet/splitLayoutProps';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Dimensions from '../../Utilities/Dimensions';\nimport dismissKeyboard from '../../Utilities/dismissKeyboard';\nimport Platform from '../../Utilities/Platform';\nimport setAndForwardRef from '../../Utilities/setAndForwardRef';\nimport Keyboard from '../Keyboard/Keyboard';\nimport TextInputState from '../TextInput/TextInputState';\nimport View from '../View/View';\nimport AndroidHorizontalScrollContentViewNativeComponent from './AndroidHorizontalScrollContentViewNativeComponent';\nimport AndroidHorizontalScrollViewNativeComponent from './AndroidHorizontalScrollViewNativeComponent';\nimport processDecelerationRate from './processDecelerationRate';\nimport ScrollContentViewNativeComponent from './ScrollContentViewNativeComponent';\nimport Commands from './ScrollViewCommands';\nimport ScrollViewContext, {HORIZONTAL, VERTICAL} from './ScrollViewContext';\nimport ScrollViewNativeComponent from './ScrollViewNativeComponent';\nimport ScrollViewStickyHeader from './ScrollViewStickyHeader';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nif (Platform.OS === 'ios') {\n require('../../Renderer/shims/ReactNative'); // Force side effects to prevent T55744311\n}\n\nconst {NativeHorizontalScrollViewTuple, NativeVerticalScrollViewTuple} =\n Platform.OS === 'android'\n ? {\n NativeHorizontalScrollViewTuple: [\n AndroidHorizontalScrollViewNativeComponent,\n AndroidHorizontalScrollContentViewNativeComponent,\n ],\n NativeVerticalScrollViewTuple: [ScrollViewNativeComponent, View],\n }\n : {\n NativeHorizontalScrollViewTuple: [\n ScrollViewNativeComponent,\n ScrollContentViewNativeComponent,\n ],\n NativeVerticalScrollViewTuple: [\n ScrollViewNativeComponent,\n ScrollContentViewNativeComponent,\n ],\n };\n\n/*\n * iOS scroll event timing nuances:\n * ===============================\n *\n *\n * Scrolling without bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... physical touch starts ...\n * 2. `onTouchStartCapture` (when you press down to stop the scroll)\n * 3. `onTouchStart` (same, but bubble phase)\n * 4. `onResponderRelease` (when lifting up - you could pause forever before * lifting)\n * 5. `onMomentumScrollEnd`\n *\n *\n * Scrolling with bouncing, if you touch down:\n * -------------------------------\n *\n * 1. `onMomentumScrollBegin` (when animation begins after letting up)\n * ... bounce begins ...\n * ... some time elapses ...\n * ... physical touch during bounce ...\n * 2. `onMomentumScrollEnd` (Makes no sense why this occurs first during bounce)\n * 3. `onTouchStartCapture` (immediately after `onMomentumScrollEnd`)\n * 4. `onTouchStart` (same, but bubble phase)\n * 5. `onTouchEnd` (You could hold the touch start for a long time)\n * 6. `onMomentumScrollBegin` (When releasing the view starts bouncing back)\n *\n * So when we receive an `onTouchStart`, how can we tell if we are touching\n * *during* an animation (which then causes the animation to stop)? The only way\n * to tell is if the `touchStart` occurred immediately after the\n * `onMomentumScrollEnd`.\n *\n * This is abstracted out for you, so you can just call this.scrollResponderIsAnimating() if\n * necessary\n *\n * `ScrollView` also includes logic for blurring a currently focused input\n * if one is focused while scrolling. This is a natural place\n * to put this logic since it can support not dismissing the keyboard while\n * scrolling, unless a recognized \"tap\"-like gesture has occurred.\n *\n * The public lifecycle API includes events for keyboard interaction, responder\n * interaction, and scrolling (among others). The keyboard callbacks\n * `onKeyboardWill/Did/*` are *global* events, but are invoked on scroll\n * responder's props so that you can guarantee that the scroll responder's\n * internal state has been updated accordingly (and deterministically) by\n * the time the props callbacks are invoke. Otherwise, you would always wonder\n * if the scroll responder is currently in a state where it recognizes new\n * keyboard positions etc. If coordinating scrolling with keyboard movement,\n * *always* use these hooks instead of listening to your own global keyboard\n * events.\n *\n * Public keyboard lifecycle API: (props callbacks)\n *\n * Standard Keyboard Appearance Sequence:\n *\n * this.props.onKeyboardWillShow\n * this.props.onKeyboardDidShow\n *\n * `onScrollResponderKeyboardDismissed` will be invoked if an appropriate\n * tap inside the scroll responder's scrollable region was responsible\n * for the dismissal of the keyboard. There are other reasons why the\n * keyboard could be dismissed.\n *\n * this.props.onScrollResponderKeyboardDismissed\n *\n * Standard Keyboard Hide Sequence:\n *\n * this.props.onKeyboardWillHide\n * this.props.onKeyboardDidHide\n */\n\n// Public methods for ScrollView\nexport type ScrollViewImperativeMethods = $ReadOnly<{|\n getScrollResponder: $PropertyType,\n getScrollableNode: $PropertyType,\n getInnerViewNode: $PropertyType,\n getInnerViewRef: $PropertyType,\n getNativeScrollRef: $PropertyType,\n scrollTo: $PropertyType,\n scrollToEnd: $PropertyType,\n flashScrollIndicators: $PropertyType,\n scrollResponderZoomTo: $PropertyType,\n scrollResponderScrollNativeHandleToKeyboard: $PropertyType<\n ScrollView,\n 'scrollResponderScrollNativeHandleToKeyboard',\n >,\n|}>;\n\nexport type DecelerationRateType = 'fast' | 'normal' | number;\nexport type ScrollResponderType = ScrollViewImperativeMethods;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Controls whether iOS should automatically adjust the content inset\n * for scroll views that are placed behind a navigation bar or\n * tab bar/ toolbar. The default value is true.\n * @platform ios\n */\n automaticallyAdjustContentInsets?: ?boolean,\n /**\n * Controls whether the ScrollView should automatically adjust its `contentInset`\n * and `scrollViewInsets` when the Keyboard changes its size. The default value is false.\n * @platform ios\n */\n automaticallyAdjustKeyboardInsets?: ?boolean,\n /**\n * Controls whether iOS should automatically adjust the scroll indicator\n * insets. The default value is true. Available on iOS 13 and later.\n * @platform ios\n */\n automaticallyAdjustsScrollIndicatorInsets?: ?boolean,\n /**\n * The amount by which the scroll view content is inset from the edges\n * of the scroll view. Defaults to `{top: 0, left: 0, bottom: 0, right: 0}`.\n * @platform ios\n */\n contentInset?: ?EdgeInsetsProp,\n /**\n * When true, the scroll view bounces when it reaches the end of the\n * content if the content is larger then the scroll view along the axis of\n * the scroll direction. When false, it disables all bouncing even if\n * the `alwaysBounce*` props are true. The default value is true.\n * @platform ios\n */\n bounces?: ?boolean,\n /**\n * By default, ScrollView has an active pan responder that hijacks panresponders\n * deeper in the render tree in order to prevent accidental touches while scrolling.\n * However, in certain occasions (such as when using snapToInterval) in a vertical scrollview\n * You may want to disable this behavior in order to prevent the ScrollView from blocking touches\n */\n disableScrollViewPanResponder?: ?boolean,\n /**\n * When true, gestures can drive zoom past min/max and the zoom will animate\n * to the min/max value at gesture end, otherwise the zoom will not exceed\n * the limits.\n * @platform ios\n */\n bouncesZoom?: ?boolean,\n /**\n * When true, the scroll view bounces horizontally when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is true when `horizontal={true}` and false otherwise.\n * @platform ios\n */\n alwaysBounceHorizontal?: ?boolean,\n /**\n * When true, the scroll view bounces vertically when it reaches the end\n * even if the content is smaller than the scroll view itself. The default\n * value is false when `horizontal={true}` and true otherwise.\n * @platform ios\n */\n alwaysBounceVertical?: ?boolean,\n /**\n * When true, the scroll view automatically centers the content when the\n * content is smaller than the scroll view bounds; when the content is\n * larger than the scroll view, this property has no effect. The default\n * value is false.\n * @platform ios\n */\n centerContent?: ?boolean,\n /**\n * The style of the scroll indicators.\n *\n * - `'default'` (the default), same as `black`.\n * - `'black'`, scroll indicator is black. This style is good against a light background.\n * - `'white'`, scroll indicator is white. This style is good against a dark background.\n *\n * @platform ios\n */\n indicatorStyle?: ?('default' | 'black' | 'white'),\n /**\n * When true, the ScrollView will try to lock to only vertical or horizontal\n * scrolling while dragging. The default value is false.\n * @platform ios\n */\n directionalLockEnabled?: ?boolean,\n /**\n * When false, once tracking starts, won't try to drag if the touch moves.\n * The default value is true.\n * @platform ios\n */\n canCancelContentTouches?: ?boolean,\n /**\n * When set, the scroll view will adjust the scroll position so that the first child that is\n * currently visible and at or beyond `minIndexForVisible` will not change position. This is\n * useful for lists that are loading content in both directions, e.g. a chat thread, where new\n * messages coming in might otherwise cause the scroll position to jump. A value of 0 is common,\n * but other values such as 1 can be used to skip loading spinners or other content that should\n * not maintain position.\n *\n * The optional `autoscrollToTopThreshold` can be used to make the content automatically scroll\n * to the top after making the adjustment if the user was within the threshold of the top before\n * the adjustment was made. This is also useful for chat-like applications where you want to see\n * new messages scroll into place, but not if the user has scrolled up a ways and it would be\n * disruptive to scroll a bunch.\n *\n * Caveat 1: Reordering elements in the scrollview with this enabled will probably cause\n * jumpiness and jank. It can be fixed, but there are currently no plans to do so. For now,\n * don't re-order the content of any ScrollViews or Lists that use this feature.\n *\n * Caveat 2: This simply uses `contentOffset` and `frame.origin` in native code to compute\n * visibility. Occlusion, transforms, and other complexity won't be taken into account as to\n * whether content is \"visible\" or not.\n */\n maintainVisibleContentPosition?: ?$ReadOnly<{|\n minIndexForVisible: number,\n autoscrollToTopThreshold?: ?number,\n |}>,\n /**\n * The maximum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n maximumZoomScale?: ?number,\n /**\n * The minimum allowed zoom scale. The default value is 1.0.\n * @platform ios\n */\n minimumZoomScale?: ?number,\n /**\n * When true, ScrollView allows use of pinch gestures to zoom in and out.\n * The default value is true.\n * @platform ios\n */\n pinchGestureEnabled?: ?boolean,\n /**\n * This controls how often the scroll event will be fired while scrolling\n * (as a time interval in ms). A lower number yields better accuracy for code\n * that is tracking the scroll position, but can lead to scroll performance\n * problems due to the volume of information being send over the bridge.\n *\n * Values between 0 and 17ms indicate 60fps updates are needed and throttling\n * will be disabled.\n *\n * If you do not need precise scroll position tracking, set this value higher\n * to limit the information being sent across the bridge.\n *\n * The default value is zero, which results in the scroll event being sent only\n * once each time the view is scrolled.\n *\n * @platform ios\n */\n scrollEventThrottle?: ?number,\n /**\n * The amount by which the scroll view indicators are inset from the edges\n * of the scroll view. This should normally be set to the same value as\n * the `contentInset`. Defaults to `{0, 0, 0, 0}`.\n * @platform ios\n */\n scrollIndicatorInsets?: ?EdgeInsetsProp,\n /**\n * When true, the scroll view can be programmatically scrolled beyond its\n * content size. The default value is false.\n * @platform ios\n */\n scrollToOverflowEnabled?: ?boolean,\n /**\n * When true, the scroll view scrolls to top when the status bar is tapped.\n * The default value is true.\n * @platform ios\n */\n scrollsToTop?: ?boolean,\n /**\n * Fires when the scroll view scrolls to top after the status bar has been tapped\n * @platform ios\n */\n onScrollToTop?: (event: ScrollEvent) => void,\n /**\n * When true, shows a horizontal scroll indicator.\n * The default value is true.\n */\n showsHorizontalScrollIndicator?: ?boolean,\n /**\n * The current scale of the scroll view content. The default value is 1.0.\n * @platform ios\n */\n zoomScale?: ?number,\n /**\n * This property specifies how the safe area insets are used to modify the\n * content area of the scroll view. The default value of this property is\n * \"never\". Available on iOS 11 and later.\n * @platform ios\n */\n contentInsetAdjustmentBehavior?: ?(\n | 'automatic'\n | 'scrollableAxes'\n | 'never'\n | 'always'\n ),\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Enables nested scrolling for Android API level 21+.\n * Nested scrolling is supported by default on iOS\n * @platform android\n */\n nestedScrollEnabled?: ?boolean,\n /**\n * Sometimes a scrollview takes up more space than its content fills. When this is\n * the case, this prop will fill the rest of the scrollview with a color to avoid setting\n * a background and creating unnecessary overdraw. This is an advanced optimization\n * that is not needed in the general case.\n * @platform android\n */\n endFillColor?: ?ColorValue,\n /**\n * Tag used to log scroll performance on this scroll view. Will force\n * momentum events to be turned on (see sendMomentumEvents). This doesn't do\n * anything out of the box and you need to implement a custom native\n * FpsListener for it to be useful.\n * @platform android\n */\n scrollPerfTag?: ?string,\n /**\n * Used to override default value of overScroll mode.\n *\n * Possible values:\n *\n * - `'auto'` - Default value, allow a user to over-scroll\n * this view only if the content is large enough to meaningfully scroll.\n * - `'always'` - Always allow a user to over-scroll this view.\n * - `'never'` - Never allow a user to over-scroll this view.\n *\n * @platform android\n */\n overScrollMode?: ?('auto' | 'always' | 'never'),\n /**\n * Causes the scrollbars not to turn transparent when they are not in use.\n * The default value is false.\n *\n * @platform android\n */\n persistentScrollbar?: ?boolean,\n /**\n * Fades out the edges of the scroll content.\n *\n * If the value is greater than 0, the fading edges will be set accordingly\n * to the current scroll direction and position,\n * indicating if there is more content to show.\n *\n * The default value is 0.\n *\n * @platform android\n */\n fadingEdgeLength?: ?number,\n|}>;\n\ntype StickyHeaderComponentType = React.AbstractComponent<\n ScrollViewStickyHeaderProps,\n $ReadOnly void}>,\n>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * These styles will be applied to the scroll view content container which\n * wraps all of the child views. Example:\n *\n * ```\n * return (\n * \n * \n * );\n * ...\n * const styles = StyleSheet.create({\n * contentContainer: {\n * paddingVertical: 20\n * }\n * });\n * ```\n */\n contentContainerStyle?: ?ViewStyleProp,\n /**\n * Used to manually set the starting scroll offset.\n * The default value is `{x: 0, y: 0}`.\n */\n contentOffset?: ?PointProp,\n /**\n * When true, the scroll view stops on the next index (in relation to scroll\n * position at release) regardless of how fast the gesture is. This can be\n * used for pagination when the page is less than the width of the\n * horizontal ScrollView or the height of the vertical ScrollView. The default value is false.\n */\n disableIntervalMomentum?: ?boolean,\n /**\n * A floating-point number that determines how quickly the scroll view\n * decelerates after the user lifts their finger. You may also use string\n * shortcuts `\"normal\"` and `\"fast\"` which match the underlying iOS settings\n * for `UIScrollViewDecelerationRateNormal` and\n * `UIScrollViewDecelerationRateFast` respectively.\n *\n * - `'normal'`: 0.998 on iOS, 0.985 on Android (the default)\n * - `'fast'`: 0.99 on iOS, 0.9 on Android\n */\n decelerationRate?: ?DecelerationRateType,\n /**\n * When true, the scroll view's children are arranged horizontally in a row\n * instead of vertically in a column. The default value is false.\n */\n horizontal?: ?boolean,\n /**\n * If sticky headers should stick at the bottom instead of the top of the\n * ScrollView. This is usually used with inverted ScrollViews.\n */\n invertStickyHeaders?: ?boolean,\n /**\n * Determines whether the keyboard gets dismissed in response to a drag.\n *\n * *Cross platform*\n *\n * - `'none'` (the default), drags do not dismiss the keyboard.\n * - `'on-drag'`, the keyboard is dismissed when a drag begins.\n *\n * *iOS Only*\n *\n * - `'interactive'`, the keyboard is dismissed interactively with the drag and moves in\n * synchrony with the touch; dragging upwards cancels the dismissal.\n * On android this is not supported and it will have the same behavior as 'none'.\n */\n keyboardDismissMode?: ?// default\n // cross-platform\n ('none' | 'on-drag' | 'interactive'), // ios only\n /**\n * Determines when the keyboard should stay visible after a tap.\n *\n * - `'never'` (the default), tapping outside of the focused text input when the keyboard\n * is up dismisses the keyboard. When this happens, children won't receive the tap.\n * - `'always'`, the keyboard will not dismiss automatically, and the scroll view will not\n * catch taps, but children of the scroll view can catch taps.\n * - `'handled'`, the keyboard will not dismiss automatically when the tap was handled by\n * a children, (or captured by an ancestor).\n * - `false`, deprecated, use 'never' instead\n * - `true`, deprecated, use 'always' instead\n */\n keyboardShouldPersistTaps?: ?('always' | 'never' | 'handled' | true | false),\n /**\n * Called when the momentum scroll starts (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollBegin?: ?(event: ScrollEvent) => void,\n /**\n * Called when the momentum scroll ends (scroll which occurs as the ScrollView glides to a stop).\n */\n onMomentumScrollEnd?: ?(event: ScrollEvent) => void,\n\n /**\n * Fires at most once per frame during scrolling. The frequency of the\n * events can be controlled using the `scrollEventThrottle` prop.\n */\n onScroll?: ?(event: ScrollEvent) => void,\n /**\n * Called when the user begins to drag the scroll view.\n */\n onScrollBeginDrag?: ?(event: ScrollEvent) => void,\n /**\n * Called when the user stops dragging the scroll view and it either stops\n * or begins to glide.\n */\n onScrollEndDrag?: ?(event: ScrollEvent) => void,\n /**\n * Called when scrollable content view of the ScrollView changes.\n *\n * Handler function is passed the content width and content height as parameters:\n * `(contentWidth, contentHeight)`\n *\n * It's implemented using onLayout handler attached to the content container\n * which this ScrollView renders.\n */\n onContentSizeChange?: (contentWidth: number, contentHeight: number) => void,\n onKeyboardDidShow?: (event: KeyboardEvent) => void,\n onKeyboardDidHide?: (event: KeyboardEvent) => void,\n onKeyboardWillShow?: (event: KeyboardEvent) => void,\n onKeyboardWillHide?: (event: KeyboardEvent) => void,\n /**\n * When true, the scroll view stops on multiples of the scroll view's size\n * when scrolling. This can be used for horizontal pagination. The default\n * value is false.\n *\n * Note: Vertical pagination is not supported on Android.\n */\n pagingEnabled?: ?boolean,\n\n /**\n * When false, the view cannot be scrolled via touch interaction.\n * The default value is true.\n *\n * Note that the view can always be scrolled by calling `scrollTo`.\n */\n scrollEnabled?: ?boolean,\n /**\n * When true, shows a vertical scroll indicator.\n * The default value is true.\n */\n showsVerticalScrollIndicator?: ?boolean,\n /**\n * When true, Sticky header is hidden when scrolling down, and dock at the top\n * when scrolling up\n */\n stickyHeaderHiddenOnScroll?: ?boolean,\n /**\n * An array of child indices determining which children get docked to the\n * top of the screen when scrolling. For example, passing\n * `stickyHeaderIndices={[0]}` will cause the first child to be fixed to the\n * top of the scroll view. This property is not supported in conjunction\n * with `horizontal={true}`.\n */\n stickyHeaderIndices?: ?$ReadOnlyArray,\n /**\n * A React Component that will be used to render sticky headers.\n * To be used together with `stickyHeaderIndices` or with `SectionList`, defaults to `ScrollViewStickyHeader`.\n * You may need to set this if your sticky header uses custom transforms (eg. translation),\n * for example when you want your list to have an animated hidable header.\n */\n StickyHeaderComponent?: StickyHeaderComponentType,\n /**\n * When `snapToInterval` is set, `snapToAlignment` will define the relationship\n * of the snapping to the scroll view.\n *\n * - `'start'` (the default) will align the snap at the left (horizontal) or top (vertical)\n * - `'center'` will align the snap in the center\n * - `'end'` will align the snap at the right (horizontal) or bottom (vertical)\n */\n snapToAlignment?: ?('start' | 'center' | 'end'),\n /**\n * When set, causes the scroll view to stop at multiples of the value of\n * `snapToInterval`. This can be used for paginating through children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `snapToAlignment` and `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` prop.\n */\n snapToInterval?: ?number,\n /**\n * When set, causes the scroll view to stop at the defined offsets.\n * This can be used for paginating through variously sized children\n * that have lengths smaller than the scroll view. Typically used in\n * combination with `decelerationRate=\"fast\"`.\n *\n * Overrides less configurable `pagingEnabled` and `snapToInterval` props.\n */\n snapToOffsets?: ?$ReadOnlyArray,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the beginning\n * of the list counts as a snap offset. Set `snapToStart` to false to disable\n * this behavior and allow the list to scroll freely between its start and\n * the first `snapToOffsets` offset.\n * The default value is true.\n */\n snapToStart?: ?boolean,\n /**\n * Use in conjunction with `snapToOffsets`. By default, the end\n * of the list counts as a snap offset. Set `snapToEnd` to false to disable\n * this behavior and allow the list to scroll freely between its end and\n * the last `snapToOffsets` offset.\n * The default value is true.\n */\n snapToEnd?: ?boolean,\n /**\n * Experimental: When true, offscreen child views (whose `overflow` value is\n * `hidden`) are removed from their native backing superview when offscreen.\n * This can improve scrolling performance on long lists. The default value is\n * true.\n */\n removeClippedSubviews?: ?boolean,\n /**\n * A RefreshControl component, used to provide pull-to-refresh\n * functionality for the ScrollView. Only works for vertical ScrollViews\n * (`horizontal` prop must be `false`).\n *\n * See [RefreshControl](docs/refreshcontrol.html).\n */\n /* $FlowFixMe[unclear-type] - how to handle generic type without existential\n * operator? */\n refreshControl?: ?React.Element,\n children?: React.Node,\n /**\n * A ref to the inner View element of the ScrollView. This should be used\n * instead of calling `getInnerViewRef`.\n */\n innerViewRef?: React.Ref,\n /**\n * A ref to the Native ScrollView component. This ref can be used to call\n * all of ScrollView's public methods, in addition to native methods like\n * measure, measureLayout, etc.\n */\n scrollViewRef?: React.Ref<\n typeof ScrollViewNativeComponent & ScrollViewImperativeMethods,\n >,\n|}>;\n\ntype State = {|\n layoutHeight: ?number,\n|};\n\nconst IS_ANIMATING_TOUCH_START_THRESHOLD_MS = 16;\n\nexport type ScrollViewComponentStatics = $ReadOnly<{|\n Context: typeof ScrollViewContext,\n|}>;\n\n/**\n * Component that wraps platform ScrollView while providing\n * integration with touch locking \"responder\" system.\n *\n * Keep in mind that ScrollViews must have a bounded height in order to work,\n * since they contain unbounded-height children into a bounded container (via\n * a scroll interaction). In order to bound the height of a ScrollView, either\n * set the height of the view directly (discouraged) or make sure all parent\n * views have bounded height. Forgetting to transfer `{flex: 1}` down the\n * view stack can lead to errors here, which the element inspector makes\n * easy to debug.\n *\n * Doesn't yet support other contained responders from blocking this scroll\n * view from becoming the responder.\n *\n *\n * `` vs [``](https://reactnative.dev/docs/flatlist) - which one to use?\n *\n * `ScrollView` simply renders all its react child components at once. That\n * makes it very easy to understand and use.\n *\n * On the other hand, this has a performance downside. Imagine you have a very\n * long list of items you want to display, maybe several screens worth of\n * content. Creating JS components and native views for everything all at once,\n * much of which may not even be shown, will contribute to slow rendering and\n * increased memory usage.\n *\n * This is where `FlatList` comes into play. `FlatList` renders items lazily,\n * just when they are about to appear, and removes items that scroll way off\n * screen to save memory and processing time.\n *\n * `FlatList` is also handy if you want to render separators between your items,\n * multiple columns, infinite scroll loading, or any number of other features it\n * supports out of the box.\n */\nclass ScrollView extends React.Component {\n static Context: typeof ScrollViewContext = ScrollViewContext;\n\n constructor(props: Props) {\n super(props);\n\n this._scrollAnimatedValue = new AnimatedImplementation.Value(\n this.props.contentOffset?.y ?? 0,\n );\n this._scrollAnimatedValue.setOffset(this.props.contentInset?.top ?? 0);\n }\n\n _scrollAnimatedValue: AnimatedImplementation.Value;\n _scrollAnimatedValueAttachment: ?{detach: () => void, ...} = null;\n _stickyHeaderRefs: Map> =\n new Map();\n _headerLayoutYs: Map = new Map();\n\n _keyboardMetrics: ?KeyboardMetrics = null;\n _additionalScrollOffset: number = 0;\n _isTouching: boolean = false;\n _lastMomentumScrollBeginTime: number = 0;\n _lastMomentumScrollEndTime: number = 0;\n\n // Reset to false every time becomes responder. This is used to:\n // - Determine if the scroll view has been scrolled and therefore should\n // refuse to give up its responder lock.\n // - Determine if releasing should dismiss the keyboard when we are in\n // tap-to-dismiss mode (this.props.keyboardShouldPersistTaps !== 'always').\n _observedScrollSinceBecomingResponder: boolean = false;\n _becameResponderWhileAnimating: boolean = false;\n _preventNegativeScrollOffset: ?boolean = null;\n\n _animated = null;\n\n _subscriptionKeyboardWillShow: ?EventSubscription = null;\n _subscriptionKeyboardWillHide: ?EventSubscription = null;\n _subscriptionKeyboardDidShow: ?EventSubscription = null;\n _subscriptionKeyboardDidHide: ?EventSubscription = null;\n\n state: State = {\n layoutHeight: null,\n };\n\n componentDidMount() {\n if (typeof this.props.keyboardShouldPersistTaps === 'boolean') {\n console.warn(\n `'keyboardShouldPersistTaps={${\n this.props.keyboardShouldPersistTaps === true ? 'true' : 'false'\n }}' is deprecated. ` +\n `Use 'keyboardShouldPersistTaps=\"${\n this.props.keyboardShouldPersistTaps ? 'always' : 'never'\n }\"' instead`,\n );\n }\n\n this._keyboardMetrics = Keyboard.metrics();\n this._additionalScrollOffset = 0;\n\n this._subscriptionKeyboardWillShow = Keyboard.addListener(\n 'keyboardWillShow',\n this.scrollResponderKeyboardWillShow,\n );\n this._subscriptionKeyboardWillHide = Keyboard.addListener(\n 'keyboardWillHide',\n this.scrollResponderKeyboardWillHide,\n );\n this._subscriptionKeyboardDidShow = Keyboard.addListener(\n 'keyboardDidShow',\n this.scrollResponderKeyboardDidShow,\n );\n this._subscriptionKeyboardDidHide = Keyboard.addListener(\n 'keyboardDidHide',\n this.scrollResponderKeyboardDidHide,\n );\n\n this._updateAnimatedNodeAttachment();\n }\n\n componentDidUpdate(prevProps: Props) {\n const prevContentInsetTop = prevProps.contentInset\n ? prevProps.contentInset.top\n : 0;\n const newContentInsetTop = this.props.contentInset\n ? this.props.contentInset.top\n : 0;\n if (prevContentInsetTop !== newContentInsetTop) {\n this._scrollAnimatedValue.setOffset(newContentInsetTop || 0);\n }\n\n this._updateAnimatedNodeAttachment();\n }\n\n componentWillUnmount() {\n if (this._subscriptionKeyboardWillShow != null) {\n this._subscriptionKeyboardWillShow.remove();\n }\n if (this._subscriptionKeyboardWillHide != null) {\n this._subscriptionKeyboardWillHide.remove();\n }\n if (this._subscriptionKeyboardDidShow != null) {\n this._subscriptionKeyboardDidShow.remove();\n }\n if (this._subscriptionKeyboardDidHide != null) {\n this._subscriptionKeyboardDidHide.remove();\n }\n\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n }\n\n _setNativeRef: $FlowFixMe = setAndForwardRef({\n getForwardedRef: () => this.props.scrollViewRef,\n setLocalRef: ref => {\n this._scrollViewRef = ref;\n\n /*\n This is a hack. Ideally we would forwardRef to the underlying\n host component. However, since ScrollView has it's own methods that can be\n called as well, if we used the standard forwardRef then these\n methods wouldn't be accessible and thus be a breaking change.\n\n Therefore we edit ref to include ScrollView's public methods so that\n they are callable from the ref.\n */\n if (ref) {\n ref.getScrollResponder = this.getScrollResponder;\n ref.getScrollableNode = this.getScrollableNode;\n ref.getInnerViewNode = this.getInnerViewNode;\n ref.getInnerViewRef = this.getInnerViewRef;\n ref.getNativeScrollRef = this.getNativeScrollRef;\n ref.scrollTo = this.scrollTo;\n ref.scrollToEnd = this.scrollToEnd;\n ref.flashScrollIndicators = this.flashScrollIndicators;\n ref.scrollResponderZoomTo = this.scrollResponderZoomTo;\n ref.scrollResponderScrollNativeHandleToKeyboard =\n this.scrollResponderScrollNativeHandleToKeyboard;\n }\n },\n });\n\n /**\n * Returns a reference to the underlying scroll responder, which supports\n * operations like `scrollTo`. All ScrollView-like components should\n * implement this method so that they can be composed while providing access\n * to the underlying scroll responder's methods.\n */\n getScrollResponder: () => ScrollResponderType = () => {\n // $FlowFixMe[unclear-type]\n return ((this: any): ScrollResponderType);\n };\n\n getScrollableNode: () => ?number = () => {\n return findNodeHandle(this._scrollViewRef);\n };\n\n getInnerViewNode: () => ?number = () => {\n return findNodeHandle(this._innerViewRef);\n };\n\n getInnerViewRef: () => ?React.ElementRef = () => {\n return this._innerViewRef;\n };\n\n getNativeScrollRef: () => ?React.ElementRef> = () => {\n return this._scrollViewRef;\n };\n\n /**\n * Scrolls to a given x, y offset, either immediately or with a smooth animation.\n *\n * Example:\n *\n * `scrollTo({x: 0, y: 0, animated: true})`\n *\n * Note: The weird function signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as an alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollTo: (\n options?:\n | {\n x?: number,\n y?: number,\n animated?: boolean,\n ...\n }\n | number,\n deprecatedX?: number,\n deprecatedAnimated?: boolean,\n ) => void = (\n options?:\n | {\n x?: number,\n y?: number,\n animated?: boolean,\n ...\n }\n | number,\n deprecatedX?: number,\n deprecatedAnimated?: boolean,\n ) => {\n let x, y, animated;\n if (typeof options === 'number') {\n console.warn(\n '`scrollTo(y, x, animated)` is deprecated. Use `scrollTo({x: 5, y: 5, ' +\n 'animated: true})` instead.',\n );\n y = options;\n x = deprecatedX;\n animated = deprecatedAnimated;\n } else if (options) {\n y = options.y;\n x = options.x;\n animated = options.animated;\n }\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.scrollTo(this._scrollViewRef, x || 0, y || 0, animated !== false);\n };\n\n /**\n * If this is a vertical ScrollView scrolls to the bottom.\n * If this is a horizontal ScrollView scrolls to the right.\n *\n * Use `scrollToEnd({animated: true})` for smooth animated scrolling,\n * `scrollToEnd({animated: false})` for immediate scrolling.\n * If no options are passed, `animated` defaults to true.\n */\n scrollToEnd: (options?: ?{animated?: boolean, ...}) => void = (\n options?: ?{animated?: boolean, ...},\n ) => {\n // Default to true\n const animated = (options && options.animated) !== false;\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.scrollToEnd(this._scrollViewRef, animated);\n };\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators: () => void = () => {\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.flashScrollIndicators(this._scrollViewRef);\n };\n\n /**\n * This method should be used as the callback to onFocus in a TextInputs'\n * parent view. Note that any module using this mixin needs to return\n * the parent view's ref in getScrollViewRef() in order to use this method.\n * @param {number} nodeHandle The TextInput node handle\n * @param {number} additionalOffset The scroll view's bottom \"contentInset\".\n * Default is 0.\n * @param {bool} preventNegativeScrolling Whether to allow pulling the content\n * down to make it meet the keyboard's top. Default is false.\n */\n scrollResponderScrollNativeHandleToKeyboard: (\n nodeHandle: number | React.ElementRef>,\n additionalOffset?: number,\n preventNegativeScrollOffset?: boolean,\n ) => void = (\n nodeHandle: number | React.ElementRef>,\n additionalOffset?: number,\n preventNegativeScrollOffset?: boolean,\n ) => {\n this._additionalScrollOffset = additionalOffset || 0;\n this._preventNegativeScrollOffset = !!preventNegativeScrollOffset;\n\n if (this._innerViewRef == null) {\n return;\n }\n\n if (typeof nodeHandle === 'number') {\n UIManager.measureLayout(\n nodeHandle,\n findNodeHandle(this),\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._textInputFocusError,\n this._inputMeasureAndScrollToKeyboard,\n );\n } else {\n nodeHandle.measureLayout(\n this._innerViewRef,\n this._inputMeasureAndScrollToKeyboard,\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n this._textInputFocusError,\n );\n }\n };\n\n /**\n * A helper function to zoom to a specific rect in the scrollview. The argument has the shape\n * {x: number; y: number; width: number; height: number; animated: boolean = true}\n *\n * @platform ios\n */\n scrollResponderZoomTo: (\n rect: {|\n x: number,\n y: number,\n width: number,\n height: number,\n animated?: boolean,\n |},\n animated?: boolean, // deprecated, put this inside the rect argument instead\n ) => void = (\n rect: {|\n x: number,\n y: number,\n width: number,\n height: number,\n animated?: boolean,\n |},\n animated?: boolean, // deprecated, put this inside the rect argument instead\n ) => {\n invariant(Platform.OS === 'ios', 'zoomToRect is not implemented');\n if ('animated' in rect) {\n this._animated = rect.animated;\n delete rect.animated;\n } else if (typeof animated !== 'undefined') {\n console.warn(\n '`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead',\n );\n }\n\n if (this._scrollViewRef == null) {\n return;\n }\n Commands.zoomToRect(this._scrollViewRef, rect, animated !== false);\n };\n\n _textInputFocusError() {\n console.warn('Error measuring text field.');\n }\n\n /**\n * The calculations performed here assume the scroll view takes up the entire\n * screen - even if has some content inset. We then measure the offsets of the\n * keyboard, and compensate both for the scroll view's \"contentInset\".\n *\n * @param {number} left Position of input w.r.t. table view.\n * @param {number} top Position of input w.r.t. table view.\n * @param {number} width Width of the text input.\n * @param {number} height Height of the text input.\n */\n _inputMeasureAndScrollToKeyboard: (\n left: number,\n top: number,\n width: number,\n height: number,\n ) => void = (left: number, top: number, width: number, height: number) => {\n let keyboardScreenY = Dimensions.get('window').height;\n\n const scrollTextInputIntoVisibleRect = () => {\n if (this._keyboardMetrics != null) {\n keyboardScreenY = this._keyboardMetrics.screenY;\n }\n let scrollOffsetY =\n top - keyboardScreenY + height + this._additionalScrollOffset;\n\n // By default, this can scroll with negative offset, pulling the content\n // down so that the target component's bottom meets the keyboard's top.\n // If requested otherwise, cap the offset at 0 minimum to avoid content\n // shifting down.\n if (this._preventNegativeScrollOffset === true) {\n scrollOffsetY = Math.max(0, scrollOffsetY);\n }\n this.scrollTo({x: 0, y: scrollOffsetY, animated: true});\n\n this._additionalScrollOffset = 0;\n this._preventNegativeScrollOffset = false;\n };\n\n if (this._keyboardMetrics == null) {\n // `_keyboardMetrics` is set inside `scrollResponderKeyboardWillShow` which\n // is not guaranteed to be called before `_inputMeasureAndScrollToKeyboard` but native has already scheduled it.\n // In case it was not called before `_inputMeasureAndScrollToKeyboard`, we postpone scrolling to\n // text input.\n setTimeout(() => {\n scrollTextInputIntoVisibleRect();\n }, 0);\n } else {\n scrollTextInputIntoVisibleRect();\n }\n };\n\n _getKeyForIndex(index: $FlowFixMe, childArray: $FlowFixMe): $FlowFixMe {\n const child = childArray[index];\n return child && child.key;\n }\n\n _updateAnimatedNodeAttachment() {\n if (this._scrollAnimatedValueAttachment) {\n this._scrollAnimatedValueAttachment.detach();\n }\n if (\n this.props.stickyHeaderIndices &&\n this.props.stickyHeaderIndices.length > 0\n ) {\n this._scrollAnimatedValueAttachment =\n AnimatedImplementation.attachNativeEvent(\n this._scrollViewRef,\n 'onScroll',\n [{nativeEvent: {contentOffset: {y: this._scrollAnimatedValue}}}],\n );\n }\n }\n\n _setStickyHeaderRef(\n key: string,\n ref: ?React.ElementRef,\n ) {\n if (ref) {\n this._stickyHeaderRefs.set(key, ref);\n } else {\n this._stickyHeaderRefs.delete(key);\n }\n }\n\n _onStickyHeaderLayout(index: $FlowFixMe, event: $FlowFixMe, key: $FlowFixMe) {\n const {stickyHeaderIndices} = this.props;\n if (!stickyHeaderIndices) {\n return;\n }\n const childArray = React.Children.toArray(this.props.children);\n if (key !== this._getKeyForIndex(index, childArray)) {\n // ignore stale layout update\n return;\n }\n\n const layoutY = event.nativeEvent.layout.y;\n this._headerLayoutYs.set(key, layoutY);\n\n const indexOfIndex = stickyHeaderIndices.indexOf(index);\n const previousHeaderIndex = stickyHeaderIndices[indexOfIndex - 1];\n if (previousHeaderIndex != null) {\n const previousHeader = this._stickyHeaderRefs.get(\n this._getKeyForIndex(previousHeaderIndex, childArray),\n );\n previousHeader &&\n previousHeader.setNextHeaderY &&\n previousHeader.setNextHeaderY(layoutY);\n }\n }\n\n _handleScroll = (e: ScrollEvent) => {\n if (__DEV__) {\n if (\n this.props.onScroll &&\n this.props.scrollEventThrottle == null &&\n Platform.OS === 'ios'\n ) {\n console.log(\n 'You specified `onScroll` on a but not ' +\n '`scrollEventThrottle`. You will only receive one event. ' +\n 'Using `16` you get all the events but be aware that it may ' +\n \"cause frame drops, use a bigger number if you don't need as \" +\n 'much precision.',\n );\n }\n }\n this._observedScrollSinceBecomingResponder = true;\n this.props.onScroll && this.props.onScroll(e);\n };\n\n _handleLayout = (e: LayoutEvent) => {\n if (this.props.invertStickyHeaders === true) {\n this.setState({layoutHeight: e.nativeEvent.layout.height});\n }\n if (this.props.onLayout) {\n this.props.onLayout(e);\n }\n };\n\n _handleContentOnLayout = (e: LayoutEvent) => {\n const {width, height} = e.nativeEvent.layout;\n this.props.onContentSizeChange &&\n this.props.onContentSizeChange(width, height);\n };\n\n _scrollViewRef: ?React.ElementRef> = null;\n\n _innerViewRef: ?React.ElementRef = null;\n _setInnerViewRef: $FlowFixMe = setAndForwardRef({\n getForwardedRef: () => this.props.innerViewRef,\n setLocalRef: ref => {\n this._innerViewRef = ref;\n },\n });\n\n /**\n * Warning, this may be called several times for a single keyboard opening.\n * It's best to store the information in this method and then take any action\n * at a later point (either in `keyboardDidShow` or other).\n *\n * Here's the order that events occur in:\n * - focus\n * - willShow {startCoordinates, endCoordinates} several times\n * - didShow several times\n * - blur\n * - willHide {startCoordinates, endCoordinates} several times\n * - didHide several times\n *\n * The `ScrollResponder` module callbacks for each of these events.\n * Even though any user could have easily listened to keyboard events\n * themselves, using these `props` callbacks ensures that ordering of events\n * is consistent - and not dependent on the order that the keyboard events are\n * subscribed to. This matters when telling the scroll view to scroll to where\n * the keyboard is headed - the scroll responder better have been notified of\n * the keyboard destination before being instructed to scroll to where the\n * keyboard will be. Stick to the `ScrollResponder` callbacks, and everything\n * will work.\n *\n * WARNING: These callbacks will fire even if a keyboard is displayed in a\n * different navigation pane. Filter out the events to determine if they are\n * relevant to you. (For example, only if you receive these callbacks after\n * you had explicitly focused a node etc).\n */\n\n scrollResponderKeyboardWillShow: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardMetrics = e.endCoordinates;\n this.props.onKeyboardWillShow && this.props.onKeyboardWillShow(e);\n };\n\n scrollResponderKeyboardWillHide: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardMetrics = null;\n this.props.onKeyboardWillHide && this.props.onKeyboardWillHide(e);\n };\n\n scrollResponderKeyboardDidShow: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardMetrics = e.endCoordinates;\n this.props.onKeyboardDidShow && this.props.onKeyboardDidShow(e);\n };\n\n scrollResponderKeyboardDidHide: (e: KeyboardEvent) => void = (\n e: KeyboardEvent,\n ) => {\n this._keyboardMetrics = null;\n this.props.onKeyboardDidHide && this.props.onKeyboardDidHide(e);\n };\n\n /**\n * Invoke this from an `onMomentumScrollBegin` event.\n */\n _handleMomentumScrollBegin: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n this._lastMomentumScrollBeginTime = global.performance.now();\n this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);\n };\n\n /**\n * Invoke this from an `onMomentumScrollEnd` event.\n */\n _handleMomentumScrollEnd: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n FrameRateLogger.endScroll();\n this._lastMomentumScrollEndTime = global.performance.now();\n this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);\n };\n\n /**\n * Unfortunately, `onScrollBeginDrag` also fires when *stopping* the scroll\n * animation, and there's not an easy way to distinguish a drag vs. stopping\n * momentum.\n *\n * Invoke this from an `onScrollBeginDrag` event.\n */\n _handleScrollBeginDrag: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n FrameRateLogger.beginScroll(); // TODO: track all scrolls after implementing onScrollEndAnimation\n\n if (\n Platform.OS === 'android' &&\n this.props.keyboardDismissMode === 'on-drag'\n ) {\n dismissKeyboard();\n }\n\n this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);\n };\n\n /**\n * Invoke this from an `onScrollEndDrag` event.\n */\n _handleScrollEndDrag: (e: ScrollEvent) => void = (e: ScrollEvent) => {\n const {velocity} = e.nativeEvent;\n // - If we are animating, then this is a \"drag\" that is stopping the scrollview and momentum end\n // will fire.\n // - If velocity is non-zero, then the interaction will stop when momentum scroll ends or\n // another drag starts and ends.\n // - If we don't get velocity, better to stop the interaction twice than not stop it.\n if (\n !this._isAnimating() &&\n (!velocity || (velocity.x === 0 && velocity.y === 0))\n ) {\n FrameRateLogger.endScroll();\n }\n this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);\n };\n\n /**\n * A helper function for this class that lets us quickly determine if the\n * view is currently animating. This is particularly useful to know when\n * a touch has just started or ended.\n */\n _isAnimating: () => boolean = () => {\n const now = global.performance.now();\n const timeSinceLastMomentumScrollEnd =\n now - this._lastMomentumScrollEndTime;\n const isAnimating =\n timeSinceLastMomentumScrollEnd < IS_ANIMATING_TOUCH_START_THRESHOLD_MS ||\n this._lastMomentumScrollEndTime < this._lastMomentumScrollBeginTime;\n return isAnimating;\n };\n\n /**\n * Invoke this from an `onResponderGrant` event.\n */\n _handleResponderGrant: (e: PressEvent) => void = (e: PressEvent) => {\n this._observedScrollSinceBecomingResponder = false;\n this.props.onResponderGrant && this.props.onResponderGrant(e);\n this._becameResponderWhileAnimating = this._isAnimating();\n };\n\n /**\n * Invoke this from an `onResponderReject` event.\n *\n * Some other element is not yielding its role as responder. Normally, we'd\n * just disable the `UIScrollView`, but a touch has already began on it, the\n * `UIScrollView` will not accept being disabled after that. The easiest\n * solution for now is to accept the limitation of disallowing this\n * altogether. To improve this, find a way to disable the `UIScrollView` after\n * a touch has already started.\n */\n _handleResponderReject: () => void = () => {};\n\n /**\n * Invoke this from an `onResponderRelease` event.\n */\n _handleResponderRelease: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = e.nativeEvent.touches.length !== 0;\n this.props.onResponderRelease && this.props.onResponderRelease(e);\n\n if (typeof e.target === 'number') {\n if (__DEV__) {\n console.error(\n 'Did not expect event target to be a number. Should have been a native component',\n );\n }\n\n return;\n }\n\n // By default scroll views will unfocus a textField\n // if another touch occurs outside of it\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedInput();\n if (\n currentlyFocusedTextInput != null &&\n this.props.keyboardShouldPersistTaps !== true &&\n this.props.keyboardShouldPersistTaps !== 'always' &&\n this._keyboardIsDismissible() &&\n e.target !== currentlyFocusedTextInput &&\n !this._observedScrollSinceBecomingResponder &&\n !this._becameResponderWhileAnimating\n ) {\n TextInputState.blurTextInput(currentlyFocusedTextInput);\n }\n };\n\n /**\n * We will allow the scroll view to give up its lock iff it acquired the lock\n * during an animation. This is a very useful default that happens to satisfy\n * many common user experiences.\n *\n * - Stop a scroll on the left edge, then turn that into an outer view's\n * backswipe.\n * - Stop a scroll mid-bounce at the top, continue pulling to have the outer\n * view dismiss.\n * - However, without catching the scroll view mid-bounce (while it is\n * motionless), if you drag far enough for the scroll view to become\n * responder (and therefore drag the scroll view a bit), any backswipe\n * navigation of a swipe gesture higher in the view hierarchy, should be\n * rejected.\n */\n _handleResponderTerminationRequest: () => boolean = () => {\n return !this._observedScrollSinceBecomingResponder;\n };\n\n /**\n * Invoke this from an `onScroll` event.\n */\n _handleScrollShouldSetResponder: () => boolean = () => {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n return this._isTouching;\n };\n\n /**\n * Merely touch starting is not sufficient for a scroll view to become the\n * responder. Being the \"responder\" means that the very next touch move/end\n * event will result in an action/movement.\n *\n * Invoke this from an `onStartShouldSetResponder` event.\n *\n * `onStartShouldSetResponder` is used when the next move/end will trigger\n * some UI movement/action, but when you want to yield priority to views\n * nested inside of the view.\n *\n * There may be some cases where scroll views actually should return `true`\n * from `onStartShouldSetResponder`: Any time we are detecting a standard tap\n * that gives priority to nested views.\n *\n * - If a single tap on the scroll view triggers an action such as\n * recentering a map style view yet wants to give priority to interaction\n * views inside (such as dropped pins or labels), then we would return true\n * from this method when there is a single touch.\n *\n * - Similar to the previous case, if a two finger \"tap\" should trigger a\n * zoom, we would check the `touches` count, and if `>= 2`, we would return\n * true.\n *\n */\n _handleStartShouldSetResponder: (e: PressEvent) => boolean = (\n e: PressEvent,\n ) => {\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n const currentlyFocusedInput = TextInputState.currentlyFocusedInput();\n if (\n this.props.keyboardShouldPersistTaps === 'handled' &&\n this._keyboardIsDismissible() &&\n e.target !== currentlyFocusedInput\n ) {\n return true;\n }\n return false;\n };\n\n /**\n * There are times when the scroll view wants to become the responder\n * (meaning respond to the next immediate `touchStart/touchEnd`), in a way\n * that *doesn't* give priority to nested views (hence the capture phase):\n *\n * - Currently animating.\n * - Tapping anywhere that is not a text input, while the keyboard is\n * up (which should dismiss the keyboard).\n *\n * Invoke this from an `onStartShouldSetResponderCapture` event.\n */\n _handleStartShouldSetResponderCapture: (e: PressEvent) => boolean = (\n e: PressEvent,\n ) => {\n // The scroll view should receive taps instead of its descendants if:\n // * it is already animating/decelerating\n if (this._isAnimating()) {\n return true;\n }\n\n // Allow any event touch pass through if the default pan responder is disabled\n if (this.props.disableScrollViewPanResponder === true) {\n return false;\n }\n\n // * the keyboard is up, keyboardShouldPersistTaps is 'never' (the default),\n // and a new touch starts with a non-textinput target (in which case the\n // first tap should be sent to the scroll view and dismiss the keyboard,\n // then the second tap goes to the actual interior view)\n const {keyboardShouldPersistTaps} = this.props;\n const keyboardNeverPersistTaps =\n !keyboardShouldPersistTaps || keyboardShouldPersistTaps === 'never';\n\n if (typeof e.target === 'number') {\n if (__DEV__) {\n console.error(\n 'Did not expect event target to be a number. Should have been a native component',\n );\n }\n\n return false;\n }\n\n // Let presses through if the soft keyboard is detached from the viewport\n if (this._softKeyboardIsDetached()) {\n return false;\n }\n\n if (\n keyboardNeverPersistTaps &&\n this._keyboardIsDismissible() &&\n e.target != null &&\n // $FlowFixMe[incompatible-call]\n !TextInputState.isTextInput(e.target)\n ) {\n return true;\n }\n\n return false;\n };\n\n /**\n * Do we consider there to be a dismissible soft-keyboard open?\n */\n _keyboardIsDismissible: () => boolean = () => {\n const currentlyFocusedInput = TextInputState.currentlyFocusedInput();\n\n // We cannot dismiss the keyboard without an input to blur, even if a soft\n // keyboard is open (e.g. when keyboard is open due to a native component\n // not participating in TextInputState). It's also possible that the\n // currently focused input isn't a TextInput (such as by calling ref.focus\n // on a non-TextInput).\n const hasFocusedTextInput =\n currentlyFocusedInput != null &&\n TextInputState.isTextInput(currentlyFocusedInput);\n\n // Even if an input is focused, we may not have a keyboard to dismiss. E.g\n // when using a physical keyboard. Ensure we have an event for an opened\n // keyboard.\n const softKeyboardMayBeOpen =\n this._keyboardMetrics != null || this._keyboardEventsAreUnreliable();\n\n return hasFocusedTextInput && softKeyboardMayBeOpen;\n };\n\n /**\n * Whether an open soft keyboard is present which does not overlap the\n * viewport. E.g. for a VR soft-keyboard which is detached from the app\n * viewport.\n */\n _softKeyboardIsDetached: () => boolean = () => {\n return this._keyboardMetrics != null && this._keyboardMetrics.height === 0;\n };\n\n _keyboardEventsAreUnreliable: () => boolean = () => {\n // Android versions prior to API 30 rely on observing layout changes when\n // `android:windowSoftInputMode` is set to `adjustResize` or `adjustPan`.\n return Platform.OS === 'android' && Platform.Version < 30;\n };\n\n /**\n * Invoke this from an `onTouchEnd` event.\n *\n * @param {PressEvent} e Event.\n */\n _handleTouchEnd: (e: PressEvent) => void = (e: PressEvent) => {\n const nativeEvent = e.nativeEvent;\n this._isTouching = nativeEvent.touches.length !== 0;\n\n const {keyboardShouldPersistTaps} = this.props;\n const keyboardNeverPersistsTaps =\n !keyboardShouldPersistTaps || keyboardShouldPersistTaps === 'never';\n\n // Dismiss the keyboard now if we didn't become responder in capture phase\n // to eat presses, but still want to dismiss on interaction.\n // Don't do anything if the target of the touch event is the current input.\n const currentlyFocusedTextInput = TextInputState.currentlyFocusedInput();\n if (\n currentlyFocusedTextInput != null &&\n e.target !== currentlyFocusedTextInput &&\n this._softKeyboardIsDetached() &&\n this._keyboardIsDismissible() &&\n keyboardNeverPersistsTaps\n ) {\n TextInputState.blurTextInput(currentlyFocusedTextInput);\n }\n\n this.props.onTouchEnd && this.props.onTouchEnd(e);\n };\n\n /**\n * Invoke this from an `onTouchCancel` event.\n *\n * @param {PressEvent} e Event.\n */\n _handleTouchCancel: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = false;\n this.props.onTouchCancel && this.props.onTouchCancel(e);\n };\n\n /**\n * Invoke this from an `onTouchStart` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n _handleTouchStart: (e: PressEvent) => void = (e: PressEvent) => {\n this._isTouching = true;\n this.props.onTouchStart && this.props.onTouchStart(e);\n };\n\n /**\n * Invoke this from an `onTouchMove` event.\n *\n * Since we know that the `SimpleEventPlugin` occurs later in the plugin\n * order, after `ResponderEventPlugin`, we can detect that we were *not*\n * permitted to be the responder (presumably because a contained view became\n * responder). The `onResponderReject` won't fire in that case - it only\n * fires when a *current* responder rejects our request.\n *\n * @param {PressEvent} e Touch Start event.\n */\n _handleTouchMove: (e: PressEvent) => void = (e: PressEvent) => {\n this.props.onTouchMove && this.props.onTouchMove(e);\n };\n\n render(): React.Node | React.Element {\n const [NativeDirectionalScrollView, NativeDirectionalScrollContentView] =\n this.props.horizontal === true\n ? NativeHorizontalScrollViewTuple\n : NativeVerticalScrollViewTuple;\n\n const contentContainerStyle = [\n this.props.horizontal === true && styles.contentContainerHorizontal,\n this.props.contentContainerStyle,\n ];\n if (__DEV__ && this.props.style !== undefined) {\n const style = flattenStyle(this.props.style);\n const childLayoutProps = ['alignItems', 'justifyContent'].filter(\n prop => style && style[prop] !== undefined,\n );\n invariant(\n childLayoutProps.length === 0,\n 'ScrollView child layout (' +\n JSON.stringify(childLayoutProps) +\n ') must be applied through the contentContainerStyle prop.',\n );\n }\n\n const contentSizeChangeProps =\n this.props.onContentSizeChange == null\n ? null\n : {\n onLayout: this._handleContentOnLayout,\n };\n\n const {stickyHeaderIndices} = this.props;\n let children = this.props.children;\n\n if (stickyHeaderIndices != null && stickyHeaderIndices.length > 0) {\n const childArray = React.Children.toArray(this.props.children);\n\n children = childArray.map((child, index) => {\n const indexOfIndex = child ? stickyHeaderIndices.indexOf(index) : -1;\n if (indexOfIndex > -1) {\n const key = child.key;\n const nextIndex = stickyHeaderIndices[indexOfIndex + 1];\n const StickyHeaderComponent =\n this.props.StickyHeaderComponent || ScrollViewStickyHeader;\n return (\n this._setStickyHeaderRef(key, ref)}\n nextHeaderLayoutY={this._headerLayoutYs.get(\n this._getKeyForIndex(nextIndex, childArray),\n )}\n onLayout={event => this._onStickyHeaderLayout(index, event, key)}\n scrollAnimatedValue={this._scrollAnimatedValue}\n inverted={this.props.invertStickyHeaders}\n hiddenOnScroll={this.props.stickyHeaderHiddenOnScroll}\n scrollViewHeight={this.state.layoutHeight}>\n {child}\n \n );\n } else {\n return child;\n }\n });\n }\n children = (\n \n {children}\n \n );\n\n const hasStickyHeaders =\n Array.isArray(stickyHeaderIndices) && stickyHeaderIndices.length > 0;\n\n const contentContainer = (\n \n {children}\n \n );\n\n const alwaysBounceHorizontal =\n this.props.alwaysBounceHorizontal !== undefined\n ? this.props.alwaysBounceHorizontal\n : this.props.horizontal;\n\n const alwaysBounceVertical =\n this.props.alwaysBounceVertical !== undefined\n ? this.props.alwaysBounceVertical\n : !this.props.horizontal;\n\n const baseStyle =\n this.props.horizontal === true\n ? styles.baseHorizontal\n : styles.baseVertical;\n const props = {\n ...this.props,\n alwaysBounceHorizontal,\n alwaysBounceVertical,\n style: StyleSheet.compose(baseStyle, this.props.style),\n // Override the onContentSizeChange from props, since this event can\n // bubble up from TextInputs\n onContentSizeChange: null,\n onLayout: this._handleLayout,\n onMomentumScrollBegin: this._handleMomentumScrollBegin,\n onMomentumScrollEnd: this._handleMomentumScrollEnd,\n onResponderGrant: this._handleResponderGrant,\n onResponderReject: this._handleResponderReject,\n onResponderRelease: this._handleResponderRelease,\n onResponderTerminationRequest: this._handleResponderTerminationRequest,\n onScrollBeginDrag: this._handleScrollBeginDrag,\n onScrollEndDrag: this._handleScrollEndDrag,\n onScrollShouldSetResponder: this._handleScrollShouldSetResponder,\n onStartShouldSetResponder: this._handleStartShouldSetResponder,\n onStartShouldSetResponderCapture:\n this._handleStartShouldSetResponderCapture,\n onTouchEnd: this._handleTouchEnd,\n onTouchMove: this._handleTouchMove,\n onTouchStart: this._handleTouchStart,\n onTouchCancel: this._handleTouchCancel,\n onScroll: this._handleScroll,\n scrollEventThrottle: hasStickyHeaders\n ? 1\n : this.props.scrollEventThrottle,\n sendMomentumEvents:\n this.props.onMomentumScrollBegin || this.props.onMomentumScrollEnd\n ? true\n : false,\n // default to true\n snapToStart: this.props.snapToStart !== false,\n // default to true\n snapToEnd: this.props.snapToEnd !== false,\n // pagingEnabled is overridden by snapToInterval / snapToOffsets\n pagingEnabled: Platform.select({\n // on iOS, pagingEnabled must be set to false to have snapToInterval / snapToOffsets work\n ios:\n this.props.pagingEnabled === true &&\n this.props.snapToInterval == null &&\n this.props.snapToOffsets == null,\n // on Android, pagingEnabled must be set to true to have snapToInterval / snapToOffsets work\n android:\n this.props.pagingEnabled === true ||\n this.props.snapToInterval != null ||\n this.props.snapToOffsets != null,\n }),\n };\n\n const {decelerationRate} = this.props;\n if (decelerationRate != null) {\n props.decelerationRate = processDecelerationRate(decelerationRate);\n }\n\n const refreshControl = this.props.refreshControl;\n\n if (refreshControl) {\n if (Platform.OS === 'ios') {\n // On iOS the RefreshControl is a child of the ScrollView.\n return (\n \n {refreshControl}\n {contentContainer}\n \n );\n } else if (Platform.OS === 'android') {\n // On Android wrap the ScrollView with a AndroidSwipeRefreshLayout.\n // Since the ScrollView is wrapped add the style props to the\n // AndroidSwipeRefreshLayout and use flex: 1 for the ScrollView.\n // Note: we should split props.style on the inner and outer props\n // however, the ScrollView still needs the baseStyle to be scrollable\n const {outer, inner} = splitLayoutProps(flattenStyle(props.style));\n return React.cloneElement(\n refreshControl,\n {style: StyleSheet.compose(baseStyle, outer)},\n \n {contentContainer}\n ,\n );\n }\n }\n return (\n \n {contentContainer}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n baseVertical: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'column',\n overflow: 'scroll',\n },\n baseHorizontal: {\n flexGrow: 1,\n flexShrink: 1,\n flexDirection: 'row',\n overflow: 'scroll',\n },\n contentContainerHorizontal: {\n flexDirection: 'row',\n },\n});\n\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nfunction Wrapper(props, ref: (mixed => mixed) | {current: mixed, ...}) {\n return ;\n}\nWrapper.displayName = 'ScrollView';\nconst ForwardedScrollView = React.forwardRef(Wrapper);\n\n// $FlowFixMe[prop-missing] Add static context to ForwardedScrollView\nForwardedScrollView.Context = ScrollViewContext;\n\nForwardedScrollView.displayName = 'ScrollView';\n\nmodule.exports = ((ForwardedScrollView: $FlowFixMe): React.AbstractComponent<\n React.ElementConfig,\n $ReadOnly<{|\n ...$Exact>>,\n ...ScrollViewImperativeMethods,\n |}>,\n> &\n ScrollViewComponentStatics);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeFrameRateLogger from './NativeFrameRateLogger';\n\nconst invariant = require('invariant');\n\n/**\n * Flow API for native FrameRateLogger module. If the native module is not installed, function calls\n * are just no-ops.\n *\n * Typical behavior is that `setContext` is called when a new screen is loaded (e.g. via a\n * navigation integration), and then `beginScroll` is called by `ScrollResponder` at which point the\n * native module then begins tracking frame drops. When `ScrollResponder` calls `endScroll`, the\n * native module gathers up all it's frame drop data and reports it via an analytics pipeline for\n * analysis.\n *\n * Note that `beginScroll` may be called multiple times by `ScrollResponder` - unclear if that's a\n * bug, but the native module should be robust to that.\n *\n * In the future we may add support for tracking frame drops in other types of interactions beyond\n * scrolling.\n */\nconst FrameRateLogger = {\n /**\n * Enable `debug` to see local logs of what's going on. `reportStackTraces` will grab stack traces\n * during UI thread stalls and upload them if the native module supports it.\n */\n setGlobalOptions: function (options: {\n debug?: boolean,\n reportStackTraces?: boolean,\n ...\n }) {\n if (options.debug !== undefined) {\n invariant(\n NativeFrameRateLogger,\n 'Trying to debug FrameRateLogger without the native module!',\n );\n }\n if (NativeFrameRateLogger) {\n // Needs to clone the object first to avoid modifying the argument.\n const optionsClone = {\n debug: !!options.debug,\n reportStackTraces: !!options.reportStackTraces,\n };\n NativeFrameRateLogger.setGlobalOptions(optionsClone);\n }\n },\n\n /**\n * Must call `setContext` before any events can be properly tracked, which is done automatically\n * in `AppRegistry`, but navigation is also a common place to hook in.\n */\n setContext: function (context: string) {\n NativeFrameRateLogger && NativeFrameRateLogger.setContext(context);\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n beginScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.beginScroll();\n },\n\n /**\n * Called in `ScrollResponder` so any component that uses that module will handle this\n * automatically.\n */\n endScroll() {\n NativeFrameRateLogger && NativeFrameRateLogger.endScroll();\n },\n};\n\nmodule.exports = FrameRateLogger;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +setGlobalOptions: (options: {|\n +debug?: ?boolean,\n +reportStackTraces?: ?boolean,\n |}) => void;\n +setContext: (context: string) => void;\n +beginScroll: () => void;\n +endScroll: () => void;\n}\n\nexport default (TurboModuleRegistry.get('FrameRateLogger'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {____ViewStyle_Internal} from './StyleSheetTypes';\n\nexport default function splitLayoutProps(props: ?____ViewStyle_Internal): {\n outer: ?____ViewStyle_Internal,\n inner: ?____ViewStyle_Internal,\n} {\n let outer: ?____ViewStyle_Internal = null;\n let inner: ?____ViewStyle_Internal = null;\n\n if (props != null) {\n // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.\n outer = {};\n // $FlowIgnore[incompatible-exact] Will contain a subset of keys from `props`.\n inner = {};\n\n for (const prop of Object.keys(props)) {\n switch (prop) {\n case 'margin':\n case 'marginHorizontal':\n case 'marginVertical':\n case 'marginBottom':\n case 'marginTop':\n case 'marginLeft':\n case 'marginRight':\n case 'flex':\n case 'flexGrow':\n case 'flexShrink':\n case 'flexBasis':\n case 'alignSelf':\n case 'height':\n case 'minHeight':\n case 'maxHeight':\n case 'width':\n case 'minWidth':\n case 'maxWidth':\n case 'position':\n case 'left':\n case 'right':\n case 'bottom':\n case 'top':\n case 'transform':\n case 'rowGap':\n case 'columnGap':\n case 'gap':\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[prop-missing]\n outer[prop] = props[prop];\n break;\n default:\n // $FlowFixMe[cannot-write]\n // $FlowFixMe[incompatible-use]\n // $FlowFixMe[prop-missing]\n inner[prop] = props[prop];\n break;\n }\n }\n }\n\n return {outer, inner};\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n// This function dismisses the currently-open keyboard, if any.\n\n'use strict';\n\nconst TextInputState = require('../Components/TextInput/TextInputState');\n\nfunction dismissKeyboard() {\n TextInputState.blurTextInput(TextInputState.currentlyFocusedInput());\n}\n\nmodule.exports = dismissKeyboard;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {EventSubscription} from '../../vendor/emitter/EventEmitter';\n\nimport NativeEventEmitter from '../../EventEmitter/NativeEventEmitter';\nimport LayoutAnimation from '../../LayoutAnimation/LayoutAnimation';\nimport dismissKeyboard from '../../Utilities/dismissKeyboard';\nimport Platform from '../../Utilities/Platform';\nimport NativeKeyboardObserver from './NativeKeyboardObserver';\n\nexport type KeyboardEventName = $Keys;\n\nexport type KeyboardEventEasing =\n | 'easeIn'\n | 'easeInEaseOut'\n | 'easeOut'\n | 'linear'\n | 'keyboard';\n\nexport type KeyboardMetrics = $ReadOnly<{|\n screenX: number,\n screenY: number,\n width: number,\n height: number,\n|}>;\n\nexport type KeyboardEvent = AndroidKeyboardEvent | IOSKeyboardEvent;\n\ntype BaseKeyboardEvent = {|\n duration: number,\n easing: KeyboardEventEasing,\n endCoordinates: KeyboardMetrics,\n|};\n\nexport type AndroidKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n duration: 0,\n easing: 'keyboard',\n|}>;\n\nexport type IOSKeyboardEvent = $ReadOnly<{|\n ...BaseKeyboardEvent,\n startCoordinates: KeyboardMetrics,\n isEventFromThisApp: boolean,\n|}>;\n\ntype KeyboardEventDefinitions = {\n keyboardWillShow: [KeyboardEvent],\n keyboardDidShow: [KeyboardEvent],\n keyboardWillHide: [KeyboardEvent],\n keyboardDidHide: [KeyboardEvent],\n keyboardWillChangeFrame: [KeyboardEvent],\n keyboardDidChangeFrame: [KeyboardEvent],\n};\n\n/**\n * `Keyboard` module to control keyboard events.\n *\n * ### Usage\n *\n * The Keyboard module allows you to listen for native events and react to them, as\n * well as make changes to the keyboard, like dismissing it.\n *\n *```\n * import React, { Component } from 'react';\n * import { Keyboard, TextInput } from 'react-native';\n *\n * class Example extends Component {\n * componentWillMount () {\n * this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this._keyboardDidShow);\n * this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this._keyboardDidHide);\n * }\n *\n * componentWillUnmount () {\n * this.keyboardDidShowListener.remove();\n * this.keyboardDidHideListener.remove();\n * }\n *\n * _keyboardDidShow () {\n * alert('Keyboard Shown');\n * }\n *\n * _keyboardDidHide () {\n * alert('Keyboard Hidden');\n * }\n *\n * render() {\n * return (\n * \n * );\n * }\n * }\n *```\n */\n\nclass Keyboard {\n _currentlyShowing: ?KeyboardEvent;\n\n _emitter: NativeEventEmitter =\n new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeKeyboardObserver,\n );\n\n constructor() {\n this.addListener('keyboardDidShow', ev => {\n this._currentlyShowing = ev;\n });\n this.addListener('keyboardDidHide', _ev => {\n this._currentlyShowing = null;\n });\n }\n\n /**\n * The `addListener` function connects a JavaScript function to an identified native\n * keyboard notification event.\n *\n * This function then returns the reference to the listener.\n *\n * @param {string} eventName The `nativeEvent` is the string that identifies the event you're listening for. This\n *can be any of the following:\n *\n * - `keyboardWillShow`\n * - `keyboardDidShow`\n * - `keyboardWillHide`\n * - `keyboardDidHide`\n * - `keyboardWillChangeFrame`\n * - `keyboardDidChangeFrame`\n *\n * Android versions prior to API 30 rely on observing layout changes when\n * `android:windowSoftInputMode` is set to `adjustResize` or `adjustPan`.\n *\n * `keyboardWillShow` as well as `keyboardWillHide` are not available on Android since there is\n * no native corresponding event.\n *\n * @param {function} callback function to be called when the event fires.\n */\n addListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context?: mixed,\n ): EventSubscription {\n return this._emitter.addListener(eventType, listener);\n }\n\n /**\n * Removes all listeners for a specific event type.\n *\n * @param {string} eventType The native event string listeners are watching which will be removed.\n */\n removeAllListeners>(eventType: ?K): void {\n this._emitter.removeAllListeners(eventType);\n }\n\n /**\n * Dismisses the active keyboard and removes focus.\n */\n dismiss(): void {\n dismissKeyboard();\n }\n\n /**\n * Whether the keyboard is last known to be visible.\n */\n isVisible(): boolean {\n return !!this._currentlyShowing;\n }\n\n /**\n * Return the metrics of the soft-keyboard if visible.\n */\n metrics(): ?KeyboardMetrics {\n return this._currentlyShowing?.endCoordinates;\n }\n\n /**\n * Useful for syncing TextInput (or other keyboard accessory view) size of\n * position changes with keyboard movements.\n */\n scheduleLayoutAnimation(event: KeyboardEvent): void {\n const {duration, easing} = event;\n if (duration != null && duration !== 0) {\n LayoutAnimation.configureNext({\n duration: duration,\n update: {\n duration: duration,\n type: (easing != null && LayoutAnimation.Types[easing]) || 'keyboard',\n },\n });\n }\n }\n}\n\nmodule.exports = (new Keyboard(): Keyboard);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {Spec as FabricUIManagerSpec} from '../ReactNative/FabricUIManager';\nimport type {\n LayoutAnimationConfig as LayoutAnimationConfig_,\n LayoutAnimationProperty,\n LayoutAnimationType,\n} from '../Renderer/shims/ReactNativeTypes';\n\nimport ReactNativeFeatureFlags from '../ReactNative/ReactNativeFeatureFlags';\nimport Platform from '../Utilities/Platform';\n\nconst UIManager = require('../ReactNative/UIManager');\n\n// Reexport type\nexport type LayoutAnimationConfig = LayoutAnimationConfig_;\n\ntype OnAnimationDidEndCallback = () => void;\ntype OnAnimationDidFailCallback = () => void;\n\nlet isLayoutAnimationEnabled: boolean =\n ReactNativeFeatureFlags.isLayoutAnimationEnabled();\n\nfunction setEnabled(value: boolean) {\n isLayoutAnimationEnabled = isLayoutAnimationEnabled;\n}\n\n/**\n * Configures the next commit to be animated.\n *\n * onAnimationDidEnd is guaranteed to be called when the animation completes.\n * onAnimationDidFail is *never* called in the classic, pre-Fabric renderer,\n * and never has been. In the new renderer (Fabric) it is called only if configuration\n * parsing fails.\n */\nfunction configureNext(\n config: LayoutAnimationConfig,\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n onAnimationDidFail?: OnAnimationDidFailCallback,\n) {\n if (Platform.isTesting) {\n return;\n }\n\n if (!isLayoutAnimationEnabled) {\n return;\n }\n\n // Since LayoutAnimations may possibly be disabled for now on iOS (Fabric),\n // or Android (non-Fabric) we race a setTimeout with animation completion,\n // in case onComplete is never called\n // from native. Once LayoutAnimations+Fabric unconditionally ship everywhere, we can\n // delete this mechanism at least in the Fabric branch.\n let animationCompletionHasRun = false;\n const onAnimationComplete = () => {\n if (animationCompletionHasRun) {\n return;\n }\n animationCompletionHasRun = true;\n clearTimeout(raceWithAnimationId);\n onAnimationDidEnd?.();\n };\n const raceWithAnimationId = setTimeout(\n onAnimationComplete,\n (config.duration ?? 0) + 17 /* one frame + 1ms */,\n );\n\n // In Fabric, LayoutAnimations are unconditionally enabled for Android, and\n // conditionally enabled on iOS (pending fully shipping; this is a temporary state).\n const FabricUIManager: FabricUIManagerSpec = global?.nativeFabricUIManager;\n if (FabricUIManager?.configureNextLayoutAnimation) {\n global?.nativeFabricUIManager?.configureNextLayoutAnimation(\n config,\n onAnimationComplete,\n onAnimationDidFail ??\n function () {} /* this will only be called if configuration parsing fails */,\n );\n return;\n }\n\n // This will only run if Fabric is *not* installed.\n // If you have Fabric + non-Fabric running in the same VM, non-Fabric LayoutAnimations\n // will not work.\n if (UIManager?.configureNextLayoutAnimation) {\n UIManager.configureNextLayoutAnimation(\n config,\n onAnimationComplete ?? function () {},\n onAnimationDidFail ??\n function () {} /* this should never be called in Non-Fabric */,\n );\n }\n}\n\nfunction create(\n duration: number,\n type: LayoutAnimationType,\n property: LayoutAnimationProperty,\n): LayoutAnimationConfig {\n return {\n duration,\n create: {type, property},\n update: {type},\n delete: {type, property},\n };\n}\n\nconst Presets = {\n easeInEaseOut: (create(\n 300,\n 'easeInEaseOut',\n 'opacity',\n ): LayoutAnimationConfig),\n linear: (create(500, 'linear', 'opacity'): LayoutAnimationConfig),\n spring: {\n duration: 700,\n create: {\n type: 'linear',\n property: 'opacity',\n },\n update: {\n type: 'spring',\n springDamping: 0.4,\n },\n delete: {\n type: 'linear',\n property: 'opacity',\n },\n },\n};\n\n/**\n * Automatically animates views to their new positions when the\n * next layout happens.\n *\n * A common way to use this API is to call it before calling `setState`.\n *\n * Note that in order to get this to work on **Android** you need to set the following flags via `UIManager`:\n *\n * UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);\n */\nconst LayoutAnimation = {\n /**\n * Schedules an animation to happen on the next layout.\n *\n * @param config Specifies animation properties:\n *\n * - `duration` in milliseconds\n * - `create`, `AnimationConfig` for animating in new views\n * - `update`, `AnimationConfig` for animating views that have been updated\n *\n * @param onAnimationDidEnd Called when the animation finished.\n * Only supported on iOS.\n * @param onError Called on error. Only supported on iOS.\n */\n configureNext,\n /**\n * Helper for creating a config for `configureNext`.\n */\n create,\n Types: Object.freeze({\n spring: 'spring',\n linear: 'linear',\n easeInEaseOut: 'easeInEaseOut',\n easeIn: 'easeIn',\n easeOut: 'easeOut',\n keyboard: 'keyboard',\n }),\n Properties: Object.freeze({\n opacity: 'opacity',\n scaleX: 'scaleX',\n scaleY: 'scaleY',\n scaleXY: 'scaleXY',\n }),\n checkConfig(...args: Array) {\n console.error('LayoutAnimation.checkConfig(...) has been disabled.');\n },\n Presets,\n easeInEaseOut: (configureNext.bind(null, Presets.easeInEaseOut): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n linear: (configureNext.bind(null, Presets.linear): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n spring: (configureNext.bind(null, Presets.spring): (\n onAnimationDidEnd?: OnAnimationDidEndCallback,\n ) => void),\n setEnabled,\n};\n\nmodule.exports = LayoutAnimation;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('KeyboardObserver'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n removeClippedSubviews?: ?boolean,\n|}>;\n\ntype NativeType = HostComponent;\n\nexport default (codegenNativeComponent(\n 'AndroidHorizontalScrollContentView',\n): NativeType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'AndroidHorizontalScrollView',\n bubblingEventTypes: {},\n directEventTypes: {},\n validAttributes: {\n decelerationRate: true,\n disableIntervalMomentum: true,\n endFillColor: {process: require('../../StyleSheet/processColor')},\n fadingEdgeLength: true,\n nestedScrollEnabled: true,\n overScrollMode: true,\n pagingEnabled: true,\n persistentScrollbar: true,\n scrollEnabled: true,\n scrollPerfTag: true,\n sendMomentumEvents: true,\n showsHorizontalScrollIndicator: true,\n snapToAlignment: true,\n snapToEnd: true,\n snapToInterval: true,\n snapToStart: true,\n snapToOffsets: true,\n contentOffset: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderRadius: true,\n borderStyle: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderTopLeftRadius: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n removeClippedSubviews: true,\n borderTopRightRadius: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n pointerEvents: true,\n },\n};\n\nconst AndroidHorizontalScrollViewNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'AndroidHorizontalScrollView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\nexport default AndroidHorizontalScrollViewNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport Platform from '../../Utilities/Platform';\n\nfunction processDecelerationRate(\n decelerationRate: number | 'normal' | 'fast',\n): number {\n if (decelerationRate === 'normal') {\n return Platform.select({\n ios: 0.998,\n android: 0.985,\n });\n } else if (decelerationRate === 'fast') {\n return Platform.select({\n ios: 0.99,\n android: 0.9,\n });\n }\n return decelerationRate;\n}\n\nmodule.exports = processDecelerationRate;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps as Props} from '../View/ViewPropTypes';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'RCTScrollContentView',\n bubblingEventTypes: {},\n directEventTypes: {},\n validAttributes: {},\n};\n\nconst ScrollContentViewNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'RCTScrollContentView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\nexport default ScrollContentViewNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {Double} from '../../Types/CodegenTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport * as React from 'react';\n\ntype ScrollViewNativeComponentType = HostComponent;\ninterface NativeCommands {\n +flashScrollIndicators: (\n viewRef: React.ElementRef,\n ) => void;\n +scrollTo: (\n viewRef: React.ElementRef,\n x: Double,\n y: Double,\n animated: boolean,\n ) => void;\n +scrollToEnd: (\n viewRef: React.ElementRef,\n animated: boolean,\n ) => void;\n +zoomToRect: (\n viewRef: React.ElementRef,\n rect: {|\n x: Double,\n y: Double,\n width: Double,\n height: Double,\n animated?: boolean,\n |},\n animated?: boolean,\n ) => void;\n}\n\nexport default (codegenNativeCommands({\n supportedCommands: [\n 'flashScrollIndicators',\n 'scrollTo',\n 'scrollToEnd',\n 'zoomToRect',\n ],\n}): NativeCommands);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\ntype Value = {horizontal: boolean} | null;\n\nconst ScrollViewContext: React.Context = React.createContext(null);\nif (__DEV__) {\n ScrollViewContext.displayName = 'ScrollViewContext';\n}\nexport default ScrollViewContext;\n\nexport const HORIZONTAL: Value = Object.freeze({horizontal: true});\nexport const VERTICAL: Value = Object.freeze({horizontal: false});\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport {ConditionallyIgnoredEventHandlers} from '../../NativeComponent/ViewConfigIgnore';\nimport Platform from '../../Utilities/Platform';\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig =\n Platform.OS === 'android'\n ? {\n uiViewClassName: 'RCTScrollView',\n bubblingEventTypes: {},\n directEventTypes: {\n topMomentumScrollBegin: {\n registrationName: 'onMomentumScrollBegin',\n },\n topMomentumScrollEnd: {\n registrationName: 'onMomentumScrollEnd',\n },\n topScroll: {\n registrationName: 'onScroll',\n },\n topScrollBeginDrag: {\n registrationName: 'onScrollBeginDrag',\n },\n topScrollEndDrag: {\n registrationName: 'onScrollEndDrag',\n },\n },\n validAttributes: {\n contentOffset: {\n diff: require('../../Utilities/differ/pointsDiffer'),\n },\n decelerationRate: true,\n disableIntervalMomentum: true,\n pagingEnabled: true,\n scrollEnabled: true,\n showsVerticalScrollIndicator: true,\n snapToAlignment: true,\n snapToEnd: true,\n snapToInterval: true,\n snapToOffsets: true,\n snapToStart: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n sendMomentumEvents: true,\n borderRadius: true,\n nestedScrollEnabled: true,\n borderStyle: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderBottomColor: {\n process: require('../../StyleSheet/processColor'),\n },\n persistentScrollbar: true,\n endFillColor: {process: require('../../StyleSheet/processColor')},\n fadingEdgeLength: true,\n overScrollMode: true,\n borderTopLeftRadius: true,\n scrollPerfTag: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n removeClippedSubviews: true,\n borderTopRightRadius: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n pointerEvents: true,\n },\n }\n : {\n uiViewClassName: 'RCTScrollView',\n bubblingEventTypes: {},\n directEventTypes: {\n topMomentumScrollBegin: {\n registrationName: 'onMomentumScrollBegin',\n },\n topMomentumScrollEnd: {\n registrationName: 'onMomentumScrollEnd',\n },\n topScroll: {\n registrationName: 'onScroll',\n },\n topScrollBeginDrag: {\n registrationName: 'onScrollBeginDrag',\n },\n topScrollEndDrag: {\n registrationName: 'onScrollEndDrag',\n },\n topScrollToTop: {\n registrationName: 'onScrollToTop',\n },\n },\n validAttributes: {\n alwaysBounceHorizontal: true,\n alwaysBounceVertical: true,\n automaticallyAdjustContentInsets: true,\n automaticallyAdjustKeyboardInsets: true,\n automaticallyAdjustsScrollIndicatorInsets: true,\n bounces: true,\n bouncesZoom: true,\n canCancelContentTouches: true,\n centerContent: true,\n contentInset: {\n diff: require('../../Utilities/differ/insetsDiffer'),\n },\n contentOffset: {\n diff: require('../../Utilities/differ/pointsDiffer'),\n },\n contentInsetAdjustmentBehavior: true,\n decelerationRate: true,\n directionalLockEnabled: true,\n disableIntervalMomentum: true,\n indicatorStyle: true,\n inverted: true,\n keyboardDismissMode: true,\n maintainVisibleContentPosition: true,\n maximumZoomScale: true,\n minimumZoomScale: true,\n pagingEnabled: true,\n pinchGestureEnabled: true,\n scrollEnabled: true,\n scrollEventThrottle: true,\n scrollIndicatorInsets: {\n diff: require('../../Utilities/differ/insetsDiffer'),\n },\n scrollToOverflowEnabled: true,\n scrollsToTop: true,\n showsHorizontalScrollIndicator: true,\n showsVerticalScrollIndicator: true,\n snapToAlignment: true,\n snapToEnd: true,\n snapToInterval: true,\n snapToOffsets: true,\n snapToStart: true,\n zoomScale: true,\n ...ConditionallyIgnoredEventHandlers({\n onScrollBeginDrag: true,\n onMomentumScrollEnd: true,\n onScrollEndDrag: true,\n onMomentumScrollBegin: true,\n onScrollToTop: true,\n onScroll: true,\n }),\n },\n };\n\nconst ScrollViewNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'RCTScrollView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\nexport default ScrollViewNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {LayoutEvent} from '../../Types/CoreEventTypes';\n\nimport Animated from '../../Animated/Animated';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport useMergeRefs from '../../Utilities/useMergeRefs';\nimport * as React from 'react';\nimport {useCallback, useEffect, useMemo, useRef, useState} from 'react';\n\nexport type Props = $ReadOnly<{\n children?: React.Element<$FlowFixMe>,\n nextHeaderLayoutY: ?number,\n onLayout: (event: LayoutEvent) => void,\n scrollAnimatedValue: Animated.Value,\n // Will cause sticky headers to stick at the bottom of the ScrollView instead\n // of the top.\n inverted: ?boolean,\n // The height of the parent ScrollView. Currently only set when inverted.\n scrollViewHeight: ?number,\n nativeID?: ?string,\n hiddenOnScroll?: ?boolean,\n}>;\n\ntype Instance = {\n ...React.ElementRef,\n setNextHeaderY: number => void,\n ...\n};\n\nconst ScrollViewStickyHeaderWithForwardedRef: React.AbstractComponent<\n Props,\n Instance,\n> = React.forwardRef(function ScrollViewStickyHeader(props, forwardedRef) {\n const {\n inverted,\n scrollViewHeight,\n hiddenOnScroll,\n scrollAnimatedValue,\n nextHeaderLayoutY: _nextHeaderLayoutY,\n } = props;\n\n const [measured, setMeasured] = useState(false);\n const [layoutY, setLayoutY] = useState(0);\n const [layoutHeight, setLayoutHeight] = useState(0);\n const [translateY, setTranslateY] = useState(null);\n const [nextHeaderLayoutY, setNextHeaderLayoutY] =\n useState(_nextHeaderLayoutY);\n const [isFabric, setIsFabric] = useState(false);\n\n const callbackRef = (ref: Instance | null): void => {\n if (ref == null) {\n return;\n }\n ref.setNextHeaderY = value => {\n setNextHeaderLayoutY(value);\n };\n // Avoid dot notation because at Meta, private properties are obfuscated.\n // $FlowFixMe[prop-missing]\n const _internalInstanceHandler = ref['_internalInstanceHandle']; // eslint-disable-line dot-notation\n setIsFabric(Boolean(_internalInstanceHandler?.stateNode?.canonical));\n };\n const ref: (React.ElementRef | null) => void =\n // $FlowFixMe[incompatible-type] - Ref is mutated by `callbackRef`.\n useMergeRefs(callbackRef, forwardedRef);\n\n const offset = useMemo(\n () =>\n hiddenOnScroll === true\n ? Animated.diffClamp(\n scrollAnimatedValue\n .interpolate({\n extrapolateLeft: 'clamp',\n inputRange: [layoutY, layoutY + 1],\n outputRange: ([0, 1]: Array),\n })\n .interpolate({\n inputRange: [0, 1],\n outputRange: ([0, -1]: Array),\n }),\n -layoutHeight,\n 0,\n )\n : null,\n [scrollAnimatedValue, layoutHeight, layoutY, hiddenOnScroll],\n );\n\n const [animatedTranslateY, setAnimatedTranslateY] = useState(\n () => {\n const inputRange: Array = [-1, 0];\n const outputRange: Array = [0, 0];\n const initialTranslateY = scrollAnimatedValue.interpolate({\n inputRange,\n outputRange,\n });\n\n if (offset != null) {\n return Animated.add(initialTranslateY, offset);\n }\n return initialTranslateY;\n },\n );\n\n const _haveReceivedInitialZeroTranslateY = useRef(true);\n const _timer = useRef(null);\n\n useEffect(() => {\n if (translateY !== 0 && translateY != null) {\n _haveReceivedInitialZeroTranslateY.current = false;\n }\n }, [translateY]);\n\n // This is called whenever the (Interpolated) Animated Value\n // updates, which is several times per frame during scrolling.\n // To ensure that the Fabric ShadowTree has the most recent\n // translate style of this node, we debounce the value and then\n // pass it through to the underlying node during render.\n // This is:\n // 1. Only an issue in Fabric.\n // 2. Worse in Android than iOS. In Android, but not iOS, you\n // can touch and move your finger slightly and still trigger\n // a \"tap\" event. In iOS, moving will cancel the tap in\n // both Fabric and non-Fabric. On Android when you move\n // your finger, the hit-detection moves from the Android\n // platform to JS, so we need the ShadowTree to have knowledge\n // of the current position.\n const animatedValueListener = useCallback(\n ({value}) => {\n const _debounceTimeout: number = Platform.OS === 'android' ? 15 : 64;\n // When the AnimatedInterpolation is recreated, it always initializes\n // to a value of zero and emits a value change of 0 to its listeners.\n if (value === 0 && !_haveReceivedInitialZeroTranslateY.current) {\n _haveReceivedInitialZeroTranslateY.current = true;\n return;\n }\n if (_timer.current != null) {\n clearTimeout(_timer.current);\n }\n _timer.current = setTimeout(() => {\n if (value !== translateY) {\n setTranslateY(value);\n }\n }, _debounceTimeout);\n },\n [translateY],\n );\n\n useEffect(() => {\n const inputRange: Array = [-1, 0];\n const outputRange: Array = [0, 0];\n\n if (measured) {\n if (inverted === true) {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - `stickStartPoint` is the point at which the header will start sticking.\n // It is calculated using the ScrollView viewport height so it is a the bottom.\n // - Headers that are in the initial viewport will never stick, `stickStartPoint`\n // will be negative.\n // - From 0 to `stickStartPoint` no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From `stickStartPoint` to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n if (scrollViewHeight != null) {\n const stickStartPoint = layoutY + layoutHeight - scrollViewHeight;\n if (stickStartPoint > 0) {\n inputRange.push(stickStartPoint);\n outputRange.push(0);\n inputRange.push(stickStartPoint + 1);\n outputRange.push(1);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint =\n (nextHeaderLayoutY || 0) - layoutHeight - scrollViewHeight;\n if (collisionPoint > stickStartPoint) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(\n collisionPoint - stickStartPoint,\n collisionPoint - stickStartPoint,\n );\n }\n }\n }\n } else {\n // The interpolation looks like:\n // - Negative scroll: no translation\n // - From 0 to the y of the header: no translation. This will cause the header\n // to scroll normally until it reaches the top of the scroll view.\n // - From header y to when the next header y hits the bottom edge of the header: translate\n // equally to scroll. This will cause the header to stay at the top of the scroll view.\n // - Past the collision with the next header y: no more translation. This will cause the\n // header to continue scrolling up and make room for the next sticky header.\n // In the case that there is no next header just translate equally to\n // scroll indefinitely.\n inputRange.push(layoutY);\n outputRange.push(0);\n // If the next sticky header has not loaded yet (probably windowing) or is the last\n // we can just keep it sticked forever.\n const collisionPoint = (nextHeaderLayoutY || 0) - layoutHeight;\n if (collisionPoint >= layoutY) {\n inputRange.push(collisionPoint, collisionPoint + 1);\n outputRange.push(collisionPoint - layoutY, collisionPoint - layoutY);\n } else {\n inputRange.push(layoutY + 1);\n outputRange.push(1);\n }\n }\n }\n\n let newAnimatedTranslateY: Animated.Node = scrollAnimatedValue.interpolate({\n inputRange,\n outputRange,\n });\n\n if (offset != null) {\n newAnimatedTranslateY = Animated.add(newAnimatedTranslateY, offset);\n }\n\n // add the event listener\n let animatedListenerId;\n if (isFabric) {\n animatedListenerId = newAnimatedTranslateY.addListener(\n animatedValueListener,\n );\n }\n\n setAnimatedTranslateY(newAnimatedTranslateY);\n\n // clean up the event listener and timer\n return () => {\n if (animatedListenerId) {\n newAnimatedTranslateY.removeListener(animatedListenerId);\n }\n if (_timer.current != null) {\n clearTimeout(_timer.current);\n }\n };\n }, [nextHeaderLayoutY, measured, layoutHeight, layoutY, scrollViewHeight, scrollAnimatedValue, inverted, offset, animatedValueListener, isFabric]);\n\n const _onLayout = (event: LayoutEvent) => {\n setLayoutY(event.nativeEvent.layout.y);\n setLayoutHeight(event.nativeEvent.layout.height);\n setMeasured(true);\n\n props.onLayout(event);\n const child = React.Children.only(props.children);\n if (child.props.onLayout) {\n child.props.onLayout(event);\n }\n };\n\n const child = React.Children.only(props.children);\n\n // TODO T68319535: remove this if NativeAnimated is rewritten for Fabric\n const passthroughAnimatedPropExplicitValues =\n isFabric && translateY != null\n ? {\n style: {transform: [{translateY: translateY}]},\n }\n : null;\n\n return (\n /* $FlowFixMe[prop-missing] passthroughAnimatedPropExplicitValues isn't properly\n included in the Animated.View flow type. */\n \n {React.cloneElement(child, {\n style: styles.fill, // We transfer the child style to the wrapper.\n onLayout: undefined, // we call this manually through our this._onLayout\n })}\n \n );\n});\n\nconst styles = StyleSheet.create({\n header: {\n zIndex: 10,\n position: 'relative',\n },\n fill: {\n flex: 1,\n },\n});\n\nexport default ScrollViewStickyHeaderWithForwardedRef;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport {useCallback} from 'react';\n\ntype CallbackRef = T => mixed;\ntype ObjectRef = {current: T, ...};\n\ntype Ref = CallbackRef | ObjectRef;\n\n/**\n * Constructs a new ref that forwards new values to each of the given refs. The\n * given refs will always be invoked in the order that they are supplied.\n *\n * WARNING: A known problem of merging refs using this approach is that if any\n * of the given refs change, the returned callback ref will also be changed. If\n * the returned callback ref is supplied as a `ref` to a React element, this may\n * lead to problems with the given refs being invoked more times than desired.\n */\nexport default function useMergeRefs(\n ...refs: $ReadOnlyArray>\n): CallbackRef {\n return useCallback(\n (current: T) => {\n for (const ref of refs) {\n if (ref != null) {\n if (typeof ref === 'function') {\n ref(current);\n } else {\n ref.current = current;\n }\n }\n }\n },\n [...refs], // eslint-disable-line react-hooks/exhaustive-deps\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nconst InteractionManager = require('./InteractionManager');\n\n/**\n * A simple class for batching up invocations of a low-pri callback. A timeout is set to run the\n * callback once after a delay, no matter how many times it's scheduled. Once the delay is reached,\n * InteractionManager.runAfterInteractions is used to invoke the callback after any hi-pri\n * interactions are done running.\n *\n * Make sure to cleanup with dispose(). Example:\n *\n * class Widget extends React.Component {\n * _batchedSave: new Batchinator(() => this._saveState, 1000);\n * _saveSate() {\n * // save this.state to disk\n * }\n * componentDidUpdate() {\n * this._batchedSave.schedule();\n * }\n * componentWillUnmount() {\n * this._batchedSave.dispose();\n * }\n * ...\n * }\n */\nclass Batchinator {\n _callback: () => void;\n _delay: number;\n _taskHandle: ?{cancel: () => void, ...};\n constructor(callback: () => void, delayMS: number) {\n this._delay = delayMS;\n this._callback = callback;\n }\n /*\n * Cleanup any pending tasks.\n *\n * By default, if there is a pending task the callback is run immediately. Set the option abort to\n * true to not call the callback if it was pending.\n */\n dispose(options: {abort: boolean, ...} = {abort: false}) {\n if (this._taskHandle) {\n this._taskHandle.cancel();\n if (!options.abort) {\n this._callback();\n }\n this._taskHandle = null;\n }\n }\n schedule() {\n if (this._taskHandle) {\n return;\n }\n const timeoutHandle = setTimeout(() => {\n this._taskHandle = InteractionManager.runAfterInteractions(() => {\n // Note that we clear the handle before invoking the callback so that if the callback calls\n // schedule again, it will actually schedule another task.\n this._taskHandle = null;\n this._callback();\n });\n }, this._delay);\n this._taskHandle = {cancel: () => clearTimeout(timeoutHandle)};\n }\n}\n\nmodule.exports = Batchinator;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nfunction clamp(min: number, value: number, max: number): number {\n if (value < min) {\n return min;\n }\n if (value > max) {\n return max;\n }\n return value;\n}\n\nmodule.exports = clamp;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport invariant from 'invariant';\n\nexport default class ChildListCollection {\n _cellKeyToChildren: Map> = new Map();\n _childrenToCellKey: Map = new Map();\n\n add(list: TList, cellKey: string): void {\n invariant(\n !this._childrenToCellKey.has(list),\n 'Trying to add already present child list',\n );\n\n const cellLists = this._cellKeyToChildren.get(cellKey) ?? new Set();\n cellLists.add(list);\n this._cellKeyToChildren.set(cellKey, cellLists);\n\n this._childrenToCellKey.set(list, cellKey);\n }\n\n remove(list: TList): void {\n const cellKey = this._childrenToCellKey.get(list);\n invariant(cellKey != null, 'Trying to remove non-present child list');\n this._childrenToCellKey.delete(list);\n\n const cellLists = this._cellKeyToChildren.get(cellKey);\n invariant(cellLists, '_cellKeyToChildren should contain cellKey');\n cellLists.delete(list);\n\n if (cellLists.size === 0) {\n this._cellKeyToChildren.delete(cellKey);\n }\n }\n\n forEach(fn: TList => void): void {\n for (const listSet of this._cellKeyToChildren.values()) {\n for (const list of listSet) {\n fn(list);\n }\n }\n }\n\n forEachInCell(cellKey: string, fn: TList => void): void {\n const listSet = this._cellKeyToChildren.get(cellKey) ?? [];\n for (const list of listSet) {\n fn(list);\n }\n }\n\n anyInCell(cellKey: string, fn: TList => boolean): boolean {\n const listSet = this._cellKeyToChildren.get(cellKey) ?? [];\n for (const list of listSet) {\n if (fn(list)) {\n return true;\n }\n }\n return false;\n }\n\n size(): number {\n return this._childrenToCellKey.size;\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {FrameMetricProps} from './VirtualizedListProps';\n\nexport type FillRateInfo = Info;\n\nclass Info {\n any_blank_count: number = 0;\n any_blank_ms: number = 0;\n any_blank_speed_sum: number = 0;\n mostly_blank_count: number = 0;\n mostly_blank_ms: number = 0;\n pixels_blank: number = 0;\n pixels_sampled: number = 0;\n pixels_scrolled: number = 0;\n total_time_spent: number = 0;\n sample_count: number = 0;\n}\n\ntype FrameMetrics = {\n inLayout?: boolean,\n length: number,\n offset: number,\n ...\n};\n\nconst DEBUG = false;\n\nlet _listeners: Array<(Info) => void> = [];\nlet _minSampleCount = 10;\nlet _sampleRate = DEBUG ? 1 : null;\n\n/**\n * A helper class for detecting when the maximem fill rate of `VirtualizedList` is exceeded.\n * By default the sampling rate is set to zero and this will do nothing. If you want to collect\n * samples (e.g. to log them), make sure to call `FillRateHelper.setSampleRate(0.0-1.0)`.\n *\n * Listeners and sample rate are global for all `VirtualizedList`s - typical usage will combine with\n * `SceneTracker.getActiveScene` to determine the context of the events.\n */\nclass FillRateHelper {\n _anyBlankStartTime: ?number = null;\n _enabled = false;\n _getFrameMetrics: (index: number, props: FrameMetricProps) => ?FrameMetrics;\n _info: Info = new Info();\n _mostlyBlankStartTime: ?number = null;\n _samplesStartTime: ?number = null;\n\n static addListener(callback: FillRateInfo => void): {\n remove: () => void,\n ...\n } {\n if (_sampleRate === null) {\n console.warn('Call `FillRateHelper.setSampleRate` before `addListener`.');\n }\n _listeners.push(callback);\n return {\n remove: () => {\n _listeners = _listeners.filter(listener => callback !== listener);\n },\n };\n }\n\n static setSampleRate(sampleRate: number) {\n _sampleRate = sampleRate;\n }\n\n static setMinSampleCount(minSampleCount: number) {\n _minSampleCount = minSampleCount;\n }\n\n constructor(\n getFrameMetrics: (index: number, props: FrameMetricProps) => ?FrameMetrics,\n ) {\n this._getFrameMetrics = getFrameMetrics;\n this._enabled = (_sampleRate || 0) > Math.random();\n this._resetData();\n }\n\n activate() {\n if (this._enabled && this._samplesStartTime == null) {\n DEBUG && console.debug('FillRateHelper: activate');\n this._samplesStartTime = global.performance.now();\n }\n }\n\n deactivateAndFlush() {\n if (!this._enabled) {\n return;\n }\n const start = this._samplesStartTime; // const for flow\n if (start == null) {\n DEBUG &&\n console.debug('FillRateHelper: bail on deactivate with no start time');\n return;\n }\n if (this._info.sample_count < _minSampleCount) {\n // Don't bother with under-sampled events.\n this._resetData();\n return;\n }\n const total_time_spent = global.performance.now() - start;\n const info: any = {\n ...this._info,\n total_time_spent,\n };\n if (DEBUG) {\n const derived = {\n avg_blankness: this._info.pixels_blank / this._info.pixels_sampled,\n avg_speed: this._info.pixels_scrolled / (total_time_spent / 1000),\n avg_speed_when_any_blank:\n this._info.any_blank_speed_sum / this._info.any_blank_count,\n any_blank_per_min:\n this._info.any_blank_count / (total_time_spent / 1000 / 60),\n any_blank_time_frac: this._info.any_blank_ms / total_time_spent,\n mostly_blank_per_min:\n this._info.mostly_blank_count / (total_time_spent / 1000 / 60),\n mostly_blank_time_frac: this._info.mostly_blank_ms / total_time_spent,\n };\n for (const key in derived) {\n // $FlowFixMe[prop-missing]\n derived[key] = Math.round(1000 * derived[key]) / 1000;\n }\n console.debug('FillRateHelper deactivateAndFlush: ', {derived, info});\n }\n _listeners.forEach(listener => listener(info));\n this._resetData();\n }\n\n computeBlankness(\n props: {\n ...FrameMetricProps,\n initialNumToRender?: ?number,\n ...\n },\n cellsAroundViewport: {\n first: number,\n last: number,\n ...\n },\n scrollMetrics: {\n dOffset: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n ...\n },\n ): number {\n if (\n !this._enabled ||\n props.getItemCount(props.data) === 0 ||\n cellsAroundViewport.last < cellsAroundViewport.first ||\n this._samplesStartTime == null\n ) {\n return 0;\n }\n const {dOffset, offset, velocity, visibleLength} = scrollMetrics;\n\n // Denominator metrics that we track for all events - most of the time there is no blankness and\n // we want to capture that.\n this._info.sample_count++;\n this._info.pixels_sampled += Math.round(visibleLength);\n this._info.pixels_scrolled += Math.round(Math.abs(dOffset));\n const scrollSpeed = Math.round(Math.abs(velocity) * 1000); // px / sec\n\n // Whether blank now or not, record the elapsed time blank if we were blank last time.\n const now = global.performance.now();\n if (this._anyBlankStartTime != null) {\n this._info.any_blank_ms += now - this._anyBlankStartTime;\n }\n this._anyBlankStartTime = null;\n if (this._mostlyBlankStartTime != null) {\n this._info.mostly_blank_ms += now - this._mostlyBlankStartTime;\n }\n this._mostlyBlankStartTime = null;\n\n let blankTop = 0;\n let first = cellsAroundViewport.first;\n let firstFrame = this._getFrameMetrics(first, props);\n while (\n first <= cellsAroundViewport.last &&\n (!firstFrame || !firstFrame.inLayout)\n ) {\n firstFrame = this._getFrameMetrics(first, props);\n first++;\n }\n // Only count blankTop if we aren't rendering the first item, otherwise we will count the header\n // as blank.\n if (firstFrame && first > 0) {\n blankTop = Math.min(\n visibleLength,\n Math.max(0, firstFrame.offset - offset),\n );\n }\n let blankBottom = 0;\n let last = cellsAroundViewport.last;\n let lastFrame = this._getFrameMetrics(last, props);\n while (\n last >= cellsAroundViewport.first &&\n (!lastFrame || !lastFrame.inLayout)\n ) {\n lastFrame = this._getFrameMetrics(last, props);\n last--;\n }\n // Only count blankBottom if we aren't rendering the last item, otherwise we will count the\n // footer as blank.\n if (lastFrame && last < props.getItemCount(props.data) - 1) {\n const bottomEdge = lastFrame.offset + lastFrame.length;\n blankBottom = Math.min(\n visibleLength,\n Math.max(0, offset + visibleLength - bottomEdge),\n );\n }\n const pixels_blank = Math.round(blankTop + blankBottom);\n const blankness = pixels_blank / visibleLength;\n if (blankness > 0) {\n this._anyBlankStartTime = now;\n this._info.any_blank_speed_sum += scrollSpeed;\n this._info.any_blank_count++;\n this._info.pixels_blank += pixels_blank;\n if (blankness > 0.5) {\n this._mostlyBlankStartTime = now;\n this._info.mostly_blank_count++;\n }\n } else if (scrollSpeed < 0.01 || Math.abs(dOffset) < 1) {\n this.deactivateAndFlush();\n }\n return blankness;\n }\n\n enabled(): boolean {\n return this._enabled;\n }\n\n _resetData() {\n this._anyBlankStartTime = null;\n this._info = new Info();\n this._mostlyBlankStartTime = null;\n this._samplesStartTime = null;\n }\n}\n\nmodule.exports = FillRateHelper;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport invariant from 'invariant';\nimport * as React from 'react';\n\n/**\n * `setState` is called asynchronously, and should not rely on the value of\n * `this.props` or `this.state`:\n * https://reactjs.org/docs/state-and-lifecycle.html#state-updates-may-be-asynchronous\n *\n * SafePureComponent adds runtime enforcement, to catch cases where these\n * variables are read in a state updater function, instead of the ones passed\n * in.\n */\nexport default class StateSafePureComponent<\n Props,\n State: interface {},\n> extends React.PureComponent {\n _inAsyncStateUpdate = false;\n\n constructor(props: Props) {\n super(props);\n this._installSetStateHooks();\n }\n\n setState(\n partialState: ?($Shape | ((State, Props) => ?$Shape)),\n callback?: () => mixed,\n ): void {\n if (typeof partialState === 'function') {\n super.setState((state, props) => {\n this._inAsyncStateUpdate = true;\n let ret;\n try {\n ret = partialState(state, props);\n } catch (err) {\n throw err;\n } finally {\n this._inAsyncStateUpdate = false;\n }\n return ret;\n }, callback);\n } else {\n super.setState(partialState, callback);\n }\n }\n\n _installSetStateHooks() {\n const that = this;\n let {props, state} = this;\n\n Object.defineProperty(this, 'props', {\n get() {\n invariant(\n !that._inAsyncStateUpdate,\n '\"this.props\" should not be accessed during state updates',\n );\n return props;\n },\n set(newProps: Props) {\n props = newProps;\n },\n });\n Object.defineProperty(this, 'state', {\n get() {\n invariant(\n !that._inAsyncStateUpdate,\n '\"this.state\" should not be acceessed during state updates',\n );\n return state;\n },\n set(newState: State) {\n state = newState;\n },\n });\n }\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {FrameMetricProps} from './VirtualizedListProps';\n\nconst invariant = require('invariant');\n\nexport type ViewToken = {\n item: any,\n key: string,\n index: ?number,\n isViewable: boolean,\n section?: any,\n ...\n};\n\nexport type ViewabilityConfigCallbackPair = {\n viewabilityConfig: ViewabilityConfig,\n onViewableItemsChanged: (info: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n ...\n};\n\nexport type ViewabilityConfig = {|\n /**\n * Minimum amount of time (in milliseconds) that an item must be physically viewable before the\n * viewability callback will be fired. A high number means that scrolling through content without\n * stopping will not mark the content as viewable.\n */\n minimumViewTime?: number,\n\n /**\n * Percent of viewport that must be covered for a partially occluded item to count as\n * \"viewable\", 0-100. Fully visible items are always considered viewable. A value of 0 means\n * that a single pixel in the viewport makes the item viewable, and a value of 100 means that\n * an item must be either entirely visible or cover the entire viewport to count as viewable.\n */\n viewAreaCoveragePercentThreshold?: number,\n\n /**\n * Similar to `viewAreaPercentThreshold`, but considers the percent of the item that is visible,\n * rather than the fraction of the viewable area it covers.\n */\n itemVisiblePercentThreshold?: number,\n\n /**\n * Nothing is considered viewable until the user scrolls or `recordInteraction` is called after\n * render.\n */\n waitForInteraction?: boolean,\n|};\n\n/**\n * A Utility class for calculating viewable items based on current metrics like scroll position and\n * layout.\n *\n * An item is said to be in a \"viewable\" state when any of the following\n * is true for longer than `minimumViewTime` milliseconds (after an interaction if `waitForInteraction`\n * is true):\n *\n * - Occupying >= `viewAreaCoveragePercentThreshold` of the view area XOR fraction of the item\n * visible in the view area >= `itemVisiblePercentThreshold`.\n * - Entirely visible on screen\n */\nclass ViewabilityHelper {\n _config: ViewabilityConfig;\n _hasInteracted: boolean = false;\n _timers: Set = new Set();\n _viewableIndices: Array = [];\n _viewableItems: Map = new Map();\n\n constructor(\n config: ViewabilityConfig = {viewAreaCoveragePercentThreshold: 0},\n ) {\n this._config = config;\n }\n\n /**\n * Cleanup, e.g. on unmount. Clears any pending timers.\n */\n dispose() {\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To see\n * the error delete this comment and run Flow. */\n this._timers.forEach(clearTimeout);\n }\n\n /**\n * Determines which items are viewable based on the current metrics and config.\n */\n computeViewableItems(\n props: FrameMetricProps,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (\n index: number,\n props: FrameMetricProps,\n ) => ?{\n length: number,\n offset: number,\n ...\n },\n // Optional optimization to reduce the scan size\n renderRange?: {\n first: number,\n last: number,\n ...\n },\n ): Array {\n const itemCount = props.getItemCount(props.data);\n const {itemVisiblePercentThreshold, viewAreaCoveragePercentThreshold} =\n this._config;\n const viewAreaMode = viewAreaCoveragePercentThreshold != null;\n const viewablePercentThreshold = viewAreaMode\n ? viewAreaCoveragePercentThreshold\n : itemVisiblePercentThreshold;\n invariant(\n viewablePercentThreshold != null &&\n (itemVisiblePercentThreshold != null) !==\n (viewAreaCoveragePercentThreshold != null),\n 'Must set exactly one of itemVisiblePercentThreshold or viewAreaCoveragePercentThreshold',\n );\n const viewableIndices = [];\n if (itemCount === 0) {\n return viewableIndices;\n }\n let firstVisible = -1;\n const {first, last} = renderRange || {first: 0, last: itemCount - 1};\n if (last >= itemCount) {\n console.warn(\n 'Invalid render range computing viewability ' +\n JSON.stringify({renderRange, itemCount}),\n );\n return [];\n }\n for (let idx = first; idx <= last; idx++) {\n const metrics = getFrameMetrics(idx, props);\n if (!metrics) {\n continue;\n }\n const top = metrics.offset - scrollOffset;\n const bottom = top + metrics.length;\n if (top < viewportHeight && bottom > 0) {\n firstVisible = idx;\n if (\n _isViewable(\n viewAreaMode,\n viewablePercentThreshold,\n top,\n bottom,\n viewportHeight,\n metrics.length,\n )\n ) {\n viewableIndices.push(idx);\n }\n } else if (firstVisible >= 0) {\n break;\n }\n }\n return viewableIndices;\n }\n\n /**\n * Figures out which items are viewable and how that has changed from before and calls\n * `onViewableItemsChanged` as appropriate.\n */\n onUpdate(\n props: FrameMetricProps,\n scrollOffset: number,\n viewportHeight: number,\n getFrameMetrics: (\n index: number,\n props: FrameMetricProps,\n ) => ?{\n length: number,\n offset: number,\n ...\n },\n createViewToken: (\n index: number,\n isViewable: boolean,\n props: FrameMetricProps,\n ) => ViewToken,\n onViewableItemsChanged: ({\n viewableItems: Array,\n changed: Array,\n ...\n }) => void,\n // Optional optimization to reduce the scan size\n renderRange?: {\n first: number,\n last: number,\n ...\n },\n ): void {\n const itemCount = props.getItemCount(props.data);\n if (\n (this._config.waitForInteraction && !this._hasInteracted) ||\n itemCount === 0 ||\n !getFrameMetrics(0, props)\n ) {\n return;\n }\n let viewableIndices: Array = [];\n if (itemCount) {\n viewableIndices = this.computeViewableItems(\n props,\n scrollOffset,\n viewportHeight,\n getFrameMetrics,\n renderRange,\n );\n }\n if (\n this._viewableIndices.length === viewableIndices.length &&\n this._viewableIndices.every((v, ii) => v === viewableIndices[ii])\n ) {\n // We might get a lot of scroll events where visibility doesn't change and we don't want to do\n // extra work in those cases.\n return;\n }\n this._viewableIndices = viewableIndices;\n if (this._config.minimumViewTime) {\n const handle: TimeoutID = setTimeout(() => {\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To\n * see the error delete this comment and run Flow. */\n this._timers.delete(handle);\n this._onUpdateSync(\n props,\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }, this._config.minimumViewTime);\n /* $FlowFixMe[incompatible-call] (>=0.63.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.63 was deployed. To see\n * the error delete this comment and run Flow. */\n this._timers.add(handle);\n } else {\n this._onUpdateSync(\n props,\n viewableIndices,\n onViewableItemsChanged,\n createViewToken,\n );\n }\n }\n\n /**\n * clean-up cached _viewableIndices to evaluate changed items on next update\n */\n resetViewableIndices() {\n this._viewableIndices = [];\n }\n\n /**\n * Records that an interaction has happened even if there has been no scroll.\n */\n recordInteraction() {\n this._hasInteracted = true;\n }\n\n _onUpdateSync(\n props: FrameMetricProps,\n viewableIndicesToCheck: Array,\n onViewableItemsChanged: ({\n changed: Array,\n viewableItems: Array,\n ...\n }) => void,\n createViewToken: (\n index: number,\n isViewable: boolean,\n props: FrameMetricProps,\n ) => ViewToken,\n ) {\n // Filter out indices that have gone out of view since this call was scheduled.\n viewableIndicesToCheck = viewableIndicesToCheck.filter(ii =>\n this._viewableIndices.includes(ii),\n );\n const prevItems = this._viewableItems;\n const nextItems = new Map(\n viewableIndicesToCheck.map(ii => {\n const viewable = createViewToken(ii, true, props);\n return [viewable.key, viewable];\n }),\n );\n\n const changed = [];\n for (const [key, viewable] of nextItems) {\n if (!prevItems.has(key)) {\n changed.push(viewable);\n }\n }\n for (const [key, viewable] of prevItems) {\n if (!nextItems.has(key)) {\n changed.push({...viewable, isViewable: false});\n }\n }\n if (changed.length > 0) {\n this._viewableItems = nextItems;\n onViewableItemsChanged({\n viewableItems: Array.from(nextItems.values()),\n changed,\n viewabilityConfig: this._config,\n });\n }\n }\n}\n\nfunction _isViewable(\n viewAreaMode: boolean,\n viewablePercentThreshold: number,\n top: number,\n bottom: number,\n viewportHeight: number,\n itemLength: number,\n): boolean {\n if (_isEntirelyVisible(top, bottom, viewportHeight)) {\n return true;\n } else {\n const pixels = _getPixelsVisible(top, bottom, viewportHeight);\n const percent =\n 100 * (viewAreaMode ? pixels / viewportHeight : pixels / itemLength);\n return percent >= viewablePercentThreshold;\n }\n}\n\nfunction _getPixelsVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): number {\n const visibleHeight = Math.min(bottom, viewportHeight) - Math.max(top, 0);\n return Math.max(0, visibleHeight);\n}\n\nfunction _isEntirelyVisible(\n top: number,\n bottom: number,\n viewportHeight: number,\n): boolean {\n return top >= 0 && bottom <= viewportHeight && bottom > top;\n}\n\nmodule.exports = ViewabilityHelper;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ViewStyleProp} from '../StyleSheet/StyleSheet';\nimport type {FocusEvent, LayoutEvent} from '../Types/CoreEventTypes';\nimport type FillRateHelper from './FillRateHelper';\nimport type {RenderItemType} from './VirtualizedListProps';\n\nimport View from '../Components/View/View';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport {VirtualizedListCellContextProvider} from './VirtualizedListContext.js';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\nexport type Props = {\n CellRendererComponent?: ?React.ComponentType,\n ItemSeparatorComponent: ?React.ComponentType<\n any | {highlighted: boolean, leadingItem: ?ItemT},\n >,\n ListItemComponent?: ?(React.ComponentType | React.Element),\n cellKey: string,\n debug?: ?boolean,\n fillRateHelper: FillRateHelper,\n getItemLayout?: (\n data: any,\n index: number,\n ) => {\n length: number,\n offset: number,\n index: number,\n ...\n },\n horizontal: ?boolean,\n index: number,\n inversionStyle: ViewStyleProp,\n item: ItemT,\n onCellLayout: (event: LayoutEvent, cellKey: string, index: number) => void,\n onCellFocusCapture?: (event: FocusEvent) => void,\n onUnmount: (cellKey: string) => void,\n onUpdateSeparators: (\n cellKeys: Array,\n props: $Shape>,\n ) => void,\n prevCellKey: ?string,\n renderItem?: ?RenderItemType,\n ...\n};\n\ntype SeparatorProps = $ReadOnly<{|\n highlighted: boolean,\n leadingItem: ?ItemT,\n|}>;\n\ntype State = {\n separatorProps: SeparatorProps,\n ...\n};\n\nexport default class CellRenderer extends React.Component<\n Props,\n State,\n> {\n state: State = {\n separatorProps: {\n highlighted: false,\n leadingItem: this.props.item,\n },\n };\n\n static getDerivedStateFromProps(\n props: Props,\n prevState: State,\n ): ?State {\n return {\n separatorProps: {\n ...prevState.separatorProps,\n leadingItem: props.item,\n },\n };\n }\n\n // TODO: consider factoring separator stuff out of VirtualizedList into FlatList since it's not\n // reused by SectionList and we can keep VirtualizedList simpler.\n // $FlowFixMe[missing-local-annot]\n _separators = {\n highlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: true,\n });\n },\n unhighlight: () => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators([cellKey, prevCellKey], {\n highlighted: false,\n });\n },\n updateProps: (\n select: 'leading' | 'trailing',\n newProps: SeparatorProps,\n ) => {\n const {cellKey, prevCellKey} = this.props;\n this.props.onUpdateSeparators(\n [select === 'leading' ? prevCellKey : cellKey],\n newProps,\n );\n },\n };\n\n updateSeparatorProps(newProps: SeparatorProps) {\n this.setState(state => ({\n separatorProps: {...state.separatorProps, ...newProps},\n }));\n }\n\n componentWillUnmount() {\n this.props.onUnmount(this.props.cellKey);\n }\n\n _onLayout = (nativeEvent: LayoutEvent): void => {\n this.props.onCellLayout &&\n this.props.onCellLayout(\n nativeEvent,\n this.props.cellKey,\n this.props.index,\n );\n };\n\n _renderElement(\n renderItem: ?RenderItemType,\n ListItemComponent: any,\n item: ItemT,\n index: number,\n ): React.Node {\n if (renderItem && ListItemComponent) {\n console.warn(\n 'VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take' +\n ' precedence over renderItem.',\n );\n }\n\n if (ListItemComponent) {\n /* $FlowFixMe[not-a-component] (>=0.108.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.108 was deployed. To\n * see the error, delete this comment and run Flow. */\n /* $FlowFixMe[incompatible-type-arg] (>=0.108.0 site=react_native_fb)\n * This comment suppresses an error found when Flow v0.108 was deployed.\n * To see the error, delete this comment and run Flow. */\n return React.createElement(ListItemComponent, {\n item,\n index,\n separators: this._separators,\n });\n }\n\n if (renderItem) {\n return renderItem({\n item,\n index,\n separators: this._separators,\n });\n }\n\n invariant(\n false,\n 'VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.',\n );\n }\n\n render(): React.Node {\n const {\n CellRendererComponent,\n ItemSeparatorComponent,\n ListItemComponent,\n debug,\n fillRateHelper,\n getItemLayout,\n horizontal,\n item,\n index,\n inversionStyle,\n onCellFocusCapture,\n renderItem,\n } = this.props;\n const element = this._renderElement(\n renderItem,\n ListItemComponent,\n item,\n index,\n );\n\n const onLayout =\n (getItemLayout && !debug && !fillRateHelper.enabled()) ||\n !this.props.onCellLayout\n ? undefined\n : this._onLayout;\n // NOTE: that when this is a sticky header, `onLayout` will get automatically extracted and\n // called explicitly by `ScrollViewStickyHeader`.\n const itemSeparator = React.isValidElement(ItemSeparatorComponent)\n ? ItemSeparatorComponent\n : ItemSeparatorComponent && (\n \n );\n const cellStyle = inversionStyle\n ? horizontal\n ? [styles.rowReverse, inversionStyle]\n : [styles.columnReverse, inversionStyle]\n : horizontal\n ? [styles.row, inversionStyle]\n : inversionStyle;\n const result = !CellRendererComponent ? (\n =0.89.0 site=react_native_fb) *\n This comment suppresses an error found when Flow v0.89 was deployed. *\n To see the error, delete this comment and run Flow. */\n >\n {element}\n {itemSeparator}\n \n ) : (\n \n {element}\n {itemSeparator}\n \n );\n\n return (\n \n {result}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n row: {\n flexDirection: 'row',\n },\n rowReverse: {\n flexDirection: 'row-reverse',\n },\n columnReverse: {\n flexDirection: 'column-reverse',\n },\n});\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport typeof VirtualizedList from './VirtualizedList';\n\nimport * as React from 'react';\nimport {useContext, useMemo} from 'react';\n\ntype Context = $ReadOnly<{\n cellKey: ?string,\n getScrollMetrics: () => {\n contentLength: number,\n dOffset: number,\n dt: number,\n offset: number,\n timestamp: number,\n velocity: number,\n visibleLength: number,\n zoomScale: number,\n },\n horizontal: ?boolean,\n getOutermostParentListRef: () => React.ElementRef,\n registerAsNestedChild: ({\n cellKey: string,\n ref: React.ElementRef,\n }) => void,\n unregisterAsNestedChild: ({\n ref: React.ElementRef,\n }) => void,\n}>;\n\nexport const VirtualizedListContext: React.Context =\n React.createContext(null);\nif (__DEV__) {\n VirtualizedListContext.displayName = 'VirtualizedListContext';\n}\n\n/**\n * Resets the context. Intended for use by portal-like components (e.g. Modal).\n */\nexport function VirtualizedListContextResetter({\n children,\n}: {\n children: React.Node,\n}): React.Node {\n return (\n \n {children}\n \n );\n}\n\n/**\n * Sets the context with memoization. Intended to be used by `VirtualizedList`.\n */\nexport function VirtualizedListContextProvider({\n children,\n value,\n}: {\n children: React.Node,\n value: Context,\n}): React.Node {\n // Avoid setting a newly created context object if the values are identical.\n const context = useMemo(\n () => ({\n cellKey: null,\n getScrollMetrics: value.getScrollMetrics,\n horizontal: value.horizontal,\n getOutermostParentListRef: value.getOutermostParentListRef,\n registerAsNestedChild: value.registerAsNestedChild,\n unregisterAsNestedChild: value.unregisterAsNestedChild,\n }),\n [\n value.getScrollMetrics,\n value.horizontal,\n value.getOutermostParentListRef,\n value.registerAsNestedChild,\n value.unregisterAsNestedChild,\n ],\n );\n return (\n \n {children}\n \n );\n}\n\n/**\n * Sets the `cellKey`. Intended to be used by `VirtualizedList` for each cell.\n */\nexport function VirtualizedListCellContextProvider({\n cellKey,\n children,\n}: {\n cellKey: string,\n children: React.Node,\n}): React.Node {\n // Avoid setting a newly created context object if the values are identical.\n const currContext = useContext(VirtualizedListContext);\n const context = useMemo(\n () => (currContext == null ? null : {...currContext, cellKey}),\n [currContext, cellKey],\n );\n return (\n \n {children}\n \n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {FrameMetricProps} from './VirtualizedListProps';\n\n/**\n * Used to find the indices of the frames that overlap the given offsets. Useful for finding the\n * items that bound different windows of content, such as the visible area or the buffered overscan\n * area.\n */\nexport function elementsThatOverlapOffsets(\n offsets: Array,\n props: FrameMetricProps,\n getFrameMetrics: (\n index: number,\n props: FrameMetricProps,\n ) => {\n length: number,\n offset: number,\n ...\n },\n zoomScale: number = 1,\n): Array {\n const itemCount = props.getItemCount(props.data);\n const result = [];\n for (let offsetIndex = 0; offsetIndex < offsets.length; offsetIndex++) {\n const currentOffset = offsets[offsetIndex];\n let left = 0;\n let right = itemCount - 1;\n\n while (left <= right) {\n // eslint-disable-next-line no-bitwise\n const mid = left + ((right - left) >>> 1);\n const frame = getFrameMetrics(mid, props);\n const scaledOffsetStart = frame.offset * zoomScale;\n const scaledOffsetEnd = (frame.offset + frame.length) * zoomScale;\n\n // We want the first frame that contains the offset, with inclusive bounds. Thus, for the\n // first frame the scaledOffsetStart is inclusive, while for other frames it is exclusive.\n if (\n (mid === 0 && currentOffset < scaledOffsetStart) ||\n (mid !== 0 && currentOffset <= scaledOffsetStart)\n ) {\n right = mid - 1;\n } else if (currentOffset > scaledOffsetEnd) {\n left = mid + 1;\n } else {\n result[offsetIndex] = mid;\n break;\n }\n }\n }\n\n return result;\n}\n\n/**\n * Computes the number of elements in the `next` range that are new compared to the `prev` range.\n * Handy for calculating how many new items will be rendered when the render window changes so we\n * can restrict the number of new items render at once so that content can appear on the screen\n * faster.\n */\nexport function newRangeCount(\n prev: {\n first: number,\n last: number,\n ...\n },\n next: {\n first: number,\n last: number,\n ...\n },\n): number {\n return (\n next.last -\n next.first +\n 1 -\n Math.max(\n 0,\n 1 + Math.min(next.last, prev.last) - Math.max(next.first, prev.first),\n )\n );\n}\n\n/**\n * Custom logic for determining which items should be rendered given the current frame and scroll\n * metrics, as well as the previous render state. The algorithm may evolve over time, but generally\n * prioritizes the visible area first, then expands that with overscan regions ahead and behind,\n * biased in the direction of scroll.\n */\nexport function computeWindowedRenderLimits(\n props: FrameMetricProps,\n maxToRenderPerBatch: number,\n windowSize: number,\n prev: {\n first: number,\n last: number,\n },\n getFrameMetricsApprox: (\n index: number,\n props: FrameMetricProps,\n ) => {\n length: number,\n offset: number,\n ...\n },\n scrollMetrics: {\n dt: number,\n offset: number,\n velocity: number,\n visibleLength: number,\n zoomScale: number,\n ...\n },\n): {\n first: number,\n last: number,\n} {\n const itemCount = props.getItemCount(props.data);\n if (itemCount === 0) {\n return {first: 0, last: -1};\n }\n const {offset, velocity, visibleLength, zoomScale = 1} = scrollMetrics;\n\n // Start with visible area, then compute maximum overscan region by expanding from there, biased\n // in the direction of scroll. Total overscan area is capped, which should cap memory consumption\n // too.\n const visibleBegin = Math.max(0, offset);\n const visibleEnd = visibleBegin + visibleLength;\n const overscanLength = (windowSize - 1) * visibleLength;\n\n // Considering velocity seems to introduce more churn than it's worth.\n const leadFactor = 0.5; // Math.max(0, Math.min(1, velocity / 25 + 0.5));\n\n const fillPreference =\n velocity > 1 ? 'after' : velocity < -1 ? 'before' : 'none';\n\n const overscanBegin = Math.max(\n 0,\n visibleBegin - (1 - leadFactor) * overscanLength,\n );\n const overscanEnd = Math.max(0, visibleEnd + leadFactor * overscanLength);\n\n const lastItemOffset =\n getFrameMetricsApprox(itemCount - 1, props).offset * zoomScale;\n if (lastItemOffset < overscanBegin) {\n // Entire list is before our overscan window\n return {\n first: Math.max(0, itemCount - 1 - maxToRenderPerBatch),\n last: itemCount - 1,\n };\n }\n\n // Find the indices that correspond to the items at the render boundaries we're targeting.\n let [overscanFirst, first, last, overscanLast] = elementsThatOverlapOffsets(\n [overscanBegin, visibleBegin, visibleEnd, overscanEnd],\n props,\n getFrameMetricsApprox,\n zoomScale,\n );\n overscanFirst = overscanFirst == null ? 0 : overscanFirst;\n first = first == null ? Math.max(0, overscanFirst) : first;\n overscanLast = overscanLast == null ? itemCount - 1 : overscanLast;\n last =\n last == null\n ? Math.min(overscanLast, first + maxToRenderPerBatch - 1)\n : last;\n const visible = {first, last};\n\n // We want to limit the number of new cells we're rendering per batch so that we can fill the\n // content on the screen quickly. If we rendered the entire overscan window at once, the user\n // could be staring at white space for a long time waiting for a bunch of offscreen content to\n // render.\n let newCellCount = newRangeCount(prev, visible);\n\n while (true) {\n if (first <= overscanFirst && last >= overscanLast) {\n // If we fill the entire overscan range, we're done.\n break;\n }\n const maxNewCells = newCellCount >= maxToRenderPerBatch;\n const firstWillAddMore = first <= prev.first || first > prev.last;\n const firstShouldIncrement =\n first > overscanFirst && (!maxNewCells || !firstWillAddMore);\n const lastWillAddMore = last >= prev.last || last < prev.first;\n const lastShouldIncrement =\n last < overscanLast && (!maxNewCells || !lastWillAddMore);\n if (maxNewCells && !firstShouldIncrement && !lastShouldIncrement) {\n // We only want to stop if we've hit maxNewCells AND we cannot increment first or last\n // without rendering new items. This let's us preserve as many already rendered items as\n // possible, reducing render churn and keeping the rendered overscan range as large as\n // possible.\n break;\n }\n if (\n firstShouldIncrement &&\n !(fillPreference === 'after' && lastShouldIncrement && lastWillAddMore)\n ) {\n if (firstWillAddMore) {\n newCellCount++;\n }\n first--;\n }\n if (\n lastShouldIncrement &&\n !(fillPreference === 'before' && firstShouldIncrement && firstWillAddMore)\n ) {\n if (lastWillAddMore) {\n newCellCount++;\n }\n last++;\n }\n }\n if (\n !(\n last >= first &&\n first >= 0 &&\n last < itemCount &&\n first >= overscanFirst &&\n last <= overscanLast &&\n first <= visible.first &&\n last >= visible.last\n )\n ) {\n throw new Error(\n 'Bad window calculation ' +\n JSON.stringify({\n first,\n last,\n itemCount,\n overscanFirst,\n overscanLast,\n visible,\n }),\n );\n }\n return {first, last};\n}\n\nexport function keyExtractor(item: any, index: number): string {\n if (typeof item === 'object' && item?.key != null) {\n return item.key;\n }\n if (typeof item === 'object' && item?.id != null) {\n return item.id;\n }\n return String(index);\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport invariant from 'invariant';\n\nexport type CellRegion = {\n first: number,\n last: number,\n isSpacer: boolean,\n};\n\nexport class CellRenderMask {\n _numCells: number;\n _regions: Array;\n\n constructor(numCells: number) {\n invariant(\n numCells >= 0,\n 'CellRenderMask must contain a non-negative number os cells',\n );\n\n this._numCells = numCells;\n\n if (numCells === 0) {\n this._regions = [];\n } else {\n this._regions = [\n {\n first: 0,\n last: numCells - 1,\n isSpacer: true,\n },\n ];\n }\n }\n\n enumerateRegions(): $ReadOnlyArray {\n return this._regions;\n }\n\n addCells(cells: {first: number, last: number}): void {\n invariant(\n cells.first >= 0 &&\n cells.first < this._numCells &&\n cells.last >= -1 &&\n cells.last < this._numCells &&\n cells.last >= cells.first - 1,\n 'CellRenderMask.addCells called with invalid cell range',\n );\n\n // VirtualizedList uses inclusive ranges, where zero-count states are\n // possible. E.g. [0, -1] for no cells, starting at 0.\n if (cells.last < cells.first) {\n return;\n }\n\n const [firstIntersect, firstIntersectIdx] = this._findRegion(cells.first);\n const [lastIntersect, lastIntersectIdx] = this._findRegion(cells.last);\n\n // Fast-path if the cells to add are already all present in the mask. We\n // will otherwise need to do some mutation.\n if (firstIntersectIdx === lastIntersectIdx && !firstIntersect.isSpacer) {\n return;\n }\n\n // We need to replace the existing covered regions with 1-3 new regions\n // depending whether we need to split spacers out of overlapping regions.\n const newLeadRegion: Array = [];\n const newTailRegion: Array = [];\n const newMainRegion: CellRegion = {\n ...cells,\n isSpacer: false,\n };\n\n if (firstIntersect.first < newMainRegion.first) {\n if (firstIntersect.isSpacer) {\n newLeadRegion.push({\n first: firstIntersect.first,\n last: newMainRegion.first - 1,\n isSpacer: true,\n });\n } else {\n newMainRegion.first = firstIntersect.first;\n }\n }\n\n if (lastIntersect.last > newMainRegion.last) {\n if (lastIntersect.isSpacer) {\n newTailRegion.push({\n first: newMainRegion.last + 1,\n last: lastIntersect.last,\n isSpacer: true,\n });\n } else {\n newMainRegion.last = lastIntersect.last;\n }\n }\n\n const replacementRegions: Array = [\n ...newLeadRegion,\n newMainRegion,\n ...newTailRegion,\n ];\n const numRegionsToDelete = lastIntersectIdx - firstIntersectIdx + 1;\n this._regions.splice(\n firstIntersectIdx,\n numRegionsToDelete,\n ...replacementRegions,\n );\n }\n\n numCells(): number {\n return this._numCells;\n }\n\n equals(other: CellRenderMask): boolean {\n return (\n this._numCells === other._numCells &&\n this._regions.length === other._regions.length &&\n this._regions.every(\n (region, i) =>\n region.first === other._regions[i].first &&\n region.last === other._regions[i].last &&\n region.isSpacer === other._regions[i].isSpacer,\n )\n );\n }\n\n _findRegion(cellIdx: number): [CellRegion, number] {\n let firstIdx = 0;\n let lastIdx = this._regions.length - 1;\n\n while (firstIdx <= lastIdx) {\n const middleIdx = Math.floor((firstIdx + lastIdx) / 2);\n const middleRegion = this._regions[middleIdx];\n\n if (cellIdx >= middleRegion.first && cellIdx <= middleRegion.last) {\n return [middleRegion, middleIdx];\n } else if (cellIdx < middleRegion.first) {\n lastIdx = middleIdx - 1;\n } else if (cellIdx > middleRegion.last) {\n firstIdx = middleIdx + 1;\n }\n }\n\n invariant(false, `A region was not found containing cellIdx ${cellIdx}`);\n }\n}\n","'use strict';\n\nvar safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nmodule.exports = memoizeOne;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport Image from '../../Image/Image';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport * as React from 'react';\n\nexport default (createAnimatedComponent(\n (Image: $FlowFixMe),\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ImageStyleProp} from '../StyleSheet/StyleSheet';\nimport type {RootTag} from '../Types/RootTagTypes';\nimport type {ImageIOS} from './Image.flow';\nimport type {ImageProps as ImagePropsType} from './ImageProps';\n\nimport flattenStyle from '../StyleSheet/flattenStyle';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport ImageAnalyticsTagContext from './ImageAnalyticsTagContext';\nimport ImageInjection from './ImageInjection';\nimport {getImageSourcesFromImageProps} from './ImageSourceUtils';\nimport {convertObjectFitToResizeMode} from './ImageUtils';\nimport ImageViewNativeComponent from './ImageViewNativeComponent';\nimport NativeImageLoaderIOS from './NativeImageLoaderIOS';\nimport resolveAssetSource from './resolveAssetSource';\nimport * as React from 'react';\n\nfunction getSize(\n uri: string,\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n) {\n NativeImageLoaderIOS.getSize(uri)\n .then(([width, height]) => success(width, height))\n .catch(\n failure ||\n function () {\n console.warn('Failed to get size for image ' + uri);\n },\n );\n}\n\nfunction getSizeWithHeaders(\n uri: string,\n headers: {[string]: string, ...},\n success: (width: number, height: number) => void,\n failure?: (error: any) => void,\n): any {\n return NativeImageLoaderIOS.getSizeWithHeaders(uri, headers)\n .then(function (sizes) {\n success(sizes.width, sizes.height);\n })\n .catch(\n failure ||\n function () {\n console.warn('Failed to get size for image: ' + uri);\n },\n );\n}\n\nfunction prefetchWithMetadata(\n url: string,\n queryRootName: string,\n rootTag?: ?RootTag,\n): any {\n if (NativeImageLoaderIOS.prefetchImageWithMetadata) {\n // number params like rootTag cannot be nullable before TurboModules is available\n return NativeImageLoaderIOS.prefetchImageWithMetadata(\n url,\n queryRootName,\n // NOTE: RootTag type\n // $FlowFixMe[incompatible-call] RootTag: number is incompatible with RootTag\n rootTag ? rootTag : 0,\n );\n } else {\n return NativeImageLoaderIOS.prefetchImage(url);\n }\n}\n\nfunction prefetch(url: string): any {\n return NativeImageLoaderIOS.prefetchImage(url);\n}\n\nasync function queryCache(\n urls: Array,\n): Promise<{[string]: 'memory' | 'disk' | 'disk/memory', ...}> {\n return await NativeImageLoaderIOS.queryCache(urls);\n}\n\nexport type ImageComponentStatics = $ReadOnly<{|\n getSize: typeof getSize,\n getSizeWithHeaders: typeof getSizeWithHeaders,\n prefetch: typeof prefetch,\n prefetchWithMetadata: typeof prefetchWithMetadata,\n queryCache: typeof queryCache,\n resolveAssetSource: typeof resolveAssetSource,\n|}>;\n\n/**\n * A React component for displaying different types of images,\n * including network images, static resources, temporary local images, and\n * images from local disk, such as the camera roll.\n *\n * See https://reactnative.dev/docs/image\n */\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nconst BaseImage = (props: ImagePropsType, forwardedRef) => {\n const source = getImageSourcesFromImageProps(props) || {\n uri: undefined,\n width: undefined,\n height: undefined,\n };\n\n let sources;\n let style: ImageStyleProp;\n if (Array.isArray(source)) {\n style = flattenStyle([styles.base, props.style]) || {};\n sources = source;\n } else {\n const {width = props.width, height = props.height, uri} = source;\n style = flattenStyle([{width, height}, styles.base, props.style]) || {};\n sources = [source];\n\n if (uri === '') {\n console.warn('source.uri should not be an empty string');\n }\n }\n\n const objectFit =\n // $FlowFixMe[prop-missing]\n style && style.objectFit\n ? convertObjectFitToResizeMode(style.objectFit)\n : null;\n const resizeMode =\n // $FlowFixMe[prop-missing]\n objectFit || props.resizeMode || (style && style.resizeMode) || 'cover';\n // $FlowFixMe[prop-missing]\n const tintColor = props.tintColor || style.tintColor;\n\n if (props.children != null) {\n throw new Error(\n 'The component cannot contain children. If you want to render content on top of the image, consider using the component or absolute positioning.',\n );\n }\n const {\n 'aria-busy': ariaBusy,\n 'aria-checked': ariaChecked,\n 'aria-disabled': ariaDisabled,\n 'aria-expanded': ariaExpanded,\n 'aria-selected': ariaSelected,\n height,\n src,\n width,\n ...restProps\n } = props;\n\n const _accessibilityState = {\n busy: ariaBusy ?? props.accessibilityState?.busy,\n checked: ariaChecked ?? props.accessibilityState?.checked,\n disabled: ariaDisabled ?? props.accessibilityState?.disabled,\n expanded: ariaExpanded ?? props.accessibilityState?.expanded,\n selected: ariaSelected ?? props.accessibilityState?.selected,\n };\n const accessibilityLabel = props['aria-label'] ?? props.accessibilityLabel;\n\n return (\n \n {analyticTag => {\n return (\n \n );\n }}\n \n );\n};\n\nconst ImageForwardRef = React.forwardRef<\n ImagePropsType,\n React.ElementRef,\n>(BaseImage);\n\nlet Image = ImageForwardRef;\nif (ImageInjection.unstable_createImageComponent != null) {\n Image = ImageInjection.unstable_createImageComponent(Image);\n}\n\nImage.displayName = 'Image';\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it.\n *\n * See https://reactnative.dev/docs/image#getsize\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.getSize = getSize;\n\n/**\n * Retrieve the width and height (in pixels) of an image prior to displaying it\n * with the ability to provide the headers for the request.\n *\n * See https://reactnative.dev/docs/image#getsizewithheaders\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.getSizeWithHeaders = getSizeWithHeaders;\n\n/**\n * Prefetches a remote image for later use by downloading it to the disk\n * cache.\n *\n * See https://reactnative.dev/docs/image#prefetch\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.prefetch = prefetch;\n\n/**\n * Prefetches a remote image for later use by downloading it to the disk\n * cache, and adds metadata for queryRootName and rootTag.\n *\n * See https://reactnative.dev/docs/image#prefetch\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.prefetchWithMetadata = prefetchWithMetadata;\n\n/**\n * Performs cache interrogation.\n *\n * See https://reactnative.dev/docs/image#querycache\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.queryCache = queryCache;\n\n/**\n * Resolves an asset reference into an object.\n *\n * See https://reactnative.dev/docs/image#resolveassetsource\n */\n/* $FlowFixMe[prop-missing] (>=0.89.0 site=react_native_ios_fb) This comment\n * suppresses an error found when Flow v0.89 was deployed. To see the error,\n * delete this comment and run Flow. */\nImage.resolveAssetSource = resolveAssetSource;\n\n/**\n * Switch to `deprecated-react-native-prop-types` for compatibility with future\n * releases. This is deprecated and will be removed in the future.\n */\nImage.propTypes = require('deprecated-react-native-prop-types').ImagePropTypes;\n\nconst styles = StyleSheet.create({\n base: {\n overflow: 'hidden',\n },\n});\n\nmodule.exports = ((Image: any): ImageIOS);\n","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nfunction _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}\n\nmodule.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport * as React from 'react';\n\ntype ContextType = ?string;\n\nconst Context: React.Context =\n React.createContext(null);\n\nif (__DEV__) {\n Context.displayName = 'ImageAnalyticsTagContext';\n}\n\nexport default Context;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format strict-local\n * @flow\n */\n\nimport type {ImageProps as ImagePropsType} from './ImageProps';\n\nimport ImageViewNativeComponent from './ImageViewNativeComponent';\nimport TextInlineImageNativeComponent from './TextInlineImageNativeComponent';\nimport * as React from 'react';\n\nexport default {\n unstable_createImageComponent: (null: ?(\n Image: React.AbstractComponent<\n ImagePropsType,\n | React.ElementRef\n | React.ElementRef,\n >,\n ) => React.AbstractComponent<\n ImagePropsType,\n | React.ElementRef\n | React.ElementRef,\n >),\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\nimport type {\n ColorValue,\n DangerouslyImpreciseStyle,\n ImageStyleProp,\n} from '../StyleSheet/StyleSheet';\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\nimport type {ImageProps} from './ImageProps';\n\nimport * as NativeComponentRegistry from '../NativeComponent/NativeComponentRegistry';\nimport {ConditionallyIgnoredEventHandlers} from '../NativeComponent/ViewConfigIgnore';\nimport Platform from '../Utilities/Platform';\n\ntype Props = $ReadOnly<{\n ...ImageProps,\n ...ViewProps,\n\n style?: ImageStyleProp | DangerouslyImpreciseStyle,\n\n // iOS native props\n tintColor?: ColorValue,\n\n // Android native props\n shouldNotifyLoadEvents?: boolean,\n src?:\n | ?ResolvedAssetSource\n | ?$ReadOnlyArray>,\n headers?: ?{[string]: string},\n defaultSrc?: ?string,\n loadingIndicatorSrc?: ?string,\n}>;\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig =\n Platform.OS === 'android'\n ? {\n uiViewClassName: 'RCTImageView',\n bubblingEventTypes: {},\n directEventTypes: {\n topLoadStart: {\n registrationName: 'onLoadStart',\n },\n topProgress: {\n registrationName: 'onProgress',\n },\n topError: {\n registrationName: 'onError',\n },\n topLoad: {\n registrationName: 'onLoad',\n },\n topLoadEnd: {\n registrationName: 'onLoadEnd',\n },\n },\n validAttributes: {\n blurRadius: true,\n internal_analyticTag: true,\n resizeMode: true,\n tintColor: {\n process: require('../StyleSheet/processColor'),\n },\n borderBottomLeftRadius: true,\n borderTopLeftRadius: true,\n resizeMethod: true,\n src: true,\n borderRadius: true,\n headers: true,\n shouldNotifyLoadEvents: true,\n defaultSrc: true,\n overlayColor: {\n process: require('../StyleSheet/processColor'),\n },\n borderColor: {\n process: require('../StyleSheet/processColor'),\n },\n accessible: true,\n progressiveRenderingEnabled: true,\n fadeDuration: true,\n borderBottomRightRadius: true,\n borderTopRightRadius: true,\n loadingIndicatorSrc: true,\n },\n }\n : {\n uiViewClassName: 'RCTImageView',\n bubblingEventTypes: {},\n directEventTypes: {\n topLoadStart: {\n registrationName: 'onLoadStart',\n },\n topProgress: {\n registrationName: 'onProgress',\n },\n topError: {\n registrationName: 'onError',\n },\n topPartialLoad: {\n registrationName: 'onPartialLoad',\n },\n topLoad: {\n registrationName: 'onLoad',\n },\n topLoadEnd: {\n registrationName: 'onLoadEnd',\n },\n },\n validAttributes: {\n blurRadius: true,\n capInsets: {\n diff: require('../Utilities/differ/insetsDiffer'),\n },\n defaultSource: {\n process: require('./resolveAssetSource'),\n },\n internal_analyticTag: true,\n resizeMode: true,\n source: true,\n tintColor: {\n process: require('../StyleSheet/processColor'),\n },\n ...ConditionallyIgnoredEventHandlers({\n onLoadStart: true,\n onLoad: true,\n onLoadEnd: true,\n onProgress: true,\n onError: true,\n onPartialLoad: true,\n }),\n },\n };\n\nconst ImageViewNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'RCTImageView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\nexport default ImageViewNativeComponent;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../StyleSheet/StyleSheet';\nimport type {ImageResizeMode} from './ImageResizeMode';\n\nimport * as NativeComponentRegistry from '../NativeComponent/NativeComponentRegistry';\n\ntype NativeProps = $ReadOnly<{\n ...ViewProps,\n resizeMode?: ?ImageResizeMode,\n src?: ?$ReadOnlyArray>,\n tintColor?: ?ColorValue,\n headers?: ?{[string]: string},\n}>;\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'RCTTextInlineImage',\n bubblingEventTypes: {},\n directEventTypes: {},\n validAttributes: {\n resizeMode: true,\n src: true,\n tintColor: {\n process: require('../StyleSheet/processColor'),\n },\n headers: true,\n },\n};\n\nconst TextInlineImage: HostComponent =\n NativeComponentRegistry.get(\n 'RCTTextInlineImage',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\nexport default TextInlineImage;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {RootTag} from '../TurboModule/RCTExport';\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n // Return [width, height] of image uri\n +getSize: (uri: string) => Promise<$ReadOnlyArray>;\n +getSizeWithHeaders: (\n uri: string,\n headers: Object,\n ) => Promise<{\n width: number,\n height: number,\n ...\n }>;\n +prefetchImage: (uri: string) => Promise;\n +prefetchImageWithMetadata?: (\n uri: string,\n queryRootName: string,\n rootTag: RootTag,\n ) => Promise;\n +queryCache: (uris: Array) => Promise;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('ImageLoader'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport type {ResolvedAssetSource} from './AssetSourceResolver';\nimport type {ImageProps} from './ImageProps';\n\nimport resolveAssetSource from './resolveAssetSource';\n\n/**\n * A function which returns the appropriate value for image source\n * by resolving the `source`, `src` and `srcSet` props.\n */\nexport function getImageSourcesFromImageProps(\n imageProps: ImageProps,\n): ?ResolvedAssetSource | $ReadOnlyArray<{uri: string, ...}> {\n let source = resolveAssetSource(imageProps.source);\n\n let sources;\n\n const {crossOrigin, referrerPolicy, src, srcSet, width, height} = imageProps;\n\n const headers: {[string]: string} = {};\n if (crossOrigin === 'use-credentials') {\n headers['Access-Control-Allow-Credentials'] = 'true';\n }\n if (referrerPolicy != null) {\n headers['Referrer-Policy'] = referrerPolicy;\n }\n if (srcSet != null) {\n const sourceList = [];\n const srcSetList = srcSet.split(', ');\n // `src` prop should be used with default scale if `srcSet` does not have 1x scale.\n let shouldUseSrcForDefaultScale = true;\n srcSetList.forEach(imageSrc => {\n const [uri, xScale = '1x'] = imageSrc.split(' ');\n if (!xScale.endsWith('x')) {\n console.warn(\n 'The provided format for scale is not supported yet. Please use scales like 1x, 2x, etc.',\n );\n } else {\n const scale = parseInt(xScale.split('x')[0], 10);\n if (!isNaN(scale)) {\n // 1x scale is provided in `srcSet` prop so ignore the `src` prop if provided.\n shouldUseSrcForDefaultScale =\n scale === 1 ? false : shouldUseSrcForDefaultScale;\n sourceList.push({headers: headers, scale, uri, width, height});\n }\n }\n });\n\n if (shouldUseSrcForDefaultScale && src != null) {\n sourceList.push({\n headers: headers,\n scale: 1,\n uri: src,\n width,\n height,\n });\n }\n if (sourceList.length === 0) {\n console.warn('The provided value for srcSet is not valid.');\n }\n\n sources = sourceList;\n } else if (src != null) {\n sources = [{uri: src, headers: headers, width, height}];\n } else {\n sources = source;\n }\n return sources;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\ntype ResizeMode = 'cover' | 'contain' | 'stretch' | 'repeat' | 'center';\n\nexport function convertObjectFitToResizeMode(objectFit: string): ResizeMode {\n const objectFitMap = {\n contain: 'contain',\n cover: 'cover',\n fill: 'stretch',\n 'scale-down': 'contain',\n };\n return objectFitMap[objectFit];\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {____ViewStyle_Internal} from '../../StyleSheet/StyleSheetTypes';\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport RefreshControl from '../../Components/RefreshControl/RefreshControl';\nimport ScrollView from '../../Components/ScrollView/ScrollView';\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport splitLayoutProps from '../../StyleSheet/splitLayoutProps';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport useMergeRefs from '../../Utilities/useMergeRefs';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport useAnimatedProps from '../useAnimatedProps';\nimport * as React from 'react';\nimport {useMemo} from 'react';\n\ntype Props = React.ElementConfig;\ntype Instance = React.ElementRef;\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst AnimatedScrollView: AnimatedComponentType =\n React.forwardRef((props, forwardedRef) => {\n // (Android only) When a ScrollView has a RefreshControl and\n // any `style` property set with an Animated.Value, the CSS\n // gets incorrectly applied twice. This is because ScrollView\n // swaps the parent/child relationship of itself and the\n // RefreshControl component (see ScrollView.js for more details).\n if (\n Platform.OS === 'android' &&\n props.refreshControl != null &&\n props.style != null\n ) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n });\n\nconst AnimatedScrollViewWithInvertedRefreshControl = React.forwardRef(\n (\n props: {\n ...React.ElementConfig,\n // $FlowFixMe[unclear-type] Same Flow type as `refreshControl` in ScrollView\n refreshControl: React.Element,\n },\n forwardedRef,\n ) => {\n // Split `props` into the animate-able props for the parent (RefreshControl)\n // and child (ScrollView).\n const {intermediatePropsForRefreshControl, intermediatePropsForScrollView} =\n useMemo(() => {\n const {outer, inner} = splitLayoutProps(flattenStyle(props.style));\n return {\n intermediatePropsForRefreshControl: {style: outer},\n intermediatePropsForScrollView: {...props, style: inner},\n };\n }, [props]);\n\n // Handle animated props on `refreshControl`.\n const [refreshControlAnimatedProps, refreshControlRef] = useAnimatedProps<\n {style: ?____ViewStyle_Internal},\n $FlowFixMe,\n >(intermediatePropsForRefreshControl);\n // NOTE: Assumes that refreshControl.ref` and `refreshControl.style` can be\n // safely clobbered.\n const refreshControl: React.Element =\n React.cloneElement(props.refreshControl, {\n ...refreshControlAnimatedProps,\n ref: refreshControlRef,\n });\n\n // Handle animated props on `NativeDirectionalScrollView`.\n const [scrollViewAnimatedProps, scrollViewRef] = useAnimatedProps<\n Props,\n Instance,\n >(intermediatePropsForScrollView);\n const ref = useMergeRefs(scrollViewRef, forwardedRef);\n\n return (\n // $FlowFixMe[incompatible-use] Investigate useAnimatedProps return value\n \n );\n },\n);\n\nconst AnimatedScrollViewWithoutInvertedRefreshControl =\n createAnimatedComponent(ScrollView);\n\nexport default AnimatedScrollView;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\n'use strict';\n\nimport useRefEffect from '../Utilities/useRefEffect';\nimport {AnimatedEvent} from './AnimatedEvent';\nimport NativeAnimatedHelper from './NativeAnimatedHelper';\nimport AnimatedProps from './nodes/AnimatedProps';\nimport {\n useCallback,\n useEffect,\n useLayoutEffect,\n useMemo,\n useReducer,\n useRef,\n} from 'react';\n\ntype ReducedProps = {\n ...TProps,\n collapsable: boolean,\n ...\n};\ntype CallbackRef = T => mixed;\n\nexport default function useAnimatedProps(\n props: TProps,\n): [ReducedProps, CallbackRef] {\n const [, scheduleUpdate] = useReducer(count => count + 1, 0);\n const onUpdateRef = useRef void>(null);\n\n // TODO: Only invalidate `node` if animated props or `style` change. In the\n // previous implementation, we permitted `style` to override props with the\n // same name property name as styles, so we can probably continue doing that.\n // The ordering of other props *should* not matter.\n const node = useMemo(\n () => new AnimatedProps(props, () => onUpdateRef.current?.()),\n [props],\n );\n useAnimatedPropsLifecycle(node);\n\n // TODO: This \"effect\" does three things:\n //\n // 1) Call `setNativeView`.\n // 2) Update `onUpdateRef`.\n // 3) Update listeners for `AnimatedEvent` props.\n //\n // Ideally, each of these would be separat \"effects\" so that they are not\n // unnecessarily re-run when irrelevant dependencies change. For example, we\n // should be able to hoist all `AnimatedEvent` props and only do #3 if either\n // the `AnimatedEvent` props change or `instance` changes.\n //\n // But there is no way to transparently compose three separate callback refs,\n // so we just combine them all into one for now.\n const refEffect = useCallback(\n (instance: TInstance) => {\n // NOTE: This may be called more often than necessary (e.g. when `props`\n // changes), but `setNativeView` already optimizes for that.\n node.setNativeView(instance);\n\n // NOTE: This callback is only used by the JavaScript animation driver.\n onUpdateRef.current = () => {\n if (\n process.env.NODE_ENV === 'test' ||\n typeof instance !== 'object' ||\n typeof instance?.setNativeProps !== 'function' ||\n isFabricInstance(instance)\n ) {\n // Schedule an update for this component to update `reducedProps`,\n // but do not compute it immediately. If a parent also updated, we\n // need to merge those new props in before updating.\n scheduleUpdate();\n } else if (!node.__isNative) {\n // $FlowIgnore[not-a-function] - Assume it's still a function.\n // $FlowFixMe[incompatible-use]\n instance.setNativeProps(node.__getAnimatedValue());\n } else {\n throw new Error(\n 'Attempting to run JS driven animation on animated node ' +\n 'that has been moved to \"native\" earlier by starting an ' +\n 'animation with `useNativeDriver: true`',\n );\n }\n };\n\n const target = getEventTarget(instance);\n const events = [];\n\n for (const propName in props) {\n const propValue = props[propName];\n if (propValue instanceof AnimatedEvent && propValue.__isNative) {\n propValue.__attach(target, propName);\n events.push([propName, propValue]);\n }\n }\n\n return () => {\n onUpdateRef.current = null;\n\n for (const [propName, propValue] of events) {\n propValue.__detach(target, propName);\n }\n };\n },\n [props, node],\n );\n const callbackRef = useRefEffect(refEffect);\n\n return [reduceAnimatedProps(node), callbackRef];\n}\n\nfunction reduceAnimatedProps(\n node: AnimatedProps,\n): ReducedProps {\n // Force `collapsable` to be false so that the native view is not flattened.\n // Flattened views cannot be accurately referenced by the native driver.\n return {\n ...node.__getValue(),\n collapsable: false,\n };\n}\n\n/**\n * Manages the lifecycle of the supplied `AnimatedProps` by invoking `__attach`\n * and `__detach`. However, this is more complicated because `AnimatedProps`\n * uses reference counting to determine when to recursively detach its children\n * nodes. So in order to optimize this, we avoid detaching until the next attach\n * unless we are unmounting.\n */\nfunction useAnimatedPropsLifecycle(node: AnimatedProps): void {\n const prevNodeRef = useRef(null);\n const isUnmountingRef = useRef(false);\n\n useEffect(() => {\n // It is ok for multiple components to call `flushQueue` because it noops\n // if the queue is empty. When multiple animated components are mounted at\n // the same time. Only first component flushes the queue and the others will noop.\n NativeAnimatedHelper.API.flushQueue();\n });\n\n useLayoutEffect(() => {\n isUnmountingRef.current = false;\n return () => {\n isUnmountingRef.current = true;\n };\n }, []);\n\n useLayoutEffect(() => {\n node.__attach();\n if (prevNodeRef.current != null) {\n const prevNode = prevNodeRef.current;\n // TODO: Stop restoring default values (unless `reset` is called).\n prevNode.__restoreDefaultValues();\n prevNode.__detach();\n prevNodeRef.current = null;\n }\n return () => {\n if (isUnmountingRef.current) {\n // NOTE: Do not restore default values on unmount, see D18197735.\n node.__detach();\n } else {\n prevNodeRef.current = node;\n }\n };\n }, [node]);\n}\n\nfunction getEventTarget(instance: TInstance): TInstance {\n return typeof instance === 'object' &&\n typeof instance?.getScrollableNode === 'function'\n ? // $FlowFixMe[incompatible-use] - Legacy instance assumptions.\n instance.getScrollableNode()\n : instance;\n}\n\n// $FlowFixMe[unclear-type] - Legacy instance assumptions.\nfunction isFabricInstance(instance: any): boolean {\n return (\n hasFabricHandle(instance) ||\n // Some components have a setNativeProps function but aren't a host component\n // such as lists like FlatList and SectionList. These should also use\n // forceUpdate in Fabric since setNativeProps doesn't exist on the underlying\n // host component. This crazy hack is essentially special casing those lists and\n // ScrollView itself to use forceUpdate in Fabric.\n // If these components end up using forwardRef then these hacks can go away\n // as instance would actually be the underlying host component and the above check\n // would be sufficient.\n hasFabricHandle(instance?.getNativeScrollRef?.()) ||\n hasFabricHandle(instance?.getScrollResponder?.()?.getNativeScrollRef?.())\n );\n}\n\n// $FlowFixMe[unclear-type] - Legacy instance assumptions.\nfunction hasFabricHandle(instance: any): boolean {\n // eslint-disable-next-line dot-notation\n return instance?.['_internalInstanceHandle']?.stateNode?.canonical != null;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport {useCallback, useRef} from 'react';\n\ntype CallbackRef = T => mixed;\n\n/**\n * Constructs a callback ref that provides similar semantics as `useEffect`. The\n * supplied `effect` callback will be called with non-null component instances.\n * The `effect` callback can also optionally return a cleanup function.\n *\n * When a component is updated or unmounted, the cleanup function is called. The\n * `effect` callback will then be called again, if applicable.\n *\n * When a new `effect` callback is supplied, the previously returned cleanup\n * function will be called before the new `effect` callback is called with the\n * same instance.\n *\n * WARNING: The `effect` callback should be stable (e.g. using `useCallback`).\n */\nexport default function useRefEffect(\n effect: TInstance => (() => void) | void,\n): CallbackRef {\n const cleanupRef = useRef<(() => void) | void>(undefined);\n return useCallback(\n (instance: null | TInstance) => {\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (instance != null) {\n cleanupRef.current = effect(instance);\n }\n },\n [effect],\n );\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport SectionList from '../../Lists/SectionList';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport * as React from 'react';\n\n/**\n * @see https://github.com/facebook/react-native/commit/b8c8562\n */\nconst SectionListWithEventThrottle = React.forwardRef((props, ref) => (\n \n));\n\nexport default (createAnimatedComponent(\n SectionListWithEventThrottle,\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {ScrollResponderType} from '../Components/ScrollView/ScrollView';\nimport type {\n Props as VirtualizedSectionListProps,\n ScrollToLocationParamsType,\n SectionBase as _SectionBase,\n} from './VirtualizedSectionList';\n\nimport Platform from '../Utilities/Platform';\nimport VirtualizedSectionList from './VirtualizedSectionList';\nimport * as React from 'react';\n\ntype Item = any;\n\nexport type SectionBase = _SectionBase;\n\ntype RequiredProps> = {|\n /**\n * The actual data to render, akin to the `data` prop in [``](https://reactnative.dev/docs/flatlist).\n *\n * General shape:\n *\n * sections: $ReadOnlyArray<{\n * data: $ReadOnlyArray,\n * renderItem?: ({item: SectionItem, ...}) => ?React.Element<*>,\n * ItemSeparatorComponent?: ?ReactClass<{highlighted: boolean, ...}>,\n * }>\n */\n sections: $ReadOnlyArray,\n|};\n\ntype OptionalProps> = {|\n /**\n * Default renderer for every item in every section. Can be over-ridden on a per-section basis.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n /**\n * A marker property for telling the list to re-render (since it implements `PureComponent`). If\n * any of your `renderItem`, Header, Footer, etc. functions depend on anything outside of the\n * `data` prop, stick it here and treat it immutably.\n */\n extraData?: any,\n /**\n * How many items to render in the initial batch. This should be enough to fill the screen but not\n * much more. Note these items will never be unmounted as part of the windowed rendering in order\n * to improve perceived performance of scroll-to-top actions.\n */\n initialNumToRender?: ?number,\n /**\n * Reverses the direction of scroll. Uses scale transforms of -1.\n */\n inverted?: ?boolean,\n /**\n * Used to extract a unique key for a given item at the specified index. Key is used for caching\n * and as the react key to track item re-ordering. The default extractor checks item.key, then\n * falls back to using the index, like react does. Note that this sets keys for each item, but\n * each overall section still needs its own key.\n */\n keyExtractor?: ?(item: Item, index: number) => string,\n /**\n * Called once when the scroll position gets within `onEndReachedThreshold` of the rendered\n * content.\n */\n onEndReached?: ?(info: {distanceFromEnd: number, ...}) => void,\n /**\n * Note: may have bugs (missing content) in some circumstances - use at your own risk.\n *\n * This may improve scroll performance for large lists.\n */\n removeClippedSubviews?: boolean,\n|};\n\nexport type Props = {|\n ...$Diff<\n VirtualizedSectionListProps,\n {\n getItem: $PropertyType, 'getItem'>,\n getItemCount: $PropertyType<\n VirtualizedSectionListProps,\n 'getItemCount',\n >,\n renderItem: $PropertyType<\n VirtualizedSectionListProps,\n 'renderItem',\n >,\n keyExtractor: $PropertyType<\n VirtualizedSectionListProps,\n 'keyExtractor',\n >,\n ...\n },\n >,\n ...RequiredProps,\n ...OptionalProps,\n|};\n\n/**\n * A performant interface for rendering sectioned lists, supporting the most handy features:\n *\n * - Fully cross-platform.\n * - Configurable viewability callbacks.\n * - List header support.\n * - List footer support.\n * - Item separator support.\n * - Section header support.\n * - Section separator support.\n * - Heterogeneous data and item rendering support.\n * - Pull to Refresh.\n * - Scroll loading.\n *\n * If you don't need section support and want a simpler interface, use\n * [``](https://reactnative.dev/docs/flatlist).\n *\n * Simple Examples:\n *\n * }\n * renderSectionHeader={({section}) =>
}\n * sections={[ // homogeneous rendering between sections\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * {data: [...], title: ...},\n * ]}\n * />\n *\n * \n *\n * This is a convenience wrapper around [``](docs/virtualizedlist),\n * and thus inherits its props (as well as those of `ScrollView`) that aren't explicitly listed\n * here, along with the following caveats:\n *\n * - Internal state is not preserved when content scrolls out of the render window. Make sure all\n * your data is captured in the item data or external stores like Flux, Redux, or Relay.\n * - This is a `PureComponent` which means that it will not re-render if `props` remain shallow-\n * equal. Make sure that everything your `renderItem` function depends on is passed as a prop\n * (e.g. `extraData`) that is not `===` after updates, otherwise your UI may not update on\n * changes. This includes the `data` prop and parent component state.\n * - In order to constrain memory and enable smooth scrolling, content is rendered asynchronously\n * offscreen. This means it's possible to scroll faster than the fill rate and momentarily see\n * blank content. This is a tradeoff that can be adjusted to suit the needs of each application,\n * and we are working on improving it behind the scenes.\n * - By default, the list looks for a `key` prop on each item and uses that for the React key.\n * Alternatively, you can provide a custom `keyExtractor` prop.\n *\n */\nexport default class SectionList<\n SectionT: SectionBase,\n> extends React.PureComponent, void> {\n props: Props;\n\n /**\n * Scrolls to the item at the specified `sectionIndex` and `itemIndex` (within the section)\n * positioned in the viewable area such that `viewPosition` 0 places it at the top (and may be\n * covered by a sticky header), 1 at the bottom, and 0.5 centered in the middle. `viewOffset` is a\n * fixed number of pixels to offset the final target position, e.g. to compensate for sticky\n * headers.\n *\n * Note: cannot scroll to locations outside the render window without specifying the\n * `getItemLayout` prop.\n */\n scrollToLocation(params: ScrollToLocationParamsType) {\n if (this._wrapperListRef != null) {\n this._wrapperListRef.scrollToLocation(params);\n }\n }\n\n /**\n * Tells the list an interaction has occurred, which should trigger viewability calculations, e.g.\n * if `waitForInteractions` is true and the user has not scrolled. This is typically called by\n * taps on items or by navigation actions.\n */\n recordInteraction() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.recordInteraction();\n }\n\n /**\n * Displays the scroll indicators momentarily.\n *\n * @platform ios\n */\n flashScrollIndicators() {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n listRef && listRef.flashScrollIndicators();\n }\n\n /**\n * Provides a handle to the underlying scroll responder.\n */\n getScrollResponder(): ?ScrollResponderType {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollResponder();\n }\n }\n\n getScrollableNode(): any {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n return listRef.getScrollableNode();\n }\n }\n\n setNativeProps(props: Object) {\n const listRef = this._wrapperListRef && this._wrapperListRef.getListRef();\n if (listRef) {\n listRef.setNativeProps(props);\n }\n }\n\n render(): React.Node {\n const {\n stickySectionHeadersEnabled: _stickySectionHeadersEnabled,\n ...restProps\n } = this.props;\n const stickySectionHeadersEnabled =\n _stickySectionHeadersEnabled ?? Platform.OS === 'ios';\n return (\n items.length}\n getItem={(items, index) => items[index]}\n />\n );\n }\n\n _wrapperListRef: ?React.ElementRef;\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\n _captureRef = ref => {\n this._wrapperListRef = ref;\n };\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ViewToken} from './ViewabilityHelper';\n\nimport View from '../Components/View/View';\nimport VirtualizedList from './VirtualizedList';\nimport {keyExtractor as defaultKeyExtractor} from './VirtualizeUtils';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\ntype Item = any;\n\nexport type SectionBase = {\n /**\n * The data for rendering items in this section.\n */\n data: $ReadOnlyArray,\n /**\n * Optional key to keep track of section re-ordering. If you don't plan on re-ordering sections,\n * the array index will be used by default.\n */\n key?: string,\n // Optional props will override list-wide props just for this section.\n renderItem?: ?(info: {\n item: SectionItemT,\n index: number,\n section: SectionBase,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n ItemSeparatorComponent?: ?React.ComponentType,\n keyExtractor?: (item: SectionItemT, index?: ?number) => string,\n ...\n};\n\ntype RequiredProps> = {|\n sections: $ReadOnlyArray,\n|};\n\ntype OptionalProps> = {|\n /**\n * Default renderer for every item in every section.\n */\n renderItem?: (info: {\n item: Item,\n index: number,\n section: SectionT,\n separators: {\n highlight: () => void,\n unhighlight: () => void,\n updateProps: (select: 'leading' | 'trailing', newProps: Object) => void,\n ...\n },\n ...\n }) => null | React.Element,\n /**\n * Rendered at the top of each section. These stick to the top of the `ScrollView` by default on\n * iOS. See `stickySectionHeadersEnabled`.\n */\n renderSectionHeader?: ?(info: {\n section: SectionT,\n ...\n }) => null | React.Element,\n /**\n * Rendered at the bottom of each section.\n */\n renderSectionFooter?: ?(info: {\n section: SectionT,\n ...\n }) => null | React.Element,\n /**\n * Rendered at the top and bottom of each section (note this is different from\n * `ItemSeparatorComponent` which is only rendered between items). These are intended to separate\n * sections from the headers above and below and typically have the same highlight response as\n * `ItemSeparatorComponent`. Also receives `highlighted`, `[leading/trailing][Item/Separator]`,\n * and any custom props from `separators.updateProps`.\n */\n SectionSeparatorComponent?: ?React.ComponentType,\n /**\n * Makes section headers stick to the top of the screen until the next one pushes it off. Only\n * enabled by default on iOS because that is the platform standard there.\n */\n stickySectionHeadersEnabled?: boolean,\n onEndReached?: ?({distanceFromEnd: number, ...}) => void,\n|};\n\ntype VirtualizedListProps = React.ElementConfig;\n\nexport type Props = {|\n ...RequiredProps,\n ...OptionalProps,\n ...$Diff<\n VirtualizedListProps,\n {\n renderItem: $PropertyType,\n data: $PropertyType,\n ...\n },\n >,\n|};\nexport type ScrollToLocationParamsType = {|\n animated?: ?boolean,\n itemIndex: number,\n sectionIndex: number,\n viewOffset?: number,\n viewPosition?: number,\n|};\n\ntype State = {childProps: VirtualizedListProps, ...};\n\n/**\n * Right now this just flattens everything into one list and uses VirtualizedList under the\n * hood. The only operation that might not scale well is concatting the data arrays of all the\n * sections when new props are received, which should be plenty fast for up to ~10,000 items.\n */\nclass VirtualizedSectionList<\n SectionT: SectionBase,\n> extends React.PureComponent, State> {\n scrollToLocation(params: ScrollToLocationParamsType) {\n let index = params.itemIndex;\n for (let i = 0; i < params.sectionIndex; i++) {\n index += this.props.getItemCount(this.props.sections[i].data) + 2;\n }\n let viewOffset = params.viewOffset || 0;\n if (this._listRef == null) {\n return;\n }\n if (params.itemIndex > 0 && this.props.stickySectionHeadersEnabled) {\n const frame = this._listRef.__getFrameMetricsApprox(\n index - params.itemIndex,\n this._listRef.props,\n );\n viewOffset += frame.length;\n }\n const toIndexParams = {\n ...params,\n viewOffset,\n index,\n };\n // $FlowFixMe[incompatible-use]\n this._listRef.scrollToIndex(toIndexParams);\n }\n\n getListRef(): ?React.ElementRef {\n return this._listRef;\n }\n\n render(): React.Node {\n const {\n ItemSeparatorComponent, // don't pass through, rendered with renderItem\n SectionSeparatorComponent,\n renderItem: _renderItem,\n renderSectionFooter,\n renderSectionHeader,\n sections: _sections,\n stickySectionHeadersEnabled,\n ...passThroughProps\n } = this.props;\n\n const listHeaderOffset = this.props.ListHeaderComponent ? 1 : 0;\n\n const stickyHeaderIndices = this.props.stickySectionHeadersEnabled\n ? ([]: Array)\n : undefined;\n\n let itemCount = 0;\n for (const section of this.props.sections) {\n // Track the section header indices\n if (stickyHeaderIndices != null) {\n stickyHeaderIndices.push(itemCount + listHeaderOffset);\n }\n\n // Add two for the section header and footer.\n itemCount += 2;\n itemCount += this.props.getItemCount(section.data);\n }\n const renderItem = this._renderItem(itemCount);\n\n return (\n \n this._getItem(this.props, sections, index)\n }\n getItemCount={() => itemCount}\n onViewableItemsChanged={\n this.props.onViewableItemsChanged\n ? this._onViewableItemsChanged\n : undefined\n }\n ref={this._captureRef}\n />\n );\n }\n\n _getItem(\n props: Props,\n sections: ?$ReadOnlyArray,\n index: number,\n ): ?Item {\n if (!sections) {\n return null;\n }\n let itemIdx = index - 1;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const itemCount = props.getItemCount(sectionData);\n if (itemIdx === -1 || itemIdx === itemCount) {\n // We intend for there to be overflow by one on both ends of the list.\n // This will be for headers and footers. When returning a header or footer\n // item the section itself is the item.\n return section;\n } else if (itemIdx < itemCount) {\n // If we are in the bounds of the list's data then return the item.\n return props.getItem(sectionData, itemIdx);\n } else {\n itemIdx -= itemCount + 2; // Add two for the header and footer\n }\n }\n return null;\n }\n\n // $FlowFixMe[missing-local-annot]\n _keyExtractor = (item: Item, index: number) => {\n const info = this._subExtractor(index);\n return (info && info.key) || String(index);\n };\n\n _subExtractor(index: number): ?{\n section: SectionT,\n // Key of the section or combined key for section + item\n key: string,\n // Relative index within the section\n index: ?number,\n // True if this is the section header\n header?: ?boolean,\n leadingItem?: ?Item,\n leadingSection?: ?SectionT,\n trailingItem?: ?Item,\n trailingSection?: ?SectionT,\n ...\n } {\n let itemIndex = index;\n const {getItem, getItemCount, keyExtractor, sections} = this.props;\n for (let i = 0; i < sections.length; i++) {\n const section = sections[i];\n const sectionData = section.data;\n const key = section.key || String(i);\n itemIndex -= 1; // The section adds an item for the header\n if (itemIndex >= getItemCount(sectionData) + 1) {\n itemIndex -= getItemCount(sectionData) + 1; // The section adds an item for the footer.\n } else if (itemIndex === -1) {\n return {\n section,\n key: key + ':header',\n index: null,\n header: true,\n trailingSection: sections[i + 1],\n };\n } else if (itemIndex === getItemCount(sectionData)) {\n return {\n section,\n key: key + ':footer',\n index: null,\n header: false,\n trailingSection: sections[i + 1],\n };\n } else {\n const extractor =\n section.keyExtractor || keyExtractor || defaultKeyExtractor;\n return {\n section,\n key:\n key + ':' + extractor(getItem(sectionData, itemIndex), itemIndex),\n index: itemIndex,\n leadingItem: getItem(sectionData, itemIndex - 1),\n leadingSection: sections[i - 1],\n trailingItem: getItem(sectionData, itemIndex + 1),\n trailingSection: sections[i + 1],\n };\n }\n }\n }\n\n _convertViewable = (viewable: ViewToken): ?ViewToken => {\n invariant(viewable.index != null, 'Received a broken ViewToken');\n const info = this._subExtractor(viewable.index);\n if (!info) {\n return null;\n }\n const keyExtractorWithNullableIndex = info.section.keyExtractor;\n const keyExtractorWithNonNullableIndex =\n this.props.keyExtractor || defaultKeyExtractor;\n const key =\n keyExtractorWithNullableIndex != null\n ? keyExtractorWithNullableIndex(viewable.item, info.index)\n : keyExtractorWithNonNullableIndex(viewable.item, info.index ?? 0);\n\n return {\n ...viewable,\n index: info.index,\n key,\n section: info.section,\n };\n };\n\n _onViewableItemsChanged = ({\n viewableItems,\n changed,\n }: {\n viewableItems: Array,\n changed: Array,\n ...\n }) => {\n const onViewableItemsChanged = this.props.onViewableItemsChanged;\n if (onViewableItemsChanged != null) {\n onViewableItemsChanged({\n viewableItems: viewableItems\n .map(this._convertViewable, this)\n .filter(Boolean),\n changed: changed.map(this._convertViewable, this).filter(Boolean),\n });\n }\n };\n\n _renderItem =\n (listItemCount: number): $FlowFixMe =>\n // eslint-disable-next-line react/no-unstable-nested-components\n ({item, index}: {item: Item, index: number, ...}) => {\n const info = this._subExtractor(index);\n if (!info) {\n return null;\n }\n const infoIndex = info.index;\n if (infoIndex == null) {\n const {section} = info;\n if (info.header === true) {\n const {renderSectionHeader} = this.props;\n return renderSectionHeader ? renderSectionHeader({section}) : null;\n } else {\n const {renderSectionFooter} = this.props;\n return renderSectionFooter ? renderSectionFooter({section}) : null;\n }\n } else {\n const renderItem = info.section.renderItem || this.props.renderItem;\n const SeparatorComponent = this._getSeparatorComponent(\n index,\n info,\n listItemCount,\n );\n invariant(renderItem, 'no renderItem!');\n return (\n \n );\n }\n };\n\n _updatePropsFor = (cellKey: string, value: any) => {\n const updateProps = this._updatePropsMap[cellKey];\n if (updateProps != null) {\n updateProps(value);\n }\n };\n\n _updateHighlightFor = (cellKey: string, value: boolean) => {\n const updateHighlight = this._updateHighlightMap[cellKey];\n if (updateHighlight != null) {\n updateHighlight(value);\n }\n };\n\n _setUpdateHighlightFor = (\n cellKey: string,\n updateHighlightFn: ?(boolean) => void,\n ) => {\n if (updateHighlightFn != null) {\n this._updateHighlightMap[cellKey] = updateHighlightFn;\n } else {\n delete this._updateHighlightFor[cellKey];\n }\n };\n\n _setUpdatePropsFor = (cellKey: string, updatePropsFn: ?(boolean) => void) => {\n if (updatePropsFn != null) {\n this._updatePropsMap[cellKey] = updatePropsFn;\n } else {\n delete this._updatePropsMap[cellKey];\n }\n };\n\n _getSeparatorComponent(\n index: number,\n info?: ?Object,\n listItemCount: number,\n ): ?React.ComponentType {\n info = info || this._subExtractor(index);\n if (!info) {\n return null;\n }\n const ItemSeparatorComponent =\n info.section.ItemSeparatorComponent || this.props.ItemSeparatorComponent;\n const {SectionSeparatorComponent} = this.props;\n const isLastItemInList = index === listItemCount - 1;\n const isLastItemInSection =\n info.index === this.props.getItemCount(info.section.data) - 1;\n if (SectionSeparatorComponent && isLastItemInSection) {\n return SectionSeparatorComponent;\n }\n if (ItemSeparatorComponent && !isLastItemInSection && !isLastItemInList) {\n return ItemSeparatorComponent;\n }\n return null;\n }\n\n _updateHighlightMap: {[string]: (boolean) => void} = {};\n _updatePropsMap: {[string]: void | (boolean => void)} = {};\n _listRef: ?React.ElementRef;\n _captureRef = (ref: null | React$ElementRef>) => {\n this._listRef = ref;\n };\n}\n\ntype ItemWithSeparatorCommonProps = $ReadOnly<{|\n leadingItem: ?Item,\n leadingSection: ?Object,\n section: Object,\n trailingItem: ?Item,\n trailingSection: ?Object,\n|}>;\n\ntype ItemWithSeparatorProps = $ReadOnly<{|\n ...ItemWithSeparatorCommonProps,\n LeadingSeparatorComponent: ?React.ComponentType,\n SeparatorComponent: ?React.ComponentType,\n cellKey: string,\n index: number,\n item: Item,\n setSelfHighlightCallback: (\n cellKey: string,\n updateFn: ?(boolean) => void,\n ) => void,\n setSelfUpdatePropsCallback: (\n cellKey: string,\n updateFn: ?(boolean) => void,\n ) => void,\n prevCellKey?: ?string,\n updateHighlightFor: (prevCellKey: string, value: boolean) => void,\n updatePropsFor: (prevCellKey: string, value: Object) => void,\n renderItem: Function,\n inverted: boolean,\n|}>;\n\nfunction ItemWithSeparator(props: ItemWithSeparatorProps): React.Node {\n const {\n LeadingSeparatorComponent,\n // this is the trailing separator and is associated with this item\n SeparatorComponent,\n cellKey,\n prevCellKey,\n setSelfHighlightCallback,\n updateHighlightFor,\n setSelfUpdatePropsCallback,\n updatePropsFor,\n item,\n index,\n section,\n inverted,\n } = props;\n\n const [leadingSeparatorHiglighted, setLeadingSeparatorHighlighted] =\n React.useState(false);\n\n const [separatorHighlighted, setSeparatorHighlighted] = React.useState(false);\n\n const [leadingSeparatorProps, setLeadingSeparatorProps] = React.useState({\n leadingItem: props.leadingItem,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.item,\n trailingSection: props.trailingSection,\n });\n const [separatorProps, setSeparatorProps] = React.useState({\n leadingItem: props.item,\n leadingSection: props.leadingSection,\n section: props.section,\n trailingItem: props.trailingItem,\n trailingSection: props.trailingSection,\n });\n\n React.useEffect(() => {\n setSelfHighlightCallback(cellKey, setSeparatorHighlighted);\n setSelfUpdatePropsCallback(cellKey, setSeparatorProps);\n\n return () => {\n setSelfUpdatePropsCallback(cellKey, null);\n setSelfHighlightCallback(cellKey, null);\n };\n }, [\n cellKey,\n setSelfHighlightCallback,\n setSeparatorProps,\n setSelfUpdatePropsCallback,\n ]);\n\n const separators = {\n highlight: () => {\n setLeadingSeparatorHighlighted(true);\n setSeparatorHighlighted(true);\n if (prevCellKey != null) {\n updateHighlightFor(prevCellKey, true);\n }\n },\n unhighlight: () => {\n setLeadingSeparatorHighlighted(false);\n setSeparatorHighlighted(false);\n if (prevCellKey != null) {\n updateHighlightFor(prevCellKey, false);\n }\n },\n updateProps: (\n select: 'leading' | 'trailing',\n newProps: $Shape,\n ) => {\n if (select === 'leading') {\n if (LeadingSeparatorComponent != null) {\n setLeadingSeparatorProps({...leadingSeparatorProps, ...newProps});\n } else if (prevCellKey != null) {\n // update the previous item's separator\n updatePropsFor(prevCellKey, {...leadingSeparatorProps, ...newProps});\n }\n } else if (select === 'trailing' && SeparatorComponent != null) {\n setSeparatorProps({...separatorProps, ...newProps});\n }\n },\n };\n const element = props.renderItem({\n item,\n index,\n section,\n separators,\n });\n const leadingSeparator = LeadingSeparatorComponent != null && (\n \n );\n const separator = SeparatorComponent != null && (\n \n );\n return leadingSeparator || separator ? (\n \n {inverted === false ? leadingSeparator : separator}\n {element}\n {inverted === false ? separator : leadingSeparator}\n \n ) : (\n element\n );\n}\n\n/* $FlowFixMe[class-object-subtyping] added when improving typing for this\n * parameters */\n// $FlowFixMe[method-unbinding]\nmodule.exports = (VirtualizedSectionList: React.AbstractComponent<\n React.ElementConfig,\n $ReadOnly<{\n getListRef: () => ?React.ElementRef,\n scrollToLocation: (params: ScrollToLocationParamsType) => void,\n ...\n }>,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport Text from '../../Text/Text';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport * as React from 'react';\n\nexport default (createAnimatedComponent(\n (Text: $FlowFixMe),\n): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedComponentType} from '../createAnimatedComponent';\n\nimport View from '../../Components/View/View';\nimport createAnimatedComponent from '../createAnimatedComponent';\nimport * as React from 'react';\n\nexport default (createAnimatedComponent(View): AnimatedComponentType<\n React.ElementConfig,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\nconst warnedKeys: {[string]: boolean, ...} = {};\n\n/**\n * A simple function that prints a warning message once per session.\n *\n * @param {string} key - The key used to ensure the message is printed once.\n * This should be unique to the callsite.\n * @param {string} message - The message to print\n */\nfunction warnOnce(key: string, message: string) {\n if (warnedKeys[key]) {\n return;\n }\n\n console.warn(message);\n\n warnedKeys[key] = true;\n}\n\nmodule.exports = warnOnce;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n// This is a controlled component version of RCTDatePickerIOS.\n\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {DatePickerIOSType} from './DatePickerIOS.flow';\n\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport View from '../View/View';\nimport RCTDatePickerNativeComponent, {\n Commands as DatePickerCommands,\n} from './RCTDatePickerNativeComponent';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n timestamp: number,\n |}>,\n>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The currently selected date.\n */\n date?: ?Date,\n\n /**\n * Provides an initial value that will change when the user starts selecting\n * a date. It is useful for simple use-cases where you do not want to deal\n * with listening to events and updating the date prop to keep the\n * controlled state in sync. The controlled state has known bugs which\n * causes it to go out of sync with native. The initialDate prop is intended\n * to allow you to have native be source of truth.\n */\n initialDate?: ?Date,\n\n /**\n * The date picker locale.\n */\n locale?: ?string,\n\n /**\n * Maximum date.\n *\n * Restricts the range of possible date/time values.\n */\n maximumDate?: ?Date,\n\n /**\n * Minimum date.\n *\n * Restricts the range of possible date/time values.\n */\n minimumDate?: ?Date,\n\n /**\n * The interval at which minutes can be selected.\n */\n minuteInterval?: ?(1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30),\n\n /**\n * The date picker mode.\n */\n mode?: ?('date' | 'time' | 'datetime'),\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is an Event. For getting the date the picker\n * was changed to, use onDateChange instead.\n */\n onChange?: ?(event: Event) => void,\n\n /**\n * Date change handler.\n *\n * This is called when the user changes the date or time in the UI.\n * The first and only argument is a Date object representing the new\n * date and time.\n */\n onDateChange: (date: Date) => void,\n\n /**\n * Timezone offset in minutes.\n *\n * By default, the date picker will use the device's timezone. With this\n * parameter, it is possible to force a certain timezone offset. For\n * instance, to show times in Pacific Standard Time, pass -7 * 60.\n */\n timeZoneOffsetInMinutes?: ?number,\n\n /**\n * The date picker style\n * This is only available on devices with iOS 14.0 and later.\n * 'spinner' is the default style if this prop isn't set.\n */\n pickerStyle?: ?('compact' | 'spinner' | 'inline'),\n|}>;\n\n/**\n * Use `DatePickerIOS` to render a date/time picker (selector) on iOS. This is\n * a controlled component, so you must hook in to the `onDateChange` callback\n * and update the `date` prop in order for the component to update, otherwise\n * the user's change will be reverted immediately to reflect `props.date` as the\n * source of truth.\n */\nclass DatePickerIOS extends React.Component {\n _picker: ?React.ElementRef = null;\n\n componentDidUpdate() {\n if (this.props.date) {\n const propsTimeStamp = this.props.date.getTime();\n if (this._picker) {\n DatePickerCommands.setNativeDate(this._picker, propsTimeStamp);\n }\n }\n }\n\n _onChange = (event: Event) => {\n const nativeTimeStamp = event.nativeEvent.timestamp;\n this.props.onDateChange &&\n this.props.onDateChange(new Date(nativeTimeStamp));\n this.props.onChange && this.props.onChange(event);\n this.forceUpdate();\n };\n\n render(): React.Node {\n const props = this.props;\n const mode = props.mode ?? 'datetime';\n invariant(\n props.date || props.initialDate,\n 'A selected date or initial date should be specified.',\n );\n return (\n \n {\n this._picker = picker;\n }}\n style={getHeight(props.pickerStyle, mode)}\n date={\n props.date\n ? props.date.getTime()\n : props.initialDate\n ? props.initialDate.getTime()\n : undefined\n }\n locale={\n props.locale != null && props.locale !== ''\n ? props.locale\n : undefined\n }\n maximumDate={\n props.maximumDate ? props.maximumDate.getTime() : undefined\n }\n minimumDate={\n props.minimumDate ? props.minimumDate.getTime() : undefined\n }\n mode={mode}\n minuteInterval={props.minuteInterval}\n timeZoneOffsetInMinutes={props.timeZoneOffsetInMinutes}\n onChange={this._onChange}\n onStartShouldSetResponder={() => true}\n onResponderTerminationRequest={() => false}\n pickerStyle={props.pickerStyle}\n />\n \n );\n }\n}\n\nconst inlineHeightForDatePicker = 318.5;\nconst inlineHeightForTimePicker = 49.5;\nconst compactHeight = 40;\nconst spinnerHeight = 216;\n\nconst styles = StyleSheet.create({\n datePickerIOS: {\n height: spinnerHeight,\n },\n datePickerIOSCompact: {\n height: compactHeight,\n },\n datePickerIOSInline: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker * 2,\n },\n datePickerIOSInlineDate: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker,\n },\n datePickerIOSInlineTime: {\n height: inlineHeightForTimePicker,\n },\n});\n\nfunction getHeight(\n pickerStyle: ?(\n | 'compact'\n | 'inline'\n | 'spinner'\n | $TEMPORARY$string<'compact'>\n | $TEMPORARY$string<'inline'>\n | $TEMPORARY$string<'spinner'>\n ),\n mode:\n | 'date'\n | 'datetime'\n | 'time'\n | $TEMPORARY$string<'date'>\n | $TEMPORARY$string<'datetime'>\n | $TEMPORARY$string<'time'>,\n) {\n if (pickerStyle === 'compact') {\n return styles.datePickerIOSCompact;\n }\n if (pickerStyle === 'inline') {\n switch (mode) {\n case 'date':\n return styles.datePickerIOSInlineDate;\n case 'time':\n return styles.datePickerIOSInlineTime;\n default:\n return styles.datePickerIOSInline;\n }\n }\n return styles.datePickerIOS;\n}\n\nmodule.exports = (DatePickerIOS: DatePickerIOSType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {\n BubblingEventHandler,\n Float,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport * as React from 'react';\n\ntype Event = $ReadOnly<{|\n timestamp: Float,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n date?: ?Float,\n initialDate?: ?Float,\n locale?: ?string,\n maximumDate?: ?Float,\n minimumDate?: ?Float,\n minuteInterval?: WithDefault<\n 1 | 2 | 3 | 4 | 5 | 6 | 10 | 12 | 15 | 20 | 30,\n 1,\n >,\n mode?: WithDefault<'date' | 'time' | 'datetime', 'date'>,\n onChange?: ?BubblingEventHandler,\n timeZoneOffsetInMinutes?: ?Float,\n pickerStyle?: WithDefault<'compact' | 'spinner' | 'inline', 'spinner'>,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setNativeDate: (\n viewRef: React.ElementRef,\n date: Float,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeDate'],\n});\n\nexport default (codegenNativeComponent('DatePicker', {\n paperComponentName: 'RCTDatePicker',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = require('../UnimplementedViews/UnimplementedView');\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {ImageBackgroundProps} from './ImageProps';\n\nimport View from '../Components/View/View';\nimport flattenStyle from '../StyleSheet/flattenStyle';\nimport StyleSheet from '../StyleSheet/StyleSheet';\nimport Image from './Image';\nimport * as React from 'react';\n\n/**\n * Very simple drop-in replacement for which supports nesting views.\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, ImageBackground, Text } from 'react-native';\n *\n * class DisplayAnImageBackground extends Component {\n * render() {\n * return (\n * \n * React\n * \n * );\n * }\n * }\n *\n * // App registration and rendering\n * AppRegistry.registerComponent('DisplayAnImageBackground', () => DisplayAnImageBackground);\n * ```\n */\nclass ImageBackground extends React.Component {\n setNativeProps(props: Object) {\n // Work-around flow\n const viewRef = this._viewRef;\n if (viewRef) {\n viewRef.setNativeProps(props);\n }\n }\n\n _viewRef: ?React.ElementRef = null;\n\n _captureRef = (\n ref: null | React$ElementRef<\n React$AbstractComponent<\n ViewProps,\n React.ElementRef>,\n >,\n >,\n ) => {\n this._viewRef = ref;\n };\n\n render(): React.Node {\n const {\n children,\n style,\n imageStyle,\n imageRef,\n importantForAccessibility,\n ...props\n } = this.props;\n\n const flattenedStyle = flattenStyle(style);\n return (\n \n overwrites width and height styles\n // (which is not quite correct), and these styles conflict with explicitly set styles\n // of and with our internal layout model here.\n // So, we have to proxy/reapply these styles explicitly for actual component.\n // This workaround should be removed after implementing proper support of\n // intrinsic content size of the .\n width: flattenedStyle?.width,\n height: flattenedStyle?.height,\n },\n imageStyle,\n ]}\n ref={imageRef}\n />\n {children}\n \n );\n }\n}\n\nmodule.exports = ImageBackground;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport StyleSheet, {\n type ColorValue,\n type ViewStyleProp,\n} from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport RCTInputAccessoryViewNativeComponent from './RCTInputAccessoryViewNativeComponent';\nimport * as React from 'react';\n\n/**\n * Note: iOS only\n *\n * A component which enables customization of the keyboard input accessory view.\n * The input accessory view is displayed above the keyboard whenever a TextInput\n * has focus. This component can be used to create custom toolbars.\n *\n * To use this component wrap your custom toolbar with the\n * InputAccessoryView component, and set a nativeID. Then, pass that nativeID\n * as the inputAccessoryViewID of whatever TextInput you desire. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput, InputAccessoryView, Button } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {text: 'Placeholder Text'};\n * }\n *\n * render() {\n * const inputAccessoryViewID = \"uniqueID\";\n * return (\n * \n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * \n * this.setState({text: 'Placeholder Text'})}\n * title=\"Reset Text\"\n * />\n * \n * \n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * This component can also be used to create sticky text inputs (text inputs\n * which are anchored to the top of the keyboard). To do this, wrap a\n * TextInput with the InputAccessoryView component, and don't set a nativeID.\n * For an example, look at InputAccessoryViewExample.js in RNTester.\n */\n\ntype Props = $ReadOnly<{|\n +children: React.Node,\n /**\n * An ID which is used to associate this `InputAccessoryView` to\n * specified TextInput(s).\n */\n nativeID?: ?string,\n style?: ?ViewStyleProp,\n backgroundColor?: ?ColorValue,\n|}>;\n\nclass InputAccessoryView extends React.Component {\n render(): React.Node {\n if (Platform.OS === 'ios') {\n if (React.Children.count(this.props.children) === 0) {\n return null;\n }\n\n return (\n \n {this.props.children}\n \n );\n } else {\n console.warn(' is only supported on iOS.');\n return null;\n }\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n position: 'absolute',\n },\n});\n\nmodule.exports = InputAccessoryView;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n backgroundColor?: ?ColorValue,\n|}>;\n\nexport default (codegenNativeComponent('InputAccessory', {\n interfaceOnly: true,\n paperComponentName: 'RCTInputAccessoryView',\n excludedPlatforms: ['android'],\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport type {\n ViewLayout,\n ViewLayoutEvent,\n ViewProps,\n} from '../View/ViewPropTypes';\nimport type {KeyboardEvent, KeyboardMetrics} from './Keyboard';\n\nimport LayoutAnimation from '../../LayoutAnimation/LayoutAnimation';\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport {type EventSubscription} from '../../vendor/emitter/EventEmitter';\nimport AccessibilityInfo from '../AccessibilityInfo/AccessibilityInfo';\nimport View from '../View/View';\nimport Keyboard from './Keyboard';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * Specify how to react to the presence of the keyboard.\n */\n behavior?: ?('height' | 'position' | 'padding'),\n\n /**\n * Style of the content container when `behavior` is 'position'.\n */\n contentContainerStyle?: ?ViewStyleProp,\n\n /**\n * Controls whether this `KeyboardAvoidingView` instance should take effect.\n * This is useful when more than one is on the screen. Defaults to true.\n */\n enabled?: ?boolean,\n\n /**\n * Distance between the top of the user screen and the React Native view. This\n * may be non-zero in some cases. Defaults to 0.\n */\n keyboardVerticalOffset?: number,\n|}>;\n\ntype State = {|\n bottom: number,\n|};\n\n/**\n * View that moves out of the way when the keyboard appears by automatically\n * adjusting its height, position, or bottom padding.\n */\nclass KeyboardAvoidingView extends React.Component {\n _frame: ?ViewLayout = null;\n _keyboardEvent: ?KeyboardEvent = null;\n _subscriptions: Array = [];\n viewRef: {current: React.ElementRef | null, ...};\n _initialFrameHeight: number = 0;\n\n constructor(props: Props) {\n super(props);\n this.state = {bottom: 0};\n this.viewRef = React.createRef();\n }\n\n async _relativeKeyboardHeight(\n keyboardFrame: KeyboardMetrics,\n ): Promise {\n const frame = this._frame;\n if (!frame || !keyboardFrame) {\n return 0;\n }\n\n // On iOS when Prefer Cross-Fade Transitions is enabled, the keyboard position\n // & height is reported differently (0 instead of Y position value matching height of frame)\n if (\n Platform.OS === 'ios' &&\n keyboardFrame.screenY === 0 &&\n (await AccessibilityInfo.prefersCrossFadeTransitions())\n ) {\n return 0;\n }\n\n const keyboardY =\n keyboardFrame.screenY - (this.props.keyboardVerticalOffset ?? 0);\n\n if (this.props.behavior === 'height') {\n return Math.max(\n this.state.bottom + frame.y + frame.height - keyboardY,\n 0,\n );\n }\n\n // Calculate the displacement needed for the view such that it\n // no longer overlaps with the keyboard\n return Math.max(frame.y + frame.height - keyboardY, 0);\n }\n\n _onKeyboardChange = (event: ?KeyboardEvent) => {\n this._keyboardEvent = event;\n this._updateBottomIfNecessary();\n };\n\n _onLayout = async (event: ViewLayoutEvent) => {\n const wasFrameNull = this._frame == null;\n this._frame = event.nativeEvent.layout;\n if (!this._initialFrameHeight) {\n // save the initial frame height, before the keyboard is visible\n this._initialFrameHeight = this._frame.height;\n }\n\n if (wasFrameNull) {\n await this._updateBottomIfNecessary();\n }\n\n if (this.props.onLayout) {\n this.props.onLayout(event);\n }\n };\n\n _updateBottomIfNecessary = async () => {\n if (this._keyboardEvent == null) {\n this.setState({bottom: 0});\n return;\n }\n\n const {duration, easing, endCoordinates} = this._keyboardEvent;\n const height = await this._relativeKeyboardHeight(endCoordinates);\n\n if (this.state.bottom === height) {\n return;\n }\n\n if (duration && easing) {\n LayoutAnimation.configureNext({\n // We have to pass the duration equal to minimal accepted duration defined here: RCTLayoutAnimation.m\n duration: duration > 10 ? duration : 10,\n update: {\n duration: duration > 10 ? duration : 10,\n type: LayoutAnimation.Types[easing] || 'keyboard',\n },\n });\n }\n this.setState({bottom: height});\n };\n\n componentDidMount(): void {\n if (Platform.OS === 'ios') {\n this._subscriptions = [\n Keyboard.addListener('keyboardWillChangeFrame', this._onKeyboardChange),\n ];\n } else {\n this._subscriptions = [\n Keyboard.addListener('keyboardDidHide', this._onKeyboardChange),\n Keyboard.addListener('keyboardDidShow', this._onKeyboardChange),\n ];\n }\n }\n\n componentWillUnmount(): void {\n this._subscriptions.forEach(subscription => {\n subscription.remove();\n });\n }\n\n render(): React.Node {\n const {\n behavior,\n children,\n contentContainerStyle,\n enabled = true,\n // eslint-disable-next-line no-unused-vars\n keyboardVerticalOffset = 0,\n style,\n onLayout,\n ...props\n } = this.props;\n const bottomHeight = enabled === true ? this.state.bottom : 0;\n switch (behavior) {\n case 'height':\n let heightStyle;\n if (this._frame != null && this.state.bottom > 0) {\n // Note that we only apply a height change when there is keyboard present,\n // i.e. this.state.bottom is greater than 0. If we remove that condition,\n // this.frame.height will never go back to its original value.\n // When height changes, we need to disable flex.\n heightStyle = {\n height: this._initialFrameHeight - bottomHeight,\n flex: 0,\n };\n }\n return (\n \n {children}\n \n );\n\n case 'position':\n return (\n \n \n {children}\n \n \n );\n\n case 'padding':\n return (\n \n {children}\n \n );\n\n default:\n return (\n \n {children}\n \n );\n }\n }\n}\n\nexport default KeyboardAvoidingView;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {RootTag} from '../ReactNative/RootTag';\nimport type {DirectEventHandler} from '../Types/CodegenTypes';\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport {VirtualizedListContextResetter} from '../Lists/VirtualizedListContext.js';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport ModalInjection from './ModalInjection';\nimport NativeModalManager from './NativeModalManager';\nimport RCTModalHostView from './RCTModalHostViewNativeComponent';\n\nconst ScrollView = require('../Components/ScrollView/ScrollView');\nconst View = require('../Components/View/View');\nconst AppContainer = require('../ReactNative/AppContainer');\nconst I18nManager = require('../ReactNative/I18nManager');\nconst {RootTagContext} = require('../ReactNative/RootTag');\nconst StyleSheet = require('../StyleSheet/StyleSheet');\nconst Platform = require('../Utilities/Platform');\nconst React = require('react');\n\ntype ModalEventDefinitions = {\n modalDismissed: [{modalID: number}],\n};\n\nconst ModalEventEmitter =\n Platform.OS === 'ios' && NativeModalManager != null\n ? new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeModalManager,\n )\n : null;\n\n/**\n * The Modal component is a simple way to present content above an enclosing view.\n *\n * See https://reactnative.dev/docs/modal\n */\n\n// In order to route onDismiss callbacks, we need to uniquely identifier each\n// on screen. There can be different ones, either nested or as siblings.\n// We cannot pass the onDismiss callback to native as the view will be\n// destroyed before the callback is fired.\nlet uniqueModalIdentifier = 0;\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://reactnative.dev/docs/modal#animationtype\n */\n animationType?: ?('none' | 'slide' | 'fade'),\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://reactnative.dev/docs/modal#presentationstyle\n */\n presentationStyle?: ?(\n | 'fullScreen'\n | 'pageSheet'\n | 'formSheet'\n | 'overFullScreen'\n ),\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://reactnative.dev/docs/modal#transparent\n */\n transparent?: ?boolean,\n\n /**\n * The `statusBarTranslucent` prop determines whether your modal should go under\n * the system statusbar.\n *\n * See https://reactnative.dev/docs/modal#transparent\n */\n statusBarTranslucent?: ?boolean,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * This prop works only on Android.\n *\n * See https://reactnative.dev/docs/modal#hardwareaccelerated\n */\n hardwareAccelerated?: ?boolean,\n\n /**\n * The `visible` prop determines whether your modal is visible.\n *\n * See https://reactnative.dev/docs/modal#visible\n */\n visible?: ?boolean,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://reactnative.dev/docs/modal#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://reactnative.dev/docs/modal#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://reactnative.dev/docs/modal#ondismiss\n */\n onDismiss?: ?() => mixed,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://reactnative.dev/docs/modal#supportedorientations\n */\n supportedOrientations?: ?$ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://reactnative.dev/docs/modal#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n|}>;\n\nfunction confirmProps(props: Props) {\n if (__DEV__) {\n if (\n props.presentationStyle &&\n props.presentationStyle !== 'overFullScreen' &&\n props.transparent === true\n ) {\n console.warn(\n `Modal with '${props.presentationStyle}' presentation style and 'transparent' value is not supported.`,\n );\n }\n }\n}\n\nclass Modal extends React.Component {\n static defaultProps: {|hardwareAccelerated: boolean, visible: boolean|} = {\n visible: true,\n hardwareAccelerated: false,\n };\n\n static contextType: React.Context = RootTagContext;\n\n _identifier: number;\n _eventSubscription: ?EventSubscription;\n\n constructor(props: Props) {\n super(props);\n if (__DEV__) {\n confirmProps(props);\n }\n this._identifier = uniqueModalIdentifier++;\n }\n\n componentDidMount() {\n // 'modalDismissed' is for the old renderer in iOS only\n if (ModalEventEmitter) {\n this._eventSubscription = ModalEventEmitter.addListener(\n 'modalDismissed',\n event => {\n if (event.modalID === this._identifier && this.props.onDismiss) {\n this.props.onDismiss();\n }\n },\n );\n }\n }\n\n componentWillUnmount() {\n if (this._eventSubscription) {\n this._eventSubscription.remove();\n }\n }\n\n componentDidUpdate() {\n if (__DEV__) {\n confirmProps(this.props);\n }\n }\n\n render(): React.Node {\n if (this.props.visible !== true) {\n return null;\n }\n\n const containerStyles = {\n backgroundColor:\n this.props.transparent === true ? 'transparent' : 'white',\n };\n\n let animationType = this.props.animationType || 'none';\n\n let presentationStyle = this.props.presentationStyle;\n if (!presentationStyle) {\n presentationStyle = 'fullScreen';\n if (this.props.transparent === true) {\n presentationStyle = 'overFullScreen';\n }\n }\n\n const innerChildren = __DEV__ ? (\n {this.props.children}\n ) : (\n this.props.children\n );\n\n return (\n {\n if (this.props.onDismiss) {\n this.props.onDismiss();\n }\n }}\n visible={this.props.visible}\n statusBarTranslucent={this.props.statusBarTranslucent}\n identifier={this._identifier}\n style={styles.modal}\n // $FlowFixMe[method-unbinding] added when improving typing for this parameters\n onStartShouldSetResponder={this._shouldSetResponder}\n supportedOrientations={this.props.supportedOrientations}\n onOrientationChange={this.props.onOrientationChange}\n testID={this.props.testID}>\n \n \n \n {innerChildren}\n \n \n \n \n );\n }\n\n // We don't want any responder events bubbling out of the modal.\n _shouldSetResponder(): boolean {\n return true;\n }\n}\n\nconst side = I18nManager.getConstants().isRTL ? 'right' : 'left';\nconst styles = StyleSheet.create({\n modal: {\n position: 'absolute',\n },\n container: {\n /* $FlowFixMe[invalid-computed-prop] (>=0.111.0 site=react_native_fb) This\n * comment suppresses an error found when Flow v0.111 was deployed. To see\n * the error, delete this comment and run Flow. */\n [side]: 0,\n top: 0,\n flex: 1,\n },\n});\n\nconst ExportedModal: React.AbstractComponent<\n React.ElementConfig,\n> = ModalInjection.unstable_Modal ?? Modal;\n\nmodule.exports = ExportedModal;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport typeof Modal from './Modal';\n\nexport default {\n unstable_Modal: (null: ?Modal),\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('ModalManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ViewProps} from '../Components/View/ViewPropTypes';\nimport type {HostComponent} from '../Renderer/shims/ReactNativeTypes';\nimport type {\n DirectEventHandler,\n Int32,\n WithDefault,\n} from '../Types/CodegenTypes';\n\nimport codegenNativeComponent from '../Utilities/codegenNativeComponent';\n\ntype OrientationChangeEvent = $ReadOnly<{|\n orientation: 'portrait' | 'landscape',\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The `animationType` prop controls how the modal animates.\n *\n * See https://reactnative.dev/docs/modal#animationtype\n */\n animationType?: WithDefault<'none' | 'slide' | 'fade', 'none'>,\n\n /**\n * The `presentationStyle` prop controls how the modal appears.\n *\n * See https://reactnative.dev/docs/modal#presentationstyle\n */\n presentationStyle?: WithDefault<\n 'fullScreen' | 'pageSheet' | 'formSheet' | 'overFullScreen',\n 'fullScreen',\n >,\n\n /**\n * The `transparent` prop determines whether your modal will fill the\n * entire view.\n *\n * See https://reactnative.dev/docs/modal#transparent\n */\n transparent?: WithDefault,\n\n /**\n * The `statusBarTranslucent` prop determines whether your modal should go under\n * the system statusbar.\n *\n * See https://reactnative.dev/docs/modal#statusBarTranslucent\n */\n statusBarTranslucent?: WithDefault,\n\n /**\n * The `hardwareAccelerated` prop controls whether to force hardware\n * acceleration for the underlying window.\n *\n * See https://reactnative.dev/docs/modal#hardwareaccelerated\n */\n hardwareAccelerated?: WithDefault,\n\n /**\n * The `onRequestClose` callback is called when the user taps the hardware\n * back button on Android or the menu button on Apple TV.\n *\n * This is required on Apple TV and Android.\n *\n * See https://reactnative.dev/docs/modal#onrequestclose\n */\n onRequestClose?: ?DirectEventHandler,\n\n /**\n * The `onShow` prop allows passing a function that will be called once the\n * modal has been shown.\n *\n * See https://reactnative.dev/docs/modal#onshow\n */\n onShow?: ?DirectEventHandler,\n\n /**\n * The `onDismiss` prop allows passing a function that will be called once\n * the modal has been dismissed.\n *\n * See https://reactnative.dev/docs/modal#ondismiss\n */\n onDismiss?: ?DirectEventHandler,\n\n /**\n * The `visible` prop determines whether your modal is visible.\n *\n * See https://reactnative.dev/docs/modal#visible\n */\n visible?: WithDefault,\n\n /**\n * Deprecated. Use the `animationType` prop instead.\n */\n animated?: WithDefault,\n\n /**\n * The `supportedOrientations` prop allows the modal to be rotated to any of the specified orientations.\n *\n * See https://reactnative.dev/docs/modal#supportedorientations\n */\n supportedOrientations?: WithDefault<\n $ReadOnlyArray<\n | 'portrait'\n | 'portrait-upside-down'\n | 'landscape'\n | 'landscape-left'\n | 'landscape-right',\n >,\n 'portrait',\n >,\n\n /**\n * The `onOrientationChange` callback is called when the orientation changes while the modal is being displayed.\n *\n * See https://reactnative.dev/docs/modal#onorientationchange\n */\n onOrientationChange?: ?DirectEventHandler,\n\n /**\n * The `identifier` is the unique number for identifying Modal components.\n */\n identifier?: WithDefault,\n|}>;\n\nexport default (codegenNativeComponent('ModalHostView', {\n interfaceOnly: true,\n paperComponentName: 'RCTModalHostView',\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport NativeI18nManager from './NativeI18nManager';\n\nconst i18nConstants: {|\n doLeftAndRightSwapInRTL: boolean,\n isRTL: boolean,\n localeIdentifier?: ?string,\n|} = getI18nManagerConstants();\n\nfunction getI18nManagerConstants() {\n if (NativeI18nManager) {\n const {isRTL, doLeftAndRightSwapInRTL, localeIdentifier} =\n NativeI18nManager.getConstants();\n return {isRTL, doLeftAndRightSwapInRTL, localeIdentifier};\n }\n\n return {\n isRTL: false,\n doLeftAndRightSwapInRTL: true,\n };\n}\n\nmodule.exports = {\n getConstants: (): {|\n doLeftAndRightSwapInRTL: boolean,\n isRTL: boolean,\n localeIdentifier: ?string,\n |} => {\n return i18nConstants;\n },\n\n allowRTL: (shouldAllow: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.allowRTL(shouldAllow);\n },\n\n forceRTL: (shouldForce: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.forceRTL(shouldForce);\n },\n\n swapLeftAndRightInRTL: (flipStyles: boolean) => {\n if (!NativeI18nManager) {\n return;\n }\n\n NativeI18nManager.swapLeftAndRightInRTL(flipStyles);\n },\n\n isRTL: i18nConstants.isRTL,\n doLeftAndRightSwapInRTL: i18nConstants.doLeftAndRightSwapInRTL,\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n isRTL: boolean,\n doLeftAndRightSwapInRTL: boolean,\n localeIdentifier: ?string,\n |};\n allowRTL: (allowRTL: boolean) => void;\n forceRTL: (forceRTL: boolean) => void;\n swapLeftAndRightInRTL: (flipStyles: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.get('I18nManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n LayoutEvent,\n MouseEvent,\n PressEvent,\n} from '../../Types/CoreEventTypes';\nimport type {\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n AccessibilityRole,\n AccessibilityState,\n AccessibilityValue,\n} from '../View/ViewAccessibility';\n\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport usePressability from '../../Pressability/usePressability';\nimport {type RectOrSize} from '../../StyleSheet/Rect';\nimport View from '../View/View';\nimport useAndroidRippleForView, {\n type RippleConfig,\n} from './useAndroidRippleForView';\nimport * as React from 'react';\nimport {useImperativeHandle, useMemo, useRef, useState} from 'react';\n\ntype ViewStyleProp = $ElementType, 'style'>;\n\nexport type StateCallbackType = $ReadOnly<{|\n pressed: boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n /**\n * Accessibility.\n */\n accessibilityActions?: ?$ReadOnlyArray,\n accessibilityElementsHidden?: ?boolean,\n accessibilityHint?: ?Stringish,\n accessibilityLanguage?: ?Stringish,\n accessibilityIgnoresInvertColors?: ?boolean,\n accessibilityLabel?: ?Stringish,\n accessibilityLiveRegion?: ?('none' | 'polite' | 'assertive'),\n accessibilityRole?: ?AccessibilityRole,\n accessibilityState?: ?AccessibilityState,\n accessibilityValue?: ?AccessibilityValue,\n 'aria-valuemax'?: AccessibilityValue['max'],\n 'aria-valuemin'?: AccessibilityValue['min'],\n 'aria-valuenow'?: AccessibilityValue['now'],\n 'aria-valuetext'?: AccessibilityValue['text'],\n accessibilityViewIsModal?: ?boolean,\n 'aria-modal'?: ?boolean,\n accessible?: ?boolean,\n\n /**\n * alias for accessibilityState\n *\n * see https://reactnative.dev/docs/accessibility#accessibilitystate\n */\n 'aria-busy'?: ?boolean,\n 'aria-checked'?: ?boolean | 'mixed',\n 'aria-disabled'?: ?boolean,\n 'aria-expanded'?: ?boolean,\n 'aria-selected'?: ?boolean,\n /**\n * A value indicating whether the accessibility elements contained within\n * this accessibility element are hidden.\n */\n 'aria-hidden'?: ?boolean,\n 'aria-live'?: ?('polite' | 'assertive' | 'off'),\n focusable?: ?boolean,\n importantForAccessibility?: ?('auto' | 'yes' | 'no' | 'no-hide-descendants'),\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n\n /**\n * Whether a press gesture can be interrupted by a parent gesture such as a\n * scroll event. Defaults to true.\n */\n cancelable?: ?boolean,\n\n /**\n * Either children or a render prop that receives a boolean reflecting whether\n * the component is currently pressed.\n */\n children: React.Node | ((state: StateCallbackType) => React.Node),\n\n /**\n * Duration to wait after hover in before calling `onHoverIn`.\n */\n delayHoverIn?: ?number,\n\n /**\n * Duration to wait after hover out before calling `onHoverOut`.\n */\n delayHoverOut?: ?number,\n\n /**\n * Duration (in milliseconds) from `onPressIn` before `onLongPress` is called.\n */\n delayLongPress?: ?number,\n\n /**\n * Whether the press behavior is disabled.\n */\n disabled?: ?boolean,\n\n /**\n * Additional distance outside of this view in which a press is detected.\n */\n hitSlop?: ?RectOrSize,\n\n /**\n * Additional distance outside of this view in which a touch is considered a\n * press before `onPressOut` is triggered.\n */\n pressRetentionOffset?: ?RectOrSize,\n\n /**\n * Called when this view's layout changes.\n */\n onLayout?: ?(event: LayoutEvent) => mixed,\n\n /**\n * Called when the hover is activated to provide visual feedback.\n */\n onHoverIn?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when the hover is deactivated to undo visual feedback.\n */\n onHoverOut?: ?(event: MouseEvent) => mixed,\n\n /**\n * Called when a long-tap gesture is detected.\n */\n onLongPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a single tap gesture is detected.\n */\n onPress?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is engaged before `onPress`.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is released before `onPress`.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Either view styles or a function that receives a boolean reflecting whether\n * the component is currently pressed and returns view styles.\n */\n style?: ViewStyleProp | ((state: StateCallbackType) => ViewStyleProp),\n\n /**\n * Identifier used to find this view in tests.\n */\n testID?: ?string,\n\n /**\n * If true, doesn't play system sound on touch.\n */\n android_disableSound?: ?boolean,\n\n /**\n * Enables the Android ripple effect and configures its color.\n */\n android_ripple?: ?RippleConfig,\n\n /**\n * Used only for documentation or testing (e.g. snapshot testing).\n */\n testOnly_pressed?: ?boolean,\n\n /**\n * Duration to wait after press down before calling `onPressIn`.\n */\n unstable_pressDelay?: ?number,\n /**\n * Web to Native Accessibilty props\n * https://github.com/facebook/react-native/issues/34424\n */\n 'aria-label'?: ?string,\n|}>;\n\n/**\n * Component used to build display components that should respond to whether the\n * component is currently pressed or not.\n */\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nfunction Pressable(props: Props, forwardedRef): React.Node {\n const {\n accessible,\n accessibilityState,\n 'aria-live': ariaLive,\n android_disableSound,\n android_ripple,\n 'aria-busy': ariaBusy,\n 'aria-checked': ariaChecked,\n 'aria-disabled': ariaDisabled,\n 'aria-expanded': ariaExpanded,\n 'aria-label': ariaLabel,\n 'aria-selected': ariaSelected,\n cancelable,\n children,\n delayHoverIn,\n delayHoverOut,\n delayLongPress,\n disabled,\n focusable,\n hitSlop,\n onHoverIn,\n onHoverOut,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n pressRetentionOffset,\n style,\n testOnly_pressed,\n unstable_pressDelay,\n ...restProps\n } = props;\n\n const viewRef = useRef | null>(null);\n useImperativeHandle(forwardedRef, () => viewRef.current);\n\n const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);\n\n const [pressed, setPressed] = usePressState(testOnly_pressed === true);\n\n let _accessibilityState = {\n busy: ariaBusy ?? accessibilityState?.busy,\n checked: ariaChecked ?? accessibilityState?.checked,\n disabled: ariaDisabled ?? accessibilityState?.disabled,\n expanded: ariaExpanded ?? accessibilityState?.expanded,\n selected: ariaSelected ?? accessibilityState?.selected,\n };\n\n _accessibilityState =\n disabled != null ? {..._accessibilityState, disabled} : _accessibilityState;\n\n const accessibilityValue = {\n max: props['aria-valuemax'] ?? props.accessibilityValue?.max,\n min: props['aria-valuemin'] ?? props.accessibilityValue?.min,\n now: props['aria-valuenow'] ?? props.accessibilityValue?.now,\n text: props['aria-valuetext'] ?? props.accessibilityValue?.text,\n };\n\n const accessibilityLiveRegion =\n ariaLive === 'off' ? 'none' : ariaLive ?? props.accessibilityLiveRegion;\n\n const accessibilityLabel = ariaLabel ?? props.accessibilityLabel;\n const restPropsWithDefaults: React.ElementConfig = {\n ...restProps,\n ...android_rippleConfig?.viewProps,\n accessible: accessible !== false,\n accessibilityViewIsModal:\n restProps['aria-modal'] ?? restProps.accessibilityViewIsModal,\n accessibilityLiveRegion,\n accessibilityLabel,\n accessibilityState: _accessibilityState,\n focusable: focusable !== false,\n accessibilityValue,\n hitSlop,\n };\n\n const config = useMemo(\n () => ({\n cancelable,\n disabled,\n hitSlop,\n pressRectOffset: pressRetentionOffset,\n android_disableSound,\n delayHoverIn,\n delayHoverOut,\n delayLongPress,\n delayPressIn: unstable_pressDelay,\n onHoverIn,\n onHoverOut,\n onLongPress,\n onPress,\n onPressIn(event: PressEvent): void {\n if (android_rippleConfig != null) {\n android_rippleConfig.onPressIn(event);\n }\n setPressed(true);\n if (onPressIn != null) {\n onPressIn(event);\n }\n },\n onPressMove: android_rippleConfig?.onPressMove,\n onPressOut(event: PressEvent): void {\n if (android_rippleConfig != null) {\n android_rippleConfig.onPressOut(event);\n }\n setPressed(false);\n if (onPressOut != null) {\n onPressOut(event);\n }\n },\n }),\n [\n android_disableSound,\n android_rippleConfig,\n cancelable,\n delayHoverIn,\n delayHoverOut,\n delayLongPress,\n disabled,\n hitSlop,\n onHoverIn,\n onHoverOut,\n onLongPress,\n onPress,\n onPressIn,\n onPressOut,\n pressRetentionOffset,\n setPressed,\n unstable_pressDelay,\n ],\n );\n const eventHandlers = usePressability(config);\n\n return (\n \n {typeof children === 'function' ? children({pressed}) : children}\n {__DEV__ ? : null}\n \n );\n}\n\nfunction usePressState(forcePressed: boolean): [boolean, (boolean) => void] {\n const [pressed, setPressed] = useState(false);\n return [pressed || forcePressed, setPressed];\n}\n\nconst MemoedPressable = React.memo(React.forwardRef(Pressable));\nMemoedPressable.displayName = 'Pressable';\n\nexport default (MemoedPressable: React.AbstractComponent<\n Props,\n React.ElementRef,\n>);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\n\nimport processColor from '../../StyleSheet/processColor';\nimport Platform from '../../Utilities/Platform';\nimport View from '../View/View';\nimport {Commands} from '../View/ViewNativeComponent';\nimport invariant from 'invariant';\nimport * as React from 'react';\nimport {useMemo} from 'react';\n\ntype NativeBackgroundProp = $ReadOnly<{|\n type: 'RippleAndroid',\n color: ?number,\n borderless: boolean,\n rippleRadius: ?number,\n|}>;\n\nexport type RippleConfig = {|\n color?: ColorValue,\n borderless?: boolean,\n radius?: number,\n foreground?: boolean,\n|};\n\n/**\n * Provides the event handlers and props for configuring the ripple effect on\n * supported versions of Android.\n */\nexport default function useAndroidRippleForView(\n rippleConfig: ?RippleConfig,\n viewRef: {|current: null | React.ElementRef|},\n): ?$ReadOnly<{|\n onPressIn: (event: PressEvent) => void,\n onPressMove: (event: PressEvent) => void,\n onPressOut: (event: PressEvent) => void,\n viewProps:\n | $ReadOnly<{|nativeBackgroundAndroid: NativeBackgroundProp|}>\n | $ReadOnly<{|nativeForegroundAndroid: NativeBackgroundProp|}>,\n|}> {\n const {color, borderless, radius, foreground} = rippleConfig ?? {};\n\n return useMemo(() => {\n if (\n Platform.OS === 'android' &&\n Platform.Version >= 21 &&\n (color != null || borderless != null || radius != null)\n ) {\n const processedColor = processColor(color);\n invariant(\n processedColor == null || typeof processedColor === 'number',\n 'Unexpected color given for Ripple color',\n );\n\n const nativeRippleValue = {\n type: 'RippleAndroid',\n color: processedColor,\n borderless: borderless === true,\n rippleRadius: radius,\n };\n\n return {\n viewProps:\n foreground === true\n ? {nativeForegroundAndroid: nativeRippleValue}\n : {nativeBackgroundAndroid: nativeRippleValue},\n onPressIn(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.hotspotUpdate(\n view,\n event.nativeEvent.locationX ?? 0,\n event.nativeEvent.locationY ?? 0,\n );\n Commands.setPressed(view, true);\n }\n },\n onPressMove(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.hotspotUpdate(\n view,\n event.nativeEvent.locationX ?? 0,\n event.nativeEvent.locationY ?? 0,\n );\n }\n },\n onPressOut(event: PressEvent): void {\n const view = viewRef.current;\n if (view != null) {\n Commands.setPressed(view, false);\n }\n },\n };\n }\n return null;\n }, [borderless, color, foreground, radius, viewRef]);\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport StyleSheet, {type ColorValue} from '../../StyleSheet/StyleSheet';\nimport RCTProgressViewNativeComponent from './RCTProgressViewNativeComponent';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n * The progress bar style.\n */\n progressViewStyle?: ?('default' | 'bar'),\n\n /**\n * The progress value (between 0 and 1).\n */\n progress?: ?number,\n\n /**\n * The tint color of the progress bar itself.\n */\n progressTintColor?: ?ColorValue,\n\n /**\n * The tint color of the progress bar track.\n */\n trackTintColor?: ?ColorValue,\n\n /**\n * A stretchable image to display as the progress bar.\n */\n progressImage?: ?ImageSource,\n\n /**\n * A stretchable image to display behind the progress bar.\n */\n trackImage?: ?ImageSource,\n|}>;\n\n/**\n * Use `ProgressViewIOS` to render a UIProgressView on iOS.\n */\nconst ProgressViewIOS = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => (\n \n);\n\nconst styles = StyleSheet.create({\n progressView: {\n height: 2,\n },\n});\n\nconst ProgressViewIOSWithRef = React.forwardRef(ProgressViewIOS);\n\nmodule.exports =\n (ProgressViewIOSWithRef: typeof RCTProgressViewNativeComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {Float, WithDefault} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n progressViewStyle?: WithDefault<'default' | 'bar', 'default'>,\n progress?: WithDefault,\n progressTintColor?: ?ColorValue,\n trackTintColor?: ?ColorValue,\n progressImage?: ?ImageSource,\n trackImage?: ?ImageSource,\n|}>;\n\nexport default (codegenNativeComponent(\n 'RCTProgressView',\n): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {SafeAreaViewType} from './SafeAreaView.flow';\n\nimport Platform from '../../Utilities/Platform';\nimport View from '../View/View';\nimport * as React from 'react';\n\nlet exported: React.AbstractComponent>;\n\n/**\n * Renders nested content and automatically applies paddings reflect the portion\n * of the view that is not covered by navigation bars, tab bars, toolbars, and\n * other ancestor views.\n *\n * Moreover, and most importantly, Safe Area's paddings reflect physical\n * limitation of the screen, such as rounded corners or camera notches (aka\n * sensor housing area on iPhone X).\n */\nif (Platform.OS === 'android') {\n exported = View;\n} else {\n exported = require('./RCTSafeAreaViewNativeComponent').default;\n}\n\nexport default (exported: SafeAreaViewType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // No props\n|}>;\n\nexport default (codegenNativeComponent('SafeAreaView', {\n paperComponentName: 'RCTSafeAreaView',\n interfaceOnly: true,\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {AccessibilityState} from '../View/ViewAccessibility';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport StyleSheet, {\n type ColorValue,\n type ViewStyleProp,\n} from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport SliderNativeComponent from './SliderNativeComponent';\nimport * as React from 'react';\n\ntype Event = SyntheticEvent<\n $ReadOnly<{|\n value: number,\n /**\n * Android Only.\n */\n fromUser?: boolean,\n |}>,\n>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Assigns a single image for the track. Only static images are supported.\n * The center pixel of the image will be stretched to fill the track.\n */\n trackImage?: ?ImageSource,\n\n /**\n * Assigns a minimum track image. Only static images are supported. The\n * rightmost pixel of the image will be stretched to fill the track.\n */\n minimumTrackImage?: ?ImageSource,\n\n /**\n * Assigns a maximum track image. Only static images are supported. The\n * leftmost pixel of the image will be stretched to fill the track.\n */\n maximumTrackImage?: ?ImageSource,\n\n /**\n * Sets an image for the thumb. Only static images are supported.\n */\n thumbImage?: ?ImageSource,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n ...IOSProps,\n\n /**\n * Used to style and layout the `Slider`. See `StyleSheet.js` and\n * `DeprecatedViewStylePropTypes.js` for more info.\n */\n style?: ?ViewStyleProp,\n\n /**\n * Initial value of the slider. The value should be between minimumValue\n * and maximumValue, which default to 0 and 1 respectively.\n * Default value is 0.\n *\n * *This is not a controlled component*, you don't need to update the\n * value during dragging.\n */\n value?: ?number,\n\n /**\n * Step value of the slider. The value should be\n * between 0 and (maximumValue - minimumValue).\n * Default value is 0.\n */\n step?: ?number,\n\n /**\n * Initial minimum value of the slider. Default value is 0.\n */\n minimumValue?: ?number,\n\n /**\n * Initial maximum value of the slider. Default value is 1.\n */\n maximumValue?: ?number,\n\n /**\n * The color used for the track to the left of the button.\n * Overrides the default blue gradient image on iOS.\n */\n minimumTrackTintColor?: ?ColorValue,\n\n /**\n * The color used for the track to the right of the button.\n * Overrides the default blue gradient image on iOS.\n */\n maximumTrackTintColor?: ?ColorValue,\n /**\n * The color used to tint the default thumb images on iOS, or the\n * color of the foreground switch grip on Android.\n */\n thumbTintColor?: ?ColorValue,\n\n /**\n * If true the user won't be able to move the slider.\n * Default value is false.\n */\n disabled?: ?boolean,\n\n /**\n * Callback continuously called while the user is dragging the slider.\n */\n onValueChange?: ?(value: number) => void,\n\n /**\n * Callback that is called when the user releases the slider,\n * regardless if the value has changed. The current value is passed\n * as an argument to the callback handler.\n */\n onSlidingComplete?: ?(value: number) => void,\n\n /**\n * Used to locate this view in UI automation tests.\n */\n testID?: ?string,\n\n /**\n Indicates to accessibility services that UI Component is in a specific State.\n */\n accessibilityState?: ?AccessibilityState,\n|}>;\n\n/**\n * A component used to select a single value from a range of values.\n *\n * ### Usage\n *\n * The example below shows how to use `Slider` to change\n * a value used by `Text`. The value is stored using\n * the state of the root component (`App`). The same component\n * subscribes to the `onValueChange` of `Slider` and changes\n * the value using `setState`.\n *\n *```\n * import React from 'react';\n * import { StyleSheet, Text, View, Slider } from 'react-native';\n *\n * export default class App extends React.Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * value: 50\n * }\n * }\n *\n * change(value) {\n * this.setState(() => {\n * return {\n * value: parseFloat(value)\n * };\n * });\n * }\n *\n * render() {\n * const {value} = this.state;\n * return (\n * \n * {String(value)}\n * \n * \n * );\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * flexDirection: 'column',\n * justifyContent: 'center'\n * },\n * text: {\n * fontSize: 50,\n * textAlign: 'center'\n * }\n * });\n *```\n *\n */\nconst Slider = (\n props: Props,\n forwardedRef?: ?React.Ref,\n) => {\n const style = StyleSheet.compose(styles.slider, props.style);\n\n const {\n value = 0.5,\n minimumValue = 0,\n maximumValue = 1,\n step = 0,\n onValueChange,\n onSlidingComplete,\n ...localProps\n } = props;\n\n const onValueChangeEvent = onValueChange\n ? (event: Event) => {\n let userEvent = true;\n if (Platform.OS === 'android') {\n // On Android there's a special flag telling us the user is\n // dragging the slider.\n userEvent =\n event.nativeEvent.fromUser != null && event.nativeEvent.fromUser;\n }\n userEvent && onValueChange(event.nativeEvent.value);\n }\n : null;\n\n const onSlidingCompleteEvent = onSlidingComplete\n ? (event: Event) => {\n onSlidingComplete(event.nativeEvent.value);\n }\n : null;\n\n const disabled =\n props.disabled === true || props.accessibilityState?.disabled === true;\n const accessibilityState = disabled\n ? {...props.accessibilityState, disabled: true}\n : props.accessibilityState;\n\n return (\n false}\n onSlidingComplete={onSlidingCompleteEvent}\n onStartShouldSetResponder={() => true}\n onValueChange={onValueChangeEvent}\n ref={forwardedRef}\n step={step}\n style={style}\n value={value}\n />\n );\n};\n\nconst SliderWithRef: React.AbstractComponent<\n Props,\n React.ElementRef,\n> = React.forwardRef(Slider);\n\nlet styles;\nif (Platform.OS === 'ios') {\n styles = StyleSheet.create({\n slider: {\n height: 40,\n },\n });\n} else {\n styles = StyleSheet.create({\n slider: {},\n });\n}\n\nmodule.exports = SliderWithRef;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ImageSource} from '../../Image/ImageSource';\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n BubblingEventHandler,\n DirectEventHandler,\n Double,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\n\ntype Event = $ReadOnly<{|\n value: Double,\n fromUser?: boolean,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n enabled?: WithDefault,\n maximumTrackImage?: ?ImageSource,\n maximumTrackTintColor?: ?ColorValue,\n maximumValue?: WithDefault,\n minimumTrackImage?: ?ImageSource,\n minimumTrackTintColor?: ?ColorValue,\n minimumValue?: WithDefault,\n step?: WithDefault,\n testID?: WithDefault,\n thumbImage?: ?ImageSource,\n thumbTintColor?: ?ColorValue,\n trackImage?: ?ImageSource,\n value?: WithDefault,\n\n // Events\n onValueChange?: ?BubblingEventHandler,\n onSlidingComplete?: ?DirectEventHandler,\n|}>;\n\nexport default (codegenNativeComponent('Slider', {\n interfaceOnly: true,\n paperComponentName: 'RCTSlider',\n}): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\n\nimport processColor from '../../StyleSheet/processColor';\nimport Platform from '../../Utilities/Platform';\nimport NativeStatusBarManagerAndroid from './NativeStatusBarManagerAndroid';\nimport NativeStatusBarManagerIOS from './NativeStatusBarManagerIOS';\nimport invariant from 'invariant';\nimport * as React from 'react';\n\n/**\n * Status bar style\n */\nexport type StatusBarStyle = $Keys<{\n /**\n * Default status bar style (dark for iOS, light for Android)\n */\n default: string,\n /**\n * Dark background, white texts and icons\n */\n 'light-content': string,\n /**\n * Light background, dark texts and icons\n */\n 'dark-content': string,\n ...\n}>;\n\n/**\n * Status bar animation\n */\nexport type StatusBarAnimation = $Keys<{\n /**\n * No animation\n */\n none: string,\n /**\n * Fade animation\n */\n fade: string,\n /**\n * Slide animation\n */\n slide: string,\n ...\n}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * The background color of the status bar.\n * @platform android\n */\n backgroundColor?: ?ColorValue,\n /**\n * If the status bar is translucent.\n * When translucent is set to true, the app will draw under the status bar.\n * This is useful when using a semi transparent status bar color.\n *\n * @platform android\n */\n translucent?: ?boolean,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * If the network activity indicator should be visible.\n *\n * @platform ios\n */\n networkActivityIndicatorVisible?: ?boolean,\n /**\n * The transition effect when showing and hiding the status bar using the `hidden`\n * prop. Defaults to 'fade'.\n *\n * @platform ios\n */\n showHideTransition?: ?('fade' | 'slide' | 'none'),\n|}>;\n\ntype Props = $ReadOnly<{|\n ...AndroidProps,\n ...IOSProps,\n /**\n * If the status bar is hidden.\n */\n hidden?: ?boolean,\n /**\n * If the transition between status bar property changes should be animated.\n * Supported for backgroundColor, barStyle and hidden.\n */\n animated?: ?boolean,\n /**\n * Sets the color of the status bar text.\n */\n barStyle?: ?('default' | 'light-content' | 'dark-content'),\n|}>;\n\n/**\n * Merges the prop stack with the default values.\n */\nfunction mergePropsStack(\n propsStack: Array,\n defaultValues: Object,\n): Object {\n return propsStack.reduce(\n (prev, cur) => {\n for (const prop in cur) {\n if (cur[prop] != null) {\n prev[prop] = cur[prop];\n }\n }\n return prev;\n },\n {...defaultValues},\n );\n}\n\n/**\n * Returns an object to insert in the props stack from the props\n * and the transition/animation info.\n */\nfunction createStackEntry(props: any): any {\n const animated = props.animated ?? false;\n const showHideTransition = props.showHideTransition ?? 'fade';\n return {\n backgroundColor:\n props.backgroundColor != null\n ? {\n value: props.backgroundColor,\n animated,\n }\n : null,\n barStyle:\n props.barStyle != null\n ? {\n value: props.barStyle,\n animated,\n }\n : null,\n translucent: props.translucent,\n hidden:\n props.hidden != null\n ? {\n value: props.hidden,\n animated,\n transition: showHideTransition,\n }\n : null,\n networkActivityIndicatorVisible: props.networkActivityIndicatorVisible,\n };\n}\n\n/**\n * Component to control the app status bar.\n *\n * ### Usage with Navigator\n *\n * It is possible to have multiple `StatusBar` components mounted at the same\n * time. The props will be merged in the order the `StatusBar` components were\n * mounted. One use case is to specify status bar styles per route using `Navigator`.\n *\n * ```\n * \n * \n * \n * \n * \n * }\n * />\n * \n * ```\n *\n * ### Imperative API\n *\n * For cases where using a component is not ideal, there are static methods\n * to manipulate the `StatusBar` display stack. These methods have the same\n * behavior as mounting and unmounting a `StatusBar` component.\n *\n * For example, you can call `StatusBar.pushStackEntry` to update the status bar\n * before launching a third-party native UI component, and then call\n * `StatusBar.popStackEntry` when completed.\n *\n * ```\n * const openThirdPartyBugReporter = async () => {\n * // The bug reporter has a dark background, so we push a new status bar style.\n * const stackEntry = StatusBar.pushStackEntry({barStyle: 'light-content'});\n *\n * // `open` returns a promise that resolves when the UI is dismissed.\n * await BugReporter.open();\n *\n * // Don't forget to call `popStackEntry` when you're done.\n * StatusBar.popStackEntry(stackEntry);\n * };\n * ```\n *\n * There is a legacy imperative API that enables you to manually update the\n * status bar styles. However, the legacy API does not update the internal\n * `StatusBar` display stack, which means that any changes will be overridden\n * whenever a `StatusBar` component is mounted or unmounted.\n *\n * It is strongly advised that you use `pushStackEntry`, `popStackEntry`, or\n * `replaceStackEntry` instead of the static methods beginning with `set`.\n *\n * ### Constants\n *\n * `currentHeight` (Android only) The height of the status bar.\n */\nclass StatusBar extends React.Component {\n static _propsStack: Array = [];\n\n static _defaultProps: any = createStackEntry({\n backgroundColor:\n Platform.OS === 'android'\n ? NativeStatusBarManagerAndroid.getConstants()\n .DEFAULT_BACKGROUND_COLOR ?? 'black'\n : 'black',\n barStyle: 'default',\n translucent: false,\n hidden: false,\n networkActivityIndicatorVisible: false,\n });\n\n // Timer for updating the native module values at the end of the frame.\n static _updateImmediate = null;\n\n // The current merged values from the props stack.\n static _currentValues = null;\n\n // TODO(janic): Provide a real API to deal with status bar height. See the\n // discussion in #6195.\n /**\n * The current height of the status bar on the device.\n *\n * @platform android\n */\n static currentHeight: ?number =\n Platform.OS === 'android'\n ? NativeStatusBarManagerAndroid.getConstants().HEIGHT\n : null;\n\n // Provide an imperative API as static functions of the component.\n // See the corresponding prop for more detail.\n\n /**\n * Show or hide the status bar\n * @param hidden Hide the status bar.\n * @param animation Optional animation when\n * changing the status bar hidden property.\n */\n static setHidden(hidden: boolean, animation?: StatusBarAnimation) {\n animation = animation || 'none';\n StatusBar._defaultProps.hidden.value = hidden;\n if (Platform.OS === 'ios') {\n NativeStatusBarManagerIOS.setHidden(hidden, animation);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManagerAndroid.setHidden(hidden);\n }\n }\n\n /**\n * Set the status bar style\n * @param style Status bar style to set\n * @param animated Animate the style change.\n */\n static setBarStyle(style: StatusBarStyle, animated?: boolean) {\n animated = animated || false;\n StatusBar._defaultProps.barStyle.value = style;\n if (Platform.OS === 'ios') {\n NativeStatusBarManagerIOS.setStyle(style, animated);\n } else if (Platform.OS === 'android') {\n NativeStatusBarManagerAndroid.setStyle(style);\n }\n }\n\n /**\n * Control the visibility of the network activity indicator\n * @param visible Show the indicator.\n */\n static setNetworkActivityIndicatorVisible(visible: boolean) {\n if (Platform.OS !== 'ios') {\n console.warn(\n '`setNetworkActivityIndicatorVisible` is only available on iOS',\n );\n return;\n }\n StatusBar._defaultProps.networkActivityIndicatorVisible = visible;\n NativeStatusBarManagerIOS.setNetworkActivityIndicatorVisible(visible);\n }\n\n /**\n * Set the background color for the status bar\n * @param color Background color.\n * @param animated Animate the style change.\n */\n static setBackgroundColor(color: string, animated?: boolean): void {\n if (Platform.OS !== 'android') {\n console.warn('`setBackgroundColor` is only available on Android');\n return;\n }\n animated = animated || false;\n StatusBar._defaultProps.backgroundColor.value = color;\n\n const processedColor = processColor(color);\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar.setBackgroundColor\\`: Color ${color} parsed to null or undefined`,\n );\n return;\n }\n invariant(\n typeof processedColor === 'number',\n 'Unexpected color given for StatusBar.setBackgroundColor',\n );\n\n NativeStatusBarManagerAndroid.setColor(processedColor, animated);\n }\n\n /**\n * Control the translucency of the status bar\n * @param translucent Set as translucent.\n */\n static setTranslucent(translucent: boolean) {\n if (Platform.OS !== 'android') {\n console.warn('`setTranslucent` is only available on Android');\n return;\n }\n StatusBar._defaultProps.translucent = translucent;\n NativeStatusBarManagerAndroid.setTranslucent(translucent);\n }\n\n /**\n * Push a StatusBar entry onto the stack.\n * The return value should be passed to `popStackEntry` when complete.\n *\n * @param props Object containing the StatusBar props to use in the stack entry.\n */\n static pushStackEntry(props: any): any {\n const entry = createStackEntry(props);\n StatusBar._propsStack.push(entry);\n StatusBar._updatePropsStack();\n return entry;\n }\n\n /**\n * Pop a StatusBar entry from the stack.\n *\n * @param entry Entry returned from `pushStackEntry`.\n */\n static popStackEntry(entry: any) {\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack.splice(index, 1);\n }\n StatusBar._updatePropsStack();\n }\n\n /**\n * Replace an existing StatusBar stack entry with new props.\n *\n * @param entry Entry returned from `pushStackEntry` to replace.\n * @param props Object containing the StatusBar props to use in the replacement stack entry.\n */\n static replaceStackEntry(entry: any, props: any): any {\n const newEntry = createStackEntry(props);\n const index = StatusBar._propsStack.indexOf(entry);\n if (index !== -1) {\n StatusBar._propsStack[index] = newEntry;\n }\n StatusBar._updatePropsStack();\n return newEntry;\n }\n\n _stackEntry = null;\n\n componentDidMount() {\n // Every time a StatusBar component is mounted, we push it's prop to a stack\n // and always update the native status bar with the props from the top of then\n // stack. This allows having multiple StatusBar components and the one that is\n // added last or is deeper in the view hierarchy will have priority.\n this._stackEntry = StatusBar.pushStackEntry(this.props);\n }\n\n componentWillUnmount() {\n // When a StatusBar is unmounted, remove itself from the stack and update\n // the native bar with the next props.\n StatusBar.popStackEntry(this._stackEntry);\n }\n\n componentDidUpdate() {\n this._stackEntry = StatusBar.replaceStackEntry(\n this._stackEntry,\n this.props,\n );\n }\n\n /**\n * Updates the native status bar with the props from the stack.\n */\n static _updatePropsStack = () => {\n // Send the update to the native module only once at the end of the frame.\n clearImmediate(StatusBar._updateImmediate);\n StatusBar._updateImmediate = setImmediate(() => {\n const oldProps = StatusBar._currentValues;\n const mergedProps = mergePropsStack(\n StatusBar._propsStack,\n StatusBar._defaultProps,\n );\n\n // Update the props that have changed using the merged values from the props stack.\n if (Platform.OS === 'ios') {\n if (\n !oldProps ||\n oldProps.barStyle.value !== mergedProps.barStyle.value\n ) {\n NativeStatusBarManagerIOS.setStyle(\n mergedProps.barStyle.value,\n mergedProps.barStyle.animated || false,\n );\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManagerIOS.setHidden(\n mergedProps.hidden.value,\n mergedProps.hidden.animated\n ? mergedProps.hidden.transition\n : 'none',\n );\n }\n\n if (\n !oldProps ||\n oldProps.networkActivityIndicatorVisible !==\n mergedProps.networkActivityIndicatorVisible\n ) {\n NativeStatusBarManagerIOS.setNetworkActivityIndicatorVisible(\n mergedProps.networkActivityIndicatorVisible,\n );\n }\n } else if (Platform.OS === 'android') {\n //todo(T60684787): Add back optimization to only update bar style and\n //background color if the new value is different from the old value.\n NativeStatusBarManagerAndroid.setStyle(mergedProps.barStyle.value);\n const processedColor = processColor(mergedProps.backgroundColor.value);\n if (processedColor == null) {\n console.warn(\n `\\`StatusBar._updatePropsStack\\`: Color ${mergedProps.backgroundColor.value} parsed to null or undefined`,\n );\n } else {\n invariant(\n typeof processedColor === 'number',\n 'Unexpected color given in StatusBar._updatePropsStack',\n );\n NativeStatusBarManagerAndroid.setColor(\n processedColor,\n mergedProps.backgroundColor.animated,\n );\n }\n if (!oldProps || oldProps.hidden.value !== mergedProps.hidden.value) {\n NativeStatusBarManagerAndroid.setHidden(mergedProps.hidden.value);\n }\n // Activities are not translucent by default, so always set if true.\n if (\n !oldProps ||\n oldProps.translucent !== mergedProps.translucent ||\n mergedProps.translucent\n ) {\n NativeStatusBarManagerAndroid.setTranslucent(mergedProps.translucent);\n }\n }\n // Update the current prop values.\n StatusBar._currentValues = mergedProps;\n });\n };\n\n render(): React.Node {\n return null;\n }\n}\n\nmodule.exports = StatusBar;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR: number,\n |};\n +setColor: (color: number, animated: boolean) => void;\n +setTranslucent: (translucent: boolean) => void;\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n */\n +setStyle: (statusBarStyle?: ?string) => void;\n +setHidden: (hidden: boolean) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('StatusBarManager');\nlet constants = null;\n\nconst NativeStatusBarManager = {\n getConstants(): {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n\n setColor(color: number, animated: boolean): void {\n NativeModule.setColor(color, animated);\n },\n\n setTranslucent(translucent: boolean): void {\n NativeModule.setTranslucent(translucent);\n },\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n */\n setStyle(statusBarStyle?: ?string): void {\n NativeModule.setStyle(statusBarStyle);\n },\n\n setHidden(hidden: boolean): void {\n NativeModule.setHidden(hidden);\n },\n};\n\nexport default NativeStatusBarManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |};\n\n // TODO(T47754272) Can we remove this method?\n +getHeight: (callback: (result: {|height: number|}) => void) => void;\n +setNetworkActivityIndicatorVisible: (visible: boolean) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n * - 'light-content'\n */\n +setStyle: (statusBarStyle?: ?string, animated: boolean) => void;\n /**\n * - withAnimation can be: 'none' | 'fade' | 'slide'\n */\n +setHidden: (hidden: boolean, withAnimation: string) => void;\n}\n\nconst NativeModule = TurboModuleRegistry.getEnforcing('StatusBarManager');\nlet constants = null;\n\nconst NativeStatusBarManager = {\n getConstants(): {|\n +HEIGHT: number,\n +DEFAULT_BACKGROUND_COLOR?: number,\n |} {\n if (constants == null) {\n constants = NativeModule.getConstants();\n }\n return constants;\n },\n\n // TODO(T47754272) Can we remove this method?\n getHeight(callback: (result: {|height: number|}) => void): void {\n NativeModule.getHeight(callback);\n },\n\n setNetworkActivityIndicatorVisible(visible: boolean): void {\n NativeModule.setNetworkActivityIndicatorVisible(visible);\n },\n\n addListener(eventType: string): void {\n NativeModule.addListener(eventType);\n },\n\n removeListeners(count: number): void {\n NativeModule.removeListeners(count);\n },\n\n /**\n * - statusBarStyles can be:\n * - 'default'\n * - 'dark-content'\n * - 'light-content'\n */\n setStyle(statusBarStyle?: ?string, animated: boolean): void {\n NativeModule.setStyle(statusBarStyle, animated);\n },\n\n /**\n * - withAnimation can be: 'none' | 'fade' | 'slide'\n */\n setHidden(hidden: boolean, withAnimation: string): void {\n NativeModule.setHidden(hidden, withAnimation);\n },\n};\n\nexport default NativeStatusBarManager;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n * @generate-docs\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {SyntheticEvent} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport StyleSheet from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport useMergeRefs from '../../Utilities/useMergeRefs';\nimport AndroidSwitchNativeComponent, {\n Commands as AndroidSwitchCommands,\n} from './AndroidSwitchNativeComponent';\nimport SwitchNativeComponent, {\n Commands as SwitchCommands,\n} from './SwitchNativeComponent';\nimport * as React from 'react';\n\ntype SwitchChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n value: boolean,\n target: number,\n |}>,\n>;\n\nexport type Props = $ReadOnly<{|\n ...ViewProps,\n\n /**\n If true the user won't be able to toggle the switch.\n\n @default false\n */\n disabled?: ?boolean,\n\n /**\n The value of the switch. If true the switch will be turned on.\n\n @default false\n */\n value?: ?boolean,\n\n /**\n Color of the foreground switch grip. If this is set on iOS, the switch grip will lose its drop shadow.\n */\n thumbColor?: ?ColorValue,\n\n /**\n Custom colors for the switch track.\n\n _iOS_: When the switch value is false, the track shrinks into the border. If you want to change the\n color of the background exposed by the shrunken track, use\n [`ios_backgroundColor`](https://reactnative.dev/docs/switch#ios_backgroundColor).\n */\n trackColor?: ?$ReadOnly<{|\n false?: ?ColorValue,\n true?: ?ColorValue,\n |}>,\n\n /**\n On iOS, custom color for the background. This background color can be\n seen either when the switch value is false or when the switch is\n disabled (and the switch is translucent).\n */\n ios_backgroundColor?: ?ColorValue,\n\n /**\n Invoked when the user tries to change the value of the switch. Receives\n the change event as an argument. If you want to only receive the new\n value, use `onValueChange` instead.\n */\n onChange?: ?(event: SwitchChangeEvent) => Promise | void,\n\n /**\n Invoked when the user tries to change the value of the switch. Receives\n the new value as an argument. If you want to instead receive an event,\n use `onChange`.\n */\n onValueChange?: ?(value: boolean) => Promise | void,\n|}>;\nconst returnsFalse = () => false;\nconst returnsTrue = () => true;\n\n/**\n Renders a boolean input.\n\n This is a controlled component that requires an `onValueChange`\n callback that updates the `value` prop in order for the component to\n reflect user actions. If the `value` prop is not updated, the\n component will continue to render the supplied `value` prop instead of\n the expected result of any user actions.\n\n ```SnackPlayer name=Switch\n import React, { useState } from \"react\";\n import { View, Switch, StyleSheet } from \"react-native\";\n\n const App = () => {\n const [isEnabled, setIsEnabled] = useState(false);\n const toggleSwitch = () => setIsEnabled(previousState => !previousState);\n\n return (\n \n \n \n );\n }\n\n const styles = StyleSheet.create({\n container: {\n flex: 1,\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n });\n\n export default App;\n ```\n */\n\nconst SwitchWithForwardedRef: React.AbstractComponent<\n Props,\n React.ElementRef<\n typeof SwitchNativeComponent | typeof AndroidSwitchNativeComponent,\n >,\n> = React.forwardRef(function Switch(props, forwardedRef): React.Node {\n const {\n disabled,\n ios_backgroundColor,\n onChange,\n onValueChange,\n style,\n thumbColor,\n trackColor,\n value,\n ...restProps\n } = props;\n const trackColorForFalse = trackColor?.false;\n const trackColorForTrue = trackColor?.true;\n\n const nativeSwitchRef = React.useRef | null>(null);\n\n const ref = useMergeRefs(nativeSwitchRef, forwardedRef);\n\n const [native, setNative] = React.useState({value: null});\n\n const handleChange = (event: SwitchChangeEvent) => {\n onChange?.(event);\n onValueChange?.(event.nativeEvent.value);\n setNative({value: event.nativeEvent.value});\n };\n\n React.useLayoutEffect(() => {\n // This is necessary in case native updates the switch and JS decides\n // that the update should be ignored and we should stick with the value\n // that we have in JS.\n const jsValue = value === true;\n const shouldUpdateNativeSwitch =\n native.value != null && native.value !== jsValue;\n if (\n shouldUpdateNativeSwitch &&\n nativeSwitchRef.current?.setNativeProps != null\n ) {\n if (Platform.OS === 'android') {\n AndroidSwitchCommands.setNativeValue(nativeSwitchRef.current, jsValue);\n } else {\n SwitchCommands.setValue(nativeSwitchRef.current, jsValue);\n }\n }\n }, [value, native]);\n\n if (Platform.OS === 'android') {\n const {accessibilityState} = restProps;\n const _disabled =\n disabled != null ? disabled : accessibilityState?.disabled;\n\n const _accessibilityState =\n _disabled !== accessibilityState?.disabled\n ? {...accessibilityState, disabled: _disabled}\n : accessibilityState;\n\n const platformProps = {\n accessibilityState: _accessibilityState,\n enabled: _disabled !== true,\n on: value === true,\n style,\n thumbTintColor: thumbColor,\n trackColorForFalse: trackColorForFalse,\n trackColorForTrue: trackColorForTrue,\n trackTintColor: value === true ? trackColorForTrue : trackColorForFalse,\n };\n\n return (\n \n );\n } else {\n const platformProps = {\n disabled,\n onTintColor: trackColorForTrue,\n style: StyleSheet.compose(\n {height: 31, width: 51},\n StyleSheet.compose(\n style,\n ios_backgroundColor == null\n ? null\n : {\n backgroundColor: ios_backgroundColor,\n borderRadius: 16,\n },\n ),\n ),\n thumbTintColor: thumbColor,\n tintColor: trackColorForFalse,\n value: value === true,\n };\n\n return (\n \n );\n }\n});\n\nexport default SwitchWithForwardedRef;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n BubblingEventHandler,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport * as React from 'react';\n\ntype SwitchChangeEvent = $ReadOnly<{|\n value: boolean,\n target: Int32,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n enabled?: WithDefault,\n thumbColor?: ?ColorValue,\n trackColorForFalse?: ?ColorValue,\n trackColorForTrue?: ?ColorValue,\n value?: WithDefault,\n on?: WithDefault,\n thumbTintColor?: ?ColorValue,\n trackTintColor?: ?ColorValue,\n\n // Events\n onChange?: BubblingEventHandler,\n|}>;\n\ntype NativeType = HostComponent;\n\ninterface NativeCommands {\n +setNativeValue: (\n viewRef: React.ElementRef,\n value: boolean,\n ) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setNativeValue'],\n});\n\nexport default (codegenNativeComponent('AndroidSwitch', {\n interfaceOnly: true,\n}): NativeType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {\n BubblingEventHandler,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\n\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport codegenNativeComponent from '../../Utilities/codegenNativeComponent';\nimport * as React from 'react';\n\ntype SwitchChangeEvent = $ReadOnly<{|\n value: boolean,\n target: Int32,\n|}>;\n\ntype NativeProps = $ReadOnly<{|\n ...ViewProps,\n\n // Props\n disabled?: WithDefault,\n value?: WithDefault,\n tintColor?: ?ColorValue,\n onTintColor?: ?ColorValue,\n thumbTintColor?: ?ColorValue,\n\n // Deprecated props\n thumbColor?: ?ColorValue,\n trackColorForFalse?: ?ColorValue,\n trackColorForTrue?: ?ColorValue,\n\n // Events\n onChange?: ?BubblingEventHandler,\n|}>;\n\ntype ComponentType = HostComponent;\n\ninterface NativeCommands {\n +setValue: (viewRef: React.ElementRef, value: boolean) => void;\n}\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['setValue'],\n});\n\nexport default (codegenNativeComponent('Switch', {\n paperComponentName: 'RCTSwitch',\n excludedPlatforms: ['android'],\n}): ComponentType);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {HostComponent} from '../../Renderer/shims/ReactNativeTypes';\nimport type {\n PressEvent,\n ScrollEvent,\n SyntheticEvent,\n} from '../../Types/CoreEventTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {TextInputType} from './TextInput.flow';\n\nimport usePressability from '../../Pressability/usePressability';\nimport flattenStyle from '../../StyleSheet/flattenStyle';\nimport StyleSheet, {\n type ColorValue,\n type TextStyleProp,\n type ViewStyleProp,\n} from '../../StyleSheet/StyleSheet';\nimport Text from '../../Text/Text';\nimport TextAncestor from '../../Text/TextAncestor';\nimport Platform from '../../Utilities/Platform';\nimport setAndForwardRef from '../../Utilities/setAndForwardRef';\nimport TextInputState from './TextInputState';\nimport invariant from 'invariant';\nimport nullthrows from 'nullthrows';\nimport * as React from 'react';\n\nconst {useLayoutEffect, useRef, useState} = React;\n\ntype ReactRefSetter = {current: null | T, ...} | ((ref: null | T) => mixed);\n\nlet AndroidTextInput;\nlet AndroidTextInputCommands;\nlet RCTSinglelineTextInputView;\nlet RCTSinglelineTextInputNativeCommands;\nlet RCTMultilineTextInputView;\nlet RCTMultilineTextInputNativeCommands;\n\nif (Platform.OS === 'android') {\n AndroidTextInput = require('./AndroidTextInputNativeComponent').default;\n AndroidTextInputCommands =\n require('./AndroidTextInputNativeComponent').Commands;\n} else if (Platform.OS === 'ios') {\n RCTSinglelineTextInputView =\n require('./RCTSingelineTextInputNativeComponent').default;\n RCTSinglelineTextInputNativeCommands =\n require('./RCTSingelineTextInputNativeComponent').Commands;\n RCTMultilineTextInputView =\n require('./RCTMultilineTextInputNativeComponent').default;\n RCTMultilineTextInputNativeCommands =\n require('./RCTMultilineTextInputNativeComponent').Commands;\n}\n\nexport type ChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type TextInputEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n previousText: string,\n range: $ReadOnly<{|\n start: number,\n end: number,\n |}>,\n target: number,\n text: string,\n |}>,\n>;\n\nexport type ContentSizeChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n contentSize: $ReadOnly<{|\n width: number,\n height: number,\n |}>,\n |}>,\n>;\n\ntype TargetEvent = SyntheticEvent<\n $ReadOnly<{|\n target: number,\n |}>,\n>;\n\nexport type BlurEvent = TargetEvent;\nexport type FocusEvent = TargetEvent;\n\ntype Selection = $ReadOnly<{|\n start: number,\n end: number,\n|}>;\n\nexport type SelectionChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n selection: Selection,\n target: number,\n |}>,\n>;\n\nexport type KeyPressEvent = SyntheticEvent<\n $ReadOnly<{|\n key: string,\n target?: ?number,\n eventCount?: ?number,\n |}>,\n>;\n\nexport type EditingEvent = SyntheticEvent<\n $ReadOnly<{|\n eventCount: number,\n text: string,\n target: number,\n |}>,\n>;\n\ntype DataDetectorTypesType =\n | 'phoneNumber'\n | 'link'\n | 'address'\n | 'calendarEvent'\n | 'none'\n | 'all';\n\nexport type KeyboardType =\n // Cross Platform\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'decimal-pad'\n | 'url'\n // iOS-only\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'name-phone-pad'\n | 'twitter'\n | 'web-search'\n // iOS 10+ only\n | 'ascii-capable-number-pad'\n // Android-only\n | 'visible-password';\n\nexport type InputMode =\n | 'none'\n | 'text'\n | 'decimal'\n | 'numeric'\n | 'tel'\n | 'search'\n | 'email'\n | 'url';\n\nexport type ReturnKeyType =\n // Cross Platform\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n // Android-only\n | 'none'\n | 'previous'\n // iOS-only\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo';\n\nexport type SubmitBehavior = 'submit' | 'blurAndSubmit' | 'newline';\n\nexport type AutoCapitalize = 'none' | 'sentences' | 'words' | 'characters';\n\nexport type TextContentType =\n | 'none'\n | 'URL'\n | 'addressCity'\n | 'addressCityAndState'\n | 'addressState'\n | 'countryName'\n | 'creditCardNumber'\n | 'emailAddress'\n | 'familyName'\n | 'fullStreetAddress'\n | 'givenName'\n | 'jobTitle'\n | 'location'\n | 'middleName'\n | 'name'\n | 'namePrefix'\n | 'nameSuffix'\n | 'nickname'\n | 'organizationName'\n | 'postalCode'\n | 'streetAddressLine1'\n | 'streetAddressLine2'\n | 'sublocality'\n | 'telephoneNumber'\n | 'username'\n | 'password'\n | 'newPassword'\n | 'oneTimeCode';\n\nexport type enterKeyHintType =\n | 'enter'\n | 'done'\n | 'go'\n | 'next'\n | 'previous'\n | 'search'\n | 'send';\n\ntype PasswordRules = string;\n\ntype IOSProps = $ReadOnly<{|\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n autoComplete?: ?(\n | 'address-line1'\n | 'address-line2'\n | 'cc-number'\n | 'current-password'\n | 'country'\n | 'email'\n | 'name'\n | 'additional-name'\n | 'family-name'\n | 'given-name'\n | 'nickname'\n | 'honorific-prefix'\n | 'honorific-suffix'\n | 'new-password'\n | 'off'\n | 'one-time-code'\n | 'organization'\n | 'organization-title'\n | 'postal-code'\n | 'street-address'\n | 'tel'\n | 'url'\n | 'username'\n ),\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode?: ?('never' | 'while-editing' | 'unless-editing' | 'always'),\n\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus?: ?boolean,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes?:\n | ?DataDetectorTypesType\n | $ReadOnlyArray,\n\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically?: ?boolean,\n\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID?: ?string,\n\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance?: ?('default' | 'light' | 'dark'),\n\n /**\n * Provide rules for your password.\n * For example, say you want to require a password with at least eight characters consisting of a mix of uppercase and lowercase letters, at least one number, and at most two consecutive characters.\n * \"required: upper; required: lower; required: digit; max-consecutive: 2; minlength: 8;\"\n * @platform ios\n */\n passwordRules?: ?PasswordRules,\n\n /*\n * If `true`, allows TextInput to pass touch events to the parent component.\n * This allows components to be swipeable from the TextInput on iOS,\n * as is the case on Android by default.\n * If `false`, TextInput always asks to handle the input (except when disabled).\n * @platform ios\n */\n rejectResponderTermination?: ?boolean,\n\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled?: ?boolean,\n\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck?: ?boolean,\n\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType?: ?TextContentType,\n\n /**\n * Set line break strategy on iOS.\n * @platform ios\n */\n lineBreakStrategyIOS?: ?('none' | 'standard' | 'hangul-word' | 'push-out'),\n\n /**\n * If `false`, the iOS system will not insert an extra space after a paste operation\n * neither delete one or two spaces after a cut or delete operation.\n *\n * The default value is `true`.\n *\n * @platform ios\n */\n smartInsertDelete?: ?boolean,\n|}>;\n\ntype AndroidProps = $ReadOnly<{|\n /**\n * Specifies autocomplete hints for the system, so it can provide autofill. On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.\n * To disable autocomplete, set `autoComplete` to `off`.\n *\n * *Android Only*\n *\n * Possible values for `autoComplete` are:\n *\n * - `birthdate-day`\n * - `birthdate-full`\n * - `birthdate-month`\n * - `birthdate-year`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-day`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `cc-number`\n * - `email`\n * - `gender`\n * - `name`\n * - `name-family`\n * - `name-given`\n * - `name-middle`\n * - `name-middle-initial`\n * - `name-prefix`\n * - `name-suffix`\n * - `password`\n * - `password-new`\n * - `postal-address`\n * - `postal-address-country`\n * - `postal-address-extended`\n * - `postal-address-extended-postal-code`\n * - `postal-address-locality`\n * - `postal-address-region`\n * - `postal-code`\n * - `street-address`\n * - `sms-otp`\n * - `tel`\n * - `tel-country-code`\n * - `tel-national`\n * - `tel-device`\n * - `username`\n * - `username-new`\n * - `off`\n *\n * @platform android\n */\n autoComplete?: ?(\n | 'birthdate-day'\n | 'birthdate-full'\n | 'birthdate-month'\n | 'birthdate-year'\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-day'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'gender'\n | 'name'\n | 'name-family'\n | 'name-given'\n | 'name-middle'\n | 'name-middle-initial'\n | 'name-prefix'\n | 'name-suffix'\n | 'password'\n | 'password-new'\n | 'postal-address'\n | 'postal-address-country'\n | 'postal-address-extended'\n | 'postal-address-extended-postal-code'\n | 'postal-address-locality'\n | 'postal-address-region'\n | 'postal-code'\n | 'street-address'\n | 'sms-otp'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-device'\n | 'username'\n | 'username-new'\n | 'off'\n // additional HTML autocomplete values\n | 'address-line1'\n | 'address-line2'\n | 'bday'\n | 'bday-day'\n | 'bday-month'\n | 'bday-year'\n | 'country'\n | 'current-password'\n | 'honorific-prefix'\n | 'honorific-suffix'\n | 'additional-name'\n | 'family-name'\n | 'given-name'\n | 'new-password'\n | 'one-time-code'\n | 'sex'\n ),\n\n /**\n * When provided it will set the color of the cursor (or \"caret\") in the component.\n * Unlike the behavior of `selectionColor` the cursor color will be set independently\n * from the color of the text selection box.\n * @platform android\n */\n cursorColor?: ?ColorValue,\n\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI?: ?boolean,\n\n importantForAutofill?: ?(\n | 'auto'\n | 'no'\n | 'noExcludeDescendants'\n | 'yes'\n | 'yesExcludeDescendants'\n ),\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft?: ?string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding?: ?number,\n\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n */\n numberOfLines?: ?number,\n\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel?: ?string,\n\n /**\n * Sets the number of rows for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n */\n rows?: ?number,\n\n /**\n * Sets the maximum number of lines the TextInput can have.\n */\n maximumNumberOfLines?: ?number,\n\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus?: ?boolean,\n\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy?: ?('simple' | 'highQuality' | 'balanced'),\n\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid?: ?ColorValue,\n|}>;\n\nexport type Props = $ReadOnly<{|\n ...$Diff>,\n ...IOSProps,\n ...AndroidProps,\n\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize?: ?AutoCapitalize,\n\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect?: ?boolean,\n\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus?: ?boolean,\n\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling?: ?boolean,\n\n /**\n * If `true`, caret is hidden. The default value is `false`.\n *\n * On Android devices manufactured by Xiaomi with Android Q,\n * when keyboardType equals 'email-address'this will be set\n * in native to 'true' to prevent a system related crash. This\n * will cause cursor to be diabled as a side-effect.\n *\n */\n caretHidden?: ?boolean,\n\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden?: ?boolean,\n\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue?: ?Stringish,\n\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable?: ?boolean,\n\n forwardedRef?: ?ReactRefSetter<\n React.ElementRef> & ImperativeMethods,\n >,\n\n /**\n * `enterKeyHint` defines what action label (or icon) to present for the enter key on virtual keyboards.\n *\n * The following values is supported:\n *\n * - `enter`\n * - `done`\n * - `go`\n * - `next`\n * - `previous`\n * - `search`\n * - `send`\n */\n enterKeyHint?: ?enterKeyHintType,\n\n /**\n * `inputMode` works like the `inputmode` attribute in HTML, it determines which\n * keyboard to open, e.g.`numeric` and has precedence over keyboardType\n *\n * Support the following values:\n *\n * - `none`\n * - `text`\n * - `decimal`\n * - `numeric`\n * - `tel`\n * - `search`\n * - `email`\n * - `url`\n */\n inputMode?: ?InputMode,\n\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n * - `url`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n *\n */\n keyboardType?: ?KeyboardType,\n\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier?: ?number,\n\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength?: ?number,\n\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline?: ?boolean,\n\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur?: ?(e: BlurEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange?: ?(e: ChangeEvent) => mixed,\n\n /**\n * DANGER: this API is not stable and will change in the future.\n *\n * Callback will be called on the main thread and may result in dropped frames.\n * Callback that is called when the text input's text changes.\n *\n * @platform ios\n */\n unstable_onChangeSync?: ?(e: ChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText?: ?(text: string) => mixed,\n\n /**\n * DANGER: this API is not stable and will change in the future.\n *\n * Callback will be called on the main thread and may result in dropped frames.\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n *\n * @platform ios\n */\n unstable_onChangeTextSync?: ?(text: string) => mixed,\n\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange?: ?(e: ContentSizeChangeEvent) => mixed,\n\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus?: ?(e: FocusEvent) => mixed,\n\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress?: ?(e: KeyPressEvent) => mixed,\n\n /**\n * DANGER: this API is not stable and will change in the future.\n *\n * Callback will be called on the main thread and may result in dropped frames.\n *\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n *\n * @platform ios\n */\n unstable_onKeyPressSync?: ?(e: KeyPressEvent) => mixed,\n\n /**\n * Called when a touch is engaged.\n */\n onPressIn?: ?(event: PressEvent) => mixed,\n\n /**\n * Called when a touch is released.\n */\n onPressOut?: ?(event: PressEvent) => mixed,\n\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange?: ?(e: SelectionChangeEvent) => mixed,\n\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing?: ?(e: EditingEvent) => mixed,\n\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll?: ?(e: ScrollEvent) => mixed,\n\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder?: ?Stringish,\n\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor?: ?ColorValue,\n\n /** `readOnly` works like the `readonly` attribute in HTML.\n * If `true`, text is not editable. The default value is `false`.\n * See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly\n * for more details.\n */\n readOnly?: ?boolean,\n\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType?: ?ReturnKeyType,\n\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry?: ?boolean,\n\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection?: ?$ReadOnly<{|\n start: number,\n end?: ?number,\n |}>,\n\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor?: ?ColorValue,\n\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus?: ?boolean,\n\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n *\n * @deprecated\n * Note that `submitBehavior` now takes the place of `blurOnSubmit` and will\n * override any behavior defined by `blurOnSubmit`.\n * @see submitBehavior\n */\n blurOnSubmit?: ?boolean,\n\n /**\n * When the return key is pressed,\n *\n * For single line inputs:\n *\n * - `'newline`' defaults to `'blurAndSubmit'`\n * - `undefined` defaults to `'blurAndSubmit'`\n *\n * For multiline inputs:\n *\n * - `'newline'` adds a newline\n * - `undefined` defaults to `'newline'`\n *\n * For both single line and multiline inputs:\n *\n * - `'submit'` will only send a submit event and not blur the input\n * - `'blurAndSubmit`' will both blur the input and send a submit event\n */\n submitBehavior?: ?SubmitBehavior,\n\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n style?: ?TextStyleProp,\n\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value?: ?Stringish,\n|}>;\n\ntype ImperativeMethods = $ReadOnly<{|\n clear: () => void,\n isFocused: () => boolean,\n getNativeRef: () => ?React.ElementRef>,\n setSelection: (start: number, end: number) => void,\n|}>;\n\nconst emptyFunctionThatReturnsTrue = () => true;\n\n/**\n * A foundational component for inputting text into the app via a\n * keyboard. Props provide configurability for several features, such as\n * auto-correction, auto-capitalization, placeholder text, and different keyboard\n * types, such as a numeric keypad.\n *\n * The simplest use case is to plop down a `TextInput` and subscribe to the\n * `onChangeText` events to read the user input. There are also other events,\n * such as `onSubmitEditing` and `onFocus` that can be subscribed to. A simple\n * example:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, TextInput } from 'react-native';\n *\n * export default class UselessTextInput extends Component {\n * constructor(props) {\n * super(props);\n * this.state = { text: 'Useless Placeholder' };\n * }\n *\n * render() {\n * return (\n * this.setState({text})}\n * value={this.state.text}\n * />\n * );\n * }\n * }\n *\n * // skip this line if using Create React Native App\n * AppRegistry.registerComponent('AwesomeProject', () => UselessTextInput);\n * ```\n *\n * Two methods exposed via the native element are .focus() and .blur() that\n * will focus or blur the TextInput programmatically.\n *\n * Note that some props are only available with `multiline={true/false}`.\n * Additionally, border styles that apply to only one side of the element\n * (e.g., `borderBottomColor`, `borderLeftWidth`, etc.) will not be applied if\n * `multiline=false`. To achieve the same effect, you can wrap your `TextInput`\n * in a `View`:\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react';\n * import { AppRegistry, View, TextInput } from 'react-native';\n *\n * class UselessTextInput extends Component {\n * render() {\n * return (\n * \n * );\n * }\n * }\n *\n * export default class UselessTextInputMultiline extends Component {\n * constructor(props) {\n * super(props);\n * this.state = {\n * text: 'Useless Multiline Placeholder',\n * };\n * }\n *\n * // If you type something in the text box that is a color, the background will change to that\n * // color.\n * render() {\n * return (\n * \n * this.setState({text})}\n * value={this.state.text}\n * />\n * \n * );\n * }\n * }\n *\n * // skip these lines if using Create React Native App\n * AppRegistry.registerComponent(\n * 'AwesomeProject',\n * () => UselessTextInputMultiline\n * );\n * ```\n *\n * `TextInput` has by default a border at the bottom of its view. This border\n * has its padding set by the background image provided by the system, and it\n * cannot be changed. Solutions to avoid this is to either not set height\n * explicitly, case in which the system will take care of displaying the border\n * in the correct position, or to not display the border by setting\n * `underlineColorAndroid` to transparent.\n *\n * Note that on Android performing text selection in input can change\n * app's activity `windowSoftInputMode` param to `adjustResize`.\n * This may cause issues with components that have position: 'absolute'\n * while keyboard is active. To avoid this behavior either specify `windowSoftInputMode`\n * in AndroidManifest.xml ( https://developer.android.com/guide/topics/manifest/activity-element.html )\n * or control this param programmatically with native code.\n *\n */\nfunction InternalTextInput(props: Props): React.Node {\n const {\n rows,\n numberOfLines,\n ...otherProps\n } = props;\n\n const inputRef = useRef>>(null);\n\n // Android sends a \"onTextChanged\" event followed by a \"onSelectionChanged\" event, for\n // the same \"most recent event count\".\n // For controlled selection, that means that immediately after text is updated,\n // a controlled component will pass in the *previous* selection, even if the controlled\n // component didn't mean to modify the selection at all.\n // Therefore, we ignore selections and pass them through until the selection event has\n // been sent.\n // Note that this mitigation is NOT needed for Fabric.\n // discovered when upgrading react-hooks\n // eslint-disable-next-line react-hooks/exhaustive-deps\n let selection: ?Selection =\n props.selection == null\n ? null\n : {\n start: props.selection.start,\n end: props.selection.end ?? props.selection.start,\n };\n\n const [mostRecentEventCount, setMostRecentEventCount] = useState(0);\n\n const [lastNativeText, setLastNativeText] = useState(props.value);\n const [lastNativeSelectionState, setLastNativeSelection] = useState<{|\n selection: ?Selection,\n mostRecentEventCount: number,\n |}>({selection, mostRecentEventCount});\n\n const lastNativeSelection = lastNativeSelectionState.selection;\n const lastNativeSelectionEventCount =\n lastNativeSelectionState.mostRecentEventCount;\n\n if (lastNativeSelectionEventCount < mostRecentEventCount) {\n selection = null;\n }\n\n let viewCommands;\n if (AndroidTextInputCommands) {\n viewCommands = AndroidTextInputCommands;\n } else {\n viewCommands =\n props.multiline === true\n ? RCTMultilineTextInputNativeCommands\n : RCTSinglelineTextInputNativeCommands;\n }\n\n const text =\n typeof props.value === 'string'\n ? props.value\n : typeof props.defaultValue === 'string'\n ? props.defaultValue\n : '';\n\n // This is necessary in case native updates the text and JS decides\n // that the update should be ignored and we should stick with the value\n // that we have in JS.\n useLayoutEffect(() => {\n const nativeUpdate: {text?: string, selection?: Selection} = {};\n\n if (lastNativeText !== props.value && typeof props.value === 'string') {\n nativeUpdate.text = props.value;\n setLastNativeText(props.value);\n }\n\n if (\n selection &&\n lastNativeSelection &&\n (lastNativeSelection.start !== selection.start ||\n lastNativeSelection.end !== selection.end)\n ) {\n nativeUpdate.selection = selection;\n setLastNativeSelection({selection, mostRecentEventCount});\n }\n\n if (Object.keys(nativeUpdate).length === 0) {\n return;\n }\n\n if (inputRef.current != null) {\n viewCommands.setTextAndSelection(\n inputRef.current,\n mostRecentEventCount,\n text,\n selection?.start ?? -1,\n selection?.end ?? -1,\n );\n }\n }, [\n mostRecentEventCount,\n inputRef,\n props.value,\n props.defaultValue,\n lastNativeText,\n selection,\n lastNativeSelection,\n text,\n viewCommands,\n ]);\n\n useLayoutEffect(() => {\n const inputRefValue = inputRef.current;\n\n if (inputRefValue != null) {\n TextInputState.registerInput(inputRefValue);\n\n return () => {\n TextInputState.unregisterInput(inputRefValue);\n\n if (TextInputState.currentlyFocusedInput() === inputRefValue) {\n nullthrows(inputRefValue).blur();\n }\n };\n }\n }, [inputRef]);\n\n function clear(): void {\n if (inputRef.current != null) {\n viewCommands.setTextAndSelection(\n inputRef.current,\n mostRecentEventCount,\n '',\n 0,\n 0,\n );\n }\n }\n\n function setSelection(start: number, end: number): void {\n if (inputRef.current != null) {\n viewCommands.setTextAndSelection(\n inputRef.current,\n mostRecentEventCount,\n null,\n start,\n end,\n );\n }\n }\n\n // TODO: Fix this returning true on null === null, when no input is focused\n function isFocused(): boolean {\n return TextInputState.currentlyFocusedInput() === inputRef.current;\n }\n\n function getNativeRef(): ?React.ElementRef> {\n return inputRef.current;\n }\n\n const _setNativeRef = setAndForwardRef({\n getForwardedRef: () => props.forwardedRef,\n setLocalRef: ref => {\n inputRef.current = ref;\n\n /*\n Hi reader from the future. I'm sorry for this.\n\n This is a hack. Ideally we would forwardRef to the underlying\n host component. However, since TextInput has it's own methods that can be\n called as well, if we used the standard forwardRef then these\n methods wouldn't be accessible and thus be a breaking change.\n\n We have a couple of options of how to handle this:\n - Return a new ref with everything we methods from both. This is problematic\n because we need React to also know it is a host component which requires\n internals of the class implementation of the ref.\n - Break the API and have some other way to call one set of the methods or\n the other. This is our long term approach as we want to eventually\n get the methods on host components off the ref. So instead of calling\n ref.measure() you might call ReactNative.measure(ref). This would hopefully\n let the ref for TextInput then have the methods like `.clear`. Or we do it\n the other way and make it TextInput.clear(textInputRef) which would be fine\n too. Either way though is a breaking change that is longer term.\n - Mutate this ref. :( Gross, but accomplishes what we need in the meantime\n before we can get to the long term breaking change.\n */\n if (ref) {\n ref.clear = clear;\n ref.isFocused = isFocused;\n ref.getNativeRef = getNativeRef;\n ref.setSelection = setSelection;\n }\n },\n });\n\n const _onChange = (event: ChangeEvent) => {\n const currentText = event.nativeEvent.text;\n props.onChange && props.onChange(event);\n props.onChangeText && props.onChangeText(currentText);\n\n if (inputRef.current == null) {\n // calling `props.onChange` or `props.onChangeText`\n // may clean up the input itself. Exits here.\n return;\n }\n\n setLastNativeText(currentText);\n // This must happen last, after we call setLastNativeText.\n // Different ordering can cause bugs when editing AndroidTextInputs\n // with multiple Fragments.\n // We must update this so that controlled input updates work.\n setMostRecentEventCount(event.nativeEvent.eventCount);\n };\n\n const _onChangeSync = (event: ChangeEvent) => {\n const currentText = event.nativeEvent.text;\n props.unstable_onChangeSync && props.unstable_onChangeSync(event);\n props.unstable_onChangeTextSync &&\n props.unstable_onChangeTextSync(currentText);\n\n if (inputRef.current == null) {\n // calling `props.onChange` or `props.onChangeText`\n // may clean up the input itself. Exits here.\n return;\n }\n\n setLastNativeText(currentText);\n // This must happen last, after we call setLastNativeText.\n // Different ordering can cause bugs when editing AndroidTextInputs\n // with multiple Fragments.\n // We must update this so that controlled input updates work.\n setMostRecentEventCount(event.nativeEvent.eventCount);\n };\n\n const _onSelectionChange = (event: SelectionChangeEvent) => {\n props.onSelectionChange && props.onSelectionChange(event);\n\n if (inputRef.current == null) {\n // calling `props.onSelectionChange`\n // may clean up the input itself. Exits here.\n return;\n }\n\n setLastNativeSelection({\n selection: event.nativeEvent.selection,\n mostRecentEventCount,\n });\n };\n\n const _onFocus = (event: FocusEvent) => {\n TextInputState.focusInput(inputRef.current);\n if (props.onFocus) {\n props.onFocus(event);\n }\n };\n\n const _onBlur = (event: BlurEvent) => {\n TextInputState.blurInput(inputRef.current);\n if (props.onBlur) {\n props.onBlur(event);\n }\n };\n\n const _onScroll = (event: ScrollEvent) => {\n props.onScroll && props.onScroll(event);\n };\n\n let textInput = null;\n\n const multiline = props.multiline ?? false;\n\n let submitBehavior: SubmitBehavior;\n if (props.submitBehavior != null) {\n // `submitBehavior` is set explicitly\n if (!multiline && props.submitBehavior === 'newline') {\n // For single line text inputs, `'newline'` is not a valid option\n submitBehavior = 'blurAndSubmit';\n } else {\n submitBehavior = props.submitBehavior;\n }\n } else if (multiline) {\n if (props.blurOnSubmit === true) {\n submitBehavior = 'blurAndSubmit';\n } else {\n submitBehavior = 'newline';\n }\n } else {\n // Single line\n if (props.blurOnSubmit !== false) {\n submitBehavior = 'blurAndSubmit';\n } else {\n submitBehavior = 'submit';\n }\n }\n\n const accessible = props.accessible !== false;\n const focusable = props.focusable !== false;\n\n const config = React.useMemo(\n () => ({\n onPress: (event: PressEvent) => {\n if (props.editable !== false) {\n if (inputRef.current != null) {\n inputRef.current.focus();\n }\n }\n },\n onPressIn: props.onPressIn,\n onPressOut: props.onPressOut,\n cancelable:\n Platform.OS === 'ios' ? !props.rejectResponderTermination : null,\n }),\n [\n props.editable,\n props.onPressIn,\n props.onPressOut,\n props.rejectResponderTermination,\n ],\n );\n\n // Hide caret during test runs due to a flashing caret\n // makes screenshot tests flakey\n let caretHidden = props.caretHidden;\n if (Platform.isTesting) {\n caretHidden = true;\n }\n\n // TextInput handles onBlur and onFocus events\n // so omitting onBlur and onFocus pressability handlers here.\n const {onBlur, onFocus, ...eventHandlers} = usePressability(config) || {};\n\n const _accessibilityState = {\n busy: props['aria-busy'] ?? props.accessibilityState?.busy,\n checked: props['aria-checked'] ?? props.accessibilityState?.checked,\n disabled: props['aria-disabled'] ?? props.accessibilityState?.disabled,\n expanded: props['aria-expanded'] ?? props.accessibilityState?.expanded,\n selected: props['aria-selected'] ?? props.accessibilityState?.selected,\n };\n\n if (Platform.OS === 'ios') {\n const RCTTextInputView =\n props.multiline === true\n ? RCTMultilineTextInputView\n : RCTSinglelineTextInputView;\n\n const style =\n props.multiline === true\n ? StyleSheet.flatten([styles.multilineInput, props.style])\n : props.style;\n\n const useOnChangeSync =\n (props.unstable_onChangeSync || props.unstable_onChangeTextSync) &&\n !(props.onChange || props.onChangeText);\n\n textInput = (\n \n );\n } else if (Platform.OS === 'android') {\n const style = [props.style];\n const autoCapitalize = props.autoCapitalize || 'sentences';\n const _accessibilityLabelledBy =\n props?.['aria-labelledby'] ?? props?.accessibilityLabelledBy;\n const placeholder = props.placeholder ?? '';\n let children = props.children;\n const childCount = React.Children.count(children);\n invariant(\n !(props.value != null && childCount),\n 'Cannot specify both value and children.',\n );\n if (childCount > 1) {\n children = {children};\n }\n\n textInput = (\n /* $FlowFixMe[prop-missing] the types for AndroidTextInput don't match up\n * exactly with the props for TextInput. This will need to get fixed */\n /* $FlowFixMe[incompatible-type] the types for AndroidTextInput don't\n * match up exactly with the props for TextInput. This will need to get\n * fixed */\n /* $FlowFixMe[incompatible-type-arg] the types for AndroidTextInput don't\n * match up exactly with the props for TextInput. This will need to get\n * fixed */\n \n );\n }\n return (\n {textInput}\n );\n}\n\nconst enterKeyHintToReturnTypeMap = {\n enter: 'default',\n done: 'done',\n go: 'go',\n next: 'next',\n previous: 'previous',\n search: 'search',\n send: 'send',\n};\n\nconst inputModeToKeyboardTypeMap = {\n none: 'default',\n text: 'default',\n decimal: 'decimal-pad',\n numeric: 'number-pad',\n tel: 'phone-pad',\n search: Platform.OS === 'ios' ? 'web-search' : 'default',\n email: 'email-address',\n url: 'url',\n};\n\n// Map HTML autocomplete values to Android autoComplete values\nconst autoCompleteWebToAutoCompleteAndroidMap = {\n 'address-line1': 'postal-address-region',\n 'address-line2': 'postal-address-locality',\n bday: 'birthdate-full',\n 'bday-day': 'birthdate-day',\n 'bday-month': 'birthdate-month',\n 'bday-year': 'birthdate-year',\n 'cc-csc': 'cc-csc',\n 'cc-exp': 'cc-exp',\n 'cc-exp-month': 'cc-exp-month',\n 'cc-exp-year': 'cc-exp-year',\n 'cc-number': 'cc-number',\n country: 'postal-address-country',\n 'current-password': 'password',\n email: 'email',\n 'honorific-prefix': 'name-prefix',\n 'honorific-suffix': 'name-suffix',\n name: 'name',\n 'additional-name': 'name-middle',\n 'family-name': 'name-family',\n 'given-name': 'name-given',\n 'new-password': 'password-new',\n off: 'off',\n 'one-time-code': 'sms-otp',\n 'postal-code': 'postal-code',\n sex: 'gender',\n 'street-address': 'street-address',\n tel: 'tel',\n 'tel-country-code': 'tel-country-code',\n 'tel-national': 'tel-national',\n username: 'username',\n};\n\n// Map HTML autocomplete values to iOS textContentType values\nconst autoCompleteWebToTextContentTypeMap = {\n 'address-line1': 'streetAddressLine1',\n 'address-line2': 'streetAddressLine2',\n 'cc-number': 'creditCardNumber',\n 'current-password': 'password',\n country: 'countryName',\n email: 'emailAddress',\n name: 'name',\n 'additional-name': 'middleName',\n 'family-name': 'familyName',\n 'given-name': 'givenName',\n nickname: 'nickname',\n 'honorific-prefix': 'namePrefix',\n 'honorific-suffix': 'nameSuffix',\n 'new-password': 'newPassword',\n off: 'none',\n 'one-time-code': 'oneTimeCode',\n organization: 'organizationName',\n 'organization-title': 'jobTitle',\n 'postal-code': 'postalCode',\n 'street-address': 'fullStreetAddress',\n tel: 'telephoneNumber',\n url: 'URL',\n username: 'username',\n};\n\nconst ExportedForwardRef: React.AbstractComponent<\n React.ElementConfig,\n React.ElementRef> & ImperativeMethods,\n> = React.forwardRef(function TextInput(\n {\n allowFontScaling = true,\n rejectResponderTermination = true,\n underlineColorAndroid = 'transparent',\n autoComplete,\n textContentType,\n readOnly,\n editable,\n enterKeyHint,\n returnKeyType,\n inputMode,\n keyboardType,\n ...restProps\n },\n forwardedRef: ReactRefSetter<\n React.ElementRef> & ImperativeMethods,\n >,\n) {\n const style = flattenStyle(restProps.style);\n\n if (style?.verticalAlign != null) {\n style.textAlignVertical =\n verticalAlignToTextAlignVerticalMap[style.verticalAlign];\n }\n\n return (\n \n );\n});\n\n/**\n * Switch to `deprecated-react-native-prop-types` for compatibility with future\n * releases. This is deprecated and will be removed in the future.\n */\nExportedForwardRef.propTypes =\n require('deprecated-react-native-prop-types').TextInputPropTypes;\n\n// $FlowFixMe[prop-missing]\nExportedForwardRef.State = {\n currentlyFocusedInput: TextInputState.currentlyFocusedInput,\n\n currentlyFocusedField: TextInputState.currentlyFocusedField,\n focusTextInput: TextInputState.focusTextInput,\n blurTextInput: TextInputState.blurTextInput,\n};\n\nexport type TextInputComponentStatics = $ReadOnly<{|\n State: $ReadOnly<{|\n currentlyFocusedInput: typeof TextInputState.currentlyFocusedInput,\n currentlyFocusedField: typeof TextInputState.currentlyFocusedField,\n focusTextInput: typeof TextInputState.focusTextInput,\n blurTextInput: typeof TextInputState.blurTextInput,\n |}>,\n|}>;\n\nconst styles = StyleSheet.create({\n multilineInput: {\n // This default top inset makes RCTMultilineTextInputView seem as close as possible\n // to single-line RCTSinglelineTextInputView defaults, using the system defaults\n // of font size 17 and a height of 31 points.\n paddingTop: 5,\n },\n});\n\nconst verticalAlignToTextAlignVerticalMap = {\n auto: 'auto',\n top: 'top',\n bottom: 'bottom',\n middle: 'center',\n};\n\n// $FlowFixMe[unclear-type] Unclear type. Using `any` type is not safe.\nmodule.exports = ((ExportedForwardRef: any): TextInputType);\n","'use strict';\n\nfunction nullthrows(x, message) {\n if (x != null) {\n return x;\n }\n var error = new Error(message !== undefined ? message : 'Got unexpected ' + x);\n error.framesToPop = 1; // Skip nullthrows's own stack frame.\n throw error;\n}\n\nmodule.exports = nullthrows;\nmodule.exports.default = nullthrows;\n\nObject.defineProperty(module.exports, '__esModule', {value: true});\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {\n ColorValue,\n TextStyleProp,\n ViewStyleProp,\n} from '../../StyleSheet/StyleSheet';\nimport type {\n BubblingEventHandler,\n DirectEventHandler,\n Double,\n Float,\n Int32,\n WithDefault,\n} from '../../Types/CodegenTypes';\nimport type {ViewProps} from '../View/ViewPropTypes';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\n\nexport type KeyboardType =\n // Cross Platform\n | 'default'\n | 'email-address'\n | 'numeric'\n | 'phone-pad'\n | 'number-pad'\n | 'decimal-pad'\n | 'url'\n // iOS-only\n | 'ascii-capable'\n | 'numbers-and-punctuation'\n | 'name-phone-pad'\n | 'twitter'\n | 'web-search'\n // Android-only\n | 'visible-password';\n\nexport type ReturnKeyType =\n // Cross Platform\n | 'done'\n | 'go'\n | 'next'\n | 'search'\n | 'send'\n // Android-only\n | 'none'\n | 'previous'\n // iOS-only\n | 'default'\n | 'emergency-call'\n | 'google'\n | 'join'\n | 'route'\n | 'yahoo';\n\nexport type SubmitBehavior = 'submit' | 'blurAndSubmit' | 'newline';\n\nexport type NativeProps = $ReadOnly<{|\n // This allows us to inherit everything from ViewProps except for style (see below)\n // This must be commented for Fabric codegen to work.\n ...$Diff>,\n\n /**\n * Android props after this\n */\n /**\n * Specifies autocomplete hints for the system, so it can provide autofill. On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.\n * To disable autocomplete, set `autoComplete` to `off`.\n *\n * *Android Only*\n *\n * Possible values for `autoComplete` are:\n *\n * - `birthdate-day`\n * - `birthdate-full`\n * - `birthdate-month`\n * - `birthdate-year`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-day`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `cc-number`\n * - `email`\n * - `gender`\n * - `name`\n * - `name-family`\n * - `name-given`\n * - `name-middle`\n * - `name-middle-initial`\n * - `name-prefix`\n * - `name-suffix`\n * - `password`\n * - `password-new`\n * - `postal-address`\n * - `postal-address-country`\n * - `postal-address-extended`\n * - `postal-address-extended-postal-code`\n * - `postal-address-locality`\n * - `postal-address-region`\n * - `postal-code`\n * - `street-address`\n * - `sms-otp`\n * - `tel`\n * - `tel-country-code`\n * - `tel-national`\n * - `tel-device`\n * - `username`\n * - `username-new`\n * - `off`\n *\n * @platform android\n */\n autoComplete?: WithDefault<\n | 'birthdate-day'\n | 'birthdate-full'\n | 'birthdate-month'\n | 'birthdate-year'\n | 'cc-csc'\n | 'cc-exp'\n | 'cc-exp-day'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-number'\n | 'email'\n | 'gender'\n | 'name'\n | 'name-family'\n | 'name-given'\n | 'name-middle'\n | 'name-middle-initial'\n | 'name-prefix'\n | 'name-suffix'\n | 'password'\n | 'password-new'\n | 'postal-address'\n | 'postal-address-country'\n | 'postal-address-extended'\n | 'postal-address-extended-postal-code'\n | 'postal-address-locality'\n | 'postal-address-region'\n | 'postal-code'\n | 'street-address'\n | 'sms-otp'\n | 'tel'\n | 'tel-country-code'\n | 'tel-national'\n | 'tel-device'\n | 'username'\n | 'username-new'\n | 'off',\n 'off',\n >,\n\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel?: ?string,\n\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines?: ?Int32,\n\n /**\n * Sets the maximum number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n maximumNumberOfLines?: ?Int32,\n\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI?: ?boolean,\n\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy?: WithDefault<\n 'simple' | 'highQuality' | 'balanced',\n 'simple',\n >,\n\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid?: ?ColorValue,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft?: ?string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding?: ?Int32,\n\n importantForAutofill?: string /*?(\n | 'auto'\n | 'no'\n | 'noExcludeDescendants'\n | 'yes'\n | 'yesExcludeDescendants'\n ),*/,\n\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus?: ?boolean,\n\n /**\n * TextInput props after this\n */\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize?: WithDefault<\n 'none' | 'sentences' | 'words' | 'characters',\n 'none',\n >,\n\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect?: ?boolean,\n\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus?: ?boolean,\n\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling?: ?boolean,\n\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier?: ?Float,\n\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable?: ?boolean,\n\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n * - `url`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType?: WithDefault,\n\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n */\n returnKeyType?: WithDefault,\n\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength?: ?Int32,\n\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline?: ?boolean,\n\n /**\n * Callback that is called when the text input is blurred.\n * `target` is the reactTag of the element\n */\n onBlur?: ?BubblingEventHandler<$ReadOnly<{|target: Int32|}>>,\n\n /**\n * Callback that is called when the text input is focused.\n * `target` is the reactTag of the element\n */\n onFocus?: ?BubblingEventHandler<$ReadOnly<{|target: Int32|}>>,\n\n /**\n * Callback that is called when the text input's text changes.\n * `target` is the reactTag of the element\n * TODO: differentiate between onChange and onChangeText\n */\n onChange?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, eventCount: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n * TODO: differentiate between onChange and onChangeText\n */\n onChangeText?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, eventCount: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n contentSize: $ReadOnly<{|width: Double, height: Double|}>,\n |}>,\n >,\n\n onTextInput?: ?BubblingEventHandler<\n $ReadOnly<{|\n target: Int32,\n text: string,\n previousText: string,\n range: $ReadOnly<{|start: Double, end: Double|}>,\n |}>,\n >,\n\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n selection: $ReadOnly<{|start: Double, end: Double|}>,\n |}>,\n >,\n\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing?: ?BubblingEventHandler<\n $ReadOnly<{|target: Int32, text: string|}>,\n >,\n\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress?: ?BubblingEventHandler<$ReadOnly<{|target: Int32, key: string|}>>,\n\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll?: ?DirectEventHandler<\n $ReadOnly<{|\n target: Int32,\n responderIgnoreScroll: boolean,\n contentInset: $ReadOnly<{|\n top: Double, // always 0 on Android\n bottom: Double, // always 0 on Android\n left: Double, // always 0 on Android\n right: Double, // always 0 on Android\n |}>,\n contentOffset: $ReadOnly<{|\n x: Double,\n y: Double,\n |}>,\n contentSize: $ReadOnly<{|\n width: Double, // always 0 on Android\n height: Double, // always 0 on Android\n |}>,\n layoutMeasurement: $ReadOnly<{|\n width: Double,\n height: Double,\n |}>,\n velocity: $ReadOnly<{|\n x: Double, // always 0 on Android\n y: Double, // always 0 on Android\n |}>,\n |}>,\n >,\n\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder?: ?Stringish,\n\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor?: ?ColorValue,\n\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry?: ?boolean,\n\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor?: ?ColorValue,\n\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection?: ?$ReadOnly<{|\n start: Int32,\n end?: ?Int32,\n |}>,\n\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value?: ?string,\n\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue?: ?string,\n\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus?: ?boolean,\n\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n *\n * @deprecated\n * Note that `submitBehavior` now takes the place of `blurOnSubmit` and will\n * override any behavior defined by `blurOnSubmit`.\n * @see submitBehavior\n */\n blurOnSubmit?: ?boolean,\n\n /**\n * When the return key is pressed,\n *\n * For single line inputs:\n *\n * - `'newline`' defaults to `'blurAndSubmit'`\n * - `undefined` defaults to `'blurAndSubmit'`\n *\n * For multiline inputs:\n *\n * - `'newline'` adds a newline\n * - `undefined` defaults to `'newline'`\n *\n * For both single line and multiline inputs:\n *\n * - `'submit'` will only send a submit event and not blur the input\n * - `'blurAndSubmit`' will both blur the input and send a submit event\n */\n submitBehavior?: ?SubmitBehavior,\n\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n // TODO: figure out what to do with this style prop for codegen/Fabric purposes\n // This must be commented for Fabric codegen to work; it's currently not possible\n // to override the default View style prop in codegen.\n style?: ?TextStyleProp,\n\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden?: ?boolean,\n\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden?: ?boolean,\n\n /**\n * The following are props that `BaseTextShadowNode` takes. It is unclear if they\n * are used by TextInput.\n */\n textShadowColor?: ?ColorValue,\n textShadowRadius?: ?Float,\n textDecorationLine?: ?string,\n fontStyle?: ?string,\n textShadowOffset?: ?$ReadOnly<{|width?: ?Double, height?: ?Double|}>,\n lineHeight?: ?Float,\n textTransform?: ?string,\n color?: ?Int32,\n letterSpacing?: ?Float,\n fontSize?: ?Float,\n textAlign?: ?string,\n includeFontPadding?: ?boolean,\n fontWeight?: ?string,\n fontFamily?: ?string,\n\n /**\n * I cannot find where these are defined but JS complains without them.\n */\n textAlignVertical?: ?string,\n cursorColor?: ?ColorValue,\n\n /**\n * \"Private\" fields used by TextInput.js and not users of this component directly\n */\n mostRecentEventCount: Int32,\n text?: ?string,\n|}>;\n\ntype NativeType = HostComponent;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'AndroidTextInput',\n bubblingEventTypes: {\n topBlur: {\n phasedRegistrationNames: {\n bubbled: 'onBlur',\n captured: 'onBlurCapture',\n },\n },\n topEndEditing: {\n phasedRegistrationNames: {\n bubbled: 'onEndEditing',\n captured: 'onEndEditingCapture',\n },\n },\n topFocus: {\n phasedRegistrationNames: {\n bubbled: 'onFocus',\n captured: 'onFocusCapture',\n },\n },\n topKeyPress: {\n phasedRegistrationNames: {\n bubbled: 'onKeyPress',\n captured: 'onKeyPressCapture',\n },\n },\n topSubmitEditing: {\n phasedRegistrationNames: {\n bubbled: 'onSubmitEditing',\n captured: 'onSubmitEditingCapture',\n },\n },\n topTextInput: {\n phasedRegistrationNames: {\n bubbled: 'onTextInput',\n captured: 'onTextInputCapture',\n },\n },\n },\n directEventTypes: {\n topScroll: {\n registrationName: 'onScroll',\n },\n },\n validAttributes: {\n maxFontSizeMultiplier: true,\n adjustsFontSizeToFit: true,\n minimumFontScale: true,\n autoFocus: true,\n placeholder: true,\n inlineImagePadding: true,\n contextMenuHidden: true,\n textShadowColor: {process: require('../../StyleSheet/processColor')},\n maxLength: true,\n selectTextOnFocus: true,\n textShadowRadius: true,\n underlineColorAndroid: {\n process: require('../../StyleSheet/processColor'),\n },\n textDecorationLine: true,\n submitBehavior: true,\n textAlignVertical: true,\n fontStyle: true,\n textShadowOffset: true,\n selectionColor: {process: require('../../StyleSheet/processColor')},\n selection: true,\n placeholderTextColor: {process: require('../../StyleSheet/processColor')},\n importantForAutofill: true,\n lineHeight: true,\n textTransform: true,\n returnKeyType: true,\n keyboardType: true,\n multiline: true,\n color: {process: require('../../StyleSheet/processColor')},\n autoComplete: true,\n numberOfLines: true,\n letterSpacing: true,\n returnKeyLabel: true,\n fontSize: true,\n onKeyPress: true,\n cursorColor: {process: require('../../StyleSheet/processColor')},\n text: true,\n showSoftInputOnFocus: true,\n textAlign: true,\n autoCapitalize: true,\n autoCorrect: true,\n caretHidden: true,\n secureTextEntry: true,\n textBreakStrategy: true,\n onScroll: true,\n onContentSizeChange: true,\n disableFullscreenUI: true,\n includeFontPadding: true,\n fontWeight: true,\n fontFamily: true,\n allowFontScaling: true,\n onSelectionChange: true,\n mostRecentEventCount: true,\n inlineImageLeft: true,\n editable: true,\n fontVariant: true,\n borderBottomRightRadius: true,\n borderBottomColor: {process: require('../../StyleSheet/processColor')},\n borderRadius: true,\n borderRightColor: {process: require('../../StyleSheet/processColor')},\n borderColor: {process: require('../../StyleSheet/processColor')},\n borderTopRightRadius: true,\n borderStyle: true,\n borderBottomLeftRadius: true,\n borderLeftColor: {process: require('../../StyleSheet/processColor')},\n borderTopLeftRadius: true,\n borderTopColor: {process: require('../../StyleSheet/processColor')},\n },\n};\n\nlet AndroidTextInputNativeComponent = NativeComponentRegistry.get(\n 'AndroidTextInput',\n () => __INTERNAL_VIEW_CONFIG,\n);\n\n// flowlint-next-line unclear-type:off\nexport default ((AndroidTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n HostComponent,\n PartialViewConfig,\n} from '../../Renderer/shims/ReactNativeTypes';\nimport type {TextInputNativeCommands} from './TextInputNativeCommands';\n\nimport * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry';\nimport codegenNativeCommands from '../../Utilities/codegenNativeCommands';\nimport RCTTextInputViewConfig from './RCTTextInputViewConfig';\n\ntype NativeType = HostComponent;\n\ntype NativeCommands = TextInputNativeCommands;\n\nexport const Commands: NativeCommands = codegenNativeCommands({\n supportedCommands: ['focus', 'blur', 'setTextAndSelection'],\n});\n\nexport const __INTERNAL_VIEW_CONFIG: PartialViewConfig = {\n uiViewClassName: 'RCTMultilineTextInputView',\n ...RCTTextInputViewConfig,\n validAttributes: {\n ...RCTTextInputViewConfig.validAttributes,\n dataDetectorTypes: true,\n },\n};\n\nconst MultilineTextInputNativeComponent: HostComponent =\n NativeComponentRegistry.get(\n 'RCTMultilineTextInputView',\n () => __INTERNAL_VIEW_CONFIG,\n );\n\n// flowlint-next-line unclear-type:off\nexport default ((MultilineTextInputNativeComponent: any): HostComponent);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport type {PressEvent} from '../../Types/CoreEventTypes';\nimport type {TouchableType} from './Touchable.flow';\n\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport UIManager from '../../ReactNative/UIManager';\nimport Platform from '../../Utilities/Platform';\nimport SoundManager from '../Sound/SoundManager';\nimport BoundingDimensions from './BoundingDimensions';\nimport Position from './Position';\nimport * as React from 'react';\n\nconst extractSingleTouch = (nativeEvent: {\n +changedTouches: $ReadOnlyArray,\n +force?: number,\n +identifier: number,\n +locationX: number,\n +locationY: number,\n +pageX: number,\n +pageY: number,\n +target: ?number,\n +timestamp: number,\n +touches: $ReadOnlyArray,\n}) => {\n const touches = nativeEvent.touches;\n const changedTouches = nativeEvent.changedTouches;\n const hasTouches = touches && touches.length > 0;\n const hasChangedTouches = changedTouches && changedTouches.length > 0;\n\n return !hasTouches && hasChangedTouches\n ? changedTouches[0]\n : hasTouches\n ? touches[0]\n : nativeEvent;\n};\n\n/**\n * `Touchable`: Taps done right.\n *\n * You hook your `ResponderEventPlugin` events into `Touchable`. `Touchable`\n * will measure time/geometry and tells you when to give feedback to the user.\n *\n * ====================== Touchable Tutorial ===============================\n * The `Touchable` mixin helps you handle the \"press\" interaction. It analyzes\n * the geometry of elements, and observes when another responder (scroll view\n * etc) has stolen the touch lock. It notifies your component when it should\n * give feedback to the user. (bouncing/highlighting/unhighlighting).\n *\n * - When a touch was activated (typically you highlight)\n * - When a touch was deactivated (typically you unhighlight)\n * - When a touch was \"pressed\" - a touch ended while still within the geometry\n * of the element, and no other element (like scroller) has \"stolen\" touch\n * lock (\"responder\") (Typically you bounce the element).\n *\n * A good tap interaction isn't as simple as you might think. There should be a\n * slight delay before showing a highlight when starting a touch. If a\n * subsequent touch move exceeds the boundary of the element, it should\n * unhighlight, but if that same touch is brought back within the boundary, it\n * should rehighlight again. A touch can move in and out of that boundary\n * several times, each time toggling highlighting, but a \"press\" is only\n * triggered if that touch ends while within the element's boundary and no\n * scroller (or anything else) has stolen the lock on touches.\n *\n * To create a new type of component that handles interaction using the\n * `Touchable` mixin, do the following:\n *\n * - Initialize the `Touchable` state.\n *\n * getInitialState: function() {\n * return merge(this.touchableGetInitialState(), yourComponentState);\n * }\n *\n * - Choose the rendered component who's touches should start the interactive\n * sequence. On that rendered node, forward all `Touchable` responder\n * handlers. You can choose any rendered node you like. Choose a node whose\n * hit target you'd like to instigate the interaction sequence:\n *\n * // In render function:\n * return (\n * \n * \n * Even though the hit detection/interactions are triggered by the\n * wrapping (typically larger) node, we usually end up implementing\n * custom logic that highlights this inner one.\n * \n * \n * );\n *\n * - You may set up your own handlers for each of these events, so long as you\n * also invoke the `touchable*` handlers inside of your custom handler.\n *\n * - Implement the handlers on your component class in order to provide\n * feedback to the user. See documentation for each of these class methods\n * that you should implement.\n *\n * touchableHandlePress: function() {\n * this.performBounceAnimation(); // or whatever you want to do.\n * },\n * touchableHandleActivePressIn: function() {\n * this.beginHighlighting(...); // Whatever you like to convey activation\n * },\n * touchableHandleActivePressOut: function() {\n * this.endHighlighting(...); // Whatever you like to convey deactivation\n * },\n *\n * - There are more advanced methods you can implement (see documentation below):\n * touchableGetHighlightDelayMS: function() {\n * return 20;\n * }\n * // In practice, *always* use a predeclared constant (conserve memory).\n * touchableGetPressRectOffset: function() {\n * return {top: 20, left: 20, right: 20, bottom: 100};\n * }\n */\n\n/**\n * Touchable states.\n */\n\nconst States = {\n NOT_RESPONDER: 'NOT_RESPONDER', // Not the responder\n RESPONDER_INACTIVE_PRESS_IN: 'RESPONDER_INACTIVE_PRESS_IN', // Responder, inactive, in the `PressRect`\n RESPONDER_INACTIVE_PRESS_OUT: 'RESPONDER_INACTIVE_PRESS_OUT', // Responder, inactive, out of `PressRect`\n RESPONDER_ACTIVE_PRESS_IN: 'RESPONDER_ACTIVE_PRESS_IN', // Responder, active, in the `PressRect`\n RESPONDER_ACTIVE_PRESS_OUT: 'RESPONDER_ACTIVE_PRESS_OUT', // Responder, active, out of `PressRect`\n RESPONDER_ACTIVE_LONG_PRESS_IN: 'RESPONDER_ACTIVE_LONG_PRESS_IN', // Responder, active, in the `PressRect`, after long press threshold\n RESPONDER_ACTIVE_LONG_PRESS_OUT: 'RESPONDER_ACTIVE_LONG_PRESS_OUT', // Responder, active, out of `PressRect`, after long press threshold\n ERROR: 'ERROR',\n};\n\ntype State =\n | typeof States.NOT_RESPONDER\n | typeof States.RESPONDER_INACTIVE_PRESS_IN\n | typeof States.RESPONDER_INACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_PRESS_OUT\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_IN\n | typeof States.RESPONDER_ACTIVE_LONG_PRESS_OUT\n | typeof States.ERROR;\n\n/*\n * Quick lookup map for states that are considered to be \"active\"\n */\n\nconst baseStatesConditions = {\n NOT_RESPONDER: false,\n RESPONDER_INACTIVE_PRESS_IN: false,\n RESPONDER_INACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_PRESS_IN: false,\n RESPONDER_ACTIVE_PRESS_OUT: false,\n RESPONDER_ACTIVE_LONG_PRESS_IN: false,\n RESPONDER_ACTIVE_LONG_PRESS_OUT: false,\n ERROR: false,\n};\n\nconst IsActive = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_PRESS_OUT: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n};\n\n/**\n * Quick lookup for states that are considered to be \"pressing\" and are\n * therefore eligible to result in a \"selection\" if the press stops.\n */\nconst IsPressingIn = {\n ...baseStatesConditions,\n RESPONDER_INACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_PRESS_IN: true,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\nconst IsLongPressingIn = {\n ...baseStatesConditions,\n RESPONDER_ACTIVE_LONG_PRESS_IN: true,\n};\n\n/**\n * Inputs to the state machine.\n */\nconst Signals = {\n DELAY: 'DELAY',\n RESPONDER_GRANT: 'RESPONDER_GRANT',\n RESPONDER_RELEASE: 'RESPONDER_RELEASE',\n RESPONDER_TERMINATED: 'RESPONDER_TERMINATED',\n ENTER_PRESS_RECT: 'ENTER_PRESS_RECT',\n LEAVE_PRESS_RECT: 'LEAVE_PRESS_RECT',\n LONG_PRESS_DETECTED: 'LONG_PRESS_DETECTED',\n};\n\ntype Signal =\n | typeof Signals.DELAY\n | typeof Signals.RESPONDER_GRANT\n | typeof Signals.RESPONDER_RELEASE\n | typeof Signals.RESPONDER_TERMINATED\n | typeof Signals.ENTER_PRESS_RECT\n | typeof Signals.LEAVE_PRESS_RECT\n | typeof Signals.LONG_PRESS_DETECTED;\n\n/**\n * Mapping from States x Signals => States\n */\nconst Transitions = {\n NOT_RESPONDER: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.ERROR,\n RESPONDER_TERMINATED: States.ERROR,\n ENTER_PRESS_RECT: States.ERROR,\n LEAVE_PRESS_RECT: States.ERROR,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_IN: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_IN,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_INACTIVE_PRESS_OUT: {\n DELAY: States.RESPONDER_ACTIVE_PRESS_OUT,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_INACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n RESPONDER_ACTIVE_LONG_PRESS_IN: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n },\n RESPONDER_ACTIVE_LONG_PRESS_OUT: {\n DELAY: States.ERROR,\n RESPONDER_GRANT: States.ERROR,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_IN,\n LEAVE_PRESS_RECT: States.RESPONDER_ACTIVE_LONG_PRESS_OUT,\n LONG_PRESS_DETECTED: States.ERROR,\n },\n error: {\n DELAY: States.NOT_RESPONDER,\n RESPONDER_GRANT: States.RESPONDER_INACTIVE_PRESS_IN,\n RESPONDER_RELEASE: States.NOT_RESPONDER,\n RESPONDER_TERMINATED: States.NOT_RESPONDER,\n ENTER_PRESS_RECT: States.NOT_RESPONDER,\n LEAVE_PRESS_RECT: States.NOT_RESPONDER,\n LONG_PRESS_DETECTED: States.NOT_RESPONDER,\n },\n};\n\n// ==== Typical Constants for integrating into UI components ====\n// var HIT_EXPAND_PX = 20;\n// var HIT_VERT_OFFSET_PX = 10;\nconst HIGHLIGHT_DELAY_MS = 130;\n\nconst PRESS_EXPAND_PX = 20;\n\nconst LONG_PRESS_THRESHOLD = 500;\n\nconst LONG_PRESS_DELAY_MS = LONG_PRESS_THRESHOLD - HIGHLIGHT_DELAY_MS;\n\nconst LONG_PRESS_ALLOWED_MOVEMENT = 10;\n\n// Default amount \"active\" region protrudes beyond box\n\n/**\n * By convention, methods prefixed with underscores are meant to be @private,\n * and not @protected. Mixers shouldn't access them - not even to provide them\n * as callback handlers.\n *\n *\n * ========== Geometry =========\n * `Touchable` only assumes that there exists a `HitRect` node. The `PressRect`\n * is an abstract box that is extended beyond the `HitRect`.\n *\n * +--------------------------+\n * | | - \"Start\" events in `HitRect` cause `HitRect`\n * | +--------------------+ | to become the responder.\n * | | +--------------+ | | - `HitRect` is typically expanded around\n * | | | | | | the `VisualRect`, but shifted downward.\n * | | | VisualRect | | | - After pressing down, after some delay,\n * | | | | | | and before letting up, the Visual React\n * | | +--------------+ | | will become \"active\". This makes it eligible\n * | | HitRect | | for being highlighted (so long as the\n * | +--------------------+ | press remains in the `PressRect`).\n * | PressRect o |\n * +----------------------|---+\n * Out Region |\n * +-----+ This gap between the `HitRect` and\n * `PressRect` allows a touch to move far away\n * from the original hit rect, and remain\n * highlighted, and eligible for a \"Press\".\n * Customize this via\n * `touchableGetPressRectOffset()`.\n *\n *\n *\n * ======= State Machine =======\n *\n * +-------------+ <---+ RESPONDER_RELEASE\n * |NOT_RESPONDER|\n * +-------------+ <---+ RESPONDER_TERMINATED\n * +\n * | RESPONDER_GRANT (HitRect)\n * v\n * +---------------------------+ DELAY +-------------------------+ T + DELAY +------------------------------+\n * |RESPONDER_INACTIVE_PRESS_IN|+-------->|RESPONDER_ACTIVE_PRESS_IN| +------------> |RESPONDER_ACTIVE_LONG_PRESS_IN|\n * +---------------------------+ +-------------------------+ +------------------------------+\n * + ^ + ^ + ^\n * |LEAVE_ |ENTER_ |LEAVE_ |ENTER_ |LEAVE_ |ENTER_\n * |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT |PRESS_RECT\n * | | | | | |\n * v + v + v +\n * +----------------------------+ DELAY +--------------------------+ +-------------------------------+\n * |RESPONDER_INACTIVE_PRESS_OUT|+------->|RESPONDER_ACTIVE_PRESS_OUT| |RESPONDER_ACTIVE_LONG_PRESS_OUT|\n * +----------------------------+ +--------------------------+ +-------------------------------+\n *\n * T + DELAY => LONG_PRESS_DELAY_MS + DELAY\n *\n * Not drawn are the side effects of each transition. The most important side\n * effect is the `touchableHandlePress` abstract method invocation that occurs\n * when a responder is released while in either of the \"Press\" states.\n *\n * The other important side effects are the highlight abstract method\n * invocations (internal callbacks) to be implemented by the mixer.\n *\n *\n * @lends Touchable.prototype\n */\nconst TouchableMixin = {\n componentDidMount: function () {\n if (!Platform.isTV) {\n return;\n }\n },\n\n /**\n * Clear all timeouts on unmount\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n componentWillUnmount: function () {\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n },\n\n /**\n * It's prefer that mixins determine state in this way, having the class\n * explicitly mix the state in the one and only `getInitialState` method.\n *\n * @return {object} State object to be placed inside of\n * `this.state.touchable`.\n */\n touchableGetInitialState: function (): $TEMPORARY$object<{|\n touchable: $TEMPORARY$object<{|responderID: null, touchState: void|}>,\n |}> {\n return {\n touchable: {touchState: undefined, responderID: null},\n };\n },\n\n // ==== Hooks to Gesture Responder system ====\n /**\n * Must return true if embedded in a native platform scroll view.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleResponderTerminationRequest: function (): any {\n return !this.props.rejectResponderTermination;\n },\n\n /**\n * Must return true to start the process of `Touchable`.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleStartShouldSetResponder: function (): any {\n return !this.props.disabled;\n },\n\n /**\n * Return true to cancel press on long press.\n */\n touchableLongPressCancelsPress: function (): boolean {\n return true;\n },\n\n /**\n * Place as callback for a DOM element's `onResponderGrant` event.\n * @param {SyntheticEvent} e Synthetic event from event system.\n *\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleResponderGrant: function (e: PressEvent) {\n const dispatchID = e.currentTarget;\n // Since e is used in a callback invoked on another event loop\n // (as in setTimeout etc), we need to call e.persist() on the\n // event to make sure it doesn't get reused in the event object pool.\n e.persist();\n\n this.pressOutDelayTimeout && clearTimeout(this.pressOutDelayTimeout);\n this.pressOutDelayTimeout = null;\n\n this.state.touchable.touchState = States.NOT_RESPONDER;\n this.state.touchable.responderID = dispatchID;\n this._receiveSignal(Signals.RESPONDER_GRANT, e);\n let delayMS =\n this.touchableGetHighlightDelayMS !== undefined\n ? Math.max(this.touchableGetHighlightDelayMS(), 0)\n : HIGHLIGHT_DELAY_MS;\n delayMS = isNaN(delayMS) ? HIGHLIGHT_DELAY_MS : delayMS;\n if (delayMS !== 0) {\n this.touchableDelayTimeout = setTimeout(\n this._handleDelay.bind(this, e),\n delayMS,\n );\n } else {\n this._handleDelay(e);\n }\n\n let longDelayMS =\n this.touchableGetLongPressDelayMS !== undefined\n ? Math.max(this.touchableGetLongPressDelayMS(), 10)\n : LONG_PRESS_DELAY_MS;\n longDelayMS = isNaN(longDelayMS) ? LONG_PRESS_DELAY_MS : longDelayMS;\n this.longPressDelayTimeout = setTimeout(\n this._handleLongDelay.bind(this, e),\n longDelayMS + delayMS,\n );\n },\n\n /**\n * Place as callback for a DOM element's `onResponderRelease` event.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleResponderRelease: function (e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_RELEASE, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderTerminate` event.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleResponderTerminate: function (e: PressEvent) {\n this.pressInLocation = null;\n this._receiveSignal(Signals.RESPONDER_TERMINATED, e);\n },\n\n /**\n * Place as callback for a DOM element's `onResponderMove` event.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleResponderMove: function (e: PressEvent) {\n // Measurement may not have returned yet.\n if (!this.state.touchable.positionOnActivate) {\n return;\n }\n\n const positionOnActivate = this.state.touchable.positionOnActivate;\n const dimensionsOnActivate = this.state.touchable.dimensionsOnActivate;\n const pressRectOffset = this.touchableGetPressRectOffset\n ? this.touchableGetPressRectOffset()\n : {\n left: PRESS_EXPAND_PX,\n right: PRESS_EXPAND_PX,\n top: PRESS_EXPAND_PX,\n bottom: PRESS_EXPAND_PX,\n };\n\n let pressExpandLeft = pressRectOffset.left;\n let pressExpandTop = pressRectOffset.top;\n let pressExpandRight = pressRectOffset.right;\n let pressExpandBottom = pressRectOffset.bottom;\n\n const hitSlop = this.touchableGetHitSlop\n ? this.touchableGetHitSlop()\n : null;\n\n if (hitSlop) {\n pressExpandLeft += hitSlop.left || 0;\n pressExpandTop += hitSlop.top || 0;\n pressExpandRight += hitSlop.right || 0;\n pressExpandBottom += hitSlop.bottom || 0;\n }\n\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n\n if (this.pressInLocation) {\n const movedDistance = this._getDistanceBetweenPoints(\n pageX,\n pageY,\n this.pressInLocation.pageX,\n this.pressInLocation.pageY,\n );\n if (movedDistance > LONG_PRESS_ALLOWED_MOVEMENT) {\n this._cancelLongPressDelayTimeout();\n }\n }\n\n const isTouchWithinActive =\n pageX > positionOnActivate.left - pressExpandLeft &&\n pageY > positionOnActivate.top - pressExpandTop &&\n pageX <\n positionOnActivate.left +\n dimensionsOnActivate.width +\n pressExpandRight &&\n pageY <\n positionOnActivate.top +\n dimensionsOnActivate.height +\n pressExpandBottom;\n if (isTouchWithinActive) {\n const prevState = this.state.touchable.touchState;\n this._receiveSignal(Signals.ENTER_PRESS_RECT, e);\n const curState = this.state.touchable.touchState;\n if (\n curState === States.RESPONDER_INACTIVE_PRESS_IN &&\n prevState !== States.RESPONDER_INACTIVE_PRESS_IN\n ) {\n // fix for t7967420\n this._cancelLongPressDelayTimeout();\n }\n } else {\n this._cancelLongPressDelayTimeout();\n this._receiveSignal(Signals.LEAVE_PRESS_RECT, e);\n }\n },\n\n /**\n * Invoked when the item receives focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * currently has the focus. Most platforms only support a single element being\n * focused at a time, in which case there may have been a previously focused\n * element that was blurred just prior to this. This can be overridden when\n * using `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleFocus: function (e: Event) {\n this.props.onFocus && this.props.onFocus(e);\n },\n\n /**\n * Invoked when the item loses focus. Mixers might override this to\n * visually distinguish the `VisualRect` so that the user knows that it\n * no longer has focus. Most platforms only support a single element being\n * focused at a time, in which case the focus may have moved to another.\n * This can be overridden when using\n * `Touchable.Mixin.withoutDefaultFocusAndBlur`.\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n touchableHandleBlur: function (e: Event) {\n this.props.onBlur && this.props.onBlur(e);\n },\n\n // ==== Abstract Application Callbacks ====\n\n /**\n * Invoked when the item should be highlighted. Mixers should implement this\n * to visually distinguish the `VisualRect` so that the user knows that\n * releasing a touch will result in a \"selection\" (analog to click).\n *\n * @abstract\n * touchableHandleActivePressIn: function,\n */\n\n /**\n * Invoked when the item is \"active\" (in that it is still eligible to become\n * a \"select\") but the touch has left the `PressRect`. Usually the mixer will\n * want to unhighlight the `VisualRect`. If the user (while pressing) moves\n * back into the `PressRect` `touchableHandleActivePressIn` will be invoked\n * again and the mixer should probably highlight the `VisualRect` again. This\n * event will not fire on an `touchEnd/mouseUp` event, only move events while\n * the user is depressing the mouse/touch.\n *\n * @abstract\n * touchableHandleActivePressOut: function\n */\n\n /**\n * Invoked when the item is \"selected\" - meaning the interaction ended by\n * letting up while the item was either in the state\n * `RESPONDER_ACTIVE_PRESS_IN` or `RESPONDER_INACTIVE_PRESS_IN`.\n *\n * @abstract\n * touchableHandlePress: function\n */\n\n /**\n * Invoked when the item is long pressed - meaning the interaction ended by\n * letting up while the item was in `RESPONDER_ACTIVE_LONG_PRESS_IN`. If\n * `touchableHandleLongPress` is *not* provided, `touchableHandlePress` will\n * be called as it normally is. If `touchableHandleLongPress` is provided, by\n * default any `touchableHandlePress` callback will not be invoked. To\n * override this default behavior, override `touchableLongPressCancelsPress`\n * to return false. As a result, `touchableHandlePress` will be called when\n * lifting up, even if `touchableHandleLongPress` has also been called.\n *\n * @abstract\n * touchableHandleLongPress: function\n */\n\n /**\n * Returns the number of millis to wait before triggering a highlight.\n *\n * @abstract\n * touchableGetHighlightDelayMS: function\n */\n\n /**\n * Returns the amount to extend the `HitRect` into the `PressRect`. Positive\n * numbers mean the size expands outwards.\n *\n * @abstract\n * touchableGetPressRectOffset: function\n */\n\n // ==== Internal Logic ====\n\n /**\n * Measures the `HitRect` node on activation. The Bounding rectangle is with\n * respect to viewport - not page, so adding the `pageXOffset/pageYOffset`\n * should result in points that are in the same coordinate system as an\n * event's `globalX/globalY` data values.\n *\n * - Consider caching this for the lifetime of the component, or possibly\n * being able to share this cache between any `ScrollMap` view.\n *\n * @sideeffects\n * @private\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _remeasureMetricsOnActivation: function () {\n const responderID = this.state.touchable.responderID;\n if (responderID == null) {\n return;\n }\n\n if (typeof responderID === 'number') {\n UIManager.measure(responderID, this._handleQueryLayout);\n } else {\n responderID.measure(this._handleQueryLayout);\n }\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _handleQueryLayout: function (\n l: number,\n t: number,\n w: number,\n h: number,\n globalX: number,\n globalY: number,\n ) {\n //don't do anything UIManager failed to measure node\n if (!l && !t && !w && !h && !globalX && !globalY) {\n return;\n }\n this.state.touchable.positionOnActivate &&\n Position.release(this.state.touchable.positionOnActivate);\n this.state.touchable.dimensionsOnActivate &&\n BoundingDimensions.release(this.state.touchable.dimensionsOnActivate);\n this.state.touchable.positionOnActivate = Position.getPooled(\n globalX,\n globalY,\n );\n this.state.touchable.dimensionsOnActivate = BoundingDimensions.getPooled(\n w,\n h,\n );\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _handleDelay: function (e: PressEvent) {\n this.touchableDelayTimeout = null;\n this._receiveSignal(Signals.DELAY, e);\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _handleLongDelay: function (e: PressEvent) {\n this.longPressDelayTimeout = null;\n const curState = this.state.touchable.touchState;\n if (\n curState === States.RESPONDER_ACTIVE_PRESS_IN ||\n curState === States.RESPONDER_ACTIVE_LONG_PRESS_IN\n ) {\n this._receiveSignal(Signals.LONG_PRESS_DETECTED, e);\n }\n },\n\n /**\n * Receives a state machine signal, performs side effects of the transition\n * and stores the new state. Validates the transition as well.\n *\n * @param {Signals} signal State machine signal.\n * @throws Error if invalid state transition or unrecognized signal.\n * @sideeffects\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _receiveSignal: function (signal: Signal, e: PressEvent) {\n const responderID = this.state.touchable.responderID;\n const curState = this.state.touchable.touchState;\n const nextState = Transitions[curState] && Transitions[curState][signal];\n if (!responderID && signal === Signals.RESPONDER_RELEASE) {\n return;\n }\n if (!nextState) {\n throw new Error(\n 'Unrecognized signal `' +\n signal +\n '` or state `' +\n curState +\n '` for Touchable responder `' +\n typeof this.state.touchable.responderID ===\n 'number'\n ? this.state.touchable.responderID\n : 'host component' + '`',\n );\n }\n if (nextState === States.ERROR) {\n throw new Error(\n 'Touchable cannot transition from `' +\n curState +\n '` to `' +\n signal +\n '` for responder `' +\n typeof this.state.touchable.responderID ===\n 'number'\n ? this.state.touchable.responderID\n : '<>' + '`',\n );\n }\n if (curState !== nextState) {\n this._performSideEffectsForTransition(curState, nextState, signal, e);\n this.state.touchable.touchState = nextState;\n }\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _cancelLongPressDelayTimeout: function () {\n this.longPressDelayTimeout && clearTimeout(this.longPressDelayTimeout);\n this.longPressDelayTimeout = null;\n },\n\n _isHighlight: function (state: State): boolean {\n return (\n state === States.RESPONDER_ACTIVE_PRESS_IN ||\n state === States.RESPONDER_ACTIVE_LONG_PRESS_IN\n );\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _savePressInLocation: function (e: PressEvent) {\n const touch = extractSingleTouch(e.nativeEvent);\n const pageX = touch && touch.pageX;\n const pageY = touch && touch.pageY;\n const locationX = touch && touch.locationX;\n const locationY = touch && touch.locationY;\n this.pressInLocation = {pageX, pageY, locationX, locationY};\n },\n\n _getDistanceBetweenPoints: function (\n aX: number,\n aY: number,\n bX: number,\n bY: number,\n ): number {\n const deltaX = aX - bX;\n const deltaY = aY - bY;\n return Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n },\n\n /**\n * Will perform a transition between touchable states, and identify any\n * highlighting or unhighlighting that must be performed for this particular\n * transition.\n *\n * @param {States} curState Current Touchable state.\n * @param {States} nextState Next Touchable state.\n * @param {Signal} signal Signal that triggered the transition.\n * @param {Event} e Native event.\n * @sideeffects\n */\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _performSideEffectsForTransition: function (\n curState: State,\n nextState: State,\n signal: Signal,\n e: PressEvent,\n ) {\n const curIsHighlight = this._isHighlight(curState);\n const newIsHighlight = this._isHighlight(nextState);\n\n const isFinalSignal =\n signal === Signals.RESPONDER_TERMINATED ||\n signal === Signals.RESPONDER_RELEASE;\n\n if (isFinalSignal) {\n this._cancelLongPressDelayTimeout();\n }\n\n const isInitialTransition =\n curState === States.NOT_RESPONDER &&\n nextState === States.RESPONDER_INACTIVE_PRESS_IN;\n\n const isActiveTransition = !IsActive[curState] && IsActive[nextState];\n if (isInitialTransition || isActiveTransition) {\n this._remeasureMetricsOnActivation();\n }\n\n if (IsPressingIn[curState] && signal === Signals.LONG_PRESS_DETECTED) {\n this.touchableHandleLongPress && this.touchableHandleLongPress(e);\n }\n\n if (newIsHighlight && !curIsHighlight) {\n this._startHighlight(e);\n } else if (!newIsHighlight && curIsHighlight) {\n this._endHighlight(e);\n }\n\n if (IsPressingIn[curState] && signal === Signals.RESPONDER_RELEASE) {\n const hasLongPressHandler = !!this.props.onLongPress;\n const pressIsLongButStillCallOnPress =\n IsLongPressingIn[curState] && // We *are* long pressing.. // But either has no long handler\n (!hasLongPressHandler || !this.touchableLongPressCancelsPress()); // or we're told to ignore it.\n\n const shouldInvokePress =\n !IsLongPressingIn[curState] || pressIsLongButStillCallOnPress;\n if (shouldInvokePress && this.touchableHandlePress) {\n if (!newIsHighlight && !curIsHighlight) {\n // we never highlighted because of delay, but we should highlight now\n this._startHighlight(e);\n this._endHighlight(e);\n }\n if (Platform.OS === 'android' && !this.props.touchSoundDisabled) {\n SoundManager.playTouchSound();\n }\n this.touchableHandlePress(e);\n }\n }\n\n this.touchableDelayTimeout && clearTimeout(this.touchableDelayTimeout);\n this.touchableDelayTimeout = null;\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _startHighlight: function (e: PressEvent) {\n this._savePressInLocation(e);\n this.touchableHandleActivePressIn && this.touchableHandleActivePressIn(e);\n },\n\n /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\n _endHighlight: function (e: PressEvent) {\n if (this.touchableHandleActivePressOut) {\n if (\n this.touchableGetPressOutDelayMS &&\n this.touchableGetPressOutDelayMS()\n ) {\n this.pressOutDelayTimeout = setTimeout(() => {\n this.touchableHandleActivePressOut(e);\n }, this.touchableGetPressOutDelayMS());\n } else {\n this.touchableHandleActivePressOut(e);\n }\n }\n },\n\n withoutDefaultFocusAndBlur: ({}: {...}),\n};\n\n/**\n * Provide an optional version of the mixin where `touchableHandleFocus` and\n * `touchableHandleBlur` can be overridden. This allows appropriate defaults to\n * be set on TV platforms, without breaking existing implementations of\n * `Touchable`.\n */\nconst {\n touchableHandleFocus,\n touchableHandleBlur,\n ...TouchableMixinWithoutDefaultFocusAndBlur\n} = TouchableMixin;\nTouchableMixin.withoutDefaultFocusAndBlur =\n TouchableMixinWithoutDefaultFocusAndBlur;\n\nconst Touchable: TouchableType = {\n Mixin: TouchableMixin,\n /**\n * Renders a debugging overlay to visualize touch target with hitSlop (might not work on Android).\n */\n renderDebugView: ({\n color,\n hitSlop,\n }: {\n color: ColorValue,\n hitSlop: EdgeInsetsProp,\n ...\n }): null | React.Node => {\n if (__DEV__) {\n return ;\n }\n return null;\n },\n};\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\nimport PooledClass from './PooledClass';\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * PooledClass representing the bounding rectangle of a region.\n *\n * @param {number} width Width of bounding rectangle.\n * @param {number} height Height of bounding rectangle.\n * @constructor BoundingDimensions\n */\nfunction BoundingDimensions(width, height) {\n this.width = width;\n this.height = height;\n}\n\nBoundingDimensions.prototype.destructor = function () {\n this.width = null;\n this.height = null;\n};\n\n/**\n * @param {HTMLElement} element Element to return `BoundingDimensions` for.\n * @return {BoundingDimensions} Bounding dimensions of `element`.\n */\nBoundingDimensions.getPooledFromElement = function (element) {\n return BoundingDimensions.getPooled(\n element.offsetWidth,\n element.offsetHeight,\n );\n};\n\nPooledClass.addPoolingTo(BoundingDimensions, twoArgumentPooler);\n\nmodule.exports = BoundingDimensions;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\nimport invariant from 'invariant';\n\n/**\n * Static poolers. Several custom versions for each potential number of\n * arguments. A completely generic pooler is easy to implement, but would\n * require accessing the `arguments` object. In each of these, `this` refers to\n * the Class itself, not an instance. If any others are needed, simply add them\n * here, or in their own files.\n */\n/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\nconst oneArgumentPooler = function (copyFieldsFrom: any) {\n const Klass = this; // eslint-disable-line consistent-this\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, copyFieldsFrom);\n return instance;\n } else {\n return new Klass(copyFieldsFrom);\n }\n};\n\n/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\nconst twoArgumentPooler = function (a1: any, a2: any) {\n const Klass = this; // eslint-disable-line consistent-this\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2);\n return instance;\n } else {\n return new Klass(a1, a2);\n }\n};\n\n/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\nconst threeArgumentPooler = function (a1: any, a2: any, a3: any) {\n const Klass = this; // eslint-disable-line consistent-this\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3);\n return instance;\n } else {\n return new Klass(a1, a2, a3);\n }\n};\n\n/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\nconst fourArgumentPooler = function (a1: any, a2: any, a3: any, a4: any) {\n const Klass = this; // eslint-disable-line consistent-this\n if (Klass.instancePool.length) {\n const instance = Klass.instancePool.pop();\n Klass.call(instance, a1, a2, a3, a4);\n return instance;\n } else {\n return new Klass(a1, a2, a3, a4);\n }\n};\n\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\n/* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by\n * Flow's LTI update could not be added via codemod */\nconst standardReleaser = function (instance) {\n const Klass = this; // eslint-disable-line consistent-this\n invariant(\n instance instanceof Klass,\n 'Trying to release an instance into a pool of a different type.',\n );\n instance.destructor();\n if (Klass.instancePool.length < Klass.poolSize) {\n Klass.instancePool.push(instance);\n }\n};\n\nconst DEFAULT_POOL_SIZE = 10;\nconst DEFAULT_POOLER = oneArgumentPooler;\n\ntype Pooler = any;\n\n/**\n * Augments `CopyConstructor` to be a poolable class, augmenting only the class\n * itself (statically) not adding any prototypical fields. Any CopyConstructor\n * you give this may have a `poolSize` property, and will look for a\n * prototypical `destructor` on instances.\n *\n * @param {Function} CopyConstructor Constructor that can be used to reset.\n * @param {Function} pooler Customizable pooler.\n */\nconst addPoolingTo = function (\n CopyConstructor: Class,\n pooler: Pooler,\n): Class & {\n getPooled(\n ...args: $ReadOnlyArray\n ): /* arguments of the constructor */ T,\n release(instance: mixed): void,\n ...\n} {\n // Casting as any so that flow ignores the actual implementation and trusts\n // it to match the type we declared\n const NewKlass = (CopyConstructor: any);\n NewKlass.instancePool = [];\n NewKlass.getPooled = pooler || DEFAULT_POOLER;\n if (!NewKlass.poolSize) {\n NewKlass.poolSize = DEFAULT_POOL_SIZE;\n }\n NewKlass.release = standardReleaser;\n return NewKlass;\n};\n\nconst PooledClass = {\n addPoolingTo: addPoolingTo,\n oneArgumentPooler: (oneArgumentPooler: Pooler),\n twoArgumentPooler: (twoArgumentPooler: Pooler),\n threeArgumentPooler: (threeArgumentPooler: Pooler),\n fourArgumentPooler: (fourArgumentPooler: Pooler),\n};\n\nmodule.exports = PooledClass;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\nimport PooledClass from './PooledClass';\n\nconst twoArgumentPooler = PooledClass.twoArgumentPooler;\n\n/**\n * Position does not expose methods for construction via an `HTMLDOMElement`,\n * because it isn't meaningful to construct such a thing without first defining\n * a frame of reference.\n *\n * @param {number} windowStartKey Key that window starts at.\n * @param {number} windowEndKey Key that window ends at.\n */\nfunction Position(left, top) {\n this.left = left;\n this.top = top;\n}\n\nPosition.prototype.destructor = function () {\n this.left = null;\n this.top = null;\n};\n\nPooledClass.addPoolingTo(Position, twoArgumentPooler);\n\nmodule.exports = Position;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {ColorValue} from '../../StyleSheet/StyleSheet';\nimport typeof TouchableWithoutFeedback from './TouchableWithoutFeedback';\n\nimport View from '../../Components/View/View';\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport StyleSheet, {type ViewStyleProp} from '../../StyleSheet/StyleSheet';\nimport Platform from '../../Utilities/Platform';\nimport * as React from 'react';\n\ntype AndroidProps = $ReadOnly<{|\n nextFocusDown?: ?number,\n nextFocusForward?: ?number,\n nextFocusLeft?: ?number,\n nextFocusRight?: ?number,\n nextFocusUp?: ?number,\n|}>;\n\ntype IOSProps = $ReadOnly<{|\n hasTVPreferredFocus?: ?boolean,\n|}>;\n\ntype Props = $ReadOnly<{|\n ...React.ElementConfig,\n ...AndroidProps,\n ...IOSProps,\n\n activeOpacity?: ?number,\n underlayColor?: ?ColorValue,\n style?: ?ViewStyleProp,\n onShowUnderlay?: ?() => void,\n onHideUnderlay?: ?() => void,\n testOnly_pressed?: ?boolean,\n\n hostRef: React.Ref,\n|}>;\n\ntype ExtraStyles = $ReadOnly<{|\n child: ViewStyleProp,\n underlay: ViewStyleProp,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n extraStyles: ?ExtraStyles,\n|}>;\n\n/**\n * A wrapper for making views respond properly to touches.\n * On press down, the opacity of the wrapped view is decreased, which allows\n * the underlay color to show through, darkening or tinting the view.\n *\n * The underlay comes from wrapping the child in a new View, which can affect\n * layout, and sometimes cause unwanted visual artifacts if not used correctly,\n * for example if the backgroundColor of the wrapped view isn't explicitly set\n * to an opaque color.\n *\n * TouchableHighlight must have one child (not zero or more than one).\n * If you wish to have several child components, wrap them in a View.\n *\n * Example:\n *\n * ```\n * renderButton: function() {\n * return (\n * \n * \n * \n * );\n * },\n * ```\n *\n *\n * ### Example\n *\n * ```ReactNativeWebPlayer\n * import React, { Component } from 'react'\n * import {\n * AppRegistry,\n * StyleSheet,\n * TouchableHighlight,\n * Text,\n * View,\n * } from 'react-native'\n *\n * class App extends Component {\n * constructor(props) {\n * super(props)\n * this.state = { count: 0 }\n * }\n *\n * onPress = () => {\n * this.setState({\n * count: this.state.count+1\n * })\n * }\n *\n * render() {\n * return (\n * \n * \n * Touch Here \n * \n * \n * \n * { this.state.count !== 0 ? this.state.count: null}\n * \n * \n * \n * )\n * }\n * }\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'center',\n * paddingHorizontal: 10\n * },\n * button: {\n * alignItems: 'center',\n * backgroundColor: '#DDDDDD',\n * padding: 10\n * },\n * countContainer: {\n * alignItems: 'center',\n * padding: 10\n * },\n * countText: {\n * color: '#FF00FF'\n * }\n * })\n *\n * AppRegistry.registerComponent('App', () => App)\n * ```\n *\n */\nclass TouchableHighlight extends React.Component {\n _hideTimeout: ?TimeoutID;\n _isMounted: boolean = false;\n\n state: State = {\n pressability: new Pressability(this._createPressabilityConfig()),\n extraStyles:\n this.props.testOnly_pressed === true ? this._createExtraStyles() : null,\n };\n\n _createPressabilityConfig(): PressabilityConfig {\n return {\n cancelable: !this.props.rejectResponderTermination,\n disabled:\n this.props.disabled != null\n ? this.props.disabled\n : this.props.accessibilityState?.disabled,\n hitSlop: this.props.hitSlop,\n delayLongPress: this.props.delayLongPress,\n delayPressIn: this.props.delayPressIn,\n delayPressOut: this.props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: this.props.pressRetentionOffset,\n android_disableSound: this.props.touchSoundDisabled,\n onBlur: event => {\n if (Platform.isTV) {\n this._hideUnderlay();\n }\n if (this.props.onBlur != null) {\n this.props.onBlur(event);\n }\n },\n onFocus: event => {\n if (Platform.isTV) {\n this._showUnderlay();\n }\n if (this.props.onFocus != null) {\n this.props.onFocus(event);\n }\n },\n onLongPress: this.props.onLongPress,\n onPress: event => {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n }\n if (!Platform.isTV) {\n this._showUnderlay();\n this._hideTimeout = setTimeout(() => {\n this._hideUnderlay();\n }, this.props.delayPressOut ?? 0);\n }\n if (this.props.onPress != null) {\n this.props.onPress(event);\n }\n },\n onPressIn: event => {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n }\n this._showUnderlay();\n if (this.props.onPressIn != null) {\n this.props.onPressIn(event);\n }\n },\n onPressOut: event => {\n if (this._hideTimeout == null) {\n this._hideUnderlay();\n }\n if (this.props.onPressOut != null) {\n this.props.onPressOut(event);\n }\n },\n };\n }\n\n _createExtraStyles(): ExtraStyles {\n return {\n child: {opacity: this.props.activeOpacity ?? 0.85},\n underlay: {\n backgroundColor:\n this.props.underlayColor === undefined\n ? 'black'\n : this.props.underlayColor,\n },\n };\n }\n\n _showUnderlay(): void {\n if (!this._isMounted || !this._hasPressHandler()) {\n return;\n }\n this.setState({extraStyles: this._createExtraStyles()});\n if (this.props.onShowUnderlay != null) {\n this.props.onShowUnderlay();\n }\n }\n\n _hideUnderlay(): void {\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n this._hideTimeout = null;\n }\n if (this.props.testOnly_pressed === true) {\n return;\n }\n if (this._hasPressHandler()) {\n this.setState({extraStyles: null});\n if (this.props.onHideUnderlay != null) {\n this.props.onHideUnderlay();\n }\n }\n }\n\n _hasPressHandler(): boolean {\n return (\n this.props.onPress != null ||\n this.props.onPressIn != null ||\n this.props.onPressOut != null ||\n this.props.onLongPress != null\n );\n }\n\n render(): React.Node {\n const child = React.Children.only(this.props.children);\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {onBlur, onFocus, ...eventHandlersWithoutBlurAndFocus} =\n this.state.pressability.getEventHandlers();\n\n const accessibilityState =\n this.props.disabled != null\n ? {\n ...this.props.accessibilityState,\n disabled: this.props.disabled,\n }\n : this.props.accessibilityState;\n\n const accessibilityValue = {\n max: this.props['aria-valuemax'] ?? this.props.accessibilityValue?.max,\n min: this.props['aria-valuemin'] ?? this.props.accessibilityValue?.min,\n now: this.props['aria-valuenow'] ?? this.props.accessibilityValue?.now,\n text: this.props['aria-valuetext'] ?? this.props.accessibilityValue?.text,\n };\n\n const accessibilityLiveRegion =\n this.props['aria-live'] === 'off'\n ? 'none'\n : this.props['aria-live'] ?? this.props.accessibilityLiveRegion;\n\n const accessibilityLabel =\n this.props['aria-label'] ?? this.props.accessibilityLabel;\n return (\n \n {React.cloneElement(child, {\n style: StyleSheet.compose(\n child.props.style,\n this.state.extraStyles?.child,\n ),\n })}\n {__DEV__ ? (\n \n ) : null}\n \n );\n }\n\n componentDidMount(): void {\n this._isMounted = true;\n }\n\n componentDidUpdate(prevProps: Props, prevState: State) {\n this.state.pressability.configure(this._createPressabilityConfig());\n }\n\n componentWillUnmount(): void {\n this._isMounted = false;\n if (this._hideTimeout != null) {\n clearTimeout(this._hideTimeout);\n }\n this.state.pressability.reset();\n }\n}\n\nconst Touchable = (React.forwardRef((props, hostRef) => (\n \n)): React.AbstractComponent<\n $ReadOnly<$Diff|}>>,\n React.ElementRef,\n>);\n\nTouchable.displayName = 'TouchableHighlight';\n\nmodule.exports = Touchable;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {\n AccessibilityActionEvent,\n AccessibilityActionInfo,\n AccessibilityRole,\n AccessibilityState,\n AccessibilityValue,\n} from '../../Components/View/ViewAccessibility';\nimport type {EdgeInsetsProp} from '../../StyleSheet/EdgeInsetsPropType';\nimport type {\n BlurEvent,\n FocusEvent,\n LayoutEvent,\n PressEvent,\n} from '../../Types/CoreEventTypes';\n\nimport View from '../../Components/View/View';\nimport Pressability, {\n type PressabilityConfig,\n} from '../../Pressability/Pressability';\nimport {PressabilityDebugView} from '../../Pressability/PressabilityDebug';\nimport * as React from 'react';\n\ntype Props = $ReadOnly<{|\n accessibilityActions?: ?$ReadOnlyArray,\n accessibilityElementsHidden?: ?boolean,\n accessibilityHint?: ?Stringish,\n accessibilityLanguage?: ?Stringish,\n accessibilityIgnoresInvertColors?: ?boolean,\n accessibilityLabel?: ?Stringish,\n accessibilityLiveRegion?: ?('none' | 'polite' | 'assertive'),\n accessibilityRole?: ?AccessibilityRole,\n accessibilityState?: ?AccessibilityState,\n accessibilityValue?: ?AccessibilityValue,\n 'aria-valuemax'?: AccessibilityValue['max'],\n 'aria-valuemin'?: AccessibilityValue['min'],\n 'aria-valuenow'?: AccessibilityValue['now'],\n 'aria-valuetext'?: AccessibilityValue['text'],\n accessibilityViewIsModal?: ?boolean,\n 'aria-modal'?: ?boolean,\n accessible?: ?boolean,\n /**\n * alias for accessibilityState\n *\n * see https://reactnative.dev/docs/accessibility#accessibilitystate\n */\n 'aria-busy'?: ?boolean,\n 'aria-checked'?: ?boolean | 'mixed',\n 'aria-disabled'?: ?boolean,\n 'aria-expanded'?: ?boolean,\n 'aria-selected'?: ?boolean,\n 'aria-hidden'?: ?boolean,\n 'aria-live'?: ?('polite' | 'assertive' | 'off'),\n 'aria-label'?: ?Stringish,\n children?: ?React.Node,\n delayLongPress?: ?number,\n delayPressIn?: ?number,\n delayPressOut?: ?number,\n disabled?: ?boolean,\n focusable?: ?boolean,\n hitSlop?: ?EdgeInsetsProp,\n id?: string,\n importantForAccessibility?: ?('auto' | 'yes' | 'no' | 'no-hide-descendants'),\n nativeID?: ?string,\n onAccessibilityAction?: ?(event: AccessibilityActionEvent) => mixed,\n onBlur?: ?(event: BlurEvent) => mixed,\n onFocus?: ?(event: FocusEvent) => mixed,\n onLayout?: ?(event: LayoutEvent) => mixed,\n onLongPress?: ?(event: PressEvent) => mixed,\n onPress?: ?(event: PressEvent) => mixed,\n onPressIn?: ?(event: PressEvent) => mixed,\n onPressOut?: ?(event: PressEvent) => mixed,\n pressRetentionOffset?: ?EdgeInsetsProp,\n rejectResponderTermination?: ?boolean,\n testID?: ?string,\n touchSoundDisabled?: ?boolean,\n|}>;\n\ntype State = $ReadOnly<{|\n pressability: Pressability,\n|}>;\n\nconst PASSTHROUGH_PROPS = [\n 'accessibilityActions',\n 'accessibilityElementsHidden',\n 'accessibilityHint',\n 'accessibilityLanguage',\n 'accessibilityIgnoresInvertColors',\n 'accessibilityLabel',\n 'accessibilityLiveRegion',\n 'accessibilityRole',\n 'accessibilityValue',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n 'accessibilityViewIsModal',\n 'aria-modal',\n 'hitSlop',\n 'importantForAccessibility',\n 'nativeID',\n 'onAccessibilityAction',\n 'onBlur',\n 'onFocus',\n 'onLayout',\n 'testID',\n];\n\nclass TouchableWithoutFeedback extends React.Component {\n state: State = {\n pressability: new Pressability(createPressabilityConfig(this.props)),\n };\n\n render(): React.Node {\n const element = React.Children.only(this.props.children);\n const children = [element.props.children];\n const ariaLive = this.props['aria-live'];\n\n if (__DEV__) {\n if (element.type === View) {\n children.push(\n ,\n );\n }\n }\n\n let _accessibilityState = {\n busy: this.props['aria-busy'] ?? this.props.accessibilityState?.busy,\n checked:\n this.props['aria-checked'] ?? this.props.accessibilityState?.checked,\n disabled:\n this.props['aria-disabled'] ?? this.props.accessibilityState?.disabled,\n expanded:\n this.props['aria-expanded'] ?? this.props.accessibilityState?.expanded,\n selected:\n this.props['aria-selected'] ?? this.props.accessibilityState?.selected,\n };\n\n // BACKWARD-COMPATIBILITY: Focus and blur events were never supported before\n // adopting `Pressability`, so preserve that behavior.\n const {onBlur, onFocus, ...eventHandlersWithoutBlurAndFocus} =\n this.state.pressability.getEventHandlers();\n\n const elementProps: {[string]: mixed, ...} = {\n ...eventHandlersWithoutBlurAndFocus,\n accessible: this.props.accessible !== false,\n accessibilityState:\n this.props.disabled != null\n ? {\n ..._accessibilityState,\n disabled: this.props.disabled,\n }\n : _accessibilityState,\n focusable:\n this.props.focusable !== false && this.props.onPress !== undefined,\n\n accessibilityElementsHidden:\n this.props['aria-hidden'] ?? this.props.accessibilityElementsHidden,\n importantForAccessibility:\n this.props['aria-hidden'] === true\n ? 'no-hide-descendants'\n : this.props.importantForAccessibility,\n accessibilityLiveRegion:\n ariaLive === 'off'\n ? 'none'\n : ariaLive ?? this.props.accessibilityLiveRegion,\n nativeID: this.props.id ?? this.props.nativeID,\n };\n for (const prop of PASSTHROUGH_PROPS) {\n if (this.props[prop] !== undefined) {\n elementProps[prop] = this.props[prop];\n }\n }\n\n return React.cloneElement(element, elementProps, ...children);\n }\n\n componentDidUpdate(): void {\n this.state.pressability.configure(createPressabilityConfig(this.props));\n }\n\n componentWillUnmount(): void {\n this.state.pressability.reset();\n }\n}\n\nfunction createPressabilityConfig({\n 'aria-disabled': ariaDisabled,\n ...props\n}: Props): PressabilityConfig {\n const accessibilityStateDisabled =\n ariaDisabled ?? props.accessibilityState?.disabled;\n return {\n cancelable: !props.rejectResponderTermination,\n disabled:\n props.disabled !== null ? props.disabled : accessibilityStateDisabled,\n hitSlop: props.hitSlop,\n delayLongPress: props.delayLongPress,\n delayPressIn: props.delayPressIn,\n delayPressOut: props.delayPressOut,\n minPressDuration: 0,\n pressRectOffset: props.pressRetentionOffset,\n android_disableSound: props.touchSoundDisabled,\n onBlur: props.onBlur,\n onFocus: props.onFocus,\n onLongPress: props.onLongPress,\n onPress: props.onPress,\n onPressIn: props.onPressIn,\n onPressOut: props.onPressOut,\n };\n}\n\nTouchableWithoutFeedback.displayName = 'TouchableWithoutFeedback';\n\nmodule.exports = TouchableWithoutFeedback;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {ProcessedColorValue} from '../StyleSheet/processColor';\nimport type {ColorValue} from '../StyleSheet/StyleSheet';\n\nimport RCTActionSheetManager from './NativeActionSheetManager';\n\nconst processColor = require('../StyleSheet/processColor');\nconst invariant = require('invariant');\n\n/**\n * Display action sheets and share sheets on iOS.\n *\n * See https://reactnative.dev/docs/actionsheetios\n */\nconst ActionSheetIOS = {\n /**\n * Display an iOS action sheet.\n *\n * The `options` object must contain one or more of:\n *\n * - `options` (array of strings) - a list of button titles (required)\n * - `cancelButtonIndex` (int) - index of cancel button in `options`\n * - `destructiveButtonIndex` (int or array of ints) - index or indices of destructive buttons in `options`\n * - `title` (string) - a title to show above the action sheet\n * - `message` (string) - a message to show below the title\n * - `disabledButtonIndices` (array of numbers) - a list of button indices which should be disabled\n *\n * The 'callback' function takes one parameter, the zero-based index\n * of the selected item.\n *\n * See https://reactnative.dev/docs/actionsheetios#showactionsheetwithoptions\n */\n showActionSheetWithOptions(\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: Array,\n +destructiveButtonIndex?: ?number | ?Array,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: ColorValue | ProcessedColorValue,\n +cancelButtonTintColor?: ColorValue | ProcessedColorValue,\n +userInterfaceStyle?: string,\n +disabledButtonIndices?: Array,\n |},\n callback: (buttonIndex: number) => void,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(RCTActionSheetManager, \"ActionSheetManager doesn't exist\");\n\n const {\n tintColor,\n cancelButtonTintColor,\n destructiveButtonIndex,\n ...remainingOptions\n } = options;\n let destructiveButtonIndices = null;\n\n if (Array.isArray(destructiveButtonIndex)) {\n destructiveButtonIndices = destructiveButtonIndex;\n } else if (typeof destructiveButtonIndex === 'number') {\n destructiveButtonIndices = [destructiveButtonIndex];\n }\n\n const processedTintColor = processColor(tintColor);\n const processedCancelButtonTintColor = processColor(cancelButtonTintColor);\n invariant(\n processedTintColor == null || typeof processedTintColor === 'number',\n 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions tintColor',\n );\n invariant(\n processedCancelButtonTintColor == null ||\n typeof processedCancelButtonTintColor === 'number',\n 'Unexpected color given for ActionSheetIOS.showActionSheetWithOptions cancelButtonTintColor',\n );\n RCTActionSheetManager.showActionSheetWithOptions(\n {\n ...remainingOptions,\n tintColor: processedTintColor,\n cancelButtonTintColor: processedCancelButtonTintColor,\n destructiveButtonIndices,\n },\n callback,\n );\n },\n\n /**\n * Display the iOS share sheet. The `options` object should contain\n * one or both of `message` and `url` and can additionally have\n * a `subject` or `excludedActivityTypes`:\n *\n * - `url` (string) - a URL to share\n * - `message` (string) - a message to share\n * - `subject` (string) - a subject for the message\n * - `excludedActivityTypes` (array) - the activities to exclude from\n * the ActionSheet\n * - `tintColor` (color) - tint color of the buttons\n *\n * The 'failureCallback' function takes one parameter, an error object.\n * The only property defined on this object is an optional `stack` property\n * of type `string`.\n *\n * The 'successCallback' function takes two parameters:\n *\n * - a boolean value signifying success or failure\n * - a string that, in the case of success, indicates the method of sharing\n *\n * See https://reactnative.dev/docs/actionsheetios#showshareactionsheetwithoptions\n */\n showShareActionSheetWithOptions(\n options: Object,\n failureCallback: Function,\n successCallback: Function,\n ) {\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n invariant(\n typeof failureCallback === 'function',\n 'Must provide a valid failureCallback',\n );\n invariant(\n typeof successCallback === 'function',\n 'Must provide a valid successCallback',\n );\n invariant(RCTActionSheetManager, \"ActionSheetManager doesn't exist\");\n RCTActionSheetManager.showShareActionSheetWithOptions(\n {...options, tintColor: processColor(options.tintColor)},\n failureCallback,\n successCallback,\n );\n },\n\n dismissActionSheet: () => {\n invariant(RCTActionSheetManager, \"ActionSheetManager doesn't exist\");\n if (typeof RCTActionSheetManager.dismissActionSheet === 'function') {\n RCTActionSheetManager.dismissActionSheet();\n }\n },\n};\n\nmodule.exports = ActionSheetIOS;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +showActionSheetWithOptions: (\n options: {|\n +title?: ?string,\n +message?: ?string,\n +options: ?Array,\n +destructiveButtonIndices?: ?Array,\n +cancelButtonIndex?: ?number,\n +anchor?: ?number,\n +tintColor?: ?number,\n +cancelButtonTintColor?: ?number,\n +userInterfaceStyle?: ?string,\n +disabledButtonIndices?: Array,\n |},\n callback: (buttonIndex: number) => void,\n ) => void;\n +showShareActionSheetWithOptions: (\n options: {|\n +message?: ?string,\n +url?: ?string,\n +subject?: ?string,\n +anchor?: ?number,\n +tintColor?: ?number,\n +cancelButtonTintColor?: ?number,\n +excludedActivityTypes?: ?Array,\n +userInterfaceStyle?: ?string,\n |},\n failureCallback: (error: {|\n +domain: string,\n +code: string,\n +userInfo?: ?Object,\n +message: string,\n |}) => void,\n successCallback: (completed: boolean, activityType: ?string) => void,\n ) => void;\n +dismissActionSheet?: () => void;\n}\n\nexport default (TurboModuleRegistry.get('ActionSheetManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport Platform from '../Utilities/Platform';\nimport EventEmitter, {\n type EventSubscription,\n} from '../vendor/emitter/EventEmitter';\nimport {isAsyncDebugging} from './DebugEnvironment';\nimport NativeAppearance, {\n type AppearancePreferences,\n type ColorSchemeName,\n} from './NativeAppearance';\nimport invariant from 'invariant';\n\ntype AppearanceListener = (preferences: AppearancePreferences) => void;\nconst eventEmitter = new EventEmitter<{\n change: [AppearancePreferences],\n}>();\n\ntype NativeAppearanceEventDefinitions = {\n appearanceChanged: [AppearancePreferences],\n};\n\nif (NativeAppearance) {\n const nativeEventEmitter =\n new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAppearance,\n );\n nativeEventEmitter.addListener(\n 'appearanceChanged',\n (newAppearance: AppearancePreferences) => {\n const {colorScheme} = newAppearance;\n invariant(\n colorScheme === 'dark' ||\n colorScheme === 'light' ||\n colorScheme == null,\n \"Unrecognized color scheme. Did you mean 'dark' or 'light'?\",\n );\n eventEmitter.emit('change', {colorScheme});\n },\n );\n}\n\nmodule.exports = {\n /**\n * Note: Although color scheme is available immediately, it may change at any\n * time. Any rendering logic or styles that depend on this should try to call\n * this function on every render, rather than caching the value (for example,\n * using inline styles rather than setting a value in a `StyleSheet`).\n *\n * Example: `const colorScheme = Appearance.getColorScheme();`\n *\n * @returns {?ColorSchemeName} Value for the color scheme preference.\n */\n getColorScheme(): ?ColorSchemeName {\n if (__DEV__) {\n if (isAsyncDebugging) {\n // Hard code light theme when using the async debugger as\n // sync calls aren't supported\n return 'light';\n }\n }\n\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n const nativeColorScheme: ?string =\n NativeAppearance == null\n ? null\n : NativeAppearance.getColorScheme() || null;\n invariant(\n nativeColorScheme === 'dark' ||\n nativeColorScheme === 'light' ||\n nativeColorScheme == null,\n \"Unrecognized color scheme. Did you mean 'dark' or 'light'?\",\n );\n return nativeColorScheme;\n },\n\n /**\n * Add an event handler that is fired when appearance preferences change.\n */\n addChangeListener(listener: AppearanceListener): EventSubscription {\n return eventEmitter.addListener('change', listener);\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport type ColorSchemeName = 'light' | 'dark';\n\nexport type AppearancePreferences = {|\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n // types.\n /* 'light' | 'dark' */\n colorScheme?: ?string,\n|};\n\nexport interface Spec extends TurboModule {\n // TODO: (hramos) T52919652 Use ?ColorSchemeName once codegen supports union\n // types.\n /* 'light' | 'dark' */\n +getColorScheme: () => ?string;\n\n // RCTEventEmitter\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('Appearance'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport logError from '../Utilities/logError';\nimport Platform from '../Utilities/Platform';\nimport {type EventSubscription} from '../vendor/emitter/EventEmitter';\nimport NativeAppState from './NativeAppState';\n\nexport type AppStateValues = 'inactive' | 'background' | 'active';\n\ntype AppStateEventDefinitions = {\n change: [AppStateValues],\n memoryWarning: [],\n blur: [],\n focus: [],\n};\n\ntype NativeAppStateEventDefinitions = {\n appStateDidChange: [{app_state: AppStateValues}],\n appStateFocusChange: [boolean],\n memoryWarning: [],\n};\n\n/**\n * `AppState` can tell you if the app is in the foreground or background,\n * and notify you when the state changes.\n *\n * See https://reactnative.dev/docs/appstate\n */\nclass AppState {\n currentState: ?string = null;\n isAvailable: boolean;\n\n _emitter: ?NativeEventEmitter;\n\n constructor() {\n if (NativeAppState == null) {\n this.isAvailable = false;\n } else {\n this.isAvailable = true;\n\n const emitter: NativeEventEmitter =\n new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeAppState,\n );\n this._emitter = emitter;\n\n this.currentState = NativeAppState.getConstants().initialAppState;\n\n let eventUpdated = false;\n\n // TODO: this is a terrible solution - in order to ensure `currentState`\n // prop is up to date, we have to register an observer that updates it\n // whenever the state changes, even if nobody cares. We should just\n // deprecate the `currentState` property and get rid of this.\n emitter.addListener('appStateDidChange', appStateData => {\n eventUpdated = true;\n this.currentState = appStateData.app_state;\n });\n\n // TODO: see above - this request just populates the value of `currentState`\n // when the module is first initialized. Would be better to get rid of the\n // prop and expose `getCurrentAppState` method directly.\n // $FlowExpectedError[incompatible-call]\n NativeAppState.getCurrentAppState(appStateData => {\n // It's possible that the state will have changed here & listeners need to be notified\n if (!eventUpdated && this.currentState !== appStateData.app_state) {\n this.currentState = appStateData.app_state;\n // $FlowFixMe[incompatible-call]\n emitter.emit('appStateDidChange', appStateData);\n }\n }, logError);\n }\n }\n\n /**\n * Add a handler to AppState changes by listening to the `change` event type\n * and providing the handler.\n *\n * See https://reactnative.dev/docs/appstate#addeventlistener\n */\n addEventListener>(\n type: K,\n handler: (...$ElementType) => void,\n ): EventSubscription {\n const emitter = this._emitter;\n if (emitter == null) {\n throw new Error('Cannot use AppState when `isAvailable` is false.');\n }\n switch (type) {\n case 'change':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const changeHandler: AppStateValues => void = handler;\n return emitter.addListener('appStateDidChange', appStateData => {\n changeHandler(appStateData.app_state);\n });\n case 'memoryWarning':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const memoryWarningHandler: () => void = handler;\n return emitter.addListener('memoryWarning', memoryWarningHandler);\n case 'blur':\n case 'focus':\n // $FlowIssue[invalid-tuple-arity] Flow cannot refine handler based on the event type\n const focusOrBlurHandler: () => void = handler;\n return emitter.addListener('appStateFocusChange', hasFocus => {\n if (type === 'blur' && !hasFocus) {\n focusOrBlurHandler();\n }\n if (type === 'focus' && hasFocus) {\n focusOrBlurHandler();\n }\n });\n }\n throw new Error('Trying to subscribe to unknown event: ' + type);\n }\n}\n\nmodule.exports = (new AppState(): AppState);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\n'use strict';\n\n/**\n * Small utility that can be used as an error handler. You cannot just pass\n * `console.error` as a failure callback - it's not properly bound. If passes an\n * `Error` object, it will print the message and stack.\n */\nconst logError = function (...args: $ReadOnlyArray) {\n if (args.length === 1 && args[0] instanceof Error) {\n const err = args[0];\n console.error('Error: \"' + err.message + '\". Stack:\\n' + err.stack);\n } else {\n console.error.apply(console, args);\n }\n};\n\nmodule.exports = logError;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n initialAppState: string,\n |};\n +getCurrentAppState: (\n success: (appState: {|app_state: string|}) => void,\n error: (error: Object) => void,\n ) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('AppState'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport NativeClipboard from './NativeClipboard';\n\n/**\n * `Clipboard` gives you an interface for setting and getting content from Clipboard on both iOS and Android\n */\nmodule.exports = {\n /**\n * Get content of string type, this method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _getContent() {\n * var content = await Clipboard.getString();\n * }\n * ```\n */\n getString(): Promise {\n return NativeClipboard.getString();\n },\n /**\n * Set content of string type. You can use following code to set clipboard content\n * ```javascript\n * _setContent() {\n * Clipboard.setString('hello world');\n * }\n * ```\n * @param the content to be stored in the clipboard.\n */\n setString(content: string) {\n NativeClipboard.setString(content);\n },\n};\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +getString: () => Promise;\n +setString: (content: string) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Clipboard'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeDeviceInfo from './NativeDeviceInfo';\n\nmodule.exports = NativeDeviceInfo;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport NativeDevSettings from '../NativeModules/specs/NativeDevSettings';\nimport Platform from '../Utilities/Platform';\n\nlet DevSettings: {\n addMenuItem(title: string, handler: () => mixed): void,\n reload(reason?: string): void,\n onFastRefresh(): void,\n} = {\n addMenuItem(title: string, handler: () => mixed): void {},\n reload(reason?: string): void {},\n onFastRefresh(): void {},\n};\n\ntype DevSettingsEventDefinitions = {\n didPressMenuItem: [{title: string}],\n};\n\nif (__DEV__) {\n const emitter = new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativeDevSettings,\n );\n const subscriptions = new Map();\n\n DevSettings = {\n addMenuItem(title: string, handler: () => mixed): void {\n // Make sure items are not added multiple times. This can\n // happen when hot reloading the module that registers the\n // menu items. The title is used as the id which means we\n // don't support multiple items with the same name.\n let subscription = subscriptions.get(title);\n if (subscription != null) {\n subscription.remove();\n } else {\n NativeDevSettings.addMenuItem(title);\n }\n\n subscription = emitter.addListener('didPressMenuItem', event => {\n if (event.title === title) {\n handler();\n }\n });\n subscriptions.set(title, subscription);\n },\n reload(reason?: string): void {\n if (NativeDevSettings.reloadWithReason != null) {\n NativeDevSettings.reloadWithReason(reason ?? 'Uncategorized from JS');\n } else {\n NativeDevSettings.reload();\n }\n },\n onFastRefresh(): void {\n NativeDevSettings.onFastRefresh?.();\n },\n };\n}\n\nmodule.exports = DevSettings;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +reload: () => void;\n +reloadWithReason?: (reason: string) => void;\n +onFastRefresh?: () => void;\n +setHotLoadingEnabled: (isHotLoadingEnabled: boolean) => void;\n +setIsDebuggingRemotely: (isDebuggingRemotelyEnabled: boolean) => void;\n +setProfilingEnabled: (isProfilingEnabled: boolean) => void;\n +toggleElementInspector: () => void;\n +addMenuItem: (title: string) => void;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n\n // iOS only.\n +setIsShakeToShowDevMenuEnabled: (enabled: boolean) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('DevSettings'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport InteractionManager from '../Interaction/InteractionManager';\nimport Platform from '../Utilities/Platform';\nimport NativeIntentAndroid from './NativeIntentAndroid';\nimport NativeLinkingManager from './NativeLinkingManager';\nimport invariant from 'invariant';\nimport nullthrows from 'nullthrows';\n\ntype LinkingEventDefinitions = {\n url: [{url: string}],\n};\n\n/**\n * `Linking` gives you a general interface to interact with both incoming\n * and outgoing app links.\n *\n * See https://reactnative.dev/docs/linking\n */\nclass Linking extends NativeEventEmitter {\n constructor() {\n super(Platform.OS === 'ios' ? nullthrows(NativeLinkingManager) : undefined);\n }\n\n /**\n * Add a handler to Linking changes by listening to the `url` event type\n * and providing the handler\n *\n * See https://reactnative.dev/docs/linking#addeventlistener\n */\n addEventListener>(\n eventType: K,\n listener: (...$ElementType) => mixed,\n context: $FlowFixMe,\n ): EventSubscription {\n return this.addListener(eventType, listener);\n }\n\n /**\n * Try to open the given `url` with any of the installed apps.\n *\n * See https://reactnative.dev/docs/linking#openurl\n */\n openURL(url: string): Promise {\n this._validateURL(url);\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).openURL(url);\n } else {\n return nullthrows(NativeLinkingManager).openURL(url);\n }\n }\n\n /**\n * Determine whether or not an installed app can handle a given URL.\n *\n * See https://reactnative.dev/docs/linking#canopenurl\n */\n canOpenURL(url: string): Promise {\n this._validateURL(url);\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).canOpenURL(url);\n } else {\n return nullthrows(NativeLinkingManager).canOpenURL(url);\n }\n }\n\n /**\n * Open app settings.\n *\n * See https://reactnative.dev/docs/linking#opensettings\n */\n openSettings(): Promise {\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).openSettings();\n } else {\n return nullthrows(NativeLinkingManager).openSettings();\n }\n }\n\n /**\n * If the app launch was triggered by an app link,\n * it will give the link url, otherwise it will give `null`\n *\n * See https://reactnative.dev/docs/linking#getinitialurl\n */\n getInitialURL(): Promise {\n return Platform.OS === 'android'\n ? InteractionManager.runAfterInteractions().then(() =>\n nullthrows(NativeIntentAndroid).getInitialURL(),\n )\n : nullthrows(NativeLinkingManager).getInitialURL();\n }\n\n /*\n * Launch an Android intent with extras (optional)\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/linking#sendintent\n */\n sendIntent(\n action: string,\n extras?: Array<{\n key: string,\n value: string | number | boolean,\n ...\n }>,\n ): Promise {\n if (Platform.OS === 'android') {\n return nullthrows(NativeIntentAndroid).sendIntent(action, extras);\n } else {\n return new Promise((resolve, reject) => reject(new Error('Unsupported')));\n }\n }\n\n _validateURL(url: string): void {\n invariant(\n typeof url === 'string',\n 'Invalid URL: should be a string. Was: ' + url,\n );\n invariant(url, 'Invalid URL: cannot be empty');\n }\n}\n\nmodule.exports = (new Linking(): Linking);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getInitialURL: () => Promise;\n +canOpenURL: (url: string) => Promise;\n +openURL: (url: string) => Promise;\n +openSettings: () => Promise;\n +sendIntent: (\n action: string,\n extras: ?Array<{\n key: string,\n value: string | number | boolean, // TODO(T67672788): Union types are not type safe\n ...\n }>,\n ) => Promise;\n}\n\nexport default (TurboModuleRegistry.get('IntentAndroid'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n // Common interface\n +getInitialURL: () => Promise;\n +canOpenURL: (url: string) => Promise;\n +openURL: (url: string) => Promise;\n +openSettings: () => Promise;\n\n // Events\n +addListener: (eventName: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get('LinkingManager'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {IgnorePattern, LogData} from './Data/LogBoxData';\nimport type {ExtendedExceptionData} from './Data/parseLogBoxLog';\n\nimport Platform from '../Utilities/Platform';\nimport RCTLog from '../Utilities/RCTLog';\n\nexport type {LogData, ExtendedExceptionData, IgnorePattern};\n\nlet LogBox;\n\ninterface ILogBox {\n install(): void;\n uninstall(): void;\n isInstalled(): boolean;\n ignoreLogs($ReadOnlyArray): void;\n ignoreAllLogs(?boolean): void;\n clearAllLogs(): void;\n addLog(log: LogData): void;\n addException(error: ExtendedExceptionData): void;\n}\n\n/**\n * LogBox displays logs in the app.\n */\nif (__DEV__) {\n const LogBoxData = require('./Data/LogBoxData');\n const {parseLogBoxLog, parseInterpolation} = require('./Data/parseLogBoxLog');\n\n let originalConsoleError;\n let originalConsoleWarn;\n let consoleErrorImpl;\n let consoleWarnImpl: (...args: Array) => void;\n\n let isLogBoxInstalled: boolean = false;\n\n LogBox = {\n install(): void {\n if (isLogBoxInstalled) {\n return;\n }\n\n isLogBoxInstalled = true;\n\n // Trigger lazy initialization of module.\n require('../NativeModules/specs/NativeLogBox');\n\n // IMPORTANT: we only overwrite `console.error` and `console.warn` once.\n // When we uninstall we keep the same reference and only change its\n // internal implementation\n const isFirstInstall = originalConsoleError == null;\n if (isFirstInstall) {\n originalConsoleError = console.error.bind(console);\n originalConsoleWarn = console.warn.bind(console);\n\n // $FlowExpectedError[cannot-write]\n console.error = (...args) => {\n consoleErrorImpl(...args);\n };\n // $FlowExpectedError[cannot-write]\n console.warn = (...args) => {\n consoleWarnImpl(...args);\n };\n }\n\n consoleErrorImpl = registerError;\n consoleWarnImpl = registerWarning;\n\n if (Platform.isTesting) {\n LogBoxData.setDisabled(true);\n }\n\n RCTLog.setWarningHandler((...args) => {\n registerWarning(...args);\n });\n },\n\n uninstall(): void {\n if (!isLogBoxInstalled) {\n return;\n }\n\n isLogBoxInstalled = false;\n\n // IMPORTANT: we don't re-assign to `console` in case the method has been\n // decorated again after installing LogBox. E.g.:\n // Before uninstalling: original > LogBox > OtherErrorHandler\n // After uninstalling: original > LogBox (noop) > OtherErrorHandler\n consoleErrorImpl = originalConsoleError;\n consoleWarnImpl = originalConsoleWarn;\n },\n\n isInstalled(): boolean {\n return isLogBoxInstalled;\n },\n\n ignoreLogs(patterns: $ReadOnlyArray): void {\n LogBoxData.addIgnorePatterns(patterns);\n },\n\n ignoreAllLogs(value?: ?boolean): void {\n LogBoxData.setDisabled(value == null ? true : value);\n },\n\n clearAllLogs(): void {\n LogBoxData.clear();\n },\n\n addLog(log: LogData): void {\n if (isLogBoxInstalled) {\n LogBoxData.addLog(log);\n }\n },\n\n addException(error: ExtendedExceptionData): void {\n if (isLogBoxInstalled) {\n LogBoxData.addException(error);\n }\n },\n };\n\n const isRCTLogAdviceWarning = (...args: Array) => {\n // RCTLogAdvice is a native logging function designed to show users\n // a message in the console, but not show it to them in Logbox.\n return typeof args[0] === 'string' && args[0].startsWith('(ADVICE)');\n };\n\n const isWarningModuleWarning = (...args: Array) => {\n return typeof args[0] === 'string' && args[0].startsWith('Warning: ');\n };\n\n const registerWarning = (...args: Array): void => {\n // Let warnings within LogBox itself fall through.\n if (LogBoxData.isLogBoxErrorMessage(String(args[0]))) {\n originalConsoleError(...args);\n return;\n } else {\n // Be sure to pass LogBox warnings through.\n originalConsoleWarn(...args);\n }\n\n try {\n if (!isRCTLogAdviceWarning(...args)) {\n const {category, message, componentStack} = parseLogBoxLog(args);\n\n if (!LogBoxData.isMessageIgnored(message.content)) {\n LogBoxData.addLog({\n level: 'warn',\n category,\n message,\n componentStack,\n });\n }\n }\n } catch (err) {\n LogBoxData.reportLogBoxError(err);\n }\n };\n\n /* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\n const registerError = (...args): void => {\n // Let errors within LogBox itself fall through.\n if (LogBoxData.isLogBoxErrorMessage(args[0])) {\n originalConsoleError(...args);\n return;\n }\n\n try {\n if (!isWarningModuleWarning(...args)) {\n // Only show LogBox for the 'warning' module, otherwise pass through.\n // By passing through, this will get picked up by the React console override,\n // potentially adding the component stack. React then passes it back to the\n // React Native ExceptionsManager, which reports it to LogBox as an error.\n //\n // The 'warning' module needs to be handled here because React internally calls\n // `console.error('Warning: ')` with the component stack already included.\n originalConsoleError(...args);\n return;\n }\n\n const format = args[0].replace('Warning: ', '');\n const filterResult = LogBoxData.checkWarningFilter(format);\n if (filterResult.suppressCompletely) {\n return;\n }\n\n let level = 'error';\n if (filterResult.suppressDialog_LEGACY === true) {\n level = 'warn';\n } else if (filterResult.forceDialogImmediately === true) {\n level = 'fatal'; // Do not downgrade. These are real bugs with same severity as throws.\n }\n\n // Unfortunately, we need to add the Warning: prefix back for downstream dependencies.\n args[0] = `Warning: ${filterResult.finalFormat}`;\n const {category, message, componentStack} = parseLogBoxLog(args);\n\n // Interpolate the message so they are formatted for adb and other CLIs.\n // This is different than the message.content above because it includes component stacks.\n const interpolated = parseInterpolation(args);\n originalConsoleError(interpolated.message.content);\n\n if (!LogBoxData.isMessageIgnored(message.content)) {\n LogBoxData.addLog({\n level,\n category,\n message,\n componentStack,\n });\n }\n } catch (err) {\n LogBoxData.reportLogBoxError(err);\n }\n };\n} else {\n LogBox = {\n install(): void {\n // Do nothing.\n },\n\n uninstall(): void {\n // Do nothing.\n },\n\n isInstalled(): boolean {\n return false;\n },\n\n ignoreLogs(patterns: $ReadOnlyArray): void {\n // Do nothing.\n },\n\n ignoreAllLogs(value?: ?boolean): void {\n // Do nothing.\n },\n\n clearAllLogs(): void {\n // Do nothing.\n },\n\n addLog(log: LogData): void {\n // Do nothing.\n },\n\n addException(error: ExtendedExceptionData): void {\n // Do nothing.\n },\n };\n}\n\nmodule.exports = (LogBox: ILogBox);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {PressEvent} from '../Types/CoreEventTypes';\nimport type {PanResponderType} from './PanResponder.flow.js';\n\nconst InteractionManager = require('./InteractionManager');\nconst TouchHistoryMath = require('./TouchHistoryMath');\n\nconst currentCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidXOfTouchesChangedAfter;\nconst currentCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.currentCentroidYOfTouchesChangedAfter;\nconst previousCentroidXOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidXOfTouchesChangedAfter;\nconst previousCentroidYOfTouchesChangedAfter =\n TouchHistoryMath.previousCentroidYOfTouchesChangedAfter;\nconst currentCentroidX = TouchHistoryMath.currentCentroidX;\nconst currentCentroidY = TouchHistoryMath.currentCentroidY;\n\n/**\n * `PanResponder` reconciles several touches into a single gesture. It makes\n * single-touch gestures resilient to extra touches, and can be used to\n * recognize simple multi-touch gestures.\n *\n * By default, `PanResponder` holds an `InteractionManager` handle to block\n * long-running JS events from interrupting active gestures.\n *\n * It provides a predictable wrapper of the responder handlers provided by the\n * [gesture responder system](docs/gesture-responder-system.html).\n * For each handler, it provides a new `gestureState` object alongside the\n * native event object:\n *\n * ```\n * onPanResponderMove: (event, gestureState) => {}\n * ```\n *\n * A native event is a synthetic touch event with the following form:\n *\n * - `nativeEvent`\n * + `changedTouches` - Array of all touch events that have changed since the last event\n * + `identifier` - The ID of the touch\n * + `locationX` - The X position of the touch, relative to the element\n * + `locationY` - The Y position of the touch, relative to the element\n * + `pageX` - The X position of the touch, relative to the root element\n * + `pageY` - The Y position of the touch, relative to the root element\n * + `target` - The node id of the element receiving the touch event\n * + `timestamp` - A time identifier for the touch, useful for velocity calculation\n * + `touches` - Array of all current touches on the screen\n *\n * A `gestureState` object has the following:\n *\n * - `stateID` - ID of the gestureState- persisted as long as there at least\n * one touch on screen\n * - `moveX` - the latest screen coordinates of the recently-moved touch\n * - `moveY` - the latest screen coordinates of the recently-moved touch\n * - `x0` - the screen coordinates of the responder grant\n * - `y0` - the screen coordinates of the responder grant\n * - `dx` - accumulated distance of the gesture since the touch started\n * - `dy` - accumulated distance of the gesture since the touch started\n * - `vx` - current velocity of the gesture\n * - `vy` - current velocity of the gesture\n * - `numberActiveTouches` - Number of touches currently on screen\n *\n * ### Basic Usage\n *\n * ```\n * componentWillMount: function() {\n * this._panResponder = PanResponder.create({\n * // Ask to be the responder:\n * onStartShouldSetPanResponder: (evt, gestureState) => true,\n * onStartShouldSetPanResponderCapture: (evt, gestureState) => true,\n * onMoveShouldSetPanResponder: (evt, gestureState) => true,\n * onMoveShouldSetPanResponderCapture: (evt, gestureState) => true,\n *\n * onPanResponderGrant: (evt, gestureState) => {\n * // The gesture has started. Show visual feedback so the user knows\n * // what is happening!\n *\n * // gestureState.d{x,y} will be set to zero now\n * },\n * onPanResponderMove: (evt, gestureState) => {\n * // The most recent move distance is gestureState.move{X,Y}\n *\n * // The accumulated gesture distance since becoming responder is\n * // gestureState.d{x,y}\n * },\n * onPanResponderTerminationRequest: (evt, gestureState) => true,\n * onPanResponderRelease: (evt, gestureState) => {\n * // The user has released all touches while this view is the\n * // responder. This typically means a gesture has succeeded\n * },\n * onPanResponderTerminate: (evt, gestureState) => {\n * // Another component has become the responder, so this gesture\n * // should be cancelled\n * },\n * onShouldBlockNativeResponder: (evt, gestureState) => {\n * // Returns whether this component should block native components from becoming the JS\n * // responder. Returns true by default. Is currently only supported on android.\n * return true;\n * },\n * });\n * },\n *\n * render: function() {\n * return (\n * \n * );\n * },\n *\n * ```\n *\n * ### Working Example\n *\n * To see it in action, try the\n * [PanResponder example in RNTester](https://github.com/facebook/react-native/blob/HEAD/packages/rn-tester/js/examples/PanResponder/PanResponderExample.js)\n */\n\nexport type GestureState = {|\n /**\n * ID of the gestureState - persisted as long as there at least one touch on screen\n */\n stateID: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveX: number,\n\n /**\n * The latest screen coordinates of the recently-moved touch\n */\n moveY: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n x0: number,\n\n /**\n * The screen coordinates of the responder grant\n */\n y0: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dx: number,\n\n /**\n * Accumulated distance of the gesture since the touch started\n */\n dy: number,\n\n /**\n * Current velocity of the gesture\n */\n vx: number,\n\n /**\n * Current velocity of the gesture\n */\n vy: number,\n\n /**\n * Number of touches currently on screen\n */\n numberActiveTouches: number,\n\n /**\n * All `gestureState` accounts for timeStamps up until this value\n *\n * @private\n */\n _accountsForMovesUpTo: number,\n|};\n\ntype ActiveCallback = (\n event: PressEvent,\n gestureState: GestureState,\n) => boolean;\n\ntype PassiveCallback = (event: PressEvent, gestureState: GestureState) => mixed;\n\ntype PanHandlers = {|\n onMoveShouldSetResponder: (event: PressEvent) => boolean,\n onMoveShouldSetResponderCapture: (event: PressEvent) => boolean,\n onResponderEnd: (event: PressEvent) => void,\n onResponderGrant: (event: PressEvent) => boolean,\n onResponderMove: (event: PressEvent) => void,\n onResponderReject: (event: PressEvent) => void,\n onResponderRelease: (event: PressEvent) => void,\n onResponderStart: (event: PressEvent) => void,\n onResponderTerminate: (event: PressEvent) => void,\n onResponderTerminationRequest: (event: PressEvent) => boolean,\n onStartShouldSetResponder: (event: PressEvent) => boolean,\n onStartShouldSetResponderCapture: (event: PressEvent) => boolean,\n|};\n\ntype PanResponderConfig = $ReadOnly<{|\n onMoveShouldSetPanResponder?: ?ActiveCallback,\n onMoveShouldSetPanResponderCapture?: ?ActiveCallback,\n onStartShouldSetPanResponder?: ?ActiveCallback,\n onStartShouldSetPanResponderCapture?: ?ActiveCallback,\n /**\n * The body of `onResponderGrant` returns a bool, but the vast majority of\n * callsites return void and this TODO notice is found in it:\n * TODO: t7467124 investigate if this can be removed\n */\n onPanResponderGrant?: ?(PassiveCallback | ActiveCallback),\n onPanResponderReject?: ?PassiveCallback,\n onPanResponderStart?: ?PassiveCallback,\n onPanResponderEnd?: ?PassiveCallback,\n onPanResponderRelease?: ?PassiveCallback,\n onPanResponderMove?: ?PassiveCallback,\n onPanResponderTerminate?: ?PassiveCallback,\n onPanResponderTerminationRequest?: ?ActiveCallback,\n onShouldBlockNativeResponder?: ?ActiveCallback,\n|}>;\n\nconst PanResponder: PanResponderType = {\n /**\n *\n * A graphical explanation of the touch data flow:\n *\n * +----------------------------+ +--------------------------------+\n * | ResponderTouchHistoryStore | |TouchHistoryMath |\n * +----------------------------+ +----------+---------------------+\n * |Global store of touchHistory| |Allocation-less math util |\n * |including activeness, start | |on touch history (centroids |\n * |position, prev/cur position.| |and multitouch movement etc) |\n * | | | |\n * +----^-----------------------+ +----^---------------------------+\n * | |\n * | (records relevant history |\n * | of touches relevant for |\n * | implementing higher level |\n * | gestures) |\n * | |\n * +----+-----------------------+ +----|---------------------------+\n * | ResponderEventPlugin | | | Your App/Component |\n * +----------------------------+ +----|---------------------------+\n * |Negotiates which view gets | Low level | | High level |\n * |onResponderMove events. | events w/ | +-+-------+ events w/ |\n * |Also records history into | touchHistory| | Pan | multitouch + |\n * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|\n * +----------------------------+ attached to | | | distance and |\n * each event | +---------+ velocity. |\n * | |\n * | |\n * +--------------------------------+\n *\n *\n *\n * Gesture that calculates cumulative movement over time in a way that just\n * \"does the right thing\" for multiple touches. The \"right thing\" is very\n * nuanced. When moving two touches in opposite directions, the cumulative\n * distance is zero in each dimension. When two touches move in parallel five\n * pixels in the same direction, the cumulative distance is five, not ten. If\n * two touches start, one moves five in a direction, then stops and the other\n * touch moves fives in the same direction, the cumulative distance is ten.\n *\n * This logic requires a kind of processing of time \"clusters\" of touch events\n * so that two touch moves that essentially occur in parallel but move every\n * other frame respectively, are considered part of the same movement.\n *\n * Explanation of some of the non-obvious fields:\n *\n * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is\n * invalid. If a move event has been observed, `(moveX, moveY)` is the\n * centroid of the most recently moved \"cluster\" of active touches.\n * (Currently all move have the same timeStamp, but later we should add some\n * threshold for what is considered to be \"moving\"). If a palm is\n * accidentally counted as a touch, but a finger is moving greatly, the palm\n * will move slightly, but we only want to count the single moving touch.\n * - x0/y0: Centroid location (non-cumulative) at the time of becoming\n * responder.\n * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch\n * distance. Accounts for touch moves that are clustered together in time,\n * moving the same direction. Only valid when currently responder (otherwise,\n * it only represents the drag distance below the threshold).\n * - vx/vy: Velocity.\n */\n\n _initializeGestureState(gestureState: GestureState) {\n gestureState.moveX = 0;\n gestureState.moveY = 0;\n gestureState.x0 = 0;\n gestureState.y0 = 0;\n gestureState.dx = 0;\n gestureState.dy = 0;\n gestureState.vx = 0;\n gestureState.vy = 0;\n gestureState.numberActiveTouches = 0;\n // All `gestureState` accounts for timeStamps up until:\n gestureState._accountsForMovesUpTo = 0;\n },\n\n /**\n * This is nuanced and is necessary. It is incorrect to continuously take all\n * active *and* recently moved touches, find the centroid, and track how that\n * result changes over time. Instead, we must take all recently moved\n * touches, and calculate how the centroid has changed just for those\n * recently moved touches, and append that change to an accumulator. This is\n * to (at least) handle the case where the user is moving three fingers, and\n * then one of the fingers stops but the other two continue.\n *\n * This is very different than taking all of the recently moved touches and\n * storing their centroid as `dx/dy`. For correctness, we must *accumulate\n * changes* in the centroid of recently moved touches.\n *\n * There is also some nuance with how we handle multiple moved touches in a\n * single event. With the way `ReactNativeEventEmitter` dispatches touches as\n * individual events, multiple touches generate two 'move' events, each of\n * them triggering `onResponderMove`. But with the way `PanResponder` works,\n * all of the gesture inference is performed on the first dispatch, since it\n * looks at all of the touches (even the ones for which there hasn't been a\n * native dispatch yet). Therefore, `PanResponder` does not call\n * `onResponderMove` passed the first dispatch. This diverges from the\n * typical responder callback pattern (without using `PanResponder`), but\n * avoids more dispatches than necessary.\n */\n _updateGestureStateOnMove(\n gestureState: GestureState,\n touchHistory: $PropertyType,\n ) {\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n gestureState.moveX = currentCentroidXOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n gestureState.moveY = currentCentroidYOfTouchesChangedAfter(\n touchHistory,\n gestureState._accountsForMovesUpTo,\n );\n const movedAfter = gestureState._accountsForMovesUpTo;\n const prevX = previousCentroidXOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter);\n const prevY = previousCentroidYOfTouchesChangedAfter(\n touchHistory,\n movedAfter,\n );\n const y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter);\n const nextDX = gestureState.dx + (x - prevX);\n const nextDY = gestureState.dy + (y - prevY);\n\n // TODO: This must be filtered intelligently.\n const dt =\n touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;\n gestureState.vx = (nextDX - gestureState.dx) / dt;\n gestureState.vy = (nextDY - gestureState.dy) / dt;\n\n gestureState.dx = nextDX;\n gestureState.dy = nextDY;\n gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;\n },\n\n /**\n * @param {object} config Enhanced versions of all of the responder callbacks\n * that provide not only the typical `ResponderSyntheticEvent`, but also the\n * `PanResponder` gesture state. Simply replace the word `Responder` with\n * `PanResponder` in each of the typical `onResponder*` callbacks. For\n * example, the `config` object would look like:\n *\n * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`\n * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`\n * - `onPanResponderReject: (e, gestureState) => {...}`\n * - `onPanResponderGrant: (e, gestureState) => {...}`\n * - `onPanResponderStart: (e, gestureState) => {...}`\n * - `onPanResponderEnd: (e, gestureState) => {...}`\n * - `onPanResponderRelease: (e, gestureState) => {...}`\n * - `onPanResponderMove: (e, gestureState) => {...}`\n * - `onPanResponderTerminate: (e, gestureState) => {...}`\n * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`\n * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`\n *\n * In general, for events that have capture equivalents, we update the\n * gestureState once in the capture phase and can use it in the bubble phase\n * as well.\n *\n * Be careful with onStartShould* callbacks. They only reflect updated\n * `gestureState` for start/end events that bubble/capture to the Node.\n * Once the node is the responder, you can rely on every start/end event\n * being processed by the gesture and `gestureState` being updated\n * accordingly. (numberActiveTouches) may not be totally accurate unless you\n * are the responder.\n */\n create(config: PanResponderConfig): $TEMPORARY$object<{|\n getInteractionHandle: () => ?number,\n panHandlers: PanHandlers,\n |}> {\n const interactionState = {\n handle: (null: ?number),\n };\n const gestureState: GestureState = {\n // Useful for debugging\n stateID: Math.random(),\n moveX: 0,\n moveY: 0,\n x0: 0,\n y0: 0,\n dx: 0,\n dy: 0,\n vx: 0,\n vy: 0,\n numberActiveTouches: 0,\n _accountsForMovesUpTo: 0,\n };\n const panHandlers = {\n onStartShouldSetResponder(event: PressEvent): boolean {\n return config.onStartShouldSetPanResponder == null\n ? false\n : config.onStartShouldSetPanResponder(event, gestureState);\n },\n onMoveShouldSetResponder(event: PressEvent): boolean {\n return config.onMoveShouldSetPanResponder == null\n ? false\n : config.onMoveShouldSetPanResponder(event, gestureState);\n },\n onStartShouldSetResponderCapture(event: PressEvent): boolean {\n // TODO: Actually, we should reinitialize the state any time\n // touches.length increases from 0 active to > 0 active.\n if (event.nativeEvent.touches.length === 1) {\n PanResponder._initializeGestureState(gestureState);\n }\n gestureState.numberActiveTouches =\n event.touchHistory.numberActiveTouches;\n return config.onStartShouldSetPanResponderCapture != null\n ? config.onStartShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onMoveShouldSetResponderCapture(event: PressEvent): boolean {\n const touchHistory = event.touchHistory;\n // Responder system incorrectly dispatches should* to current responder\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return false;\n }\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n return config.onMoveShouldSetPanResponderCapture\n ? config.onMoveShouldSetPanResponderCapture(event, gestureState)\n : false;\n },\n\n onResponderGrant(event: PressEvent): boolean {\n if (!interactionState.handle) {\n interactionState.handle =\n InteractionManager.createInteractionHandle();\n }\n gestureState.x0 = currentCentroidX(event.touchHistory);\n gestureState.y0 = currentCentroidY(event.touchHistory);\n gestureState.dx = 0;\n gestureState.dy = 0;\n if (config.onPanResponderGrant) {\n config.onPanResponderGrant(event, gestureState);\n }\n // TODO: t7467124 investigate if this can be removed\n return config.onShouldBlockNativeResponder == null\n ? true\n : config.onShouldBlockNativeResponder(event, gestureState);\n },\n\n onResponderReject(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderReject,\n event,\n gestureState,\n );\n },\n\n onResponderRelease(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderRelease,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderStart(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n if (config.onPanResponderStart) {\n config.onPanResponderStart(event, gestureState);\n }\n },\n\n onResponderMove(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n // Guard against the dispatch of two touch moves when there are two\n // simultaneously changed touches.\n if (\n gestureState._accountsForMovesUpTo ===\n touchHistory.mostRecentTimeStamp\n ) {\n return;\n }\n // Filter out any touch moves past the first one - we would have\n // already processed multi-touch geometry during the first event.\n PanResponder._updateGestureStateOnMove(gestureState, touchHistory);\n if (config.onPanResponderMove) {\n config.onPanResponderMove(event, gestureState);\n }\n },\n\n onResponderEnd(event: PressEvent): void {\n const touchHistory = event.touchHistory;\n gestureState.numberActiveTouches = touchHistory.numberActiveTouches;\n clearInteractionHandle(\n interactionState,\n config.onPanResponderEnd,\n event,\n gestureState,\n );\n },\n\n onResponderTerminate(event: PressEvent): void {\n clearInteractionHandle(\n interactionState,\n config.onPanResponderTerminate,\n event,\n gestureState,\n );\n PanResponder._initializeGestureState(gestureState);\n },\n\n onResponderTerminationRequest(event: PressEvent): boolean {\n return config.onPanResponderTerminationRequest == null\n ? true\n : config.onPanResponderTerminationRequest(event, gestureState);\n },\n };\n return {\n panHandlers,\n getInteractionHandle(): ?number {\n return interactionState.handle;\n },\n };\n },\n};\n\nfunction clearInteractionHandle(\n interactionState: {handle: ?number, ...},\n callback: ?(ActiveCallback | PassiveCallback),\n event: PressEvent,\n gestureState: GestureState,\n) {\n if (interactionState.handle) {\n InteractionManager.clearInteractionHandle(interactionState.handle);\n interactionState.handle = null;\n }\n if (callback) {\n callback(event, gestureState);\n }\n}\n\nexport type PanResponderInstance = $Call<\n $PropertyType,\n PanResponderConfig,\n>;\n\nmodule.exports = PanResponder;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\nconst TouchHistoryMath = {\n /**\n * This code is optimized and not intended to look beautiful. This allows\n * computing of touch centroids that have moved after `touchesChangedAfter`\n * timeStamp. You can compute the current centroid involving all touches\n * moves after `touchesChangedAfter`, or you can compute the previous\n * centroid of all touches that were moved after `touchesChangedAfter`.\n *\n * @param {TouchHistoryMath} touchHistory Standard Responder touch track\n * data.\n * @param {number} touchesChangedAfter timeStamp after which moved touches\n * are considered \"actively moving\" - not just \"active\".\n * @param {boolean} isXAxis Consider `x` dimension vs. `y` dimension.\n * @param {boolean} ofCurrent Compute current centroid for actively moving\n * touches vs. previous centroid of now actively moving touches.\n * @return {number} value of centroid in specified dimension.\n */\n centroidDimension: function (\n touchHistory,\n touchesChangedAfter,\n isXAxis,\n ofCurrent,\n ) {\n const touchBank = touchHistory.touchBank;\n let total = 0;\n let count = 0;\n\n const oneTouchData =\n touchHistory.numberActiveTouches === 1\n ? touchHistory.touchBank[touchHistory.indexOfSingleActiveTouch]\n : null;\n\n if (oneTouchData !== null) {\n if (\n oneTouchData.touchActive &&\n oneTouchData.currentTimeStamp > touchesChangedAfter\n ) {\n total +=\n ofCurrent && isXAxis\n ? oneTouchData.currentPageX\n : ofCurrent && !isXAxis\n ? oneTouchData.currentPageY\n : !ofCurrent && isXAxis\n ? oneTouchData.previousPageX\n : oneTouchData.previousPageY;\n count = 1;\n }\n } else {\n for (let i = 0; i < touchBank.length; i++) {\n const touchTrack = touchBank[i];\n if (\n touchTrack !== null &&\n touchTrack !== undefined &&\n touchTrack.touchActive &&\n touchTrack.currentTimeStamp >= touchesChangedAfter\n ) {\n let toAdd; // Yuck, program temporarily in invalid state.\n if (ofCurrent && isXAxis) {\n toAdd = touchTrack.currentPageX;\n } else if (ofCurrent && !isXAxis) {\n toAdd = touchTrack.currentPageY;\n } else if (!ofCurrent && isXAxis) {\n toAdd = touchTrack.previousPageX;\n } else {\n toAdd = touchTrack.previousPageY;\n }\n total += toAdd;\n count++;\n }\n }\n }\n return count > 0 ? total / count : TouchHistoryMath.noCentroid;\n },\n\n currentCentroidXOfTouchesChangedAfter: function (\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidYOfTouchesChangedAfter: function (\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n previousCentroidXOfTouchesChangedAfter: function (\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n true, // isXAxis\n false, // ofCurrent\n );\n },\n\n previousCentroidYOfTouchesChangedAfter: function (\n touchHistory,\n touchesChangedAfter,\n ) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n touchesChangedAfter,\n false, // isXAxis\n false, // ofCurrent\n );\n },\n\n currentCentroidX: function (touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n true, // isXAxis\n true, // ofCurrent\n );\n },\n\n currentCentroidY: function (touchHistory) {\n return TouchHistoryMath.centroidDimension(\n touchHistory,\n 0, // touchesChangedAfter\n false, // isXAxis\n true, // ofCurrent\n );\n },\n\n noCentroid: -1,\n};\n\nmodule.exports = TouchHistoryMath;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {\n PermissionStatus,\n PermissionType,\n} from './NativePermissionsAndroid';\n\nimport NativeDialogManagerAndroid from '../NativeModules/specs/NativeDialogManagerAndroid';\nimport NativePermissionsAndroid from './NativePermissionsAndroid';\nimport invariant from 'invariant';\n\nconst Platform = require('../Utilities/Platform');\n\nexport type Rationale = {\n title: string,\n message: string,\n buttonPositive?: string,\n buttonNegative?: string,\n buttonNeutral?: string,\n ...\n};\n\nconst PERMISSION_REQUEST_RESULT = Object.freeze({\n GRANTED: 'granted',\n DENIED: 'denied',\n NEVER_ASK_AGAIN: 'never_ask_again',\n});\n\nconst PERMISSIONS = Object.freeze({\n READ_CALENDAR: 'android.permission.READ_CALENDAR',\n WRITE_CALENDAR: 'android.permission.WRITE_CALENDAR',\n CAMERA: 'android.permission.CAMERA',\n READ_CONTACTS: 'android.permission.READ_CONTACTS',\n WRITE_CONTACTS: 'android.permission.WRITE_CONTACTS',\n GET_ACCOUNTS: 'android.permission.GET_ACCOUNTS',\n ACCESS_FINE_LOCATION: 'android.permission.ACCESS_FINE_LOCATION',\n ACCESS_COARSE_LOCATION: 'android.permission.ACCESS_COARSE_LOCATION',\n ACCESS_BACKGROUND_LOCATION: 'android.permission.ACCESS_BACKGROUND_LOCATION',\n RECORD_AUDIO: 'android.permission.RECORD_AUDIO',\n READ_PHONE_STATE: 'android.permission.READ_PHONE_STATE',\n CALL_PHONE: 'android.permission.CALL_PHONE',\n READ_CALL_LOG: 'android.permission.READ_CALL_LOG',\n WRITE_CALL_LOG: 'android.permission.WRITE_CALL_LOG',\n ADD_VOICEMAIL: 'com.android.voicemail.permission.ADD_VOICEMAIL',\n READ_VOICEMAIL: 'com.android.voicemail.permission.READ_VOICEMAIL',\n WRITE_VOICEMAIL: 'com.android.voicemail.permission.WRITE_VOICEMAIL',\n USE_SIP: 'android.permission.USE_SIP',\n PROCESS_OUTGOING_CALLS: 'android.permission.PROCESS_OUTGOING_CALLS',\n BODY_SENSORS: 'android.permission.BODY_SENSORS',\n BODY_SENSORS_BACKGROUND: 'android.permission.BODY_SENSORS_BACKGROUND',\n SEND_SMS: 'android.permission.SEND_SMS',\n RECEIVE_SMS: 'android.permission.RECEIVE_SMS',\n READ_SMS: 'android.permission.READ_SMS',\n RECEIVE_WAP_PUSH: 'android.permission.RECEIVE_WAP_PUSH',\n RECEIVE_MMS: 'android.permission.RECEIVE_MMS',\n READ_EXTERNAL_STORAGE: 'android.permission.READ_EXTERNAL_STORAGE',\n READ_MEDIA_IMAGES: 'android.permission.READ_MEDIA_IMAGES',\n READ_MEDIA_VIDEO: 'android.permission.READ_MEDIA_VIDEO',\n READ_MEDIA_AUDIO: 'android.permission.READ_MEDIA_AUDIO',\n WRITE_EXTERNAL_STORAGE: 'android.permission.WRITE_EXTERNAL_STORAGE',\n BLUETOOTH_CONNECT: 'android.permission.BLUETOOTH_CONNECT',\n BLUETOOTH_SCAN: 'android.permission.BLUETOOTH_SCAN',\n BLUETOOTH_ADVERTISE: 'android.permission.BLUETOOTH_ADVERTISE',\n ACCESS_MEDIA_LOCATION: 'android.permission.ACCESS_MEDIA_LOCATION',\n ACCEPT_HANDOVER: 'android.permission.ACCEPT_HANDOVER',\n ACTIVITY_RECOGNITION: 'android.permission.ACTIVITY_RECOGNITION',\n ANSWER_PHONE_CALLS: 'android.permission.ANSWER_PHONE_CALLS',\n READ_PHONE_NUMBERS: 'android.permission.READ_PHONE_NUMBERS',\n UWB_RANGING: 'android.permission.UWB_RANGING',\n POST_NOTIFICATION: 'android.permission.POST_NOTIFICATIONS', // Remove in 0.72\n POST_NOTIFICATIONS: 'android.permission.POST_NOTIFICATIONS',\n NEARBY_WIFI_DEVICES: 'android.permission.NEARBY_WIFI_DEVICES',\n});\n\n/**\n * `PermissionsAndroid` provides access to Android M's new permissions model.\n *\n * See https://reactnative.dev/docs/permissionsandroid\n */\n\nclass PermissionsAndroid {\n PERMISSIONS: {|\n ACCEPT_HANDOVER: string,\n ACCESS_BACKGROUND_LOCATION: string,\n ACCESS_COARSE_LOCATION: string,\n ACCESS_FINE_LOCATION: string,\n ACCESS_MEDIA_LOCATION: string,\n ACTIVITY_RECOGNITION: string,\n ADD_VOICEMAIL: string,\n READ_VOICEMAIL: string,\n WRITE_VOICEMAIL: string,\n ANSWER_PHONE_CALLS: string,\n BLUETOOTH_ADVERTISE: string,\n BLUETOOTH_CONNECT: string,\n BLUETOOTH_SCAN: string,\n BODY_SENSORS: string,\n BODY_SENSORS_BACKGROUND: string,\n CALL_PHONE: string,\n CAMERA: string,\n GET_ACCOUNTS: string,\n NEARBY_WIFI_DEVICES: string,\n POST_NOTIFICATION: string, // Remove in 0.72\n POST_NOTIFICATIONS: string,\n PROCESS_OUTGOING_CALLS: string,\n READ_CALENDAR: string,\n READ_CALL_LOG: string,\n READ_CONTACTS: string,\n READ_EXTERNAL_STORAGE: string,\n READ_MEDIA_IMAGES: string,\n READ_MEDIA_VIDEO: string,\n READ_MEDIA_AUDIO: string,\n READ_PHONE_NUMBERS: string,\n READ_PHONE_STATE: string,\n READ_SMS: string,\n RECEIVE_MMS: string,\n RECEIVE_SMS: string,\n RECEIVE_WAP_PUSH: string,\n RECORD_AUDIO: string,\n SEND_SMS: string,\n USE_SIP: string,\n UWB_RANGING: string,\n WRITE_CALENDAR: string,\n WRITE_CALL_LOG: string,\n WRITE_CONTACTS: string,\n WRITE_EXTERNAL_STORAGE: string,\n |} = PERMISSIONS;\n RESULTS: {|\n DENIED: $TEMPORARY$string<'denied'>,\n GRANTED: $TEMPORARY$string<'granted'>,\n NEVER_ASK_AGAIN: $TEMPORARY$string<'never_ask_again'>,\n |} = PERMISSION_REQUEST_RESULT;\n\n /**\n * DEPRECATED - use check\n *\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * @deprecated\n */\n checkPermission(permission: PermissionType): Promise {\n console.warn(\n '\"PermissionsAndroid.checkPermission\" is deprecated. Use \"PermissionsAndroid.check\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * Returns a promise resolving to a boolean value as to whether the specified\n * permissions has been granted\n *\n * See https://reactnative.dev/docs/permissionsandroid#check\n */\n check(permission: PermissionType): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.checkPermission(permission);\n }\n\n /**\n * DEPRECATED - use request\n *\n * Prompts the user to enable a permission and returns a promise resolving to a\n * boolean value indicating whether the user allowed or denied the request\n *\n * If the optional rationale argument is included (which is an object with a\n * `title` and `message`), this function checks with the OS whether it is\n * necessary to show a dialog explaining why the permission is needed\n * (https://developer.android.com/training/permissions/requesting#explain)\n * and then shows the system permission dialog\n *\n * @deprecated\n */\n async requestPermission(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n console.warn(\n '\"PermissionsAndroid.requestPermission\" is deprecated. Use \"PermissionsAndroid.request\" instead',\n );\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(false);\n }\n\n const response = await this.request(permission, rationale);\n return response === this.RESULTS.GRANTED;\n }\n\n /**\n * Prompts the user to enable a permission and returns a promise resolving to a\n * string value indicating whether the user allowed or denied the request\n *\n * See https://reactnative.dev/docs/permissionsandroid#request\n */\n async request(\n permission: PermissionType,\n rationale?: Rationale,\n ): Promise {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve(this.RESULTS.DENIED);\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n if (rationale) {\n const shouldShowRationale =\n await NativePermissionsAndroid.shouldShowRequestPermissionRationale(\n permission,\n );\n\n if (shouldShowRationale && !!NativeDialogManagerAndroid) {\n return new Promise((resolve, reject) => {\n const options = {\n ...rationale,\n };\n NativeDialogManagerAndroid.showAlert(\n /* $FlowFixMe[incompatible-exact] (>=0.111.0 site=react_native_fb)\n * This comment suppresses an error found when Flow v0.111 was\n * deployed. To see the error, delete this comment and run Flow.\n */\n options,\n () => reject(new Error('Error showing rationale')),\n () =>\n resolve(NativePermissionsAndroid.requestPermission(permission)),\n );\n });\n }\n }\n return NativePermissionsAndroid.requestPermission(permission);\n }\n\n /**\n * Prompts the user to enable multiple permissions in the same dialog and\n * returns an object with the permissions as keys and strings as values\n * indicating whether the user allowed or denied the request\n *\n * See https://reactnative.dev/docs/permissionsandroid#requestmultiple\n */\n requestMultiple(\n permissions: Array,\n ): Promise<{[permission: PermissionType]: PermissionStatus, ...}> {\n if (Platform.OS !== 'android') {\n console.warn(\n '\"PermissionsAndroid\" module works only for Android platform.',\n );\n return Promise.resolve({});\n }\n\n invariant(\n NativePermissionsAndroid,\n 'PermissionsAndroid is not installed correctly.',\n );\n\n return NativePermissionsAndroid.requestMultiplePermissions(permissions);\n }\n}\n\nconst PermissionsAndroidInstance: PermissionsAndroid = new PermissionsAndroid();\n\nmodule.exports = PermissionsAndroidInstance;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\n// TODO: Use proper enum types.\nexport type PermissionStatus = string;\nexport type PermissionType = string;\n/*\nexport type PermissionStatus = 'granted' | 'denied' | 'never_ask_again';\nexport type PermissionType =\n | 'android.permission.READ_CALENDAR'\n | 'android.permission.WRITE_CALENDAR'\n | 'android.permission.CAMERA'\n | 'android.permission.READ_CONTACTS'\n | 'android.permission.WRITE_CONTACTS'\n | 'android.permission.GET_ACCOUNTS'\n | 'android.permission.ACCESS_BACKGROUND_LOCATION'\n | 'android.permission.ACCESS_FINE_LOCATION'\n | 'android.permission.ACCESS_COARSE_LOCATION'\n | 'android.permission.RECORD_AUDIO'\n | 'android.permission.READ_PHONE_STATE'\n | 'android.permission.CALL_PHONE'\n | 'android.permission.READ_CALL_LOG'\n | 'android.permission.WRITE_CALL_LOG'\n | 'com.android.voicemail.permission.ADD_VOICEMAIL'\n | 'com.android.voicemail.permission.READ_VOICEMAIL'\n | 'com.android.voicemail.permission.WRITE_VOICEMAIL'\n | 'android.permission.USE_SIP'\n | 'android.permission.PROCESS_OUTGOING_CALLS'\n | 'android.permission.BODY_SENSORS'\n | 'android.permission.BODY_SENSORS_BACKGROUND'\n | 'android.permission.SEND_SMS'\n | 'android.permission.RECEIVE_SMS'\n | 'android.permission.READ_SMS'\n | 'android.permission.RECEIVE_WAP_PUSH'\n | 'android.permission.RECEIVE_MMS'\n | 'android.permission.READ_EXTERNAL_STORAGE'\n | 'android.permission.READ_MEDIA_IMAGES',\n | 'android.permission.READ_MEDIA_VIDEO',\n | 'android.permission.READ_MEDIA_AUDIO',\n | 'android.permission.WRITE_EXTERNAL_STORAGE'\n | 'android.permission.BLUETOOTH_CONNECT'\n | 'android.permission.BLUETOOTH_SCAN'\n | 'android.permission.BLUETOOTH_ADVERTISE'\n | 'android.permission.ACCESS_MEDIA_LOCATION'\n | 'android.permission.ACCEPT_HANDOVER'\n | 'android.permission.ACTIVITY_RECOGNITION'\n | 'android.permission.ANSWER_PHONE_CALLS'\n | 'android.permission.READ_PHONE_NUMBERS'\n | 'android.permission.UWB_RANGING'\n | 'android.permission.POST_NOTIFICATIONS'\n | 'android.permission.NEARBY_WIFI_DEVICES';\n*/\n\nexport interface Spec extends TurboModule {\n +checkPermission: (permission: PermissionType) => Promise;\n +requestPermission: (permission: PermissionType) => Promise;\n +shouldShowRequestPermissionRationale: (\n permission: string,\n ) => Promise;\n +requestMultiplePermissions: (\n permissions: Array,\n ) => Promise<{[permission: PermissionType]: PermissionStatus, ...}>;\n}\n\nexport default (TurboModuleRegistry.get('PermissionsAndroid'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {EventSubscription} from '../vendor/emitter/EventEmitter';\n\nimport NativeEventEmitter from '../EventEmitter/NativeEventEmitter';\nimport Platform from '../Utilities/Platform';\nimport NativePushNotificationManagerIOS from './NativePushNotificationManagerIOS';\nimport invariant from 'invariant';\n\ntype NativePushNotificationIOSEventDefinitions = {\n remoteNotificationReceived: [\n {\n notificationId: string,\n remote: boolean,\n ...\n },\n ],\n remoteNotificationsRegistered: [\n {\n deviceToken?: ?string,\n ...\n },\n ],\n remoteNotificationRegistrationError: [\n {\n message: string,\n code: number,\n details: {...},\n },\n ],\n localNotificationReceived: [{...}],\n};\n\nconst PushNotificationEmitter =\n new NativeEventEmitter(\n // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior\n // If you want to use the native module on other platforms, please remove this condition and test its behavior\n Platform.OS !== 'ios' ? null : NativePushNotificationManagerIOS,\n );\n\nconst _notifHandlers = new Map();\n\nconst DEVICE_NOTIF_EVENT = 'remoteNotificationReceived';\nconst NOTIF_REGISTER_EVENT = 'remoteNotificationsRegistered';\nconst NOTIF_REGISTRATION_ERROR_EVENT = 'remoteNotificationRegistrationError';\nconst DEVICE_LOCAL_NOTIF_EVENT = 'localNotificationReceived';\n\nexport type ContentAvailable = 1 | null | void;\n\nexport type FetchResult = {\n NewData: string,\n NoData: string,\n ResultFailed: string,\n ...\n};\n\n/**\n * An event emitted by PushNotificationIOS.\n */\nexport type PushNotificationEventName = $Keys<{\n /**\n * Fired when a remote notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n notification: string,\n /**\n * Fired when a local notification is received. The handler will be invoked\n * with an instance of `PushNotificationIOS`.\n */\n localNotification: string,\n /**\n * Fired when the user registers for remote notifications. The handler will be\n * invoked with a hex string representing the deviceToken.\n */\n register: string,\n /**\n * Fired when the user fails to register for remote notifications. Typically\n * occurs when APNS is having issues, or the device is a simulator. The\n * handler will be invoked with {message: string, code: number, details: any}.\n */\n registrationError: string,\n ...\n}>;\n\n/**\n *\n * Handle push notifications for your app, including permission handling and\n * icon badge number.\n *\n * See https://reactnative.dev/docs/pushnotificationios\n */\nclass PushNotificationIOS {\n _data: Object;\n _alert: string | Object;\n _sound: string;\n _category: string;\n _contentAvailable: ContentAvailable;\n _badgeCount: number;\n _notificationId: string;\n _isRemote: boolean;\n _remoteNotificationCompleteCallbackCalled: boolean;\n _threadID: string;\n\n static FetchResult: FetchResult = {\n NewData: 'UIBackgroundFetchResultNewData',\n NoData: 'UIBackgroundFetchResultNoData',\n ResultFailed: 'UIBackgroundFetchResultFailed',\n };\n\n /**\n * Schedules the localNotification for immediate presentation.\n *\n * See https://reactnative.dev/docs/pushnotificationios#presentlocalnotification\n */\n static presentLocalNotification(details: Object): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.presentLocalNotification(details);\n }\n\n /**\n * Schedules the localNotification for future presentation.\n *\n * See https://reactnative.dev/docs/pushnotificationios#schedulelocalnotification\n */\n static scheduleLocalNotification(details: Object): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.scheduleLocalNotification(details);\n }\n\n /**\n * Cancels all scheduled localNotifications.\n *\n * See https://reactnative.dev/docs/pushnotificationios#cancelalllocalnotifications\n */\n static cancelAllLocalNotifications(): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelAllLocalNotifications();\n }\n\n /**\n * Remove all delivered notifications from Notification Center.\n *\n * See https://reactnative.dev/docs/pushnotificationios#removealldeliverednotifications\n */\n static removeAllDeliveredNotifications(): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeAllDeliveredNotifications();\n }\n\n /**\n * Provides you with a list of the app’s notifications that are still displayed in Notification Center.\n *\n * See https://reactnative.dev/docs/pushnotificationios#getdeliverednotifications\n */\n static getDeliveredNotifications(\n callback: (notifications: Array) => void,\n ): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getDeliveredNotifications(callback);\n }\n\n /**\n * Removes the specified notifications from Notification Center\n *\n * See https://reactnative.dev/docs/pushnotificationios#removedeliverednotifications\n */\n static removeDeliveredNotifications(identifiers: Array): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.removeDeliveredNotifications(identifiers);\n }\n\n /**\n * Sets the badge number for the app icon on the home screen.\n *\n * See https://reactnative.dev/docs/pushnotificationios#setapplicationiconbadgenumber\n */\n static setApplicationIconBadgeNumber(number: number): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.setApplicationIconBadgeNumber(number);\n }\n\n /**\n * Gets the current badge number for the app icon on the home screen.\n *\n * See https://reactnative.dev/docs/pushnotificationios#getapplicationiconbadgenumber\n */\n static getApplicationIconBadgeNumber(callback: Function): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getApplicationIconBadgeNumber(callback);\n }\n\n /**\n * Cancel local notifications.\n *\n * See https://reactnative.dev/docs/pushnotificationios#cancellocalnotification\n */\n static cancelLocalNotifications(userInfo: Object): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.cancelLocalNotifications(userInfo);\n }\n\n /**\n * Gets the local notifications that are currently scheduled.\n *\n * See https://reactnative.dev/docs/pushnotificationios#getscheduledlocalnotifications\n */\n static getScheduledLocalNotifications(callback: Function): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.getScheduledLocalNotifications(callback);\n }\n\n /**\n * Attaches a listener to remote or local notification events while the app\n * is running in the foreground or the background.\n *\n * See https://reactnative.dev/docs/pushnotificationios#addeventlistener\n */\n static addEventListener(\n type: PushNotificationEventName,\n handler: Function,\n ): void {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n let listener;\n if (type === 'notification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'localNotification') {\n listener = PushNotificationEmitter.addListener(\n DEVICE_LOCAL_NOTIF_EVENT,\n notifData => {\n handler(new PushNotificationIOS(notifData));\n },\n );\n } else if (type === 'register') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTER_EVENT,\n registrationInfo => {\n handler(registrationInfo.deviceToken);\n },\n );\n } else if (type === 'registrationError') {\n listener = PushNotificationEmitter.addListener(\n NOTIF_REGISTRATION_ERROR_EVENT,\n errorInfo => {\n handler(errorInfo);\n },\n );\n }\n _notifHandlers.set(type, listener);\n }\n\n /**\n * Removes the event listener. Do this in `componentWillUnmount` to prevent\n * memory leaks.\n *\n * See https://reactnative.dev/docs/pushnotificationios#removeeventlistener\n */\n static removeEventListener(\n type: PushNotificationEventName,\n handler: Function,\n ): void {\n invariant(\n type === 'notification' ||\n type === 'register' ||\n type === 'registrationError' ||\n type === 'localNotification',\n 'PushNotificationIOS only supports `notification`, `register`, `registrationError`, and `localNotification` events',\n );\n const listener = _notifHandlers.get(type);\n if (!listener) {\n return;\n }\n listener.remove();\n _notifHandlers.delete(type);\n }\n\n /**\n * Requests notification permissions from iOS, prompting the user's\n * dialog box. By default, it will request all notification permissions, but\n * a subset of these can be requested by passing a map of requested\n * permissions.\n *\n * See https://reactnative.dev/docs/pushnotificationios#requestpermissions\n */\n static requestPermissions(permissions?: {\n alert?: boolean,\n badge?: boolean,\n sound?: boolean,\n ...\n }): Promise<{\n alert: boolean,\n badge: boolean,\n sound: boolean,\n ...\n }> {\n let requestedPermissions = {\n alert: true,\n badge: true,\n sound: true,\n };\n if (permissions) {\n requestedPermissions = {\n alert: !!permissions.alert,\n badge: !!permissions.badge,\n sound: !!permissions.sound,\n };\n }\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.requestPermissions(\n requestedPermissions,\n );\n }\n\n /**\n * Unregister for all remote notifications received via Apple Push Notification service.\n *\n * See https://reactnative.dev/docs/pushnotificationios#abandonpermissions\n */\n static abandonPermissions(): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.abandonPermissions();\n }\n\n /**\n * See what push permissions are currently enabled. `callback` will be\n * invoked with a `permissions` object.\n *\n * See https://reactnative.dev/docs/pushnotificationios#checkpermissions\n */\n static checkPermissions(callback: Function): void {\n invariant(typeof callback === 'function', 'Must provide a valid callback');\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.checkPermissions(callback);\n }\n\n /**\n * This method returns a promise that resolves to either the notification\n * object if the app was launched by a push notification, or `null` otherwise.\n *\n * See https://reactnative.dev/docs/pushnotificationios#getinitialnotification\n */\n static getInitialNotification(): Promise {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n return NativePushNotificationManagerIOS.getInitialNotification().then(\n notification => {\n return notification && new PushNotificationIOS(notification);\n },\n );\n }\n\n /**\n * This method returns a promise that resolves to notification authorization status.\n */\n static getAuthorizationStatus(\n callback: (authorizationStatus: number) => void,\n ): void {\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n\n NativePushNotificationManagerIOS.getAuthorizationStatus(callback);\n }\n\n /**\n * You will never need to instantiate `PushNotificationIOS` yourself.\n * Listening to the `notification` event and invoking\n * `getInitialNotification` is sufficient\n *\n */\n constructor(nativeNotif: Object) {\n this._data = {};\n this._remoteNotificationCompleteCallbackCalled = false;\n this._isRemote = nativeNotif.remote;\n if (this._isRemote) {\n this._notificationId = nativeNotif.notificationId;\n }\n\n if (nativeNotif.remote) {\n // Extract data from Apple's `aps` dict as defined:\n // https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService\n Object.keys(nativeNotif).forEach(notifKey => {\n const notifVal = nativeNotif[notifKey];\n if (notifKey === 'aps') {\n this._alert = notifVal.alert;\n this._sound = notifVal.sound;\n this._badgeCount = notifVal.badge;\n this._category = notifVal.category;\n this._contentAvailable = notifVal['content-available'];\n this._threadID = notifVal['thread-id'];\n } else {\n this._data[notifKey] = notifVal;\n }\n });\n } else {\n // Local notifications aren't being sent down with `aps` dict.\n this._badgeCount = nativeNotif.applicationIconBadgeNumber;\n this._sound = nativeNotif.soundName;\n this._alert = nativeNotif.alertBody;\n this._data = nativeNotif.userInfo;\n this._category = nativeNotif.category;\n }\n }\n\n /**\n * This method is available for remote notifications that have been received via:\n * `application:didReceiveRemoteNotification:fetchCompletionHandler:`\n *\n * See https://reactnative.dev/docs/pushnotificationios#finish\n */\n finish(fetchResult: string): void {\n if (\n !this._isRemote ||\n !this._notificationId ||\n this._remoteNotificationCompleteCallbackCalled\n ) {\n return;\n }\n this._remoteNotificationCompleteCallbackCalled = true;\n\n invariant(\n NativePushNotificationManagerIOS,\n 'PushNotificationManager is not available.',\n );\n NativePushNotificationManagerIOS.onFinishRemoteNotification(\n this._notificationId,\n fetchResult,\n );\n }\n\n /**\n * An alias for `getAlert` to get the notification's main message string\n */\n getMessage(): ?string | ?Object {\n // alias because \"alert\" is an ambiguous name\n return this._alert;\n }\n\n /**\n * Gets the sound string from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios#getsound\n */\n getSound(): ?string {\n return this._sound;\n }\n\n /**\n * Gets the category string from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios#getcategory\n */\n getCategory(): ?string {\n return this._category;\n }\n\n /**\n * Gets the notification's main message from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios#getalert\n */\n getAlert(): ?string | ?Object {\n return this._alert;\n }\n\n /**\n * Gets the content-available number from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios#getcontentavailable\n */\n getContentAvailable(): ContentAvailable {\n return this._contentAvailable;\n }\n\n /**\n * Gets the badge count number from the `aps` object\n *\n * See https://reactnative.dev/docs/pushnotificationios#getbadgecount\n */\n getBadgeCount(): ?number {\n return this._badgeCount;\n }\n\n /**\n * Gets the data object on the notif\n *\n * See https://reactnative.dev/docs/pushnotificationios#getdata\n */\n getData(): ?Object {\n return this._data;\n }\n\n /**\n * Gets the thread ID on the notif\n *\n * See https://reactnative.dev/docs/pushnotificationios#getthreadid\n */\n getThreadID(): ?string {\n return this._threadID;\n }\n}\n\nmodule.exports = PushNotificationIOS;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\ntype Permissions = {|\n alert: boolean,\n badge: boolean,\n sound: boolean,\n|};\n\ntype Notification = {|\n +alertTitle?: ?string,\n // Actual type: string | number\n +fireDate?: ?number,\n +alertBody?: ?string,\n +alertAction?: ?string,\n +userInfo?: ?Object,\n +category?: ?string,\n // Actual type: 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute'\n +repeatInterval?: ?string,\n +applicationIconBadgeNumber?: ?number,\n +isSilent?: ?boolean,\n +soundName?: ?string,\n|};\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +onFinishRemoteNotification: (\n notificationId: string,\n /**\n * Type:\n * 'UIBackgroundFetchResultNewData' |\n * 'UIBackgroundFetchResultNoData' |\n * 'UIBackgroundFetchResultFailed'\n */\n fetchResult: string,\n ) => void;\n +setApplicationIconBadgeNumber: (num: number) => void;\n +getApplicationIconBadgeNumber: (callback: (num: number) => void) => void;\n +requestPermissions: (permission: {|\n +alert: boolean,\n +badge: boolean,\n +sound: boolean,\n |}) => Promise;\n +abandonPermissions: () => void;\n +checkPermissions: (callback: (permissions: Permissions) => void) => void;\n +presentLocalNotification: (notification: Notification) => void;\n +scheduleLocalNotification: (notification: Notification) => void;\n +cancelAllLocalNotifications: () => void;\n +cancelLocalNotifications: (userInfo: Object) => void;\n +getInitialNotification: () => Promise;\n +getScheduledLocalNotifications: (\n callback: (notification: Notification) => void,\n ) => void;\n +removeAllDeliveredNotifications: () => void;\n +removeDeliveredNotifications: (identifiers: Array) => void;\n +getDeliveredNotifications: (\n callback: (notification: Array) => void,\n ) => void;\n +getAuthorizationStatus: (\n callback: (authorizationStatus: number) => void,\n ) => void;\n +addListener: (eventType: string) => void;\n +removeListeners: (count: number) => void;\n}\n\nexport default (TurboModuleRegistry.get(\n 'PushNotificationManager',\n): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\nimport RCTDeviceEventEmitter from '../EventEmitter/RCTDeviceEventEmitter';\nimport NativeSettingsManager from './NativeSettingsManager';\nimport invariant from 'invariant';\n\nconst subscriptions: Array<{\n keys: Array,\n callback: ?Function,\n ...\n}> = [];\n\nconst Settings = {\n _settings: (NativeSettingsManager &&\n NativeSettingsManager.getConstants().settings: any),\n\n get(key: string): mixed {\n // $FlowFixMe[object-this-reference]\n return this._settings[key];\n },\n\n set(settings: Object) {\n // $FlowFixMe[object-this-reference]\n this._settings = Object.assign(this._settings, settings);\n NativeSettingsManager.setValues(settings);\n },\n\n watchKeys(keys: string | Array, callback: Function): number {\n if (typeof keys === 'string') {\n keys = [keys];\n }\n\n invariant(\n Array.isArray(keys),\n 'keys should be a string or array of strings',\n );\n\n const sid = subscriptions.length;\n subscriptions.push({keys: keys, callback: callback});\n return sid;\n },\n\n clearWatch(watchId: number) {\n if (watchId < subscriptions.length) {\n subscriptions[watchId] = {keys: [], callback: null};\n }\n },\n\n _sendObservations(body: Object) {\n Object.keys(body).forEach(key => {\n const newValue = body[key];\n // $FlowFixMe[object-this-reference]\n const didChange = this._settings[key] !== newValue;\n // $FlowFixMe[object-this-reference]\n this._settings[key] = newValue;\n\n if (didChange) {\n subscriptions.forEach(sub => {\n if (sub.keys.indexOf(key) !== -1 && sub.callback) {\n sub.callback();\n }\n });\n }\n });\n },\n};\n\nRCTDeviceEventEmitter.addListener(\n 'settingsUpdated',\n Settings._sendObservations.bind(Settings),\n);\n\nmodule.exports = Settings;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {|\n settings: Object,\n |};\n +setValues: (values: Object) => void;\n +deleteValues: (values: Array) => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing(\n 'SettingsManager',\n): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport NativeActionSheetManager from '../ActionSheetIOS/NativeActionSheetManager';\nimport NativeShareModule from './NativeShareModule';\n\nconst processColor = require('../StyleSheet/processColor');\nconst Platform = require('../Utilities/Platform');\nconst invariant = require('invariant');\n\ntype Content =\n | {\n title?: string,\n message: string,\n ...\n }\n | {\n title?: string,\n url: string,\n ...\n };\ntype Options = {\n dialogTitle?: string,\n excludedActivityTypes?: Array,\n tintColor?: string,\n subject?: string,\n anchor?: number,\n ...\n};\n\nclass Share {\n /**\n * Open a dialog to share text content.\n *\n * In iOS, Returns a Promise which will be invoked an object containing `action`, `activityType`.\n * If the user dismissed the dialog, the Promise will still be resolved with action being `Share.dismissedAction`\n * and all the other keys being undefined.\n *\n * In Android, Returns a Promise which always be resolved with action being `Share.sharedAction`.\n *\n * ### Content\n *\n * - `message` - a message to share\n *\n * #### iOS\n *\n * - `url` - a URL to share\n *\n * At least one of URL and message is required.\n *\n * #### Android\n *\n * - `title` - title of the message\n *\n * ### Options\n *\n * #### iOS\n *\n * - `subject` - a subject to share via email\n * - `excludedActivityTypes`\n * - `tintColor`\n *\n * #### Android\n *\n * - `dialogTitle`\n *\n */\n static share(\n content: Content,\n options: Options = {},\n ): Promise<{action: string, activityType: ?string}> {\n invariant(\n typeof content === 'object' && content !== null,\n 'Content to share must be a valid object',\n );\n invariant(\n typeof content.url === 'string' || typeof content.message === 'string',\n 'At least one of URL and message is required',\n );\n invariant(\n typeof options === 'object' && options !== null,\n 'Options must be a valid object',\n );\n\n if (Platform.OS === 'android') {\n invariant(\n NativeShareModule,\n 'ShareModule should be registered on Android.',\n );\n invariant(\n content.title == null || typeof content.title === 'string',\n 'Invalid title: title should be a string.',\n );\n\n const newContent = {\n title: content.title,\n message:\n typeof content.message === 'string' ? content.message : undefined,\n };\n\n return NativeShareModule.share(newContent, options.dialogTitle).then(\n result => ({\n activityType: null,\n ...result,\n }),\n );\n } else if (Platform.OS === 'ios') {\n return new Promise((resolve, reject) => {\n const tintColor = processColor(options.tintColor);\n\n invariant(\n tintColor == null || typeof tintColor === 'number',\n 'Unexpected color given for options.tintColor',\n );\n\n invariant(\n NativeActionSheetManager,\n 'NativeActionSheetManager is not registered on iOS, but it should be.',\n );\n\n NativeActionSheetManager.showShareActionSheetWithOptions(\n {\n message:\n typeof content.message === 'string' ? content.message : undefined,\n url: typeof content.url === 'string' ? content.url : undefined,\n subject: options.subject,\n tintColor: typeof tintColor === 'number' ? tintColor : undefined,\n anchor:\n typeof options.anchor === 'number' ? options.anchor : undefined,\n excludedActivityTypes: options.excludedActivityTypes,\n },\n error => reject(error),\n (success, activityType) => {\n if (success) {\n resolve({\n action: 'sharedAction',\n activityType: activityType,\n });\n } else {\n resolve({\n action: 'dismissedAction',\n activityType: null,\n });\n }\n },\n );\n });\n } else {\n return Promise.reject(new Error('Unsupported platform'));\n }\n }\n\n /**\n * The content was successfully shared.\n */\n static sharedAction: 'sharedAction' = 'sharedAction';\n\n /**\n * The dialog has been dismissed.\n * @platform ios\n */\n static dismissedAction: 'dismissedAction' = 'dismissedAction';\n}\n\nmodule.exports = Share;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +share: (\n content: {|title?: string, message?: string|},\n dialogTitle?: string,\n ) => Promise<{|action: string|}>;\n}\n\nexport default (TurboModuleRegistry.get('ShareModule'): ?Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @noflow\n */\n\n'use strict';\n\nconst ToastAndroid = {\n show: function (message: string, duration: number): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n\n showWithGravity: function (\n message: string,\n duration: number,\n gravity: number,\n ): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n\n showWithGravityAndOffset: function (\n message: string,\n duration: number,\n gravity: number,\n xOffset: number,\n yOffset: number,\n ): void {\n console.warn('ToastAndroid is not supported on this platform.');\n },\n};\n\nmodule.exports = ToastAndroid;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict-local\n * @format\n */\n\nimport type {AnimatedValueConfig} from './nodes/AnimatedValue';\n\nimport Animated from './Animated';\nimport {useRef} from 'react';\n\nexport default function useAnimatedValue(\n initialValue: number,\n config?: ?AnimatedValueConfig,\n): Animated.Value {\n const ref = useRef(null);\n if (ref.current == null) {\n ref.current = new Animated.Value(initialValue, config);\n }\n return ref.current;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\n'use strict';\n\nimport type {ColorSchemeName} from './NativeAppearance';\n\nimport Appearance from './Appearance';\nimport {useSyncExternalStore} from 'use-sync-external-store/shim';\n\nexport default function useColorScheme(): ?ColorSchemeName {\n return useSyncExternalStore(\n callback => {\n const appearanceSubscription = Appearance.addChangeListener(callback);\n return () => appearanceSubscription.remove();\n },\n () => Appearance.getColorScheme(),\n );\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('../cjs/use-sync-external-store-shim.native.production.min.js');\n} else {\n module.exports = require('../cjs/use-sync-external-store-shim.native.development.js');\n}\n","/**\n * @license React\n * use-sync-external-store-shim.native.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var e=require(\"react\");function h(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var k=\"function\"===typeof Object.is?Object.is:h,l=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(a,b){var d=b(),f=l({inst:{value:d,getSnapshot:b}}),c=f[0].inst,g=f[1];n(function(){c.value=d;c.getSnapshot=b;r(c)&&g({inst:c})},[a,d,b]);m(function(){r(c)&&g({inst:c});return a(function(){r(c)&&g({inst:c})})},[a]);p(d);return d}\nfunction r(a){var b=a.getSnapshot;a=a.value;try{var d=b();return!k(a,d)}catch(f){return!0}}exports.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:q;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport Dimensions from './Dimensions';\nimport {\n type DisplayMetrics,\n type DisplayMetricsAndroid,\n} from './NativeDeviceInfo';\nimport {useEffect, useState} from 'react';\n\nexport default function useWindowDimensions():\n | DisplayMetrics\n | DisplayMetricsAndroid {\n const [dimensions, setDimensions] = useState(() => Dimensions.get('window'));\n useEffect(() => {\n function handleChange({\n window,\n }:\n | $FlowFixMe\n | $TEMPORARY$object<{window: DisplayMetrics | DisplayMetricsAndroid}>) {\n if (\n dimensions.width !== window.width ||\n dimensions.height !== window.height ||\n dimensions.scale !== window.scale ||\n dimensions.fontScale !== window.fontScale\n ) {\n setDimensions(window);\n }\n }\n const subscription = Dimensions.addEventListener('change', handleChange);\n // We might have missed an update between calling `get` in render and\n // `addEventListener` in this handler, so we set it here. If there was\n // no change, React will filter out this update as a no-op.\n handleChange({window: Dimensions.get('window')});\n return () => {\n subscription.remove();\n };\n }, [dimensions]);\n return dimensions;\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\n'use strict';\n\nconst deepFreezeAndThrowOnMutationInDev = require('./Utilities/deepFreezeAndThrowOnMutationInDev');\n\n/**\n * A collection of Unicode sequences for various characters and emoji.\n *\n * - More explicit than using the sequences directly in code.\n * - Source code should be limited to ASCII.\n * - Less chance of typos.\n */\nconst UTFSequence: {|\n BOM: string,\n BULLET: string,\n BULLET_SP: string,\n MDASH: string,\n MDASH_SP: string,\n MIDDOT: string,\n MIDDOT_KATAKANA: string,\n MIDDOT_SP: string,\n NBSP: string,\n NDASH: string,\n NDASH_SP: string,\n PIZZA: string,\n TRIANGLE_LEFT: string,\n TRIANGLE_RIGHT: string,\n|} = deepFreezeAndThrowOnMutationInDev({\n BOM: '\\ufeff', // byte order mark\n BULLET: '\\u2022', // bullet: •\n BULLET_SP: '\\u00A0\\u2022\\u00A0', //  • \n MIDDOT: '\\u00B7', // normal middle dot: ·\n MIDDOT_SP: '\\u00A0\\u00B7\\u00A0', //  · \n MIDDOT_KATAKANA: '\\u30FB', // katakana middle dot\n MDASH: '\\u2014', // em dash: —\n MDASH_SP: '\\u00A0\\u2014\\u00A0', //  — \n NDASH: '\\u2013', // en dash: –\n NDASH_SP: '\\u00A0\\u2013\\u00A0', //  – \n NBSP: '\\u00A0', // non-breaking space:  \n PIZZA: '\\uD83C\\uDF55',\n TRIANGLE_LEFT: '\\u25c0', // black left-pointing triangle\n TRIANGLE_RIGHT: '\\u25b6', // black right-pointing triangle\n});\n\nmodule.exports = UTFSequence;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict\n * @jsdoc\n */\n\nimport NativeVibration from './NativeVibration';\n\nconst Platform = require('../Utilities/Platform');\n\n/**\n * Vibration API\n *\n * See https://reactnative.dev/docs/vibration\n */\n\nlet _vibrating: boolean = false;\nlet _id: number = 0; // _id is necessary to prevent race condition.\nconst _default_vibration_length = 400;\n\nfunction vibrateByPattern(pattern: Array, repeat: boolean = false) {\n if (_vibrating) {\n return;\n }\n _vibrating = true;\n if (pattern[0] === 0) {\n NativeVibration.vibrate(_default_vibration_length);\n // $FlowFixMe[reassign-const]\n pattern = pattern.slice(1);\n }\n if (pattern.length === 0) {\n _vibrating = false;\n return;\n }\n setTimeout(() => vibrateScheduler(++_id, pattern, repeat, 1), pattern[0]);\n}\n\nfunction vibrateScheduler(\n id: number,\n pattern: Array,\n repeat: boolean,\n nextIndex: number,\n) {\n if (!_vibrating || id !== _id) {\n return;\n }\n NativeVibration.vibrate(_default_vibration_length);\n if (nextIndex >= pattern.length) {\n if (repeat) {\n // $FlowFixMe[reassign-const]\n nextIndex = 0;\n } else {\n _vibrating = false;\n return;\n }\n }\n setTimeout(\n () => vibrateScheduler(id, pattern, repeat, nextIndex + 1),\n pattern[nextIndex],\n );\n}\n\nconst Vibration = {\n /**\n * Trigger a vibration with specified `pattern`.\n *\n * See https://reactnative.dev/docs/vibration#vibrate\n */\n vibrate: function (\n pattern: number | Array = _default_vibration_length,\n repeat: boolean = false,\n ) {\n if (Platform.OS === 'android') {\n if (typeof pattern === 'number') {\n NativeVibration.vibrate(pattern);\n } else if (Array.isArray(pattern)) {\n NativeVibration.vibrateByPattern(pattern, repeat ? 0 : -1);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n } else {\n if (_vibrating) {\n return;\n }\n if (typeof pattern === 'number') {\n NativeVibration.vibrate(pattern);\n } else if (Array.isArray(pattern)) {\n vibrateByPattern(pattern, repeat);\n } else {\n throw new Error('Vibration pattern should be a number or array');\n }\n }\n },\n /**\n * Stop vibration\n *\n * See https://reactnative.dev/docs/vibration#cancel\n */\n cancel: function () {\n if (Platform.OS === 'ios') {\n _vibrating = false;\n } else {\n NativeVibration.cancel();\n }\n },\n};\n\nmodule.exports = Vibration;\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow strict\n * @format\n */\n\nimport type {TurboModule} from '../TurboModule/RCTExport';\n\nimport * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry';\n\nexport interface Spec extends TurboModule {\n +getConstants: () => {||};\n +vibrate: (pattern: number) => void;\n\n // Android only\n +vibrateByPattern: (pattern: Array, repeat: number) => void;\n +cancel: () => void;\n}\n\nexport default (TurboModuleRegistry.getEnforcing('Vibration'): Spec);\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport type {IgnorePattern} from '../LogBox/Data/LogBoxData';\n\nconst LogBox = require('../LogBox/LogBox');\nconst React = require('react');\n\ntype Props = $ReadOnly<{||}>;\n\nlet YellowBox;\nif (__DEV__) {\n YellowBox = class extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.ignoreLogs() instead.',\n );\n\n LogBox.ignoreLogs(patterns);\n }\n\n static install(): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.install() instead.',\n );\n LogBox.install();\n }\n\n static uninstall(): void {\n console.warn(\n 'YellowBox has been replaced with LogBox. Please call LogBox.uninstall() instead.',\n );\n LogBox.uninstall();\n }\n\n render(): React.Node {\n return null;\n }\n };\n} else {\n YellowBox = class extends React.Component {\n static ignoreWarnings(patterns: $ReadOnlyArray): void {\n // Do nothing.\n }\n\n static install(): void {\n // Do nothing.\n }\n\n static uninstall(): void {\n // Do nothing.\n }\n\n render(): React.Node {\n return null;\n }\n };\n}\n\n// $FlowFixMe[method-unbinding]\nmodule.exports = (YellowBox: Class> & {\n ignoreWarnings($ReadOnlyArray): void,\n install(): void,\n uninstall(): void,\n ...\n});\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\n\nimport type {ColorValue} from './StyleSheet';\n\nimport {DynamicColorIOSPrivate} from './PlatformColorValueTypes';\n\nexport type DynamicColorIOSTuple = {\n light: ColorValue,\n dark: ColorValue,\n highContrastLight?: ColorValue,\n highContrastDark?: ColorValue,\n};\n\nexport const DynamicColorIOS = (tuple: DynamicColorIOSTuple): ColorValue => {\n return DynamicColorIOSPrivate({\n light: tuple.light,\n dark: tuple.dark,\n highContrastLight: tuple.highContrastLight,\n highContrastDark: tuple.highContrastDark,\n });\n};\n","import * as React from 'react';\nimport { useImperativeHandle, useRef } from 'react';\n\nimport {\n NativeViewGestureHandler,\n NativeViewGestureHandlerProps,\n nativeViewProps,\n} from './NativeViewGestureHandler';\n\n/*\n * This array should consist of:\n * - All keys in propTypes from NativeGestureHandler\n * (and all keys in GestureHandlerPropTypes)\n * - 'onGestureHandlerEvent'\n * - 'onGestureHandlerStateChange'\n */\nconst NATIVE_WRAPPER_PROPS_FILTER = [\n ...nativeViewProps,\n 'onGestureHandlerEvent',\n 'onGestureHandlerStateChange',\n] as const;\n\nexport default function createNativeWrapper

(\n Component: React.ComponentType

,\n config: Readonly = {}\n) {\n const ComponentWrapper = React.forwardRef<\n React.ComponentType,\n P & NativeViewGestureHandlerProps\n >((props, ref) => {\n // filter out props that should be passed to gesture handler wrapper\n const gestureHandlerProps = Object.keys(props).reduce(\n (res, key) => {\n // TS being overly protective with it's types, see https://github.com/microsoft/TypeScript/issues/26255#issuecomment-458013731 for more info\n const allowedKeys: readonly string[] = NATIVE_WRAPPER_PROPS_FILTER;\n if (allowedKeys.includes(key)) {\n // @ts-ignore FIXME(TS)\n res[key] = props[key];\n }\n return res;\n },\n { ...config } // watch out not to modify config\n );\n const _ref = useRef>();\n const _gestureHandlerRef = useRef>();\n useImperativeHandle(\n ref,\n // @ts-ignore TODO(TS) decide how nulls work in this context\n () => {\n const node = _gestureHandlerRef.current;\n // add handlerTag for relations config\n if (_ref.current && node) {\n // @ts-ignore FIXME(TS) think about createHandler return type\n _ref.current.handlerTag = node.handlerTag;\n return _ref.current;\n }\n return null;\n },\n [_ref, _gestureHandlerRef]\n );\n return (\n \n \n \n );\n });\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n ComponentWrapper.displayName =\n Component?.displayName ||\n // @ts-ignore if render doesn't exist it will return undefined and go further\n Component?.render?.name ||\n (typeof Component === 'string' && Component) ||\n 'ComponentWrapper';\n\n return ComponentWrapper;\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const nativeViewGestureHandlerProps = [\n 'shouldActivateOnStart',\n 'disallowInterruption',\n] as const;\n\nexport interface NativeViewGestureConfig {\n /**\n * Android only.\n *\n * Determines whether the handler should check for an existing touch event on\n * instantiation.\n */\n shouldActivateOnStart?: boolean;\n\n /**\n * When `true`, cancels all other gesture handlers when this\n * `NativeViewGestureHandler` receives an `ACTIVE` state event.\n */\n disallowInterruption?: boolean;\n}\n\nexport interface NativeViewGestureHandlerProps\n extends BaseGestureHandlerProps,\n NativeViewGestureConfig {}\n\nexport type NativeViewGestureHandlerPayload = {\n /**\n * True if gesture was performed inside of containing view, false otherwise.\n */\n pointerInside: boolean;\n};\n\nexport const nativeViewProps = [\n ...baseGestureHandlerProps,\n ...nativeViewGestureHandlerProps,\n] as const;\n\nexport const nativeViewHandlerName = 'NativeViewGestureHandler';\n\nexport type NativeViewGestureHandler = typeof NativeViewGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const NativeViewGestureHandler = createHandler<\n NativeViewGestureHandlerProps,\n NativeViewGestureHandlerPayload\n>({\n name: nativeViewHandlerName,\n allowedProps: nativeViewProps,\n config: {},\n});\n","import * as React from 'react';\nimport {\n Platform,\n UIManager,\n DeviceEventEmitter,\n EmitterSubscription,\n} from 'react-native';\n// @ts-ignore - it isn't typed by TS & don't have definitelyTyped types\nimport deepEqual from 'lodash/isEqual';\nimport RNGestureHandlerModule from '../RNGestureHandlerModule';\nimport type RNGestureHandlerModuleWeb from '../RNGestureHandlerModule.web';\nimport { State } from '../State';\nimport {\n handlerIDToTag,\n getNextHandlerTag,\n registerOldGestureHandler,\n} from './handlersRegistry';\n\nimport {\n BaseGestureHandlerProps,\n filterConfig,\n GestureEvent,\n HandlerStateChangeEvent,\n findNodeHandle,\n scheduleFlushOperations,\n} from './gestureHandlerCommon';\nimport { ValueOf } from '../typeUtils';\nimport { isFabric, isJestEnv, tagMessage } from '../utils';\nimport { ActionType } from '../ActionType';\nimport { PressabilityDebugView } from './PressabilityDebugView';\n\nconst UIManagerAny = UIManager as any;\n\nconst customGHEventsConfigFabricAndroid = {\n topOnGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },\n topOnGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n};\n\nconst customGHEventsConfig = {\n onGestureHandlerEvent: { registrationName: 'onGestureHandlerEvent' },\n onGestureHandlerStateChange: {\n registrationName: 'onGestureHandlerStateChange',\n },\n\n // When using React Native Gesture Handler for Animated.event with useNativeDriver: true\n // on Android with Fabric enabled, the native part still sends the native events to JS\n // but prefixed with \"top\". We cannot simply rename the events above so they are prefixed\n // with \"top\" instead of \"on\" because in such case Animated.events would not be registered.\n // That's why we need to register another pair of event names.\n // The incoming events will be queued but never handled.\n // Without this piece of code below, you'll get the following JS error:\n // Unsupported top level event type \"topOnGestureHandlerEvent\" dispatched\n ...(isFabric() &&\n Platform.OS === 'android' &&\n customGHEventsConfigFabricAndroid),\n};\n\n// Add gesture specific events to genericDirectEventTypes object exported from UIManager\n// native module.\n// Once new event types are registered with react it is possible to dispatch these\n// events to all kind of native views.\nUIManagerAny.genericDirectEventTypes = {\n ...UIManagerAny.genericDirectEventTypes,\n ...customGHEventsConfig,\n};\n// In newer versions of RN the `genericDirectEventTypes` is located in the object\n// returned by UIManager.getViewManagerConfig('getConstants') or in older RN UIManager.getConstants(), we need to add it there as well to make\n// it compatible with RN 61+\nconst UIManagerConstants =\n UIManagerAny.getViewManagerConfig?.('getConstants') ??\n UIManagerAny.getConstants?.();\n\nif (UIManagerConstants) {\n UIManagerConstants.genericDirectEventTypes = {\n ...UIManagerConstants.genericDirectEventTypes,\n ...customGHEventsConfig,\n };\n}\n\n// Wrap JS responder calls and notify gesture handler manager\nconst {\n setJSResponder: oldSetJSResponder = () => {\n //no operation\n },\n clearJSResponder: oldClearJSResponder = () => {\n //no operation\n },\n} = UIManagerAny;\nUIManagerAny.setJSResponder = (tag: number, blockNativeResponder: boolean) => {\n RNGestureHandlerModule.handleSetJSResponder(tag, blockNativeResponder);\n oldSetJSResponder(tag, blockNativeResponder);\n};\nUIManagerAny.clearJSResponder = () => {\n RNGestureHandlerModule.handleClearJSResponder();\n oldClearJSResponder();\n};\n\nlet allowTouches = true;\nconst DEV_ON_ANDROID = __DEV__ && Platform.OS === 'android';\n// Toggled inspector blocks touch events in order to allow inspecting on Android\n// This needs to be a global variable in order to set initial state for `allowTouches` property in Handler component\nif (DEV_ON_ANDROID) {\n DeviceEventEmitter.addListener('toggleElementInspector', () => {\n allowTouches = !allowTouches;\n });\n}\n\ntype HandlerProps> = Readonly<\n React.PropsWithChildren>\n>;\nfunction hasUnresolvedRefs>(\n props: HandlerProps\n) {\n // TODO(TS) - add type for extract arg\n const extract = (refs: any | any[]) => {\n if (!Array.isArray(refs)) {\n return refs && refs.current === null;\n }\n return refs.some((r) => r && r.current === null);\n };\n return extract(props['simultaneousHandlers']) || extract(props['waitFor']);\n}\n\nconst stateToPropMappings = {\n [State.UNDETERMINED]: undefined,\n [State.BEGAN]: 'onBegan',\n [State.FAILED]: 'onFailed',\n [State.CANCELLED]: 'onCancelled',\n [State.ACTIVE]: 'onActivated',\n [State.END]: 'onEnded',\n} as const;\n\ntype CreateHandlerArgs> =\n Readonly<{\n name: string;\n allowedProps: Readonly[]>;\n config: Readonly>;\n transformProps?: (props: HandlerPropsT) => HandlerPropsT;\n customNativeProps?: Readonly;\n }>;\n\n// TODO(TS) fix event types\ntype InternalEventHandlers = {\n onGestureHandlerEvent?: (event: any) => void;\n onGestureHandlerStateChange?: (event: any) => void;\n};\n\nconst UNRESOLVED_REFS_RETRY_LIMIT = 1;\n\n// TODO(TS) - make sure that BaseGestureHandlerProps doesn't need other generic parameter to work with custom properties.\nexport default function createHandler<\n T extends BaseGestureHandlerProps,\n U extends Record\n>({\n name,\n allowedProps = [],\n config = {},\n transformProps,\n customNativeProps = [],\n}: CreateHandlerArgs): React.ComponentType> {\n interface HandlerState {\n allowTouches: boolean;\n }\n class Handler extends React.Component<\n T & InternalEventHandlers,\n HandlerState\n > {\n static displayName = name;\n\n private handlerTag: number;\n private config: Record;\n private propsRef: React.MutableRefObject;\n private viewNode: any;\n private viewTag?: number;\n private updateEnqueued: ReturnType | null = null;\n private inspectorToggleListener?: EmitterSubscription;\n\n constructor(props: T & InternalEventHandlers) {\n super(props);\n this.handlerTag = getNextHandlerTag();\n this.config = {};\n this.propsRef = React.createRef();\n this.state = { allowTouches };\n if (props.id) {\n if (handlerIDToTag[props.id] !== undefined) {\n throw new Error(`Handler with ID \"${props.id}\" already registered`);\n }\n handlerIDToTag[props.id] = this.handlerTag;\n }\n }\n\n componentDidMount() {\n const props: HandlerProps = this.props;\n\n if (DEV_ON_ANDROID) {\n this.inspectorToggleListener = DeviceEventEmitter.addListener(\n 'toggleElementInspector',\n () => {\n this.setState((_) => ({ allowTouches }));\n this.update(UNRESOLVED_REFS_RETRY_LIMIT);\n }\n );\n }\n if (hasUnresolvedRefs(props)) {\n // If there are unresolved refs (e.g. \".current\" has not yet been set)\n // passed as `simultaneousHandlers` or `waitFor`, we enqueue a call to\n // _update method that will try to update native handler props using\n // setImmediate. This makes it so update() function gets called after all\n // react components are mounted and we expect the missing ref object to\n // be resolved by then.\n this.updateEnqueued = setImmediate(() => {\n this.updateEnqueued = null;\n this.update(UNRESOLVED_REFS_RETRY_LIMIT);\n });\n }\n\n this.createGestureHandler(\n filterConfig(\n transformProps ? transformProps(this.props) : this.props,\n [...allowedProps, ...customNativeProps],\n config\n )\n );\n\n this.attachGestureHandler(findNodeHandle(this.viewNode) as number); // TODO(TS) - check if this can be null\n }\n\n componentDidUpdate() {\n const viewTag = findNodeHandle(this.viewNode);\n if (this.viewTag !== viewTag) {\n this.attachGestureHandler(viewTag as number); // TODO(TS) - check interaction between _viewTag & findNodeHandle\n }\n this.update(UNRESOLVED_REFS_RETRY_LIMIT);\n }\n\n componentWillUnmount() {\n this.inspectorToggleListener?.remove();\n RNGestureHandlerModule.dropGestureHandler(this.handlerTag);\n scheduleFlushOperations();\n if (this.updateEnqueued) {\n clearImmediate(this.updateEnqueued);\n }\n // We can't use this.props.id directly due to TS generic type narrowing bug, see https://github.com/microsoft/TypeScript/issues/13995 for more context\n const handlerID: string | undefined = this.props.id;\n if (handlerID) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete handlerIDToTag[handlerID];\n }\n }\n\n private onGestureHandlerEvent = (event: GestureEvent) => {\n if (event.nativeEvent.handlerTag === this.handlerTag) {\n if (typeof this.props.onGestureEvent === 'function') {\n this.props.onGestureEvent?.(event);\n }\n } else {\n this.props.onGestureHandlerEvent?.(event);\n }\n };\n\n // TODO(TS) - make sure this is right type for event\n private onGestureHandlerStateChange = (\n event: HandlerStateChangeEvent\n ) => {\n if (event.nativeEvent.handlerTag === this.handlerTag) {\n if (typeof this.props.onHandlerStateChange === 'function') {\n this.props.onHandlerStateChange?.(event);\n }\n\n const state: ValueOf = event.nativeEvent.state;\n const stateEventName = stateToPropMappings[state];\n const eventHandler = stateEventName && this.props[stateEventName];\n if (eventHandler && typeof eventHandler === 'function') {\n eventHandler(event);\n }\n } else {\n this.props.onGestureHandlerStateChange?.(event);\n }\n };\n\n private refHandler = (node: any) => {\n this.viewNode = node;\n\n const child = React.Children.only(this.props.children);\n // TODO(TS) fix ref type\n const { ref }: any = child;\n if (ref !== null) {\n if (typeof ref === 'function') {\n ref(node);\n } else {\n ref.current = node;\n }\n }\n };\n\n private createGestureHandler = (\n newConfig: Readonly>\n ) => {\n this.config = newConfig;\n\n RNGestureHandlerModule.createGestureHandler(\n name,\n this.handlerTag,\n newConfig\n );\n };\n\n private attachGestureHandler = (newViewTag: number) => {\n this.viewTag = newViewTag;\n\n if (Platform.OS === 'web') {\n // typecast due to dynamic resolution, attachGestureHandler should have web version signature in this branch\n (\n RNGestureHandlerModule.attachGestureHandler as typeof RNGestureHandlerModuleWeb.attachGestureHandler\n )(\n this.handlerTag,\n newViewTag,\n ActionType.JS_FUNCTION_OLD_API, // ignored on web\n this.propsRef\n );\n } else {\n registerOldGestureHandler(this.handlerTag, {\n onGestureEvent: this.onGestureHandlerEvent,\n onGestureStateChange: this.onGestureHandlerStateChange,\n });\n\n const actionType = (() => {\n if (\n this.props?.onGestureEvent &&\n 'current' in this.props.onGestureEvent\n ) {\n // Reanimated worklet\n return ActionType.REANIMATED_WORKLET;\n } else if (\n this.props?.onGestureEvent &&\n '__isNative' in this.props.onGestureEvent\n ) {\n // Animated.event with useNativeDriver: true\n return ActionType.NATIVE_ANIMATED_EVENT;\n } else {\n // JS callback or Animated.event with useNativeDriver: false\n return ActionType.JS_FUNCTION_OLD_API;\n }\n })();\n\n RNGestureHandlerModule.attachGestureHandler(\n this.handlerTag,\n newViewTag,\n actionType\n );\n }\n\n scheduleFlushOperations();\n };\n\n private updateGestureHandler = (\n newConfig: Readonly>\n ) => {\n this.config = newConfig;\n\n RNGestureHandlerModule.updateGestureHandler(this.handlerTag, newConfig);\n scheduleFlushOperations();\n };\n\n private update(remainingTries: number) {\n const props: HandlerProps = this.props;\n\n // When ref is set via a function i.e. `ref={(r) => refObject.current = r}` instead of\n // `ref={refObject}` it's possible that it won't be resolved in time. Seems like trying\n // again is easy enough fix.\n if (hasUnresolvedRefs(props) && remainingTries > 0) {\n this.updateEnqueued = setImmediate(() => {\n this.updateEnqueued = null;\n this.update(remainingTries - 1);\n });\n } else {\n const newConfig = filterConfig(\n transformProps ? transformProps(this.props) : this.props,\n [...allowedProps, ...customNativeProps],\n config\n );\n if (!deepEqual(this.config, newConfig)) {\n this.updateGestureHandler(newConfig);\n }\n }\n }\n\n setNativeProps(updates: any) {\n const mergedProps = { ...this.props, ...updates };\n const newConfig = filterConfig(\n transformProps ? transformProps(mergedProps) : mergedProps,\n [...allowedProps, ...customNativeProps],\n config\n );\n this.updateGestureHandler(newConfig);\n }\n\n render() {\n let gestureEventHandler = this.onGestureHandlerEvent;\n // Another instance of https://github.com/microsoft/TypeScript/issues/13995\n type OnGestureEventHandlers = {\n onGestureEvent?: BaseGestureHandlerProps['onGestureEvent'];\n onGestureHandlerEvent?: InternalEventHandlers['onGestureHandlerEvent'];\n };\n const { onGestureEvent, onGestureHandlerEvent }: OnGestureEventHandlers =\n this.props;\n if (onGestureEvent && typeof onGestureEvent !== 'function') {\n // If it's not a method it should be an native Animated.event\n // object. We set it directly as the handler for the view\n // In this case nested handlers are not going to be supported\n if (onGestureHandlerEvent) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n gestureEventHandler = onGestureEvent;\n } else {\n if (\n onGestureHandlerEvent &&\n typeof onGestureHandlerEvent !== 'function'\n ) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n }\n\n let gestureStateEventHandler = this.onGestureHandlerStateChange;\n // Another instance of https://github.com/microsoft/TypeScript/issues/13995\n type OnGestureStateChangeHandlers = {\n onHandlerStateChange?: BaseGestureHandlerProps['onHandlerStateChange'];\n onGestureHandlerStateChange?: InternalEventHandlers['onGestureHandlerStateChange'];\n };\n const {\n onHandlerStateChange,\n onGestureHandlerStateChange,\n }: OnGestureStateChangeHandlers = this.props;\n if (onHandlerStateChange && typeof onHandlerStateChange !== 'function') {\n // If it's not a method it should be an native Animated.event\n // object. We set it directly as the handler for the view\n // In this case nested handlers are not going to be supported\n if (onGestureHandlerStateChange) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n gestureStateEventHandler = onHandlerStateChange;\n } else {\n if (\n onGestureHandlerStateChange &&\n typeof onGestureHandlerStateChange !== 'function'\n ) {\n throw new Error(\n 'Nesting touch handlers with native animated driver is not supported yet'\n );\n }\n }\n const events = {\n onGestureHandlerEvent: this.state.allowTouches\n ? gestureEventHandler\n : undefined,\n onGestureHandlerStateChange: this.state.allowTouches\n ? gestureStateEventHandler\n : undefined,\n };\n\n this.propsRef.current = events;\n\n let child: any = null;\n try {\n child = React.Children.only(this.props.children);\n } catch (e) {\n throw new Error(\n tagMessage(\n `${name} got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`\n )\n );\n }\n\n let grandChildren = child.props.children;\n if (\n __DEV__ &&\n child.type &&\n (child.type === 'RNGestureHandlerButton' ||\n child.type.name === 'View' ||\n child.type.displayName === 'View')\n ) {\n grandChildren = React.Children.toArray(grandChildren);\n grandChildren.push(\n \n );\n }\n\n return React.cloneElement(\n child,\n {\n ref: this.refHandler,\n collapsable: false,\n ...(isJestEnv()\n ? {\n handlerType: name,\n handlerTag: this.handlerTag,\n }\n : {}),\n testID: this.props.testID ?? child.props.testID,\n ...events,\n },\n grandChildren\n );\n }\n }\n return Handler;\n}\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n","var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n","/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n","/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n","var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n","var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n","var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n","/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n","/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n","var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n","var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n","/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n","/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n","/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n","var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n","var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n","var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n","var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n","/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n","var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n","/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n","var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n","var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n","var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n","var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n","/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n","var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n","var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n","/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n","var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n","var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n","var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n","var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n","/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n","var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n","/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n","var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n","/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n","/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n","import { NativeModules } from 'react-native';\nimport { ActionType } from './ActionType';\nimport { tagMessage } from './utils';\nconst { RNGestureHandlerModule } = NativeModules;\n\nif (RNGestureHandlerModule == null) {\n console.error(\n tagMessage(\n `react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).\n\n For installation instructions, please refer to https://docs.swmansion.com/react-native-gesture-handler/docs/#installation`\n .split('\\n')\n .map((line) => line.trim())\n .join('\\n')\n )\n );\n}\n\nif (\n RNGestureHandlerModule &&\n RNGestureHandlerModule.flushOperations === undefined\n) {\n RNGestureHandlerModule.flushOperations = () => {\n // NO-OP if not defined\n };\n}\n\nexport type RNGestureHandlerModuleProps = {\n handleSetJSResponder: (tag: number, blockNativeResponder: boolean) => void;\n handleClearJSResponder: () => void;\n createGestureHandler: (\n handlerName: string,\n handlerTag: number,\n config: Readonly>\n ) => void;\n attachGestureHandler: (\n handlerTag: number,\n newView: number,\n actionType: ActionType\n ) => void;\n updateGestureHandler: (\n handlerTag: number,\n newConfig: Readonly>\n ) => void;\n dropGestureHandler: (handlerTag: number) => void;\n install: () => void;\n flushOperations: () => void;\n};\n\nexport default RNGestureHandlerModule as RNGestureHandlerModuleProps;\n","import pack from 'react-native/package.json';\n\nconst [majorStr, minorStr] = pack.version.split('.');\nexport const REACT_NATIVE_VERSION = {\n major: parseInt(majorStr, 10),\n minor: parseInt(minorStr, 10),\n};\n\nexport function toArray(object: T | T[]): T[] {\n if (!Array.isArray(object)) {\n return [object];\n }\n\n return object;\n}\n\nexport type withPrevAndCurrentMapFn = (\n previous: Transformed | null,\n current: T\n) => Transformed;\nexport function withPrevAndCurrent(\n array: T[],\n mapFn: withPrevAndCurrentMapFn\n): Transformed[] {\n const previousArr: (null | Transformed)[] = [null];\n const currentArr = [...array];\n const transformedArr: Transformed[] = [];\n currentArr.forEach((current, i) => {\n const previous = previousArr[i];\n const transformed = mapFn(previous, current);\n previousArr.push(transformed);\n transformedArr.push(transformed);\n });\n return transformedArr;\n}\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function hasProperty(object: object, key: string) {\n return Object.prototype.hasOwnProperty.call(object, key);\n}\n\nexport function isJestEnv(): boolean {\n // @ts-ignore Do not use `@types/node` because it will prioritise Node types over RN types which breaks the types (ex. setTimeout) in React Native projects.\n return hasProperty(global, 'process') && !!process.env.JEST_WORKER_ID;\n}\n\nexport function tagMessage(msg: string) {\n return `[react-native-gesture-handler] ${msg}`;\n}\n\n// helper method to check whether Fabric is enabled, however global.nativeFabricUIManager\n// may not be initialized before the first render\nexport function isFabric(): boolean {\n // @ts-expect-error nativeFabricUIManager is not yet included in the RN types\n return !!global?.nativeFabricUIManager;\n}\n\nexport function shouldUseCodegenNativeComponent(): boolean {\n // use codegenNativeComponent starting with RN 0.68\n return REACT_NATIVE_VERSION.minor >= 68 || REACT_NATIVE_VERSION.major > 0;\n}\n\nexport function isRemoteDebuggingEnabled(): boolean {\n // react-native-reanimated checks if in remote debugging in the same way\n // @ts-ignore global is available but node types are not included\n return !(global as any).nativeCallSyncHook || (global as any).__REMOTEDEV__;\n}\n","{\n \"name\": \"@expensify/react-native\",\n \"version\": \"0.71.2-alpha.3\",\n \"bin\": \"./cli.js\",\n \"description\": \"A framework for building native apps using React\",\n \"license\": \"MIT\",\n \"repository\": \"github:facebook/react-native\",\n \"engines\": {\n \"node\": \">=14\"\n },\n \"types\": \"types\",\n \"jest-junit\": {\n \"outputDirectory\": \"reports/junit\",\n \"outputName\": \"js-test-results.xml\"\n },\n \"files\": [\n \"android\",\n \"cli.js\",\n \"flow\",\n \"flow-typed\",\n \"index.js\",\n \"interface.js\",\n \"jest-preset.js\",\n \"jest\",\n \"!jest/private\",\n \"Libraries\",\n \"LICENSE\",\n \"local-cli\",\n \"React-Core.podspec\",\n \"react-native.config.js\",\n \"react.gradle\",\n \"React.podspec\",\n \"React\",\n \"ReactAndroid\",\n \"ReactCommon\",\n \"README.md\",\n \"rn-get-polyfills.js\",\n \"scripts/compose-source-maps.js\",\n \"scripts/find-node-for-xcode.sh\",\n \"scripts/generate-codegen-artifacts.js\",\n \"scripts/generate-provider-cli.js\",\n \"scripts/generate-specs-cli.js\",\n \"scripts/codegen/codegen-utils.js\",\n \"scripts/codegen/generate-artifacts-executor.js\",\n \"scripts/codegen/generate-specs-cli-executor.js\",\n \"scripts/hermes/hermes-utils.js\",\n \"scripts/hermes/prepare-hermes-for-build.js\",\n \"scripts/ios-configure-glog.sh\",\n \"scripts/xcode/with-environment.sh\",\n \"scripts/launchPackager.bat\",\n \"scripts/launchPackager.command\",\n \"scripts/native_modules.rb\",\n \"scripts/node-binary.sh\",\n \"scripts/packager.sh\",\n \"scripts/packager-reporter.js\",\n \"scripts/react_native_pods_utils/script_phases.rb\",\n \"scripts/react_native_pods_utils/script_phases.sh\",\n \"scripts/react_native_pods.rb\",\n \"scripts/cocoapods\",\n \"scripts/react-native-xcode.sh\",\n \"sdks/.hermesversion\",\n \"sdks/hermes-engine\",\n \"sdks/hermesc\",\n \"template.config.js\",\n \"template\",\n \"!template/node_modules\",\n \"!template/package-lock.json\",\n \"!template/yarn.lock\",\n \"third-party-podspecs\",\n \"types\"\n ],\n \"scripts\": {\n \"start\": \"react-native start\",\n \"test\": \"jest\",\n \"test-ci\": \"jest --maxWorkers=2 --ci --reporters=\\\"default\\\" --reporters=\\\"jest-junit\\\"\",\n \"flow\": \"flow\",\n \"flow-check-ios\": \"flow check\",\n \"flow-check-android\": \"flow check --flowconfig-name .flowconfig.android\",\n \"lint\": \"eslint .\",\n \"lint-ci\": \"./scripts/circleci/analyze_code.sh && yarn shellcheck\",\n \"lint-java\": \"node ./scripts/lint-java.js\",\n \"shellcheck\": \"./scripts/circleci/analyze_scripts.sh\",\n \"clang-format\": \"clang-format -i --glob=*/**/*.{h,cpp,m,mm}\",\n \"format\": \"npm run prettier && npm run clang-format\",\n \"prettier\": \"prettier --write \\\"./**/*.{js,md,yml,ts,tsx}\\\"\",\n \"format-check\": \"prettier --list-different \\\"./**/*.{js,md,yml,ts,tsx}\\\"\",\n \"update-lock\": \"npx yarn-deduplicate\",\n \"docker-setup-android\": \"docker pull reactnativecommunity/react-native-android:6.2\",\n \"docker-build-android\": \"docker build -t reactnativeci/android -f .circleci/Dockerfiles/Dockerfile.android .\",\n \"test-android-run-instrumentation\": \"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-instrumentation-tests.sh\",\n \"test-android-run-unit\": \"docker run --cap-add=SYS_ADMIN -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-android-docker-unit-tests.sh\",\n \"test-android-run-e2e\": \"docker run --privileged -it reactnativeci/android bash .circleci/Dockerfiles/scripts/run-ci-e2e-tests.sh --android --js\",\n \"test-android-all\": \"yarn run docker-build-android && yarn run test-android-run-unit && yarn run test-android-run-instrumentation && yarn run test-android-run-e2e\",\n \"test-android-instrumentation\": \"yarn run docker-build-android && yarn run test-android-run-instrumentation\",\n \"test-android-unit\": \"yarn run docker-build-android && yarn run test-android-run-unit\",\n \"test-android-e2e\": \"yarn run docker-build-android && yarn run test-android-run-e2e\",\n \"test-e2e-local\": \"node ./scripts/test-e2e-local.js\",\n \"test-e2e-local-clean\": \"node ./scripts/test-e2e-local-clean.js\",\n \"test-ios\": \"./scripts/objc-test.sh test\",\n \"test-typescript\": \"dtslint types\",\n \"test-typescript-offline\": \"dtslint --localTs node_modules/typescript/lib types\",\n \"bump-all-updated-packages\": \"node ./scripts/monorepo/bump-all-updated-packages\",\n \"align-package-versions\": \"node ./scripts/monorepo/align-package-versions.js\"\n },\n \"peerDependencies\": {\n \"react\": \"18.2.0\"\n },\n \"dependencies\": {\n \"@jest/create-cache-key-function\": \"^29.2.1\",\n \"@react-native-community/cli\": \"10.1.3\",\n \"@react-native-community/cli-platform-android\": \"10.1.3\",\n \"@react-native-community/cli-platform-ios\": \"10.1.1\",\n \"@react-native/assets\": \"1.0.0\",\n \"@react-native/normalize-color\": \"2.1.0\",\n \"@react-native/polyfills\": \"2.0.0\",\n \"abort-controller\": \"^3.0.0\",\n \"anser\": \"^1.4.9\",\n \"base64-js\": \"^1.1.2\",\n \"deprecated-react-native-prop-types\": \"^3.0.1\",\n \"event-target-shim\": \"^5.0.1\",\n \"invariant\": \"^2.2.4\",\n \"jest-environment-node\": \"^29.2.1\",\n \"jsc-android\": \"^250230.2.1\",\n \"memoize-one\": \"^5.0.0\",\n \"metro-react-native-babel-transformer\": \"0.73.7\",\n \"metro-runtime\": \"0.73.7\",\n \"metro-source-map\": \"0.73.7\",\n \"mkdirp\": \"^0.5.1\",\n \"nullthrows\": \"^1.1.1\",\n \"pretty-format\": \"^26.5.2\",\n \"promise\": \"^8.3.0\",\n \"react-devtools-core\": \"^4.26.1\",\n \"react-native-gradle-plugin\": \"^0.71.14\",\n \"react-refresh\": \"^0.4.0\",\n \"react-shallow-renderer\": \"^16.15.0\",\n \"regenerator-runtime\": \"^0.13.2\",\n \"scheduler\": \"^0.23.0\",\n \"stacktrace-parser\": \"^0.1.3\",\n \"use-sync-external-store\": \"^1.0.0\",\n \"whatwg-fetch\": \"^3.0.0\",\n \"ws\": \"^6.2.2\",\n \"react-native-codegen\": \"^0.71.3\"\n },\n \"devDependencies\": {\n \"flow-bin\": \"^0.191.0\",\n \"hermes-eslint\": \"0.8.0\",\n \"react\": \"18.2.0\",\n \"react-test-renderer\": \"18.2.0\",\n \"@babel/core\": \"^7.20.0\",\n \"@babel/eslint-parser\": \"^7.18.2\",\n \"@babel/generator\": \"^7.20.0\",\n \"@babel/plugin-transform-regenerator\": \"^7.0.0\",\n \"@babel/preset-flow\": \"^7.18.0\",\n \"@definitelytyped/dtslint\": \"^0.0.127\",\n \"@react-native-community/eslint-config\": \"*\",\n \"@react-native-community/eslint-plugin\": \"*\",\n \"@react-native/eslint-plugin-specs\": \"^0.71.1\",\n \"@reactions/component\": \"^2.0.2\",\n \"@types/react\": \"^18.0.18\",\n \"@typescript-eslint/parser\": \"^5.30.5\",\n \"async\": \"^3.2.2\",\n \"clang-format\": \"^1.8.0\",\n \"connect\": \"^3.6.5\",\n \"coveralls\": \"^3.1.1\",\n \"eslint\": \"^8.19.0\",\n \"eslint-config-prettier\": \"^8.5.0\",\n \"eslint-plugin-babel\": \"^5.3.1\",\n \"eslint-plugin-eslint-comments\": \"^3.2.0\",\n \"eslint-plugin-ft-flow\": \"^2.0.1\",\n \"eslint-plugin-jest\": \"^26.5.3\",\n \"eslint-plugin-jsx-a11y\": \"^6.6.0\",\n \"eslint-plugin-lint\": \"^1.0.0\",\n \"eslint-plugin-prettier\": \"^4.2.1\",\n \"eslint-plugin-react\": \"^7.30.1\",\n \"eslint-plugin-react-hooks\": \"^4.6.0\",\n \"eslint-plugin-react-native\": \"^4.0.0\",\n \"eslint-plugin-relay\": \"^1.8.3\",\n \"inquirer\": \"^7.1.0\",\n \"jest\": \"^29.2.1\",\n \"jest-junit\": \"^10.0.0\",\n \"jscodeshift\": \"^0.13.1\",\n \"metro-babel-register\": \"0.73.7\",\n \"metro-memory-fs\": \"0.73.7\",\n \"mkdirp\": \"^0.5.1\",\n \"mock-fs\": \"^5.1.4\",\n \"prettier\": \"^2.4.1\",\n \"shelljs\": \"^0.8.5\",\n \"signedsource\": \"^1.0.0\",\n \"typescript\": \"4.1.3\",\n \"ws\": \"^6.2.2\",\n \"yargs\": \"^17.5.1\"\n },\n \"codegenConfig\": {\n \"libraries\": [\n {\n \"name\": \"FBReactNativeSpec\",\n \"type\": \"modules\",\n \"ios\": {},\n \"android\": {},\n \"jsSrcsDir\": \"Libraries\"\n },\n {\n \"name\": \"rncore\",\n \"type\": \"components\",\n \"ios\": {},\n \"android\": {},\n \"jsSrcsDir\": \"Libraries\"\n }\n ]\n }\n}","// TODO use State from RNModule\n\nexport const State = {\n UNDETERMINED: 0,\n FAILED: 1,\n BEGAN: 2,\n CANCELLED: 3,\n ACTIVE: 4,\n END: 5,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type State = typeof State[keyof typeof State];\n","export const ActionType = {\n REANIMATED_WORKLET: 1,\n NATIVE_ANIMATED_EVENT: 2,\n JS_FUNCTION_OLD_API: 3,\n JS_FUNCTION_NEW_API: 4,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type ActionType = typeof ActionType[keyof typeof ActionType];\n","import { isJestEnv } from '../utils';\nimport { GestureType } from './gestures/gesture';\nimport { GestureEvent, HandlerStateChangeEvent } from './gestureHandlerCommon';\n\nexport const handlerIDToTag: Record = {};\nconst gestures = new Map();\nconst oldHandlers = new Map();\nconst testIDs = new Map();\n\nlet handlerTag = 1;\n\nexport function getNextHandlerTag(): number {\n return handlerTag++;\n}\n\nexport function registerHandler(\n handlerTag: number,\n handler: GestureType,\n testID?: string\n) {\n gestures.set(handlerTag, handler);\n if (isJestEnv() && testID) {\n testIDs.set(testID, handlerTag);\n }\n}\n\nexport function registerOldGestureHandler(\n handlerTag: number,\n handler: GestureHandlerCallbacks\n) {\n oldHandlers.set(handlerTag, handler);\n}\n\nexport function unregisterHandler(handlerTag: number, testID?: string) {\n gestures.delete(handlerTag);\n if (isJestEnv() && testID) {\n testIDs.delete(testID);\n }\n}\n\nexport function findHandler(handlerTag: number) {\n return gestures.get(handlerTag);\n}\n\nexport function findOldGestureHandler(handlerTag: number) {\n return oldHandlers.get(handlerTag);\n}\n\nexport function findHandlerByTestID(testID: string) {\n const handlerTag = testIDs.get(testID);\n if (handlerTag !== undefined) {\n return findHandler(handlerTag) ?? null;\n }\n return null;\n}\n\nexport interface GestureHandlerCallbacks {\n onGestureEvent: (event: GestureEvent) => void;\n onGestureStateChange: (event: HandlerStateChangeEvent) => void;\n}\n","// Previous types exported gesture handlers as classes which creates an interface and variable, both named the same as class.\n// Without those types, we'd introduce breaking change, forcing users to prefix every handler type specification with typeof\n// e.g. React.createRef -> React.createRef.\n// See https://www.typescriptlang.org/docs/handbook/classes.html#constructor-functions for reference.\nimport * as React from 'react';\nimport { Platform, findNodeHandle as findNodeHandleRN } from 'react-native';\n\nimport { State } from '../State';\nimport { TouchEventType } from '../TouchEventType';\nimport { ValueOf } from '../typeUtils';\nimport { handlerIDToTag } from './handlersRegistry';\nimport { toArray } from '../utils';\nimport RNGestureHandlerModule from '../RNGestureHandlerModule';\n\nconst commonProps = [\n 'id',\n 'enabled',\n 'shouldCancelWhenOutside',\n 'hitSlop',\n 'cancelsTouchesInView',\n 'userSelect',\n] as const;\n\nconst componentInteractionProps = ['waitFor', 'simultaneousHandlers'] as const;\n\nexport const baseGestureHandlerProps = [\n ...commonProps,\n ...componentInteractionProps,\n 'onBegan',\n 'onFailed',\n 'onCancelled',\n 'onActivated',\n 'onEnded',\n 'onGestureEvent',\n 'onHandlerStateChange',\n] as const;\n\nexport const baseGestureHandlerWithMonitorProps = [\n ...commonProps,\n 'needsPointerData',\n 'manualActivation',\n];\n\nexport interface GestureEventPayload {\n handlerTag: number;\n numberOfPointers: number;\n state: ValueOf;\n}\nexport interface HandlerStateChangeEventPayload extends GestureEventPayload {\n oldState: ValueOf;\n}\n\nexport type HitSlop =\n | number\n | Partial<\n Record<\n 'left' | 'right' | 'top' | 'bottom' | 'vertical' | 'horizontal',\n number\n >\n >\n | Record<'width' | 'left', number>\n | Record<'width' | 'right', number>\n | Record<'height' | 'top', number>\n | Record<'height' | 'bottom', number>;\n\nexport type UserSelect = 'none' | 'auto' | 'text';\n\n//TODO(TS) events in handlers\n\nexport interface GestureEvent> {\n nativeEvent: Readonly;\n}\nexport interface HandlerStateChangeEvent<\n ExtraEventPayloadT = Record\n> {\n nativeEvent: Readonly;\n}\n\nexport type TouchData = {\n id: number;\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\n\nexport type GestureTouchEvent = {\n handlerTag: number;\n numberOfTouches: number;\n state: ValueOf;\n eventType: TouchEventType;\n allTouches: TouchData[];\n changedTouches: TouchData[];\n};\n\nexport type GestureUpdateEvent> =\n GestureEventPayload & GestureEventPayloadT;\n\nexport type GestureStateChangeEvent<\n GestureStateChangeEventPayloadT = Record\n> = HandlerStateChangeEventPayload & GestureStateChangeEventPayloadT;\n\nexport type CommonGestureConfig = {\n enabled?: boolean;\n shouldCancelWhenOutside?: boolean;\n hitSlop?: HitSlop;\n userSelect?: UserSelect;\n};\n\n// Events payloads are types instead of interfaces due to TS limitation.\n// See https://github.com/microsoft/TypeScript/issues/15300 for more info.\nexport type BaseGestureHandlerProps<\n ExtraEventPayloadT extends Record = Record\n> = CommonGestureConfig & {\n id?: string;\n waitFor?: React.Ref | React.Ref[];\n simultaneousHandlers?: React.Ref | React.Ref[];\n testID?: string;\n cancelsTouchesInView?: boolean;\n // TODO(TS) - fix event types\n onBegan?: (event: HandlerStateChangeEvent) => void;\n onFailed?: (event: HandlerStateChangeEvent) => void;\n onCancelled?: (event: HandlerStateChangeEvent) => void;\n onActivated?: (event: HandlerStateChangeEvent) => void;\n onEnded?: (event: HandlerStateChangeEvent) => void;\n\n //TODO(TS) consider using NativeSyntheticEvent\n onGestureEvent?: (event: GestureEvent) => void;\n onHandlerStateChange?: (\n event: HandlerStateChangeEvent\n ) => void;\n // implicit `children` prop has been removed in @types/react^18.0.0\n children?: React.ReactNode;\n};\n\nfunction isConfigParam(param: unknown, name: string) {\n // param !== Object(param) returns false if `param` is a function\n // or an object and returns true if `param` is null\n return (\n param !== undefined &&\n (param !== Object(param) ||\n !('__isNative' in (param as Record))) &&\n name !== 'onHandlerStateChange' &&\n name !== 'onGestureEvent'\n );\n}\n\nexport function filterConfig(\n props: Record,\n validProps: string[],\n defaults: Record = {}\n) {\n const filteredConfig = { ...defaults };\n for (const key of validProps) {\n let value = props[key];\n if (isConfigParam(value, key)) {\n if (key === 'simultaneousHandlers' || key === 'waitFor') {\n value = transformIntoHandlerTags(props[key]);\n } else if (key === 'hitSlop' && typeof value !== 'object') {\n value = { top: value, left: value, bottom: value, right: value };\n }\n filteredConfig[key] = value;\n }\n }\n return filteredConfig;\n}\n\nfunction transformIntoHandlerTags(handlerIDs: any) {\n handlerIDs = toArray(handlerIDs);\n\n if (Platform.OS === 'web') {\n return handlerIDs\n .map(({ current }: { current: any }) => current)\n .filter((handle: any) => handle);\n }\n // converts handler string IDs into their numeric tags\n return handlerIDs\n .map(\n (handlerID: any) =>\n handlerIDToTag[handlerID] || handlerID.current?.handlerTag || -1\n )\n .filter((handlerTag: number) => handlerTag > 0);\n}\n\nexport function findNodeHandle(\n node: null | number | React.Component | React.ComponentClass\n): null | number | React.Component | React.ComponentClass {\n if (Platform.OS === 'web') {\n return node;\n }\n return findNodeHandleRN(node);\n}\n\nlet scheduledFlushOperationsId: ReturnType<\n typeof requestAnimationFrame\n> | null = null;\n\nexport function scheduleFlushOperations() {\n if (scheduledFlushOperationsId === null) {\n scheduledFlushOperationsId = requestAnimationFrame(() => {\n RNGestureHandlerModule.flushOperations();\n\n scheduledFlushOperationsId = null;\n });\n }\n}\n","/* eslint-disable @typescript-eslint/no-var-requires */\nimport { HostComponent, requireNativeComponent } from 'react-native';\nimport { RawButtonProps } from './GestureButtons';\nimport { shouldUseCodegenNativeComponent } from '../utils';\n\nconst RNGestureHandlerButtonNativeComponent = shouldUseCodegenNativeComponent()\n ? require('../fabric/RNGestureHandlerButtonNativeComponent').default\n : requireNativeComponent('RNGestureHandlerButton');\n\nexport default RNGestureHandlerButtonNativeComponent as HostComponent;\n","import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\nimport type {\n Int32,\n WithDefault,\n} from 'react-native/Libraries/Types/CodegenTypes';\nimport type { ViewProps, ColorValue } from 'react-native';\n\ninterface NativeProps extends ViewProps {\n exclusive?: WithDefault;\n foreground?: boolean;\n borderless?: boolean;\n enabled?: WithDefault;\n rippleColor?: ColorValue;\n rippleRadius?: Int32;\n touchSoundDisabled?: WithDefault;\n}\n\nexport default codegenNativeComponent('RNGestureHandlerButton');\n","export const Directions = {\n RIGHT: 1,\n LEFT: 2,\n UP: 4,\n DOWN: 8,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type Directions = typeof Directions[keyof typeof Directions];\n","import * as React from 'react';\nimport {\n PropsWithChildren,\n ForwardedRef,\n RefAttributes,\n ReactElement,\n} from 'react';\nimport {\n ScrollView as RNScrollView,\n ScrollViewProps as RNScrollViewProps,\n Switch as RNSwitch,\n SwitchProps as RNSwitchProps,\n TextInput as RNTextInput,\n TextInputProps as RNTextInputProps,\n DrawerLayoutAndroid as RNDrawerLayoutAndroid,\n DrawerLayoutAndroidProps as RNDrawerLayoutAndroidProps,\n FlatList as RNFlatList,\n FlatListProps as RNFlatListProps,\n RefreshControl as RNRefreshControl,\n} from 'react-native';\n\nimport createNativeWrapper from '../handlers/createNativeWrapper';\n\nimport {\n NativeViewGestureHandlerProps,\n nativeViewProps,\n} from '../handlers/NativeViewGestureHandler';\n\nimport { toArray } from '../utils';\n\nexport const RefreshControl = createNativeWrapper(RNRefreshControl, {\n disallowInterruption: true,\n shouldCancelWhenOutside: false,\n});\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type RefreshControl = typeof RefreshControl & RNRefreshControl;\n\nconst GHScrollView = createNativeWrapper>(\n RNScrollView,\n {\n disallowInterruption: true,\n shouldCancelWhenOutside: false,\n }\n);\nexport const ScrollView = React.forwardRef<\n RNScrollView,\n RNScrollViewProps & NativeViewGestureHandlerProps\n>((props, ref) => {\n const refreshControlGestureRef = React.useRef(null);\n const { refreshControl, waitFor, ...rest } = props;\n\n return (\n \n );\n});\n// backward type compatibility with https://github.com/software-mansion/react-native-gesture-handler/blob/db78d3ca7d48e8ba57482d3fe9b0a15aa79d9932/react-native-gesture-handler.d.ts#L440-L457\n// include methods of wrapped components by creating an intersection type with the RN component instead of duplicating them.\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type ScrollView = typeof GHScrollView & RNScrollView;\n\nexport const Switch = createNativeWrapper(RNSwitch, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: true,\n disallowInterruption: true,\n});\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type Switch = typeof Switch & RNSwitch;\n\nexport const TextInput = createNativeWrapper(RNTextInput);\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type TextInput = typeof TextInput & RNTextInput;\n\nexport const DrawerLayoutAndroid = createNativeWrapper<\n PropsWithChildren\n>(RNDrawerLayoutAndroid, { disallowInterruption: true });\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type DrawerLayoutAndroid = typeof DrawerLayoutAndroid &\n RNDrawerLayoutAndroid;\n\nexport const FlatList = React.forwardRef((props, ref) => {\n const refreshControlGestureRef = React.useRef(null);\n\n const { waitFor, refreshControl, ...rest } = props;\n\n const flatListProps = {};\n const scrollViewProps = {};\n for (const [propName, value] of Object.entries(rest)) {\n // https://github.com/microsoft/TypeScript/issues/26255\n if ((nativeViewProps as readonly string[]).includes(propName)) {\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n scrollViewProps[propName] = value;\n } else {\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n flatListProps[propName] = value;\n }\n }\n\n return (\n // @ts-ignore - this function cannot have generic type so we have to ignore this error\n (\n \n )}\n // @ts-ignore we don't pass `refreshing` prop as we only want to override the ref\n refreshControl={\n refreshControl\n ? React.cloneElement(refreshControl, {\n // @ts-ignore for reasons unknown to me, `ref` doesn't exist on the type inferred by TS\n ref: refreshControlGestureRef,\n })\n : undefined\n }\n />\n );\n}) as (\n props: PropsWithChildren<\n RNFlatListProps &\n RefAttributes> &\n NativeViewGestureHandlerProps\n >,\n ref: ForwardedRef>\n) => ReactElement | null;\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type FlatList = typeof FlatList & RNFlatList;\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const flingGestureHandlerProps = [\n 'numberOfPointers',\n 'direction',\n] as const;\n\nexport type FlingGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\nexport interface FlingGestureConfig {\n /**\n * Expressed allowed direction of movement. It's possible to pass one or many\n * directions in one parameter:\n *\n * ```js\n * direction={Directions.RIGHT | Directions.LEFT}\n * ```\n *\n * or\n *\n * ```js\n * direction={Directions.DOWN}\n * ```\n */\n direction?: number;\n\n /**\n * Determine exact number of points required to handle the fling gesture.\n */\n numberOfPointers?: number;\n}\n\nexport interface FlingGestureHandlerProps\n extends BaseGestureHandlerProps,\n FlingGestureConfig {}\n\nexport const flingHandlerName = 'FlingGestureHandler';\n\nexport type FlingGestureHandler = typeof FlingGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const FlingGestureHandler = createHandler<\n FlingGestureHandlerProps,\n FlingGestureHandlerEventPayload\n>({\n name: flingHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...flingGestureHandlerProps,\n ] as const,\n config: {},\n});\n","import React, { PropsWithChildren } from 'react';\nimport { tagMessage } from '../utils';\nimport PlatformConstants from '../PlatformConstants';\nimport createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const forceTouchGestureHandlerProps = [\n 'minForce',\n 'maxForce',\n 'feedbackOnActivation',\n] as const;\n\n// implicit `children` prop has been removed in @types/react^18.0.0\nclass ForceTouchFallback extends React.Component> {\n static forceTouchAvailable = false;\n componentDidMount() {\n console.warn(\n tagMessage(\n 'ForceTouchGestureHandler is not available on this platform. Please use ForceTouchGestureHandler.forceTouchAvailable to conditionally render other components that would provide a fallback behavior specific to your usecase'\n )\n );\n }\n render() {\n return this.props.children;\n }\n}\n\nexport type ForceTouchGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n\n /**\n * The pressure of a touch.\n */\n force: number;\n};\n\nexport interface ForceTouchGestureConfig {\n /**\n *\n * A minimal pressure that is required before handler can activate. Should be a\n * value from range `[0.0, 1.0]`. Default is `0.2`.\n */\n minForce?: number;\n\n /**\n * A maximal pressure that could be applied for handler. If the pressure is\n * greater, handler fails. Should be a value from range `[0.0, 1.0]`.\n */\n maxForce?: number;\n\n /**\n * Boolean value defining if haptic feedback has to be performed on\n * activation.\n */\n feedbackOnActivation?: boolean;\n}\n\nexport interface ForceTouchGestureHandlerProps\n extends BaseGestureHandlerProps,\n ForceTouchGestureConfig {}\n\nexport type ForceTouchGestureHandler = typeof ForceTouchGestureHandler & {\n forceTouchAvailable: boolean;\n};\n\nexport const forceTouchHandlerName = 'ForceTouchGestureHandler';\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const ForceTouchGestureHandler = PlatformConstants?.forceTouchAvailable\n ? createHandler<\n ForceTouchGestureHandlerProps,\n ForceTouchGestureHandlerEventPayload\n >({\n name: forceTouchHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...forceTouchGestureHandlerProps,\n ] as const,\n config: {},\n })\n : ForceTouchFallback;\n\n(ForceTouchGestureHandler as ForceTouchGestureHandler).forceTouchAvailable =\n PlatformConstants?.forceTouchAvailable || false;\n","import { NativeModules, Platform } from 'react-native';\n\ntype PlatformConstants = {\n forceTouchAvailable: boolean;\n};\n\nexport default (NativeModules?.PlatformConstants ??\n Platform.constants) as PlatformConstants;\n","import { FlingGesture } from './flingGesture';\nimport { ForceTouchGesture } from './forceTouchGesture';\nimport { Gesture } from './gesture';\nimport {\n ComposedGesture,\n ExclusiveGesture,\n SimultaneousGesture,\n} from './gestureComposition';\nimport { LongPressGesture } from './longPressGesture';\nimport { PanGesture } from './panGesture';\nimport { PinchGesture } from './pinchGesture';\nimport { RotationGesture } from './rotationGesture';\nimport { TapGesture } from './tapGesture';\nimport { NativeGesture } from './nativeGesture';\nimport { ManualGesture } from './manualGesture';\n\nexport const GestureObjects = {\n Tap: () => {\n return new TapGesture();\n },\n\n Pan: () => {\n return new PanGesture();\n },\n\n Pinch: () => {\n return new PinchGesture();\n },\n\n Rotation: () => {\n return new RotationGesture();\n },\n\n Fling: () => {\n return new FlingGesture();\n },\n\n LongPress: () => {\n return new LongPressGesture();\n },\n\n ForceTouch: () => {\n return new ForceTouchGesture();\n },\n\n Native: () => {\n return new NativeGesture();\n },\n\n Manual: () => {\n return new ManualGesture();\n },\n\n /**\n * Builds a composed gesture consisting of gestures provided as parameters.\n * The first one that becomes active cancels the rest of gestures.\n */\n Race: (...gestures: Gesture[]) => {\n return new ComposedGesture(...gestures);\n },\n\n /**\n * Builds a composed gesture that allows all base gestures to run simultaneously.\n */\n Simultaneous(...gestures: Gesture[]) {\n return new SimultaneousGesture(...gestures);\n },\n\n /**\n * Builds a composed gesture where only one of the provided gestures can become active.\n * Priority is decided through the order of gestures: the first one has higher priority\n * than the second one, second one has higher priority than the third one, and so on.\n * For example, to make a gesture that recognizes both single and double tap you need\n * to call Exclusive(doubleTap, singleTap).\n */\n Exclusive(...gestures: Gesture[]) {\n return new ExclusiveGesture(...gestures);\n },\n};\n","import { BaseGestureConfig, BaseGesture } from './gesture';\nimport {\n TapGestureConfig,\n TapGestureHandlerEventPayload,\n} from '../TapGestureHandler';\n\nexport class TapGesture extends BaseGesture {\n public config: BaseGestureConfig & TapGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'TapGestureHandler';\n this.shouldCancelWhenOutside(true);\n }\n\n minPointers(minPointers: number) {\n this.config.minPointers = minPointers;\n return this;\n }\n\n numberOfTaps(count: number) {\n this.config.numberOfTaps = count;\n return this;\n }\n\n maxDistance(maxDist: number) {\n this.config.maxDist = maxDist;\n return this;\n }\n\n maxDuration(duration: number) {\n this.config.maxDurationMs = duration;\n return this;\n }\n\n maxDelay(delay: number) {\n this.config.maxDelayMs = delay;\n return this;\n }\n\n maxDeltaX(delta: number) {\n this.config.maxDeltaX = delta;\n return this;\n }\n\n maxDeltaY(delta: number) {\n this.config.maxDeltaY = delta;\n return this;\n }\n}\n\nexport type TapGestureType = InstanceType;\n","import { FlingGestureHandlerEventPayload } from '../FlingGestureHandler';\nimport { ForceTouchGestureHandlerEventPayload } from '../ForceTouchGestureHandler';\nimport {\n HitSlop,\n CommonGestureConfig,\n GestureTouchEvent,\n GestureStateChangeEvent,\n GestureUpdateEvent,\n} from '../gestureHandlerCommon';\nimport { getNextHandlerTag } from '../handlersRegistry';\nimport { GestureStateManagerType } from './gestureStateManager';\nimport { LongPressGestureHandlerEventPayload } from '../LongPressGestureHandler';\nimport { PanGestureHandlerEventPayload } from '../PanGestureHandler';\nimport { PinchGestureHandlerEventPayload } from '../PinchGestureHandler';\nimport { RotationGestureHandlerEventPayload } from '../RotationGestureHandler';\nimport { TapGestureHandlerEventPayload } from '../TapGestureHandler';\nimport { NativeViewGestureHandlerPayload } from '../NativeViewGestureHandler';\nimport { isRemoteDebuggingEnabled } from '../../utils';\n\nexport type GestureType =\n | BaseGesture>\n | BaseGesture>\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture\n | BaseGesture;\n\nexport type GestureRef =\n | number\n | GestureType\n | React.RefObject\n | React.RefObject; // allow adding a ref to a gesture handler\nexport interface BaseGestureConfig\n extends CommonGestureConfig,\n Record {\n ref?: React.MutableRefObject;\n requireToFail?: GestureRef[];\n simultaneousWith?: GestureRef[];\n needsPointerData?: boolean;\n manualActivation?: boolean;\n runOnJS?: boolean;\n testId?: string;\n cancelsTouchesInView?: boolean;\n}\n\ntype TouchEventHandlerType = (\n event: GestureTouchEvent,\n stateManager: GestureStateManagerType\n) => void;\n\nexport type HandlerCallbacks> = {\n gestureId: number;\n handlerTag: number;\n onBegin?: (event: GestureStateChangeEvent) => void;\n onStart?: (event: GestureStateChangeEvent) => void;\n onEnd?: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void;\n onFinalize?: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void;\n onUpdate?: (event: GestureUpdateEvent) => void;\n onChange?: (event: any) => void;\n onTouchesDown?: TouchEventHandlerType;\n onTouchesMove?: TouchEventHandlerType;\n onTouchesUp?: TouchEventHandlerType;\n onTouchesCancelled?: TouchEventHandlerType;\n changeEventCalculator?: (\n current: GestureUpdateEvent>,\n previous?: GestureUpdateEvent>\n ) => GestureUpdateEvent>;\n isWorklet: boolean[];\n};\n\nexport const CALLBACK_TYPE = {\n UNDEFINED: 0,\n BEGAN: 1,\n START: 2,\n UPDATE: 3,\n CHANGE: 4,\n END: 5,\n FINALIZE: 6,\n TOUCHES_DOWN: 7,\n TOUCHES_MOVE: 8,\n TOUCHES_UP: 9,\n TOUCHES_CANCELLED: 10,\n} as const;\n\n// Allow using CALLBACK_TYPE as object and type\n// eslint-disable-next-line @typescript-eslint/no-redeclare\nexport type CALLBACK_TYPE = typeof CALLBACK_TYPE[keyof typeof CALLBACK_TYPE];\n\nexport abstract class Gesture {\n /**\n * Return array of gestures, providing the same interface for creating and updating\n * handlers, no matter which object was used to create gesture instance.\n */\n abstract toGestureArray(): GestureType[];\n\n /**\n * Assign handlerTag to the gesture instance and set ref.current (if a ref is set)\n */\n abstract initialize(): void;\n\n /**\n * Make sure that values of properties defining relations are arrays. Do any necessary\n * preprocessing required to configure relations between handlers. Called just before\n * updating the handler on the native side.\n */\n abstract prepare(): void;\n}\n\nlet nextGestureId = 0;\nexport abstract class BaseGesture<\n EventPayloadT extends Record\n> extends Gesture {\n private gestureId = -1;\n public handlerTag = -1;\n public handlerName = '';\n public config: BaseGestureConfig = {};\n public handlers: HandlerCallbacks = {\n gestureId: -1,\n handlerTag: -1,\n isWorklet: [],\n };\n\n constructor() {\n super();\n\n // Used to check whether the gesture config has been updated when wrapping it\n // with `useMemo`. Since every config will have a unique id, when the dependencies\n // don't change, the config won't be recreated and the id will stay the same.\n // If the id is different, it means that the config has changed and the gesture\n // needs to be updated.\n this.gestureId = nextGestureId++;\n this.handlers.gestureId = this.gestureId;\n }\n\n private addDependency(\n key: 'simultaneousWith' | 'requireToFail',\n gesture: Exclude\n ) {\n const value = this.config[key];\n this.config[key] = value\n ? Array().concat(value, gesture)\n : [gesture];\n }\n\n withRef(ref: React.MutableRefObject) {\n this.config.ref = ref;\n return this;\n }\n\n // eslint-disable-next-line @typescript-eslint/ban-types\n protected isWorklet(callback: Function) {\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n return callback.__workletHash !== undefined;\n }\n\n onBegin(callback: (event: GestureStateChangeEvent) => void) {\n this.handlers.onBegin = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.BEGAN] = this.isWorklet(callback);\n return this;\n }\n\n onStart(callback: (event: GestureStateChangeEvent) => void) {\n this.handlers.onStart = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.START] = this.isWorklet(callback);\n return this;\n }\n\n onEnd(\n callback: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void\n ) {\n this.handlers.onEnd = callback;\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n this.handlers.isWorklet[CALLBACK_TYPE.END] = this.isWorklet(callback);\n return this;\n }\n\n onFinalize(\n callback: (\n event: GestureStateChangeEvent,\n success: boolean\n ) => void\n ) {\n this.handlers.onFinalize = callback;\n //@ts-ignore if callback is a worklet, the property will be available, if not then the check will return false\n this.handlers.isWorklet[CALLBACK_TYPE.FINALIZE] = this.isWorklet(callback);\n return this;\n }\n\n onTouchesDown(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesDown = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_DOWN] =\n this.isWorklet(callback);\n\n return this;\n }\n\n onTouchesMove(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesMove = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_MOVE] =\n this.isWorklet(callback);\n\n return this;\n }\n\n onTouchesUp(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesUp = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_UP] =\n this.isWorklet(callback);\n\n return this;\n }\n\n onTouchesCancelled(callback: TouchEventHandlerType) {\n this.config.needsPointerData = true;\n this.handlers.onTouchesCancelled = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.TOUCHES_CANCELLED] =\n this.isWorklet(callback);\n\n return this;\n }\n\n enabled(enabled: boolean) {\n this.config.enabled = enabled;\n return this;\n }\n\n shouldCancelWhenOutside(value: boolean) {\n this.config.shouldCancelWhenOutside = value;\n return this;\n }\n\n hitSlop(hitSlop: HitSlop) {\n this.config.hitSlop = hitSlop;\n return this;\n }\n\n runOnJS(runOnJS: boolean) {\n this.config.runOnJS = runOnJS;\n return this;\n }\n\n simultaneousWithExternalGesture(...gestures: Exclude[]) {\n for (const gesture of gestures) {\n this.addDependency('simultaneousWith', gesture);\n }\n return this;\n }\n\n requireExternalGestureToFail(...gestures: Exclude[]) {\n for (const gesture of gestures) {\n this.addDependency('requireToFail', gesture);\n }\n return this;\n }\n\n withTestId(id: string) {\n this.config.testId = id;\n return this;\n }\n\n cancelsTouchesInView(value: boolean) {\n this.config.cancelsTouchesInView = value;\n return this;\n }\n\n initialize() {\n this.handlerTag = getNextHandlerTag();\n\n this.handlers = { ...this.handlers, handlerTag: this.handlerTag };\n\n if (this.config.ref) {\n this.config.ref.current = this as GestureType;\n }\n }\n\n toGestureArray(): GestureType[] {\n return [this as GestureType];\n }\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n prepare() {}\n\n get shouldUseReanimated(): boolean {\n // use Reanimated when runOnJS isn't set explicitly,\n // and all defined callbacks are worklets,\n // and remote debugging is disabled\n return (\n this.config.runOnJS !== true &&\n !this.handlers.isWorklet.includes(false) &&\n !isRemoteDebuggingEnabled()\n );\n }\n}\n\nexport abstract class ContinousBaseGesture<\n EventPayloadT extends Record,\n EventChangePayloadT extends Record\n> extends BaseGesture {\n onUpdate(callback: (event: GestureUpdateEvent) => void) {\n this.handlers.onUpdate = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.UPDATE] = this.isWorklet(callback);\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent\n ) => void\n ) {\n this.handlers.onChange = callback;\n this.handlers.isWorklet[CALLBACK_TYPE.CHANGE] = this.isWorklet(callback);\n return this;\n }\n\n manualActivation(manualActivation: boolean) {\n this.config.manualActivation = manualActivation;\n return this;\n }\n}\n","import { BaseGestureConfig, ContinousBaseGesture } from './gesture';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\nimport {\n PanGestureConfig,\n PanGestureHandlerEventPayload,\n} from '../PanGestureHandler';\n\nexport type PanGestureChangeEventPayload = {\n changeX: number;\n changeY: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: PanGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n changeX: current.translationX,\n changeY: current.translationY,\n };\n } else {\n changePayload = {\n changeX: current.translationX - previous.translationX,\n changeY: current.translationY - previous.translationY,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class PanGesture extends ContinousBaseGesture<\n PanGestureHandlerEventPayload,\n PanGestureChangeEventPayload\n> {\n public config: BaseGestureConfig & PanGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'PanGestureHandler';\n }\n\n activeOffsetY(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.activeOffsetYStart = offset[0];\n this.config.activeOffsetYEnd = offset[1];\n } else if (offset < 0) {\n this.config.activeOffsetYStart = offset;\n } else {\n this.config.activeOffsetYEnd = offset;\n }\n return this;\n }\n\n activeOffsetX(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.activeOffsetXStart = offset[0];\n this.config.activeOffsetXEnd = offset[1];\n } else if (offset < 0) {\n this.config.activeOffsetXStart = offset;\n } else {\n this.config.activeOffsetXEnd = offset;\n }\n return this;\n }\n\n failOffsetY(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.failOffsetYStart = offset[0];\n this.config.failOffsetYEnd = offset[1];\n } else if (offset < 0) {\n this.config.failOffsetYStart = offset;\n } else {\n this.config.failOffsetYEnd = offset;\n }\n return this;\n }\n\n failOffsetX(offset: number | number[]) {\n if (Array.isArray(offset)) {\n this.config.failOffsetXStart = offset[0];\n this.config.failOffsetXEnd = offset[1];\n } else if (offset < 0) {\n this.config.failOffsetXStart = offset;\n } else {\n this.config.failOffsetXEnd = offset;\n }\n return this;\n }\n\n minPointers(minPointers: number) {\n this.config.minPointers = minPointers;\n return this;\n }\n\n maxPointers(maxPointers: number) {\n this.config.maxPointers = maxPointers;\n return this;\n }\n\n minDistance(distance: number) {\n this.config.minDist = distance;\n return this;\n }\n\n minVelocity(velocity: number) {\n this.config.minVelocity = velocity;\n return this;\n }\n\n minVelocityX(velocity: number) {\n this.config.minVelocityX = velocity;\n return this;\n }\n\n minVelocityY(velocity: number) {\n this.config.minVelocityY = velocity;\n return this;\n }\n\n averageTouches(value: boolean) {\n this.config.avgTouches = value;\n return this;\n }\n\n enableTrackpadTwoFingerGesture(value: boolean) {\n this.config.enableTrackpadTwoFingerGesture = value;\n return this;\n }\n\n activateAfterLongPress(duration: number) {\n this.config.activateAfterLongPress = duration;\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n PanGestureHandlerEventPayload & PanGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, PanGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type PanGestureType = InstanceType;\n","import { ContinousBaseGesture } from './gesture';\nimport { PinchGestureHandlerEventPayload } from '../PinchGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\nexport type PinchGestureChangeEventPayload = {\n scaleChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: PinchGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n scaleChange: current.scale,\n };\n } else {\n changePayload = {\n scaleChange: current.scale / previous.scale,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class PinchGesture extends ContinousBaseGesture<\n PinchGestureHandlerEventPayload,\n PinchGestureChangeEventPayload\n> {\n constructor() {\n super();\n\n this.handlerName = 'PinchGestureHandler';\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n PinchGestureHandlerEventPayload & PinchGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, PinchGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type PinchGestureType = InstanceType;\n","import { ContinousBaseGesture } from './gesture';\nimport { RotationGestureHandlerEventPayload } from '../RotationGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\ntype RotationGestureChangeEventPayload = {\n rotationChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: RotationGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n rotationChange: current.rotation,\n };\n } else {\n changePayload = {\n rotationChange: current.rotation - previous.rotation,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class RotationGesture extends ContinousBaseGesture<\n RotationGestureHandlerEventPayload,\n RotationGestureChangeEventPayload\n> {\n constructor() {\n super();\n\n this.handlerName = 'RotationGestureHandler';\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n RotationGestureHandlerEventPayload & RotationGestureChangeEventPayload\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, RotationGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type RotationGestureType = InstanceType;\n","import { BaseGesture, BaseGestureConfig } from './gesture';\nimport {\n FlingGestureConfig,\n FlingGestureHandlerEventPayload,\n} from '../FlingGestureHandler';\n\nexport class FlingGesture extends BaseGesture {\n public config: BaseGestureConfig & FlingGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'FlingGestureHandler';\n }\n\n numberOfPointers(pointers: number) {\n this.config.numberOfPointers = pointers;\n return this;\n }\n\n direction(direction: number) {\n this.config.direction = direction;\n return this;\n }\n}\n\nexport type FlingGestureType = InstanceType;\n","import { BaseGesture, BaseGestureConfig } from './gesture';\nimport {\n LongPressGestureConfig,\n LongPressGestureHandlerEventPayload,\n} from '../LongPressGestureHandler';\n\nexport class LongPressGesture extends BaseGesture {\n public config: BaseGestureConfig & LongPressGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'LongPressGestureHandler';\n this.shouldCancelWhenOutside(true);\n }\n\n minDuration(duration: number) {\n this.config.minDurationMs = duration;\n return this;\n }\n\n maxDistance(distance: number) {\n this.config.maxDist = distance;\n return this;\n }\n}\n\nexport type LongPressGestureType = InstanceType;\n","import { BaseGestureConfig, ContinousBaseGesture } from './gesture';\nimport {\n ForceTouchGestureConfig,\n ForceTouchGestureHandlerEventPayload,\n} from '../ForceTouchGestureHandler';\nimport { GestureUpdateEvent } from '../gestureHandlerCommon';\n\nexport type ForceTouchGestureChangeEventPayload = {\n forceChange: number;\n};\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent,\n previous?: GestureUpdateEvent\n) {\n 'worklet';\n let changePayload: ForceTouchGestureChangeEventPayload;\n if (previous === undefined) {\n changePayload = {\n forceChange: current.force,\n };\n } else {\n changePayload = {\n forceChange: current.force - previous.force,\n };\n }\n\n return { ...current, ...changePayload };\n}\n\nexport class ForceTouchGesture extends ContinousBaseGesture<\n ForceTouchGestureHandlerEventPayload,\n ForceTouchGestureChangeEventPayload\n> {\n public config: BaseGestureConfig & ForceTouchGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'ForceTouchGestureHandler';\n }\n\n minForce(force: number) {\n this.config.minForce = force;\n return this;\n }\n\n maxForce(force: number) {\n this.config.maxForce = force;\n return this;\n }\n\n feedbackOnActivation(value: boolean) {\n this.config.feedbackOnActivation = value;\n return this;\n }\n\n onChange(\n callback: (\n event: GestureUpdateEvent<\n GestureUpdateEvent<\n ForceTouchGestureHandlerEventPayload &\n ForceTouchGestureChangeEventPayload\n >\n >\n ) => void\n ) {\n // @ts-ignore TS being overprotective, ForceTouchGestureHandlerEventPayload is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type ForceTouchGestureType = InstanceType;\n","import { BaseGestureConfig, BaseGesture } from './gesture';\nimport {\n NativeViewGestureConfig,\n NativeViewGestureHandlerPayload,\n} from '../NativeViewGestureHandler';\n\nexport class NativeGesture extends BaseGesture {\n public config: BaseGestureConfig & NativeViewGestureConfig = {};\n\n constructor() {\n super();\n\n this.handlerName = 'NativeViewGestureHandler';\n }\n\n shouldActivateOnStart(value: boolean) {\n this.config.shouldActivateOnStart = value;\n return this;\n }\n\n disallowInterruption(value: boolean) {\n this.config.disallowInterruption = value;\n return this;\n }\n}\n\nexport type NativeGestureType = InstanceType;\n","import { GestureUpdateEvent } from '../gestureHandlerCommon';\nimport { ContinousBaseGesture } from './gesture';\n\nfunction changeEventCalculator(\n current: GestureUpdateEvent>,\n _previous?: GestureUpdateEvent>\n) {\n 'worklet';\n return current;\n}\n\nexport class ManualGesture extends ContinousBaseGesture<\n Record,\n Record\n> {\n constructor() {\n super();\n\n this.handlerName = 'ManualGestureHandler';\n }\n\n onChange(\n callback: (event: GestureUpdateEvent>) => void\n ) {\n // @ts-ignore TS being overprotective, Record is Record\n this.handlers.changeEventCalculator = changeEventCalculator;\n return super.onChange(callback);\n }\n}\n\nexport type ManualGestureType = InstanceType;\n","import { BaseGesture, Gesture, GestureRef, GestureType } from './gesture';\n\nfunction extendRelation(\n currentRelation: GestureRef[] | undefined,\n extendWith: GestureType[]\n) {\n if (currentRelation === undefined) {\n return [...extendWith];\n } else {\n return [...currentRelation, ...extendWith];\n }\n}\n\nexport class ComposedGesture extends Gesture {\n protected gestures: Gesture[] = [];\n protected simultaneousGestures: GestureType[] = [];\n protected requireGesturesToFail: GestureType[] = [];\n\n constructor(...gestures: Gesture[]) {\n super();\n this.gestures = gestures;\n }\n\n protected prepareSingleGesture(\n gesture: Gesture,\n simultaneousGestures: GestureType[],\n requireGesturesToFail: GestureType[]\n ) {\n if (gesture instanceof BaseGesture) {\n const newConfig = { ...gesture.config };\n\n newConfig.simultaneousWith = extendRelation(\n newConfig.simultaneousWith,\n simultaneousGestures\n );\n newConfig.requireToFail = extendRelation(\n newConfig.requireToFail,\n requireGesturesToFail\n );\n\n gesture.config = newConfig;\n } else if (gesture instanceof ComposedGesture) {\n gesture.simultaneousGestures = simultaneousGestures;\n gesture.requireGesturesToFail = requireGesturesToFail;\n gesture.prepare();\n }\n }\n\n prepare() {\n for (const gesture of this.gestures) {\n this.prepareSingleGesture(\n gesture,\n this.simultaneousGestures,\n this.requireGesturesToFail\n );\n }\n }\n\n initialize() {\n for (const gesture of this.gestures) {\n gesture.initialize();\n }\n }\n\n toGestureArray(): GestureType[] {\n return this.gestures.flatMap((gesture) => gesture.toGestureArray());\n }\n}\n\nexport class SimultaneousGesture extends ComposedGesture {\n prepare() {\n // this piece of magic works something like this:\n // for every gesture in the array\n const simultaneousArrays = this.gestures.map((gesture) =>\n // we take the array it's in\n this.gestures\n // and make a copy without it\n .filter((x) => x !== gesture)\n // then we flatmap the result to get list of raw (not composed) gestures\n // this way we don't make the gestures simultaneous with themselves, which is\n // important when the gesture is `ExclusiveGesture` - we don't want to make\n // exclusive gestures simultaneous\n .flatMap((x) => x.toGestureArray())\n );\n\n for (let i = 0; i < this.gestures.length; i++) {\n this.prepareSingleGesture(\n this.gestures[i],\n simultaneousArrays[i],\n this.requireGesturesToFail\n );\n }\n }\n}\n\nexport class ExclusiveGesture extends ComposedGesture {\n prepare() {\n // transforms the array of gestures into array of grouped raw (not composed) gestures\n // i.e. [gesture1, gesture2, ComposedGesture(gesture3, gesture4)] -> [[gesture1], [gesture2], [gesture3, gesture4]]\n const gestureArrays = this.gestures.map((gesture) =>\n gesture.toGestureArray()\n );\n\n let requireToFail: GestureType[] = [];\n\n for (let i = 0; i < this.gestures.length; i++) {\n this.prepareSingleGesture(\n this.gestures[i],\n this.simultaneousGestures,\n this.requireGesturesToFail.concat(requireToFail)\n );\n\n // every group gets to wait for all groups before it\n requireToFail = requireToFail.concat(gestureArrays[i]);\n }\n }\n}\n\nexport type ComposedGestureType = InstanceType;\nexport type RaceGestureType = ComposedGestureType;\nexport type SimultaneousGestureType = InstanceType;\nexport type ExclusiveGestureType = InstanceType;\n","import React, { useEffect, useRef, useState } from 'react';\nimport {\n GestureType,\n HandlerCallbacks,\n BaseGesture,\n GestureRef,\n CALLBACK_TYPE,\n} from './gesture';\nimport { Reanimated, SharedValue } from './reanimatedWrapper';\nimport { registerHandler, unregisterHandler } from '../handlersRegistry';\nimport RNGestureHandlerModule from '../../RNGestureHandlerModule';\nimport {\n baseGestureHandlerWithMonitorProps,\n filterConfig,\n findNodeHandle,\n GestureTouchEvent,\n GestureUpdateEvent,\n GestureStateChangeEvent,\n HandlerStateChangeEvent,\n scheduleFlushOperations,\n UserSelect,\n} from '../gestureHandlerCommon';\nimport {\n GestureStateManager,\n GestureStateManagerType,\n} from './gestureStateManager';\nimport { flingGestureHandlerProps } from '../FlingGestureHandler';\nimport { forceTouchGestureHandlerProps } from '../ForceTouchGestureHandler';\nimport { longPressGestureHandlerProps } from '../LongPressGestureHandler';\nimport {\n panGestureHandlerProps,\n panGestureHandlerCustomNativeProps,\n} from '../PanGestureHandler';\nimport { tapGestureHandlerProps } from '../TapGestureHandler';\nimport { State } from '../../State';\nimport { TouchEventType } from '../../TouchEventType';\nimport { ComposedGesture } from './gestureComposition';\nimport { ActionType } from '../../ActionType';\nimport { isFabric, REACT_NATIVE_VERSION, tagMessage } from '../../utils';\nimport { getShadowNodeFromRef } from '../../getShadowNodeFromRef';\nimport { Platform } from 'react-native';\nimport type RNGestureHandlerModuleWeb from '../../RNGestureHandlerModule.web';\nimport { onGestureHandlerEvent } from './eventReceiver';\nimport { RNRenderer } from '../../RNRenderer';\nimport { isExperimentalWebImplementationEnabled } from '../../EnableExperimentalWebImplementation';\n\ndeclare const global: {\n isFormsStackingContext: (node: unknown) => boolean | null; // JSI function\n};\n\nconst ALLOWED_PROPS = [\n ...baseGestureHandlerWithMonitorProps,\n ...tapGestureHandlerProps,\n ...panGestureHandlerProps,\n ...panGestureHandlerCustomNativeProps,\n ...longPressGestureHandlerProps,\n ...forceTouchGestureHandlerProps,\n ...flingGestureHandlerProps,\n];\n\nexport type GestureConfigReference = {\n config: GestureType[];\n animatedEventHandler: unknown;\n animatedHandlers: SharedValue<\n HandlerCallbacks>[] | null\n > | null;\n firstExecution: boolean;\n useReanimatedHook: boolean;\n};\n\nfunction convertToHandlerTag(ref: GestureRef): number {\n if (typeof ref === 'number') {\n return ref;\n } else if (ref instanceof BaseGesture) {\n return ref.handlerTag;\n } else {\n // @ts-ignore in this case it should be a ref either to gesture object or\n // a gesture handler component, in both cases handlerTag property exists\n return ref.current?.handlerTag ?? -1;\n }\n}\n\nfunction extractValidHandlerTags(interactionGroup: GestureRef[] | undefined) {\n return (\n interactionGroup?.map(convertToHandlerTag)?.filter((tag) => tag > 0) ?? []\n );\n}\n\nfunction dropHandlers(preparedGesture: GestureConfigReference) {\n for (const handler of preparedGesture.config) {\n RNGestureHandlerModule.dropGestureHandler(handler.handlerTag);\n\n unregisterHandler(handler.handlerTag, handler.config.testId);\n }\n\n scheduleFlushOperations();\n}\n\nfunction checkGestureCallbacksForWorklets(gesture: GestureType) {\n // if a gesture is explicitly marked to run on the JS thread there is no need to check\n // if callbacks are worklets as the user is aware they will be ran on the JS thread\n if (gesture.config.runOnJS) {\n return;\n }\n\n const areSomeNotWorklets = gesture.handlers.isWorklet.includes(false);\n const areSomeWorklets = gesture.handlers.isWorklet.includes(true);\n\n // if some of the callbacks are worklets and some are not, and the gesture is not\n // explicitly marked with `.runOnJS(true)` show an error\n if (areSomeNotWorklets && areSomeWorklets) {\n console.error(\n tagMessage(\n `Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread.`\n )\n );\n }\n}\n\ninterface WebEventHandler {\n onGestureHandlerEvent: (event: HandlerStateChangeEvent) => void;\n onGestureHandlerStateChange?: (\n event: HandlerStateChangeEvent\n ) => void;\n}\n\ninterface AttachHandlersConfig {\n preparedGesture: GestureConfigReference;\n gestureConfig: ComposedGesture | GestureType;\n gesture: GestureType[];\n viewTag: number;\n webEventHandlersRef: React.RefObject;\n mountedRef: React.RefObject;\n}\n\nfunction attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n viewTag,\n webEventHandlersRef,\n mountedRef,\n}: AttachHandlersConfig) {\n if (!preparedGesture.firstExecution) {\n gestureConfig.initialize();\n } else {\n preparedGesture.firstExecution = false;\n }\n\n // use setImmediate to extract handlerTags, because all refs should be initialized\n // when it's ran\n setImmediate(() => {\n if (!mountedRef.current) {\n return;\n }\n gestureConfig.prepare();\n });\n\n for (const handler of gesture) {\n checkGestureCallbacksForWorklets(handler);\n RNGestureHandlerModule.createGestureHandler(\n handler.handlerName,\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS)\n );\n\n registerHandler(handler.handlerTag, handler, handler.config.testId);\n }\n\n // use setImmediate to extract handlerTags, because all refs should be initialized\n // when it's ran\n setImmediate(() => {\n if (!mountedRef.current) {\n return;\n }\n for (const handler of gesture) {\n let requireToFail: number[] = [];\n if (handler.config.requireToFail) {\n requireToFail = extractValidHandlerTags(handler.config.requireToFail);\n }\n\n let simultaneousWith: number[] = [];\n if (handler.config.simultaneousWith) {\n simultaneousWith = extractValidHandlerTags(\n handler.config.simultaneousWith\n );\n }\n\n RNGestureHandlerModule.updateGestureHandler(\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS, {\n simultaneousHandlers: simultaneousWith,\n waitFor: requireToFail,\n })\n );\n }\n\n scheduleFlushOperations();\n });\n\n preparedGesture.config = gesture;\n\n for (const gesture of preparedGesture.config) {\n const actionType = gesture.shouldUseReanimated\n ? ActionType.REANIMATED_WORKLET\n : ActionType.JS_FUNCTION_NEW_API;\n\n if (Platform.OS === 'web') {\n (\n RNGestureHandlerModule.attachGestureHandler as typeof RNGestureHandlerModuleWeb.attachGestureHandler\n )(\n gesture.handlerTag,\n viewTag,\n ActionType.JS_FUNCTION_OLD_API, // ignored on web\n webEventHandlersRef\n );\n } else {\n RNGestureHandlerModule.attachGestureHandler(\n gesture.handlerTag,\n viewTag,\n actionType\n );\n }\n }\n\n if (preparedGesture.animatedHandlers) {\n const isAnimatedGesture = (g: GestureType) => g.shouldUseReanimated;\n\n preparedGesture.animatedHandlers.value = gesture\n .filter(isAnimatedGesture)\n .map((g) => g.handlers) as unknown as HandlerCallbacks<\n Record\n >[];\n }\n}\n\nfunction updateHandlers(\n preparedGesture: GestureConfigReference,\n gestureConfig: ComposedGesture | GestureType,\n gesture: GestureType[],\n mountedRef: React.RefObject\n) {\n gestureConfig.prepare();\n\n for (let i = 0; i < gesture.length; i++) {\n const handler = preparedGesture.config[i];\n checkGestureCallbacksForWorklets(handler);\n\n // only update handlerTag when it's actually different, it may be the same\n // if gesture config object is wrapped with useMemo\n if (gesture[i].handlerTag !== handler.handlerTag) {\n gesture[i].handlerTag = handler.handlerTag;\n gesture[i].handlers.handlerTag = handler.handlerTag;\n }\n }\n\n // use setImmediate to extract handlerTags, because when it's ran, all refs should be updated\n // and handlerTags in BaseGesture references should be updated in the loop above (we need to wait\n // in case of external relations)\n setImmediate(() => {\n if (!mountedRef.current) {\n return;\n }\n for (let i = 0; i < gesture.length; i++) {\n const handler = preparedGesture.config[i];\n\n handler.config = gesture[i].config;\n handler.handlers = gesture[i].handlers;\n\n const requireToFail = extractValidHandlerTags(\n handler.config.requireToFail\n );\n\n const simultaneousWith = extractValidHandlerTags(\n handler.config.simultaneousWith\n );\n\n RNGestureHandlerModule.updateGestureHandler(\n handler.handlerTag,\n filterConfig(handler.config, ALLOWED_PROPS, {\n simultaneousHandlers: simultaneousWith,\n waitFor: requireToFail,\n })\n );\n\n registerHandler(handler.handlerTag, handler, handler.config.testId);\n }\n\n if (preparedGesture.animatedHandlers) {\n const previousHandlersValue =\n preparedGesture.animatedHandlers.value ?? [];\n const newHandlersValue = preparedGesture.config\n .filter((g) => g.shouldUseReanimated) // ignore gestures that shouldn't run on UI\n .map((g) => g.handlers) as unknown as HandlerCallbacks<\n Record\n >[];\n\n // if amount of gesture configs changes, we need to update the callbacks in shared value\n let shouldUpdateSharedValue =\n previousHandlersValue.length !== newHandlersValue.length;\n\n if (!shouldUpdateSharedValue) {\n // if the amount is the same, we need to check if any of the configs inside has changed\n for (let i = 0; i < newHandlersValue.length; i++) {\n if (\n // we can use the `gestureId` prop as it's unique for every config instance\n newHandlersValue[i].gestureId !== previousHandlersValue[i].gestureId\n ) {\n shouldUpdateSharedValue = true;\n break;\n }\n }\n }\n\n if (shouldUpdateSharedValue) {\n preparedGesture.animatedHandlers.value = newHandlersValue;\n }\n }\n\n scheduleFlushOperations();\n });\n}\n\nfunction needsToReattach(\n preparedGesture: GestureConfigReference,\n gesture: GestureType[]\n) {\n if (gesture.length !== preparedGesture.config.length) {\n return true;\n }\n for (let i = 0; i < gesture.length; i++) {\n if (\n gesture[i].handlerName !== preparedGesture.config[i].handlerName ||\n gesture[i].shouldUseReanimated !==\n preparedGesture.config[i].shouldUseReanimated\n ) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction isStateChangeEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureStateChangeEvent {\n 'worklet';\n // @ts-ignore Yes, the oldState prop is missing on GestureTouchEvent, that's the point\n return event.oldState != null;\n}\n\nfunction isTouchEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureTouchEvent {\n 'worklet';\n return event.eventType != null;\n}\n\nfunction getHandler(\n type: CALLBACK_TYPE,\n gesture: HandlerCallbacks>\n) {\n 'worklet';\n switch (type) {\n case CALLBACK_TYPE.BEGAN:\n return gesture.onBegin;\n case CALLBACK_TYPE.START:\n return gesture.onStart;\n case CALLBACK_TYPE.UPDATE:\n return gesture.onUpdate;\n case CALLBACK_TYPE.CHANGE:\n return gesture.onChange;\n case CALLBACK_TYPE.END:\n return gesture.onEnd;\n case CALLBACK_TYPE.FINALIZE:\n return gesture.onFinalize;\n case CALLBACK_TYPE.TOUCHES_DOWN:\n return gesture.onTouchesDown;\n case CALLBACK_TYPE.TOUCHES_MOVE:\n return gesture.onTouchesMove;\n case CALLBACK_TYPE.TOUCHES_UP:\n return gesture.onTouchesUp;\n case CALLBACK_TYPE.TOUCHES_CANCELLED:\n return gesture.onTouchesCancelled;\n }\n}\n\nfunction touchEventTypeToCallbackType(\n eventType: TouchEventType\n): CALLBACK_TYPE {\n 'worklet';\n switch (eventType) {\n case TouchEventType.TOUCHES_DOWN:\n return CALLBACK_TYPE.TOUCHES_DOWN;\n case TouchEventType.TOUCHES_MOVE:\n return CALLBACK_TYPE.TOUCHES_MOVE;\n case TouchEventType.TOUCHES_UP:\n return CALLBACK_TYPE.TOUCHES_UP;\n case TouchEventType.TOUCHES_CANCELLED:\n return CALLBACK_TYPE.TOUCHES_CANCELLED;\n }\n return CALLBACK_TYPE.UNDEFINED;\n}\n\nfunction runWorklet(\n type: CALLBACK_TYPE,\n gesture: HandlerCallbacks>,\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent,\n ...args: any[]\n) {\n 'worklet';\n const handler = getHandler(type, gesture);\n if (gesture.isWorklet[type]) {\n // @ts-ignore Logic below makes sure the correct event is send to the\n // correct handler.\n handler?.(event, ...args);\n } else if (handler) {\n console.warn(tagMessage('Animated gesture callback must be a worklet'));\n }\n}\n\nfunction useAnimatedGesture(\n preparedGesture: GestureConfigReference,\n needsRebuild: boolean\n) {\n if (!Reanimated) {\n return;\n }\n\n // Hooks are called conditionally, but the condition is whether the\n // react-native-reanimated is installed, which shouldn't change while running\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const sharedHandlersCallbacks = Reanimated.useSharedValue<\n HandlerCallbacks>[] | null\n >(null);\n\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const lastUpdateEvent = Reanimated.useSharedValue<\n (GestureUpdateEvent | undefined)[]\n >([]);\n\n // not every gesture needs a state controller, init them lazily\n const stateControllers: GestureStateManagerType[] = [];\n\n const callback = (\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent\n ) => {\n 'worklet';\n\n const currentCallback = sharedHandlersCallbacks.value;\n if (!currentCallback) {\n return;\n }\n\n for (let i = 0; i < currentCallback.length; i++) {\n const gesture = currentCallback[i];\n\n if (event.handlerTag === gesture.handlerTag) {\n if (isStateChangeEvent(event)) {\n if (\n event.oldState === State.UNDETERMINED &&\n event.state === State.BEGAN\n ) {\n runWorklet(CALLBACK_TYPE.BEGAN, gesture, event);\n } else if (\n (event.oldState === State.BEGAN ||\n event.oldState === State.UNDETERMINED) &&\n event.state === State.ACTIVE\n ) {\n runWorklet(CALLBACK_TYPE.START, gesture, event);\n lastUpdateEvent.value[gesture.handlerTag] = undefined;\n } else if (\n event.oldState !== event.state &&\n event.state === State.END\n ) {\n if (event.oldState === State.ACTIVE) {\n runWorklet(CALLBACK_TYPE.END, gesture, event, true);\n }\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, true);\n } else if (\n (event.state === State.FAILED || event.state === State.CANCELLED) &&\n event.state !== event.oldState\n ) {\n if (event.oldState === State.ACTIVE) {\n runWorklet(CALLBACK_TYPE.END, gesture, event, false);\n }\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, false);\n }\n } else if (isTouchEvent(event)) {\n if (!stateControllers[i]) {\n stateControllers[i] = GestureStateManager.create(event.handlerTag);\n }\n\n if (event.eventType !== TouchEventType.UNDETERMINED) {\n runWorklet(\n touchEventTypeToCallbackType(event.eventType),\n gesture,\n event,\n stateControllers[i]\n );\n }\n } else {\n runWorklet(CALLBACK_TYPE.UPDATE, gesture, event);\n\n if (gesture.onChange && gesture.changeEventCalculator) {\n runWorklet(\n CALLBACK_TYPE.CHANGE,\n gesture,\n gesture.changeEventCalculator?.(\n event,\n lastUpdateEvent.value[gesture.handlerTag]\n )\n );\n\n lastUpdateEvent.value[gesture.handlerTag] = event;\n }\n }\n }\n }\n };\n\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const event = Reanimated.useEvent(\n callback,\n ['onGestureHandlerStateChange', 'onGestureHandlerEvent'],\n needsRebuild\n );\n\n preparedGesture.animatedEventHandler = event;\n preparedGesture.animatedHandlers = sharedHandlersCallbacks;\n}\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction validateDetectorChildren(ref: any) {\n // finds the first native view under the Wrap component and traverses the fiber tree upwards\n // to check whether there is more than one native view as a pseudo-direct child of GestureDetector\n // i.e. this is not ok:\n // Wrap\n // |\n // / \\\n // / \\\n // / \\\n // / \\\n // NativeView NativeView\n //\n // but this is fine:\n // Wrap\n // |\n // NativeView\n // |\n // / \\\n // / \\\n // / \\\n // / \\\n // NativeView NativeView\n if (__DEV__ && Platform.OS !== 'web') {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const wrapType =\n REACT_NATIVE_VERSION.minor > 63 || REACT_NATIVE_VERSION.major > 0\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ref._reactInternals.elementType\n : // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n ref._reactInternalFiber.elementType;\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n let instance =\n RNRenderer.findHostInstance_DEPRECATED(\n ref\n )._internalFiberInstanceHandleDEV;\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n while (instance && instance.elementType !== wrapType) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n if (instance.sibling) {\n throw new Error(\n 'GestureDetector has more than one native view as its children. This can happen if you are using a custom component that renders multiple views, like React.Fragment. You should wrap content of GestureDetector with a or .'\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\n instance = instance.return;\n }\n }\n}\n\nconst applyUserSelectProp = (\n userSelect: UserSelect,\n gesture: ComposedGesture | GestureType\n): void => {\n for (const g of gesture.toGestureArray()) {\n g.config.userSelect = userSelect;\n }\n};\n\ninterface GestureDetectorProps {\n gesture: ComposedGesture | GestureType;\n userSelect?: UserSelect;\n children?: React.ReactNode;\n}\ninterface GestureDetectorState {\n firstRender: boolean;\n viewRef: React.Component | null;\n previousViewTag: number;\n forceReattach: boolean;\n}\nexport const GestureDetector = (props: GestureDetectorProps) => {\n const gestureConfig = props.gesture;\n\n if (props.userSelect) {\n applyUserSelectProp(props.userSelect, gestureConfig);\n }\n\n const gesture = gestureConfig.toGestureArray();\n const useReanimatedHook = gesture.some((g) => g.shouldUseReanimated);\n\n // store state in ref to prevent unnecessary renders\n const state = useRef({\n firstRender: true,\n viewRef: null,\n previousViewTag: -1,\n forceReattach: false,\n }).current;\n const mountedRef = useRef(false);\n const webEventHandlersRef = useRef({\n onGestureHandlerEvent: (e: HandlerStateChangeEvent) => {\n onGestureHandlerEvent(e.nativeEvent);\n },\n onGestureHandlerStateChange: isExperimentalWebImplementationEnabled()\n ? (e: HandlerStateChangeEvent) => {\n onGestureHandlerEvent(e.nativeEvent);\n }\n : undefined,\n });\n\n const [renderState, setRenderState] = useState(false);\n function forceRender() {\n setRenderState(!renderState);\n }\n\n const preparedGesture = React.useRef({\n config: gesture,\n animatedEventHandler: null,\n animatedHandlers: null,\n firstExecution: true,\n useReanimatedHook: useReanimatedHook,\n }).current;\n\n if (useReanimatedHook !== preparedGesture.useReanimatedHook) {\n throw new Error(\n tagMessage(\n 'You cannot change the thread the callbacks are ran on while the app is running'\n )\n );\n }\n\n function onHandlersUpdate(skipConfigUpdate?: boolean) {\n // if the underlying view has changed we need to reattach handlers to the new view\n const viewTag = findNodeHandle(state.viewRef) as number;\n const forceReattach = viewTag !== state.previousViewTag;\n\n if (forceReattach || needsToReattach(preparedGesture, gesture)) {\n validateDetectorChildren(state.viewRef);\n dropHandlers(preparedGesture);\n attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n webEventHandlersRef,\n viewTag,\n mountedRef,\n });\n\n state.previousViewTag = viewTag;\n state.forceReattach = forceReattach;\n if (forceReattach) {\n forceRender();\n }\n } else if (!skipConfigUpdate) {\n updateHandlers(preparedGesture, gestureConfig, gesture, mountedRef);\n }\n }\n\n // Reanimated event should be rebuilt only when gestures are reattached, otherwise\n // config update will be enough as all necessary items are stored in shared values anyway\n const needsToRebuildReanimatedEvent =\n preparedGesture.firstExecution ||\n needsToReattach(preparedGesture, gesture) ||\n state.forceReattach;\n\n state.forceReattach = false;\n\n if (preparedGesture.firstExecution) {\n gestureConfig.initialize();\n }\n\n if (useReanimatedHook) {\n // Whether animatedGesture or gesture is used shouldn't change while the app is running\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useAnimatedGesture(preparedGesture, needsToRebuildReanimatedEvent);\n }\n\n useEffect(() => {\n const viewTag = findNodeHandle(state.viewRef) as number;\n state.firstRender = true;\n mountedRef.current = true;\n\n validateDetectorChildren(state.viewRef);\n\n attachHandlers({\n preparedGesture,\n gestureConfig,\n gesture,\n webEventHandlersRef,\n viewTag,\n mountedRef,\n });\n\n return () => {\n mountedRef.current = false;\n dropHandlers(preparedGesture);\n };\n }, []);\n\n useEffect(() => {\n if (!state.firstRender) {\n onHandlersUpdate();\n } else {\n state.firstRender = false;\n }\n }, [props]);\n\n const refFunction = (ref: unknown) => {\n if (ref !== null) {\n // @ts-ignore Just setting the view ref\n state.viewRef = ref;\n\n // if it's the first render, also set the previousViewTag to prevent reattaching gestures when not needed\n if (state.previousViewTag === -1) {\n state.previousViewTag = findNodeHandle(state.viewRef) as number;\n }\n\n // pass true as `skipConfigUpdate`, here we only want to trigger the eventual reattaching of handlers\n // in case the view has changed, while config update would be handled be the `useEffect` above\n onHandlersUpdate(true);\n\n if (isFabric()) {\n const node = getShadowNodeFromRef(ref);\n if (global.isFormsStackingContext(node) === false) {\n console.error(\n tagMessage(\n 'GestureDetector has received a child that may get view-flattened. ' +\n '\\nTo prevent it from misbehaving you need to wrap the child with a ``.'\n )\n );\n }\n }\n }\n };\n\n if (useReanimatedHook) {\n return (\n \n {props.children}\n \n );\n } else {\n return {props.children};\n }\n};\n\nclass Wrap extends React.Component<{\n onGestureHandlerEvent?: unknown;\n // implicit `children` prop has been removed in @types/react^18.0.0\n children?: React.ReactNode;\n}> {\n render() {\n try {\n // I don't think that fighting with types over such a simple function is worth it\n // The only thing it does is add 'collapsable: false' to the child component\n // to make sure it is in the native view hierarchy so the detector can find\n // correct viewTag to attach to.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const child: any = React.Children.only(this.props.children);\n return React.cloneElement(\n child,\n { collapsable: false },\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n child.props.children\n );\n } catch (e) {\n throw new Error(\n tagMessage(\n `GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`\n )\n );\n }\n }\n}\n\nconst AnimatedWrap = Reanimated?.default?.createAnimatedComponent(Wrap) ?? Wrap;\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const tapGestureHandlerProps = [\n 'maxDurationMs',\n 'maxDelayMs',\n 'numberOfTaps',\n 'maxDeltaX',\n 'maxDeltaY',\n 'maxDist',\n 'minPointers',\n] as const;\n\nexport type TapGestureHandlerEventPayload = {\n x: number;\n y: number;\n absoluteX: number;\n absoluteY: number;\n};\nexport interface TapGestureConfig {\n /**\n * Minimum number of pointers (fingers) required to be placed before the\n * handler activates. Should be a positive integer.\n * The default value is 1.\n */\n minPointers?: number;\n\n /**\n * Maximum time, expressed in milliseconds, that defines how fast a finger\n * must be released after a touch. The default value is 500.\n */\n maxDurationMs?: number;\n\n /**\n * Maximum time, expressed in milliseconds, that can pass before the next tap\n * if many taps are required. The default value is 500.\n */\n maxDelayMs?: number;\n\n /**\n * Number of tap gestures required to activate the handler. The default value\n * is 1.\n */\n numberOfTaps?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel along the X axis during a tap gesture. If the finger\n * travels further than the defined distance along the X axis and the handler\n * hasn't yet activated, it will fail to recognize the gesture.\n */\n maxDeltaX?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel along the Y axis during a tap gesture. If the finger\n * travels further than the defined distance along the Y axis and the handler\n * hasn't yet activated, it will fail to recognize the gesture.\n */\n maxDeltaY?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel during a tap gesture. If the finger travels further than\n * the defined distance and the handler hasn't yet\n * activated, it will fail to recognize the gesture.\n */\n maxDist?: number;\n}\n\nexport interface TapGestureHandlerProps\n extends BaseGestureHandlerProps,\n TapGestureConfig {}\n\nexport const tapHandlerName = 'TapGestureHandler';\n\nexport type TapGestureHandler = typeof TapGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const TapGestureHandler = createHandler<\n TapGestureHandlerProps,\n TapGestureHandlerEventPayload\n>({\n name: tapHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...tapGestureHandlerProps,\n ] as const,\n config: {\n shouldCancelWhenOutside: true,\n },\n});\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const panGestureHandlerProps = [\n 'activeOffsetY',\n 'activeOffsetX',\n 'failOffsetY',\n 'failOffsetX',\n 'minDist',\n 'minVelocity',\n 'minVelocityX',\n 'minVelocityY',\n 'minPointers',\n 'maxPointers',\n 'avgTouches',\n 'enableTrackpadTwoFingerGesture',\n 'activateAfterLongPress',\n] as const;\n\nexport const panGestureHandlerCustomNativeProps = [\n 'activeOffsetYStart',\n 'activeOffsetYEnd',\n 'activeOffsetXStart',\n 'activeOffsetXEnd',\n 'failOffsetYStart',\n 'failOffsetYEnd',\n 'failOffsetXStart',\n 'failOffsetXEnd',\n] as const;\n\nexport type PanGestureHandlerEventPayload = {\n /**\n * X coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the view\n * attached to the handler. Expressed in point units.\n */\n x: number;\n\n /**\n * Y coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the view\n * attached to the handler. Expressed in point units.\n */\n y: number;\n\n /**\n * X coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the window.\n * The value is expressed in point units. It is recommended to use it instead\n * of `x` in cases when the original view can be transformed as an effect of\n * the gesture.\n */\n absoluteX: number;\n\n /**\n * Y coordinate of the current position of the pointer (finger or a leading\n * pointer when there are multiple fingers placed) relative to the window.\n * The value is expressed in point units. It is recommended to use it instead\n * of `y` in cases when the original view can be transformed as an\n * effect of the gesture.\n */\n absoluteY: number;\n\n /**\n * Translation of the pan gesture along X axis accumulated over the time of\n * the gesture. The value is expressed in the point units.\n */\n translationX: number;\n\n /**\n * Translation of the pan gesture along Y axis accumulated over the time of\n * the gesture. The value is expressed in the point units.\n */\n translationY: number;\n\n /**\n * Velocity of the pan gesture along the X axis in the current moment. The\n * value is expressed in point units per second.\n */\n velocityX: number;\n\n /**\n * Velocity of the pan gesture along the Y axis in the current moment. The\n * value is expressed in point units per second.\n */\n velocityY: number;\n};\n\ninterface CommonPanProperties {\n /**\n * Minimum distance the finger (or multiple finger) need to travel before the\n * handler activates. Expressed in points.\n */\n minDist?: number;\n\n /**\n * Android only.\n */\n avgTouches?: boolean;\n\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * enableTrackpadTwoFingerGesture swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n /**\n * A number of fingers that is required to be placed before handler can\n * activate. Should be a higher or equal to 0 integer.\n */\n minPointers?: number;\n\n /**\n * When the given number of fingers is placed on the screen and handler hasn't\n * yet activated it will fail recognizing the gesture. Should be a higher or\n * equal to 0 integer.\n */\n maxPointers?: number;\n\n minVelocity?: number;\n minVelocityX?: number;\n minVelocityY?: number;\n activateAfterLongPress?: number;\n}\n\nexport interface PanGestureConfig extends CommonPanProperties {\n activeOffsetYStart?: number;\n activeOffsetYEnd?: number;\n activeOffsetXStart?: number;\n activeOffsetXEnd?: number;\n failOffsetYStart?: number;\n failOffsetYEnd?: number;\n failOffsetXStart?: number;\n failOffsetXEnd?: number;\n}\n\nexport interface PanGestureHandlerProps\n extends BaseGestureHandlerProps,\n CommonPanProperties {\n /**\n * Range along X axis (in points) where fingers travels without activation of\n * handler. Moving outside of this range implies activation of handler. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n activeOffsetY?: number | number[];\n\n /**\n * Range along X axis (in points) where fingers travels without activation of\n * handler. Moving outside of this range implies activation of handler. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n activeOffsetX?: number | number[];\n\n /**\n * When the finger moves outside this range (in points) along Y axis and\n * handler hasn't yet activated it will fail recognizing the gesture. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n failOffsetY?: number | number[];\n\n /**\n * When the finger moves outside this range (in points) along X axis and\n * handler hasn't yet activated it will fail recognizing the gesture. Range\n * can be given as an array or a single number. If range is set as an array,\n * first value must be lower or equal to 0, a the second one higher or equal\n * to 0. If only one number `p` is given a range of `(-inf, p)` will be used\n * if `p` is higher or equal to 0 and `(-p, inf)` otherwise.\n */\n failOffsetX?: number | number[];\n}\n\nexport const panHandlerName = 'PanGestureHandler';\n\nexport type PanGestureHandler = typeof PanGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const PanGestureHandler = createHandler<\n PanGestureHandlerProps,\n PanGestureHandlerEventPayload\n>({\n name: panHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...panGestureHandlerProps,\n ] as const,\n config: {},\n transformProps: managePanProps,\n customNativeProps: panGestureHandlerCustomNativeProps,\n});\n\nfunction validatePanGestureHandlerProps(props: PanGestureHandlerProps) {\n if (\n Array.isArray(props.activeOffsetX) &&\n (props.activeOffsetX[0] > 0 || props.activeOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.activeOffsetY) &&\n (props.activeOffsetY[0] > 0 || props.activeOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of activeOffsetY should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetX) &&\n (props.failOffsetX[0] > 0 || props.failOffsetX[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetX should be negative, a the second one should be positive`\n );\n }\n\n if (\n Array.isArray(props.failOffsetY) &&\n (props.failOffsetY[0] > 0 || props.failOffsetY[1] < 0)\n ) {\n throw new Error(\n `First element of failOffsetY should be negative, a the second one should be positive`\n );\n }\n\n if (props.minDist && (props.failOffsetX || props.failOffsetY)) {\n throw new Error(\n `It is not supported to use minDist with failOffsetX or failOffsetY, use activeOffsetX and activeOffsetY instead`\n );\n }\n\n if (props.minDist && (props.activeOffsetX || props.activeOffsetY)) {\n throw new Error(\n `It is not supported to use minDist with activeOffsetX or activeOffsetY`\n );\n }\n}\n\nfunction transformPanGestureHandlerProps(props: PanGestureHandlerProps) {\n type InternalPanGHKeys =\n | 'activeOffsetXStart'\n | 'activeOffsetXEnd'\n | 'failOffsetXStart'\n | 'failOffsetXEnd'\n | 'activeOffsetYStart'\n | 'activeOffsetYEnd'\n | 'failOffsetYStart'\n | 'failOffsetYEnd';\n type PanGestureHandlerInternalProps = PanGestureHandlerProps &\n Partial>;\n\n const res: PanGestureHandlerInternalProps = { ...props };\n\n if (props.activeOffsetX !== undefined) {\n delete res.activeOffsetX;\n if (Array.isArray(props.activeOffsetX)) {\n res.activeOffsetXStart = props.activeOffsetX[0];\n res.activeOffsetXEnd = props.activeOffsetX[1];\n } else if (props.activeOffsetX < 0) {\n res.activeOffsetXStart = props.activeOffsetX;\n } else {\n res.activeOffsetXEnd = props.activeOffsetX;\n }\n }\n\n if (props.activeOffsetY !== undefined) {\n delete res.activeOffsetY;\n if (Array.isArray(props.activeOffsetY)) {\n res.activeOffsetYStart = props.activeOffsetY[0];\n res.activeOffsetYEnd = props.activeOffsetY[1];\n } else if (props.activeOffsetY < 0) {\n res.activeOffsetYStart = props.activeOffsetY;\n } else {\n res.activeOffsetYEnd = props.activeOffsetY;\n }\n }\n\n if (props.failOffsetX !== undefined) {\n delete res.failOffsetX;\n if (Array.isArray(props.failOffsetX)) {\n res.failOffsetXStart = props.failOffsetX[0];\n res.failOffsetXEnd = props.failOffsetX[1];\n } else if (props.failOffsetX < 0) {\n res.failOffsetXStart = props.failOffsetX;\n } else {\n res.failOffsetXEnd = props.failOffsetX;\n }\n }\n\n if (props.failOffsetY !== undefined) {\n delete res.failOffsetY;\n if (Array.isArray(props.failOffsetY)) {\n res.failOffsetYStart = props.failOffsetY[0];\n res.failOffsetYEnd = props.failOffsetY[1];\n } else if (props.failOffsetY < 0) {\n res.failOffsetYStart = props.failOffsetY;\n } else {\n res.failOffsetYEnd = props.failOffsetY;\n }\n }\n\n return res;\n}\n\nexport function managePanProps(props: PanGestureHandlerProps) {\n if (__DEV__) {\n validatePanGestureHandlerProps(props);\n }\n return transformPanGestureHandlerProps(props);\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const longPressGestureHandlerProps = [\n 'minDurationMs',\n 'maxDist',\n] as const;\n\nexport type LongPressGestureHandlerEventPayload = {\n /**\n * X coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the view attached to the handler.\n */\n x: number;\n\n /**\n * Y coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the view attached to the handler.\n */\n y: number;\n\n /**\n * X coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the window. It is recommended to use `absoluteX` instead of\n * `x` in cases when the view attached to the handler can be transformed as an\n * effect of the gesture.\n */\n absoluteX: number;\n\n /**\n * Y coordinate, expressed in points, of the current position of the pointer\n * (finger or a leading pointer when there are multiple fingers placed)\n * relative to the window. It is recommended to use `absoluteY` instead of\n * `y` in cases when the view attached to the handler can be transformed as an\n * effect of the gesture.\n */\n absoluteY: number;\n\n /**\n * Duration of the long press (time since the start of the event), expressed\n * in milliseconds.\n */\n duration: number;\n};\n\nexport interface LongPressGestureConfig {\n /**\n * Minimum time, expressed in milliseconds, that a finger must remain pressed on\n * the corresponding view. The default value is 500.\n */\n minDurationMs?: number;\n\n /**\n * Maximum distance, expressed in points, that defines how far the finger is\n * allowed to travel during a long press gesture. If the finger travels\n * further than the defined distance and the handler hasn't yet activated, it\n * will fail to recognize the gesture. The default value is 10.\n */\n maxDist?: number;\n}\n\nexport interface LongPressGestureHandlerProps\n extends BaseGestureHandlerProps,\n LongPressGestureConfig {}\n\nexport const longPressHandlerName = 'LongPressGestureHandler';\n\nexport type LongPressGestureHandler = typeof LongPressGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const LongPressGestureHandler = createHandler<\n LongPressGestureHandlerProps,\n LongPressGestureHandlerEventPayload\n>({\n name: longPressHandlerName,\n allowedProps: [\n ...baseGestureHandlerProps,\n ...longPressGestureHandlerProps,\n ] as const,\n config: {\n shouldCancelWhenOutside: true,\n },\n});\n","export const TouchEventType = {\n UNDETERMINED: 0,\n TOUCHES_DOWN: 1,\n TOUCHES_MOVE: 2,\n TOUCHES_UP: 3,\n TOUCHES_CANCELLED: 4,\n} as const;\n\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; it can be used as a type and as a value\nexport type TouchEventType = typeof TouchEventType[keyof typeof TouchEventType];\n","import { ComponentClass } from 'react';\nimport {\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from '../gestureHandlerCommon';\nimport { tagMessage } from '../../utils';\n\nexport interface SharedValue {\n value: T;\n}\n\nlet Reanimated: {\n default: {\n // Slightly modified definition copied from 'react-native-reanimated'\n // eslint-disable-next-line @typescript-eslint/ban-types\n createAnimatedComponent

(\n component: ComponentClass

,\n options?: unknown\n ): ComponentClass

;\n };\n useEvent: (\n callback: (event: GestureUpdateEvent | GestureStateChangeEvent) => void,\n events: string[],\n rebuild: boolean\n ) => unknown;\n useSharedValue: (value: T) => SharedValue;\n setGestureState: (handlerTag: number, newState: number) => void;\n};\n\ntry {\n Reanimated = require('react-native-reanimated');\n\n if (!Reanimated.useSharedValue) {\n // @ts-ignore Make sure the loaded module is actually Reanimated, if it's not\n // reset the module to undefined so we can fallback to the default implementation\n Reanimated = undefined;\n throw new Error('react-native-reanimated is not found');\n }\n\n if (!Reanimated.setGestureState) {\n Reanimated.setGestureState = () => {\n 'worklet';\n console.warn(\n tagMessage(\n 'Please use newer version of react-native-reanimated in order to control state of the gestures.'\n )\n );\n };\n }\n // When 'react-native-reanimated' is not available we want to\n // quietly continue\n // eslint-disable-next-line no-empty\n} catch (e) {}\n\nexport { Reanimated };\n","import * as Animated from './Animated';\nimport webGlobalIsInitialized from './reanimated2/js-reanimated/global';\nif (!webGlobalIsInitialized) {\n /* \n `webGlobalIsInitialized` should always be `true`, \n but we need to use `webGlobalIsInitialized` somewhere to ensure function execution, \n in another way, the bundler can remove unused variables. \n */\n console.error('[Reanimated] Unable to initialize global objects for web.');\n}\n\nexport * from './reanimated2';\nexport default Animated;\n","export { default as createAnimatedComponent } from './createAnimatedComponent';\nexport {\n addWhitelistedNativeProps,\n addWhitelistedUIProps,\n} from './ConfigHelper';\n\nexport { default as Text } from './reanimated2/component/Text';\nexport { default as View } from './reanimated2/component/View';\nexport { default as ScrollView } from './reanimated2/component/ScrollView';\nexport { default as Image } from './reanimated2/component/Image';\nexport { default as FlatList } from './reanimated2/component/FlatList';\n","import { configureProps as jsiConfigureProps } from './reanimated2/core';\n\n/**\n * Styles allowed to be direcly updated in UI thread\n */\nlet UI_THREAD_PROPS_WHITELIST: Record = {\n opacity: true,\n transform: true,\n /* colors */\n backgroundColor: true,\n borderRightColor: true,\n borderBottomColor: true,\n borderColor: true,\n borderEndColor: true,\n borderLeftColor: true,\n borderStartColor: true,\n borderTopColor: true,\n /* ios styles */\n shadowOpacity: true,\n shadowRadius: true,\n /* legacy android transform properties */\n scaleX: true,\n scaleY: true,\n translateX: true,\n translateY: true,\n};\n\n/**\n * Whitelist of view props that can be updated in native thread via UIManagerModule\n */\nlet NATIVE_THREAD_PROPS_WHITELIST: Record = {\n borderBottomWidth: true,\n borderEndWidth: true,\n borderLeftWidth: true,\n borderRightWidth: true,\n borderStartWidth: true,\n borderTopWidth: true,\n borderWidth: true,\n bottom: true,\n flex: true,\n flexGrow: true,\n flexShrink: true,\n height: true,\n left: true,\n margin: true,\n marginBottom: true,\n marginEnd: true,\n marginHorizontal: true,\n marginLeft: true,\n marginRight: true,\n marginStart: true,\n marginTop: true,\n marginVertical: true,\n maxHeight: true,\n maxWidth: true,\n minHeight: true,\n minWidth: true,\n padding: true,\n paddingBottom: true,\n paddingEnd: true,\n paddingHorizontal: true,\n paddingLeft: true,\n paddingRight: true,\n paddingStart: true,\n paddingTop: true,\n paddingVertical: true,\n right: true,\n start: true,\n top: true,\n width: true,\n zIndex: true,\n borderBottomEndRadius: true,\n borderBottomLeftRadius: true,\n borderBottomRightRadius: true,\n borderBottomStartRadius: true,\n borderRadius: true,\n borderTopEndRadius: true,\n borderTopLeftRadius: true,\n borderTopRightRadius: true,\n borderTopStartRadius: true,\n elevation: true,\n fontSize: true,\n lineHeight: true,\n textShadowRadius: true,\n letterSpacing: true,\n /* strings */\n display: true,\n backfaceVisibility: true,\n overflow: true,\n resizeMode: true,\n fontStyle: true,\n fontWeight: true,\n textAlign: true,\n textDecorationLine: true,\n fontFamily: true,\n textAlignVertical: true,\n fontVariant: true,\n textDecorationStyle: true,\n textTransform: true,\n writingDirection: true,\n /* text color */\n color: true,\n tintColor: true,\n shadowColor: true,\n placeholderTextColor: true,\n};\n\nfunction configureProps(): void {\n jsiConfigureProps(\n Object.keys(UI_THREAD_PROPS_WHITELIST),\n Object.keys(NATIVE_THREAD_PROPS_WHITELIST)\n );\n}\n\nexport function addWhitelistedNativeProps(\n props: Record\n): void {\n const oldSize = Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length;\n NATIVE_THREAD_PROPS_WHITELIST = {\n ...NATIVE_THREAD_PROPS_WHITELIST,\n ...props,\n };\n if (oldSize !== Object.keys(NATIVE_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nexport function addWhitelistedUIProps(props: Record): void {\n const oldSize = Object.keys(UI_THREAD_PROPS_WHITELIST).length;\n UI_THREAD_PROPS_WHITELIST = { ...UI_THREAD_PROPS_WHITELIST, ...props };\n if (oldSize !== Object.keys(UI_THREAD_PROPS_WHITELIST).length) {\n configureProps();\n }\n}\n\nconst PROCESSED_VIEW_NAMES = new Set();\n\ninterface ViewConfig {\n uiViewClassName: string;\n validAttributes: Record;\n}\n/**\n * updates UI props whitelist for given view host instance\n * this will work just once for every view name\n */\n\nexport function adaptViewConfig(viewConfig: ViewConfig): void {\n const viewName = viewConfig.uiViewClassName;\n const props = viewConfig.validAttributes;\n\n // update whitelist of UI props for this view name only once\n if (!PROCESSED_VIEW_NAMES.has(viewName)) {\n const propsToAdd: Record = {};\n Object.keys(props).forEach((key) => {\n // we don't want to add native props as they affect layout\n // we also skip props which repeat here\n if (\n !(key in NATIVE_THREAD_PROPS_WHITELIST) &&\n !(key in UI_THREAD_PROPS_WHITELIST)\n ) {\n propsToAdd[key] = true;\n }\n });\n addWhitelistedUIProps(propsToAdd);\n\n PROCESSED_VIEW_NAMES.add(viewName);\n }\n}\n\nconfigureProps();\n","import NativeReanimatedModule from './NativeReanimated';\nimport { nativeShouldBeMock, shouldBeUseWeb, isWeb } from './PlatformChecker';\nimport { BasicWorkletFunction, Value3D, ValueRotation } from './commonTypes';\nimport {\n makeShareableCloneRecursive,\n makeShareable as makeShareableUnwrapped,\n} from './shareables';\nimport { startMapper as startMapperUnwrapped } from './mappers';\nimport {\n makeMutable as makeMutableUnwrapped,\n makeRemote as makeRemoteUnwrapped,\n} from './mutables';\nimport { LayoutAnimationFunction } from './layoutReanimation';\nimport { initializeUIRuntime } from './initializers';\n\nexport { stopMapper } from './mappers';\nexport { runOnJS, runOnUI } from './threads';\nexport { getTimestamp } from './time';\n\nexport type ReanimatedConsole = Pick<\n Console,\n 'debug' | 'log' | 'warn' | 'info' | 'error'\n>;\n\nconst testWorklet: BasicWorkletFunction = () => {\n 'worklet';\n};\n\nconst throwUninitializedReanimatedException = () => {\n throw new Error(\n \"Failed to initialize react-native-reanimated library, make sure you followed installation steps here: https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation/ \\n1) Make sure reanimated's babel plugin is installed in your babel.config.js (you should have 'react-native-reanimated/plugin' listed there - also see the above link for details) \\n2) Make sure you reset build cache after updating the config, run: yarn start --reset-cache\"\n );\n};\n\nexport const checkPluginState: (throwError: boolean) => boolean = (\n throwError = true\n) => {\n if (!testWorklet.__workletHash && !shouldBeUseWeb()) {\n if (throwError) {\n throwUninitializedReanimatedException();\n }\n return false;\n }\n return true;\n};\n\nexport const isConfigured: (throwError?: boolean) => boolean = (\n throwError = false\n) => {\n return checkPluginState(throwError);\n};\n\nexport const isConfiguredCheck: () => void = () => {\n checkPluginState(true);\n};\n\nconst configurationCheckWrapper = __DEV__\n ? , U>(fn: (...args: T) => U) => {\n return (...args: T): U => {\n isConfigured(true);\n return fn(...args);\n };\n }\n : , U>(fn: (...args: T) => U) => fn;\n\nexport const startMapper = __DEV__\n ? configurationCheckWrapper(startMapperUnwrapped)\n : startMapperUnwrapped;\n\nexport const makeShareable = __DEV__\n ? configurationCheckWrapper(makeShareableUnwrapped)\n : makeShareableUnwrapped;\n\nexport const makeMutable = __DEV__\n ? configurationCheckWrapper(makeMutableUnwrapped)\n : makeMutableUnwrapped;\n\nexport const makeRemote = __DEV__\n ? configurationCheckWrapper(makeRemoteUnwrapped)\n : makeRemoteUnwrapped;\n\nglobal._WORKLET = false;\nglobal._log = function (s: string) {\n console.log(s);\n};\n\nexport function getViewProp(viewTag: string, propName: string): Promise {\n if (global._IS_FABRIC) {\n throw new Error(\n '[react-native-reanimated] `getViewProp` is not supported on Fabric yet'\n );\n }\n\n return new Promise((resolve, reject) => {\n return NativeReanimatedModule.getViewProp(\n viewTag,\n propName,\n (result: T) => {\n if (typeof result === 'string' && result.substr(0, 6) === 'error:') {\n reject(result);\n } else {\n resolve(result);\n }\n }\n );\n });\n}\n\nexport function registerEventHandler(\n eventHash: string,\n eventHandler: (event: T) => void\n): string {\n return NativeReanimatedModule.registerEventHandler(\n eventHash,\n makeShareableCloneRecursive(eventHandler)\n );\n}\n\nexport function unregisterEventHandler(id: string): void {\n return NativeReanimatedModule.unregisterEventHandler(id);\n}\n\nexport function subscribeForKeyboardEvents(\n eventHandler: (state: number, height: number) => void\n): number {\n return NativeReanimatedModule.subscribeForKeyboardEvents(\n makeShareableCloneRecursive(eventHandler)\n );\n}\n\nexport function unsubscribeFromKeyboardEvents(listenerId: number): void {\n return NativeReanimatedModule.unsubscribeFromKeyboardEvents(listenerId);\n}\n\nexport function registerSensor(\n sensorType: number,\n interval: number,\n eventHandler: (data: Value3D | ValueRotation) => void\n): number {\n return NativeReanimatedModule.registerSensor(\n sensorType,\n interval,\n makeShareableCloneRecursive(eventHandler)\n );\n}\n\nexport function unregisterSensor(listenerId: number): void {\n return NativeReanimatedModule.unregisterSensor(listenerId);\n}\n\n// initialize UI runtime if applicable\nif (!isWeb() && isConfigured()) {\n initializeUIRuntime();\n}\n\ntype FeaturesConfig = {\n enableLayoutAnimations: boolean;\n setByUser: boolean;\n};\n\nlet featuresConfig: FeaturesConfig = {\n enableLayoutAnimations: false,\n setByUser: false,\n};\n\nexport function enableLayoutAnimations(\n flag: boolean,\n isCallByUser = true\n): void {\n if (isCallByUser) {\n featuresConfig = {\n enableLayoutAnimations: flag,\n setByUser: true,\n };\n NativeReanimatedModule.enableLayoutAnimations(flag);\n } else if (\n !featuresConfig.setByUser &&\n featuresConfig.enableLayoutAnimations !== flag\n ) {\n featuresConfig.enableLayoutAnimations = flag;\n NativeReanimatedModule.enableLayoutAnimations(flag);\n }\n}\n\nexport function configureLayoutAnimations(\n viewTag: number,\n type: string,\n config: LayoutAnimationFunction | Keyframe\n): void {\n NativeReanimatedModule.configureLayoutAnimation(\n viewTag,\n type,\n makeShareableCloneRecursive(config)\n );\n}\n\nexport function configureProps(uiProps: string[], nativeProps: string[]): void {\n if (!nativeShouldBeMock()) {\n NativeReanimatedModule.configureProps(uiProps, nativeProps);\n }\n}\n","import NativeReanimatedModule from './NativeReanimated';\nimport { Platform } from 'react-native';\nimport { nativeShouldBeMock } from './PlatformChecker';\nexport { stopMapper } from './mappers';\n\nlet _getTimestamp: () => number;\nif (nativeShouldBeMock()) {\n _getTimestamp = () => {\n return NativeReanimatedModule.getTimestamp();\n };\n} else {\n _getTimestamp = () => {\n 'worklet';\n if (_frameTimestamp) {\n return _frameTimestamp;\n }\n if (_eventTimestamp) {\n return _eventTimestamp;\n }\n return _getCurrentTime();\n };\n}\n\nexport function getTimestamp(): number {\n 'worklet';\n if (Platform.OS === 'web') {\n return NativeReanimatedModule.getTimestamp();\n }\n return _getTimestamp();\n}\n","import { SharedValue } from './commonTypes';\nimport { runOnUI } from './threads';\n\nexport type Mapper = {\n id: number;\n dirty: boolean;\n worklet: () => void;\n inputs: SharedValue[];\n outputs?: SharedValue[];\n};\n\nexport function createMapperRegistry() {\n 'worklet';\n const mappers = new Map();\n let sortedMappers: Mapper[] = [];\n\n let frameRequested = false;\n\n function updateMappersOrder() {\n // sort mappers topologically\n // the algorithm here takes adventage of a fact that the topological order\n // of a transposed graph is a reverse topological order of the original graph\n // The graph in our case consists of mappers and an edge between two mappers\n // A and B exists if there is a shared value that's on A's output lists and on\n // B's input list.\n //\n // We don't need however to calculate that graph as it is easier to work with\n // the transposed version of it that can be calculated ad-hoc. For the transposed\n // version to be traversed we use \"pre\" map that maps share value to mappers that\n // output that shared value. Then we can infer all the outgoing edges for a given\n // mapper simply by scanning it's input list and checking if any of the shared values\n // from that list exists in the \"pre\" map. If they do, then we have an edge between\n // that mapper and the mappers from the \"pre\" list for the given shared value.\n //\n // For topological sorting we use a dfs-based approach that requires the graph to\n // be traversed in dfs order and each node after being processed lands at the\n // beginning of the topological order list. Since we traverse a transposed graph,\n // instead of reversing that order we can use a normal array and push processed\n // mappers to the end. There is no need to reverse that array after we are done.\n const pre = new Map(); // map from sv -> mapper that outputs that sv\n mappers.forEach((mapper) => {\n if (mapper.outputs) {\n for (const output of mapper.outputs) {\n const preMappers = pre.get(output);\n if (preMappers === undefined) {\n pre.set(output, [mapper]);\n } else {\n preMappers.push(mapper);\n }\n }\n }\n });\n const visited = new Set();\n const newOrder: Mapper[] = [];\n function dfs(mapper: Mapper) {\n visited.add(mapper);\n for (const input of mapper.inputs) {\n const preMappers = pre.get(input);\n if (preMappers) {\n for (const preMapper of preMappers) {\n if (!visited.has(preMapper)) {\n dfs(preMapper);\n }\n }\n }\n }\n newOrder.push(mapper);\n }\n mappers.forEach((mapper) => {\n if (!visited.has(mapper)) {\n dfs(mapper);\n }\n });\n sortedMappers = newOrder;\n }\n\n function mapperFrame() {\n frameRequested = false;\n if (mappers.size !== sortedMappers.length) {\n updateMappersOrder();\n }\n for (const mapper of sortedMappers) {\n if (mapper.dirty) {\n mapper.dirty = false;\n mapper.worklet();\n }\n }\n }\n\n function maybeRequestUpdates() {\n if (!frameRequested) {\n requestAnimationFrame(mapperFrame);\n frameRequested = true;\n }\n }\n\n function extractInputs(\n inputs: any,\n resultArray: SharedValue[]\n ): SharedValue[] {\n if (Array.isArray(inputs)) {\n for (const input of inputs) {\n input && extractInputs(input, resultArray);\n }\n } else if (inputs.addListener) {\n resultArray.push(inputs);\n } else if (typeof inputs === 'object') {\n for (const element of Object.values(inputs)) {\n element && extractInputs(element, resultArray);\n }\n }\n return resultArray;\n }\n\n return {\n start: (\n mapperID: number,\n worklet: () => void,\n inputs: SharedValue[],\n outputs?: SharedValue[]\n ) => {\n const mapper = {\n id: mapperID,\n dirty: true,\n worklet,\n inputs: extractInputs(inputs, []),\n outputs,\n };\n mappers.set(mapper.id, mapper);\n sortedMappers = [];\n for (const sv of mapper.inputs) {\n sv.addListener(mapper.id, () => {\n mapper.dirty = true;\n maybeRequestUpdates();\n });\n }\n maybeRequestUpdates();\n },\n stop: (mapperID: number) => {\n const mapper = mappers.get(mapperID);\n if (mapper) {\n mappers.delete(mapper.id);\n sortedMappers = [];\n for (const sv of mapper.inputs) {\n sv.removeListener(mapper.id);\n }\n }\n },\n };\n}\n\nlet MAPPER_ID = 9999;\n\nexport function startMapper(\n worklet: () => void,\n inputs: any[] = [],\n outputs: any[] = []\n): number {\n const mapperID = (MAPPER_ID += 1);\n\n runOnUI(() => {\n 'worklet';\n let mapperRegistry = global.__mapperRegistry;\n if (mapperRegistry === undefined) {\n mapperRegistry = global.__mapperRegistry = createMapperRegistry();\n }\n mapperRegistry.start(mapperID, worklet, inputs, outputs);\n })();\n\n return mapperID;\n}\n\nexport function stopMapper(mapperID: number): void {\n runOnUI(() => {\n 'worklet';\n const mapperRegistry = global.__mapperRegistry;\n mapperRegistry?.stop(mapperID);\n })();\n}\n","import NativeReanimatedModule from './NativeReanimated';\nimport { ComplexWorkletFunction } from './commonTypes';\nimport {\n makeShareableCloneOnUIRecursive,\n makeShareableCloneRecursive,\n} from './shareables';\n\nexport function runOnUI(\n worklet: ComplexWorkletFunction\n): (...args: A) => void {\n if (__DEV__) {\n if (worklet.__workletHash === undefined) {\n throw new Error('runOnUI() can only be used on worklets');\n }\n }\n return (...args) => {\n NativeReanimatedModule.scheduleOnUI(\n makeShareableCloneRecursive(() => {\n 'worklet';\n return worklet(...args);\n })\n );\n };\n}\n\nif (__DEV__) {\n try {\n runOnUI(() => {\n 'worklet';\n });\n } catch (e) {\n throw new Error(\n 'Failed to create a worklet. Did you forget to add Reanimated Babel plugin in babel.config.js? See installation docs at https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation#babel-plugin.'\n );\n }\n}\n\nexport function runOnJS(\n fun: ComplexWorkletFunction\n): (...args: A) => void {\n 'worklet';\n if (fun.__remoteFunction) {\n // in development mode the function provided as `fun` throws an error message\n // such that when someone accidently calls it directly on the UI runtime, they\n // see that they should use `runOnJS` instead. To facilitate that we purt the\n // reference to the original remote function in the `__remoteFunction` property.\n fun = fun.__remoteFunction;\n }\n if (!_WORKLET) {\n return fun;\n }\n return (...args) => {\n _scheduleOnJS(\n fun,\n args.length > 0 ? makeShareableCloneOnUIRecursive(args) : undefined\n );\n };\n}\n","import reanimatedJS from '../js-reanimated';\nimport { shouldBeUseWeb } from '../PlatformChecker';\nimport { NativeReanimated } from './NativeReanimated';\n\nlet exportedModule;\nif (shouldBeUseWeb()) {\n exportedModule = reanimatedJS;\n} else {\n exportedModule = new NativeReanimated();\n}\n\nexport default exportedModule as NativeReanimated;\n","import JSReanimated from './JSReanimated';\nimport { AnimatedStyle, StyleProps } from '../commonTypes';\n\nconst reanimatedJS = new JSReanimated();\n\nglobal._makeShareableClone = (c) => c;\nglobal._scheduleOnJS = setImmediate;\nglobal._getTimestamp = reanimatedJS.getTimestamp.bind(reanimatedJS);\n\ninterface JSReanimatedComponent {\n previousStyle: StyleProps;\n setNativeProps: (style: StyleProps) => void;\n props: Record;\n _touchableNode: {\n setAttribute: (key: string, props: unknown) => void;\n };\n}\n\nexport const _updatePropsJS = (\n updates: StyleProps | AnimatedStyle,\n viewRef: { _component?: JSReanimatedComponent }\n): void => {\n if (viewRef._component) {\n const component = viewRef._component;\n const [rawStyles] = Object.keys(updates).reduce(\n (acc: [StyleProps, AnimatedStyle], key) => {\n const value = updates[key];\n const index = typeof value === 'function' ? 1 : 0;\n acc[index][key] = value;\n return acc;\n },\n [{}, {}]\n );\n\n if (typeof component.setNativeProps === 'function') {\n setNativeProps(component, rawStyles);\n } else if (Object.keys(component.props).length > 0) {\n Object.keys(component.props).forEach((key) => {\n if (!rawStyles[key]) {\n return;\n }\n const dashedKey = key.replace(/[A-Z]/g, (m) => '-' + m.toLowerCase());\n component._touchableNode.setAttribute(dashedKey, rawStyles[key]);\n });\n } else {\n console.warn('It is not possible to manipulate component');\n }\n }\n};\n\nconst setNativeProps = (\n component: JSReanimatedComponent,\n style: StyleProps\n): void => {\n const previousStyle = component.previousStyle ? component.previousStyle : {};\n const currentStyle = { ...previousStyle, ...style };\n component.previousStyle = currentStyle;\n component.setNativeProps({ style: currentStyle });\n};\n\nexport default reanimatedJS;\n","import { NativeReanimated } from '../NativeReanimated/NativeReanimated';\nimport { ShareableRef } from '../commonTypes';\nimport { isJest } from '../PlatformChecker';\n\nexport default class JSReanimated extends NativeReanimated {\n constructor() {\n super(false);\n if (isJest()) {\n // on node < 16 jest have problems mocking performance.now method which\n // results in the tests failing, since date precision isn't that important\n // for tests, we use Date.now instead\n this.getTimestamp = () => Date.now();\n } else {\n this.getTimestamp = () => window.performance.now();\n }\n }\n\n makeShareableClone(value: T): ShareableRef {\n return { __hostObjectShareableJSRef: value };\n }\n\n installCoreFunctions(\n _callGuard: , U>(\n fn: (...args: T) => U,\n ...args: T\n ) => void,\n _valueUnpacker: (value: T) => T\n ): void {\n // noop\n }\n\n scheduleOnUI(worklet: ShareableRef) {\n // @ts-ignore web implementation has still not been updated after the rewrite, this will be addressed once the web implementation updates are ready\n requestAnimationFrame(worklet);\n }\n\n registerEventHandler(\n _eventHash: string,\n _eventHandler: ShareableRef\n ): string {\n // noop\n return '';\n }\n\n unregisterEventHandler(_: string): void {\n // noop\n }\n\n enableLayoutAnimations() {\n console.warn(\n '[Reanimated] enableLayoutAnimations is not available for WEB yet'\n );\n }\n\n registerSensor(): number {\n console.warn('[Reanimated] useAnimatedSensor is not available on web yet.');\n return -1;\n }\n\n unregisterSensor(): void {\n // noop\n }\n\n subscribeForKeyboardEvents(_: ShareableRef): number {\n console.warn(\n '[Reanimated] useAnimatedKeyboard is not available on web yet.'\n );\n return -1;\n }\n\n unsubscribeFromKeyboardEvents(_: number): void {\n // noop\n }\n}\n","import { Platform } from 'react-native';\n\nexport function isJest(): boolean {\n return !!process.env.JEST_WORKER_ID;\n}\n\nexport function isChromeDebugger(): boolean {\n return !(global as any).nativeCallSyncHook || (global as any).__REMOTEDEV__;\n}\n\nexport function isWeb(): boolean {\n return Platform.OS === 'web';\n}\n\nexport function shouldBeUseWeb() {\n return isJest() || isChromeDebugger() || isWeb();\n}\n\nexport function nativeShouldBeMock() {\n return isJest() || isChromeDebugger();\n}\n","import { NativeModules } from 'react-native';\nimport { ShareableRef, ShareableSyncDataHolderRef } from '../commonTypes';\nimport { LayoutAnimationFunction } from '../layoutReanimation';\nimport { checkVersion } from '../platform-specific/checkVersion';\n\nexport class NativeReanimated {\n native: boolean;\n private InnerNativeModule: any;\n\n constructor(native = true) {\n if (global.__reanimatedModuleProxy === undefined && native) {\n const { ReanimatedModule } = NativeModules;\n ReanimatedModule?.installTurboModule();\n }\n this.InnerNativeModule = global.__reanimatedModuleProxy;\n this.native = native;\n if (native) {\n checkVersion();\n }\n }\n\n getTimestamp(): number {\n throw new Error('stub implementation, used on the web only');\n }\n\n installCoreFunctions(\n callGuard: , U>(\n fn: (...args: T) => U,\n ...args: T\n ) => void,\n valueUnpacker: (value: T) => T\n ): void {\n return this.InnerNativeModule.installCoreFunctions(\n callGuard,\n valueUnpacker\n );\n }\n\n makeShareableClone(value: T): ShareableRef {\n return this.InnerNativeModule.makeShareableClone(value);\n }\n\n makeSynchronizedDataHolder(\n valueRef: ShareableRef\n ): ShareableSyncDataHolderRef {\n return this.InnerNativeModule.makeSynchronizedDataHolder(valueRef);\n }\n\n getDataSynchronously(ref: ShareableSyncDataHolderRef): T {\n return this.InnerNativeModule.getDataSynchronously(ref);\n }\n\n updateDataSynchronously(\n ref: ShareableSyncDataHolderRef,\n value: T\n ): void {\n this.InnerNativeModule.updateDataSynchronously(ref, value);\n }\n\n scheduleOnUI(shareable: ShareableRef) {\n return this.InnerNativeModule.scheduleOnUI(shareable);\n }\n\n registerSensor(\n sensorType: number,\n interval: number,\n handler: ShareableRef\n ) {\n return this.InnerNativeModule.registerSensor(sensorType, interval, handler);\n }\n\n unregisterSensor(sensorId: number) {\n return this.InnerNativeModule.unregisterSensor(sensorId);\n }\n\n registerEventHandler(\n eventHash: string,\n eventHandler: ShareableRef\n ): string {\n return this.InnerNativeModule.registerEventHandler(eventHash, eventHandler);\n }\n\n unregisterEventHandler(id: string): void {\n return this.InnerNativeModule.unregisterEventHandler(id);\n }\n\n getViewProp(\n viewTag: string,\n propName: string,\n callback?: (result: T) => void\n ): Promise {\n return this.InnerNativeModule.getViewProp(viewTag, propName, callback);\n }\n\n configureLayoutAnimation(\n viewTag: number,\n type: string,\n config: ShareableRef\n ) {\n this.InnerNativeModule.configureLayoutAnimation(viewTag, type, config);\n }\n\n enableLayoutAnimations(flag: boolean): void {\n this.InnerNativeModule.enableLayoutAnimations(flag);\n }\n\n configureProps(uiProps: string[], nativeProps: string[]): void {\n this.InnerNativeModule.configureProps(uiProps, nativeProps);\n }\n\n subscribeForKeyboardEvents(handler: ShareableRef): number {\n return this.InnerNativeModule.subscribeForKeyboardEvents(handler);\n }\n\n unsubscribeFromKeyboardEvents(listenerId: number): void {\n this.InnerNativeModule.unsubscribeFromKeyboardEvents(listenerId);\n }\n}\n","import { version as jsVersion } from '../../../package.json';\n\n/**\n * Checks that native and js versions of reanimated match.\n */\nexport function checkVersion(): void {\n const cppVersion = global._REANIMATED_VERSION_CPP;\n const ok = (() => {\n if (\n jsVersion.match(/^\\d+\\.\\d+\\.\\d+$/) &&\n cppVersion.match(/^\\d+\\.\\d+\\.\\d+$/)\n ) {\n // x.y.z, compare only major and minor, skip patch\n const [jsMajor, jsMinor] = jsVersion.split('.');\n const [cppMajor, cppMinor] = cppVersion.split('.');\n return jsMajor === cppMajor && jsMinor === cppMinor;\n } else {\n // alpha, beta or rc, compare everything\n return jsVersion === cppVersion;\n }\n })();\n if (!ok) {\n console.error(\n `[Reanimated] Mismatch between JavaScript part and native part of Reanimated (${jsVersion} vs. ${cppVersion}). Did you forget to re-build the app after upgrading react-native-reanimated? If you use Expo Go, you must downgrade to ${cppVersion} which is bundled into Expo SDK.`\n );\n // TODO: detect Expo managed workflow\n }\n}\n","{\n \"name\": \"react-native-reanimated\",\n \"version\": \"3.0.0-rc.10\",\n \"description\": \"More powerful alternative to Animated library for React Native.\",\n \"scripts\": {\n \"test\": \"yarn run format:js && yarn run lint:js && yarn run test:unit\",\n \"test:unit\": \"jest\",\n \"lint\": \"yarn lint:js && yarn lint:cpp && yarn lint:java && yarn lint:ios && yarn lint:docs\",\n \"lint:js\": \"eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check src/\",\n \"lint:docs\": \"cd docs && yarn lint && cd ..\",\n \"lint:java\": \"./android/gradlew -p android spotlessCheck -q\",\n \"lint:cpp\": \"./scripts/cpplint.sh\",\n \"lint:ios\": \"./scripts/validate-ios.sh && yarn format:ios --dry-run\",\n \"format\": \"yarn format:js && yarn format:java && yarn format:ios && yarn format:android && yarn format:common\",\n \"format:js\": \"prettier --write --list-different './src/'\",\n \"format:java\": \"node ./scripts/format-java.js\",\n \"format:ios\": \"find ios/ -iname *.h -o -iname *.m -o -iname *.mm -o -iname *.cpp | xargs clang-format -i --Werror\",\n \"format:android\": \"find android/src/ -iname *.h -o -iname *.cpp | xargs clang-format -i\",\n \"format:common\": \"find Common/ -iname *.h -o -iname *.cpp | xargs clang-format -i\",\n \"release\": \"npm login && release-it\",\n \"type:check\": \"yarn tsc --noEmit\",\n \"prepare\": \"bob build && husky install\",\n \"circular_dependency_check\": \"yarn madge --extensions js,ts,tsx --circular src lib\",\n \"setup\": \"yarn && cd Example && yarn && cd ios && pod install --verbose && cd ../..\",\n \"clean\": \"rm -rf node_modules && cd Example && rm -rf node_modules && cd ios && pod deintegrate && cd ../..\",\n \"reset\": \"yarn clean && yarn setup\",\n \"clean:deep\": \"cd android && rm -rf .cxx .gradle build && cd ../Example/android && rm -rf .gradle build app/build && cd ../.. && yarn clean\",\n \"reset:deep\": \"yarn clean:deep && yarn setup\"\n },\n \"main\": \"lib/commonjs/index\",\n \"module\": \"lib/module/index\",\n \"react-native\": \"src/index\",\n \"source\": \"src/index\",\n \"types\": \"react-native-reanimated.d.ts\",\n \"files\": [\n \"Common/\",\n \"src/\",\n \"lib/\",\n \"!**/__tests__\",\n \"!**/__fixtures__\",\n \"!**/__mocks__\",\n \"!lib/typescript\",\n \"react-native-reanimated.d.ts\",\n \"android/src/main/AndroidManifest.xml\",\n \"android/src/main/java/\",\n \"android/build.gradle\",\n \"android/\",\n \"ios/\",\n \"!ios/build/\",\n \"!android/build/\",\n \"!android/.cxx/\",\n \"!android/.gradle/\",\n \"RNReanimated.podspec\",\n \"scripts/reanimated_utils.rb\",\n \"README.md\",\n \"mock.js\",\n \"plugin.js\",\n \"!__snapshots__\",\n \"!*.test.js\",\n \"!*.test.js.map\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/software-mansion/react-native-reanimated.git\"\n },\n \"author\": {\n \"email\": \"krzys.magiera@gmail.com\",\n \"name\": \"Krzysztof Magiera\"\n },\n \"license\": \"MIT\",\n \"readmeFilename\": \"README.md\",\n \"bugs\": {\n \"url\": \"https://github.com/software-mansion/react-native-reanimated/issues\"\n },\n \"homepage\": \"https://github.com/software-mansion/react-native-reanimated#readme\",\n \"dependencies\": {\n \"@babel/plugin-transform-object-assign\": \"^7.16.7\",\n \"@babel/preset-typescript\": \"^7.16.7\",\n \"convert-source-map\": \"^1.7.0\",\n \"invariant\": \"^2.2.4\",\n \"lodash.isequal\": \"^4.5.0\",\n \"setimmediate\": \"^1.0.5\",\n \"string-hash-64\": \"^1.0.3\"\n },\n \"peerDependencies\": {\n \"@babel/core\": \"^7.0.0-0\",\n \"react\": \"*\",\n \"react-native\": \"*\"\n },\n \"devDependencies\": {\n \"@babel/cli\": \"^7.17.6\",\n \"@babel/core\": \"^7.17.5\",\n \"@babel/plugin-proposal-class-properties\": \"^7.16.7\",\n \"@babel/plugin-proposal-optional-chaining\": \"^7.16.7\",\n \"@babel/preset-env\": \"^7.16.11\",\n \"@react-native-community/eslint-config\": \"^0.0.5\",\n \"@testing-library/jest-native\": \"^4.0.4\",\n \"@testing-library/react-hooks\": \"^8.0.0\",\n \"@testing-library/react-native\": \"^7.1.0\",\n \"@types/babel-types\": \"^7.0.11\",\n \"@types/babel__core\": \"^7.1.18\",\n \"@types/babel__generator\": \"^7.6.4\",\n \"@types/babel__traverse\": \"^7.14.2\",\n \"@types/invariant\": \"^2.2.35\",\n \"@types/jest\": \"^27.4.0\",\n \"@types/react\": \"^18.0.26\",\n \"@typescript-eslint/eslint-plugin\": \"^5.11.0\",\n \"@typescript-eslint/parser\": \"^5.11.0\",\n \"babel-eslint\": \"^10.1.0\",\n \"babel-jest\": \"^27.5.1\",\n \"babel-plugin-module-resolver\": \"^4.1.0\",\n \"clang-format\": \"^1.6.0\",\n \"eslint\": \"^8.8.0\",\n \"eslint-config-prettier\": \"^8.3.0\",\n \"eslint-config-standard\": \"^16.0.3\",\n \"eslint-import-resolver-babel-module\": \"^5.3.1\",\n \"eslint-plugin-import\": \"^2.25.4\",\n \"eslint-plugin-node\": \"^11.1.0\",\n \"eslint-plugin-promise\": \"^6.0.0\",\n \"eslint-plugin-standard\": \"^5.0.0\",\n \"husky\": \"^7.0.4\",\n \"jest\": \"^27.5.1\",\n \"lint-staged\": \"^11.2.0\",\n \"madge\": \"^5.0.1\",\n \"prettier\": \"^2.5.1\",\n \"react\": \"17.0.2\",\n \"react-native\": \"0.71.0-rc.5\",\n \"react-native-builder-bob\": \"^0.18.3\",\n \"react-native-gesture-handler\": \"^2.4.2\",\n \"react-test-renderer\": \"17.0.2\",\n \"release-it\": \"^13.7.2\",\n \"typescript\": \"^4.1.3\"\n },\n \"lint-staged\": {\n \"*.(js|ts|tsx)\": [\n \"eslint --ext '.js,.ts,.tsx' src/ --ignore-pattern src/reanimated1 --ignore-pattern react-native-reanimated.d.ts --ignore-pattern docs\",\n \"prettier --write\"\n ],\n \"**/*.{h,cpp}\": \"yarn lint:cpp\",\n \"android/src/**/*.java\": \"yarn format:java\",\n \"android/src/**/*.{h,cpp}\": \"yarn format:android\",\n \"ios/**/*.{h,m,mm,cpp}\": \"yarn format:ios\",\n \"Common/**/*.{h,cpp}\": \"yarn format:common\",\n \"docs/**/*.{md,mdx}\": \"yarn lint:docs\"\n },\n \"release-it\": {\n \"hooks\": {\n \"before:git:bump\": [\n \"# check if version corresponds to changes in native files \\n if git diff --name-only ${latestVersion} HEAD | egrep '(android/.*)|(ios/.*)' -q ; then egrep '\\\\.0$' -q <<< ${version} ; else true ; fi ;\"\n ]\n }\n },\n \"react-native-builder-bob\": {\n \"source\": \"src\",\n \"output\": \"lib\",\n \"targets\": [\n \"commonjs\",\n \"module\",\n [\n \"typescript\",\n {\n \"project\": \"tsconfig.json\"\n }\n ]\n ]\n },\n \"sideEffects\": [\n \"./lib/reanimated2/core\",\n \"./lib/reanimated2/js-reanimated/global\",\n \"./lib/index\"\n ]\n}\n","import NativeReanimatedModule from './NativeReanimated';\nimport { ShareableRef } from './commonTypes';\nimport { shouldBeUseWeb } from './PlatformChecker';\nimport { registerWorkletStackDetails } from './errors';\n\n// for web/chrome debugger/jest environments this file provides a stub implementation\n// where no shareable references are used. Instead, the objects themselves are used\n// instead of shareable references, because of the fact that we don't have to deal with\n// runnning the code on separate VMs.\nconst USE_STUB_IMPLEMENTATION = shouldBeUseWeb();\n\nconst _shareableCache = new WeakMap<\n Record,\n ShareableRef | symbol\n>();\n// the below symbol is used to represent a mapping from the value to itself\n// this is used to allow for a converted shareable to be passed to makeShareableClone\nconst _shareableFlag = Symbol('shareable flag');\n\nexport function registerShareableMapping(\n shareable: any,\n shareableRef?: ShareableRef\n): void {\n if (USE_STUB_IMPLEMENTATION) {\n return;\n }\n _shareableCache.set(shareable, shareableRef || _shareableFlag);\n}\n\nexport function makeShareableShadowNodeWrapper(shadowNodeWrapper: T): T {\n const adoptedSNW =\n NativeReanimatedModule.makeShareableClone(shadowNodeWrapper);\n registerShareableMapping(shadowNodeWrapper, adoptedSNW);\n return shadowNodeWrapper;\n}\n\nexport function makeShareableCloneRecursive(value: any): ShareableRef {\n if (USE_STUB_IMPLEMENTATION) {\n return value;\n }\n // This one actually may be worth to be moved to c++, we also need similar logic to run on the UI thread\n const type = typeof value;\n if ((type === 'object' || type === 'function') && value !== null) {\n const cached = _shareableCache.get(value);\n if (cached === _shareableFlag) {\n return value;\n } else if (cached !== undefined) {\n return cached as ShareableRef;\n } else {\n let toAdapt: any;\n if (Array.isArray(value)) {\n toAdapt = value.map((element) => makeShareableCloneRecursive(element));\n } else if (type === 'function' && value.__workletHash === undefined) {\n // this is a remote function\n toAdapt = value;\n } else {\n if (__DEV__ && value.__workletHash !== undefined) {\n registerWorkletStackDetails(\n value.__workletHash,\n value.__stackDetails\n );\n }\n toAdapt = {};\n for (const [key, element] of Object.entries(value)) {\n toAdapt[key] = makeShareableCloneRecursive(element);\n }\n }\n if (__DEV__) {\n // we freeze objects that are transformed to shareable. This should help\n // detect issues when someone modifies data after it's been converted to\n // shareable. Meaning that they may be doing a faulty assumption in their\n // code expecting that the updates are going to automatically populate to\n // the object sent to the UI thread. If the user really wants some objects\n // to be mutable they should use share values instead.\n Object.freeze(value);\n }\n const adopted = NativeReanimatedModule.makeShareableClone(toAdapt);\n _shareableCache.set(value, adopted);\n _shareableCache.set(adopted, _shareableFlag);\n return adopted;\n }\n }\n return NativeReanimatedModule.makeShareableClone(value);\n}\n\nexport function makeShareableCloneOnUIRecursive(value: T): ShareableRef {\n 'worklet';\n if (USE_STUB_IMPLEMENTATION) {\n // @ts-ignore web is an interesting place where we don't run a secondary VM on the UI thread\n // see more details in the comment where USE_STUB_IMPLEMENTATION is defined.\n return value;\n }\n function cloneRecursive(value: T): ShareableRef {\n const type = typeof value;\n if ((type === 'object' || type === 'function') && value !== null) {\n let toAdapt: any;\n if (Array.isArray(value)) {\n toAdapt = value.map((element) => cloneRecursive(element));\n } else {\n toAdapt = {};\n for (const [key, element] of Object.entries(value)) {\n toAdapt[key] = cloneRecursive(element);\n }\n }\n if (__DEV__) {\n // See the reasoning behind freezing in the other comment above.\n Object.freeze(value);\n }\n return _makeShareableClone(toAdapt);\n }\n return _makeShareableClone(value);\n }\n return cloneRecursive(value);\n}\n\nexport function makeShareable(value: T): T {\n if (USE_STUB_IMPLEMENTATION) {\n return value;\n }\n const handle = makeShareableCloneRecursive({\n __init: () => {\n 'worklet';\n return value;\n },\n });\n registerShareableMapping(value, handle);\n return value;\n}\n","import NativeReanimatedModule from './NativeReanimated';\nimport { SharedValue, ShareableSyncDataHolderRef } from './commonTypes';\nimport {\n makeShareableCloneOnUIRecursive,\n makeShareableCloneRecursive,\n registerShareableMapping,\n} from './shareables';\nimport { runOnUI } from './threads';\nimport { valueSetter } from './valueSetter';\nexport { stopMapper } from './mappers';\n\nexport function makeUIMutable(\n initial: T,\n syncDataHolder?: ShareableSyncDataHolderRef\n) {\n 'worklet';\n\n const listeners = new Map();\n let value = initial;\n\n const self = {\n set value(newValue) {\n valueSetter(self, newValue);\n },\n get value() {\n return value;\n },\n /**\n * _value prop should only be accessed by the valueSetter implementation\n * which may make the decision about updating the mutable value depending\n * on the provided new value. All other places should only attempt to modify\n * the mutable by assigning to value prop directly.\n */\n set _value(newValue: T) {\n value = newValue;\n if (syncDataHolder) {\n _updateDataSynchronously(\n syncDataHolder,\n makeShareableCloneOnUIRecursive(newValue)\n );\n }\n listeners.forEach((listener) => {\n listener(newValue);\n });\n },\n get _value(): T {\n return value;\n },\n addListener: (id: number, listener: (newValue: T) => void) => {\n listeners.set(id, listener);\n },\n removeListener: (id: number) => {\n listeners.delete(id);\n },\n _animation: null,\n };\n return self;\n}\n\nexport function makeMutable(\n initial: T,\n oneWayReadsOnly = false\n): SharedValue {\n let value: T = initial;\n let syncDataHolder: ShareableSyncDataHolderRef | undefined;\n if (!oneWayReadsOnly && NativeReanimatedModule.native) {\n // updates are always synchronous when running on web or in Jest environment\n syncDataHolder = NativeReanimatedModule.makeSynchronizedDataHolder(\n makeShareableCloneRecursive(value)\n );\n registerShareableMapping(syncDataHolder);\n }\n const handle = makeShareableCloneRecursive({\n __init: () => {\n 'worklet';\n return makeUIMutable(initial, syncDataHolder);\n },\n });\n // listeners can only work on JS thread on Web and jest environments\n const listeners = NativeReanimatedModule.native ? undefined : new Map();\n const mutable = {\n set value(newValue) {\n if (NativeReanimatedModule.native) {\n runOnUI(() => {\n 'worklet';\n mutable.value = newValue;\n })();\n } else {\n valueSetter(mutable, newValue);\n }\n },\n get value() {\n if (syncDataHolder) {\n return NativeReanimatedModule.getDataSynchronously(syncDataHolder);\n }\n return value;\n },\n set _value(newValue: T) {\n if (NativeReanimatedModule.native) {\n throw new Error(\n 'Setting `_value` directly is only possible on the UI runtime'\n );\n }\n value = newValue;\n listeners!.forEach((listener) => {\n listener(newValue);\n });\n },\n get _value(): T {\n if (NativeReanimatedModule.native) {\n throw new Error(\n 'Reading from `_value` directly is only possible on the UI runtime'\n );\n }\n return value;\n },\n modify: (modifier: (value: T) => T) => {\n runOnUI(() => {\n 'worklet';\n mutable.value = modifier(mutable.value);\n })();\n },\n addListener: (id: number, listener: (value: T) => void) => {\n if (NativeReanimatedModule.native) {\n throw new Error('adding listeners is only possible on the UI runtime');\n }\n listeners!.set(id, listener);\n },\n removeListener: (id: number) => {\n if (NativeReanimatedModule.native) {\n throw new Error(\n 'removing listeners is only possible on the UI runtime'\n );\n }\n listeners!.delete(id);\n },\n };\n registerShareableMapping(mutable, handle);\n return mutable;\n}\n\nexport function makeRemote(initial: T = {} as T): T {\n const handle = makeShareableCloneRecursive({\n __init: () => {\n 'worklet';\n return initial;\n },\n });\n registerShareableMapping(initial, handle);\n return initial;\n}\n","import { AnimationObject, AnimatableValue } from './commonTypes';\nimport { Descriptor } from './hook/commonTypes';\nimport { getTimestamp } from './time';\nexport { stopMapper } from './mappers';\n\nexport function valueSetter(sv: any, value: any): void {\n 'worklet';\n const previousAnimation = sv._animation;\n if (previousAnimation) {\n previousAnimation.cancelled = true;\n sv._animation = null;\n }\n if (\n typeof value === 'function' ||\n (value !== null &&\n typeof value === 'object' &&\n (value as AnimationObject).onFrame !== undefined)\n ) {\n const animation: AnimationObject =\n typeof value === 'function'\n ? (value as () => AnimationObject)()\n : (value as AnimationObject);\n // prevent setting again to the same value\n // and triggering the mappers that treat this value as an input\n // this happens when the animation's target value(stored in animation.current until animation.onStart is called) is set to the same value as a current one(this._value)\n // built in animations that are not higher order(withTiming, withSpring) hold target value in .current\n if (sv._value === animation.current && !animation.isHigherOrder) {\n animation.callback && animation.callback(true);\n return;\n }\n // animated set\n const initializeAnimation = (timestamp: number) => {\n animation.onStart(animation, sv.value, timestamp, previousAnimation);\n };\n const currentTimestamp = getTimestamp();\n initializeAnimation(currentTimestamp);\n const step = (timestamp: number) => {\n if (animation.cancelled) {\n animation.callback && animation.callback(false /* finished */);\n return;\n }\n const finished = animation.onFrame(animation, timestamp);\n animation.finished = true;\n animation.timestamp = timestamp;\n sv._value = animation.current;\n if (finished) {\n animation.callback && animation.callback(true /* finished */);\n } else {\n requestAnimationFrame(step);\n }\n };\n\n sv._animation = animation;\n\n step(currentTimestamp);\n } else {\n // prevent setting again to the same value\n // and triggering the mappers that treat this value as an input\n if (sv._value === value) {\n return;\n }\n sv._value = value as Descriptor | AnimatableValue;\n }\n}\n","import { reportFatalErrorOnJS } from './errors';\nimport NativeReanimatedModule from './NativeReanimated';\nimport { isJest } from './PlatformChecker';\nimport { runOnUI, runOnJS } from './threads';\n\n// callGuard is only used with debug builds\nfunction callGuardDEV, U>(\n fn: (...args: T) => U,\n ...args: T\n): void {\n 'worklet';\n try {\n fn(...args);\n } catch (e) {\n if (global.ErrorUtils) {\n global.ErrorUtils.reportFatalError(e as Error);\n } else {\n throw e;\n }\n }\n}\n\nfunction valueUnpacker(objectToUnpack: any, category?: string): any {\n 'worklet';\n let workletsCache = global.__workletsCache;\n let handleCache = global.__handleCache;\n if (workletsCache === undefined) {\n // init\n workletsCache = global.__workletsCache = new Map();\n handleCache = global.__handleCache = new WeakMap();\n }\n if (objectToUnpack.__workletHash) {\n let workletFun = workletsCache.get(objectToUnpack.__workletHash);\n if (workletFun === undefined) {\n if (global.evalWithSourceMap) {\n // if the runtime (hermes only for now) supports loading source maps\n // we want to use the proper filename for the location as it guarantees\n // that debugger understands and loads the source code of the file where\n // the worklet is defined.\n workletFun = global.evalWithSourceMap(\n '(' + objectToUnpack.asString + '\\n)',\n objectToUnpack.__location,\n objectToUnpack.__sourceMap\n ) as (...args: any[]) => any;\n } else if (global.evalWithSourceUrl) {\n // if the runtime doesn't support loading source maps, in dev mode we\n // can pass source url when evaluating the worklet. Now, instead of using\n // the actual file location we use worklet hash, as it the allows us to\n // properly symbolicate traces (see errors.ts for details)\n workletFun = global.evalWithSourceUrl(\n '(' + objectToUnpack.asString + '\\n)',\n `worklet_${objectToUnpack.__workletHash}`\n ) as (...args: any[]) => any;\n } else {\n // in release we use the regular eval to save on JSI calls\n // eslint-disable-next-line no-eval\n workletFun = eval('(' + objectToUnpack.asString + '\\n)') as (\n ...args: any[]\n ) => any;\n }\n workletsCache.set(objectToUnpack.__workletHash, workletFun);\n }\n const functionInstance = workletFun.bind(objectToUnpack);\n objectToUnpack._recur = functionInstance;\n return functionInstance;\n } else if (objectToUnpack.__init) {\n let value = handleCache!.get(objectToUnpack);\n if (value === undefined) {\n value = objectToUnpack.__init();\n handleCache!.set(objectToUnpack, value);\n }\n return value;\n } else if (category === 'RemoteFunction') {\n const fun = () => {\n throw new Error(`Tried to synchronously call a non-worklet function on the UI thread.\n\nPossible solutions are:\n a) If you want to synchronously execute this method, mark it as a worklet\n b) If you want to execute this function on the JS thread, wrap it using \\`runOnJS\\``);\n };\n fun.__remoteFunction = objectToUnpack;\n return fun;\n } else {\n throw new Error('data type not recognized by unpack method');\n }\n}\n\nexport function initializeUIRuntime() {\n NativeReanimatedModule.installCoreFunctions(callGuardDEV, valueUnpacker);\n\n const IS_JEST = isJest();\n\n const capturableConsole = console;\n runOnUI(() => {\n 'worklet';\n // setup error handler\n global.ErrorUtils = {\n reportFatalError: (error: Error) => {\n runOnJS(reportFatalErrorOnJS)({\n message: error.message,\n stack: error.stack,\n });\n },\n };\n\n // setup console\n // @ts-ignore TypeScript doesn't like that there are missing methods in console object, but we don't provide all the methods for the UI runtime console version\n global.console = {\n debug: runOnJS(capturableConsole.debug),\n log: runOnJS(capturableConsole.log),\n warn: runOnJS(capturableConsole.warn),\n error: runOnJS(capturableConsole.error),\n info: runOnJS(capturableConsole.info),\n };\n\n if (!IS_JEST) {\n // Jest mocks requestAnimationFrame API and it does not like if that mock gets overridden\n // so we avoid doing requestAnimationFrame batching in Jest environment.\n const nativeRequestAnimationFrame = global.requestAnimationFrame;\n let callbacks: Array<(time: number) => void> = [];\n global.requestAnimationFrame = (\n callback: (timestamp: number) => void\n ): number => {\n callbacks.push(callback);\n if (callbacks.length === 1) {\n // We schedule native requestAnimationFrame only when the first callback\n // is added and then use it to execute all the enqueued callbacks. Once\n // the callbacks are run, we clear the array.\n nativeRequestAnimationFrame((timestamp) => {\n const currentCallbacks = callbacks;\n callbacks = [];\n currentCallbacks.forEach((f) => f(timestamp));\n });\n }\n // Reanimated currently does not support cancelling calbacks requested with\n // requestAnimationFrame. We return -1 as identifier which isn't in line\n // with the spec but it should give users better clue in case they actually\n // attempt to store the value returned from rAF and use it for cancelling.\n return -1;\n };\n }\n })();\n}\n","type StackDetails = [Error, number, number];\n\nconst _workletStackDetails = new Map();\n\nexport function registerWorkletStackDetails(\n hash: number,\n stackDetails: StackDetails\n) {\n _workletStackDetails.set(hash, stackDetails);\n}\n\nfunction getBundleOffset(error: Error): [string, number, number] {\n const frame = error.stack?.split('\\n')?.[0];\n if (frame) {\n const parsedFrame = /@([^@]+):(\\d+):(\\d+)/.exec(frame);\n if (parsedFrame) {\n const [, file, line, col] = parsedFrame;\n return [file, Number(line), Number(col)];\n }\n }\n return ['unknown', 0, 0];\n}\n\nfunction processStack(stack: string): string {\n const workletStackEntries = stack.match(/worklet_(\\d+):(\\d+):(\\d+)/g);\n let result = stack;\n workletStackEntries?.forEach((match) => {\n const [, hash, origLine, origCol] = match.split(/:|_/).map(Number);\n const errorDetails = _workletStackDetails.get(hash);\n if (!errorDetails) {\n return;\n }\n const [error, lineOffset, colOffset] = errorDetails;\n const [bundleFile, bundleLine, bundleCol] = getBundleOffset(error);\n const line = origLine + bundleLine + lineOffset;\n const col = origCol + bundleCol + colOffset;\n\n result = result.replace(match, `${bundleFile}:${line}:${col}`);\n });\n return result;\n}\n\nexport function reportFatalErrorOnJS({\n message,\n stack,\n}: {\n message: string;\n stack?: string;\n}) {\n const error = new Error();\n error.message = message;\n error.stack = stack ? processStack(stack) : undefined;\n error.name = 'ReanimatedError';\n // @ts-ignore React Native's ErrorUtils implementation extends the Error type with jsEngine field\n error.jsEngine = 'reanimated';\n global.ErrorUtils.reportFatalError(error);\n}\n","import React, { Component, ComponentType, MutableRefObject, Ref } from 'react';\nimport { findNodeHandle, Platform, StyleSheet } from 'react-native';\nimport WorkletEventHandler from './reanimated2/WorkletEventHandler';\nimport setAndForwardRef from './setAndForwardRef';\nimport './reanimated2/layoutReanimation/animationsManager';\nimport invariant from 'invariant';\nimport { adaptViewConfig } from './ConfigHelper';\nimport { RNRenderer } from './reanimated2/platform-specific/RNRenderer';\nimport {\n configureLayoutAnimations,\n enableLayoutAnimations,\n runOnUI,\n} from './reanimated2/core';\nimport {\n isJest,\n isChromeDebugger,\n shouldBeUseWeb,\n} from './reanimated2/PlatformChecker';\nimport { initialUpdaterRun } from './reanimated2/animation';\nimport {\n BaseAnimationBuilder,\n EntryExitAnimationFunction,\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from './reanimated2/layoutReanimation';\nimport {\n SharedValue,\n StyleProps,\n ShadowNodeWrapper,\n} from './reanimated2/commonTypes';\nimport {\n ViewDescriptorsSet,\n ViewRefSet,\n} from './reanimated2/ViewDescriptorsSet';\nimport { getShadowNodeWrapperFromRef } from './reanimated2/fabricUtils';\nimport { makeShareableShadowNodeWrapper } from './reanimated2/shareables';\n\nfunction dummyListener() {\n // empty listener we use to assign to listener properties for which animated\n // event is used.\n}\n\nfunction maybeBuild(\n layoutAnimationOrBuilder:\n | ILayoutAnimationBuilder\n | LayoutAnimationFunction\n | Keyframe\n): LayoutAnimationFunction | Keyframe {\n const isAnimationBuilder = (\n value: ILayoutAnimationBuilder | LayoutAnimationFunction | Keyframe\n ): value is ILayoutAnimationBuilder =>\n 'build' in layoutAnimationOrBuilder &&\n typeof layoutAnimationOrBuilder.build === 'function';\n\n if (isAnimationBuilder(layoutAnimationOrBuilder)) {\n return layoutAnimationOrBuilder.build();\n } else {\n return layoutAnimationOrBuilder;\n }\n}\n\ntype NestedArray = T | NestedArray[];\nfunction flattenArray(array: NestedArray): T[] {\n if (!Array.isArray(array)) {\n return [array];\n }\n const resultArr: T[] = [];\n\n const _flattenArray = (arr: NestedArray[]): void => {\n arr.forEach((item) => {\n if (Array.isArray(item)) {\n _flattenArray(item);\n } else {\n resultArr.push(item);\n }\n });\n };\n _flattenArray(array);\n return resultArr;\n}\n\nfunction onlyAnimatedStyles(styles: StyleProps[]) {\n return styles.filter((style) => style?.viewDescriptors);\n}\n\nfunction isSameAnimatedStyle(\n style1?: StyleProps,\n style2?: StyleProps\n): boolean {\n // We cannot use equality check to compare useAnimatedStyle outputs directly.\n // Instead, we can compare its viewsRefs.\n return style1?.viewsRef === style2?.viewsRef;\n}\n\nconst isSameAnimatedProps = isSameAnimatedStyle;\n\nconst has = (\n key: K,\n x: unknown\n): x is { [key in K]: unknown } => {\n if (typeof x === 'function' || typeof x === 'object') {\n if (x === null || x === undefined) {\n return false;\n } else {\n return key in x;\n }\n }\n return false;\n};\n\ninterface AnimatedProps extends Record {\n viewDescriptors?: ViewDescriptorsSet;\n viewsRef?: ViewRefSet;\n initial?: SharedValue;\n}\n\nexport type AnimatedComponentProps

> = P & {\n forwardedRef?: Ref;\n style?: NestedArray;\n animatedProps?: Partial>;\n animatedStyle?: StyleProps;\n layout?:\n | BaseAnimationBuilder\n | ILayoutAnimationBuilder\n | typeof BaseAnimationBuilder;\n entering?:\n | BaseAnimationBuilder\n | typeof BaseAnimationBuilder\n | EntryExitAnimationFunction\n | Keyframe;\n exiting?:\n | BaseAnimationBuilder\n | typeof BaseAnimationBuilder\n | EntryExitAnimationFunction\n | Keyframe;\n};\n\ntype Options

= {\n setNativeProps: (ref: ComponentRef, props: P) => void;\n};\n\ninterface ComponentRef extends Component {\n setNativeProps?: (props: Record) => void;\n getScrollableNode?: () => ComponentRef;\n}\n\nexport interface InitialComponentProps extends Record {\n ref?: Ref;\n collapsable?: boolean;\n}\n\nexport default function createAnimatedComponent(\n Component: ComponentType,\n options?: Options\n): ComponentType> {\n invariant(\n typeof Component !== 'function' ||\n (Component.prototype && Component.prototype.isReactComponent),\n '`createAnimatedComponent` does not support stateless functional components; ' +\n 'use a class component instead.'\n );\n\n class AnimatedComponent extends React.Component<\n AnimatedComponentProps\n > {\n _styles: StyleProps[] | null = null;\n _animatedProps?: Partial>;\n _viewTag = -1;\n _isFirstRender = true;\n animatedStyle: { value: StyleProps } = { value: {} };\n initialStyle = {};\n _component: ComponentRef | null = null;\n static displayName: string;\n\n constructor(props: AnimatedComponentProps) {\n super(props);\n if (isJest()) {\n this.animatedStyle = { value: {} };\n }\n }\n\n componentWillUnmount() {\n this._detachNativeEvents();\n this._detachStyles();\n }\n\n componentDidMount() {\n this._attachNativeEvents();\n this._attachAnimatedStyles();\n }\n\n _attachNativeEvents() {\n let viewTag = findNodeHandle(this);\n\n const componentName = Component.displayName || Component.name;\n\n if (componentName?.endsWith('FlashList') && this._component) {\n // @ts-ignore it's FlashList specific: https://github.com/Shopify/flash-list/blob/218f314e63806b4fe926741ef73f8b9cd6ebc7eb/src/FlashList.tsx#L824\n viewTag = findNodeHandle(this._component.recyclerlistview_unsafe);\n }\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n prop.current.registerForEvents(viewTag as number, key);\n }\n }\n }\n\n _detachNativeEvents() {\n for (const key in this.props) {\n const prop = this.props[key];\n if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n prop.current.unregisterFromEvents();\n }\n }\n }\n\n _detachStyles() {\n if (Platform.OS === 'web' && this._styles !== null) {\n for (const style of this._styles) {\n if (style?.viewsRef) {\n style.viewsRef.remove(this);\n }\n }\n } else if (this._viewTag !== -1 && this._styles !== null) {\n for (const style of this._styles) {\n style.viewDescriptors.remove(this._viewTag);\n }\n if (this.props.animatedProps?.viewDescriptors) {\n this.props.animatedProps.viewDescriptors.remove(this._viewTag);\n }\n if (global._IS_FABRIC) {\n const shadowNodeWrapper = getShadowNodeWrapperFromRef(this);\n runOnUI(() => {\n 'worklet';\n _removeShadowNodeFromRegistry(shadowNodeWrapper);\n })();\n }\n }\n }\n\n _reattachNativeEvents(\n prevProps: AnimatedComponentProps\n ) {\n let viewTag: number | undefined;\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler\n ) {\n if (viewTag === undefined) {\n viewTag = prop.current.viewTag;\n }\n }\n }\n for (const key in prevProps) {\n const prop = this.props[key];\n if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler &&\n prop.current.reattachNeeded\n ) {\n prop.current.unregisterFromEvents();\n }\n }\n\n for (const key in this.props) {\n const prop = this.props[key];\n if (\n has('current', prop) &&\n prop.current instanceof WorkletEventHandler &&\n prop.current.reattachNeeded\n ) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n prop.current.registerForEvents(viewTag!, key);\n prop.current.reattachNeeded = false;\n }\n }\n }\n\n _updateFromNative(props: StyleProps) {\n if (options?.setNativeProps) {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n options.setNativeProps(this._component!, props);\n } else {\n // eslint-disable-next-line no-unused-expressions\n this._component?.setNativeProps?.(props);\n }\n }\n\n _attachAnimatedStyles() {\n const styles = this.props.style\n ? onlyAnimatedStyles(flattenArray(this.props.style))\n : [];\n const prevStyles = this._styles;\n this._styles = styles;\n\n const prevAnimatedProps = this._animatedProps;\n this._animatedProps = this.props.animatedProps;\n\n let viewTag: number | null;\n let viewName: string | null;\n let shadowNodeWrapper: ShadowNodeWrapper | null = null;\n if (Platform.OS === 'web') {\n viewTag = findNodeHandle(this);\n viewName = null;\n shadowNodeWrapper = null;\n } else {\n // hostInstance can be null for a component that doesn't render anything (render function returns null). Example: svg Stop: https://github.com/react-native-svg/react-native-svg/blob/develop/src/elements/Stop.tsx\n const hostInstance = RNRenderer.findHostInstance_DEPRECATED(this);\n if (!hostInstance) {\n throw new Error(\n 'Cannot find host instance for this component. Maybe it renders nothing?'\n );\n }\n // we can access view tag in the same way it's accessed here https://github.com/facebook/react/blob/e3f4eb7272d4ca0ee49f27577156b57eeb07cf73/packages/react-native-renderer/src/ReactFabric.js#L146\n viewTag = hostInstance?._nativeTag;\n /**\n * RN uses viewConfig for components for storing different properties of the component(example: https://github.com/facebook/react-native/blob/master/Libraries/Components/ScrollView/ScrollViewViewConfig.js#L16).\n * The name we're looking for is in the field named uiViewClassName.\n */\n viewName = hostInstance?.viewConfig?.uiViewClassName;\n // update UI props whitelist for this view\n const hasReanimated2Props =\n this.props.animatedProps?.viewDescriptors || styles.length;\n if (hasReanimated2Props && hostInstance?.viewConfig) {\n adaptViewConfig(hostInstance.viewConfig);\n }\n\n if (global._IS_FABRIC) {\n shadowNodeWrapper = makeShareableShadowNodeWrapper(\n getShadowNodeWrapperFromRef(this)\n );\n }\n }\n this._viewTag = viewTag as number;\n\n // remove old styles\n if (prevStyles) {\n // in most of the cases, views have only a single animated style and it remains unchanged\n const hasOneSameStyle =\n styles.length === 1 &&\n prevStyles.length === 1 &&\n isSameAnimatedStyle(styles[0], prevStyles[0]);\n\n if (!hasOneSameStyle) {\n // otherwise, remove each style that is not present in new styles\n for (const prevStyle of prevStyles) {\n const isPresent = styles.some((style) =>\n isSameAnimatedStyle(style, prevStyle)\n );\n if (!isPresent) {\n prevStyle.viewDescriptors.remove(viewTag);\n }\n }\n }\n }\n\n styles.forEach((style) => {\n style.viewDescriptors.add({\n tag: viewTag,\n name: viewName,\n shadowNodeWrapper,\n });\n if (isJest()) {\n /**\n * We need to connect Jest's TestObject instance whose contains just props object\n * with the updateProps() function where we update the properties of the component.\n * We can't update props object directly because TestObject contains a copy of props - look at render function:\n * const props = this._filterNonAnimatedProps(this.props);\n */\n this.animatedStyle.value = {\n ...this.animatedStyle.value,\n ...style.initial.value,\n };\n style.animatedStyle.current = this.animatedStyle;\n }\n });\n\n // detach old animatedProps\n if (\n prevAnimatedProps &&\n !isSameAnimatedProps(prevAnimatedProps, this.props.animatedProps)\n ) {\n prevAnimatedProps.viewDescriptors!.remove(viewTag as number);\n }\n\n // attach animatedProps property\n if (this.props.animatedProps?.viewDescriptors) {\n this.props.animatedProps.viewDescriptors.add({\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n tag: viewTag!,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n name: viewName!,\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n shadowNodeWrapper: shadowNodeWrapper!,\n });\n }\n }\n\n componentDidUpdate(\n prevProps: AnimatedComponentProps\n ) {\n this._reattachNativeEvents(prevProps);\n this._attachAnimatedStyles();\n }\n\n _setComponentRef = setAndForwardRef({\n getForwardedRef: () =>\n this.props.forwardedRef as MutableRefObject<\n Component, Record, unknown>\n >,\n setLocalRef: (ref) => {\n // TODO update config\n const tag = findNodeHandle(ref);\n const { layout, entering, exiting } = this.props;\n if ((layout || entering || exiting) && tag != null) {\n if (!shouldBeUseWeb()) {\n enableLayoutAnimations(true, false);\n }\n if (layout) {\n configureLayoutAnimations(tag, 'layout', maybeBuild(layout));\n }\n if (entering) {\n configureLayoutAnimations(tag, 'entering', maybeBuild(entering));\n }\n if (exiting) {\n configureLayoutAnimations(tag, 'exiting', maybeBuild(exiting));\n }\n }\n\n if (ref !== this._component) {\n this._component = ref;\n }\n },\n });\n\n _filterNonAnimatedProps(\n inputProps: AnimatedComponentProps\n ): Record {\n const props: Record = {};\n for (const key in inputProps) {\n const value = inputProps[key];\n if (key === 'style') {\n const styleProp = inputProps.style;\n const styles = flattenArray(styleProp ?? []);\n const processedStyle: StyleProps = styles.map((style) => {\n if (style && style.viewDescriptors) {\n // this is how we recognize styles returned by useAnimatedStyle\n style.viewsRef.add(this);\n if (this._isFirstRender) {\n this.initialStyle = {\n ...style.initial.value,\n ...initialUpdaterRun(style.initial.updater),\n };\n }\n return this.initialStyle;\n } else {\n return style;\n }\n });\n props[key] = StyleSheet.flatten(processedStyle);\n } else if (key === 'animatedProps') {\n const animatedProp = inputProps.animatedProps as Partial<\n AnimatedComponentProps\n >;\n if (animatedProp.initial !== undefined) {\n Object.keys(animatedProp.initial.value).forEach((key) => {\n props[key] = animatedProp.initial?.value[key];\n animatedProp.viewsRef?.add(this);\n });\n }\n } else if (\n has('current', value) &&\n value.current instanceof WorkletEventHandler\n ) {\n if (value.current.eventNames.length > 0) {\n value.current.eventNames.forEach((eventName) => {\n props[eventName] = has('listeners', value.current)\n ? (value.current.listeners as Record)[\n eventName\n ]\n : dummyListener;\n });\n } else {\n props[key] = dummyListener;\n }\n } else if (\n key !== 'onGestureHandlerStateChange' ||\n !isChromeDebugger()\n ) {\n props[key] = value;\n }\n }\n return props;\n }\n\n render() {\n const props = this._filterNonAnimatedProps(this.props);\n if (isJest()) {\n props.animatedStyle = this.animatedStyle;\n }\n\n if (this._isFirstRender) {\n this._isFirstRender = false;\n }\n\n const platformProps = Platform.select({\n web: {},\n default: { collapsable: false },\n });\n return (\n \n );\n }\n }\n\n AnimatedComponent.displayName = `AnimatedComponent(${\n Component.displayName || Component.name || 'Component'\n })`;\n\n return React.forwardRef((props, ref) => {\n return (\n \n );\n });\n}\n","import { NativeEvent } from './commonTypes';\nimport NativeReanimatedModule from './NativeReanimated';\nimport { registerEventHandler, unregisterEventHandler } from './core';\n\nfunction jsListener>(\n eventName: string,\n handler: (event: T) => void\n) {\n return (evt: T) => {\n handler({ ...evt.nativeEvent, eventName });\n };\n}\n\nexport default class WorkletEventHandler> {\n worklet: (event: T) => void;\n eventNames: string[];\n reattachNeeded: boolean;\n listeners: Record void>;\n viewTag: number | undefined;\n registrations: string[];\n constructor(worklet: (event: T) => void, eventNames: string[] = []) {\n this.worklet = worklet;\n this.eventNames = eventNames;\n this.reattachNeeded = false;\n this.listeners = {};\n this.viewTag = undefined;\n this.registrations = [];\n\n if (!NativeReanimatedModule.native) {\n this.listeners = eventNames.reduce(\n (acc: Record void>, eventName: string) => {\n acc[eventName] = jsListener(eventName, worklet);\n return acc;\n },\n {}\n );\n }\n }\n\n updateWorklet(newWorklet: (event: T) => void): void {\n this.worklet = newWorklet;\n this.reattachNeeded = true;\n }\n\n registerForEvents(viewTag: number, fallbackEventName?: string): void {\n this.viewTag = viewTag;\n this.registrations = this.eventNames.map((eventName) =>\n registerEventHandler(viewTag + eventName, this.worklet)\n );\n if (this.registrations.length === 0 && fallbackEventName) {\n this.registrations.push(\n registerEventHandler(viewTag + fallbackEventName, this.worklet)\n );\n }\n }\n\n unregisterFromEvents(): void {\n this.registrations.forEach((id) => unregisterEventHandler(id));\n this.registrations = [];\n }\n}\n","/**\n * imported from react-native\n */\n\nimport { MutableRefObject } from 'react';\n\n/**\n * This is a helper function for when a component needs to be able to forward a ref\n * to a child component, but still needs to have access to that component as part of\n * its implementation.\n *\n * Its main use case is in wrappers for native components.\n *\n * Usage:\n *\n * class MyView extends React.Component {\n * _nativeRef = null;\n *\n * _setNativeRef = setAndForwardRef({\n * getForwardedRef: () => this.props.forwardedRef,\n * setLocalRef: ref => {\n * this._nativeRef = ref;\n * },\n * });\n *\n * render() {\n * return ;\n * }\n * }\n *\n * const MyViewWithRef = React.forwardRef((props, ref) => (\n * \n * ));\n *\n * module.exports = MyViewWithRef;\n */\n\nexport type ForwardedRef = () => MutableRefObject | ((ref: T) => void);\n\nfunction setAndForwardRef({\n getForwardedRef,\n setLocalRef,\n}: {\n getForwardedRef: ForwardedRef;\n setLocalRef: (ref: T) => void;\n}): (ref: T) => void {\n return function forwardRef(ref: T) {\n const forwardedRef = getForwardedRef();\n\n setLocalRef(ref);\n\n // Forward to user ref prop (if one has been specified)\n if (typeof forwardedRef === 'function') {\n // Handle function-based refs. String-based refs are handled as functions.\n forwardedRef(ref);\n } else if (typeof forwardedRef === 'object' && forwardedRef != null) {\n // Handle createRef-based refs\n forwardedRef.current = ref;\n }\n };\n}\n\nexport default setAndForwardRef;\n","import { runOnUI } from '../core';\nimport { withStyleAnimation } from '../animation/styleAnimation';\nimport { SharedValue } from '../commonTypes';\nimport { makeUIMutable } from '../mutables';\nimport {\n LayoutAnimationFunction,\n LayoutAnimationsValues,\n} from './animationBuilder';\n\nconst TAG_OFFSET = 1e9;\n\nfunction startObservingProgress(\n tag: number,\n sharedValue: SharedValue\n): void {\n 'worklet';\n sharedValue.addListener(tag + TAG_OFFSET, () => {\n _notifyAboutProgress(tag, sharedValue.value);\n });\n}\n\nfunction stopObservingProgress(\n tag: number,\n sharedValue: SharedValue,\n cancelled: boolean,\n removeView: boolean\n): void {\n 'worklet';\n sharedValue.removeListener(tag + TAG_OFFSET);\n _notifyAboutEnd(tag, cancelled, removeView);\n}\n\nfunction createLayoutAnimationManager() {\n 'worklet';\n const enteringAnimationForTag = new Map();\n const mutableValuesForTag = new Map();\n\n return {\n start(\n tag: number,\n type: string,\n yogaValues: LayoutAnimationsValues,\n config: LayoutAnimationFunction\n ) {\n const style = config(yogaValues);\n let currentAnimation = style.animations;\n\n if (type === 'entering') {\n enteringAnimationForTag.set(tag, currentAnimation);\n } else if (type === 'layout') {\n // When layout animation is requested, but entering is still running, we merge\n // new layout animation targets into the ongoing animation\n const enteringAnimation = enteringAnimationForTag.get(tag);\n if (enteringAnimation) {\n currentAnimation = { ...enteringAnimation, ...style.animations };\n }\n }\n\n let value = mutableValuesForTag.get(tag);\n if (value === undefined) {\n value = makeUIMutable(style.initialValues);\n mutableValuesForTag.set(tag, value);\n } else {\n stopObservingProgress(tag, value, false, false);\n value._value = style.initialValues;\n }\n\n // @ts-ignore The line below started failing because I added types to the method – don't have time to fix it right now\n const animation = withStyleAnimation(currentAnimation);\n\n animation.callback = (finished?: boolean) => {\n if (finished) {\n enteringAnimationForTag.delete(tag);\n mutableValuesForTag.delete(tag);\n const shouldRemoveView = type === 'exiting';\n stopObservingProgress(tag, value, finished, shouldRemoveView);\n }\n style.callback &&\n style.callback(finished === undefined ? false : finished);\n };\n\n startObservingProgress(tag, value);\n value.value = animation;\n },\n };\n}\n\nrunOnUI(() => {\n 'worklet';\n global.LayoutAnimationsManager = createLayoutAnimationManager();\n})();\n","import { defineAnimation } from './util';\nimport {\n Timestamp,\n AnimatableValue,\n AnimationObject,\n Animation,\n AnimatedStyle,\n NestedObject,\n NestedObjectValues,\n} from '../commonTypes';\nimport { StyleLayoutAnimation } from './commonTypes';\nimport { withTiming } from './timing';\nimport { ColorProperties } from '../UpdateProps';\nimport { processColor } from '../Colors';\n\n// resolves path to value for nested objects\n// if path cannot be resolved returns undefined\nexport function resolvePath(\n obj: NestedObject,\n path: AnimatableValue[] | AnimatableValue\n): NestedObjectValues | undefined {\n 'worklet';\n const keys: AnimatableValue[] = Array.isArray(path) ? path : [path];\n return keys.reduce | undefined>((acc, current) => {\n if (Array.isArray(acc) && typeof current === 'number') {\n return acc[current];\n } else if (typeof acc === 'object' && (current as number | string) in acc) {\n return (acc as { [key: string]: NestedObjectValues })[\n current as number | string\n ];\n }\n return undefined;\n }, obj);\n}\n\n// set value at given path\ntype Path = Array | string | number;\nexport function setPath(\n obj: NestedObject,\n path: Path,\n value: NestedObjectValues\n): void {\n 'worklet';\n const keys: Path = Array.isArray(path) ? path : [path];\n let currObj: NestedObjectValues = obj;\n for (let i = 0; i < keys.length - 1; i++) {\n // creates entry if there isn't one\n currObj = currObj as { [key: string]: NestedObjectValues };\n if (!currObj[keys[i]]) {\n // if next key is a number create an array\n if (typeof keys[i + 1] === 'number') {\n currObj[keys[i]] = [];\n } else {\n currObj[keys[i]] = {};\n }\n }\n currObj = currObj[keys[i]];\n }\n\n (currObj as { [key: string]: NestedObjectValues })[keys[keys.length - 1]] =\n value;\n}\n\ninterface NestedObjectEntry {\n value: NestedObjectValues;\n path: (string | number)[];\n}\n\nexport function withStyleAnimation(\n styleAnimations: AnimatedStyle\n): StyleLayoutAnimation {\n 'worklet';\n return defineAnimation({}, () => {\n 'worklet';\n\n const onFrame = (\n animation: StyleLayoutAnimation,\n now: Timestamp\n ): boolean => {\n let stillGoing = false;\n const entriesToCheck: NestedObjectEntry[] = [\n { value: animation.styleAnimations, path: [] },\n ];\n while (entriesToCheck.length > 0) {\n const currentEntry: NestedObjectEntry =\n entriesToCheck.pop() as NestedObjectEntry;\n if (Array.isArray(currentEntry.value)) {\n for (let index = 0; index < currentEntry.value.length; index++) {\n entriesToCheck.push({\n value: currentEntry.value[index],\n path: currentEntry.path.concat(index),\n });\n }\n } else if (\n typeof currentEntry.value === 'object' &&\n currentEntry.value.onFrame === undefined\n ) {\n // nested object\n for (const key of Object.keys(currentEntry.value)) {\n entriesToCheck.push({\n value: currentEntry.value[key],\n path: currentEntry.path.concat(key),\n });\n }\n } else {\n const currentStyleAnimation: AnimationObject =\n currentEntry.value as AnimationObject;\n if (currentStyleAnimation.finished) {\n continue;\n }\n const finished = currentStyleAnimation.onFrame(\n currentStyleAnimation,\n now\n );\n if (finished) {\n currentStyleAnimation.finished = true;\n if (currentStyleAnimation.callback) {\n currentStyleAnimation.callback(true);\n }\n } else {\n stillGoing = true;\n }\n\n if (ColorProperties.includes(currentEntry.path[0] as string)) {\n currentStyleAnimation.current = processColor(\n currentStyleAnimation.current\n ) as number;\n }\n\n setPath(\n animation.current,\n currentEntry.path,\n currentStyleAnimation.current\n );\n }\n }\n return !stillGoing;\n };\n\n const onStart = (\n animation: StyleLayoutAnimation,\n value: AnimatedStyle,\n now: Timestamp,\n previousAnimation: StyleLayoutAnimation\n ): void => {\n const entriesToCheck: NestedObjectEntry<\n AnimationObject | AnimatableValue\n >[] = [{ value: styleAnimations, path: [] }];\n while (entriesToCheck.length > 0) {\n const currentEntry: NestedObjectEntry<\n AnimationObject | AnimatableValue\n > = entriesToCheck.pop() as NestedObjectEntry<\n AnimationObject | AnimatableValue\n >;\n if (Array.isArray(currentEntry.value)) {\n for (let index = 0; index < currentEntry.value.length; index++) {\n entriesToCheck.push({\n value: currentEntry.value[index],\n path: currentEntry.path.concat(index),\n });\n }\n } else if (\n typeof currentEntry.value === 'object' &&\n currentEntry.value.onStart === undefined\n ) {\n for (const key of Object.keys(currentEntry.value)) {\n entriesToCheck.push({\n value: currentEntry.value[key],\n path: currentEntry.path.concat(key),\n });\n }\n } else {\n const prevAnimation = resolvePath(\n previousAnimation?.styleAnimations,\n currentEntry.path\n );\n let prevVal = resolvePath(value, currentEntry.path);\n if (prevAnimation && !prevVal) {\n prevVal = prevAnimation.current;\n }\n setPath(animation.current, currentEntry.path, prevVal);\n let currentAnimation: AnimationObject;\n if (\n typeof currentEntry.value !== 'object' ||\n !currentEntry.value.onStart\n ) {\n currentAnimation = withTiming(\n currentEntry.value as AnimatableValue,\n { duration: 0 }\n );\n setPath(\n animation.styleAnimations,\n currentEntry.path,\n currentAnimation\n );\n } else {\n currentAnimation = currentEntry.value as Animation;\n }\n currentAnimation.onStart(\n currentAnimation,\n prevVal,\n now,\n prevAnimation\n );\n }\n }\n };\n\n const callback = (finished: boolean): void => {\n if (!finished) {\n const animationsToCheck: NestedObjectValues[] = [\n styleAnimations,\n ];\n while (animationsToCheck.length > 0) {\n const currentAnimation: NestedObjectValues =\n animationsToCheck.pop() as NestedObjectValues;\n if (Array.isArray(currentAnimation)) {\n for (const element of currentAnimation) {\n animationsToCheck.push(element);\n }\n } else if (\n typeof currentAnimation === 'object' &&\n currentAnimation.onStart === undefined\n ) {\n for (const value of Object.values(currentAnimation)) {\n animationsToCheck.push(value);\n }\n } else {\n const currentStyleAnimation: AnimationObject =\n currentAnimation as AnimationObject;\n if (\n !currentStyleAnimation.finished &&\n currentStyleAnimation.callback\n ) {\n currentStyleAnimation.callback(false);\n }\n }\n }\n }\n };\n\n return {\n isHigherOrder: true,\n onFrame,\n onStart,\n current: {},\n styleAnimations,\n callback,\n } as StyleLayoutAnimation;\n });\n}\n","import {\n HigherOrderAnimation,\n NextAnimation,\n DelayAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n} from './commonTypes';\n/* global _WORKLET */\nimport {\n ParsedColorArray,\n isColor,\n convertToRGBA,\n rgbaArrayToRGBAColor,\n toGammaSpace,\n toLinearSpace,\n} from '../Colors';\n\nimport {\n AnimatedStyle,\n SharedValue,\n AnimatableValue,\n Animation,\n AnimationObject,\n Timestamp,\n} from '../commonTypes';\nimport NativeReanimatedModule from '../NativeReanimated';\n\nlet IN_STYLE_UPDATER = false;\n\nexport type UserUpdater = () => AnimatedStyle;\n\nexport function initialUpdaterRun(updater: () => T): T {\n IN_STYLE_UPDATER = true;\n const result = updater();\n IN_STYLE_UPDATER = false;\n return result;\n}\n\ninterface RecognizedPrefixSuffix {\n prefix?: string;\n suffix?: string;\n strippedValue: number;\n}\n\nfunction recognizePrefixSuffix(value: string | number): RecognizedPrefixSuffix {\n 'worklet';\n if (typeof value === 'string') {\n const match = value.match(\n /([A-Za-z]*)(-?\\d*\\.?\\d*)([eE][-+]?[0-9]+)?([A-Za-z%]*)/\n );\n if (!match) {\n throw Error(\n \"Couldn't parse animation value. Check if there isn't any typo.\"\n );\n }\n const prefix = match[1];\n const suffix = match[4];\n // number with scientific notation\n const number = match[2] + (match[3] ?? '');\n return { prefix, suffix, strippedValue: parseFloat(number) };\n } else {\n return { strippedValue: value };\n }\n}\n\nfunction decorateAnimation(\n animation: T\n): void {\n 'worklet';\n if ((animation as HigherOrderAnimation).isHigherOrder) {\n return;\n }\n\n const baseOnStart = (animation as Animation).onStart;\n const baseOnFrame = (animation as Animation).onFrame;\n const animationCopy = Object.assign({}, animation);\n delete animationCopy.callback;\n\n const prefNumberSuffOnStart = (\n animation: Animation,\n value: string | number,\n timestamp: number,\n previousAnimation: Animation\n ) => {\n // recognize prefix, suffix, and updates stripped value on animation start\n const { prefix, suffix, strippedValue } = recognizePrefixSuffix(value);\n animation.__prefix = prefix;\n animation.__suffix = suffix;\n animation.strippedCurrent = strippedValue;\n const { strippedValue: strippedToValue } = recognizePrefixSuffix(\n animation.toValue as string | number\n );\n animation.current = strippedValue;\n animation.startValue = strippedValue;\n animation.toValue = strippedToValue;\n if (previousAnimation && previousAnimation !== animation) {\n const {\n prefix: paPrefix,\n suffix: paSuffix,\n strippedValue: paStrippedValue,\n } = recognizePrefixSuffix(previousAnimation.current as string | number);\n previousAnimation.current = paStrippedValue;\n previousAnimation.__prefix = paPrefix;\n previousAnimation.__suffix = paSuffix;\n }\n\n baseOnStart(animation, strippedValue, timestamp, previousAnimation);\n\n animation.current =\n (animation.__prefix ?? '') +\n animation.current +\n (animation.__suffix ?? '');\n\n if (previousAnimation && previousAnimation !== animation) {\n previousAnimation.current =\n (previousAnimation.__prefix ?? '') +\n previousAnimation.current +\n (previousAnimation.__suffix ?? '');\n }\n };\n const prefNumberSuffOnFrame = (\n animation: Animation,\n timestamp: number\n ) => {\n animation.current = animation.strippedCurrent;\n const res = baseOnFrame(animation, timestamp);\n animation.strippedCurrent = animation.current;\n animation.current =\n (animation.__prefix ?? '') +\n animation.current +\n (animation.__suffix ?? '');\n return res;\n };\n\n const tab = ['R', 'G', 'B', 'A'];\n const colorOnStart = (\n animation: Animation,\n value: string | number,\n timestamp: Timestamp,\n previousAnimation: Animation\n ): void => {\n let RGBAValue: ParsedColorArray;\n let RGBACurrent: ParsedColorArray;\n let RGBAToValue: ParsedColorArray;\n const res: Array = [];\n if (isColor(value)) {\n RGBACurrent = toLinearSpace(convertToRGBA(animation.current));\n RGBAValue = toLinearSpace(convertToRGBA(value));\n if (animation.toValue) {\n RGBAToValue = toLinearSpace(convertToRGBA(animation.toValue));\n }\n }\n tab.forEach((i, index) => {\n animation[i] = Object.assign({}, animationCopy);\n animation[i].current = RGBACurrent[index];\n animation[i].toValue = RGBAToValue ? RGBAToValue[index] : undefined;\n animation[i].onStart(\n animation[i],\n RGBAValue[index],\n timestamp,\n previousAnimation ? previousAnimation[i] : undefined\n );\n res.push(animation[i].current);\n });\n\n animation.current = rgbaArrayToRGBAColor(\n toGammaSpace(res as ParsedColorArray)\n );\n };\n\n const colorOnFrame = (\n animation: Animation,\n timestamp: Timestamp\n ): boolean => {\n const RGBACurrent = toLinearSpace(convertToRGBA(animation.current));\n const res: Array = [];\n let finished = true;\n tab.forEach((i, index) => {\n animation[i].current = RGBACurrent[index];\n // @ts-ignore: disable-next-line\n finished &= animation[i].onFrame(animation[i], timestamp);\n res.push(animation[i].current);\n });\n\n animation.current = rgbaArrayToRGBAColor(\n toGammaSpace(res as ParsedColorArray)\n );\n return finished;\n };\n\n const arrayOnStart = (\n animation: Animation,\n value: Array,\n timestamp: Timestamp,\n previousAnimation: Animation\n ): void => {\n value.forEach((v, i) => {\n animation[i] = Object.assign({}, animationCopy);\n animation[i].current = v;\n animation[i].toValue = (animation.toValue as Array)[i];\n animation[i].onStart(\n animation[i],\n v,\n timestamp,\n previousAnimation ? previousAnimation[i] : undefined\n );\n });\n\n animation.current = value;\n };\n\n const arrayOnFrame = (\n animation: Animation,\n timestamp: Timestamp\n ): boolean => {\n let finished = true;\n (animation.current as Array).forEach((v, i) => {\n // @ts-ignore: disable-next-line\n finished &= animation[i].onFrame(animation[i], timestamp);\n (animation.current as Array)[i] = animation[i].current;\n });\n\n return finished;\n };\n\n animation.onStart = (\n animation: Animation,\n value: number,\n timestamp: Timestamp,\n previousAnimation: Animation\n ) => {\n if (isColor(value)) {\n colorOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = colorOnFrame;\n return;\n } else if (Array.isArray(value)) {\n arrayOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = arrayOnFrame;\n return;\n } else if (typeof value === 'string') {\n prefNumberSuffOnStart(animation, value, timestamp, previousAnimation);\n animation.onFrame = prefNumberSuffOnFrame;\n return;\n }\n baseOnStart(animation, value, timestamp, previousAnimation);\n };\n}\n\ntype AnimationToDecoration =\n T extends StyleLayoutAnimation\n ? Record\n : T extends DelayAnimation\n ? NextAnimation\n : T extends RepeatAnimation\n ? NextAnimation\n : T extends SequenceAnimation\n ? NextAnimation\n : AnimatableValue | T;\n\nexport function defineAnimation<\n T extends AnimationObject | StyleLayoutAnimation\n>(starting: AnimationToDecoration, factory: () => T): T {\n 'worklet';\n if (IN_STYLE_UPDATER) {\n return starting as T;\n }\n const create = () => {\n 'worklet';\n const animation = factory();\n decorateAnimation(animation);\n return animation;\n };\n\n if (_WORKLET || !NativeReanimatedModule.native) {\n return create();\n }\n // @ts-ignore: eslint-disable-line\n return create;\n}\n\nexport function cancelAnimation(sharedValue: SharedValue): void {\n 'worklet';\n // setting the current value cancels the animation if one is currently running\n sharedValue.value = sharedValue.value; // eslint-disable-line no-self-assign\n}\n\n// TODO it should work only if there was no animation before.\nexport function withStartValue(\n startValue: AnimatableValue,\n animation: NextAnimation\n): Animation {\n 'worklet';\n return defineAnimation(startValue, () => {\n 'worklet';\n if (!_WORKLET && typeof animation === 'function') {\n animation = animation();\n }\n (animation as Animation).current = startValue;\n return animation as Animation;\n });\n}\n","/* global _WORKLET */\n/**\n * Copied from:\n * react-native/Libraries/StyleSheet/normalizeColor.js\n * react-native/Libraries/StyleSheet/processColor.js\n * https://github.com/wcandillon/react-native-redash/blob/master/src/Colors.ts\n */\n\n/* eslint no-bitwise: 0 */\nimport { Platform } from 'react-native';\nimport { makeRemote, makeShareable, isConfigured } from './core';\n\ninterface RGB {\n r: number;\n g: number;\n b: number;\n}\n\ninterface HSV {\n h: number;\n s: number;\n v: number;\n}\n\n// var INTEGER = '[-+]?\\\\d+';\nconst NUMBER = '[-+]?(?:\\\\d+(?:\\\\.\\\\d*)?|\\\\.\\\\d+)';\nconst PERCENTAGE = NUMBER + '%';\n\nfunction call(...args: unknown[]): string {\n 'worklet';\n return '\\\\(\\\\s*(' + args.join(')\\\\s*,\\\\s*(') + ')\\\\s*\\\\)';\n}\n\n// matchers use RegExp objects which needs to be created separately on JS and on\n// the UI thread. We keep separate cache of Regexes for UI and JS using the below\n// objects, then pick the right cache in getMatchers() method.\nconst jsCachedMatchers: Matchers = {};\nconst uiCachedMatchers: Matchers = !isConfigured() ? {} : makeRemote({});\ntype Matchers = {\n rgb?: RegExp;\n rgba?: RegExp;\n hsl?: RegExp;\n hsla?: RegExp;\n hex3?: RegExp;\n hex4?: RegExp;\n hex5?: RegExp;\n hex6?: RegExp;\n hex8?: RegExp;\n};\nfunction getMatchers(): Matchers {\n 'worklet';\n const cachedMatchers: Matchers = _WORKLET\n ? uiCachedMatchers\n : jsCachedMatchers;\n if (cachedMatchers.rgb === undefined) {\n cachedMatchers.rgb = new RegExp('rgb' + call(NUMBER, NUMBER, NUMBER));\n cachedMatchers.rgba = new RegExp(\n 'rgba' + call(NUMBER, NUMBER, NUMBER, NUMBER)\n );\n cachedMatchers.hsl = new RegExp(\n 'hsl' + call(NUMBER, PERCENTAGE, PERCENTAGE)\n );\n cachedMatchers.hsla = new RegExp(\n 'hsla' + call(NUMBER, PERCENTAGE, PERCENTAGE, NUMBER)\n );\n cachedMatchers.hex3 = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\n cachedMatchers.hex4 =\n /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/;\n cachedMatchers.hex6 = /^#([0-9a-fA-F]{6})$/;\n cachedMatchers.hex8 = /^#([0-9a-fA-F]{8})$/;\n }\n return cachedMatchers;\n}\n// cachedMatchers is lazy loaded and it is frozen when worklet is being created,\n// it is possible to call getMatchers() when the object is frozen, then cachedMatchers\n// has no assigned regexes\ngetMatchers();\n\nfunction hue2rgb(p: number, q: number, t: number): number {\n 'worklet';\n if (t < 0) {\n t += 1;\n }\n if (t > 1) {\n t -= 1;\n }\n if (t < 1 / 6) {\n return p + (q - p) * 6 * t;\n }\n if (t < 1 / 2) {\n return q;\n }\n if (t < 2 / 3) {\n return p + (q - p) * (2 / 3 - t) * 6;\n }\n return p;\n}\n\nfunction hslToRgb(h: number, s: number, l: number): number {\n 'worklet';\n const q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n const p = 2 * l - q;\n const r = hue2rgb(p, q, h + 1 / 3);\n const g = hue2rgb(p, q, h);\n const b = hue2rgb(p, q, h - 1 / 3);\n\n return (\n (Math.round(r * 255) << 24) |\n (Math.round(g * 255) << 16) |\n (Math.round(b * 255) << 8)\n );\n}\n\nfunction parse255(str: string): number {\n 'worklet';\n const int = Number.parseInt(str, 10);\n if (int < 0) {\n return 0;\n }\n if (int > 255) {\n return 255;\n }\n return int;\n}\n\nfunction parse360(str: string): number {\n 'worklet';\n const int = Number.parseFloat(str);\n return (((int % 360) + 360) % 360) / 360;\n}\n\nfunction parse1(str: string): number {\n 'worklet';\n const num = Number.parseFloat(str);\n if (num < 0) {\n return 0;\n }\n if (num > 1) {\n return 255;\n }\n return Math.round(num * 255);\n}\n\nfunction parsePercentage(str: string): number {\n 'worklet';\n // parseFloat conveniently ignores the final %\n const int = Number.parseFloat(str);\n if (int < 0) {\n return 0;\n }\n if (int > 100) {\n return 1;\n }\n return int / 100;\n}\n\nconst names: any = !isConfigured()\n ? null\n : makeShareable({\n transparent: 0x00000000,\n\n // http://www.w3.org/TR/css3-color/#svg-color\n aliceblue: 0xf0f8ffff,\n antiquewhite: 0xfaebd7ff,\n aqua: 0x00ffffff,\n aquamarine: 0x7fffd4ff,\n azure: 0xf0ffffff,\n beige: 0xf5f5dcff,\n bisque: 0xffe4c4ff,\n black: 0x000000ff,\n blanchedalmond: 0xffebcdff,\n blue: 0x0000ffff,\n blueviolet: 0x8a2be2ff,\n brown: 0xa52a2aff,\n burlywood: 0xdeb887ff,\n burntsienna: 0xea7e5dff,\n cadetblue: 0x5f9ea0ff,\n chartreuse: 0x7fff00ff,\n chocolate: 0xd2691eff,\n coral: 0xff7f50ff,\n cornflowerblue: 0x6495edff,\n cornsilk: 0xfff8dcff,\n crimson: 0xdc143cff,\n cyan: 0x00ffffff,\n darkblue: 0x00008bff,\n darkcyan: 0x008b8bff,\n darkgoldenrod: 0xb8860bff,\n darkgray: 0xa9a9a9ff,\n darkgreen: 0x006400ff,\n darkgrey: 0xa9a9a9ff,\n darkkhaki: 0xbdb76bff,\n darkmagenta: 0x8b008bff,\n darkolivegreen: 0x556b2fff,\n darkorange: 0xff8c00ff,\n darkorchid: 0x9932ccff,\n darkred: 0x8b0000ff,\n darksalmon: 0xe9967aff,\n darkseagreen: 0x8fbc8fff,\n darkslateblue: 0x483d8bff,\n darkslategray: 0x2f4f4fff,\n darkslategrey: 0x2f4f4fff,\n darkturquoise: 0x00ced1ff,\n darkviolet: 0x9400d3ff,\n deeppink: 0xff1493ff,\n deepskyblue: 0x00bfffff,\n dimgray: 0x696969ff,\n dimgrey: 0x696969ff,\n dodgerblue: 0x1e90ffff,\n firebrick: 0xb22222ff,\n floralwhite: 0xfffaf0ff,\n forestgreen: 0x228b22ff,\n fuchsia: 0xff00ffff,\n gainsboro: 0xdcdcdcff,\n ghostwhite: 0xf8f8ffff,\n gold: 0xffd700ff,\n goldenrod: 0xdaa520ff,\n gray: 0x808080ff,\n green: 0x008000ff,\n greenyellow: 0xadff2fff,\n grey: 0x808080ff,\n honeydew: 0xf0fff0ff,\n hotpink: 0xff69b4ff,\n indianred: 0xcd5c5cff,\n indigo: 0x4b0082ff,\n ivory: 0xfffff0ff,\n khaki: 0xf0e68cff,\n lavender: 0xe6e6faff,\n lavenderblush: 0xfff0f5ff,\n lawngreen: 0x7cfc00ff,\n lemonchiffon: 0xfffacdff,\n lightblue: 0xadd8e6ff,\n lightcoral: 0xf08080ff,\n lightcyan: 0xe0ffffff,\n lightgoldenrodyellow: 0xfafad2ff,\n lightgray: 0xd3d3d3ff,\n lightgreen: 0x90ee90ff,\n lightgrey: 0xd3d3d3ff,\n lightpink: 0xffb6c1ff,\n lightsalmon: 0xffa07aff,\n lightseagreen: 0x20b2aaff,\n lightskyblue: 0x87cefaff,\n lightslategray: 0x778899ff,\n lightslategrey: 0x778899ff,\n lightsteelblue: 0xb0c4deff,\n lightyellow: 0xffffe0ff,\n lime: 0x00ff00ff,\n limegreen: 0x32cd32ff,\n linen: 0xfaf0e6ff,\n magenta: 0xff00ffff,\n maroon: 0x800000ff,\n mediumaquamarine: 0x66cdaaff,\n mediumblue: 0x0000cdff,\n mediumorchid: 0xba55d3ff,\n mediumpurple: 0x9370dbff,\n mediumseagreen: 0x3cb371ff,\n mediumslateblue: 0x7b68eeff,\n mediumspringgreen: 0x00fa9aff,\n mediumturquoise: 0x48d1ccff,\n mediumvioletred: 0xc71585ff,\n midnightblue: 0x191970ff,\n mintcream: 0xf5fffaff,\n mistyrose: 0xffe4e1ff,\n moccasin: 0xffe4b5ff,\n navajowhite: 0xffdeadff,\n navy: 0x000080ff,\n oldlace: 0xfdf5e6ff,\n olive: 0x808000ff,\n olivedrab: 0x6b8e23ff,\n orange: 0xffa500ff,\n orangered: 0xff4500ff,\n orchid: 0xda70d6ff,\n palegoldenrod: 0xeee8aaff,\n palegreen: 0x98fb98ff,\n paleturquoise: 0xafeeeeff,\n palevioletred: 0xdb7093ff,\n papayawhip: 0xffefd5ff,\n peachpuff: 0xffdab9ff,\n peru: 0xcd853fff,\n pink: 0xffc0cbff,\n plum: 0xdda0ddff,\n powderblue: 0xb0e0e6ff,\n purple: 0x800080ff,\n rebeccapurple: 0x663399ff,\n red: 0xff0000ff,\n rosybrown: 0xbc8f8fff,\n royalblue: 0x4169e1ff,\n saddlebrown: 0x8b4513ff,\n salmon: 0xfa8072ff,\n sandybrown: 0xf4a460ff,\n seagreen: 0x2e8b57ff,\n seashell: 0xfff5eeff,\n sienna: 0xa0522dff,\n silver: 0xc0c0c0ff,\n skyblue: 0x87ceebff,\n slateblue: 0x6a5acdff,\n slategray: 0x708090ff,\n slategrey: 0x708090ff,\n snow: 0xfffafaff,\n springgreen: 0x00ff7fff,\n steelblue: 0x4682b4ff,\n tan: 0xd2b48cff,\n teal: 0x008080ff,\n thistle: 0xd8bfd8ff,\n tomato: 0xff6347ff,\n turquoise: 0x40e0d0ff,\n violet: 0xee82eeff,\n wheat: 0xf5deb3ff,\n white: 0xffffffff,\n whitesmoke: 0xf5f5f5ff,\n yellow: 0xffff00ff,\n yellowgreen: 0x9acd32ff,\n });\n\nfunction normalizeColor(color: unknown): number | null {\n 'worklet';\n\n if (typeof color === 'number') {\n if (color >>> 0 === color && color >= 0 && color <= 0xffffffff) {\n return color;\n }\n return null;\n }\n\n if (typeof color !== 'string') {\n return null;\n }\n\n const matchers = getMatchers();\n\n let match: RegExpExecArray | null | undefined;\n\n // Ordered based on occurrences on Facebook codebase\n if ((match = matchers?.hex6?.exec(color))) {\n return Number.parseInt(match[1] + 'ff', 16) >>> 0;\n }\n\n if (names[color] !== undefined) {\n return names[color];\n }\n\n if ((match = matchers?.rgb?.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.rgba?.exec(color))) {\n return (\n // b\n ((parse255(match[1]) << 24) | // r\n (parse255(match[2]) << 16) | // g\n (parse255(match[3]) << 8) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.hex3?.exec(color))) {\n return (\n Number.parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n 'ff', // a\n 16\n ) >>> 0\n );\n }\n\n // https://drafts.csswg.org/css-color-4/#hex-notation\n if ((match = matchers?.hex8?.exec(color))) {\n return Number.parseInt(match[1], 16) >>> 0;\n }\n\n if ((match = matchers?.hex4?.exec(color))) {\n return (\n Number.parseInt(\n match[1] +\n match[1] + // r\n match[2] +\n match[2] + // g\n match[3] +\n match[3] + // b\n match[4] +\n match[4], // a\n 16\n ) >>> 0\n );\n }\n\n if ((match = matchers?.hsl?.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]) // l\n ) |\n 0x000000ff) >>> // a\n 0\n );\n }\n\n if ((match = matchers?.hsla?.exec(color))) {\n return (\n (hslToRgb(\n parse360(match[1]), // h\n parsePercentage(match[2]), // s\n parsePercentage(match[3]) // l\n ) |\n parse1(match[4])) >>> // a\n 0\n );\n }\n\n return null;\n}\n\nexport const opacity = (c: number): number => {\n 'worklet';\n return ((c >> 24) & 255) / 255;\n};\n\nexport const red = (c: number): number => {\n 'worklet';\n return (c >> 16) & 255;\n};\n\nexport const green = (c: number): number => {\n 'worklet';\n return (c >> 8) & 255;\n};\n\nexport const blue = (c: number): number => {\n 'worklet';\n return c & 255;\n};\n\nexport const rgbaColor = (\n r: number,\n g: number,\n b: number,\n alpha = 1\n): number | string => {\n 'worklet';\n if (Platform.OS === 'web' || !_WORKLET) {\n return `rgba(${r}, ${g}, ${b}, ${alpha})`;\n }\n\n const c =\n Math.round(alpha * 255) * (1 << 24) +\n Math.round(r) * (1 << 16) +\n Math.round(g) * (1 << 8) +\n Math.round(b);\n if (Platform.OS === 'android') {\n // on Android color is represented as signed 32 bit int\n return c < (1 << 31) >>> 0 ? c : c - 4294967296; // 4294967296 == Math.pow(2, 32);\n }\n return c;\n};\n\n/* accepts parameters\n * r Object = {r:x, g:y, b:z}\n * OR\n * r, g, b\n * 0 <= r, g, b <= 255\n * returns 0 <= h, s, v <= 1\n */\nexport function RGBtoHSV(rgb: RGB): HSV;\nexport function RGBtoHSV(r: number, g: number, b: number): HSV;\nexport function RGBtoHSV(r: any, g?: any, b?: any): HSV {\n 'worklet';\n /* eslint-disable */\n if (arguments.length === 1) {\n g = r.g;\n b = r.b;\n r = r.r;\n }\n const max = Math.max(r, g, b);\n const min = Math.min(r, g, b);\n const d = max - min;\n const s = max === 0 ? 0 : d / max;\n const v = max / 255;\n\n let h;\n\n switch (max) {\n default:\n /* fallthrough */\n case min:\n h = 0;\n break;\n case r:\n h = g - b + d * (g < b ? 6 : 0);\n h /= 6 * d;\n break;\n case g:\n h = b - r + d * 2;\n h /= 6 * d;\n break;\n case b:\n h = r - g + d * 4;\n h /= 6 * d;\n break;\n }\n\n return {\n h: h,\n s: s,\n v: v,\n };\n /* eslint-enable */\n}\n\n/* accepts parameters\n * h Object = {h:x, s:y, v:z}\n * OR\n * h, s, v\n * 0 <= h, s, v <= 1\n * returns 0 <= r, g, b <= 255\n */\nfunction HSVtoRGB(hsv: HSV): RGB;\nfunction HSVtoRGB(h: number, s: number, v: number): RGB;\nfunction HSVtoRGB(h: any, s?: any, v?: any) {\n 'worklet';\n /* eslint-disable */\n var r, g, b, i, f, p, q, t;\n if (arguments.length === 1) {\n s = h.s;\n v = h.v;\n h = h.h;\n }\n i = Math.floor(h * 6);\n f = h * 6 - i;\n p = v * (1 - s);\n q = v * (1 - f * s);\n t = v * (1 - (1 - f) * s);\n switch (i % 6) {\n case 0:\n (r = v), (g = t), (b = p);\n break;\n case 1:\n (r = q), (g = v), (b = p);\n break;\n case 2:\n (r = p), (g = v), (b = t);\n break;\n case 3:\n (r = p), (g = q), (b = v);\n break;\n case 4:\n (r = t), (g = p), (b = v);\n break;\n case 5:\n (r = v), (g = p), (b = q);\n break;\n }\n return {\n r: Math.round(r * 255),\n g: Math.round(g * 255),\n b: Math.round(b * 255),\n };\n /* eslint-enable */\n}\n\nexport const hsvToColor = (\n h: number,\n s: number,\n v: number,\n a: number\n): number | string => {\n 'worklet';\n const { r, g, b } = HSVtoRGB(h, s, v);\n return rgbaColor(r, g, b, a);\n};\n\nexport function processColorInitially(\n color: unknown\n): number | null | undefined {\n 'worklet';\n if (color === null || color === undefined || typeof color === 'number') {\n return color;\n }\n\n let normalizedColor = normalizeColor(color);\n\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n normalizedColor = ((normalizedColor << 24) | (normalizedColor >>> 8)) >>> 0; // argb\n return normalizedColor;\n}\n\nexport function isColor(value: unknown): boolean {\n 'worklet';\n if (typeof value !== 'string') {\n return false;\n }\n return processColorInitially(value) != null;\n}\n\nexport function processColor(color: unknown): number | null | undefined {\n 'worklet';\n let normalizedColor = processColorInitially(color);\n if (normalizedColor === null || normalizedColor === undefined) {\n return undefined;\n }\n\n if (typeof normalizedColor !== 'number') {\n return null;\n }\n\n if (Platform.OS === 'android') {\n // Android use 32 bit *signed* integer to represent the color\n // We utilize the fact that bitwise operations in JS also operates on\n // signed 32 bit integers, so that we can use those to convert from\n // *unsigned* to *signed* 32bit int that way.\n normalizedColor = normalizedColor | 0x0;\n }\n\n return normalizedColor;\n}\n\nexport type ParsedColorArray = [number, number, number, number];\n\nexport function convertToRGBA(color: unknown): ParsedColorArray {\n 'worklet';\n const processedColor = processColorInitially(color)!; // argb;\n const a = (processedColor >>> 24) / 255;\n const r = ((processedColor << 8) >>> 24) / 255;\n const g = ((processedColor << 16) >>> 24) / 255;\n const b = ((processedColor << 24) >>> 24) / 255;\n return [r, g, b, a];\n}\n\nexport function rgbaArrayToRGBAColor(RGBA: ParsedColorArray): string {\n 'worklet';\n return `rgba(${Math.round(RGBA[0] * 255)}, ${Math.round(\n RGBA[1] * 255\n )}, ${Math.round(RGBA[2] * 255)}, ${RGBA[3]})`;\n}\n\nexport function toLinearSpace(\n RGBA: ParsedColorArray,\n gamma = 2.2\n): ParsedColorArray {\n 'worklet';\n const res = [];\n for (let i = 0; i < 3; ++i) {\n res.push(Math.pow(RGBA[i], gamma));\n }\n res.push(RGBA[3]);\n return res as ParsedColorArray;\n}\n\nexport function toGammaSpace(\n RGBA: ParsedColorArray,\n gamma = 2.2\n): ParsedColorArray {\n 'worklet';\n const res = [];\n for (let i = 0; i < 3; ++i) {\n res.push(Math.pow(RGBA[i], 1 / gamma));\n }\n res.push(RGBA[3]);\n return res as ParsedColorArray;\n}\n","/* global _updatePropsPaper _updatePropsFabric */\nimport { MutableRefObject } from 'react';\nimport { processColor } from './Colors';\nimport { AnimatedStyle, SharedValue, StyleProps } from './commonTypes';\nimport { makeShareable, isConfigured } from './core';\nimport { Descriptor } from './hook/commonTypes';\nimport { _updatePropsJS } from './js-reanimated';\nimport { shouldBeUseWeb } from './PlatformChecker';\nimport { ViewRefSet } from './ViewDescriptorsSet';\n\n// copied from react-native/Libraries/Components/View/ReactNativeStyleAttributes\nexport const colorProps = [\n 'backgroundColor',\n 'borderBottomColor',\n 'borderColor',\n 'borderLeftColor',\n 'borderRightColor',\n 'borderTopColor',\n 'borderStartColor',\n 'borderEndColor',\n 'color',\n 'shadowColor',\n 'textDecorationColor',\n 'tintColor',\n 'textShadowColor',\n 'overlayColor',\n];\n\nexport const ColorProperties = !isConfigured() ? [] : makeShareable(colorProps);\n\nlet updatePropsByPlatform;\nif (shouldBeUseWeb()) {\n updatePropsByPlatform = (\n _: SharedValue,\n updates: StyleProps | AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined\n ): void => {\n 'worklet';\n if (maybeViewRef) {\n maybeViewRef.items.forEach((item, _) => {\n _updatePropsJS(updates, item);\n });\n }\n };\n} else {\n if (global._IS_FABRIC) {\n updatePropsByPlatform = (\n viewDescriptors: SharedValue,\n updates: StyleProps | AnimatedStyle,\n _: ViewRefSet | undefined\n ): void => {\n 'worklet';\n\n for (const key in updates) {\n if (ColorProperties.indexOf(key) !== -1) {\n updates[key] = processColor(updates[key]);\n }\n }\n\n viewDescriptors.value.forEach((viewDescriptor) => {\n _updatePropsFabric(viewDescriptor.shadowNodeWrapper, updates);\n });\n };\n } else {\n updatePropsByPlatform = (\n viewDescriptors: SharedValue,\n updates: StyleProps | AnimatedStyle,\n _: ViewRefSet | undefined\n ): void => {\n 'worklet';\n\n for (const key in updates) {\n if (ColorProperties.indexOf(key) !== -1) {\n updates[key] = processColor(updates[key]);\n }\n }\n viewDescriptors.value.forEach((viewDescriptor) => {\n _updatePropsPaper(\n viewDescriptor.tag,\n viewDescriptor.name || 'RCTView',\n updates\n );\n });\n };\n }\n}\n\nexport const updateProps: (\n viewDescriptor: SharedValue,\n updates: StyleProps | AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined\n) => void = updatePropsByPlatform;\n\nexport const updatePropsJestWrapper = (\n viewDescriptors: SharedValue,\n updates: AnimatedStyle,\n maybeViewRef: ViewRefSet | undefined,\n animatedStyle: MutableRefObject,\n adapters: ((updates: AnimatedStyle) => void)[]\n): void => {\n adapters.forEach((adapter) => {\n adapter(updates);\n });\n animatedStyle.current.value = {\n ...animatedStyle.current.value,\n ...updates,\n };\n\n updateProps(viewDescriptors, updates, maybeViewRef);\n};\n\nexport default updateProps;\n","import { Easing, EasingFn, EasingFactoryFn } from '../Easing';\nimport { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n Timestamp,\n AnimatableValue,\n} from '../commonTypes';\n\ninterface TimingConfig {\n duration?: number;\n easing?: EasingFn | EasingFactoryFn;\n}\n\nexport interface TimingAnimation extends Animation {\n type: string;\n easing: EasingFn;\n startValue: AnimatableValue;\n startTime: Timestamp;\n progress: number;\n toValue: AnimatableValue;\n current: AnimatableValue;\n}\n\nexport interface InnerTimingAnimation\n extends Omit {\n toValue: number;\n current: number;\n}\n\nexport function withTiming(\n toValue: AnimatableValue,\n userConfig?: TimingConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(toValue, () => {\n 'worklet';\n const config: Required = {\n duration: 300,\n easing: Easing.inOut(Easing.quad),\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n function timing(animation: InnerTimingAnimation, now: Timestamp): boolean {\n const { toValue, startTime, startValue } = animation;\n const runtime = now - startTime;\n\n if (runtime >= config.duration) {\n // reset startTime to avoid reusing finished animation config in `start` method\n animation.startTime = 0;\n animation.current = toValue;\n return true;\n }\n const progress = animation.easing(runtime / config.duration);\n animation.current =\n (startValue as number) + (toValue - (startValue as number)) * progress;\n return false;\n }\n\n function onStart(\n animation: TimingAnimation,\n value: number,\n now: Timestamp,\n previousAnimation: Animation\n ): void {\n if (\n previousAnimation &&\n (previousAnimation as TimingAnimation).type === 'timing' &&\n (previousAnimation as TimingAnimation).toValue === toValue &&\n (previousAnimation as TimingAnimation).startTime\n ) {\n // to maintain continuity of timing animations we check if we are starting\n // new timing over the old one with the same parameters. If so, we want\n // to copy animation timeline properties\n animation.startTime = (previousAnimation as TimingAnimation).startTime;\n animation.startValue = (\n previousAnimation as TimingAnimation\n ).startValue;\n } else {\n animation.startTime = now;\n animation.startValue = value;\n }\n animation.current = value;\n if (typeof config.easing === 'object') {\n animation.easing = config.easing.factory();\n } else {\n animation.easing = config.easing;\n }\n }\n\n return {\n type: 'timing',\n onFrame: timing,\n onStart: onStart as (animation: TimingAnimation, now: number) => boolean,\n progress: 0,\n toValue,\n startValue: 0,\n startTime: 0,\n easing: () => 0,\n current: toValue,\n callback,\n } as TimingAnimation;\n });\n}\n","import { Bezier } from './Bezier';\n\n/**\n * The `Easing` module implements common easing functions. This module is used\n * by [Animate.timing()](docs/animate.html#timing) to convey physically\n * believable motion in animations.\n *\n * You can find a visualization of some common easing functions at\n * http://easings.net/\n *\n * ### Predefined animations\n *\n * The `Easing` module provides several predefined animations through the\n * following methods:\n *\n * - [`back`](docs/easing.html#back) provides a simple animation where the\n * object goes slightly back before moving forward\n * - [`bounce`](docs/easing.html#bounce) provides a bouncing animation\n * - [`ease`](docs/easing.html#ease) provides a simple inertial animation\n * - [`elastic`](docs/easing.html#elastic) provides a simple spring interaction\n *\n * ### Standard functions\n *\n * Three standard easing functions are provided:\n *\n * - [`linear`](docs/easing.html#linear)\n * - [`quad`](docs/easing.html#quad)\n * - [`cubic`](docs/easing.html#cubic)\n *\n * The [`poly`](docs/easing.html#poly) function can be used to implement\n * quartic, quintic, and other higher power functions.\n *\n * ### Additional functions\n *\n * Additional mathematical functions are provided by the following methods:\n *\n * - [`bezier`](docs/easing.html#bezier) provides a cubic bezier curve\n * - [`circle`](docs/easing.html#circle) provides a circular function\n * - [`sin`](docs/easing.html#sin) provides a sinusoidal function\n * - [`exp`](docs/easing.html#exp) provides an exponential function\n *\n * The following helpers are used to modify other easing functions.\n *\n * - [`in`](docs/easing.html#in) runs an easing function forwards\n * - [`inOut`](docs/easing.html#inout) makes any easing function symmetrical\n * - [`out`](docs/easing.html#out) runs an easing function backwards\n */\n\nexport type EasingFn = (t: number) => number;\n\nexport type EasingFactoryFn = { factory: () => EasingFn };\n/**\n * A linear function, `f(t) = t`. Position correlates to elapsed time one to\n * one.\n *\n * http://cubic-bezier.com/#0,0,1,1\n */\nfunction linear(t: number): number {\n 'worklet';\n return t;\n}\n\n/**\n * A simple inertial interaction, similar to an object slowly accelerating to\n * speed.\n *\n * http://cubic-bezier.com/#.42,0,1,1\n */\nfunction ease(t: number): number {\n 'worklet';\n return Bezier(0.42, 0, 1, 1)(t);\n}\n\n/**\n * A quadratic function, `f(t) = t * t`. Position equals the square of elapsed\n * time.\n *\n * http://easings.net/#easeInQuad\n */\nfunction quad(t: number): number {\n 'worklet';\n return t * t;\n}\n\n/**\n * A cubic function, `f(t) = t * t * t`. Position equals the cube of elapsed\n * time.\n *\n * http://easings.net/#easeInCubic\n */\nfunction cubic(t: number): number {\n 'worklet';\n return t * t * t;\n}\n\n/**\n * A power function. Position is equal to the Nth power of elapsed time.\n *\n * n = 4: http://easings.net/#easeInQuart\n * n = 5: http://easings.net/#easeInQuint\n */\nfunction poly(n: number): EasingFn {\n 'worklet';\n return (t) => {\n 'worklet';\n return Math.pow(t, n);\n };\n}\n\n/**\n * A sinusoidal function.\n *\n * http://easings.net/#easeInSine\n */\nfunction sin(t: number): number {\n 'worklet';\n return 1 - Math.cos((t * Math.PI) / 2);\n}\n\n/**\n * A circular function.\n *\n * http://easings.net/#easeInCirc\n */\nfunction circle(t: number): number {\n 'worklet';\n return 1 - Math.sqrt(1 - t * t);\n}\n\n/**\n * An exponential function.\n *\n * http://easings.net/#easeInExpo\n */\nfunction exp(t: number): number {\n 'worklet';\n return Math.pow(2, 10 * (t - 1));\n}\n\n/**\n * A simple elastic interaction, similar to a spring oscillating back and\n * forth.\n *\n * Default bounciness is 1, which overshoots a little bit once. 0 bounciness\n * doesn't overshoot at all, and bounciness of N > 1 will overshoot about N\n * times.\n *\n * http://easings.net/#easeInElastic\n */\nfunction elastic(bounciness = 1): EasingFn {\n 'worklet';\n const p = bounciness * Math.PI;\n return (t) => {\n 'worklet';\n return 1 - Math.pow(Math.cos((t * Math.PI) / 2), 3) * Math.cos(t * p);\n };\n}\n\n/**\n * Use with `Animated.parallel()` to create a simple effect where the object\n * animates back slightly as the animation starts.\n *\n * Wolfram Plot:\n *\n * - http://tiny.cc/back_default (s = 1.70158, default)\n */\nfunction back(s = 1.70158): (t: number) => number {\n 'worklet';\n return (t) => {\n 'worklet';\n return t * t * ((s + 1) * t - s);\n };\n}\n\n/**\n * Provides a simple bouncing effect.\n *\n * http://easings.net/#easeInBounce\n */\nfunction bounce(t: number): number {\n 'worklet';\n if (t < 1 / 2.75) {\n return 7.5625 * t * t;\n }\n\n if (t < 2 / 2.75) {\n const t2 = t - 1.5 / 2.75;\n return 7.5625 * t2 * t2 + 0.75;\n }\n\n if (t < 2.5 / 2.75) {\n const t2 = t - 2.25 / 2.75;\n return 7.5625 * t2 * t2 + 0.9375;\n }\n\n const t2 = t - 2.625 / 2.75;\n return 7.5625 * t2 * t2 + 0.984375;\n}\n\n/**\n * Provides a cubic bezier curve, equivalent to CSS Transitions'\n * `transition-timing-function`.\n *\n * A useful tool to visualize cubic bezier curves can be found at\n * http://cubic-bezier.com/\n */\nfunction bezier(\n x1: number,\n y1: number,\n x2: number,\n y2: number\n): { factory: () => (x: number) => number } {\n 'worklet';\n return {\n factory: () => {\n 'worklet';\n return Bezier(x1, y1, x2, y2);\n },\n };\n}\n\nfunction bezierFn(\n x1: number,\n y1: number,\n x2: number,\n y2: number\n): (x: number) => number {\n 'worklet';\n return Bezier(x1, y1, x2, y2);\n}\n\n/**\n * Runs an easing function forwards.\n */\nfunction in_(easing: EasingFn): EasingFn {\n 'worklet';\n return easing;\n}\n\n/**\n * Runs an easing function backwards.\n */\nfunction out(easing: EasingFn): EasingFn {\n 'worklet';\n return (t) => {\n 'worklet';\n return 1 - easing(1 - t);\n };\n}\n\n/**\n * Makes any easing function symmetrical. The easing function will run\n * forwards for half of the duration, then backwards for the rest of the\n * duration.\n */\nfunction inOut(easing: EasingFn): EasingFn {\n 'worklet';\n return (t) => {\n 'worklet';\n if (t < 0.5) {\n return easing(t * 2) / 2;\n }\n return 1 - easing((1 - t) * 2) / 2;\n };\n}\n\nconst EasingObject = {\n linear,\n ease,\n quad,\n cubic,\n poly,\n sin,\n circle,\n exp,\n elastic,\n back,\n bounce,\n bezier,\n bezierFn,\n in: in_,\n out,\n inOut,\n};\n\nexport const Easing = EasingObject;\n","/**\n * https://github.com/gre/bezier-easing\n * BezierEasing - use bezier curve for transition easing function\n * by Gaëtan Renaudeau 2014 - 2015 – MIT License\n */\n\n// These values are established by empiricism with tests (tradeoff: performance VS precision)\n\nexport function Bezier(\n mX1: number,\n mY1: number,\n mX2: number,\n mY2: number\n): (x: number) => number {\n 'worklet';\n\n const NEWTON_ITERATIONS = 4;\n const NEWTON_MIN_SLOPE = 0.001;\n const SUBDIVISION_PRECISION = 0.0000001;\n const SUBDIVISION_MAX_ITERATIONS = 10;\n\n const kSplineTableSize = 11;\n const kSampleStepSize = 1.0 / (kSplineTableSize - 1.0);\n\n function A(aA1: number, aA2: number): number {\n 'worklet';\n return 1.0 - 3.0 * aA2 + 3.0 * aA1;\n }\n function B(aA1: number, aA2: number): number {\n 'worklet';\n return 3.0 * aA2 - 6.0 * aA1;\n }\n function C(aA1: number) {\n 'worklet';\n return 3.0 * aA1;\n }\n\n // Returns x(t) given t, x1, and x2, or y(t) given t, y1, and y2.\n function calcBezier(aT: number, aA1: number, aA2: number): number {\n 'worklet';\n return ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\n }\n\n // Returns dx/dt given t, x1, and x2, or dy/dt given t, y1, and y2.\n function getSlope(aT: number, aA1: number, aA2: number): number {\n 'worklet';\n return 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\n }\n\n function binarySubdivide(\n aX: number,\n aA: number,\n aB: number,\n mX1: number,\n mX2: number\n ): number {\n 'worklet';\n let currentX;\n let currentT;\n let i = 0;\n do {\n currentT = aA + (aB - aA) / 2.0;\n currentX = calcBezier(currentT, mX1, mX2) - aX;\n if (currentX > 0.0) {\n aB = currentT;\n } else {\n aA = currentT;\n }\n } while (\n Math.abs(currentX) > SUBDIVISION_PRECISION &&\n ++i < SUBDIVISION_MAX_ITERATIONS\n );\n return currentT;\n }\n\n function newtonRaphsonIterate(\n aX: number,\n aGuessT: number,\n mX1: number,\n mX2: number\n ): number {\n 'worklet';\n for (let i = 0; i < NEWTON_ITERATIONS; ++i) {\n const currentSlope = getSlope(aGuessT, mX1, mX2);\n if (currentSlope === 0.0) {\n return aGuessT;\n }\n const currentX = calcBezier(aGuessT, mX1, mX2) - aX;\n aGuessT -= currentX / currentSlope;\n }\n return aGuessT;\n }\n\n function LinearEasing(x: number): number {\n 'worklet';\n return x;\n }\n\n if (!(mX1 >= 0 && mX1 <= 1 && mX2 >= 0 && mX2 <= 1)) {\n throw new Error('bezier x values must be in [0, 1] range');\n }\n\n if (mX1 === mY1 && mX2 === mY2) {\n return LinearEasing;\n }\n\n // FIXME: Float32Array is not available in Hermes right now\n //\n // var float32ArraySupported = typeof Float32Array === 'function';\n // const sampleValues = float32ArraySupported\n // ? new Float32Array(kSplineTableSize)\n // : new Array(kSplineTableSize);\n\n // Precompute samples table\n const sampleValues = new Array(kSplineTableSize);\n\n for (let i = 0; i < kSplineTableSize; ++i) {\n sampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\n }\n\n function getTForX(aX: number): number {\n 'worklet';\n let intervalStart = 0.0;\n let currentSample = 1;\n const lastSample = kSplineTableSize - 1;\n\n for (\n ;\n currentSample !== lastSample && sampleValues[currentSample] <= aX;\n ++currentSample\n ) {\n intervalStart += kSampleStepSize;\n }\n --currentSample;\n\n // Interpolate to provide an initial guess for t\n const dist =\n (aX - sampleValues[currentSample]) /\n (sampleValues[currentSample + 1] - sampleValues[currentSample]);\n const guessForT = intervalStart + dist * kSampleStepSize;\n\n const initialSlope = getSlope(guessForT, mX1, mX2);\n if (initialSlope >= NEWTON_MIN_SLOPE) {\n return newtonRaphsonIterate(aX, guessForT, mX1, mX2);\n } else if (initialSlope === 0.0) {\n return guessForT;\n } else {\n return binarySubdivide(\n aX,\n intervalStart,\n intervalStart + kSampleStepSize,\n mX1,\n mX2\n );\n }\n }\n\n return function BezierEasing(x) {\n 'worklet';\n if (mX1 === mY1 && mX2 === mY2) {\n return x; // linear\n }\n // Because JavaScript number are imprecise, we should guarantee the extremes are right.\n if (x === 0) {\n return 0;\n }\n if (x === 1) {\n return 1;\n }\n return calcBezier(getTForX(x), mY1, mY2);\n };\n}\n","/* eslint-disable camelcase */\n\nimport { ShadowNodeWrapper } from './commonTypes';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nlet findHostInstance_DEPRECATED = (_ref: React.Component) => null;\n\ntry {\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n findHostInstance_DEPRECATED =\n require('react-native/Libraries/Renderer/shims/ReactFabric').findHostInstance_DEPRECATED;\n} catch (e) {\n // do nothing\n}\n\nexport function getShadowNodeWrapperFromHostInstance(\n hostInstance: unknown\n): ShadowNodeWrapper {\n // @ts-ignore Fabric\n return hostInstance._internalInstanceHandle.stateNode.node;\n}\n\nexport function getShadowNodeWrapperFromRef(\n ref: React.Component\n): ShadowNodeWrapper {\n return getShadowNodeWrapperFromHostInstance(findHostInstance_DEPRECATED(ref));\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\nexport { default as RNRenderer } from 'react-native/Libraries/Renderer/shims/ReactNative';\n","export type {\n HigherOrderAnimation,\n NextAnimation,\n DelayAnimation,\n RepeatAnimation,\n SequenceAnimation,\n StyleLayoutAnimation,\n} from './commonTypes';\nexport { cancelAnimation, defineAnimation, initialUpdaterRun } from './util';\nexport { withTiming } from './timing';\nexport type { TimingAnimation } from './timing';\nexport { withSpring } from './spring';\nexport type { SpringAnimation } from './spring';\nexport { withDecay } from './decay';\nexport type { DecayAnimation } from './decay';\nexport { withDelay } from './delay';\nexport { withRepeat } from './repeat';\nexport { withSequence } from './sequence';\nexport { withStyleAnimation } from './styleAnimation';\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimationObject,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\nimport { Platform } from 'react-native';\n\ninterface DecayConfig {\n deceleration?: number;\n velocityFactor?: number;\n clamp?: number[];\n velocity?: number;\n}\n\ninterface DefaultDecayConfig {\n deceleration: number;\n velocityFactor: number;\n clamp?: number[];\n velocity: number;\n rubberBandEffect?: boolean;\n rubberBandFactor: number;\n}\n\nexport interface DecayAnimation extends Animation {\n lastTimestamp: Timestamp;\n startTimestamp: Timestamp;\n initialVelocity: number;\n velocity: number;\n current: AnimatableValue;\n}\n\nexport interface InnerDecayAnimation\n extends Omit,\n AnimationObject {\n current: number;\n}\n\nexport function withDecay(\n userConfig: DecayConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(0, () => {\n 'worklet';\n const config: DefaultDecayConfig = {\n deceleration: 0.998,\n velocityFactor: Platform.OS !== 'web' ? 1 : 1000,\n velocity: 0,\n rubberBandFactor: 0.6,\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n const VELOCITY_EPS = Platform.OS !== 'web' ? 1 : 1 / 20;\n const SLOPE_FACTOR = 0.1;\n\n let decay: (animation: InnerDecayAnimation, now: number) => boolean;\n\n if (config.rubberBandEffect) {\n decay = (animation: InnerDecayAnimation, now: number): boolean => {\n const {\n lastTimestamp,\n startTimestamp,\n current,\n initialVelocity,\n velocity,\n } = animation;\n\n const deltaTime = Math.min(now - lastTimestamp, 64);\n const clampIndex = initialVelocity > 0 ? 1 : 0;\n let derivative = 0;\n if (current < config.clamp![0] || current > config.clamp![1]) {\n derivative = current - config.clamp![clampIndex];\n }\n\n if (derivative !== 0) {\n animation.springActive = true;\n } else if (derivative === 0 && animation.springActive) {\n animation.current = config.clamp![clampIndex];\n return true;\n }\n\n const v =\n velocity *\n Math.exp(\n -(1 - config.deceleration) * (now - startTimestamp) * SLOPE_FACTOR\n ) -\n derivative * config.rubberBandFactor;\n\n animation.current =\n current + (v * config.velocityFactor * deltaTime) / 1000;\n animation.velocity = v;\n animation.lastTimestamp = now;\n return false;\n };\n } else {\n decay = (animation: InnerDecayAnimation, now: number): boolean => {\n const {\n lastTimestamp,\n startTimestamp,\n initialVelocity,\n current,\n velocity,\n } = animation;\n\n const deltaTime = Math.min(now - lastTimestamp, 64);\n const v =\n velocity *\n Math.exp(\n -(1 - config.deceleration) * (now - startTimestamp) * SLOPE_FACTOR\n );\n animation.current =\n current + (v * config.velocityFactor * deltaTime) / 1000;\n animation.velocity = v;\n animation.lastTimestamp = now;\n\n if (config.clamp) {\n if (initialVelocity < 0 && animation.current <= config.clamp[0]) {\n animation.current = config.clamp[0];\n return true;\n } else if (\n initialVelocity > 0 &&\n animation.current >= config.clamp[1]\n ) {\n animation.current = config.clamp[1];\n return true;\n }\n }\n\n return Math.abs(v) < VELOCITY_EPS;\n };\n }\n\n function validateConfig(): void {\n if (config.clamp) {\n if (!Array.isArray(config.clamp)) {\n throw Error(\n `config.clamp must be an array but is ${typeof config.clamp}`\n );\n }\n if (config.clamp.length !== 2) {\n throw Error(\n `clamp array must contain 2 items but is given ${config.clamp.length}`\n );\n }\n }\n if (config.velocityFactor <= 0) {\n throw Error(\n `config.velocityFactor must be greather then 0 but is ${config.velocityFactor}`\n );\n }\n if (config.rubberBandEffect && !config.clamp) {\n throw Error(\n 'You need to set `clamp` property when using `rubberBandEffect`.'\n );\n }\n }\n\n function onStart(\n animation: DecayAnimation,\n value: number,\n now: Timestamp\n ): void {\n animation.current = value;\n animation.lastTimestamp = now;\n animation.startTimestamp = now;\n animation.initialVelocity = config.velocity;\n validateConfig();\n }\n\n return {\n onFrame: decay,\n onStart,\n callback,\n velocity: config.velocity ?? 0,\n initialVelocity: 0,\n current: 0,\n lastTimestamp: 0,\n startTimestamp: 0,\n } as DecayAnimation;\n });\n}\n","import { defineAnimation } from './util';\nimport { Animation, Timestamp, AnimatableValue } from '../commonTypes';\nimport { NextAnimation, DelayAnimation } from './commonTypes';\n\nexport function withDelay(\n delayMs: number,\n _nextAnimation: NextAnimation\n): Animation {\n 'worklet';\n return defineAnimation(_nextAnimation, () => {\n 'worklet';\n const nextAnimation =\n typeof _nextAnimation === 'function' ? _nextAnimation() : _nextAnimation;\n\n function delay(animation: DelayAnimation, now: Timestamp): boolean {\n const { startTime, started, previousAnimation } = animation;\n\n if (now - startTime > delayMs) {\n if (!started) {\n nextAnimation.onStart(\n nextAnimation,\n animation.current,\n now,\n previousAnimation as DelayAnimation\n );\n animation.previousAnimation = null;\n animation.started = true;\n }\n const finished = nextAnimation.onFrame(nextAnimation, now);\n animation.current = nextAnimation.current;\n return finished;\n } else if (previousAnimation) {\n const finished =\n previousAnimation.finished ||\n previousAnimation.onFrame(previousAnimation, now);\n animation.current = previousAnimation.current;\n if (finished) {\n animation.previousAnimation = null;\n }\n }\n return false;\n }\n\n function onStart(\n animation: DelayAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: DelayAnimation\n ): void {\n animation.startTime = now;\n animation.started = false;\n animation.current = value;\n if (previousAnimation === animation) {\n animation.previousAnimation = previousAnimation.previousAnimation;\n } else {\n animation.previousAnimation = previousAnimation;\n }\n }\n\n const callback = (finished?: boolean): void => {\n if (nextAnimation.callback) {\n nextAnimation.callback(finished);\n }\n };\n\n return {\n isHigherOrder: true,\n onFrame: delay,\n onStart,\n current: nextAnimation.current,\n callback,\n previousAnimation: null,\n startTime: 0,\n started: false,\n };\n });\n}\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\nimport { NextAnimation, RepeatAnimation } from './commonTypes';\n\nexport interface InnerRepeatAnimation\n extends Omit {\n toValue: number;\n startValue: number;\n}\n\nexport function withRepeat(\n _nextAnimation: NextAnimation,\n numberOfReps = 2,\n reverse = false,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(_nextAnimation, () => {\n 'worklet';\n\n const nextAnimation: RepeatAnimation =\n typeof _nextAnimation === 'function' ? _nextAnimation() : _nextAnimation;\n\n function repeat(animation: InnerRepeatAnimation, now: Timestamp): boolean {\n const finished = nextAnimation.onFrame(nextAnimation, now);\n animation.current = nextAnimation.current;\n if (finished) {\n animation.reps += 1;\n // call inner animation's callback on every repetition\n // as the second argument the animation's current value is passed\n if (nextAnimation.callback) {\n nextAnimation.callback(true /* finished */, animation.current);\n }\n if (numberOfReps > 0 && animation.reps >= numberOfReps) {\n return true;\n }\n\n const startValue = reverse\n ? (nextAnimation.current as number)\n : animation.startValue;\n if (reverse) {\n nextAnimation.toValue = animation.startValue;\n animation.startValue = startValue;\n }\n nextAnimation.onStart(\n nextAnimation,\n startValue,\n now,\n nextAnimation.previousAnimation as RepeatAnimation\n );\n return false;\n }\n return false;\n }\n\n const repCallback = (finished: boolean): void => {\n if (callback) {\n callback(finished);\n }\n // when cancelled call inner animation's callback\n if (!finished && nextAnimation.callback) {\n nextAnimation.callback(false /* finished */);\n }\n };\n\n function onStart(\n animation: RepeatAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: RepeatAnimation\n ): void {\n animation.startValue = value;\n animation.reps = 0;\n nextAnimation.onStart(nextAnimation, value, now, previousAnimation);\n }\n\n return {\n isHigherOrder: true,\n onFrame: repeat,\n onStart,\n reps: 0,\n current: nextAnimation.current,\n callback: repCallback,\n startValue: 0,\n } as RepeatAnimation;\n });\n}\n","import { defineAnimation } from './util';\nimport { NextAnimation, SequenceAnimation } from './commonTypes';\nimport {\n Animation,\n AnimatableValue,\n AnimationObject,\n Timestamp,\n} from '../commonTypes';\n\nexport function withSequence(\n ..._animations: NextAnimation[]\n): Animation {\n 'worklet';\n return defineAnimation(\n _animations[0] as SequenceAnimation,\n () => {\n 'worklet';\n const animations = _animations.map((a) => {\n const result = typeof a === 'function' ? a() : a;\n result.finished = false;\n return result;\n });\n const firstAnimation = animations[0];\n\n const callback = (finished: boolean): void => {\n if (finished) {\n // we want to call the callback after every single animation\n // not after all of them\n return;\n }\n // this is going to be called only if sequence has been cancelled\n animations.forEach((animation) => {\n if (typeof animation.callback === 'function' && !animation.finished) {\n animation.callback(finished);\n }\n });\n };\n\n function sequence(animation: SequenceAnimation, now: Timestamp): boolean {\n const currentAnim = animations[animation.animationIndex];\n const finished = currentAnim.onFrame(currentAnim, now);\n animation.current = currentAnim.current;\n if (finished) {\n // we want to call the callback after every single animation\n if (currentAnim.callback) {\n currentAnim.callback(true /* finished */);\n }\n currentAnim.finished = true;\n animation.animationIndex += 1;\n if (animation.animationIndex < animations.length) {\n const nextAnim = animations[animation.animationIndex];\n nextAnim.onStart(nextAnim, currentAnim.current, now, currentAnim);\n return false;\n }\n return true;\n }\n return false;\n }\n\n function onStart(\n animation: SequenceAnimation,\n value: AnimatableValue,\n now: Timestamp,\n previousAnimation: SequenceAnimation\n ): void {\n animation.animationIndex = 0;\n if (previousAnimation === undefined) {\n previousAnimation = animations[\n animations.length - 1\n ] as SequenceAnimation;\n }\n firstAnimation.onStart(firstAnimation, value, now, previousAnimation);\n }\n\n return {\n isHigherOrder: true,\n onFrame: sequence,\n onStart,\n animationIndex: 0,\n current: firstAnimation.current,\n callback,\n } as SequenceAnimation;\n }\n );\n}\n","import { defineAnimation } from './util';\nimport {\n Animation,\n AnimationCallback,\n AnimatableValue,\n Timestamp,\n} from '../commonTypes';\n\ninterface SpringConfig {\n mass?: number;\n stiffness?: number;\n overshootClamping?: boolean;\n restDisplacementThreshold?: number;\n restSpeedThreshold?: number;\n velocity?: number;\n damping?: number;\n}\n\nexport interface SpringAnimation extends Animation {\n current: AnimatableValue;\n toValue: AnimatableValue;\n velocity: number;\n lastTimestamp: Timestamp;\n}\n\nexport interface InnerSpringAnimation\n extends Omit {\n toValue: number;\n current: number;\n}\n\nexport function withSpring(\n toValue: AnimatableValue,\n userConfig?: SpringConfig,\n callback?: AnimationCallback\n): Animation {\n 'worklet';\n\n return defineAnimation(toValue, () => {\n 'worklet';\n\n // TODO: figure out why we can't use spread or Object.assign here\n // when user config is \"frozen object\" we can't enumerate it (perhaps\n // something is wrong with the object prototype).\n const config: Required = {\n damping: 10,\n mass: 1,\n stiffness: 100,\n overshootClamping: false,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 2,\n velocity: 0,\n };\n if (userConfig) {\n Object.keys(userConfig).forEach(\n (key) =>\n ((config as any)[key] = userConfig[key as keyof typeof userConfig])\n );\n }\n\n function spring(animation: InnerSpringAnimation, now: Timestamp): boolean {\n const { toValue, lastTimestamp, current, velocity } = animation;\n\n const deltaTime = Math.min(now - lastTimestamp, 64);\n animation.lastTimestamp = now;\n\n const c = config.damping;\n const m = config.mass;\n const k = config.stiffness;\n\n const v0 = -velocity;\n const x0 = toValue - current;\n\n const zeta = c / (2 * Math.sqrt(k * m)); // damping ratio\n const omega0 = Math.sqrt(k / m); // undamped angular frequency of the oscillator (rad/ms)\n const omega1 = omega0 * Math.sqrt(1 - zeta ** 2); // exponential decay\n\n const t = deltaTime / 1000;\n\n const sin1 = Math.sin(omega1 * t);\n const cos1 = Math.cos(omega1 * t);\n\n // under damped\n const underDampedEnvelope = Math.exp(-zeta * omega0 * t);\n const underDampedFrag1 =\n underDampedEnvelope *\n (sin1 * ((v0 + zeta * omega0 * x0) / omega1) + x0 * cos1);\n\n const underDampedPosition = toValue - underDampedFrag1;\n // This looks crazy -- it's actually just the derivative of the oscillation function\n const underDampedVelocity =\n zeta * omega0 * underDampedFrag1 -\n underDampedEnvelope *\n (cos1 * (v0 + zeta * omega0 * x0) - omega1 * x0 * sin1);\n\n // critically damped\n const criticallyDampedEnvelope = Math.exp(-omega0 * t);\n const criticallyDampedPosition =\n toValue - criticallyDampedEnvelope * (x0 + (v0 + omega0 * x0) * t);\n\n const criticallyDampedVelocity =\n criticallyDampedEnvelope *\n (v0 * (t * omega0 - 1) + t * x0 * omega0 * omega0);\n\n const isOvershooting = () => {\n if (config.overshootClamping && config.stiffness !== 0) {\n return current < toValue\n ? animation.current > toValue\n : animation.current < toValue;\n } else {\n return false;\n }\n };\n\n const isVelocity = Math.abs(velocity) < config.restSpeedThreshold;\n const isDisplacement =\n config.stiffness === 0 ||\n Math.abs(toValue - current) < config.restDisplacementThreshold;\n\n if (zeta < 1) {\n animation.current = underDampedPosition;\n animation.velocity = underDampedVelocity;\n } else {\n animation.current = criticallyDampedPosition;\n animation.velocity = criticallyDampedVelocity;\n }\n\n if (isOvershooting() || (isVelocity && isDisplacement)) {\n if (config.stiffness !== 0) {\n animation.velocity = 0;\n animation.current = toValue;\n }\n // clear lastTimestamp to avoid using stale value by the next spring animation that starts after this one\n animation.lastTimestamp = 0;\n return true;\n }\n return false;\n }\n\n function onStart(\n animation: SpringAnimation,\n value: number,\n now: Timestamp,\n previousAnimation: SpringAnimation\n ): void {\n animation.current = value;\n if (previousAnimation) {\n animation.velocity =\n previousAnimation.velocity || animation.velocity || 0;\n animation.lastTimestamp = previousAnimation.lastTimestamp || now;\n } else {\n animation.lastTimestamp = now;\n }\n }\n\n return {\n onFrame: spring,\n onStart,\n toValue,\n velocity: config.velocity || 0,\n current: toValue,\n callback,\n lastTimestamp: 0,\n } as SpringAnimation;\n });\n}\n","import { Text } from 'react-native';\nimport createAnimatedComponent from '../../createAnimatedComponent';\n\nconst AnimatedText = createAnimatedComponent(Text as any);\n\nexport default AnimatedText;\n","import { View } from 'react-native';\nimport createAnimatedComponent from '../../createAnimatedComponent';\n\nconst AnimatedView = createAnimatedComponent(View);\n\nexport default AnimatedView;\n","import { ScrollView } from 'react-native';\nimport createAnimatedComponent from '../../createAnimatedComponent';\n\nconst AnimatedScrollView = createAnimatedComponent(ScrollView);\n\nexport default AnimatedScrollView;\n","import { Image } from 'react-native';\nimport createAnimatedComponent from '../../createAnimatedComponent';\n\nconst AnimatedImage = createAnimatedComponent(Image as any);\n\nexport default AnimatedImage;\n","import React, { ForwardedRef, forwardRef } from 'react';\nimport {\n FlatList,\n FlatListProps,\n LayoutChangeEvent,\n StyleSheet,\n} from 'react-native';\nimport ReanimatedView from './View';\nimport createAnimatedComponent from '../../createAnimatedComponent';\nimport { ILayoutAnimationBuilder } from '../layoutReanimation/animationBuilder/commonTypes';\nimport { StyleProps } from '../commonTypes';\n\nconst AnimatedFlatList = createAnimatedComponent(FlatList as any) as any;\n\ninterface AnimatedFlatListProps {\n onLayout: (event: LayoutChangeEvent) => void;\n // implicit `children` prop has been removed in @types/react^18.0.0\n children: React.ReactNode;\n inverted?: boolean;\n horizontal?: boolean;\n}\n\nconst createCellRenderer = (\n itemLayoutAnimation?: ILayoutAnimationBuilder,\n cellStyle?: StyleProps\n) => {\n const cellRenderer = (props: AnimatedFlatListProps) => {\n return (\n \n {props.children}\n \n );\n };\n\n return cellRenderer;\n};\n\nexport interface ReanimatedFlatListProps extends FlatListProps {\n itemLayoutAnimation?: ILayoutAnimationBuilder;\n}\n\ntype ReanimatedFlatListFC = React.FC>;\n\nconst ReanimatedFlatlist: ReanimatedFlatListFC = forwardRef(\n (props: ReanimatedFlatListProps, ref: ForwardedRef) => {\n const { itemLayoutAnimation, ...restProps } = props;\n\n const cellStyle = restProps?.inverted\n ? restProps?.horizontal\n ? styles.horizontallyInverted\n : styles.verticallyInverted\n : undefined;\n\n const cellRenderer = React.useMemo(\n () => createCellRenderer(itemLayoutAnimation, cellStyle),\n [cellStyle]\n );\n\n return (\n \n );\n }\n);\n\nconst styles = StyleSheet.create({\n verticallyInverted: { transform: [{ scaleY: -1 }] },\n horizontallyInverted: { transform: [{ scaleX: -1 }] },\n});\n\nexport default ReanimatedFlatlist;\n","// In order to keep bundle size down, we treat this file as a polyfill for Web.\n\nimport { shouldBeUseWeb } from '../PlatformChecker';\nconst initializeGlobalsForWeb = () => {\n if (shouldBeUseWeb()) {\n global._frameTimestamp = null;\n global._measure = () => {\n console.warn(\n \"[Reanimated] You can't use `measure` with Chrome Debugger or with web version\"\n );\n return {\n x: 0,\n y: 0,\n width: 0,\n height: 0,\n pageX: 0,\n pageY: 0,\n };\n };\n global._scrollTo = () => {\n console.warn(\n \"[Reanimated] You can't use `scrollTo` with Chrome Debugger or with web version\"\n );\n };\n global._dispatchCommand = () => {\n console.warn(\n \"[Reanimated] You can't use `scrollTo` or `dispatchCommand` methods with Chrome Debugger or with web version\"\n );\n };\n global._setGestureState = () => {\n console.warn(\n \"[Reanimated] You can't use `setGestureState` with Chrome Debugger or with web version\"\n );\n };\n }\n return true;\n};\n\n/*\n If a file doesn't export anything, tree shaking doesn't pack\n it into the JS bundle. In effect, the code inside of this file\n will never execute. That is why we wrapped initialization code\n into a function, and we call this one during creating\n the module export object.\n*/\n\nexport default initializeGlobalsForWeb();\n","export * from './core';\nexport * from './hook';\nexport * from './animation';\nexport * from './interpolation';\nexport * from './interpolateColor';\nexport * from './Easing';\nexport * from './NativeMethods';\nexport * from './Colors';\nexport * from './PropAdapters';\nexport * from './layoutReanimation';\nexport * from './utils';\nexport * from './commonTypes';\n","export type { DependencyList } from './commonTypes';\nexport {\n useAnimatedProps,\n useEvent,\n useHandler,\n useWorkletCallback,\n} from './Hooks';\nexport { useSharedValue } from './useSharedValue';\nexport { useAnimatedStyle } from './useAnimatedStyle';\nexport type { AnimatedStyleResult } from './useAnimatedStyle';\nexport { useAnimatedGestureHandler } from './useAnimatedGestureHandler';\nexport type {\n GestureHandlerEvent,\n GestureHandlers,\n} from './useAnimatedGestureHandler';\nexport { useAnimatedReaction } from './useAnimatedReaction';\nexport type { AnimatedReactionWorkletFunction } from './useAnimatedReaction';\nexport { useAnimatedRef } from './useAnimatedRef';\nexport { useAnimatedScrollHandler } from './useAnimatedScrollHandler';\nexport type { ScrollHandler, ScrollHandlers } from './useAnimatedScrollHandler';\nexport { useDerivedValue } from './useDerivedValue';\nexport type { DerivedValue } from './useDerivedValue';\nexport { useAnimatedSensor, SensorType } from './useAnimatedSensor';\nexport { useFrameCallback } from './useFrameCallback';\nexport type { FrameCallback } from './useFrameCallback';\nexport { useAnimatedKeyboard } from './useAnimatedKeyboard';\nexport { useScrollViewOffset } from './useScrollViewOffset';\n","import { useEffect, useRef } from 'react';\nimport { makeMutable, registerSensor, unregisterSensor } from '../core';\nimport { SharedValue, Value3D, ValueRotation } from '../commonTypes';\n\nexport enum SensorType {\n ACCELEROMETER = 1,\n GYROSCOPE = 2,\n GRAVITY = 3,\n MAGNETIC_FIELD = 4,\n ROTATION = 5,\n}\n\nexport type SensorConfig = {\n interval: number | 'auto';\n};\n\nexport type AnimatedSensor = {\n sensor: SharedValue;\n unregister: () => void;\n isAvailable: boolean;\n config: SensorConfig;\n};\n\nfunction initSensorData(\n sensorType: SensorType\n): SharedValue {\n if (sensorType === SensorType.ROTATION) {\n return makeMutable({\n qw: 0,\n qx: 0,\n qy: 0,\n qz: 0,\n yaw: 0,\n pitch: 0,\n roll: 0,\n });\n } else {\n return makeMutable({\n x: 0,\n y: 0,\n z: 0,\n });\n }\n}\n\nexport function useAnimatedSensor(\n sensorType: SensorType,\n userConfig?: SensorConfig\n): AnimatedSensor {\n const ref = useRef({\n sensor: initSensorData(sensorType),\n unregister: () => {\n // NOOP\n },\n isAvailable: false,\n config: {\n interval: 0,\n },\n });\n\n useEffect(() => {\n ref.current.config = { interval: 'auto', ...userConfig };\n const sensorData = ref.current.sensor!;\n const id = registerSensor(\n sensorType,\n ref.current.config.interval === 'auto' ? -1 : ref.current.config.interval,\n (data) => {\n 'worklet';\n sensorData.value = data;\n }\n );\n\n if (id !== -1) {\n // if sensor is available\n ref.current.unregister = () => unregisterSensor(id);\n ref.current.isAvailable = true;\n } else {\n // if sensor is unavailable\n ref.current.unregister = () => {\n // NOOP\n };\n ref.current.isAvailable = false;\n }\n\n return () => {\n ref.current.unregister();\n };\n }, [sensorType, userConfig]);\n\n return ref.current;\n}\n","import { MutableRefObject } from 'react';\nimport { Context, WorkletFunction } from '../commonTypes';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport { DependencyList } from './commonTypes';\nimport { useEvent, useHandler } from './Hooks';\n\ninterface Handler extends WorkletFunction {\n (event: T, context: TContext, isCanceledOrFailed?: boolean): void;\n}\n\nexport interface GestureHandlers {\n [key: string]: Handler | undefined;\n onStart?: Handler;\n onActive?: Handler;\n onEnd?: Handler;\n onFail?: Handler;\n onCancel?: Handler;\n onFinish?: Handler;\n}\n\nexport enum EventType {\n UNDETERMINED = 0,\n FAILED,\n BEGAN,\n CANCELLED,\n ACTIVE,\n END,\n}\n\nexport interface GestureHandlerStateChangeNativeEvent {\n handlerTag: number;\n numberOfPointers: number;\n state: EventType;\n oldState: EventType;\n}\n\nexport interface GestureHandlerEvent\n extends GestureHandlerStateChangeNativeEvent {\n nativeEvent: T;\n}\n\nexport function useAnimatedGestureHandler<\n T extends GestureHandlerEvent,\n TContext extends Context\n>(\n handlers: GestureHandlers,\n dependencies?: DependencyList\n): MutableRefObject | null> | ((e: T) => void) {\n const { context, doDependenciesDiffer, useWeb } = useHandler(\n handlers,\n dependencies\n );\n\n const handler = (e: T) => {\n 'worklet';\n const event = useWeb ? e.nativeEvent : e;\n\n if (event.state === EventType.BEGAN && handlers.onStart) {\n handlers.onStart(event, context);\n }\n if (event.state === EventType.ACTIVE && handlers.onActive) {\n handlers.onActive(event, context);\n }\n if (\n event.oldState === EventType.ACTIVE &&\n event.state === EventType.END &&\n handlers.onEnd\n ) {\n handlers.onEnd(event, context);\n }\n if (\n event.oldState === EventType.BEGAN &&\n event.state === EventType.FAILED &&\n handlers.onFail\n ) {\n handlers.onFail(event, context);\n }\n if (\n event.oldState === EventType.ACTIVE &&\n event.state === EventType.CANCELLED &&\n handlers.onCancel\n ) {\n handlers.onCancel(event, context);\n }\n if (\n (event.oldState === EventType.BEGAN ||\n event.oldState === EventType.ACTIVE) &&\n event.state !== EventType.BEGAN &&\n event.state !== EventType.ACTIVE &&\n handlers.onFinish\n ) {\n handlers.onFinish(\n event,\n context,\n event.state === EventType.CANCELLED || event.state === EventType.FAILED\n );\n }\n };\n\n if (useWeb) {\n return handler;\n }\n\n return useEvent(\n handler,\n ['onGestureHandlerStateChange', 'onGestureHandlerEvent'],\n doDependenciesDiffer\n );\n}\n","import { useCallback } from 'react';\nimport { DependencyList } from './commonTypes';\nimport { useAnimatedStyle } from './useAnimatedStyle';\n\n// TODO: we should make sure that when useAP is used we are not assigning styles\n// when you need styles to animated you should always use useAS\nexport const useAnimatedProps = useAnimatedStyle;\n\nexport function useWorkletCallback(\n fun: (...args: A) => R,\n deps?: DependencyList\n): (...args: Parameters) => R {\n return useCallback(fun, deps ?? []);\n}\n\nexport { useEvent, useHandler } from './utils';\n","import { MutableRefObject, useEffect, useRef } from 'react';\nimport { processColor } from '../Colors';\nimport {\n AnimatedStyle,\n Context,\n NativeEvent,\n NestedObjectValues,\n StyleProps,\n WorkletFunction,\n AnimationObject,\n} from '../commonTypes';\nimport { makeRemote } from '../core';\nimport { isWeb, isJest } from '../PlatformChecker';\nimport { colorProps } from '../UpdateProps';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport { ContextWithDependencies, DependencyList } from './commonTypes';\n\ninterface Handler extends WorkletFunction {\n (event: T, context: TContext): void;\n}\n\ninterface Handlers {\n [key: string]: Handler | undefined;\n}\n\nexport interface UseHandlerContext {\n context: TContext;\n doDependenciesDiffer: boolean;\n useWeb: boolean;\n}\n\nexport function useEvent>(\n handler: (event: T) => void,\n eventNames: string[] = [],\n rebuild = false\n): MutableRefObject | null> {\n const initRef = useRef | null>(null);\n if (initRef.current === null) {\n initRef.current = new WorkletEventHandler(handler, eventNames);\n } else if (rebuild) {\n initRef.current.updateWorklet(handler);\n }\n\n return initRef;\n}\n\nexport function useHandler(\n handlers: Handlers,\n dependencies?: DependencyList\n): UseHandlerContext {\n const initRef = useRef | null>(null);\n if (initRef.current === null) {\n initRef.current = {\n context: makeRemote({} as TContext),\n savedDependencies: [],\n };\n }\n\n useEffect(() => {\n return () => {\n initRef.current = null;\n };\n }, []);\n\n const { context, savedDependencies } = initRef.current;\n\n dependencies = buildDependencies(dependencies, handlers);\n\n const doDependenciesDiffer = !areDependenciesEqual(\n dependencies,\n savedDependencies\n );\n initRef.current.savedDependencies = dependencies;\n const useWeb = isWeb() || isJest();\n\n return { context, doDependenciesDiffer, useWeb };\n}\n\n// builds one big hash from multiple worklets' hashes\nexport function buildWorkletsHash(\n handlers: Record | Array\n): string {\n return Object.values(handlers).reduce(\n (acc: string, worklet: WorkletFunction) =>\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n acc + worklet.__workletHash!.toString(),\n ''\n );\n}\n\n// builds dependencies array for gesture handlers\nexport function buildDependencies(\n dependencies: DependencyList,\n handlers: Record\n): Array {\n const handlersList: WorkletFunction[] = Object.values(handlers).filter(\n (handler) => handler !== undefined\n ) as WorkletFunction[];\n if (!dependencies) {\n dependencies = handlersList.map((handler) => {\n return {\n workletHash: handler.__workletHash,\n closure: handler._closure,\n };\n });\n } else {\n dependencies.push(buildWorkletsHash(handlersList));\n }\n return dependencies;\n}\n\n// this is supposed to work as useEffect comparison\nexport function areDependenciesEqual(\n nextDeps: DependencyList,\n prevDeps: DependencyList\n): boolean {\n function is(x: number, y: number) {\n /* eslint-disable no-self-compare */\n return (x === y && (x !== 0 || 1 / x === 1 / y)) || (x !== x && y !== y);\n /* eslint-enable no-self-compare */\n }\n const objectIs: (nextDeps: unknown, prevDeps: unknown) => boolean =\n typeof Object.is === 'function' ? Object.is : is;\n\n function areHookInputsEqual(\n nextDeps: DependencyList,\n prevDeps: DependencyList\n ): boolean {\n if (!nextDeps || !prevDeps || prevDeps.length !== nextDeps.length) {\n return false;\n }\n for (let i = 0; i < prevDeps.length; ++i) {\n if (!objectIs(nextDeps[i], prevDeps[i])) {\n return false;\n }\n }\n return true;\n }\n\n return areHookInputsEqual(nextDeps, prevDeps);\n}\n\nexport function hasColorProps(updates: AnimatedStyle): boolean {\n const colorPropsSet = new Set(colorProps);\n for (const key in updates) {\n if (colorPropsSet.has(key)) {\n return true;\n }\n }\n return false;\n}\n\nexport function parseColors(updates: AnimatedStyle): void {\n 'worklet';\n for (const key in updates) {\n if (colorProps.indexOf(key) !== -1) {\n // value could be an animation in which case processColor will recognize it and will return undefined\n // -> in such a case we don't want to override style of that key\n const processedColor = processColor(updates[key]);\n if (processedColor !== undefined) {\n updates[key] = processedColor;\n }\n }\n }\n}\n\nexport function canApplyOptimalisation(upadterFn: WorkletFunction): number {\n const FUNCTIONLESS_FLAG = 0b00000001;\n const STATEMENTLESS_FLAG = 0b00000010;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const optimalization = upadterFn.__optimalization!;\n return (\n optimalization & FUNCTIONLESS_FLAG && optimalization & STATEMENTLESS_FLAG\n );\n}\n\nexport function isAnimated(prop: NestedObjectValues): boolean {\n 'worklet';\n const propsToCheck: NestedObjectValues[] = [prop];\n while (propsToCheck.length > 0) {\n const currentProp: NestedObjectValues =\n propsToCheck.pop() as NestedObjectValues;\n if (Array.isArray(currentProp)) {\n for (const item of currentProp) {\n propsToCheck.push(item);\n }\n } else if (currentProp?.onFrame !== undefined) {\n return true;\n } else if (typeof currentProp === 'object') {\n for (const item of Object.values(currentProp)) {\n propsToCheck.push(item);\n }\n }\n // if none of the above, it's not the animated prop, check next one\n }\n\n // when none of the props were animated return false\n return false;\n}\n\nexport function styleDiff(\n oldStyle: AnimatedStyle,\n newStyle: AnimatedStyle\n): Partial {\n 'worklet';\n const diff: any = {};\n for (const key in oldStyle) {\n if (newStyle[key] === undefined) {\n diff[key] = null;\n }\n }\n for (const key in newStyle) {\n const value = newStyle[key];\n const oldValue = oldStyle[key];\n\n if (isAnimated(value)) {\n // do nothing\n continue;\n }\n if (oldValue !== value) {\n diff[key] = value;\n }\n }\n return diff;\n}\n\nexport function getStyleWithoutAnimations(newStyle: AnimatedStyle): StyleProps {\n 'worklet';\n const diff: StyleProps = {};\n\n for (const key in newStyle) {\n const value = newStyle[key];\n if (isAnimated(value)) {\n continue;\n }\n diff[key] = value;\n }\n return diff;\n}\n\nexport const validateAnimatedStyles = (styles: AnimatedStyle): void => {\n 'worklet';\n if (typeof styles !== 'object') {\n throw new Error(\n `useAnimatedStyle has to return an object, found ${typeof styles} instead`\n );\n } else if (Array.isArray(styles)) {\n throw new Error(\n 'useAnimatedStyle has to return an object and cannot return static styles combined with dynamic ones. Please do merging where a component receives props.'\n );\n }\n};\n","/* global _frameTimestamp */\nimport { MutableRefObject, useEffect, useRef } from 'react';\n\nimport { startMapper, stopMapper, makeRemote, getTimestamp } from '../core';\nimport updateProps, { updatePropsJestWrapper } from '../UpdateProps';\nimport { initialUpdaterRun } from '../animation';\nimport NativeReanimatedModule from '../NativeReanimated';\nimport { useSharedValue } from './useSharedValue';\nimport {\n buildWorkletsHash,\n getStyleWithoutAnimations,\n isAnimated,\n styleDiff,\n validateAnimatedStyles,\n} from './utils';\nimport { DependencyList, Descriptor } from './commonTypes';\nimport {\n makeViewDescriptorsSet,\n makeViewsRefSet,\n ViewDescriptorsSet,\n ViewRefSet,\n} from '../ViewDescriptorsSet';\nimport { isJest } from '../PlatformChecker';\nimport {\n AnimationObject,\n Timestamp,\n AdapterWorkletFunction,\n AnimatedStyle,\n BasicWorkletFunction,\n BasicWorkletFunctionOptional,\n NestedObjectValues,\n SharedValue,\n} from '../commonTypes';\nexport interface AnimatedStyleResult {\n viewDescriptors: ViewDescriptorsSet;\n initial: AnimatedStyle;\n viewsRef: ViewRefSet;\n animatedStyle?: MutableRefObject;\n}\n\ninterface AnimatedState {\n last: AnimatedStyle;\n animations: AnimatedStyle;\n isAnimationRunning: boolean;\n isAnimationCancelled: boolean;\n}\n\ninterface AnimationRef {\n initial: {\n value: AnimatedStyle;\n updater: () => AnimatedStyle;\n };\n remoteState: AnimatedState;\n viewDescriptors: ViewDescriptorsSet;\n}\n\nfunction prepareAnimation(\n animatedProp: AnimatedStyle,\n lastAnimation: AnimatedStyle,\n lastValue: AnimatedStyle\n): void {\n 'worklet';\n if (Array.isArray(animatedProp)) {\n animatedProp.forEach((prop, index) => {\n prepareAnimation(\n prop,\n lastAnimation && lastAnimation[index],\n lastValue && lastValue[index]\n );\n });\n // return animatedProp;\n }\n if (typeof animatedProp === 'object' && animatedProp.onFrame) {\n const animation = animatedProp;\n\n let value = animation.current;\n if (lastValue !== undefined) {\n if (typeof lastValue === 'object') {\n if (lastValue.value !== undefined) {\n // previously it was a shared value\n value = lastValue.value;\n } else if (lastValue.onFrame !== undefined) {\n if (lastAnimation?.current !== undefined) {\n // it was an animation before, copy its state\n value = lastAnimation.current;\n } else if (lastValue?.current !== undefined) {\n // it was initialized\n value = lastValue.current;\n }\n }\n } else {\n // previously it was a plain value, just set it as starting point\n value = lastValue;\n }\n }\n\n animation.callStart = (timestamp: Timestamp) => {\n animation.onStart(animation, value, timestamp, lastAnimation);\n };\n animation.callStart(getTimestamp());\n animation.callStart = null;\n } else if (typeof animatedProp === 'object') {\n // it is an object\n Object.keys(animatedProp).forEach((key) =>\n prepareAnimation(\n animatedProp[key],\n lastAnimation && lastAnimation[key],\n lastValue && lastValue[key]\n )\n );\n }\n}\n\nfunction runAnimations(\n animation: AnimatedStyle,\n timestamp: Timestamp,\n key: number | string,\n result: AnimatedStyle,\n animationsActive: SharedValue\n): boolean {\n 'worklet';\n if (!animationsActive.value) {\n return true;\n }\n if (Array.isArray(animation)) {\n result[key] = [];\n let allFinished = true;\n animation.forEach((entry, index) => {\n if (\n !runAnimations(entry, timestamp, index, result[key], animationsActive)\n ) {\n allFinished = false;\n }\n });\n return allFinished;\n } else if (typeof animation === 'object' && animation.onFrame) {\n let finished = true;\n if (!animation.finished) {\n if (animation.callStart) {\n animation.callStart(timestamp);\n animation.callStart = null;\n }\n finished = animation.onFrame(animation, timestamp);\n animation.timestamp = timestamp;\n if (finished) {\n animation.finished = true;\n animation.callback && animation.callback(true /* finished */);\n }\n }\n result[key] = animation.current;\n return finished;\n } else if (typeof animation === 'object') {\n result[key] = {};\n let allFinished = true;\n Object.keys(animation).forEach((k) => {\n if (\n !runAnimations(\n animation[k],\n timestamp,\n k,\n result[key],\n animationsActive\n )\n ) {\n allFinished = false;\n }\n });\n return allFinished;\n } else {\n result[key] = animation;\n return true;\n }\n}\n\nfunction styleUpdater(\n viewDescriptors: SharedValue,\n updater: BasicWorkletFunction,\n state: AnimatedState,\n maybeViewRef: ViewRefSet | undefined,\n animationsActive: SharedValue\n): void {\n 'worklet';\n const animations = state.animations ?? {};\n const newValues = updater() ?? {};\n const oldValues = state.last;\n\n let hasAnimations = false;\n for (const key in newValues) {\n const value = newValues[key];\n if (isAnimated(value)) {\n prepareAnimation(value, animations[key], oldValues[key]);\n animations[key] = value;\n hasAnimations = true;\n } else {\n delete animations[key];\n }\n }\n\n if (hasAnimations) {\n const frame = (_timestamp?: Timestamp) => {\n const { animations, last, isAnimationCancelled } = state;\n const timestamp = _timestamp ?? getTimestamp();\n if (isAnimationCancelled) {\n state.isAnimationRunning = false;\n return;\n }\n\n const updates: AnimatedStyle = {};\n let allFinished = true;\n for (const propName in animations) {\n const finished = runAnimations(\n animations[propName],\n timestamp,\n propName,\n updates,\n animationsActive\n );\n if (finished) {\n last[propName] = updates[propName];\n delete animations[propName];\n } else {\n allFinished = false;\n }\n }\n\n if (updates) {\n updateProps(viewDescriptors, updates, maybeViewRef);\n }\n\n if (!allFinished) {\n requestAnimationFrame(frame);\n } else {\n state.isAnimationRunning = false;\n }\n };\n\n state.animations = animations;\n if (!state.isAnimationRunning) {\n state.isAnimationCancelled = false;\n state.isAnimationRunning = true;\n if (_frameTimestamp) {\n frame(_frameTimestamp);\n } else {\n requestAnimationFrame(frame);\n }\n }\n state.last = Object.assign({}, oldValues, newValues);\n const style = getStyleWithoutAnimations(state.last);\n if (style) {\n updateProps(viewDescriptors, style, maybeViewRef);\n }\n } else {\n state.isAnimationCancelled = true;\n state.animations = [];\n\n const diff = styleDiff(oldValues, newValues);\n state.last = Object.assign({}, oldValues, newValues);\n if (diff) {\n updateProps(viewDescriptors, newValues, maybeViewRef);\n }\n }\n}\n\nfunction jestStyleUpdater(\n viewDescriptors: SharedValue,\n updater: BasicWorkletFunction,\n state: AnimatedState,\n maybeViewRef: ViewRefSet | undefined,\n animationsActive: SharedValue,\n animatedStyle: MutableRefObject,\n adapters: AdapterWorkletFunction[] = []\n): void {\n 'worklet';\n const animations: AnimatedStyle = state.animations ?? {};\n const newValues = updater() ?? {};\n const oldValues = state.last;\n\n // extract animated props\n let hasAnimations = false;\n Object.keys(animations).forEach((key) => {\n const value = newValues[key];\n if (!isAnimated(value)) {\n delete animations[key];\n }\n });\n Object.keys(newValues).forEach((key) => {\n const value = newValues[key];\n if (isAnimated(value)) {\n prepareAnimation(value, animations[key], oldValues[key]);\n animations[key] = value;\n hasAnimations = true;\n }\n });\n\n function frame(_timestamp?: Timestamp) {\n const { animations, last, isAnimationCancelled } = state;\n const timestamp = _timestamp ?? getTimestamp();\n if (isAnimationCancelled) {\n state.isAnimationRunning = false;\n return;\n }\n\n const updates: AnimatedStyle = {};\n let allFinished = true;\n Object.keys(animations).forEach((propName) => {\n const finished = runAnimations(\n animations[propName],\n timestamp,\n propName,\n updates,\n animationsActive\n );\n if (finished) {\n last[propName] = updates[propName];\n delete animations[propName];\n } else {\n allFinished = false;\n }\n });\n\n if (Object.keys(updates).length) {\n updatePropsJestWrapper(\n viewDescriptors,\n updates,\n maybeViewRef,\n animatedStyle,\n adapters\n );\n }\n\n if (!allFinished) {\n requestAnimationFrame(frame);\n } else {\n state.isAnimationRunning = false;\n }\n }\n\n if (hasAnimations) {\n state.animations = animations;\n if (!state.isAnimationRunning) {\n state.isAnimationCancelled = false;\n state.isAnimationRunning = true;\n if (_frameTimestamp) {\n frame(_frameTimestamp);\n } else {\n requestAnimationFrame(frame);\n }\n }\n } else {\n state.isAnimationCancelled = true;\n state.animations = [];\n }\n\n // calculate diff\n const diff = styleDiff(oldValues, newValues);\n state.last = Object.assign({}, oldValues, newValues);\n\n if (Object.keys(diff).length !== 0) {\n updatePropsJestWrapper(\n viewDescriptors,\n diff,\n maybeViewRef,\n animatedStyle,\n adapters\n );\n }\n}\n\n// check for invalid usage of shared values in returned object\nfunction checkSharedValueUsage(\n prop: NestedObjectValues,\n currentKey?: string\n): void {\n if (Array.isArray(prop)) {\n // if it's an array (i.ex. transform) validate all its elements\n for (const element of prop) {\n checkSharedValueUsage(element, currentKey);\n }\n } else if (typeof prop === 'object' && prop.value === undefined) {\n // if it's a nested object, run validation for all its props\n for (const key of Object.keys(prop)) {\n checkSharedValueUsage(prop[key], key);\n }\n } else if (\n currentKey !== undefined &&\n typeof prop === 'object' &&\n prop.value !== undefined\n ) {\n // if shared value is passed insted of its value, throw an error\n throw new Error(\n `invalid value passed to \\`${currentKey}\\`, maybe you forgot to use \\`.value\\`?`\n );\n }\n}\n\nexport function useAnimatedStyle(\n updater: BasicWorkletFunction,\n dependencies?: DependencyList,\n adapters?: AdapterWorkletFunction | AdapterWorkletFunction[]\n): AnimatedStyleResult {\n const viewsRef: ViewRefSet = makeViewsRefSet();\n const initRef = useRef();\n const inputs = Object.values(updater._closure ?? {});\n const adaptersArray: AdapterWorkletFunction[] = adapters\n ? Array.isArray(adapters)\n ? adapters\n : [adapters]\n : [];\n const adaptersHash = adapters ? buildWorkletsHash(adaptersArray) : null;\n const animationsActive = useSharedValue(true);\n const animatedStyle: MutableRefObject = useRef(\n {}\n );\n\n // build dependencies\n if (!dependencies) {\n dependencies = [...inputs, updater.__workletHash];\n } else {\n dependencies.push(updater.__workletHash);\n }\n adaptersHash && dependencies.push(adaptersHash);\n\n if (!initRef.current) {\n const initialStyle: AnimatedStyle = initialUpdaterRun(updater);\n validateAnimatedStyles(initialStyle);\n initRef.current = {\n initial: {\n value: initialStyle,\n updater: updater,\n },\n remoteState: makeRemote({\n last: initialStyle,\n animations: {},\n isAnimationCancelled: false,\n isAnimationRunning: false,\n }),\n viewDescriptors: makeViewDescriptorsSet(),\n };\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const { initial, remoteState, viewDescriptors } = initRef.current!;\n const sharableViewDescriptors = viewDescriptors.sharableViewDescriptors;\n const maybeViewRef = NativeReanimatedModule.native ? undefined : viewsRef;\n\n dependencies.push(sharableViewDescriptors);\n\n useEffect(() => {\n let fun;\n let updaterFn = updater as BasicWorkletFunctionOptional;\n if (adapters) {\n updaterFn = () => {\n 'worklet';\n const newValues = updater();\n adaptersArray.forEach((adapter) => {\n adapter(newValues);\n });\n return newValues;\n };\n }\n\n if (isJest()) {\n fun = () => {\n 'worklet';\n jestStyleUpdater(\n sharableViewDescriptors,\n updater,\n remoteState,\n maybeViewRef,\n animationsActive,\n animatedStyle,\n adaptersArray\n );\n };\n } else {\n fun = () => {\n 'worklet';\n styleUpdater(\n sharableViewDescriptors,\n updaterFn,\n remoteState,\n maybeViewRef,\n animationsActive\n );\n };\n }\n const mapperId = startMapper(fun, inputs);\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n\n useEffect(() => {\n animationsActive.value = true;\n return () => {\n // initRef.current = null;\n // viewsRef = null;\n animationsActive.value = false;\n };\n }, []);\n\n checkSharedValueUsage(initial.value);\n\n if (process.env.JEST_WORKER_ID) {\n return { viewDescriptors, initial: initial, viewsRef, animatedStyle };\n } else {\n return { viewDescriptors, initial: initial, viewsRef };\n }\n}\n","import { useRef } from 'react';\nimport { makeMutable } from './core';\nimport { SharedValue } from './commonTypes';\nimport { Descriptor } from './hook/commonTypes';\n\nexport interface ViewRefSet {\n items: Set;\n add: (item: T) => void;\n remove: (item: T) => void;\n}\n\nexport interface ViewDescriptorsSet {\n sharableViewDescriptors: SharedValue;\n add: (item: Descriptor) => void;\n remove: (viewTag: number) => void;\n}\n\nexport function makeViewDescriptorsSet(): ViewDescriptorsSet {\n const sharableViewDescriptors = makeMutable([]);\n const data: ViewDescriptorsSet = {\n sharableViewDescriptors,\n add: (item: Descriptor) => {\n sharableViewDescriptors.modify((descriptors: Descriptor[]) => {\n 'worklet';\n const index = descriptors.findIndex(\n (descriptor) => descriptor.tag === item.tag\n );\n if (index !== -1) {\n descriptors[index] = item;\n } else {\n descriptors.push(item);\n }\n return descriptors;\n });\n },\n\n remove: (viewTag: number) => {\n sharableViewDescriptors.modify((descriptors: Descriptor[]) => {\n 'worklet';\n const index = descriptors.findIndex(\n (descriptor) => descriptor.tag === viewTag\n );\n if (index !== -1) {\n descriptors.splice(index, 1);\n }\n return descriptors;\n });\n },\n };\n return data;\n}\n\nexport function makeViewsRefSet(): ViewRefSet {\n const ref = useRef | null>(null);\n if (ref.current === null) {\n const data: ViewRefSet = {\n items: new Set(),\n\n add: (item: T) => {\n if (data.items.has(item)) return;\n data.items.add(item);\n },\n\n remove: (item: T) => {\n data.items.delete(item);\n },\n };\n ref.current = data;\n }\n\n return ref.current;\n}\n","import { useEffect, useRef } from 'react';\nimport { cancelAnimation } from '../animation';\nimport { SharedValue } from '../commonTypes';\nimport { makeMutable } from '../core';\n\nexport function useSharedValue(\n init: T,\n oneWayReadsOnly = false\n): SharedValue {\n const ref = useRef>(makeMutable(init, oneWayReadsOnly));\n\n if (ref.current === null) {\n ref.current = makeMutable(init, oneWayReadsOnly);\n }\n\n useEffect(() => {\n return () => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n cancelAnimation(ref.current!);\n };\n }, []);\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return ref.current!;\n}\n","import { useEffect, useRef } from 'react';\nimport {\n makeMutable,\n subscribeForKeyboardEvents,\n unsubscribeFromKeyboardEvents,\n} from '../core';\nimport { AnimatedKeyboardInfo, KeyboardState } from '../commonTypes';\n\nexport function useAnimatedKeyboard(): AnimatedKeyboardInfo {\n const ref = useRef(null);\n const listenerId = useRef(-1);\n const isSubscribed = useRef(false);\n\n if (ref.current === null) {\n const keyboardEventData: AnimatedKeyboardInfo = {\n state: makeMutable(KeyboardState.UNKNOWN),\n height: makeMutable(0),\n };\n listenerId.current = subscribeForKeyboardEvents((state, height) => {\n 'worklet';\n keyboardEventData.state.value = state;\n keyboardEventData.height.value = height;\n });\n ref.current = keyboardEventData;\n isSubscribed.current = true;\n }\n useEffect(() => {\n if (isSubscribed.current === false && ref.current !== null) {\n const keyboardEventData = ref.current;\n // subscribe again after Fast Refresh\n listenerId.current = subscribeForKeyboardEvents((state, height) => {\n 'worklet';\n keyboardEventData.state.value = state;\n keyboardEventData.height.value = height;\n });\n isSubscribed.current = true;\n }\n return () => {\n unsubscribeFromKeyboardEvents(listenerId.current);\n isSubscribed.current = false;\n };\n }, []);\n return ref.current;\n}\n","import {\n PerpectiveTransform,\n RotateTransform,\n RotateXTransform,\n RotateYTransform,\n RotateZTransform,\n ScaleTransform,\n ScaleXTransform,\n ScaleYTransform,\n TranslateXTransform,\n TranslateYTransform,\n SkewXTransform,\n SkewYTransform,\n MatrixTransform,\n ViewStyle,\n TextStyle,\n} from 'react-native';\n\nexport type TransformProperty =\n | PerpectiveTransform\n | RotateTransform\n | RotateXTransform\n | RotateYTransform\n | RotateZTransform\n | ScaleTransform\n | ScaleXTransform\n | ScaleYTransform\n | TranslateXTransform\n | TranslateYTransform\n | SkewXTransform\n | SkewYTransform\n | MatrixTransform;\n\nexport interface StyleProps extends ViewStyle, TextStyle {\n originX?: number;\n originY?: number;\n [key: string]: any;\n}\n\nexport interface AnimatedStyle\n extends Record> {\n [key: string]: any;\n transform?: Array>>;\n}\nexport interface SharedValue {\n value: T;\n addListener: (listenerID: number, listener: (value: T) => void) => void;\n removeListener: (listenerID: number) => void;\n modify: (modifier: (value: T) => T) => void;\n}\n\n// The below type is used for HostObjects retured by the JSI API that don't have\n// any accessable fields or methods but can carry data that is accessed from the\n// c++ side. We add a field to the type to make it possible for typescript to recognize\n// which JSI methods accept those types as arguments and to be able to correctly type\n// check other methods that may use them. However, this field is not actually defined\n// nor should be used for anything else as assigning any data to those objects will\n// throw an error.\nexport type ShareableRef = {\n __hostObjectShareableJSRef: T;\n};\n\nexport type ShareableSyncDataHolderRef = {\n __hostObjectShareableJSRefSyncDataHolder: T;\n};\n\nexport type MapperRegistry = {\n start: (\n mapperID: number,\n worklet: () => void,\n inputs: SharedValue[],\n outputs?: SharedValue[]\n ) => void;\n stop: (mapperID: number) => void;\n};\n\nexport type Context = Record;\n\nexport interface WorkletFunction {\n _closure?: Context;\n __workletHash?: number;\n __optimalization?: number;\n}\n\nexport interface BasicWorkletFunction extends WorkletFunction {\n (): T;\n}\n\nexport interface BasicWorkletFunctionOptional extends WorkletFunction {\n (): Partial;\n}\n\nexport interface NativeEvent {\n nativeEvent: T;\n}\nexport interface ComplexWorkletFunction\n extends WorkletFunction {\n (...args: A): R;\n __remoteFunction?: (...args: A) => R;\n}\n\nexport interface NestedObject {\n [key: string]: NestedObjectValues;\n}\n\nexport type NestedObjectValues =\n | T\n | Array>\n | NestedObject;\n\nexport interface AdapterWorkletFunction extends WorkletFunction {\n (value: NestedObject): void;\n}\n\nexport type AnimatableValue = number | string | Array;\n\nexport interface AnimationObject {\n [key: string]: any;\n callback: AnimationCallback;\n current?: AnimatableValue;\n toValue?: AnimationObject['current'];\n startValue?: AnimationObject['current'];\n finished?: boolean;\n strippedCurrent?: number;\n cancelled?: boolean;\n\n __prefix?: string;\n __suffix?: string;\n onFrame: (animation: any, timestamp: Timestamp) => boolean;\n onStart: (\n nextAnimation: any,\n current: any,\n timestamp: Timestamp,\n previousAnimation: any\n ) => void;\n}\n\nexport interface Animation extends AnimationObject {\n onFrame: (animation: T, timestamp: Timestamp) => boolean;\n onStart: (\n nextAnimation: T,\n current: T extends NumericAnimation ? number : AnimatableValue,\n timestamp: Timestamp,\n previousAnimation: T\n ) => void;\n}\n\nexport interface NumericAnimation {\n current?: number;\n}\n\nexport type AnimationCallback = (\n finished?: boolean,\n current?: AnimatableValue\n) => void;\n\nexport type Timestamp = number;\n\nexport type Value3D = {\n x: number;\n y: number;\n z: number;\n};\n\nexport type ValueRotation = {\n qw: number;\n qx: number;\n qy: number;\n qz: number;\n yaw: number;\n pitch: number;\n roll: number;\n};\n\nexport type ShadowNodeWrapper = object;\n\nexport enum KeyboardState {\n UNKNOWN = 0,\n OPENING = 1,\n OPEN = 2,\n CLOSING = 3,\n CLOSED = 4,\n}\n\nexport type AnimatedKeyboardInfo = {\n height: SharedValue;\n state: SharedValue;\n};\n\nexport interface MeasuredDimensions {\n x: number;\n y: number;\n width: number;\n height: number;\n pageX: number;\n pageY: number;\n}\n","import { useEffect } from 'react';\nimport { BasicWorkletFunction, WorkletFunction } from '../commonTypes';\nimport { startMapper, stopMapper } from '../core';\nimport { DependencyList } from './commonTypes';\nimport { useSharedValue } from './useSharedValue';\n\nexport interface AnimatedReactionWorkletFunction extends WorkletFunction {\n (prepared: T, previous: T | null): void;\n}\n/**\n * @param prepare - worklet used for data preparation for the second parameter\n * @param react - worklet which takes data prepared by the one in the first parameter and performs certain actions\n * the first worklet defines the inputs, in other words on which shared values change will it be called.\n * the second one can modify any shared values but those which are mentioned in the first worklet. Beware of that, because this may result in endless loop and high cpu usage.\n */\nexport function useAnimatedReaction(\n prepare: BasicWorkletFunction,\n react: AnimatedReactionWorkletFunction,\n dependencies: DependencyList\n): void {\n const previous = useSharedValue(null);\n if (dependencies === undefined) {\n dependencies = [\n Object.values(prepare._closure ?? {}),\n Object.values(react._closure ?? {}),\n prepare.__workletHash,\n react.__workletHash,\n ];\n } else {\n dependencies.push(prepare.__workletHash, react.__workletHash);\n }\n\n useEffect(() => {\n const fun = () => {\n 'worklet';\n const input = prepare();\n react(input, previous.value);\n previous.value = input;\n };\n const mapperId = startMapper(\n fun,\n Object.values(prepare._closure ?? {}),\n []\n );\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n}\n","import { Component, useRef } from 'react';\nimport { useSharedValue } from './useSharedValue';\nimport { RefObjectFunction } from './commonTypes';\nimport { ShadowNodeWrapper } from '../commonTypes';\nimport { getTag } from '../NativeMethods';\nimport { getShadowNodeWrapperFromHostInstance } from '../fabricUtils';\nimport {\n makeShareableCloneRecursive,\n makeShareableShadowNodeWrapper,\n registerShareableMapping,\n} from '../shareables';\n\nfunction getShareableShadowNodeFromComponent(\n component: Component\n): ShadowNodeWrapper {\n return makeShareableShadowNodeWrapper(\n getShadowNodeWrapperFromHostInstance(component)\n );\n}\n\nconst getTagValueFunction = global._IS_FABRIC\n ? getShareableShadowNodeFromComponent\n : getTag;\n\nexport function useAnimatedRef(): RefObjectFunction {\n const tag = useSharedValue(-1);\n const ref = useRef>();\n\n if (!ref.current) {\n const fun: RefObjectFunction = >((component) => {\n // enters when ref is set by attaching to a component\n if (component) {\n tag.value = getTagValueFunction(component);\n fun.current = component;\n }\n return tag.value;\n });\n\n fun.current = null;\n\n const remoteRef = makeShareableCloneRecursive({\n __init: () => {\n 'worklet';\n return () => tag.value;\n },\n });\n registerShareableMapping(fun, remoteRef);\n\n ref.current = fun;\n }\n\n return ref.current;\n}\n","/* global _WORKLET _measure _scrollTo _dispatchCommand _setGestureState */\nimport { Component } from 'react';\nimport { findNodeHandle } from 'react-native';\nimport { MeasuredDimensions } from './commonTypes';\nimport { RefObjectFunction } from './hook/commonTypes';\nimport { isChromeDebugger, isWeb, shouldBeUseWeb } from './PlatformChecker';\n\nexport function getTag(\n view: null | number | React.Component | React.ComponentClass\n): null | number {\n return findNodeHandle(view);\n}\n\nconst isNative = !shouldBeUseWeb();\n\nexport let measure: (\n animatedRef: RefObjectFunction\n) => MeasuredDimensions | null;\n\nif (isWeb()) {\n measure = (animatedRef: RefObjectFunction) => {\n const element = animatedRef() as unknown as HTMLElement; // TODO: fix typing of animated refs on web\n const viewportOffset = element.getBoundingClientRect();\n return {\n width: element.offsetWidth,\n height: element.offsetHeight,\n x: element.offsetLeft,\n y: element.offsetTop,\n pageX: viewportOffset.left,\n pageY: viewportOffset.top,\n };\n };\n} else if (isChromeDebugger()) {\n measure = (_animatedRef: RefObjectFunction) => {\n console.warn('[Reanimated] measure() cannot be used with Chrome Debugger.');\n return null;\n };\n} else {\n measure = (animatedRef: RefObjectFunction) => {\n 'worklet';\n if (!_WORKLET) {\n console.warn(\n '[Reanimated] measure() was called from the main JS context. Measure is ' +\n 'only available in the UI runtime. This may also happen if measure() ' +\n 'was called by a worklet in the useAnimatedStyle hook, because useAnimatedStyle ' +\n 'calls the given worklet on the JS runtime during render. If you want to ' +\n 'prevent this warning then wrap the call with `if (_WORKLET)`. Then it will ' +\n 'only be called on the UI runtime after the render has been completed.'\n );\n return null;\n }\n\n const viewTag = animatedRef();\n if (viewTag === -1) {\n console.warn(\n `[Reanimated] The view with tag ${viewTag} is not a valid argument for measure(). This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`\n );\n return null;\n }\n\n const measured = _measure(viewTag);\n if (measured === null) {\n console.warn(\n `[Reanimated] The view with tag ${viewTag} has some undefined, not-yet-computed or meaningless value of \\`LayoutMetrics\\` type. This may be because the view is not currently rendered, which may not be a bug (e.g. an off-screen FlatList item).`\n );\n return null;\n } else if (measured.x === -1234567) {\n console.warn(\n `[Reanimated] The view with tag ${viewTag} returned an invalid measurement response.`\n );\n return null;\n } else if (isNaN(measured.x)) {\n console.warn(\n `[Reanimated] The view with tag ${viewTag} gets view-flattened on Android. To disable view-flattening, set \\`collapsable={false}\\` on this component.`\n );\n return null;\n } else {\n return measured;\n }\n };\n}\n\nexport function dispatchCommand(\n animatedRef: RefObjectFunction,\n commandName: string,\n args: Array\n): void {\n 'worklet';\n if (!_WORKLET || !isNative) {\n return;\n }\n const shadowNodeWrapper = animatedRef();\n _dispatchCommand(shadowNodeWrapper, commandName, args);\n}\n\nexport let scrollTo: (\n animatedRef: RefObjectFunction,\n x: number,\n y: number,\n animated: boolean\n) => void;\n\nif (isWeb()) {\n scrollTo = (\n animatedRef: RefObjectFunction,\n x: number,\n y: number,\n animated: boolean\n ) => {\n 'worklet';\n const element = animatedRef() as unknown as HTMLElement;\n // @ts-ignore same call as in react-native-web\n element.scrollTo({ x, y, animated });\n };\n} else if (isNative && global._IS_FABRIC) {\n scrollTo = (\n animatedRef: RefObjectFunction,\n x: number,\n y: number,\n animated: boolean\n ) => {\n 'worklet';\n dispatchCommand(animatedRef, 'scrollTo', [x, y, animated]);\n };\n} else if (isNative) {\n scrollTo = (\n animatedRef: RefObjectFunction,\n x: number,\n y: number,\n animated: boolean\n ) => {\n 'worklet';\n if (!_WORKLET) {\n return;\n }\n const viewTag = animatedRef();\n _scrollTo(viewTag, x, y, animated);\n };\n} else {\n scrollTo = (\n _animatedRef: RefObjectFunction,\n _x: number,\n _y: number\n ) => {\n // no-op\n };\n}\n\nexport function setGestureState(handlerTag: number, newState: number): void {\n 'worklet';\n if (!_WORKLET || !isNative) {\n console.warn(\n '[Reanimated] You can not use setGestureState in non-worklet function.'\n );\n return;\n }\n _setGestureState(handlerTag, newState);\n}\n","import { RefObject } from 'react';\nimport { NativeScrollEvent } from 'react-native';\nimport { Context, NativeEvent, WorkletFunction } from '../commonTypes';\nimport WorkletEventHandler from '../WorkletEventHandler';\nimport { DependencyList } from './commonTypes';\nimport { useEvent, useHandler } from './Hooks';\n\nexport interface ScrollHandler\n extends WorkletFunction {\n (event: NativeScrollEvent, context?: TContext): void;\n}\n\nexport interface ScrollEvent\n extends NativeScrollEvent,\n NativeEvent {\n eventName: string;\n}\nexport interface ScrollHandlers {\n [key: string]: ScrollHandler | undefined;\n onScroll?: ScrollHandler;\n onBeginDrag?: ScrollHandler;\n onEndDrag?: ScrollHandler;\n onMomentumBegin?: ScrollHandler;\n onMomentumEnd?: ScrollHandler;\n}\n\nexport function useAnimatedScrollHandler(\n handlers: ScrollHandlers | ScrollHandler,\n dependencies?: DependencyList\n): RefObject> {\n // case when handlers is a function\n const scrollHandlers: ScrollHandlers =\n typeof handlers === 'function' ? { onScroll: handlers } : handlers;\n const { context, doDependenciesDiffer } = useHandler(\n scrollHandlers,\n dependencies\n );\n\n // build event subscription array\n const subscribeForEvents = ['onScroll'];\n if (scrollHandlers.onBeginDrag !== undefined) {\n subscribeForEvents.push('onScrollBeginDrag');\n }\n if (scrollHandlers.onEndDrag !== undefined) {\n subscribeForEvents.push('onScrollEndDrag');\n }\n if (scrollHandlers.onMomentumBegin !== undefined) {\n subscribeForEvents.push('onMomentumScrollBegin');\n }\n if (scrollHandlers.onMomentumEnd !== undefined) {\n subscribeForEvents.push('onMomentumScrollEnd');\n }\n\n return useEvent(\n (event: ScrollEvent) => {\n 'worklet';\n const {\n onScroll,\n onBeginDrag,\n onEndDrag,\n onMomentumBegin,\n onMomentumEnd,\n } = scrollHandlers;\n if (onScroll && event.eventName.endsWith('onScroll')) {\n onScroll(event, context);\n } else if (onBeginDrag && event.eventName.endsWith('onScrollBeginDrag')) {\n onBeginDrag(event, context);\n } else if (onEndDrag && event.eventName.endsWith('onScrollEndDrag')) {\n onEndDrag(event, context);\n } else if (\n onMomentumBegin &&\n event.eventName.endsWith('onMomentumScrollBegin')\n ) {\n onMomentumBegin(event, context);\n } else if (\n onMomentumEnd &&\n event.eventName.endsWith('onMomentumScrollEnd')\n ) {\n onMomentumEnd(event, context);\n }\n },\n subscribeForEvents,\n doDependenciesDiffer\n );\n}\n","import { useEffect, useRef } from 'react';\nimport { initialUpdaterRun } from '../animation';\nimport { BasicWorkletFunction, SharedValue } from '../commonTypes';\nimport { makeMutable, startMapper, stopMapper } from '../core';\nimport { DependencyList } from './commonTypes';\n\nexport type DerivedValue = Readonly>;\n\nexport function useDerivedValue(\n processor: BasicWorkletFunction,\n dependencies: DependencyList\n): DerivedValue {\n const initRef = useRef | null>(null);\n const inputs = Object.values(processor._closure ?? {});\n\n // build dependencies\n if (dependencies === undefined) {\n dependencies = [...inputs, processor.__workletHash];\n } else {\n dependencies.push(processor.__workletHash);\n }\n\n if (initRef.current === null) {\n initRef.current = makeMutable(initialUpdaterRun(processor));\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const sharedValue: SharedValue = initRef.current!;\n\n useEffect(() => {\n const fun = () => {\n 'worklet';\n sharedValue.value = processor();\n };\n const mapperId = startMapper(fun, inputs, [sharedValue]);\n return () => {\n stopMapper(mapperId);\n };\n }, dependencies);\n\n useEffect(() => {\n return () => {\n initRef.current = null;\n };\n }, []);\n\n return sharedValue;\n}\n","import { useEffect, useRef } from 'react';\nimport FrameCallbackRegistryJS from '../frameCallback/FrameCallbackRegistryJS';\nimport { FrameInfo } from '../frameCallback/FrameCallbackRegistryUI';\n\nexport type FrameCallback = {\n setActive: (isActive: boolean) => void;\n isActive: boolean;\n callbackId: number;\n};\nconst frameCallbackRegistry = new FrameCallbackRegistryJS();\n\nexport function useFrameCallback(\n callback: (frameInfo: FrameInfo) => void,\n autostart = true\n): FrameCallback {\n const ref = useRef({\n setActive: (isActive: boolean) => {\n frameCallbackRegistry.manageStateFrameCallback(\n ref.current.callbackId,\n isActive\n );\n ref.current.isActive = isActive;\n },\n isActive: autostart,\n callbackId: -1,\n });\n\n useEffect(() => {\n ref.current.callbackId =\n frameCallbackRegistry.registerFrameCallback(callback);\n ref.current.setActive(ref.current.isActive);\n\n return () => {\n frameCallbackRegistry.unregisterFrameCallback(ref.current.callbackId);\n ref.current.callbackId = -1;\n };\n }, [callback, autostart]);\n\n return ref.current;\n}\n","import { runOnUI } from '../core';\nimport { FrameInfo, prepareUIRegistry } from './FrameCallbackRegistryUI';\n\nexport default class FrameCallbackRegistryJS {\n private nextCallbackId = 0;\n\n constructor() {\n prepareUIRegistry();\n }\n\n registerFrameCallback(callback: (frameInfo: FrameInfo) => void): number {\n if (!callback) {\n return -1;\n }\n\n const callbackId = this.nextCallbackId;\n this.nextCallbackId++;\n\n runOnUI(() => {\n 'worklet';\n global._frameCallbackRegistry.registerFrameCallback(callback, callbackId);\n })();\n\n return callbackId;\n }\n\n unregisterFrameCallback(callbackId: number): void {\n runOnUI(() => {\n 'worklet';\n global._frameCallbackRegistry.unregisterFrameCallback(callbackId);\n })();\n }\n\n manageStateFrameCallback(callbackId: number, state: boolean): void {\n runOnUI(() => {\n 'worklet';\n global._frameCallbackRegistry.manageStateFrameCallback(callbackId, state);\n })();\n }\n}\n","import { runOnUI } from '../core';\n\ntype CallbackDetails = {\n callback: (frameInfo: FrameInfo) => void;\n startTime: number | null;\n};\n\nexport type FrameInfo = {\n timestamp: number;\n timeSincePreviousFrame: number | null;\n timeSinceFirstFrame: number;\n};\n\nexport interface FrameCallbackRegistryUI {\n frameCallbackRegistry: Map;\n activeFrameCallbacks: Set;\n previousFrameTimestamp: number | null;\n runCallbacks: () => void;\n registerFrameCallback: (\n callback: (frameInfo: FrameInfo) => void,\n callbackId: number\n ) => void;\n unregisterFrameCallback: (callbackId: number) => void;\n manageStateFrameCallback: (callbackId: number, state: boolean) => void;\n}\n\nexport const prepareUIRegistry = runOnUI(() => {\n 'worklet';\n\n const frameCallbackRegistry: FrameCallbackRegistryUI = {\n frameCallbackRegistry: new Map(),\n activeFrameCallbacks: new Set(),\n previousFrameTimestamp: null,\n\n runCallbacks() {\n const loop = (timestamp: number) => {\n if (this.previousFrameTimestamp === null) {\n this.previousFrameTimestamp = timestamp;\n }\n\n const delta = timestamp - this.previousFrameTimestamp;\n\n this.activeFrameCallbacks.forEach((callbackId: number) => {\n const callbackDetails = this.frameCallbackRegistry.get(callbackId)!;\n\n const { startTime } = callbackDetails;\n\n if (startTime === null) {\n // First frame\n callbackDetails.startTime = timestamp;\n\n callbackDetails.callback({\n timestamp,\n timeSincePreviousFrame: null,\n timeSinceFirstFrame: 0,\n });\n } else {\n // Next frame\n callbackDetails.callback({\n timestamp,\n timeSincePreviousFrame: delta,\n timeSinceFirstFrame: timestamp - startTime,\n });\n }\n });\n\n if (this.activeFrameCallbacks.size > 0) {\n this.previousFrameTimestamp = timestamp;\n requestAnimationFrame(loop);\n } else {\n this.previousFrameTimestamp = null;\n }\n };\n\n // runCallback() should only be called after registering a callback,\n // so if there is only one active callback, then it means that there were\n // zero previously and the loop isn't running yet.\n if (this.activeFrameCallbacks.size === 1) {\n requestAnimationFrame(loop);\n }\n },\n\n registerFrameCallback(\n callback: (frameInfo: FrameInfo) => void,\n callbackId: number\n ) {\n this.frameCallbackRegistry.set(callbackId, {\n callback: callback,\n startTime: null,\n });\n },\n\n unregisterFrameCallback(callbackId: number) {\n this.manageStateFrameCallback(callbackId, false);\n this.frameCallbackRegistry.delete(callbackId);\n },\n\n manageStateFrameCallback(callbackId: number, state: boolean) {\n if (callbackId === -1) {\n return;\n }\n if (state) {\n this.activeFrameCallbacks.add(callbackId);\n this.runCallbacks();\n } else {\n const callback = this.frameCallbackRegistry.get(callbackId)!;\n callback.startTime = null;\n\n this.activeFrameCallbacks.delete(callbackId);\n }\n },\n };\n\n global._frameCallbackRegistry = frameCallbackRegistry;\n});\n","import { RefObject, useEffect, useRef } from 'react';\n\nimport type Animated from 'react-native-reanimated';\nimport { ScrollEvent } from './useAnimatedScrollHandler';\nimport { SharedValue } from '../commonTypes';\nimport { findNodeHandle } from 'react-native';\nimport { useEvent } from './utils';\nimport { useSharedValue } from './useSharedValue';\n\nconst subscribeForEvents = [\n 'onScroll',\n 'onScrollBeginDrag',\n 'onScrollEndDrag',\n 'onMomentumScrollBegin',\n 'onMomentumScrollEnd',\n];\n\nexport function useScrollViewOffset(\n aref: RefObject\n): SharedValue {\n const offsetRef = useRef(useSharedValue(0));\n\n const event = useEvent((event: ScrollEvent) => {\n 'worklet';\n offsetRef.current.value =\n event.contentOffset.x === 0\n ? event.contentOffset.y\n : event.contentOffset.x;\n }, subscribeForEvents);\n\n useEffect(() => {\n const viewTag = findNodeHandle(aref.current);\n event.current?.registerForEvents(viewTag as number);\n }, [aref.current]);\n\n return offsetRef.current;\n}\n","export enum Extrapolation {\n IDENTITY = 'identity',\n CLAMP = 'clamp',\n EXTEND = 'extend',\n}\n\ninterface InterpolationNarrowedInput {\n leftEdgeInput: number;\n rightEdgeInput: number;\n leftEdgeOutput: number;\n rightEdgeOutput: number;\n}\n\nexport interface ExtrapolationConfig {\n extrapolateLeft?: Extrapolation | string;\n extrapolateRight?: Extrapolation | string;\n}\n\ninterface RequiredExtrapolationConfig {\n extrapolateLeft: Extrapolation;\n extrapolateRight: Extrapolation;\n}\n\nexport type ExtrapolationType =\n | ExtrapolationConfig\n | Extrapolation\n | string\n | undefined;\n\nfunction getVal(\n type: Extrapolation,\n coef: number,\n val: number,\n leftEdgeOutput: number,\n rightEdgeOutput: number,\n x: number\n): number {\n 'worklet';\n\n switch (type) {\n case Extrapolation.IDENTITY:\n return x;\n case Extrapolation.CLAMP:\n if (coef * val < coef * leftEdgeOutput) {\n return leftEdgeOutput;\n }\n return rightEdgeOutput;\n case Extrapolation.EXTEND:\n default:\n return val;\n }\n}\n\nfunction isExtrapolate(value: string): value is Extrapolation {\n 'worklet';\n\n return (\n value === Extrapolation.EXTEND ||\n value === Extrapolation.CLAMP ||\n value === Extrapolation.IDENTITY\n );\n}\n\n// validates extrapolations type\n// if type is correct, converts it to ExtrapolationConfig\nfunction validateType(type: ExtrapolationType): RequiredExtrapolationConfig {\n 'worklet';\n // initialize extrapolationConfig with default extrapolation\n const extrapolationConfig: RequiredExtrapolationConfig = {\n extrapolateLeft: Extrapolation.EXTEND,\n extrapolateRight: Extrapolation.EXTEND,\n };\n\n if (!type) {\n return extrapolationConfig;\n }\n\n if (typeof type === 'string') {\n if (!isExtrapolate(type)) {\n throw new Error(\n `Reanimated: not supported value for \"interpolate\" \\nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\n interpolate(value, [inputRange], [outputRange], \"clamp\")`\n );\n }\n extrapolationConfig.extrapolateLeft = type;\n extrapolationConfig.extrapolateRight = type;\n return extrapolationConfig;\n }\n\n // otherwise type is extrapolation config object\n if (\n (type.extrapolateLeft && !isExtrapolate(type.extrapolateLeft)) ||\n (type.extrapolateRight && !isExtrapolate(type.extrapolateRight))\n ) {\n throw new Error(\n `Reanimated: not supported value for \"interpolate\" \\nSupported values: [\"extend\", \"clamp\", \"identity\", Extrapolatation.CLAMP, Extrapolatation.EXTEND, Extrapolatation.IDENTITY]\\n Valid example:\n interpolate(value, [inputRange], [outputRange], {\n extrapolateLeft: Extrapolation.CLAMP,\n extrapolateRight: Extrapolation.IDENTITY\n }})`\n );\n }\n\n Object.assign(extrapolationConfig, type);\n return extrapolationConfig;\n}\n\nfunction internalInterpolate(\n x: number,\n narrowedInput: InterpolationNarrowedInput,\n extrapolationConfig: RequiredExtrapolationConfig\n) {\n 'worklet';\n const { leftEdgeInput, rightEdgeInput, leftEdgeOutput, rightEdgeOutput } =\n narrowedInput;\n if (rightEdgeInput - leftEdgeInput === 0) return leftEdgeOutput;\n const progress = (x - leftEdgeInput) / (rightEdgeInput - leftEdgeInput);\n const val = leftEdgeOutput + progress * (rightEdgeOutput - leftEdgeOutput);\n const coef = rightEdgeOutput >= leftEdgeOutput ? 1 : -1;\n\n if (coef * val < coef * leftEdgeOutput) {\n return getVal(\n extrapolationConfig.extrapolateLeft,\n coef,\n val,\n leftEdgeOutput,\n rightEdgeOutput,\n x\n );\n } else if (coef * val > coef * rightEdgeOutput) {\n return getVal(\n extrapolationConfig.extrapolateRight,\n coef,\n val,\n leftEdgeOutput,\n rightEdgeOutput,\n x\n );\n }\n\n return val;\n}\n\n// TODO: support default values in worklets:\n// e.g. function interpolate(x, input, output, type = Extrapolatation.CLAMP)\nexport function interpolate(\n x: number,\n input: readonly number[],\n output: readonly number[],\n type?: ExtrapolationType\n): number {\n 'worklet';\n if (input.length < 2 || output.length < 2) {\n throw Error(\n 'Interpolation input and output should contain at least two values.'\n );\n }\n\n const extrapolationConfig = validateType(type);\n const length = input.length;\n const narrowedInput: InterpolationNarrowedInput = {\n leftEdgeInput: input[0],\n rightEdgeInput: input[1],\n leftEdgeOutput: output[0],\n rightEdgeOutput: output[1],\n };\n if (length > 2) {\n if (x > input[length - 1]) {\n narrowedInput.leftEdgeInput = input[length - 2];\n narrowedInput.rightEdgeInput = input[length - 1];\n narrowedInput.leftEdgeOutput = output[length - 2];\n narrowedInput.rightEdgeOutput = output[length - 1];\n } else {\n for (let i = 1; i < length; ++i) {\n if (x <= input[i]) {\n narrowedInput.leftEdgeInput = input[i - 1];\n narrowedInput.rightEdgeInput = input[i];\n narrowedInput.leftEdgeOutput = output[i - 1];\n narrowedInput.rightEdgeOutput = output[i];\n break;\n }\n }\n }\n }\n\n return internalInterpolate(x, narrowedInput, extrapolationConfig);\n}\n","import {\n hsvToColor,\n RGBtoHSV,\n rgbaColor,\n processColor,\n red,\n green,\n blue,\n opacity,\n} from './Colors';\nimport { makeMutable } from './core';\nimport { interpolate } from './interpolation';\nimport { SharedValue } from './commonTypes';\nimport { useSharedValue } from './hook/useSharedValue';\n\nexport const Extrapolate = {\n EXTEND: 'extend',\n CLAMP: 'clamp',\n IDENTITY: 'identity',\n};\n\nexport type InterpolationOptions = {\n gamma?: number;\n useCorrectedHSVInterpolation?: boolean;\n};\n\nconst interpolateColorsHSV = (\n value: number,\n inputRange: readonly number[],\n colors: InterpolateHSV,\n options: InterpolationOptions\n) => {\n 'worklet';\n let h = 0;\n const { useCorrectedHSVInterpolation = true } = options;\n if (useCorrectedHSVInterpolation) {\n // if the difference between hues in a range is > 180 deg\n // then move the hue at the right end of the range +/- 360 deg\n // and add the next point in the original place + 0.00001 with original hue\n // to not break the next range\n const correctedInputRange = [inputRange[0]];\n const originalH = colors.h;\n const correctedH = [originalH[0]];\n\n for (let i = 1; i < originalH.length; ++i) {\n const d = originalH[i] - originalH[i - 1];\n if (originalH[i] > originalH[i - 1] && d > 0.5) {\n correctedInputRange.push(inputRange[i]);\n correctedInputRange.push(inputRange[i] + 0.00001);\n correctedH.push(originalH[i] - 1);\n correctedH.push(originalH[i]);\n } else if (originalH[i] < originalH[i - 1] && d < -0.5) {\n correctedInputRange.push(inputRange[i]);\n correctedInputRange.push(inputRange[i] + 0.00001);\n correctedH.push(originalH[i] + 1);\n correctedH.push(originalH[i]);\n } else {\n correctedInputRange.push(inputRange[i]);\n correctedH.push(originalH[i]);\n }\n }\n h =\n (interpolate(value, correctedInputRange, correctedH, Extrapolate.CLAMP) +\n 1) %\n 1;\n } else {\n h = interpolate(value, inputRange, colors.h, Extrapolate.CLAMP);\n }\n const s = interpolate(value, inputRange, colors.s, Extrapolate.CLAMP);\n const v = interpolate(value, inputRange, colors.v, Extrapolate.CLAMP);\n const a = interpolate(value, inputRange, colors.a, Extrapolate.CLAMP);\n return hsvToColor(h, s, v, a);\n};\n\nconst toLinearSpace = (x: number[], gamma: number): number[] => {\n 'worklet';\n return x.map((v) => Math.pow(v / 255, gamma));\n};\n\nconst toGammaSpace = (x: number, gamma: number): number => {\n 'worklet';\n return Math.round(Math.pow(x, 1 / gamma) * 255);\n};\n\nconst interpolateColorsRGB = (\n value: number,\n inputRange: readonly number[],\n colors: InterpolateRGB,\n options: InterpolationOptions\n) => {\n 'worklet';\n const { gamma = 2.2 } = options;\n let { r: outputR, g: outputG, b: outputB } = colors;\n if (gamma !== 1) {\n outputR = toLinearSpace(outputR, gamma);\n outputG = toLinearSpace(outputG, gamma);\n outputB = toLinearSpace(outputB, gamma);\n }\n const r = interpolate(value, inputRange, outputR, Extrapolate.CLAMP);\n const g = interpolate(value, inputRange, outputG, Extrapolate.CLAMP);\n const b = interpolate(value, inputRange, outputB, Extrapolate.CLAMP);\n const a = interpolate(value, inputRange, colors.a, Extrapolate.CLAMP);\n if (gamma === 1) {\n return rgbaColor(r, g, b, a);\n }\n return rgbaColor(\n toGammaSpace(r, gamma),\n toGammaSpace(g, gamma),\n toGammaSpace(b, gamma),\n a\n );\n};\n\ninterface InterpolateRGB {\n r: number[];\n g: number[];\n b: number[];\n a: number[];\n}\n\nconst getInterpolateRGB = (\n colors: readonly (string | number)[]\n): InterpolateRGB => {\n 'worklet';\n\n const r = [];\n const g = [];\n const b = [];\n const a = [];\n for (let i = 0; i < colors.length; ++i) {\n const color = colors[i];\n const processedColor = processColor(color);\n // explicit check in case if processedColor is 0\n if (processedColor !== null && processedColor !== undefined) {\n r.push(red(processedColor));\n g.push(green(processedColor));\n b.push(blue(processedColor));\n a.push(opacity(processedColor));\n }\n }\n return { r, g, b, a };\n};\n\ninterface InterpolateHSV {\n h: number[];\n s: number[];\n v: number[];\n a: number[];\n}\n\nconst getInterpolateHSV = (\n colors: readonly (string | number)[]\n): InterpolateHSV => {\n 'worklet';\n const h = [];\n const s = [];\n const v = [];\n const a = [];\n for (let i = 0; i < colors.length; ++i) {\n const color = colors[i];\n const processedColor = processColor(color) as any;\n if (typeof processedColor === 'number') {\n const processedHSVColor = RGBtoHSV(\n red(processedColor),\n green(processedColor),\n blue(processedColor)\n );\n\n h.push(processedHSVColor.h);\n s.push(processedHSVColor.s);\n v.push(processedHSVColor.v);\n a.push(opacity(processedColor));\n }\n }\n return { h, s, v, a };\n};\n\nexport const interpolateColor = (\n value: number,\n inputRange: readonly number[],\n outputRange: readonly (string | number)[],\n colorSpace: 'RGB' | 'HSV' = 'RGB',\n options: InterpolationOptions = {}\n): string | number => {\n 'worklet';\n if (colorSpace === 'HSV') {\n return interpolateColorsHSV(\n value,\n inputRange,\n getInterpolateHSV(outputRange),\n options\n );\n } else if (colorSpace === 'RGB') {\n return interpolateColorsRGB(\n value,\n inputRange,\n getInterpolateRGB(outputRange),\n options\n );\n }\n throw new Error(\n `Invalid color space provided: ${colorSpace}. Supported values are: ['RGB', 'HSV']`\n );\n};\n\nexport enum ColorSpace {\n RGB = 0,\n HSV = 1,\n}\n\nexport interface InterpolateConfig {\n inputRange: readonly number[];\n outputRange: readonly (string | number)[];\n colorSpace: ColorSpace;\n cache: SharedValue;\n options: InterpolationOptions;\n}\n\nexport function useInterpolateConfig(\n inputRange: readonly number[],\n outputRange: readonly (string | number)[],\n colorSpace = ColorSpace.RGB,\n options: InterpolationOptions = {}\n): SharedValue {\n return useSharedValue({\n inputRange,\n outputRange,\n colorSpace,\n cache: makeMutable(null),\n options,\n });\n}\n\nexport const interpolateSharableColor = (\n value: number,\n interpolateConfig: SharedValue\n): string | number => {\n 'worklet';\n let colors = interpolateConfig.value.cache.value;\n if (interpolateConfig.value.colorSpace === ColorSpace.RGB) {\n if (!colors) {\n colors = getInterpolateRGB(interpolateConfig.value.outputRange);\n interpolateConfig.value.cache.value = colors;\n }\n return interpolateColorsRGB(\n value,\n interpolateConfig.value.inputRange,\n colors as InterpolateRGB,\n interpolateConfig.value.options\n );\n } else if (interpolateConfig.value.colorSpace === ColorSpace.HSV) {\n if (!colors) {\n colors = getInterpolateHSV(interpolateConfig.value.outputRange);\n interpolateConfig.value.cache.value = colors;\n }\n return interpolateColorsHSV(\n value,\n interpolateConfig.value.inputRange,\n colors as InterpolateHSV,\n interpolateConfig.value.options\n );\n }\n throw new Error(\n `Invalid color space provided: ${interpolateConfig.value.colorSpace}. Supported values are: ['RGB', 'HSV']`\n );\n};\n","import { addWhitelistedNativeProps } from '../ConfigHelper';\nimport { AdapterWorkletFunction } from './commonTypes';\n\nexport function createAnimatedPropAdapter(\n adapter: AdapterWorkletFunction,\n nativeProps?: string[]\n): AdapterWorkletFunction {\n const nativePropsToAdd: { [key: string]: boolean } = {};\n // eslint-disable-next-line no-unused-expressions\n nativeProps?.forEach((prop) => {\n nativePropsToAdd[prop] = true;\n });\n addWhitelistedNativeProps(nativePropsToAdd);\n return adapter;\n}\n\n// ADAPTERS\n\nexport const SVGAdapter: AdapterWorkletFunction = createAnimatedPropAdapter(\n (props) => {\n 'worklet';\n const keys = Object.keys(props);\n // transform\n if (keys.includes('transform')) {\n if (Array.isArray(props.transform)) {\n // case of array with 6 values => https://github.com/react-native-svg/react-native-svg/blob/b2e2c355204ff4b10973d3afce1495f7e4167ff7/src/elements/Shape.tsx#L200\n if (props.transform.length !== 6) {\n throw new Error(\n `invalid transform length of ${props.transform.length}, should be 6`\n );\n }\n const transform: number[] = props.transform as number[];\n const x: number = (props.x as number) ?? 0;\n const y: number = (props.y as number) ?? 0;\n props.transform = [\n { translateX: transform[0] * x + transform[2] * y + transform[4] },\n { translateY: transform[1] * x + transform[3] * y + transform[5] },\n ];\n } else if (typeof props.transform === 'string') {\n // case of string 'translate(translateX translateY)'\n // todo: handle other cases of transform string like here https://github.com/react-native-svg/react-native-svg/blob/b2e2c355204ff4b10973d3afce1495f7e4167ff7/src/lib/extract/extractTransform.ts#L184\n const transform: string = props.transform as string;\n const arr = transform\n .replace('translate(', '')\n .replace(')', '')\n .split(' ');\n props.transform = [\n { translateX: parseFloat(arr[0]) },\n { translateY: parseFloat(arr[1]) },\n ];\n }\n }\n // todo: other props\n }\n);\n\nexport const TextInputAdapter = createAnimatedPropAdapter(\n (props) => {\n 'worklet';\n const keys = Object.keys(props);\n // convert text to value like RN does here: https://github.com/facebook/react-native/blob/f2c6279ca497b34d5a2bfbb6f2d33dc7a7bea02a/Libraries/Components/TextInput/TextInput.js#L878\n if (keys.includes('value')) {\n props.text = props.value;\n delete props.value;\n }\n },\n ['text']\n);\n","import './animationsManager';\nexport * from './animationBuilder';\nexport * from './defaultAnimations';\nexport * from './defaultTransitions';\n","export { BaseAnimationBuilder } from './BaseAnimationBuilder';\nexport { ComplexAnimationBuilder } from './ComplexAnimationBuilder';\nexport { Keyframe } from './Keyframe';\nexport type {\n LayoutAnimation,\n AnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n EntryExitAnimationFunction,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n LayoutAnimationStartFunction,\n ILayoutAnimationBuilder,\n BaseLayoutAnimationConfig,\n BaseBuilderAnimationConfig,\n LayoutAnimationAndConfig,\n IEntryExitAnimationBuilder,\n} from './commonTypes';\n","import { withDelay } from '../../animation';\nimport {\n EntryExitAnimationFunction,\n AnimationFunction,\n LayoutAnimationFunction,\n} from './commonTypes';\n\nexport class BaseAnimationBuilder {\n durationV?: number;\n delayV?: number;\n randomizeDelay = false;\n callbackV?: (finished: boolean) => void;\n\n static createInstance: () => BaseAnimationBuilder;\n build = (): EntryExitAnimationFunction | LayoutAnimationFunction => {\n throw Error('Unimplemented method in child class.');\n };\n\n static duration(durationMs: number): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.duration(durationMs);\n }\n\n duration(durationMs: number): BaseAnimationBuilder {\n this.durationV = durationMs;\n return this;\n }\n\n static delay(delayMs: number): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.delay(delayMs);\n }\n\n delay(delayMs: number): BaseAnimationBuilder {\n this.delayV = delayMs;\n return this;\n }\n\n static withCallback(\n callback: (finished: boolean) => void\n ): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.withCallback(callback);\n }\n\n withCallback(callback: (finsihed: boolean) => void): BaseAnimationBuilder {\n this.callbackV = callback;\n return this;\n }\n\n // 300ms is the default animation duration. If any animation has different default has to override this method.\n static getDuration(): number {\n return 300;\n }\n\n getDuration(): number {\n return this.durationV ?? 300;\n }\n\n static randomDelay(): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.randomDelay();\n }\n\n randomDelay(): BaseAnimationBuilder {\n this.randomizeDelay = true;\n return this;\n }\n\n // when randomizeDelay is set to true, randomize delay between 0 and provided value (or 1000ms if delay is not provided)\n getDelay(): number {\n return this.randomizeDelay\n ? Math.random() * (this.delayV ?? 1000)\n : this.delayV ?? 0;\n }\n\n getDelayFunction(): AnimationFunction {\n const isDelayProvided = this.randomizeDelay || this.delayV;\n return isDelayProvided\n ? withDelay\n : (_, animation) => {\n 'worklet';\n return animation;\n };\n }\n\n static build(): EntryExitAnimationFunction | LayoutAnimationFunction {\n const instance = this.createInstance();\n return instance.build();\n }\n}\n","import { withTiming, withSpring } from '../../animation';\nimport {\n AnimationFunction,\n BaseBuilderAnimationConfig,\n LayoutAnimationAndConfig,\n} from './commonTypes';\nimport { EasingFn } from '../../Easing';\nimport { BaseAnimationBuilder } from './BaseAnimationBuilder';\nimport { StyleProps } from '../../commonTypes';\n\nexport class ComplexAnimationBuilder extends BaseAnimationBuilder {\n easingV?: EasingFn;\n rotateV?: string;\n type?: AnimationFunction;\n dampingV?: number;\n massV?: number;\n stiffnessV?: number;\n overshootClampingV?: number;\n restDisplacementThresholdV?: number;\n restSpeedThresholdV?: number;\n initialValues?: StyleProps;\n\n static createInstance: () => ComplexAnimationBuilder;\n\n static easing(easingFunction: EasingFn): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.easing(easingFunction);\n }\n\n easing(easingFunction: EasingFn): ComplexAnimationBuilder {\n this.easingV = easingFunction;\n return this;\n }\n\n static rotate(degree: string): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.rotate(degree);\n }\n\n rotate(degree: string): ComplexAnimationBuilder {\n this.rotateV = degree;\n return this;\n }\n\n static springify(): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.springify();\n }\n\n springify(): ComplexAnimationBuilder {\n this.type = withSpring as AnimationFunction;\n return this;\n }\n\n static damping(damping: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.damping(damping);\n }\n\n damping(damping: number): ComplexAnimationBuilder {\n this.dampingV = damping;\n return this;\n }\n\n static mass(mass: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.mass(mass);\n }\n\n mass(mass: number): ComplexAnimationBuilder {\n this.massV = mass;\n return this;\n }\n\n static stiffness(stiffness: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.stiffness(stiffness);\n }\n\n stiffness(stiffness: number): ComplexAnimationBuilder {\n this.stiffnessV = stiffness;\n return this;\n }\n\n static overshootClamping(overshootClamping: number): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.overshootClamping(overshootClamping);\n }\n\n overshootClamping(overshootClamping: number): ComplexAnimationBuilder {\n this.overshootClampingV = overshootClamping;\n return this;\n }\n\n static restDisplacementThreshold(\n restDisplacementThreshold: number\n ): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.restDisplacementThreshold(restDisplacementThreshold);\n }\n\n restDisplacementThreshold(\n restDisplacementThreshold: number\n ): ComplexAnimationBuilder {\n this.restDisplacementThresholdV = restDisplacementThreshold;\n return this;\n }\n\n static restSpeedThreshold(\n restSpeedThreshold: number\n ): ComplexAnimationBuilder {\n const instance = this.createInstance();\n return instance.restSpeedThreshold(restSpeedThreshold);\n }\n\n restSpeedThreshold(restSpeedThreshold: number): ComplexAnimationBuilder {\n this.restSpeedThresholdV = restSpeedThreshold;\n return this;\n }\n\n static withInitialValues(values: StyleProps): BaseAnimationBuilder {\n const instance = this.createInstance();\n return instance.withInitialValues(values);\n }\n\n withInitialValues(values: StyleProps): BaseAnimationBuilder {\n this.initialValues = values;\n return this;\n }\n\n getAnimationAndConfig(): LayoutAnimationAndConfig {\n const duration = this.durationV;\n const easing = this.easingV;\n const rotate = this.rotateV;\n const type = this.type ? this.type : (withTiming as AnimationFunction);\n const damping = this.dampingV;\n const mass = this.massV;\n const stiffness = this.stiffnessV;\n const overshootClamping = this.overshootClampingV;\n const restDisplacementThreshold = this.restDisplacementThresholdV;\n const restSpeedThreshold = this.restSpeedThresholdV;\n\n const animation = type;\n\n const config: BaseBuilderAnimationConfig = {};\n\n if (type === withTiming) {\n if (easing) {\n config.easing = easing;\n }\n if (duration) {\n config.duration = duration;\n }\n if (rotate) {\n config.rotate = rotate;\n }\n } else {\n if (damping) {\n config.damping = damping;\n }\n if (mass) {\n config.mass = mass;\n }\n if (stiffness) {\n config.stiffness = stiffness;\n }\n if (overshootClamping) {\n config.overshootClamping = overshootClamping;\n }\n if (restDisplacementThreshold) {\n config.restDisplacementThreshold = restDisplacementThreshold;\n }\n if (restSpeedThreshold) {\n config.restSpeedThreshold = restSpeedThreshold;\n }\n if (rotate) {\n config.rotate = rotate;\n }\n }\n return [animation, config];\n }\n}\n","import { Easing, EasingFn } from '../../Easing';\nimport { withDelay, withSequence, withTiming } from '../../animation';\nimport {\n AnimationFunction,\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n KeyframeProps,\n} from './commonTypes';\nimport { TransformProperty, StyleProps } from '../../commonTypes';\nexport interface KeyframePoint {\n duration: number;\n value: number | string;\n easing?: EasingFn;\n}\nexport interface ParsedKeyframesDefinition {\n initialValues: StyleProps;\n keyframes: Record;\n}\nexport class Keyframe implements IEntryExitAnimationBuilder {\n durationV?: number;\n delayV?: number;\n callbackV?: (finished: boolean) => void;\n definitions: Record;\n\n /*\n Keyframe definition should be passed in the constructor as the map\n which keys are between range 0 - 100 (%) and correspond to the point in the animation progress.\n */\n constructor(definitions: Record) {\n this.definitions = definitions;\n }\n\n private parseDefinitions(): ParsedKeyframesDefinition {\n /* \n Each style property contain an array with all their key points: \n value, duration of transition to that value, and optional easing function (defaults to Linear)\n */\n const parsedKeyframes: Record = {};\n /*\n Parsing keyframes 'from' and 'to'.\n */\n if (this.definitions.from) {\n if (this.definitions['0']) {\n throw Error(\n \"You cannot provide both keyframe 0 and 'from' as they both specified initial values\"\n );\n }\n this.definitions['0'] = this.definitions.from;\n delete this.definitions.from;\n }\n if (this.definitions.to) {\n if (this.definitions['100']) {\n throw Error(\n \"You cannot provide both keyframe 100 and 'to' as they both specified values at the end of the animation.\"\n );\n }\n this.definitions['100'] = this.definitions.to;\n delete this.definitions.to;\n }\n /* \n One of the assumptions is that keyframe 0 is required to properly set initial values.\n Every other keyframe should contain properties from the set provided as initial values.\n */\n if (!this.definitions['0']) {\n throw Error(\n \"Please provide 0, or 'from' keyframe with initial state of your object.\"\n );\n }\n const initialValues: StyleProps = this.definitions['0'] as StyleProps;\n /*\n Initialize parsedKeyframes for properties provided in initial keyframe\n */\n Object.keys(initialValues).forEach((styleProp: string) => {\n if (styleProp === 'transform') {\n initialValues[styleProp]?.forEach((transformStyle, index) => {\n Object.keys(transformStyle).forEach((transformProp: string) => {\n parsedKeyframes[index.toString() + '_transform:' + transformProp] =\n [];\n });\n });\n } else {\n parsedKeyframes[styleProp] = [];\n }\n });\n\n const duration: number = this.durationV ? this.durationV : 500;\n const animationKeyPoints: Array = Array.from(\n Object.keys(this.definitions)\n );\n\n const getAnimationDuration = (\n key: string,\n currentKeyPoint: number\n ): number => {\n const maxDuration = (currentKeyPoint / 100) * duration;\n const currentDuration = parsedKeyframes[key].reduce(\n (acc: number, value: KeyframePoint) => acc + value.duration,\n 0\n );\n return maxDuration - currentDuration;\n };\n\n /* \n Other keyframes can't contain properties that were not specified in initial keyframe.\n */\n const addKeyPoint = ({\n key,\n value,\n currentKeyPoint,\n easing,\n }: {\n key: string;\n value: string | number;\n currentKeyPoint: number;\n easing?: EasingFn;\n }): void => {\n if (!(key in parsedKeyframes)) {\n throw Error(\n \"Keyframe can contain only that set of properties that were provide with initial values (keyframe 0 or 'from')\"\n );\n }\n parsedKeyframes[key].push({\n duration: getAnimationDuration(key, currentKeyPoint),\n value: value,\n easing: easing,\n });\n };\n animationKeyPoints\n .filter((value: string) => parseInt(value) !== 0)\n .sort((a: string, b: string) => parseInt(a) - parseInt(b))\n .forEach((keyPoint: string) => {\n if (parseInt(keyPoint) < 0 || parseInt(keyPoint) > 100) {\n throw Error('Keyframe should be in between range 0 - 100.');\n }\n const keyframe: KeyframeProps = this.definitions[keyPoint];\n const easing = keyframe.easing;\n delete keyframe.easing;\n const addKeyPointWith = (key: string, value: string | number) =>\n addKeyPoint({\n key,\n value,\n currentKeyPoint: parseInt(keyPoint),\n easing,\n });\n Object.keys(keyframe).forEach((key: string) => {\n if (key === 'transform') {\n keyframe[key]?.forEach(\n (transformStyle: { [key: string]: any }, index) => {\n Object.keys(transformStyle).forEach((transformProp: string) => {\n addKeyPointWith(\n index.toString() + '_transform:' + transformProp,\n transformStyle[transformProp]\n );\n });\n }\n );\n } else {\n addKeyPointWith(key, keyframe[key]);\n }\n });\n });\n return { initialValues: initialValues, keyframes: parsedKeyframes };\n }\n\n duration(durationMs: number): Keyframe {\n this.durationV = durationMs;\n return this;\n }\n\n delay(delayMs: number): Keyframe {\n this.delayV = delayMs;\n return this;\n }\n\n withCallback(callback: (finsihed: boolean) => void): Keyframe {\n this.callbackV = callback;\n return this;\n }\n\n private getDelayFunction(): AnimationFunction {\n const delay = this.delayV;\n return delay\n ? withDelay\n : (_, animation) => {\n 'worklet';\n return animation;\n };\n }\n\n build = (): EntryExitAnimationFunction => {\n const delay = this.delayV;\n const delayFunction = this.getDelayFunction();\n const { keyframes, initialValues } = this.parseDefinitions();\n const callback = this.callbackV;\n\n return (_targetValues) => {\n 'worklet';\n const animations: StyleProps = {};\n\n /* \n For each style property, an animations sequence is created that corresponds with its key points.\n Transform style properties require special handling because of their nested structure.\n */\n const addAnimation = (key: string) => {\n const keyframePoints = keyframes[key];\n // in case if property was only passed as initial value\n if (keyframePoints.length === 0) return;\n const animation = delayFunction(\n delay,\n keyframePoints.length === 1\n ? withTiming(keyframePoints[0].value, {\n duration: keyframePoints[0].duration,\n easing: keyframePoints[0].easing\n ? keyframePoints[0].easing\n : Easing.linear,\n })\n : withSequence.apply(\n this,\n keyframePoints.map((keyframePoint: KeyframePoint) =>\n withTiming(keyframePoint.value, {\n duration: keyframePoint.duration,\n easing: keyframePoint.easing\n ? keyframePoint.easing\n : Easing.linear,\n })\n )\n )\n );\n if (key.includes('transform')) {\n if (!('transform' in animations)) {\n animations.transform = [];\n }\n animations.transform?.push({\n [key.split(':')[1]]: animation,\n });\n } else {\n animations[key] = animation;\n }\n };\n Object.keys(initialValues).forEach((key: string) => {\n if (key.includes('transform')) {\n initialValues[key].forEach(\n (transformProp: Record, index: number) => {\n Object.keys(transformProp).forEach((transformPropKey: string) => {\n addAnimation(\n index.toString() + '_transform:' + transformPropKey\n );\n });\n }\n );\n } else {\n addAnimation(key);\n }\n });\n return {\n animations: animations,\n initialValues: initialValues,\n callback: callback,\n };\n };\n };\n}\n","export * from './Flip';\nexport * from './Stretch';\nexport * from './Fade';\nexport * from './Slide';\nexport * from './Zoom';\nexport * from './Bounce';\nexport * from './Lightspeed';\nexport * from './Pinwheel';\nexport * from './Rotate';\nexport * from './Roll';\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class FlipInXUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): FlipInXUp {\n return new FlipInXUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '90deg' },\n { translateY: -targetValues.targetHeight },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: 500 },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInYLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): FlipInYLeft {\n return new FlipInYLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '-90deg' },\n { translateX: -targetValues.targetWidth },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInXDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): FlipInXDown {\n return new FlipInXDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '-90deg' },\n { translateY: targetValues.targetHeight },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInYRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): FlipInYRight {\n return new FlipInYRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '90deg' },\n { translateX: targetValues.targetWidth },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInEasyX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FlipInEasyX {\n return new FlipInEasyX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateX: '90deg' }],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipInEasyY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FlipInEasyY {\n return new FlipInEasyY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateY: '90deg' }],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutXUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): FlipOutXUp {\n return new FlipOutXUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '0deg' },\n { translateY: 0 },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('90deg', config)) },\n {\n translateY: delayFunction(\n delay,\n animation(-targetValues.currentHeight, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutYLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): FlipOutYLeft {\n return new FlipOutYLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '0deg' },\n { translateX: 0 },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(-targetValues.currentWidth, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutXDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): FlipOutXDown {\n return new FlipOutXDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateX: '0deg' },\n { translateY: 0 },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('-90deg', config)) },\n {\n translateY: delayFunction(\n delay,\n animation(targetValues.currentHeight, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutYRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): FlipOutYRight {\n return new FlipOutYRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (targetValues) => {\n 'worklet';\n return {\n initialValues: {\n transform: [\n { perspective: 500 },\n { rotateY: '0deg' },\n { translateX: 0 },\n ],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(targetValues.currentWidth, config)\n ),\n },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutEasyX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FlipOutEasyX {\n return new FlipOutEasyX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateX: '0deg' }],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateX: delayFunction(delay, animation('90deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FlipOutEasyY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FlipOutEasyY {\n return new FlipOutEasyY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n initialValues: {\n transform: [{ perspective: 500 }, { rotateY: '0deg' }],\n ...initialValues,\n },\n animations: {\n transform: [\n { perspective: delayFunction(delay, animation(500, config)) },\n { rotateY: delayFunction(delay, animation('90deg', config)) },\n ],\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class StretchInX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): StretchInX {\n return new StretchInX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleX: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scaleX: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchInY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): StretchInY {\n return new StretchInY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleY: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scaleY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchOutX\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): StretchOutX {\n return new StretchOutX();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleX: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scaleX: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class StretchOutY\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): StretchOutY {\n return new StretchOutY();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scaleY: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scaleY: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class FadeIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeIn {\n return new FadeIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return (_) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n },\n initialValues: {\n opacity: 0,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeInRight {\n return new FadeInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: 25 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeInLeft {\n return new FadeInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: -25 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeInUp {\n return new FadeInUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateY: -25 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeInDown {\n return new FadeInDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateY: 25 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeOut {\n return new FadeOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return (_) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n },\n initialValues: {\n opacity: 1,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeOutRight {\n return new FadeOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateX: delayFunction(delay, animation(25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeOutLeft {\n return new FadeOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateX: delayFunction(delay, animation(-25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeOutUp {\n return new FadeOutUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateY: delayFunction(delay, animation(-25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class FadeOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): FadeOutDown {\n return new FadeOutDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n const delay = this.getDelay();\n\n return () => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { translateY: delayFunction(delay, animation(25, config)) },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class SlideInRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): SlideInRight {\n return new SlideInRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n },\n initialValues: {\n originX: values.targetOriginX + values.windowWidth,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): SlideInLeft {\n return new SlideInLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n },\n initialValues: {\n originX: values.targetOriginX - values.windowWidth,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): SlideOutRight {\n return new SlideOutRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(\n Math.max(\n values.currentOriginX + values.windowWidth,\n values.windowWidth\n ),\n config\n )\n ),\n },\n initialValues: {\n originX: values.currentOriginX,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): SlideOutLeft {\n return new SlideOutLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originX: delayFunction(\n delay,\n animation(\n Math.min(\n values.currentOriginX - values.windowWidth,\n -values.windowWidth\n ),\n config\n )\n ),\n },\n initialValues: {\n originX: values.currentOriginX,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): SlideInUp {\n return new SlideInUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n },\n initialValues: {\n originY: -values.windowHeight,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideInDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): SlideInDown {\n return new SlideInDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n },\n initialValues: {\n originY: values.targetOriginY + values.windowHeight,\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): SlideOutUp {\n return new SlideOutUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(\n Math.min(\n values.currentOriginY - values.windowHeight,\n -values.windowHeight\n ),\n config\n )\n ),\n },\n initialValues: { originY: values.currentOriginY, ...initialValues },\n callback: callback,\n };\n };\n };\n}\n\nexport class SlideOutDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): SlideOutDown {\n return new SlideOutDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n originY: delayFunction(\n delay,\n animation(\n Math.max(\n values.currentOriginY + values.windowHeight,\n values.windowHeight\n ),\n config\n )\n ),\n },\n initialValues: { originY: values.currentOriginY, ...initialValues },\n callback: callback,\n };\n };\n };\n}\n","import {\n IEntryExitAnimationBuilder,\n EntryExitAnimationFunction,\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\n\nexport class ZoomIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomIn {\n return new ZoomIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(1, config)) }],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomInRotate {\n return new ZoomInRotate();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(1, config)) },\n { rotate: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }, { rotate: rotate }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomInLeft {\n return new ZoomInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: -values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomInRight {\n return new ZoomInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: values.windowWidth }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomInUp {\n return new ZoomInUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomInDown {\n return new ZoomInDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.windowHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInEasyUp\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): ZoomInEasyUp {\n return new ZoomInEasyUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomInEasyDown\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): ZoomInEasyDown {\n return new ZoomInEasyDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateY: delayFunction(delay, animation(0, config)) },\n { scale: delayFunction(delay, animation(1, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: values.targetHeight }, { scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOut {\n return new ZoomOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [{ scale: delayFunction(delay, animation(0, config)) }],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutRotate\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOutRotate {\n return new ZoomOutRotate();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const rotate = this.rotateV ? this.rotateV : '0.3';\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n { scale: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation(rotate, config)) },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }, { rotate: '0' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOutLeft {\n return new ZoomOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(-values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOutRight {\n return new ZoomOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(values.windowWidth, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOutUp {\n return new ZoomOutUp();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): ZoomOutDown {\n return new ZoomOutDown();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.windowHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutEasyUp\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): ZoomOutEasyUp {\n return new ZoomOutEasyUp();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(-values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class ZoomOutEasyDown\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): ZoomOutEasyDown {\n return new ZoomOutEasyDown();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n animation(values.currentHeight, config)\n ),\n },\n { scale: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }, { scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\nimport { withSequence, withTiming } from '../../animation';\nimport { ComplexAnimationBuilder } from '../animationBuilder/ComplexAnimationBuilder';\n\nexport class BounceIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceIn {\n return new BounceIn();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n scale: delayFunction(\n delay,\n withSequence(\n withTiming(1.2, { duration: duration * 0.55 }),\n withTiming(0.9, { duration: duration * 0.15 }),\n withTiming(1.1, { duration: duration * 0.15 }),\n withTiming(1, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ scale: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceInDown {\n return new BounceInDown();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(-20, { duration: duration * 0.55 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [\n {\n translateY: values.windowHeight,\n },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceInUp {\n return new BounceInUp();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(20, { duration: duration * 0.55 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: -values.windowHeight }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceInLeft {\n return new BounceInLeft();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(20, { duration: duration * 0.55 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: -values.windowWidth }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceInRight {\n return new BounceInRight();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(-20, { duration: duration * 0.55 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: values.windowWidth }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceOut {\n return new BounceOut();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return () => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n scale: delayFunction(\n delay,\n withSequence(\n withTiming(1.1, { duration: duration * 0.15 }),\n withTiming(0.9, { duration: duration * 0.15 }),\n withTiming(1.2, { duration: duration * 0.15 }),\n withTiming(0, { duration: duration * 0.55 })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ scale: 1 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutDown\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceOutDown {\n return new BounceOutDown();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-20, { duration: duration * 0.15 }),\n withTiming(values.windowHeight, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutUp\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceOutUp {\n return new BounceOutUp();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateY: delayFunction(\n delay,\n withSequence(\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(20, { duration: duration * 0.15 }),\n withTiming(-values.windowHeight, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceOutRight {\n return new BounceOutLeft();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(20, { duration: duration * 0.15 }),\n withTiming(-values.windowWidth, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class BounceOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): BounceOutRight {\n return new BounceOutRight();\n }\n\n static getDuration(): number {\n return 600;\n }\n\n getDuration(): number {\n return this.durationV ?? 600;\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n withSequence(\n withTiming(-10, { duration: duration * 0.15 }),\n withTiming(10, { duration: duration * 0.15 }),\n withTiming(-20, { duration: duration * 0.15 }),\n withTiming(values.windowWidth, {\n duration: duration * 0.55,\n })\n )\n ),\n },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import { withSequence, withTiming } from '../../animation';\nimport { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class LightSpeedInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): LightSpeedInRight {\n return new LightSpeedInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, withTiming(1, { duration: duration })),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(0, { ...config, duration: duration * 0.7 })\n ),\n },\n {\n skewX: delayFunction(\n delay,\n withSequence(\n withTiming('10deg', { duration: duration * 0.7 }),\n withTiming('-5deg', { duration: duration * 0.15 }),\n withTiming('0deg', { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: values.windowWidth }, { skewX: '-45deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): LightSpeedInLeft {\n return new LightSpeedInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const duration = this.getDuration();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, withTiming(1, { duration: duration })),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(0, { ...config, duration: duration * 0.7 })\n ),\n },\n {\n skewX: delayFunction(\n delay,\n withSequence(\n withTiming('-10deg', { duration: duration * 0.7 }),\n withTiming('5deg', { duration: duration * 0.15 }),\n withTiming('0deg', { duration: duration * 0.15 })\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [{ translateX: -values.windowWidth }, { skewX: '45deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): LightSpeedOutRight {\n return new LightSpeedOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(values.windowWidth, config)\n ),\n },\n {\n skewX: delayFunction(delay, animation('-45deg', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }, { skewX: '0deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class LightSpeedOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): LightSpeedOutLeft {\n return new LightSpeedOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(-values.windowWidth, config)\n ),\n },\n {\n skewX: delayFunction(delay, animation('45deg', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ translateX: 0 }, { skewX: '0deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class PinwheelIn\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): PinwheelIn {\n return new PinwheelIn();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (_values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n {\n scale: delayFunction(delay, animation(1, config)),\n },\n {\n rotate: delayFunction(delay, animation('0', config)),\n },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n {\n scale: 0,\n },\n {\n rotate: '5',\n },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class PinwheelOut\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): PinwheelOut {\n return new PinwheelOut();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (_values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n {\n scale: delayFunction(delay, animation(0, config)),\n },\n {\n rotate: delayFunction(delay, animation('5', config)),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [\n {\n scale: 1,\n },\n {\n rotate: '0',\n },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryAnimationsValues,\n ExitAnimationsValues,\n AnimationConfigFunction,\n IEntryAnimationBuilder,\n IExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class RotateInDownLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): RotateInDownLeft {\n return new RotateInDownLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '-90deg' },\n { translateX: values.targetWidth / 2 - values.targetHeight / 2 },\n { translateY: -(values.targetWidth / 2 - values.targetHeight / 2) },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInDownRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): RotateInDownRight {\n return new RotateInDownRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '90deg' },\n { translateX: -(values.targetWidth / 2 - values.targetHeight / 2) },\n { translateY: -(values.targetWidth / 2 - values.targetHeight / 2) },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInUpLeft\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): RotateInUpLeft {\n return new RotateInUpLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '90deg' },\n { translateX: values.targetWidth / 2 - values.targetHeight / 2 },\n { translateY: values.targetWidth / 2 - values.targetHeight / 2 },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateInUpRight\n extends ComplexAnimationBuilder\n implements IEntryAnimationBuilder\n{\n static createInstance(): RotateInUpRight {\n return new RotateInUpRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(1, config)),\n transform: [\n { rotate: delayFunction(delay, animation('0deg', config)) },\n { translateX: delayFunction(delay, animation(0, config)) },\n { translateY: delayFunction(delay, animation(0, config)) },\n ],\n },\n initialValues: {\n opacity: 0,\n transform: [\n { rotate: '-90deg' },\n { translateX: -(values.targetWidth / 2 - values.targetHeight / 2) },\n { translateY: values.targetWidth / 2 - values.targetHeight / 2 },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutDownLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): RotateOutDownLeft {\n return new RotateOutDownLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutDownRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): RotateOutDownRight {\n return new RotateOutDownRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutUpLeft\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): RotateOutUpLeft {\n return new RotateOutUpLeft();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('-90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n values.currentWidth / 2 - values.currentHeight / 2,\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RotateOutUpRight\n extends ComplexAnimationBuilder\n implements IExitAnimationBuilder\n{\n static createInstance(): RotateOutUpRight {\n return new RotateOutUpRight();\n }\n\n build = (): AnimationConfigFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n opacity: delayFunction(delay, animation(0, config)),\n transform: [\n { rotate: delayFunction(delay, animation('90deg', config)) },\n {\n translateX: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n {\n translateY: delayFunction(\n delay,\n animation(\n -(values.currentWidth / 2 - values.currentHeight / 2),\n config\n )\n ),\n },\n ],\n },\n initialValues: {\n opacity: 1,\n transform: [{ rotate: '0deg' }, { translateX: 0 }, { translateY: 0 }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","import { ComplexAnimationBuilder } from '../animationBuilder';\nimport {\n EntryExitAnimationFunction,\n IEntryExitAnimationBuilder,\n} from '../animationBuilder/commonTypes';\n\nexport class RollInLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): RollInLeft {\n return new RollInLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0), config) },\n { rotate: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n initialValues: {\n transform: [\n { translateX: -values.windowWidth },\n { rotate: '-180deg' },\n ],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollInRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): RollInRight {\n return new RollInRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n { translateX: delayFunction(delay, animation(0, config)) },\n { rotate: delayFunction(delay, animation('0deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: values.windowWidth }, { rotate: '180deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollOutLeft\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): RollOutLeft {\n return new RollOutLeft();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(-values.windowWidth, config)\n ),\n },\n { rotate: delayFunction(delay, animation('-180deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { rotate: '0deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport class RollOutRight\n extends ComplexAnimationBuilder\n implements IEntryExitAnimationBuilder\n{\n static createInstance(): RollOutRight {\n return new RollOutRight();\n }\n\n build = (): EntryExitAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const delay = this.getDelay();\n const callback = this.callbackV;\n const initialValues = this.initialValues;\n\n return (values) => {\n 'worklet';\n return {\n animations: {\n transform: [\n {\n translateX: delayFunction(\n delay,\n animation(values.windowWidth, config)\n ),\n },\n { rotate: delayFunction(delay, animation('180deg', config)) },\n ],\n },\n initialValues: {\n transform: [{ translateX: 0 }, { rotate: '0deg' }],\n ...initialValues,\n },\n callback: callback,\n };\n };\n };\n}\n","export * from './LinearTransition';\nexport * from './FadingTransition';\nexport * from './SequencedTransition';\nexport * from './JumpingTransition';\nexport * from './CurvedTransition';\nexport * from './EntryExitTransition';\n","import { ComplexAnimationBuilder } from '../animationBuilder/ComplexAnimationBuilder';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\n\nexport class LinearTransition\n extends ComplexAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n static createInstance(): LinearTransition {\n return new LinearTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const [animation, config] = this.getAnimationAndConfig();\n const callback = this.callbackV;\n const delay = this.getDelay();\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n animation(values.targetOriginX, config)\n ),\n originY: delayFunction(\n delay,\n animation(values.targetOriginY, config)\n ),\n width: delayFunction(delay, animation(values.targetWidth, config)),\n height: delayFunction(delay, animation(values.targetHeight, config)),\n },\n callback: callback,\n };\n };\n };\n}\n\nexport const Layout = LinearTransition;\n","import { withSequence, withTiming } from '../../animation';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\n\nexport class FadingTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n static createInstance(): FadingTransition {\n return new FadingTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = this.durationV ?? 500;\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n opacity: 1,\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n opacity: delayFunction(\n delay,\n withSequence(\n withTiming(0, { duration: duration }),\n withTiming(1, { duration: duration })\n )\n ),\n originX: delayFunction(\n delay + duration,\n withTiming(values.targetOriginX, { duration: 50 })\n ),\n originY: delayFunction(\n delay + duration,\n withTiming(values.targetOriginY, { duration: 50 })\n ),\n width: delayFunction(\n delay + duration,\n withTiming(values.targetWidth, { duration: 50 })\n ),\n height: delayFunction(\n delay + duration,\n withTiming(values.targetHeight, { duration: 50 })\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import { withSequence, withTiming } from '../../animation';\nimport {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\n\nexport class SequencedTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n reversed = false;\n\n static createInstance(): SequencedTransition {\n return new SequencedTransition();\n }\n\n static reverse(): SequencedTransition {\n const instance = SequencedTransition.createInstance();\n return instance.reverse();\n }\n\n reverse(): SequencedTransition {\n this.reversed = !this.reversed;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const sequenceDuration = (this.durationV ?? 500) / 2;\n const config = { duration: sequenceDuration };\n const reverse = this.reversed;\n\n return (values) => {\n 'worklet';\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.currentOriginX : values.targetOriginX,\n config\n ),\n withTiming(values.targetOriginX, config)\n )\n ),\n originY: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.targetOriginY : values.currentOriginY,\n config\n ),\n withTiming(values.targetOriginY, config)\n )\n ),\n width: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.currentWidth : values.targetWidth,\n config\n ),\n withTiming(values.targetWidth, config)\n )\n ),\n height: delayFunction(\n delay,\n withSequence(\n withTiming(\n reverse ? values.targetHeight : values.currentHeight,\n config\n ),\n withTiming(values.targetHeight, config)\n )\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { withSequence, withTiming } from '../../animation';\nimport { Easing } from '../../Easing';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nexport class JumpingTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n static createInstance(): JumpingTransition {\n return new JumpingTransition();\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = (this.durationV ?? 300) / 2;\n const config = { duration: duration * 2 };\n\n return (values) => {\n 'worklet';\n const d = Math.max(\n Math.abs(values.targetOriginX - values.currentOriginX),\n Math.abs(values.targetOriginY - values.currentOriginY)\n );\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withTiming(values.targetOriginX, config)\n ),\n originY: delayFunction(\n delay,\n withSequence(\n withTiming(\n Math.min(values.targetOriginY, values.currentOriginY) - d,\n {\n duration,\n easing: Easing.out(Easing.exp),\n }\n ),\n withTiming(values.targetOriginY, {\n ...config,\n duration,\n easing: Easing.bounce,\n })\n )\n ),\n width: delayFunction(delay, withTiming(values.targetWidth, config)),\n height: delayFunction(delay, withTiming(values.targetHeight, config)),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nimport { EasingFn, Easing } from '../../Easing';\nimport { withTiming } from '../../animation';\n\nexport class CurvedTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n easingXV: EasingFn = Easing.in(Easing.ease);\n easingYV: EasingFn = Easing.out(Easing.ease);\n easingWidthV: EasingFn = Easing.in(Easing.exp);\n easingHeightV: EasingFn = Easing.out(Easing.exp);\n static createInstance(): CurvedTransition {\n return new CurvedTransition();\n }\n\n static easingX(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingX(easing);\n }\n\n easingX(easing: EasingFn): CurvedTransition {\n this.easingXV = easing;\n return this;\n }\n\n static easingY(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingY(easing);\n }\n\n easingY(easing: EasingFn): CurvedTransition {\n this.easingYV = easing;\n return this;\n }\n\n static easingWidth(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingWidth(easing);\n }\n\n easingWidth(easing: EasingFn): CurvedTransition {\n this.easingWidthV = easing;\n return this;\n }\n\n static easingHeight(easing: EasingFn): CurvedTransition {\n const instance = this.createInstance();\n return instance.easingHeight(easing);\n }\n\n easingHeight(easing: EasingFn): CurvedTransition {\n this.easingHeightV = easing;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const duration = this.durationV ?? 300;\n const easing = {\n easingX: this.easingXV,\n easingY: this.easingYV,\n easingWidth: this.easingWidthV,\n easingHeight: this.easingHeightV,\n };\n\n return (values) => {\n 'worklet';\n\n return {\n initialValues: {\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n },\n animations: {\n originX: delayFunction(\n delay,\n withTiming(values.targetOriginX, {\n duration,\n easing: easing.easingX,\n })\n ),\n originY: delayFunction(\n delay,\n withTiming(values.targetOriginY, {\n duration,\n easing: easing.easingY,\n })\n ),\n width: delayFunction(\n delay,\n withTiming(values.targetWidth, {\n duration,\n easing: easing.easingWidth,\n })\n ),\n height: delayFunction(\n delay,\n withTiming(values.targetHeight, {\n duration,\n easing: easing.easingHeight,\n })\n ),\n },\n callback: callback,\n };\n };\n };\n}\n","import {\n ILayoutAnimationBuilder,\n LayoutAnimationsValues,\n LayoutAnimationFunction,\n} from '../animationBuilder/commonTypes';\nimport { BaseAnimationBuilder } from '../animationBuilder';\nimport { withSequence, withTiming } from '../../animation';\nimport { FadeIn, FadeOut } from '../defaultAnimations/Fade';\nimport {\n StyleProps,\n TransformProperty,\n AnimationObject,\n} from '../../commonTypes';\n\nexport class EntryExitTransition\n extends BaseAnimationBuilder\n implements ILayoutAnimationBuilder\n{\n enteringV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeIn;\n\n exitingV: BaseAnimationBuilder | typeof BaseAnimationBuilder = FadeOut;\n\n static createInstance(): EntryExitTransition {\n return new EntryExitTransition();\n }\n\n static entering(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n const instance = this.createInstance();\n return instance.entering(animation);\n }\n\n entering(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n this.enteringV = animation;\n return this;\n }\n\n static exiting(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n const instance = this.createInstance();\n return instance.exiting(animation);\n }\n\n exiting(\n animation: BaseAnimationBuilder | typeof BaseAnimationBuilder\n ): EntryExitTransition {\n this.exitingV = animation;\n return this;\n }\n\n build = (): LayoutAnimationFunction => {\n const delayFunction = this.getDelayFunction();\n const callback = this.callbackV;\n const delay = this.getDelay();\n const enteringAnimation = this.enteringV.build();\n const exitingAnimation = this.exitingV.build();\n const exitingDuration = this.exitingV.getDuration();\n\n return (values) => {\n 'worklet';\n const enteringValues = enteringAnimation(values);\n const exitingValues = exitingAnimation(values);\n const animations: StyleProps = {\n transform: [],\n };\n\n for (const prop of Object.keys(exitingValues.animations)) {\n if (prop === 'transform') {\n exitingValues.animations[prop]?.forEach((value, index) => {\n for (const transformProp of Object.keys(value)) {\n animations.transform?.push({\n [transformProp]: delayFunction(\n delay,\n withSequence(\n value[transformProp as keyof TransformProperty],\n withTiming(\n exitingValues.initialValues.transform\n ? exitingValues.initialValues.transform[index][\n transformProp as keyof TransformProperty\n ]\n : 0,\n { duration: 0 }\n )\n )\n ),\n } as TransformProperty);\n }\n });\n } else {\n const sequence =\n enteringValues.animations[prop] !== undefined\n ? [\n exitingValues.animations[prop],\n withTiming(enteringValues.initialValues[prop], {\n duration: 0,\n }),\n enteringValues.animations[prop],\n ]\n : [\n exitingValues.animations[prop],\n withTiming(\n Object.keys(values).includes(prop)\n ? values[prop as keyof LayoutAnimationsValues]\n : exitingValues.initialValues[prop],\n { duration: 0 }\n ),\n ];\n\n animations[prop] = delayFunction(delay, withSequence(...sequence));\n }\n }\n for (const prop of Object.keys(enteringValues.animations)) {\n if (prop === 'transform') {\n enteringValues.animations[prop]?.forEach((value, index) => {\n for (const transformProp of Object.keys(value)) {\n animations.transform?.push({\n [transformProp]: delayFunction(\n delay + exitingDuration,\n withSequence(\n withTiming(\n enteringValues.initialValues.transform\n ? enteringValues.initialValues.transform[index][\n transformProp as keyof TransformProperty\n ]\n : 0,\n { duration: exitingDuration }\n ),\n value[transformProp as keyof TransformProperty]\n )\n ),\n } as TransformProperty);\n }\n });\n } else if (animations[prop] !== undefined) {\n // it was already added in the previous loop\n continue;\n } else {\n animations[prop] = delayFunction(\n delay,\n withSequence(\n withTiming(enteringValues.initialValues[prop], { duration: 0 }),\n enteringValues.animations[prop]\n )\n );\n }\n }\n\n const mergedTransform = (\n exitingValues.initialValues.transform ?? []\n ).concat(\n (enteringValues.animations.transform ?? []).map((value) => {\n const objectKeys = Object.keys(value);\n if (objectKeys?.length < 1) {\n console.error(\n `[Reanimated]: \\${value} is not a valid Transform object`\n );\n return value;\n }\n const transformProp = objectKeys[0];\n const current = (\n value[transformProp as keyof TransformProperty] as AnimationObject\n ).current;\n if (typeof current === 'string') {\n if (current.includes('deg'))\n return {\n [transformProp]: '0deg',\n } as unknown as TransformProperty;\n else\n return {\n [transformProp]: '0',\n } as unknown as TransformProperty;\n } else if (transformProp.includes('translate')) {\n return { [transformProp]: 0 } as unknown as TransformProperty;\n } else {\n return { [transformProp]: 1 } as unknown as TransformProperty;\n }\n return value;\n })\n );\n\n return {\n initialValues: {\n ...exitingValues.initialValues,\n originX: values.currentOriginX,\n originY: values.currentOriginY,\n width: values.currentWidth,\n height: values.currentHeight,\n transform: mergedTransform,\n },\n animations: {\n originX: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetOriginX, { duration: exitingDuration })\n ),\n originY: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetOriginY, { duration: exitingDuration })\n ),\n width: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetWidth, { duration: exitingDuration })\n ),\n height: delayFunction(\n delay + exitingDuration,\n withTiming(values.targetHeight, { duration: exitingDuration })\n ),\n ...animations,\n },\n callback: callback,\n };\n };\n };\n}\n\nexport function combineTransition(\n exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder,\n entering: BaseAnimationBuilder | typeof BaseAnimationBuilder\n): EntryExitTransition {\n return EntryExitTransition.entering(entering).exiting(exiting);\n}\n","import { Component } from 'react';\nimport { measure } from './NativeMethods';\nimport { RefObjectFunction } from './hook/commonTypes';\n\nexport interface ComponentCoords {\n x: number;\n y: number;\n}\n\n/**\n * Given an absolute position and a component ref, returns the relative\n * position in the component's local coordinate space.\n */\nexport function getRelativeCoords(\n parentRef: RefObjectFunction,\n absoluteX: number,\n absoluteY: number\n): ComponentCoords | null {\n 'worklet';\n const parentCoords = measure(parentRef);\n if (parentCoords === null) {\n return null;\n }\n return {\n x: absoluteX - parentCoords.x,\n y: absoluteY - parentCoords.y,\n };\n}\n","import { Reanimated } from './reanimatedWrapper';\nimport { State } from '../../State';\nimport { tagMessage } from '../../utils';\n\nexport interface GestureStateManagerType {\n begin: () => void;\n activate: () => void;\n fail: () => void;\n end: () => void;\n}\n\nconst warningMessage = tagMessage(\n 'react-native-reanimated is required in order to use synchronous state management'\n);\n\n// check if reanimated module is available, but look for useSharedValue as conditional\n// require of reanimated can sometimes return content of `utils.ts` file (?)\nconst REANIMATED_AVAILABLE = Reanimated?.useSharedValue !== undefined;\nconst setGestureState = Reanimated?.setGestureState;\n\nexport const GestureStateManager = {\n create(handlerTag: number): GestureStateManagerType {\n 'worklet';\n return {\n begin: () => {\n 'worklet';\n if (REANIMATED_AVAILABLE) {\n setGestureState(handlerTag, State.BEGAN);\n } else {\n console.warn(warningMessage);\n }\n },\n\n activate: () => {\n 'worklet';\n if (REANIMATED_AVAILABLE) {\n setGestureState(handlerTag, State.ACTIVE);\n } else {\n console.warn(warningMessage);\n }\n },\n\n fail: () => {\n 'worklet';\n if (REANIMATED_AVAILABLE) {\n setGestureState(handlerTag, State.FAILED);\n } else {\n console.warn(warningMessage);\n }\n },\n\n end: () => {\n 'worklet';\n if (REANIMATED_AVAILABLE) {\n setGestureState(handlerTag, State.END);\n } else {\n console.warn(warningMessage);\n }\n },\n };\n },\n};\n","import { DeviceEventEmitter, EmitterSubscription } from 'react-native';\nimport { State } from '../../State';\nimport { TouchEventType } from '../../TouchEventType';\nimport {\n GestureTouchEvent,\n GestureUpdateEvent,\n GestureStateChangeEvent,\n} from '../gestureHandlerCommon';\nimport { findHandler, findOldGestureHandler } from '../handlersRegistry';\nimport { BaseGesture } from './gesture';\nimport {\n GestureStateManager,\n GestureStateManagerType,\n} from './gestureStateManager';\n\nlet gestureHandlerEventSubscription: EmitterSubscription | null = null;\nlet gestureHandlerStateChangeEventSubscription: EmitterSubscription | null =\n null;\n\nconst gestureStateManagers: Map = new Map<\n number,\n GestureStateManagerType\n>();\n\nconst lastUpdateEvent: (GestureUpdateEvent | undefined)[] = [];\n\nfunction isStateChangeEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureStateChangeEvent {\n // @ts-ignore oldState doesn't exist on GestureTouchEvent and that's the point\n return event.oldState != null;\n}\n\nfunction isTouchEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n): event is GestureTouchEvent {\n return event.eventType != null;\n}\n\nexport function onGestureHandlerEvent(\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\n) {\n const handler = findHandler(event.handlerTag) as BaseGesture<\n Record\n >;\n\n if (handler) {\n if (isStateChangeEvent(event)) {\n if (\n event.oldState === State.UNDETERMINED &&\n event.state === State.BEGAN\n ) {\n handler.handlers.onBegin?.(event);\n } else if (\n (event.oldState === State.BEGAN ||\n event.oldState === State.UNDETERMINED) &&\n event.state === State.ACTIVE\n ) {\n handler.handlers.onStart?.(event);\n lastUpdateEvent[handler.handlers.handlerTag] = event;\n } else if (event.oldState !== event.state && event.state === State.END) {\n if (event.oldState === State.ACTIVE) {\n handler.handlers.onEnd?.(event, true);\n }\n handler.handlers.onFinalize?.(event, true);\n lastUpdateEvent[handler.handlers.handlerTag] = undefined;\n } else if (\n (event.state === State.FAILED || event.state === State.CANCELLED) &&\n event.oldState !== event.state\n ) {\n if (event.oldState === State.ACTIVE) {\n handler.handlers.onEnd?.(event, false);\n }\n handler.handlers.onFinalize?.(event, false);\n gestureStateManagers.delete(event.handlerTag);\n lastUpdateEvent[handler.handlers.handlerTag] = undefined;\n }\n } else if (isTouchEvent(event)) {\n if (!gestureStateManagers.has(event.handlerTag)) {\n gestureStateManagers.set(\n event.handlerTag,\n GestureStateManager.create(event.handlerTag)\n );\n }\n\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const manager = gestureStateManagers.get(event.handlerTag)!;\n\n switch (event.eventType) {\n case TouchEventType.TOUCHES_DOWN:\n handler.handlers?.onTouchesDown?.(event, manager);\n break;\n case TouchEventType.TOUCHES_MOVE:\n handler.handlers?.onTouchesMove?.(event, manager);\n break;\n case TouchEventType.TOUCHES_UP:\n handler.handlers?.onTouchesUp?.(event, manager);\n break;\n case TouchEventType.TOUCHES_CANCELLED:\n handler.handlers?.onTouchesCancelled?.(event, manager);\n break;\n }\n } else {\n handler.handlers.onUpdate?.(event);\n\n if (handler.handlers.onChange && handler.handlers.changeEventCalculator) {\n handler.handlers.onChange?.(\n handler.handlers.changeEventCalculator?.(\n event,\n lastUpdateEvent[handler.handlers.handlerTag]\n )\n );\n\n lastUpdateEvent[handler.handlers.handlerTag] = event;\n }\n }\n } else {\n const oldHandler = findOldGestureHandler(event.handlerTag);\n if (oldHandler) {\n const nativeEvent = { nativeEvent: event };\n if (isStateChangeEvent(event)) {\n oldHandler.onGestureStateChange(nativeEvent);\n } else {\n oldHandler.onGestureEvent(nativeEvent);\n }\n return;\n }\n }\n}\n\nexport function startListening() {\n stopListening();\n\n gestureHandlerEventSubscription = DeviceEventEmitter.addListener(\n 'onGestureHandlerEvent',\n onGestureHandlerEvent\n );\n\n gestureHandlerStateChangeEventSubscription = DeviceEventEmitter.addListener(\n 'onGestureHandlerStateChange',\n onGestureHandlerEvent\n );\n}\n\nexport function stopListening() {\n if (gestureHandlerEventSubscription) {\n gestureHandlerEventSubscription.remove();\n gestureHandlerEventSubscription = null;\n }\n\n if (gestureHandlerStateChangeEventSubscription) {\n gestureHandlerStateChangeEventSubscription.remove();\n gestureHandlerStateChangeEventSubscription = null;\n }\n}\n","import { Platform } from 'react-native';\n\nlet EXPERIMENTAL_WEB_IMPLEMENTATION = false;\nlet getWasCalled = false;\n\nexport function enableExperimentalWebImplementation(shouldEnable = true): void {\n if (\n Platform.OS !== 'web' ||\n EXPERIMENTAL_WEB_IMPLEMENTATION === shouldEnable\n ) {\n return;\n }\n\n if (getWasCalled) {\n console.error(\n 'Some parts of this application have already started using old gesture handler implementation. No changes will be applied. You can try enabling new implementation earlier.'\n );\n return;\n }\n\n EXPERIMENTAL_WEB_IMPLEMENTATION = shouldEnable;\n}\n\nexport function isExperimentalWebImplementationEnabled(): boolean {\n getWasCalled = true;\n return EXPERIMENTAL_WEB_IMPLEMENTATION;\n}\n","// Used by GestureDetector (unsupported on web at the moment) to check whether the\n// attached view may get flattened on Fabric. This implementation causes errors\n// on web due to the static resolution of `require` statements by webpack breaking\n// the conditional importing. Solved by making .web file.\nlet findHostInstance_DEPRECATED: (ref: any) => void;\n\nexport function getShadowNodeFromRef(ref: any) {\n // load findHostInstance_DEPRECATED lazily because it may not be available before render\n if (findHostInstance_DEPRECATED === undefined) {\n try {\n findHostInstance_DEPRECATED =\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n require('react-native/Libraries/Renderer/shims/ReactFabric').findHostInstance_DEPRECATED;\n } catch (e) {\n findHostInstance_DEPRECATED = (_ref: any) => null;\n }\n }\n\n // @ts-ignore Fabric\n return findHostInstance_DEPRECATED(ref)._internalInstanceHandle.stateNode\n .node;\n}\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport type PinchGestureHandlerEventPayload = {\n /**\n * The scale factor relative to the points of the two touches in screen\n * coordinates.\n */\n scale: number;\n\n /**\n * Position expressed in points along X axis of center anchor point of\n * gesture.\n */\n focalX: number;\n\n /**\n * Position expressed in points along Y axis of center anchor point of\n * gesture.\n */\n focalY: number;\n\n /**\n *\n * Velocity of the pan gesture the current moment. The value is expressed in\n * point units per second.\n */\n velocity: number;\n};\n\nexport interface PinchGestureHandlerProps\n extends BaseGestureHandlerProps {}\n\nexport const pinchHandlerName = 'PinchGestureHandler';\n\nexport type PinchGestureHandler = typeof PinchGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const PinchGestureHandler = createHandler<\n PinchGestureHandlerProps,\n PinchGestureHandlerEventPayload\n>({\n name: pinchHandlerName,\n allowedProps: baseGestureHandlerProps,\n config: {},\n});\n","import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport type RotationGestureHandlerEventPayload = {\n /**\n * Amount rotated, expressed in radians, from the gesture's focal point\n * (anchor).\n */\n rotation: number;\n\n /**\n * X coordinate, expressed in points, of the gesture's central focal point\n * (anchor).\n */\n anchorX: number;\n\n /**\n * Y coordinate, expressed in points, of the gesture's central focal point\n * (anchor).\n */\n anchorY: number;\n\n /**\n *\n * Instantaneous velocity, expressed in point units per second, of the\n * gesture.\n */\n velocity: number;\n};\n\nexport interface RotationGestureHandlerProps\n extends BaseGestureHandlerProps {}\n\nexport const rotationHandlerName = 'RotationGestureHandler';\n\nexport type RotationGestureHandler = typeof RotationGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const RotationGestureHandler = createHandler<\n RotationGestureHandlerProps,\n RotationGestureHandlerEventPayload\n>({\n name: rotationHandlerName,\n allowedProps: baseGestureHandlerProps,\n config: {},\n});\n","export { default as TouchableNativeFeedback } from './TouchableNativeFeedback';\nexport { default as TouchableWithoutFeedback } from './TouchableWithoutFeedback';\nexport { default as TouchableOpacity } from './TouchableOpacity';\nexport { default as TouchableHighlight } from './TouchableHighlight';\n","import { TouchableNativeFeedback } from 'react-native';\n\nexport default TouchableNativeFeedback;\n","import * as React from 'react';\nimport { PropsWithChildren } from 'react';\nimport GenericTouchable, { GenericTouchableProps } from './GenericTouchable';\n\nconst TouchableWithoutFeedback = React.forwardRef<\n GenericTouchable,\n PropsWithChildren\n>((props, ref) => );\n\nTouchableWithoutFeedback.defaultProps = GenericTouchable.defaultProps;\n\nexport default TouchableWithoutFeedback;\n","import * as React from 'react';\nimport { Component } from 'react';\nimport {\n Animated,\n Platform,\n StyleProp,\n ViewStyle,\n TouchableWithoutFeedbackProps,\n} from 'react-native';\n\nimport { State } from '../../State';\nimport { BaseButton } from '../GestureButtons';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../../handlers/gestureHandlerCommon';\nimport { NativeViewGestureHandlerPayload } from '../../handlers/NativeViewGestureHandler';\nimport { TouchableNativeFeedbackExtraProps } from './TouchableNativeFeedback.android';\n\n/**\n * Each touchable is a states' machine which preforms transitions.\n * On very beginning (and on the very end or recognition) touchable is\n * UNDETERMINED. Then it moves to BEGAN. If touchable recognizes that finger\n * travel outside it transits to special MOVED_OUTSIDE state. Gesture recognition\n * finishes in UNDETERMINED state.\n */\nexport const TOUCHABLE_STATE = {\n UNDETERMINED: 0,\n BEGAN: 1,\n MOVED_OUTSIDE: 2,\n} as const;\n\ntype TouchableState = typeof TOUCHABLE_STATE[keyof typeof TOUCHABLE_STATE];\n\nexport interface GenericTouchableProps extends TouchableWithoutFeedbackProps {\n // Decided to drop not used fields from RN's implementation.\n // e.g. onBlur and onFocus as well as deprecated props. - TODO: this comment may be unuseful in this moment\n\n // TODO: in RN these events get native event parameter, which prolly could be used in our implementation too\n onPress?: () => void;\n onPressIn?: () => void;\n onPressOut?: () => void;\n onLongPress?: () => void;\n\n nativeID?: string;\n shouldActivateOnStart?: boolean;\n disallowInterruption?: boolean;\n\n containerStyle?: StyleProp;\n}\n\ninterface InternalProps {\n extraButtonProps: TouchableNativeFeedbackExtraProps;\n onStateChange?: (oldState: TouchableState, newState: TouchableState) => void;\n}\n\n// TODO: maybe can be better\n// TODO: all clearTimeout have ! added, maybe they shouldn't ?\ntype Timeout = ReturnType | null | undefined;\n\n/**\n * GenericTouchable is not intented to be used as it is.\n * Should be treated as a source for the rest of touchables\n */\n\nexport default class GenericTouchable extends Component<\n GenericTouchableProps & InternalProps\n> {\n static defaultProps = {\n delayLongPress: 600,\n extraButtonProps: {\n rippleColor: 'transparent',\n exclusive: true,\n },\n };\n\n // timeout handlers\n pressInTimeout: Timeout;\n pressOutTimeout: Timeout;\n longPressTimeout: Timeout;\n\n // This flag is required since recognition of longPress implies not-invoking onPress\n longPressDetected = false;\n\n pointerInside = true;\n\n // State of touchable\n STATE: TouchableState = TOUCHABLE_STATE.UNDETERMINED;\n\n // handlePressIn in called on first touch on traveling inside component.\n // Handles state transition with delay.\n handlePressIn() {\n if (this.props.delayPressIn) {\n this.pressInTimeout = setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n this.pressInTimeout = null;\n }, this.props.delayPressIn);\n } else {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n if (this.props.onLongPress) {\n const time =\n (this.props.delayPressIn || 0) + (this.props.delayLongPress || 0);\n this.longPressTimeout = setTimeout(this.onLongPressDetected, time);\n }\n }\n // handleMoveOutside in called on traveling outside component.\n // Handles state transition with delay.\n handleMoveOutside() {\n if (this.props.delayPressOut) {\n this.pressOutTimeout =\n this.pressOutTimeout ||\n setTimeout(() => {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n this.moveToState(TOUCHABLE_STATE.MOVED_OUTSIDE);\n }\n }\n\n // handleGoToUndetermined transits to UNDETERMINED state with proper delay\n handleGoToUndetermined() {\n clearTimeout(this.pressOutTimeout!); // TODO: maybe it can be undefined\n if (this.props.delayPressOut) {\n this.pressOutTimeout = setTimeout(() => {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n this.pressOutTimeout = null;\n }, this.props.delayPressOut);\n } else {\n if (this.STATE === TOUCHABLE_STATE.UNDETERMINED) {\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n }\n }\n\n componentDidMount() {\n this.reset();\n }\n // reset timeout to prevent memory leaks.\n reset() {\n this.longPressDetected = false;\n this.pointerInside = true;\n clearTimeout(this.pressInTimeout!);\n clearTimeout(this.pressOutTimeout!);\n clearTimeout(this.longPressTimeout!);\n this.pressOutTimeout = null;\n this.longPressTimeout = null;\n this.pressInTimeout = null;\n }\n\n // All states' transitions are defined here.\n moveToState(newState: TouchableState) {\n if (newState === this.STATE) {\n // Ignore dummy transitions\n return;\n }\n if (newState === TOUCHABLE_STATE.BEGAN) {\n // First touch and moving inside\n this.props.onPressIn?.();\n } else if (newState === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // Moving outside\n this.props.onPressOut?.();\n } else if (newState === TOUCHABLE_STATE.UNDETERMINED) {\n // Need to reset each time on transition to UNDETERMINED\n this.reset();\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n // ... and if it happens inside button.\n this.props.onPressOut?.();\n }\n }\n // Finally call lister (used by subclasses)\n this.props.onStateChange?.(this.STATE, newState);\n // ... and make transition.\n this.STATE = newState;\n }\n\n onGestureEvent = ({\n nativeEvent: { pointerInside },\n }: GestureEvent) => {\n if (this.pointerInside !== pointerInside) {\n if (pointerInside) {\n this.onMoveIn();\n } else {\n this.onMoveOut();\n }\n }\n this.pointerInside = pointerInside;\n };\n\n onHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { state } = nativeEvent;\n if (state === State.CANCELLED || state === State.FAILED) {\n // Need to handle case with external cancellation (e.g. by ScrollView)\n this.moveToState(TOUCHABLE_STATE.UNDETERMINED);\n } else if (\n // This platform check is an implication of slightly different behavior of handlers on different platform.\n // And Android \"Active\" state is achieving on first move of a finger, not on press in.\n // On iOS event on \"Began\" is not delivered.\n state === (Platform.OS !== 'android' ? State.ACTIVE : State.BEGAN) &&\n this.STATE === TOUCHABLE_STATE.UNDETERMINED\n ) {\n // Moving inside requires\n this.handlePressIn();\n } else if (state === State.END) {\n const shouldCallOnPress =\n !this.longPressDetected &&\n this.STATE !== TOUCHABLE_STATE.MOVED_OUTSIDE &&\n this.pressOutTimeout === null;\n this.handleGoToUndetermined();\n if (shouldCallOnPress) {\n // Calls only inside component whether no long press was called previously\n this.props.onPress?.();\n }\n }\n };\n\n onLongPressDetected = () => {\n this.longPressDetected = true;\n // checked for in the caller of `onLongPressDetected`, but better to check twice\n this.props.onLongPress?.();\n };\n\n componentWillUnmount() {\n // to prevent memory leaks\n this.reset();\n }\n\n onMoveIn() {\n if (this.STATE === TOUCHABLE_STATE.MOVED_OUTSIDE) {\n // This call is not throttled with delays (like in RN's implementation).\n this.moveToState(TOUCHABLE_STATE.BEGAN);\n }\n }\n\n onMoveOut() {\n // long press should no longer be detected\n clearTimeout(this.longPressTimeout!);\n this.longPressTimeout = null;\n if (this.STATE === TOUCHABLE_STATE.BEGAN) {\n this.handleMoveOutside();\n }\n }\n\n render() {\n const coreProps = {\n accessible: this.props.accessible !== false,\n accessibilityLabel: this.props.accessibilityLabel,\n accessibilityHint: this.props.accessibilityHint,\n accessibilityRole: this.props.accessibilityRole,\n // TODO: check if changed to no 's' correctly, also removed 2 props that are no longer available: `accessibilityComponentType` and `accessibilityTraits`,\n // would be good to check if it is ok for sure, see: https://github.com/facebook/react-native/issues/24016\n accessibilityState: this.props.accessibilityState,\n accessibilityActions: this.props.accessibilityActions,\n onAccessibilityAction: this.props.onAccessibilityAction,\n nativeID: this.props.nativeID,\n onLayout: this.props.onLayout,\n hitSlop: this.props.hitSlop,\n };\n\n return (\n \n \n {this.props.children}\n \n \n );\n }\n}\n","import {\n Animated,\n Easing,\n StyleSheet,\n View,\n TouchableOpacityProps,\n} from 'react-native';\nimport GenericTouchable, {\n TOUCHABLE_STATE,\n GenericTouchableProps,\n} from './GenericTouchable';\nimport * as React from 'react';\nimport { Component } from 'react';\n\ninterface GHTouchableOpacityProps {\n useNativeAnimations?: boolean;\n}\n\n/**\n * TouchableOpacity bases on timing animation which has been used in RN's core\n */\nexport default class TouchableOpacity extends Component<\n TouchableOpacityProps & GenericTouchableProps & GHTouchableOpacityProps\n> {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.2,\n };\n\n // opacity is 1 one by default but could be overwritten\n getChildStyleOpacityWithDefault = () => {\n const childStyle = StyleSheet.flatten(this.props.style) || {};\n return childStyle.opacity == null ? 1 : childStyle.opacity;\n };\n\n opacity = new Animated.Value(this.getChildStyleOpacityWithDefault());\n\n setOpacityTo = (value: number, duration: number) => {\n Animated.timing(this.opacity, {\n toValue: value,\n duration: duration,\n easing: Easing.inOut(Easing.quad),\n useNativeDriver: this.props.useNativeAnimations ?? true,\n }).start();\n };\n\n onStateChange = (_from: number, to: number) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.setOpacityTo(this.props.activeOpacity!, 0);\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.setOpacityTo(this.getChildStyleOpacityWithDefault(), 150);\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n return (\n \n {this.props.children ? this.props.children : }\n \n );\n }\n}\n","import * as React from 'react';\nimport { Component } from 'react';\nimport GenericTouchable, {\n GenericTouchableProps,\n TOUCHABLE_STATE,\n} from './GenericTouchable';\nimport {\n StyleSheet,\n View,\n TouchableHighlightProps,\n ColorValue,\n ViewProps,\n} from 'react-native';\n\ninterface State {\n extraChildStyle: null | {\n opacity?: number;\n };\n extraUnderlayStyle: null | {\n backgroundColor?: ColorValue;\n };\n}\n\n/**\n * TouchableHighlight follows RN's implementation\n */\nexport default class TouchableHighlight extends Component<\n TouchableHighlightProps & GenericTouchableProps,\n State\n> {\n static defaultProps = {\n ...GenericTouchable.defaultProps,\n activeOpacity: 0.85,\n delayPressOut: 100,\n underlayColor: 'black',\n };\n\n constructor(props: TouchableHighlightProps & GenericTouchableProps) {\n super(props);\n this.state = {\n extraChildStyle: null,\n extraUnderlayStyle: null,\n };\n }\n\n // Copied from RN\n showUnderlay = () => {\n if (!this.hasPressHandler()) {\n return;\n }\n this.setState({\n extraChildStyle: {\n opacity: this.props.activeOpacity,\n },\n extraUnderlayStyle: {\n backgroundColor: this.props.underlayColor,\n },\n });\n this.props.onShowUnderlay?.();\n };\n\n hasPressHandler = () =>\n this.props.onPress ||\n this.props.onPressIn ||\n this.props.onPressOut ||\n this.props.onLongPress;\n\n hideUnderlay = () => {\n this.setState({\n extraChildStyle: null,\n extraUnderlayStyle: null,\n });\n this.props.onHideUnderlay?.();\n };\n\n renderChildren() {\n if (!this.props.children) {\n return ;\n }\n\n const child = React.Children.only(\n this.props.children\n ) as React.ReactElement; // TODO: not sure if OK but fixes error\n return React.cloneElement(child, {\n style: StyleSheet.compose(child.props.style, this.state.extraChildStyle),\n });\n }\n\n onStateChange = (_from: number, to: number) => {\n if (to === TOUCHABLE_STATE.BEGAN) {\n this.showUnderlay();\n } else if (\n to === TOUCHABLE_STATE.UNDETERMINED ||\n to === TOUCHABLE_STATE.MOVED_OUTSIDE\n ) {\n this.hideUnderlay();\n }\n };\n\n render() {\n const { style = {}, ...rest } = this.props;\n const { extraUnderlayStyle } = this.state;\n return (\n \n {this.renderChildren()}\n \n );\n }\n}\n","import * as React from 'react';\nimport { StyleSheet, StyleProp, ViewStyle } from 'react-native';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport GestureHandlerRootView from './GestureHandlerRootView';\n\nexport default function gestureHandlerRootHOC<\n P extends JSX.IntrinsicAttributes\n>(\n Component: React.ComponentType

,\n containerStyles?: StyleProp\n): React.ComponentType

{\n function Wrapper(props: P) {\n return (\n \n \n \n );\n }\n\n Wrapper.displayName = `gestureHandlerRootHOC(${\n Component.displayName || Component.name\n })`;\n\n // @ts-ignore - hoistNonReactStatics uses old version of @types/react\n hoistNonReactStatics(Wrapper, Component);\n\n return Wrapper;\n}\n\nconst styles = StyleSheet.create({\n container: { flex: 1 },\n});\n","'use strict';\n\nvar reactIs = require('react-is');\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nfunction getStatics(component) {\n // React v16.11 and below\n if (reactIs.isMemo(component)) {\n return MEMO_STATICS;\n } // React v16.12 and above\n\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","import * as React from 'react';\nimport { PropsWithChildren } from 'react';\nimport { View, ViewProps } from 'react-native';\nimport { maybeInitializeFabric } from './init';\n\nexport interface GestureHandlerRootViewProps\n extends PropsWithChildren {}\n\nexport default function GestureHandlerRootView(\n props: GestureHandlerRootViewProps\n) {\n // try initialize fabric on the first render, at this point we can\n // reliably check if fabric is enabled (the function contains a flag\n // to make sure it's called only once)\n maybeInitializeFabric();\n\n return ;\n}\n","import { startListening } from './handlers/gestures/eventReceiver';\nimport RNGestureHandlerModule from './RNGestureHandlerModule';\nimport { isFabric } from './utils';\n\nlet fabricInitialized = false;\n\nexport function initialize() {\n startListening();\n}\n\n// since isFabric() may give wrong results before the first render, we call this\n// method during render of GestureHandlerRootView\nexport function maybeInitializeFabric() {\n if (isFabric() && !fabricInitialized) {\n RNGestureHandlerModule.install();\n fabricInitialized = true;\n }\n}\n","// Similarily to the DrawerLayout component this deserves to be put in a\n// separate repo. Although, keeping it here for the time being will allow us to\n// move faster and fix possible issues quicker\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport {\n Animated,\n StyleSheet,\n View,\n I18nManager,\n LayoutChangeEvent,\n StyleProp,\n ViewStyle,\n} from 'react-native';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n} from '../handlers/gestureHandlerCommon';\nimport {\n PanGestureHandler,\n PanGestureHandlerEventPayload,\n PanGestureHandlerProps,\n} from '../handlers/PanGestureHandler';\nimport {\n TapGestureHandler,\n TapGestureHandlerEventPayload,\n} from '../handlers/TapGestureHandler';\nimport { State } from '../State';\n\nconst DRAG_TOSS = 0.05;\n\ntype SwipeableExcludes = Exclude<\n keyof PanGestureHandlerProps,\n 'onGestureEvent' | 'onHandlerStateChange'\n>;\n\n// Animated.AnimatedInterpolation has been converted to a generic type\n// in @types/react-native 0.70. This way we can maintain compatibility\n// with all versions of @types/react-native\ntype AnimatedInterpolation = ReturnType;\n\nexport interface SwipeableProps\n extends Pick {\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * `enableTrackpadTwoFingerGesture` swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n /**\n * Specifies how much the visual interaction will be delayed compared to the\n * gesture distance. e.g. value of 1 will indicate that the swipeable panel\n * should exactly follow the gesture, 2 means it is going to be two times\n * \"slower\".\n */\n friction?: number;\n\n /**\n * Distance from the left edge at which released panel will animate to the\n * open state (or the open panel will animate into the closed state). By\n * default it's a half of the panel's width.\n */\n leftThreshold?: number;\n\n /**\n * Distance from the right edge at which released panel will animate to the\n * open state (or the open panel will animate into the closed state). By\n * default it's a half of the panel's width.\n */\n rightThreshold?: number;\n\n /**\n * Value indicating if the swipeable panel can be pulled further than the left\n * actions panel's width. It is set to true by default as long as the left\n * panel render method is present.\n */\n overshootLeft?: boolean;\n\n /**\n * Value indicating if the swipeable panel can be pulled further than the\n * right actions panel's width. It is set to true by default as long as the\n * right panel render method is present.\n */\n overshootRight?: boolean;\n\n /**\n * Specifies how much the visual interaction will be delayed compared to the\n * gesture distance at overshoot. Default value is 1, it mean no friction, for\n * a native feel, try 8 or above.\n */\n overshootFriction?: number;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableOpen()\n *\n * Called when left action panel gets open.\n */\n onSwipeableLeftOpen?: () => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableOpen()\n *\n * Called when right action panel gets open.\n */\n onSwipeableRightOpen?: () => void;\n\n /**\n * Called when action panel gets open (either right or left).\n */\n onSwipeableOpen?: (direction: 'left' | 'right', swipeable: Swipeable) => void;\n\n /**\n * Called when action panel is closed.\n */\n onSwipeableClose?: (\n direction: 'left' | 'right',\n swipeable: Swipeable\n ) => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableWillOpen()\n *\n * Called when left action panel starts animating on open.\n */\n onSwipeableLeftWillOpen?: () => void;\n\n /**\n * @deprecated Use `direction` argument of onSwipeableWillOpen()\n *\n * Called when right action panel starts animating on open.\n */\n onSwipeableRightWillOpen?: () => void;\n\n /**\n * Called when action panel starts animating on open (either right or left).\n */\n onSwipeableWillOpen?: (direction: 'left' | 'right') => void;\n\n /**\n * Called when action panel starts animating on close.\n */\n onSwipeableWillClose?: (direction: 'left' | 'right') => void;\n\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1] dragAnimatedValue: [0, +]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderLeftActions?: (\n progressAnimatedValue: AnimatedInterpolation,\n dragAnimatedValue: AnimatedInterpolation\n ) => React.ReactNode;\n /**\n *\n * This map describes the values to use as inputRange for extra interpolation:\n * AnimatedValue: [startValue, endValue]\n *\n * progressAnimatedValue: [0, 1] dragAnimatedValue: [0, -]\n *\n * To support `rtl` flexbox layouts use `flexDirection` styling.\n * */\n renderRightActions?: (\n progressAnimatedValue: AnimatedInterpolation,\n dragAnimatedValue: AnimatedInterpolation,\n swipeable: Swipeable\n ) => React.ReactNode;\n\n useNativeAnimations?: boolean;\n\n animationOptions?: Record;\n\n /**\n * Style object for the container (`Animated.View`), for example to override\n * `overflow: 'hidden'`.\n */\n containerStyle?: StyleProp;\n\n /**\n * Style object for the children container (`Animated.View`), for example to\n * apply `flex: 1`\n */\n childrenContainerStyle?: StyleProp;\n}\n\ntype SwipeableState = {\n dragX: Animated.Value;\n rowTranslation: Animated.Value;\n rowState: number;\n leftWidth?: number;\n rightOffset?: number;\n rowWidth?: number;\n};\n\nexport default class Swipeable extends Component<\n SwipeableProps,\n SwipeableState\n> {\n static defaultProps = {\n friction: 1,\n overshootFriction: 1,\n useNativeAnimations: true,\n };\n\n constructor(props: SwipeableProps) {\n super(props);\n const dragX = new Animated.Value(0);\n this.state = {\n dragX,\n rowTranslation: new Animated.Value(0),\n rowState: 0,\n leftWidth: undefined,\n rightOffset: undefined,\n rowWidth: undefined,\n };\n this.updateAnimatedEvent(props, this.state);\n\n this.onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragX } }],\n { useNativeDriver: props.useNativeAnimations! }\n );\n }\n\n shouldComponentUpdate(props: SwipeableProps, state: SwipeableState) {\n if (\n this.props.friction !== props.friction ||\n this.props.overshootLeft !== props.overshootLeft ||\n this.props.overshootRight !== props.overshootRight ||\n this.props.overshootFriction !== props.overshootFriction ||\n this.state.leftWidth !== state.leftWidth ||\n this.state.rightOffset !== state.rightOffset ||\n this.state.rowWidth !== state.rowWidth\n ) {\n this.updateAnimatedEvent(props, state);\n }\n\n return true;\n }\n\n private onGestureEvent?: (\n event: GestureEvent\n ) => void;\n private transX?: AnimatedInterpolation;\n private showLeftAction?: AnimatedInterpolation | Animated.Value;\n private leftActionTranslate?: AnimatedInterpolation;\n private showRightAction?: AnimatedInterpolation | Animated.Value;\n private rightActionTranslate?: AnimatedInterpolation;\n\n private updateAnimatedEvent = (\n props: SwipeableProps,\n state: SwipeableState\n ) => {\n const { friction, overshootFriction } = props;\n const { dragX, rowTranslation, leftWidth = 0, rowWidth = 0 } = state;\n const { rightOffset = rowWidth } = state;\n const rightWidth = Math.max(0, rowWidth - rightOffset);\n\n const { overshootLeft = leftWidth > 0, overshootRight = rightWidth > 0 } =\n props;\n\n const transX = Animated.add(\n rowTranslation,\n dragX.interpolate({\n inputRange: [0, friction!],\n outputRange: [0, 1],\n })\n ).interpolate({\n inputRange: [-rightWidth - 1, -rightWidth, leftWidth, leftWidth + 1],\n outputRange: [\n -rightWidth - (overshootRight ? 1 / overshootFriction! : 0),\n -rightWidth,\n leftWidth,\n leftWidth + (overshootLeft ? 1 / overshootFriction! : 0),\n ],\n });\n this.transX = transX;\n this.showLeftAction =\n leftWidth > 0\n ? transX.interpolate({\n inputRange: [-1, 0, leftWidth],\n outputRange: [0, 0, 1],\n })\n : new Animated.Value(0);\n this.leftActionTranslate = this.showLeftAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n this.showRightAction =\n rightWidth > 0\n ? transX.interpolate({\n inputRange: [-rightWidth, 0, 1],\n outputRange: [1, 0, 0],\n })\n : new Animated.Value(0);\n this.rightActionTranslate = this.showRightAction.interpolate({\n inputRange: [0, Number.MIN_VALUE],\n outputRange: [-10000, 0],\n extrapolate: 'clamp',\n });\n };\n\n private onTapHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this.close();\n }\n };\n\n private onHandlerStateChange = (\n ev: HandlerStateChangeEvent\n ) => {\n if (ev.nativeEvent.oldState === State.ACTIVE) {\n this.handleRelease(ev);\n }\n };\n\n private handleRelease = (\n ev: HandlerStateChangeEvent\n ) => {\n const { velocityX, translationX: dragX } = ev.nativeEvent;\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n const {\n friction,\n leftThreshold = leftWidth / 2,\n rightThreshold = rightWidth / 2,\n } = this.props;\n\n const startOffsetX = this.currentOffset() + dragX / friction!;\n const translationX = (dragX + DRAG_TOSS * velocityX) / friction!;\n\n let toValue = 0;\n if (rowState === 0) {\n if (translationX > leftThreshold) {\n toValue = leftWidth;\n } else if (translationX < -rightThreshold) {\n toValue = -rightWidth;\n }\n } else if (rowState === 1) {\n // swiped to left\n if (translationX > -leftThreshold) {\n toValue = leftWidth;\n }\n } else {\n // swiped to right\n if (translationX < rightThreshold) {\n toValue = -rightWidth;\n }\n }\n\n this.animateRow(startOffsetX, toValue, velocityX / friction!);\n };\n\n private animateRow = (\n fromValue: number,\n toValue: number,\n velocityX?:\n | number\n | {\n x: number;\n y: number;\n }\n ) => {\n const { dragX, rowTranslation } = this.state;\n dragX.setValue(0);\n rowTranslation.setValue(fromValue);\n\n this.setState({ rowState: Math.sign(toValue) });\n Animated.spring(rowTranslation, {\n restSpeedThreshold: 1.7,\n restDisplacementThreshold: 0.4,\n velocity: velocityX,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations!,\n ...this.props.animationOptions,\n }).start(({ finished }) => {\n if (finished) {\n if (toValue > 0) {\n this.props.onSwipeableLeftOpen?.();\n this.props.onSwipeableOpen?.('left', this);\n } else if (toValue < 0) {\n this.props.onSwipeableRightOpen?.();\n this.props.onSwipeableOpen?.('right', this);\n } else {\n const closingDirection = fromValue > 0 ? 'left' : 'right';\n this.props.onSwipeableClose?.(closingDirection, this);\n }\n }\n });\n if (toValue > 0) {\n this.props.onSwipeableLeftWillOpen?.();\n this.props.onSwipeableWillOpen?.('left');\n } else if (toValue < 0) {\n this.props.onSwipeableRightWillOpen?.();\n this.props.onSwipeableWillOpen?.('right');\n } else {\n const closingDirection = fromValue > 0 ? 'left' : 'right';\n this.props.onSwipeableWillClose?.(closingDirection);\n }\n };\n\n private onRowLayout = ({ nativeEvent }: LayoutChangeEvent) => {\n this.setState({ rowWidth: nativeEvent.layout.width });\n };\n\n private currentOffset = () => {\n const { leftWidth = 0, rowWidth = 0, rowState } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n if (rowState === 1) {\n return leftWidth;\n } else if (rowState === -1) {\n return -rightWidth;\n }\n return 0;\n };\n\n close = () => {\n this.animateRow(this.currentOffset(), 0);\n };\n\n openLeft = () => {\n const { leftWidth = 0 } = this.state;\n this.animateRow(this.currentOffset(), leftWidth);\n };\n\n openRight = () => {\n const { rowWidth = 0 } = this.state;\n const { rightOffset = rowWidth } = this.state;\n const rightWidth = rowWidth - rightOffset;\n this.animateRow(this.currentOffset(), -rightWidth);\n };\n\n render() {\n const { rowState } = this.state;\n const { children, renderLeftActions, renderRightActions } = this.props;\n\n const left = renderLeftActions && (\n \n {renderLeftActions(this.showLeftAction!, this.transX!)}\n \n this.setState({ leftWidth: nativeEvent.layout.x })\n }\n />\n \n );\n\n const right = renderRightActions && (\n \n {renderRightActions(this.showRightAction!, this.transX!, this)}\n \n this.setState({ rightOffset: nativeEvent.layout.x })\n }\n />\n \n );\n\n return (\n \n \n {left}\n {right}\n \n \n {children}\n \n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n overflow: 'hidden',\n },\n leftActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row-reverse' : 'row',\n },\n rightActions: {\n ...StyleSheet.absoluteFillObject,\n flexDirection: I18nManager.isRTL ? 'row' : 'row-reverse',\n },\n});\n","// This component is based on RN's DrawerLayoutAndroid API\n//\n// It perhaps deserves to be put in a separate repo, but since it relies on\n// react-native-gesture-handler library which isn't very popular at the moment I\n// decided to keep it here for the time being. It will allow us to move faster\n// and fix issues that may arise in gesture handler library that could be found\n// when using the drawer component\n\nimport * as React from 'react';\nimport { Component } from 'react';\nimport invariant from 'invariant';\nimport {\n Animated,\n StyleSheet,\n View,\n Keyboard,\n StatusBar,\n I18nManager,\n StatusBarAnimation,\n StyleProp,\n ViewStyle,\n LayoutChangeEvent,\n NativeSyntheticEvent,\n} from 'react-native';\n\nimport {\n GestureEvent,\n HandlerStateChangeEvent,\n UserSelect,\n} from '../handlers/gestureHandlerCommon';\nimport {\n PanGestureHandler,\n PanGestureHandlerEventPayload,\n} from '../handlers/PanGestureHandler';\nimport {\n TapGestureHandler,\n TapGestureHandlerEventPayload,\n} from '../handlers/TapGestureHandler';\nimport { State } from '../State';\n\nconst DRAG_TOSS = 0.05;\n\nconst IDLE: DrawerState = 'Idle';\nconst DRAGGING: DrawerState = 'Dragging';\nconst SETTLING: DrawerState = 'Settling';\n\nexport type DrawerPosition = 'left' | 'right';\n\nexport type DrawerState = 'Idle' | 'Dragging' | 'Settling';\n\nexport type DrawerType = 'front' | 'back' | 'slide';\n\nexport type DrawerLockMode = 'unlocked' | 'locked-closed' | 'locked-open';\n\nexport type DrawerKeyboardDismissMode = 'none' | 'on-drag';\n\n// Animated.AnimatedInterpolation has been converted to a generic type\n// in @types/react-native 0.70. This way we can maintain compatibility\n// with all versions of @types/react-native`\ntype AnimatedInterpolation = ReturnType;\nexport interface DrawerLayoutProps {\n /**\n * This attribute is present in the standard implementation already and is one\n * of the required params. Gesture handler version of DrawerLayout make it\n * possible for the function passed as `renderNavigationView` to take an\n * Animated value as a parameter that indicates the progress of drawer\n * opening/closing animation (progress value is 0 when closed and 1 when\n * opened). This can be used by the drawer component to animated its children\n * while the drawer is opening or closing.\n */\n renderNavigationView: (\n progressAnimatedValue: Animated.Value\n ) => React.ReactNode;\n\n drawerPosition?: DrawerPosition;\n\n drawerWidth?: number;\n\n drawerBackgroundColor?: string;\n\n drawerLockMode?: DrawerLockMode;\n\n keyboardDismissMode?: DrawerKeyboardDismissMode;\n\n /**\n * Called when the drawer is closed.\n */\n onDrawerClose?: () => void;\n\n /**\n * Called when the drawer is opened.\n */\n onDrawerOpen?: () => void;\n\n /**\n * Called when the status of the drawer changes.\n */\n onDrawerStateChanged?: (\n newState: DrawerState,\n drawerWillShow: boolean\n ) => void;\n useNativeAnimations?: boolean;\n\n drawerType?: DrawerType;\n\n /**\n * Defines how far from the edge of the content view the gesture should\n * activate.\n */\n edgeWidth?: number;\n\n minSwipeDistance?: number;\n\n /**\n * When set to true Drawer component will use\n * {@link https://reactnative.dev/docs/statusbar StatusBar} API to hide the OS\n * status bar whenever the drawer is pulled or when its in an \"open\" state.\n */\n hideStatusBar?: boolean;\n\n /**\n * @default 'slide'\n *\n * Can be used when hideStatusBar is set to true and will select the animation\n * used for hiding/showing the status bar. See\n * {@link https://reactnative.dev/docs/statusbar StatusBar} documentation for\n * more details\n */\n statusBarAnimation?: StatusBarAnimation;\n\n /**\n * @default black\n *\n * Color of a semi-transparent overlay to be displayed on top of the content\n * view when drawer gets open. A solid color should be used as the opacity is\n * added by the Drawer itself and the opacity of the overlay is animated (from\n * 0% to 70%).\n */\n overlayColor?: string;\n\n contentContainerStyle?: StyleProp;\n\n drawerContainerStyle?: StyleProp;\n\n /**\n * Enables two-finger gestures on supported devices, for example iPads with\n * trackpads. If not enabled the gesture will require click + drag, with\n * `enableTrackpadTwoFingerGesture` swiping with two fingers will also trigger\n * the gesture.\n */\n enableTrackpadTwoFingerGesture?: boolean;\n\n onDrawerSlide?: (position: number) => void;\n\n onGestureRef?: (ref: PanGestureHandler) => void;\n\n // implicit `children` prop has been removed in @types/react^18.0.0\n children?:\n | React.ReactNode\n | ((openValue?: AnimatedInterpolation) => React.ReactNode);\n\n /**\n * @default 'none'\n * Defines which userSelect property should be used.\n * Values: 'none'|'text'|'auto'\n */\n userSelect?: UserSelect;\n}\n\nexport type DrawerLayoutState = {\n dragX: Animated.Value;\n touchX: Animated.Value;\n drawerTranslation: Animated.Value;\n containerWidth: number;\n drawerState: DrawerState;\n drawerOpened: boolean;\n};\n\nexport type DrawerMovementOption = {\n velocity?: number;\n speed?: number;\n};\nexport default class DrawerLayout extends Component<\n DrawerLayoutProps,\n DrawerLayoutState\n> {\n static defaultProps = {\n drawerWidth: 200,\n drawerPosition: 'left',\n useNativeAnimations: true,\n drawerType: 'front',\n edgeWidth: 20,\n minSwipeDistance: 3,\n overlayColor: 'rgba(0, 0, 0, 0.7)',\n drawerLockMode: 'unlocked',\n enableTrackpadTwoFingerGesture: false,\n };\n\n constructor(props: DrawerLayoutProps) {\n super(props);\n\n const dragX = new Animated.Value(0);\n const touchX = new Animated.Value(0);\n const drawerTranslation = new Animated.Value(0);\n\n this.state = {\n dragX,\n touchX,\n drawerTranslation,\n containerWidth: 0,\n drawerState: IDLE,\n drawerOpened: false,\n };\n\n this.updateAnimatedEvent(props, this.state);\n }\n\n shouldComponentUpdate(props: DrawerLayoutProps, state: DrawerLayoutState) {\n if (\n this.props.drawerPosition !== props.drawerPosition ||\n this.props.drawerWidth !== props.drawerWidth ||\n this.props.drawerType !== props.drawerType ||\n this.state.containerWidth !== state.containerWidth\n ) {\n this.updateAnimatedEvent(props, state);\n }\n\n return true;\n }\n\n private openValue?: AnimatedInterpolation;\n private onGestureEvent?: (\n event: GestureEvent\n ) => void;\n private accessibilityIsModalView = React.createRef();\n private pointerEventsView = React.createRef();\n private panGestureHandler = React.createRef();\n private drawerShown = false;\n\n static positions = {\n Left: 'left',\n Right: 'right',\n };\n\n private updateAnimatedEvent = (\n props: DrawerLayoutProps,\n state: DrawerLayoutState\n ) => {\n // Event definition is based on\n const { drawerPosition, drawerWidth, drawerType } = props;\n const {\n dragX: dragXValue,\n touchX: touchXValue,\n drawerTranslation,\n containerWidth,\n } = state;\n\n let dragX = dragXValue;\n let touchX = touchXValue;\n\n if (drawerPosition !== 'left') {\n // Most of the code is written in a way to handle left-side drawer. In\n // order to handle right-side drawer the only thing we need to do is to\n // reverse events coming from gesture handler in a way they emulate\n // left-side drawer gestures. E.g. dragX is simply -dragX, and touchX is\n // calulcated by subtracing real touchX from the width of the container\n // (such that when touch happens at the right edge the value is simply 0)\n dragX = Animated.multiply(\n new Animated.Value(-1),\n dragXValue\n ) as Animated.Value; // TODO(TS): (for all \"as\" in this file) make sure we can map this\n touchX = Animated.add(\n new Animated.Value(containerWidth),\n Animated.multiply(new Animated.Value(-1), touchXValue)\n ) as Animated.Value; // TODO(TS): make sure we can map this;\n touchXValue.setValue(containerWidth);\n } else {\n touchXValue.setValue(0);\n }\n\n // While closing the drawer when user starts gesture outside of its area (in greyed\n // out part of the window), we want the drawer to follow only once finger reaches the\n // edge of the drawer.\n // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by\n // dots. The touch gesture starts at '*' and moves left, touch path is indicated by\n // an arrow pointing left\n // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // +---------------+ +---------------+ +---------------+ +---------------+\n //\n // For the above to work properly we define animated value that will keep\n // start position of the gesture. Then we use that value to calculate how\n // much we need to subtract from the dragX. If the gesture started on the\n // greyed out area we take the distance from the edge of the drawer to the\n // start position. Otherwise we don't subtract at all and the drawer be\n // pulled back as soon as you start the pan.\n //\n // This is used only when drawerType is \"front\"\n //\n let translationX = dragX;\n if (drawerType === 'front') {\n const startPositionX = Animated.add(\n touchX,\n Animated.multiply(new Animated.Value(-1), dragX)\n );\n\n const dragOffsetFromOnStartPosition = startPositionX.interpolate({\n inputRange: [drawerWidth! - 1, drawerWidth!, drawerWidth! + 1],\n outputRange: [0, 0, 1],\n });\n translationX = Animated.add(\n dragX,\n dragOffsetFromOnStartPosition\n ) as Animated.Value; // TODO: as above\n }\n\n this.openValue = Animated.add(translationX, drawerTranslation).interpolate({\n inputRange: [0, drawerWidth!],\n outputRange: [0, 1],\n extrapolate: 'clamp',\n });\n\n const gestureOptions: {\n useNativeDriver: boolean;\n // TODO: make sure it is correct\n listener?: (\n ev: NativeSyntheticEvent\n ) => void;\n } = {\n useNativeDriver: props.useNativeAnimations!,\n };\n\n if (this.props.onDrawerSlide) {\n gestureOptions.listener = (ev) => {\n const translationX = Math.floor(Math.abs(ev.nativeEvent.translationX));\n const position = translationX / this.state.containerWidth;\n\n this.props.onDrawerSlide?.(position);\n };\n }\n\n this.onGestureEvent = Animated.event(\n [{ nativeEvent: { translationX: dragXValue, x: touchXValue } }],\n gestureOptions\n );\n };\n\n private handleContainerLayout = ({ nativeEvent }: LayoutChangeEvent) => {\n this.setState({ containerWidth: nativeEvent.layout.width });\n };\n\n private emitStateChanged = (\n newState: DrawerState,\n drawerWillShow: boolean\n ) => {\n this.props.onDrawerStateChanged?.(newState, drawerWillShow);\n };\n\n private openingHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (nativeEvent.oldState === State.ACTIVE) {\n this.handleRelease({ nativeEvent });\n } else if (nativeEvent.state === State.ACTIVE) {\n this.emitStateChanged(DRAGGING, false);\n this.setState({ drawerState: DRAGGING });\n if (this.props.keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(true, this.props.statusBarAnimation || 'slide');\n }\n }\n };\n\n private onTapHandlerStateChange = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n if (\n this.drawerShown &&\n nativeEvent.oldState === State.ACTIVE &&\n this.props.drawerLockMode !== 'locked-open'\n ) {\n this.closeDrawer();\n }\n };\n\n private handleRelease = ({\n nativeEvent,\n }: HandlerStateChangeEvent) => {\n const { drawerWidth, drawerPosition, drawerType } = this.props;\n const { containerWidth } = this.state;\n let { translationX: dragX, velocityX, x: touchX } = nativeEvent;\n\n if (drawerPosition !== 'left') {\n // See description in _updateAnimatedEvent about why events are flipped\n // for right-side drawer\n dragX = -dragX;\n touchX = containerWidth - touchX;\n velocityX = -velocityX;\n }\n\n const gestureStartX = touchX - dragX;\n let dragOffsetBasedOnStart = 0;\n\n if (drawerType === 'front') {\n dragOffsetBasedOnStart =\n gestureStartX > drawerWidth! ? gestureStartX - drawerWidth! : 0;\n }\n\n const startOffsetX =\n dragX + dragOffsetBasedOnStart + (this.drawerShown ? drawerWidth! : 0);\n const projOffsetX = startOffsetX + DRAG_TOSS * velocityX;\n\n const shouldOpen = projOffsetX > drawerWidth! / 2;\n\n if (shouldOpen) {\n this.animateDrawer(startOffsetX, drawerWidth!, velocityX);\n } else {\n this.animateDrawer(startOffsetX, 0, velocityX);\n }\n };\n\n private updateShowing = (showing: boolean) => {\n this.drawerShown = showing;\n this.accessibilityIsModalView.current?.setNativeProps({\n accessibilityViewIsModal: showing,\n });\n this.pointerEventsView.current?.setNativeProps({\n pointerEvents: showing ? 'auto' : 'none',\n });\n const { drawerPosition, minSwipeDistance, edgeWidth } = this.props;\n const fromLeft = drawerPosition === 'left';\n // gestureOrientation is 1 if the expected gesture is from left to right and\n // -1 otherwise e.g. when drawer is on the left and is closed we expect left\n // to right gesture, thus orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this.drawerShown ? -1 : 1);\n // When drawer is closed we want the hitSlop to be horizontally shorter than\n // the container size by the value of SLOP. This will make it only activate\n // when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: showing ? undefined : edgeWidth }\n : { right: 0, width: showing ? undefined : edgeWidth };\n // @ts-ignore internal API, maybe could be fixed in handler types\n this.panGestureHandler.current?.setNativeProps({\n hitSlop,\n activeOffsetX: gestureOrientation * minSwipeDistance!,\n });\n };\n\n private animateDrawer = (\n fromValue: number | null | undefined,\n toValue: number,\n velocity: number,\n speed?: number\n ) => {\n this.state.dragX.setValue(0);\n this.state.touchX.setValue(\n this.props.drawerPosition === 'left' ? 0 : this.state.containerWidth\n );\n\n if (fromValue != null) {\n let nextFramePosition = fromValue;\n if (this.props.useNativeAnimations) {\n // When using native driver, we predict the next position of the\n // animation because it takes one frame of a roundtrip to pass RELEASE\n // event from native driver to JS before we can start animating. Without\n // it, it is more noticable that the frame is dropped.\n if (fromValue < toValue && velocity > 0) {\n nextFramePosition = Math.min(fromValue + velocity / 60.0, toValue);\n } else if (fromValue > toValue && velocity < 0) {\n nextFramePosition = Math.max(fromValue + velocity / 60.0, toValue);\n }\n }\n this.state.drawerTranslation.setValue(nextFramePosition);\n }\n\n const willShow = toValue !== 0;\n this.updateShowing(willShow);\n this.emitStateChanged(SETTLING, willShow);\n this.setState({ drawerState: SETTLING });\n if (this.props.hideStatusBar) {\n StatusBar.setHidden(willShow, this.props.statusBarAnimation || 'slide');\n }\n Animated.spring(this.state.drawerTranslation, {\n velocity,\n bounciness: 0,\n toValue,\n useNativeDriver: this.props.useNativeAnimations!,\n speed: speed ?? undefined,\n }).start(({ finished }) => {\n if (finished) {\n this.emitStateChanged(IDLE, willShow);\n this.setState({ drawerOpened: willShow });\n if (this.state.drawerState !== DRAGGING) {\n // it's possilbe that user started drag while the drawer\n // was settling, don't override state in this case\n this.setState({ drawerState: IDLE });\n }\n if (willShow) {\n this.props.onDrawerOpen?.();\n } else {\n this.props.onDrawerClose?.();\n }\n }\n });\n };\n\n openDrawer = (options: DrawerMovementOption = {}) => {\n this.animateDrawer(\n // TODO: decide if it should be null or undefined is the proper value\n undefined,\n this.props.drawerWidth!,\n options.velocity ? options.velocity : 0,\n options.speed\n );\n\n // We need to force the update, otherwise the overlay is not rerendered and\n // it would not be clickable\n this.forceUpdate();\n };\n\n closeDrawer = (options: DrawerMovementOption = {}) => {\n // TODO: decide if it should be null or undefined is the proper value\n this.animateDrawer(\n undefined,\n 0,\n options.velocity ? options.velocity : 0,\n options.speed\n );\n\n // We need to force the update, otherwise the overlay is not rerendered and\n // it would be still clickable\n this.forceUpdate();\n };\n\n private renderOverlay = () => {\n /* Overlay styles */\n invariant(this.openValue, 'should be set');\n let overlayOpacity;\n\n if (this.state.drawerState !== IDLE) {\n overlayOpacity = this.openValue;\n } else {\n overlayOpacity = this.state.drawerOpened ? 1 : 0;\n }\n\n const dynamicOverlayStyles = {\n opacity: overlayOpacity,\n backgroundColor: this.props.overlayColor,\n };\n\n return (\n \n \n \n );\n };\n\n private renderDrawer = () => {\n const {\n drawerBackgroundColor,\n drawerWidth,\n drawerPosition,\n drawerType,\n drawerContainerStyle,\n contentContainerStyle,\n } = this.props;\n\n const fromLeft = drawerPosition === 'left';\n const drawerSlide = drawerType !== 'back';\n const containerSlide = drawerType !== 'front';\n\n // we rely on row and row-reverse flex directions to position the drawer\n // properly. Apparently for RTL these are flipped which requires us to use\n // the opposite setting for the drawer to appear from left or right\n // according to the drawerPosition prop\n const reverseContentDirection = I18nManager.isRTL ? fromLeft : !fromLeft;\n\n const dynamicDrawerStyles = {\n backgroundColor: drawerBackgroundColor,\n width: drawerWidth,\n };\n const openValue = this.openValue;\n invariant(openValue, 'should be set');\n\n let containerStyles;\n if (containerSlide) {\n const containerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: fromLeft ? [0, drawerWidth!] : [0, -drawerWidth!],\n extrapolate: 'clamp',\n });\n containerStyles = {\n transform: [{ translateX: containerTranslateX }],\n };\n }\n\n let drawerTranslateX: number | AnimatedInterpolation = 0;\n if (drawerSlide) {\n const closedDrawerOffset = fromLeft ? -drawerWidth! : drawerWidth!;\n if (this.state.drawerState !== IDLE) {\n drawerTranslateX = openValue.interpolate({\n inputRange: [0, 1],\n outputRange: [closedDrawerOffset, 0],\n extrapolate: 'clamp',\n });\n } else {\n drawerTranslateX = this.state.drawerOpened ? 0 : closedDrawerOffset;\n }\n }\n const drawerStyles: {\n transform: { translateX: number | AnimatedInterpolation }[];\n flexDirection: 'row-reverse' | 'row';\n } = {\n transform: [{ translateX: drawerTranslateX }],\n flexDirection: reverseContentDirection ? 'row-reverse' : 'row',\n };\n\n return (\n \n \n {typeof this.props.children === 'function'\n ? this.props.children(this.openValue)\n : this.props.children}\n {this.renderOverlay()}\n \n \n \n {this.props.renderNavigationView(this.openValue as Animated.Value)}\n \n \n \n );\n };\n\n private setPanGestureRef = (ref: PanGestureHandler) => {\n // TODO(TS): make sure it is OK taken from\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/31065#issuecomment-596081842\n (\n this.panGestureHandler as React.MutableRefObject\n ).current = ref;\n this.props.onGestureRef?.(ref);\n };\n\n render() {\n const { drawerPosition, drawerLockMode, edgeWidth, minSwipeDistance } =\n this.props;\n\n const fromLeft = drawerPosition === 'left';\n\n // gestureOrientation is 1 if the expected gesture is from left to right and\n // -1 otherwise e.g. when drawer is on the left and is closed we expect left\n // to right gesture, thus orientation will be 1.\n const gestureOrientation =\n (fromLeft ? 1 : -1) * (this.drawerShown ? -1 : 1);\n\n // When drawer is closed we want the hitSlop to be horizontally shorter than\n // the container size by the value of SLOP. This will make it only activate\n // when gesture happens not further than SLOP away from the edge\n const hitSlop = fromLeft\n ? { left: 0, width: this.drawerShown ? undefined : edgeWidth }\n : { right: 0, width: this.drawerShown ? undefined : edgeWidth };\n\n return (\n \n {this.renderDrawer()}\n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n drawerContainer: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1001,\n flexDirection: 'row',\n },\n containerInFront: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1002,\n },\n containerOnBack: {\n ...StyleSheet.absoluteFillObject,\n },\n main: {\n flex: 1,\n zIndex: 0,\n overflow: 'hidden',\n },\n overlay: {\n ...StyleSheet.absoluteFillObject,\n zIndex: 1000,\n },\n});\n","import '../wdyr';\nimport React from 'react';\nimport {LogBox} from 'react-native';\nimport {GestureHandlerRootView} from 'react-native-gesture-handler';\nimport {SafeAreaProvider} from 'react-native-safe-area-context';\nimport Onyx from 'react-native-onyx';\nimport {PortalProvider} from '@gorhom/portal';\nimport CustomStatusBar from './components/CustomStatusBar';\nimport ErrorBoundary from './components/ErrorBoundary';\nimport Expensify from './Expensify';\nimport {LocaleContextProvider} from './components/withLocalize';\nimport OnyxProvider from './components/OnyxProvider';\nimport HTMLEngineProvider from './components/HTMLEngineProvider';\nimport ComposeProviders from './components/ComposeProviders';\nimport SafeArea from './components/SafeArea';\nimport * as Environment from './libs/Environment/Environment';\nimport {WindowDimensionsProvider} from './components/withWindowDimensions';\nimport {KeyboardStateProvider} from './components/withKeyboardState';\n\n// For easier debugging and development, when we are in web we expose Onyx to the window, so you can more easily set data into Onyx\nif (window && Environment.isDevelopment()) {\n window.Onyx = Onyx;\n}\n\nLogBox.ignoreLogs([\n // Basically it means that if the app goes in the background and back to foreground on Android,\n // the timer is lost. Currently Expensify is using a 30 minutes interval to refresh personal details.\n // More details here: https://git.io/JJYeb\n 'Setting a timer for a long period of time',\n]);\n\nconst fill = {flex: 1};\n\nconst App = () => (\n \n \n \n \n \n \n \n \n);\n\nApp.displayName = 'App';\n\nexport default App;\n","// Implements Why Did You Render (WDYR) in Dev\n\nimport React from 'react';\nimport Config from 'react-native-config';\nimport lodashGet from 'lodash/get';\n\nconst useWDYR = lodashGet(Config, 'USE_WDYR') === 'true';\n\nif (useWDYR) {\n const whyDidYouRender = require('@welldone-software/why-did-you-render');\n whyDidYouRender(React, {\n // Enable tracking in all pure components by default\n trackAllPureComponents: true,\n\n include: [\n // Uncomment to enable tracking in all components. Must also uncomment /^Screen/ in exclude.\n // /.*/,\n\n // Uncomment to enable tracking by displayName, e.g.:\n // /^Avatar/,\n // /^ReportActionItem/,\n // /^ReportActionItemSingle/,\n ],\n\n exclude: [\n // Uncomment to enable tracking in all components\n // /^Screen/\n ],\n });\n}\n","'use strict';\n\n// Bridge to:\n// Android: buildConfigField vars set in build.gradle, and exported via ReactConfig\n// iOS: config vars set in xcconfig and exposed via ReactNativeConfig.m\nimport { NativeModules } from 'react-native';\n\nexport const Config = NativeModules.ReactNativeConfigModule || {}\nexport default Config;\n","var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n","var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n","var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n","var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n","var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n","/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n","/**\n * @welldone-software/why-did-you-render 7.0.1\n * MIT Licensed\n * Generated by Vitali Zaidman (https://github.com/vzaidman)\n * Generated at 2022-04-04\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('lodash')) :\n typeof define === 'function' && define.amd ? define(['react', 'lodash'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.whyDidYouRender = factory(global.react, global.lodash));\n})(this, (function (React, lodash) { 'use strict';\n\n function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = Object.create(null);\n if (e) {\n Object.keys(e).forEach(function (k) {\n if (k !== 'default') {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () { return e[k]; }\n });\n }\n });\n }\n n[\"default\"] = e;\n return Object.freeze(n);\n }\n\n var React__default = /*#__PURE__*/_interopDefaultLegacy(React);\n var React__namespace = /*#__PURE__*/_interopNamespace(React);\n\n var wdyrStore = {\n /* The React object we patch */\n React: undefined,\n\n /* Processed user options for WDYR */\n options: undefined,\n\n /* The original React.createElement function */\n origCreateElement: undefined,\n\n /* The original React.createFactory function */\n origCreateFactory: undefined,\n\n /* The original React.cloneElement function */\n origCloneElement: undefined,\n\n /* A weak map of all React elements to their WDYR patched react elements */\n componentsMap: new WeakMap(),\n\n /* A weak map of props to the owner element that passed them */\n ownerDataMap: new WeakMap(),\n\n /* An array of hooks tracked during one render */\n hooksPerRender: []\n };\n\n function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n }\n\n function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n }\n\n function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n }\n\n function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n }\n\n function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n }\n\n function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n }\n\n function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n\n function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n }\n\n function _possibleConstructorReturn(self, call) {\n if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n }\n\n function _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n }\n\n function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = _getPrototypeOf(object);\n if (object === null) break;\n }\n\n return object;\n }\n\n function _get() {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get;\n } else {\n _get = function _get(target, property, receiver) {\n var base = _superPropBase(target, property);\n\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n\n if (desc.get) {\n return desc.get.call(arguments.length < 3 ? target : receiver);\n }\n\n return desc.value;\n };\n }\n\n return _get.apply(this, arguments);\n }\n\n function _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n }\n\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n\n function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n }\n\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n }\n\n function _iterableToArrayLimit(arr, i) {\n var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n if (_i == null) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n\n var _s, _e;\n\n try {\n for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n }\n\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n return arr2;\n }\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n function _createForOfIteratorHelper(o, allowArrayLike) {\n var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"];\n\n if (!it) {\n if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n if (it) o = it;\n var i = 0;\n\n var F = function () {};\n\n return {\n s: F,\n n: function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n },\n e: function (e) {\n throw e;\n },\n f: F\n };\n }\n\n throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n\n var normalCompletion = true,\n didErr = false,\n err;\n return {\n s: function () {\n it = it.call(o);\n },\n n: function () {\n var step = it.next();\n normalCompletion = step.done;\n return step;\n },\n e: function (e) {\n didErr = true;\n err = e;\n },\n f: function () {\n try {\n if (!normalCompletion && it.return != null) it.return();\n } finally {\n if (didErr) throw err;\n }\n }\n };\n }\n\n var _diffTypesDescription;\n var diffTypes = {\n 'different': 'different',\n 'deepEquals': 'deepEquals',\n 'date': 'date',\n 'regex': 'regex',\n 'reactElement': 'reactElement',\n 'function': 'function',\n 'same': 'same'\n };\n var diffTypesDescriptions = (_diffTypesDescription = {}, _defineProperty(_diffTypesDescription, diffTypes.different, 'different objects'), _defineProperty(_diffTypesDescription, diffTypes.deepEquals, 'different objects that are equal by value'), _defineProperty(_diffTypesDescription, diffTypes.date, 'different date objects with the same value'), _defineProperty(_diffTypesDescription, diffTypes.regex, 'different regular expressions with the same value'), _defineProperty(_diffTypesDescription, diffTypes.reactElement, 'different React elements (remember that the syntax always produces a *NEW* immutable React element so a component that receives as props always re-renders)'), _defineProperty(_diffTypesDescription, diffTypes[\"function\"], 'different functions with the same name'), _defineProperty(_diffTypesDescription, diffTypes.same, 'same objects by ref (===)'), _diffTypesDescription); // copied from packages/shared/ReactSymbols.js in https://github.com/facebook/react\n\n var hasSymbol$1 = typeof Symbol === 'function' && Symbol[\"for\"];\n var REACT_MEMO_TYPE = hasSymbol$1 ? Symbol[\"for\"]('react.memo') : 0xead3;\n var REACT_FORWARD_REF_TYPE = hasSymbol$1 ? Symbol[\"for\"]('react.forward_ref') : 0xead0;\n var REACT_VERSION = Number(React__default[\"default\"].version.split('.')[0]) || 0;\n var REACT_STRICT_MODE = REACT_VERSION >= 18 ? 8 : 1;\n\n var hasElementType = typeof Element !== 'undefined'; // copied from https://github.com/facebook/react/packages/shared/ReactSymbols.js\n\n var hasSymbol = typeof Symbol === 'function' && Symbol[\"for\"];\n var REACT_ELEMENT_TYPE = hasSymbol ? Symbol[\"for\"]('react.element') : 0xeac7;\n\n var isReactElement = function isReactElement(object) {\n return object.$$typeof === REACT_ELEMENT_TYPE;\n }; // end\n\n\n function trackDiff(a, b, diffsAccumulator, pathString, diffType) {\n diffsAccumulator.push({\n diffType: diffType,\n pathString: pathString,\n prevValue: a,\n nextValue: b\n });\n return diffType !== diffTypes.different;\n }\n\n function isGetter(obj, prop) {\n return !!Object.getOwnPropertyDescriptor(obj, prop)['get'];\n }\n\n var dependenciesMap = new WeakMap();\n\n function accumulateDeepEqualDiffs(a, b, diffsAccumulator) {\n var pathString = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';\n\n var _ref = arguments.length > 4 ? arguments[4] : undefined,\n detailed = _ref.detailed;\n\n if (a === b) {\n if (detailed) {\n trackDiff(a, b, diffsAccumulator, pathString, diffTypes.same);\n }\n\n return true;\n }\n\n if (!a || !b) {\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (lodash.isArray(a) && lodash.isArray(b)) {\n var arrayLength = a.length;\n\n if (arrayLength !== b.length) {\n return trackDiff(_toConsumableArray(a), _toConsumableArray(b), diffsAccumulator, pathString, diffTypes.different);\n }\n\n var arrayItemDiffs = [];\n var numberOfDeepEqualsItems = 0;\n\n for (var i = arrayLength; i--; i > 0) {\n var diffEquals = accumulateDeepEqualDiffs(a[i], b[i], arrayItemDiffs, \"\".concat(pathString, \"[\").concat(i, \"]\"), {\n detailed: detailed\n });\n\n if (diffEquals) {\n numberOfDeepEqualsItems++;\n }\n }\n\n if (detailed || numberOfDeepEqualsItems !== arrayLength) {\n diffsAccumulator.push.apply(diffsAccumulator, arrayItemDiffs);\n }\n\n if (numberOfDeepEqualsItems === arrayLength) {\n return trackDiff(_toConsumableArray(a), _toConsumableArray(b), diffsAccumulator, pathString, diffTypes.deepEquals);\n }\n\n return trackDiff(_toConsumableArray(a), _toConsumableArray(b), diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (lodash.isSet(a) && lodash.isSet(b)) {\n if (a.size !== b.size) {\n return trackDiff(new Set(a), new Set(b), diffsAccumulator, pathString, diffTypes.different);\n }\n\n var _iterator = _createForOfIteratorHelper(a),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var valA = _step.value;\n\n if (!b.has(valA)) {\n return trackDiff(new Set(a), new Set(b), diffsAccumulator, pathString, diffTypes.different);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return trackDiff(new Set(a), new Set(b), diffsAccumulator, pathString, diffTypes.deepEquals);\n }\n\n if (lodash.isDate(a) && lodash.isDate(b)) {\n return a.getTime() === b.getTime() ? trackDiff(new Date(a), new Date(b), diffsAccumulator, pathString, diffTypes.date) : trackDiff(new Date(a), new Date(b), diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (lodash.isRegExp(a) && lodash.isRegExp(b)) {\n return a.toString() === b.toString() ? trackDiff(a, b, diffsAccumulator, pathString, diffTypes.regex) : trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (hasElementType && a instanceof Element && b instanceof Element) {\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (isReactElement(a) && isReactElement(b)) {\n if (a.type !== b.type) {\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n var reactElementPropsAreDeepEqual = accumulateDeepEqualDiffs(a.props, b.props, [], \"\".concat(pathString, \".props\"), {\n detailed: detailed\n });\n return reactElementPropsAreDeepEqual ? trackDiff(a, b, diffsAccumulator, pathString, diffTypes.reactElement) : trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n if (lodash.isFunction(a) && lodash.isFunction(b)) {\n if (a.name !== b.name) {\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n var aDependenciesObj = dependenciesMap.get(a);\n var bDependenciesObj = dependenciesMap.get(b);\n\n if (aDependenciesObj && bDependenciesObj) {\n var dependenciesAreDeepEqual = accumulateDeepEqualDiffs(aDependenciesObj.deps, bDependenciesObj.deps, diffsAccumulator, \"\".concat(pathString, \":parent-hook-\").concat(aDependenciesObj.hookName, \"-deps\"), {\n detailed: detailed\n });\n return dependenciesAreDeepEqual ? trackDiff(a, b, diffsAccumulator, pathString, diffTypes[\"function\"]) : trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes[\"function\"]);\n }\n\n if (_typeof(a) === 'object' && _typeof(b) === 'object' && Object.getPrototypeOf(a) === Object.getPrototypeOf(b)) {\n var aKeys = Object.getOwnPropertyNames(a);\n var bKeys = Object.getOwnPropertyNames(b);\n var allKeys = lodash.uniq([].concat(_toConsumableArray(aKeys), _toConsumableArray(bKeys)));\n var clonedA = lodash.isPlainObject(a) ? _objectSpread2({}, a) : a;\n var clonedB = lodash.isPlainObject(b) ? _objectSpread2({}, b) : b;\n\n if (allKeys.length !== aKeys.length || allKeys.length !== bKeys.length) {\n return trackDiff(clonedA, clonedB, diffsAccumulator, pathString, diffTypes.different);\n }\n\n var relevantKeys = allKeys.filter(function (key) {\n // do not compare the stack as it differ even though the errors are identical.\n if (key === 'stack' && lodash.isError(a)) {\n return false;\n } // getters checking is causing too much problems because of how it's used in js.\n // not only getters can throw errors, they also cause side effects in many cases.\n\n\n if (isGetter(a, key)) {\n return false;\n }\n\n return true;\n });\n var keysLength = relevantKeys.length;\n\n for (var _i = keysLength; _i--; _i > 0) {\n if (!lodash.has(b, relevantKeys[_i])) {\n return trackDiff(clonedA, clonedB, diffsAccumulator, pathString, diffTypes.different);\n }\n }\n\n var objectValuesDiffs = [];\n var numberOfDeepEqualsObjectValues = 0;\n\n for (var _i2 = keysLength; _i2--; _i2 > 0) {\n var key = relevantKeys[_i2];\n var deepEquals = accumulateDeepEqualDiffs(a[key], b[key], objectValuesDiffs, \"\".concat(pathString, \".\").concat(key), {\n detailed: detailed\n });\n\n if (deepEquals) {\n numberOfDeepEqualsObjectValues++;\n }\n }\n\n if (detailed || numberOfDeepEqualsObjectValues !== keysLength) {\n diffsAccumulator.push.apply(diffsAccumulator, objectValuesDiffs);\n }\n\n if (numberOfDeepEqualsObjectValues === keysLength) {\n return trackDiff(clonedA, clonedB, diffsAccumulator, pathString, diffTypes.deepEquals);\n }\n\n return trackDiff(clonedA, clonedB, diffsAccumulator, pathString, diffTypes.different);\n }\n\n return trackDiff(a, b, diffsAccumulator, pathString, diffTypes.different);\n }\n\n function calculateDeepEqualDiffs(a, b, initialPathString) {\n var _ref2 = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},\n _ref2$detailed = _ref2.detailed,\n detailed = _ref2$detailed === void 0 ? false : _ref2$detailed;\n\n try {\n var diffs = [];\n accumulateDeepEqualDiffs(a, b, diffs, initialPathString, {\n detailed: detailed\n });\n return diffs;\n } catch (error) {\n if (error.message && error.message.match(/stack|recursion/i) || error.number === -2146828260) {\n // warn on circular references, don't crash.\n // browsers throw different errors name and messages:\n // chrome/safari: \"RangeError\", \"Maximum call stack size exceeded\"\n // firefox: \"InternalError\", too much recursion\"\n // edge: \"Error\", \"Out of stack space\"\n // eslint-disable-next-line no-console\n console.warn('Warning: why-did-you-render couldn\\'t handle circular references in props.', error.name, error.message);\n return false;\n }\n\n throw error;\n }\n }\n\n function printDiff(value1, value2, _ref) {\n var pathString = _ref.pathString,\n consoleLog = _ref.consoleLog;\n var diffs = calculateDeepEqualDiffs(value1, value2, pathString, {\n detailed: true\n });\n var keysLength = Math.max.apply(Math, _toConsumableArray(diffs.map(function (diff) {\n return diff.pathString.length;\n }))) + 2;\n Object.entries(lodash.groupBy(lodash.sortBy(diffs, 'pathString'), 'diffType')).forEach(function (_ref2) {\n var _ref3 = _slicedToArray(_ref2, 2),\n diffType = _ref3[0],\n diffs = _ref3[1];\n\n consoleLog(\"%c\".concat(diffTypesDescriptions[diffType], \":\"), 'text-decoration: underline; color: blue;');\n diffs.forEach(function (diff) {\n consoleLog(\"\".concat(diff.pathString, \":\").padEnd(keysLength, ' '), diff.prevValue);\n });\n });\n }\n\n var moreInfoUrl = 'http://bit.ly/wdyr02';\n var moreInfoHooksUrl = 'http://bit.ly/wdyr3';\n var inHotReload = false;\n\n function shouldLog(reason, Component) {\n if (inHotReload) {\n return false;\n }\n\n if (wdyrStore.options.logOnDifferentValues) {\n return true;\n }\n\n if (Component.whyDidYouRender && Component.whyDidYouRender.logOnDifferentValues) {\n return true;\n }\n\n var hasDifferentValues = reason.propsDifferences && reason.propsDifferences.some(function (diff) {\n return diff.diffType === diffTypes.different;\n }) || reason.stateDifferences && reason.stateDifferences.some(function (diff) {\n return diff.diffType === diffTypes.different;\n }) || reason.hookDifferences && reason.hookDifferences.some(function (diff) {\n return diff.diffType === diffTypes.different;\n });\n return !hasDifferentValues;\n }\n\n function logDifference(_ref) {\n var Component = _ref.Component,\n displayName = _ref.displayName,\n hookName = _ref.hookName,\n prefixMessage = _ref.prefixMessage,\n diffObjType = _ref.diffObjType,\n differences = _ref.differences,\n values = _ref.values;\n\n if (differences && differences.length > 0) {\n wdyrStore.options.consoleLog(_defineProperty({}, displayName, Component), \"\".concat(prefixMessage, \" of \").concat(diffObjType, \" changes:\"));\n differences.forEach(function (_ref2) {\n var pathString = _ref2.pathString,\n diffType = _ref2.diffType,\n prevValue = _ref2.prevValue,\n nextValue = _ref2.nextValue;\n\n function diffFn() {\n printDiff(prevValue, nextValue, {\n pathString: pathString,\n consoleLog: wdyrStore.options.consoleLog\n });\n }\n\n wdyrStore.options.consoleGroup(\"%c\".concat(diffObjType === 'hook' ? \"[hook \".concat(hookName, \" result]\") : \"\".concat(diffObjType, \".\"), \"%c\").concat(pathString, \"%c\"), \"color:\".concat(wdyrStore.options.diffNameColor, \";\"), \"color:\".concat(wdyrStore.options.diffPathColor, \";\"), 'color:default;');\n wdyrStore.options.consoleLog(\"\".concat(diffTypesDescriptions[diffType], \". (more info at \").concat(hookName ? moreInfoHooksUrl : moreInfoUrl, \")\"));\n wdyrStore.options.consoleLog(_defineProperty({}, \"prev \".concat(pathString), prevValue), '!==', _defineProperty({}, \"next \".concat(pathString), nextValue));\n\n if (diffType === diffTypes.deepEquals) {\n wdyrStore.options.consoleLog({\n 'For detailed diff, right click the following fn, save as global, and run: ': diffFn\n });\n }\n\n wdyrStore.options.consoleGroupEnd();\n });\n } else if (differences) {\n wdyrStore.options.consoleLog(_defineProperty({}, displayName, Component), \"\".concat(prefixMessage, \" the \").concat(diffObjType, \" object itself changed but its values are all equal.\"), diffObjType === 'props' ? 'This could have been avoided by making the component pure, or by preventing its father from re-rendering.' : 'This usually means this component called setState when no changes in its state actually occurred.', \"More info at \".concat(moreInfoUrl));\n wdyrStore.options.consoleLog(\"prev \".concat(diffObjType, \":\"), values.prev, ' !== ', values.next, \":next \".concat(diffObjType));\n }\n }\n\n function defaultNotifier(updateInfo) {\n var Component = updateInfo.Component,\n displayName = updateInfo.displayName,\n hookName = updateInfo.hookName,\n prevProps = updateInfo.prevProps,\n prevState = updateInfo.prevState,\n prevHook = updateInfo.prevHook,\n nextProps = updateInfo.nextProps,\n nextState = updateInfo.nextState,\n nextHook = updateInfo.nextHook,\n reason = updateInfo.reason;\n\n if (!shouldLog(reason, Component, wdyrStore.options)) {\n return;\n }\n\n wdyrStore.options.consoleGroup(\"%c\".concat(displayName), \"color: \".concat(wdyrStore.options.titleColor, \";\"));\n var prefixMessage = 'Re-rendered because';\n\n if (reason.propsDifferences) {\n logDifference({\n Component: Component,\n displayName: displayName,\n prefixMessage: prefixMessage,\n diffObjType: 'props',\n differences: reason.propsDifferences,\n values: {\n prev: prevProps,\n next: nextProps\n }\n });\n prefixMessage = 'And because';\n }\n\n if (reason.stateDifferences) {\n logDifference({\n Component: Component,\n displayName: displayName,\n prefixMessage: prefixMessage,\n diffObjType: 'state',\n differences: reason.stateDifferences,\n values: {\n prev: prevState,\n next: nextState\n }\n });\n }\n\n if (reason.hookDifferences) {\n logDifference({\n Component: Component,\n displayName: displayName,\n prefixMessage: prefixMessage,\n diffObjType: 'hook',\n differences: reason.hookDifferences,\n values: {\n prev: prevHook,\n next: nextHook\n },\n hookName: hookName\n });\n }\n\n if (reason.propsDifferences && reason.ownerDifferences) {\n var prevOwnerData = wdyrStore.ownerDataMap.get(prevProps);\n var nextOwnerData = wdyrStore.ownerDataMap.get(nextProps);\n wdyrStore.options.consoleGroup(\"Rendered by \".concat(nextOwnerData.displayName));\n var _prefixMessage = 'Re-rendered because';\n\n if (reason.ownerDifferences.propsDifferences) {\n logDifference({\n Component: nextOwnerData.Component,\n displayName: nextOwnerData.displayName,\n prefixMessage: _prefixMessage,\n diffObjType: 'props',\n differences: reason.ownerDifferences.propsDifferences,\n values: {\n prev: prevOwnerData.props,\n next: nextOwnerData.props\n }\n });\n _prefixMessage = 'And because';\n }\n\n if (reason.ownerDifferences.stateDifferences) {\n logDifference({\n Component: nextOwnerData.Component,\n displayName: nextOwnerData.displayName,\n prefixMessage: _prefixMessage,\n diffObjType: 'state',\n differences: reason.ownerDifferences.stateDifferences,\n values: {\n prev: prevOwnerData.state,\n next: nextOwnerData.state\n }\n });\n }\n\n if (reason.ownerDifferences.hookDifferences) {\n reason.ownerDifferences.hookDifferences.forEach(function (_ref3, i) {\n var hookName = _ref3.hookName,\n differences = _ref3.differences;\n return logDifference({\n Component: nextOwnerData.Component,\n displayName: nextOwnerData.displayName,\n prefixMessage: _prefixMessage,\n diffObjType: 'hook',\n differences: differences,\n values: {\n prev: prevOwnerData.hooks[i].result,\n next: nextOwnerData.hooks[i].result\n },\n hookName: hookName\n });\n });\n }\n\n wdyrStore.options.consoleGroupEnd();\n }\n\n if (!reason.propsDifferences && !reason.stateDifferences && !reason.hookDifferences) {\n wdyrStore.options.consoleLog(_defineProperty({}, displayName, Component), 'Re-rendered although props and state objects are the same.', 'This usually means there was a call to this.forceUpdate() inside the component.', \"more info at \".concat(moreInfoUrl));\n }\n\n wdyrStore.options.consoleGroupEnd();\n }\n function createDefaultNotifier(hotReloadBufferMs) {\n if (hotReloadBufferMs) {\n if (typeof module !== 'undefined' && module.hot && module.hot.addStatusHandler) {\n module.hot.addStatusHandler(function (status) {\n if (status === 'idle') {\n inHotReload = true;\n setTimeout(function () {\n inHotReload = false;\n }, hotReloadBufferMs);\n }\n });\n }\n }\n\n return defaultNotifier;\n }\n\n var emptyFn = function emptyFn() {};\n\n function normalizeOptions() {\n var userOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var consoleGroup = console.group;\n var consoleGroupEnd = console.groupEnd;\n\n if (userOptions.collapseGroups) {\n consoleGroup = console.groupCollapsed;\n } else if (userOptions.onlyLogs) {\n consoleGroup = console.log;\n consoleGroupEnd = emptyFn;\n }\n\n var notifier = userOptions.notifier || createDefaultNotifier('hotReloadBufferMs' in userOptions ? userOptions.hotReloadBufferMs : 500);\n return _objectSpread2({\n include: null,\n exclude: null,\n notifier: notifier,\n onlyLogs: false,\n consoleLog: console.log,\n consoleGroup: consoleGroup,\n consoleGroupEnd: consoleGroupEnd,\n logOnDifferentValues: false,\n logOwnerReasons: true,\n trackHooks: true,\n titleColor: '#058',\n diffNameColor: 'blue',\n diffPathColor: 'red',\n trackExtraHooks: [],\n trackAllPureComponents: false\n }, userOptions);\n }\n\n function getDisplayName(type) {\n return type.displayName || type.name || type.type && getDisplayName(type.type) || type.render && getDisplayName(type.render) || (lodash.isString(type) ? type : 'Unknown');\n }\n\n function getDefaultProps(type) {\n return type.defaultProps || type.type && getDefaultProps(type.type) || type.render && getDefaultProps(type.render) || {};\n }\n\n var emptyObject = {};\n function findObjectsDifferences(userPrevObj, userNextObj) {\n var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n _ref$shallow = _ref.shallow,\n shallow = _ref$shallow === void 0 ? true : _ref$shallow;\n\n if (userPrevObj === userNextObj) {\n return false;\n }\n\n if (!shallow) {\n return calculateDeepEqualDiffs(userPrevObj, userNextObj);\n }\n\n var prevObj = userPrevObj || emptyObject;\n var nextObj = userNextObj || emptyObject;\n var keysOfBothObjects = Object.keys(_objectSpread2(_objectSpread2({}, prevObj), nextObj));\n return lodash.reduce(keysOfBothObjects, function (result, key) {\n var deepEqualDiffs = calculateDeepEqualDiffs(prevObj[key], nextObj[key], key);\n\n if (deepEqualDiffs) {\n result = [].concat(_toConsumableArray(result), _toConsumableArray(deepEqualDiffs));\n }\n\n return result;\n }, []);\n }\n\n function getOwnerDifferences(_ref) {\n var prevOwnerData = _ref.prevOwnerData,\n nextOwnerData = _ref.nextOwnerData;\n\n if (!prevOwnerData || !nextOwnerData) {\n return false;\n } // in strict mode prevOwnerData might be twice as lengthy because of double renders\n\n\n var prevOwnerDataHooks = prevOwnerData.hooks.length === nextOwnerData.hooks.length * 2 ? prevOwnerData.hooks.slice(prevOwnerData.hooks.length / 2) : prevOwnerData.hooks;\n var hookDifferences = prevOwnerDataHooks.map(function (_ref2, i) {\n var hookName = _ref2.hookName,\n result = _ref2.result;\n return {\n hookName: hookName,\n differences: findObjectsDifferences(result, nextOwnerData.hooks[i].result, {\n shallow: false\n })\n };\n });\n return {\n propsDifferences: findObjectsDifferences(prevOwnerData.props, nextOwnerData.props),\n stateDifferences: findObjectsDifferences(prevOwnerData.state, nextOwnerData.state),\n hookDifferences: hookDifferences.length > 0 ? hookDifferences : false\n };\n }\n\n function getUpdateReason(prevProps, prevState, prevHook, nextProps, nextState, nextHook) {\n var prevOwnerData = wdyrStore.ownerDataMap.get(prevProps);\n var nextOwnerData = wdyrStore.ownerDataMap.get(nextProps);\n return {\n propsDifferences: findObjectsDifferences(prevProps, nextProps),\n stateDifferences: findObjectsDifferences(prevState, nextState),\n hookDifferences: findObjectsDifferences(prevHook, nextHook, {\n shallow: false\n }),\n ownerDifferences: getOwnerDifferences({\n prevOwnerData: prevOwnerData,\n nextOwnerData: nextOwnerData\n })\n };\n }\n\n function getUpdateInfo(_ref3) {\n var Component = _ref3.Component,\n displayName = _ref3.displayName,\n hookName = _ref3.hookName,\n prevProps = _ref3.prevProps,\n prevState = _ref3.prevState,\n prevHook = _ref3.prevHook,\n nextProps = _ref3.nextProps,\n nextState = _ref3.nextState,\n nextHook = _ref3.nextHook;\n return {\n Component: Component,\n displayName: displayName,\n hookName: hookName,\n prevProps: prevProps,\n prevState: prevState,\n prevHook: prevHook,\n nextProps: nextProps,\n nextState: nextState,\n nextHook: nextHook,\n reason: getUpdateReason(prevProps, prevState, prevHook, nextProps, nextState, nextHook)\n };\n }\n\n // copied from https://github.com/facebook/react/blob/master/packages/react-reconciler/src/ReactTypeOfMode.js\n // notice: this is only used for class components. functional components doesn't render twice inside strict mode\n\n function checkIfInsideAStrictModeTree(reactComponentInstance) {\n var reactInternalFiber = reactComponentInstance && (reactComponentInstance._reactInternalFiber || reactComponentInstance._reactInternals);\n\n while (reactInternalFiber) {\n if (reactInternalFiber.mode & REACT_STRICT_MODE) {\n return true;\n }\n\n reactInternalFiber = reactInternalFiber[\"return\"];\n }\n\n return false;\n }\n function isReactClassComponent(Component) {\n return Component.prototype && !!Component.prototype.isReactComponent;\n }\n function isMemoComponent(Component) {\n return Component.$$typeof === REACT_MEMO_TYPE;\n }\n function isForwardRefComponent(Component) {\n return Component.$$typeof === REACT_FORWARD_REF_TYPE;\n }\n\n function shouldInclude(displayName) {\n return wdyrStore.options.include && wdyrStore.options.include.length > 0 && wdyrStore.options.include.some(function (regex) {\n return regex.test(displayName);\n });\n }\n\n function shouldExclude(displayName) {\n return wdyrStore.options.exclude && wdyrStore.options.exclude.length > 0 && wdyrStore.options.exclude.some(function (regex) {\n return regex.test(displayName);\n });\n }\n\n function shouldTrack(Component, _ref) {\n var isHookChange = _ref.isHookChange;\n var displayName = getDisplayName(Component);\n\n if (shouldExclude(displayName)) {\n return false;\n }\n\n if (Component.whyDidYouRender === false) {\n return false;\n }\n\n if (isHookChange && Component.whyDidYouRender && Component.whyDidYouRender.trackHooks === false) {\n return false;\n }\n\n return !!(Component.whyDidYouRender || wdyrStore.options.trackAllPureComponents && (Component && Component.prototype instanceof wdyrStore.React.PureComponent || isMemoComponent(Component)) || shouldInclude(displayName));\n }\n\n function patchClassComponent(ClassComponent, _ref) {\n var displayName = _ref.displayName,\n defaultProps = _ref.defaultProps;\n\n var WDYRPatchedClassComponent = /*#__PURE__*/function (_ClassComponent) {\n _inherits(WDYRPatchedClassComponent, _ClassComponent);\n\n var _super = _createSuper(WDYRPatchedClassComponent);\n\n function WDYRPatchedClassComponent(props, context) {\n var _thisSuper, _this;\n\n _classCallCheck(this, WDYRPatchedClassComponent);\n\n _this = _super.call(this, props, context);\n _this._WDYR = {\n renderNumber: 0\n };\n\n var origRender = _get((_thisSuper = _assertThisInitialized(_this), _getPrototypeOf(WDYRPatchedClassComponent.prototype)), \"render\", _thisSuper) || _this.render; // this probably means that render is an arrow function or this.render.bind(this) was called on the original class\n\n\n var renderIsABindedFunction = origRender !== ClassComponent.prototype.render;\n\n if (renderIsABindedFunction) {\n _this.render = function () {\n WDYRPatchedClassComponent.prototype.render.apply(_assertThisInitialized(_this));\n return origRender();\n };\n }\n\n return _this;\n }\n\n _createClass(WDYRPatchedClassComponent, [{\n key: \"render\",\n value: function render() {\n this._WDYR.renderNumber++;\n\n if (!('isStrictMode' in this._WDYR)) {\n this._WDYR.isStrictMode = checkIfInsideAStrictModeTree(this);\n } // in strict mode- ignore every other render\n\n\n if (!(this._WDYR.isStrictMode && this._WDYR.renderNumber % 2 === 1)) {\n if (this._WDYR.prevProps) {\n var updateInfo = getUpdateInfo({\n Component: ClassComponent,\n displayName: displayName,\n prevProps: this._WDYR.prevProps,\n prevState: this._WDYR.prevState,\n nextProps: this.props,\n nextState: this.state\n });\n wdyrStore.options.notifier(updateInfo);\n }\n\n this._WDYR.prevProps = this.props;\n this._WDYR.prevState = this.state;\n }\n\n return _get(_getPrototypeOf(WDYRPatchedClassComponent.prototype), \"render\", this) ? _get(_getPrototypeOf(WDYRPatchedClassComponent.prototype), \"render\", this).call(this) : null;\n }\n }]);\n\n return WDYRPatchedClassComponent;\n }(ClassComponent);\n\n try {\n WDYRPatchedClassComponent.displayName = displayName;\n } catch (e) {// not crucial if displayName couldn't be set\n }\n\n WDYRPatchedClassComponent.defaultProps = defaultProps;\n lodash.defaults(WDYRPatchedClassComponent, ClassComponent);\n return WDYRPatchedClassComponent;\n }\n\n var getFunctionalComponentFromStringComponent = function getFunctionalComponentFromStringComponent(componentTypeStr) {\n return function (props) {\n return wdyrStore.React.createElement(componentTypeStr, props);\n };\n };\n\n function patchFunctionalOrStrComponent(FunctionalOrStringComponent, _ref) {\n var isPure = _ref.isPure,\n displayName = _ref.displayName,\n defaultProps = _ref.defaultProps;\n var FunctionalComponent = typeof FunctionalOrStringComponent === 'string' ? getFunctionalComponentFromStringComponent(FunctionalOrStringComponent) : FunctionalOrStringComponent;\n\n function WDYRFunctionalComponent() {\n var nextProps = arguments[0];\n var ref = wdyrStore.React.useRef();\n var prevProps = ref.current;\n ref.current = nextProps;\n\n if (prevProps) {\n var updateInfo = getUpdateInfo({\n Component: FunctionalComponent,\n displayName: displayName,\n prevProps: prevProps,\n nextProps: nextProps\n });\n var notifiedByHooks = !updateInfo.reason.propsDifferences || isPure && updateInfo.reason.propsDifferences.length === 0;\n\n if (!notifiedByHooks) {\n wdyrStore.options.notifier(updateInfo);\n }\n }\n\n return FunctionalComponent.apply(void 0, arguments);\n }\n\n try {\n WDYRFunctionalComponent.displayName = displayName;\n } catch (e) {// not crucial if displayName couldn't be set\n }\n\n WDYRFunctionalComponent.defaultProps = defaultProps;\n WDYRFunctionalComponent.ComponentForHooksTracking = FunctionalComponent;\n lodash.defaults(WDYRFunctionalComponent, FunctionalComponent);\n return WDYRFunctionalComponent;\n }\n\n function patchMemoComponent(MemoComponent, _ref) {\n var displayName = _ref.displayName,\n defaultProps = _ref.defaultProps;\n var InnerMemoComponent = MemoComponent.type;\n var isInnerMemoComponentAClassComponent = isReactClassComponent(InnerMemoComponent);\n var isInnerMemoComponentForwardRefs = isForwardRefComponent(InnerMemoComponent);\n var isInnerMemoComponentAnotherMemoComponent = isMemoComponent(InnerMemoComponent);\n var WrappedFunctionalComponent = isInnerMemoComponentForwardRefs ? InnerMemoComponent.render : InnerMemoComponent;\n var PatchedInnerComponent = isInnerMemoComponentAClassComponent ? patchClassComponent(WrappedFunctionalComponent, {\n displayName: displayName,\n defaultProps: defaultProps\n }) : isInnerMemoComponentAnotherMemoComponent ? patchMemoComponent(WrappedFunctionalComponent, {\n displayName: displayName,\n defaultProps: defaultProps\n }) : patchFunctionalOrStrComponent(WrappedFunctionalComponent, {\n displayName: displayName,\n isPure: true\n });\n\n try {\n PatchedInnerComponent.displayName = getDisplayName(WrappedFunctionalComponent);\n } catch (e) {// not crucial if displayName couldn't be set\n }\n\n PatchedInnerComponent.ComponentForHooksTracking = MemoComponent;\n lodash.defaults(PatchedInnerComponent, WrappedFunctionalComponent);\n var WDYRMemoizedFunctionalComponent = wdyrStore.React.memo(isInnerMemoComponentForwardRefs ? wdyrStore.React.forwardRef(PatchedInnerComponent) : PatchedInnerComponent, MemoComponent.compare);\n\n try {\n WDYRMemoizedFunctionalComponent.displayName = displayName;\n } catch (e) {// not crucial if displayName couldn't be set\n }\n\n WDYRMemoizedFunctionalComponent.defaultProps = defaultProps;\n lodash.defaults(WDYRMemoizedFunctionalComponent, MemoComponent);\n return WDYRMemoizedFunctionalComponent;\n }\n\n function patchForwardRefComponent(ForwardRefComponent, _ref) {\n var displayName = _ref.displayName,\n defaultProps = _ref.defaultProps;\n var InnerForwardRefComponent = ForwardRefComponent.render;\n var isInnerComponentMemoized = isMemoComponent(InnerForwardRefComponent);\n var WrappedFunctionalComponent = isInnerComponentMemoized ? InnerForwardRefComponent.type : InnerForwardRefComponent;\n var WDYRWrappedByReactForwardRefFunctionalComponent = patchFunctionalOrStrComponent(WrappedFunctionalComponent, {\n isPure: isInnerComponentMemoized,\n displayName: displayName\n });\n WDYRWrappedByReactForwardRefFunctionalComponent.displayName = getDisplayName(WrappedFunctionalComponent);\n WDYRWrappedByReactForwardRefFunctionalComponent.ComponentForHooksTracking = WrappedFunctionalComponent;\n lodash.defaults(WDYRWrappedByReactForwardRefFunctionalComponent, WrappedFunctionalComponent);\n var WDYRForwardRefFunctionalComponent = wdyrStore.React.forwardRef(isInnerComponentMemoized ? wdyrStore.React.memo(WDYRWrappedByReactForwardRefFunctionalComponent, InnerForwardRefComponent.compare) : WDYRWrappedByReactForwardRefFunctionalComponent);\n\n try {\n WDYRForwardRefFunctionalComponent.displayName = displayName;\n } catch (e) {// not crucial if displayName couldn't be set\n }\n\n WDYRForwardRefFunctionalComponent.defaultProps = defaultProps;\n lodash.defaults(WDYRForwardRefFunctionalComponent, ForwardRefComponent);\n return WDYRForwardRefFunctionalComponent;\n }\n\n var initialHookValue = Symbol('initial-hook-value');\n\n function trackHookChanges(hookName, _ref, hookResult) {\n var hookPath = _ref.path;\n var nextHook = hookPath ? lodash.get(hookResult, hookPath) : hookResult;\n var renderNumberForTheHook = wdyrStore.React.useRef(true); // TODO: improve\n\n var isSecondCycleOfRenders = wdyrStore.hooksPerRender[0] && wdyrStore.hooksPerRender[0].renderNumberForTheHook !== renderNumberForTheHook.current;\n\n if (isSecondCycleOfRenders) {\n wdyrStore.hooksPerRender = [];\n }\n\n wdyrStore.hooksPerRender.push({\n hookName: hookName,\n result: nextHook,\n renderNumberForTheHook: renderNumberForTheHook.current\n });\n renderNumberForTheHook.current++;\n var ComponentHookDispatchedFromInstance = wdyrStore.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED && wdyrStore.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;\n var prevHookRef = wdyrStore.React.useRef(initialHookValue);\n\n if (!ComponentHookDispatchedFromInstance) {\n return hookResult;\n }\n\n var Component = ComponentHookDispatchedFromInstance.type.ComponentForHooksTracking || ComponentHookDispatchedFromInstance.type;\n var displayName = getDisplayName(Component);\n var isShouldTrack = shouldTrack(Component, {\n isHookChange: true\n });\n\n if (!isShouldTrack) {\n return hookResult;\n }\n\n var newPrevHookRef = prevHookRef.current;\n prevHookRef.current = hookResult;\n\n if (newPrevHookRef !== initialHookValue) {\n var notification = getUpdateInfo({\n Component: Component,\n displayName: displayName,\n hookName: hookName,\n prevHook: hookPath ? lodash.get(newPrevHookRef, hookPath) : newPrevHookRef,\n nextHook: nextHook\n });\n\n if (notification.reason.hookDifferences) {\n wdyrStore.options.notifier(notification);\n }\n }\n\n return hookResult;\n }\n\n function createPatchedComponent(Component, _ref2) {\n var displayName = _ref2.displayName,\n defaultProps = _ref2.defaultProps;\n\n if (isMemoComponent(Component)) {\n return patchMemoComponent(Component, {\n displayName: displayName,\n defaultProps: defaultProps\n });\n }\n\n if (isForwardRefComponent(Component)) {\n return patchForwardRefComponent(Component, {\n displayName: displayName,\n defaultProps: defaultProps\n });\n }\n\n if (isReactClassComponent(Component)) {\n return patchClassComponent(Component, {\n displayName: displayName,\n defaultProps: defaultProps\n });\n }\n\n return patchFunctionalOrStrComponent(Component, {\n displayName: displayName,\n defaultProps: defaultProps,\n isPure: false\n });\n }\n\n function getPatchedComponent(Component, _ref3) {\n var displayName = _ref3.displayName,\n defaultProps = _ref3.defaultProps;\n\n if (wdyrStore.componentsMap.has(Component)) {\n return wdyrStore.componentsMap.get(Component);\n }\n\n var WDYRPatchedComponent = createPatchedComponent(Component, {\n displayName: displayName,\n defaultProps: defaultProps\n });\n wdyrStore.componentsMap.set(Component, WDYRPatchedComponent);\n return WDYRPatchedComponent;\n }\n\n function getIsSupportedComponentType(Comp) {\n if (!Comp) {\n return false;\n }\n\n if (isMemoComponent(Comp)) {\n return getIsSupportedComponentType(Comp.type);\n }\n\n if (isForwardRefComponent(Comp)) {\n return getIsSupportedComponentType(Comp.render);\n }\n\n if (typeof Comp === 'function') {\n return true;\n }\n }\n\n var hooksConfig = {\n useState: {\n path: '0'\n },\n useReducer: {\n path: '0'\n },\n useContext: undefined,\n useMemo: {\n dependenciesPath: '1',\n dontReport: true\n },\n useCallback: {\n dependenciesPath: '1',\n dontReport: true\n }\n };\n function storeOwnerData(element) {\n var OwnerInstance = wdyrStore.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner.current;\n\n if (OwnerInstance) {\n var Component = OwnerInstance.type.ComponentForHooksTracking || OwnerInstance.type;\n var displayName = getDisplayName(Component);\n var additionalOwnerData = {};\n\n if (wdyrStore.options.getAdditionalOwnerData) {\n additionalOwnerData = wdyrStore.options.getAdditionalOwnerData(element);\n }\n\n wdyrStore.ownerDataMap.set(element.props, {\n Component: Component,\n displayName: displayName,\n props: OwnerInstance.pendingProps,\n state: OwnerInstance.stateNode ? OwnerInstance.stateNode.state : null,\n hooks: wdyrStore.hooksPerRender,\n additionalOwnerData: additionalOwnerData\n });\n }\n }\n\n function resetHooksPerRenderIfNeeded() {\n // Intercept assignments to ReactCurrentOwner.current to reset hooksPerRender\n var currentOwner = null;\n\n if (wdyrStore.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) {\n Object.defineProperty(wdyrStore.React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, 'current', {\n get: function get() {\n return currentOwner;\n },\n set: function set(value) {\n currentOwner = value;\n wdyrStore.hooksPerRender = [];\n }\n });\n }\n }\n\n function trackHooksIfNeeded() {\n var hooksSupported = !!wdyrStore.React.useState;\n\n if (wdyrStore.options.trackHooks && hooksSupported) {\n var nativeHooks = Object.entries(hooksConfig).map(function (_ref4) {\n var _ref5 = _slicedToArray(_ref4, 2),\n hookName = _ref5[0],\n hookTrackingConfig = _ref5[1];\n\n return [wdyrStore.React, hookName, hookTrackingConfig];\n });\n var hooksToTrack = [].concat(_toConsumableArray(nativeHooks), _toConsumableArray(wdyrStore.options.trackExtraHooks));\n hooksToTrack.forEach(function (_ref6) {\n var _ref7 = _slicedToArray(_ref6, 3),\n hookParent = _ref7[0],\n hookName = _ref7[1],\n _ref7$ = _ref7[2],\n hookTrackingConfig = _ref7$ === void 0 ? {} : _ref7$;\n\n var originalHook = hookParent[hookName];\n var newHookName = hookName[0].toUpperCase() + hookName.slice(1);\n\n var newHook = function newHook() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var hookResult = originalHook.call.apply(originalHook, [this].concat(args));\n var dependenciesPath = hookTrackingConfig.dependenciesPath,\n dontReport = hookTrackingConfig.dontReport;\n\n if (dependenciesPath && lodash.isFunction(hookResult)) {\n dependenciesMap.set(hookResult, {\n hookName: hookName,\n deps: lodash.get(args, dependenciesPath)\n });\n }\n\n if (!dontReport) {\n trackHookChanges(hookName, hookTrackingConfig, hookResult);\n }\n\n return hookResult;\n };\n\n Object.defineProperty(newHook, 'name', {\n value: newHookName,\n writable: false\n });\n Object.assign(newHook, {\n originalHook: originalHook\n });\n hookParent[hookName] = newHook;\n });\n }\n }\n\n function getWDYRType(origType) {\n var isShouldTrack = getIsSupportedComponentType(origType) && shouldTrack(origType, {\n isHookChange: false\n });\n\n if (!isShouldTrack) {\n return null;\n }\n\n var displayName = origType && origType.whyDidYouRender && origType.whyDidYouRender.customName || getDisplayName(origType);\n var defaultProps = getDefaultProps(origType);\n var WDYRPatchedComponent = getPatchedComponent(origType, {\n displayName: displayName,\n defaultProps: defaultProps\n });\n return WDYRPatchedComponent;\n }\n function whyDidYouRender(React, userOptions) {\n if (React.isWDYR) {\n return;\n }\n\n Object.assign(wdyrStore, {\n React: React,\n options: normalizeOptions(userOptions),\n origCreateElement: React.createElement,\n origCreateFactory: React.createFactory,\n origCloneElement: React.cloneElement,\n componentsMap: new WeakMap()\n });\n resetHooksPerRenderIfNeeded();\n\n React.createElement = function (origType) {\n var WDYRType = getWDYRType(origType);\n\n for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n rest[_key2 - 1] = arguments[_key2];\n }\n\n if (WDYRType) {\n try {\n var element = wdyrStore.origCreateElement.apply(React, [WDYRType].concat(rest));\n\n if (wdyrStore.options.logOwnerReasons) {\n storeOwnerData(element);\n }\n\n return element;\n } catch (e) {\n wdyrStore.options.consoleLog('whyDidYouRender error. Please file a bug at https://github.com/welldone-software/why-did-you-render/issues.', {\n errorInfo: {\n error: e,\n componentNameOrComponent: origType,\n rest: rest,\n options: wdyrStore.options\n }\n });\n }\n }\n\n return wdyrStore.origCreateElement.apply(React, [origType].concat(rest));\n };\n\n Object.assign(React.createElement, wdyrStore.origCreateElement);\n\n React.createFactory = function (type) {\n var factory = React.createElement.bind(null, type);\n factory.type = type;\n return factory;\n };\n\n Object.assign(React.createFactory, wdyrStore.origCreateFactory);\n\n React.cloneElement = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n var element = wdyrStore.origCloneElement.apply(React, args);\n\n if (wdyrStore.options.logOwnerReasons) {\n storeOwnerData(element);\n }\n\n return element;\n };\n\n Object.assign(React.cloneElement, wdyrStore.origCloneElement);\n trackHooksIfNeeded();\n React.isWDYR = true;\n\n React.__REVERT_WHY_DID_YOU_RENDER__ = function () {\n Object.assign(React, {\n createElement: wdyrStore.origCreateElement,\n createFactory: wdyrStore.origCreateFactory,\n cloneElement: wdyrStore.origCloneElement\n });\n wdyrStore.componentsMap = null;\n var hooksToRevert = [].concat(_toConsumableArray(Object.keys(hooksConfig).map(function (hookName) {\n return [React, hookName];\n })), _toConsumableArray(wdyrStore.options.trackExtraHooks));\n hooksToRevert.forEach(function (_ref8) {\n var _ref9 = _slicedToArray(_ref8, 2),\n hookParent = _ref9[0],\n hookName = _ref9[1];\n\n if (hookParent[hookName].originalHook) {\n hookParent[hookName] = hookParent[hookName].originalHook;\n }\n });\n delete React.__REVERT_WHY_DID_YOU_RENDER__;\n delete React.isWDYR;\n };\n\n return React;\n }\n\n whyDidYouRender.defaultNotifier = defaultNotifier;\n whyDidYouRender.wdyrStore = wdyrStore;\n whyDidYouRender.storeOwnerData = storeOwnerData;\n whyDidYouRender.getWDYRType = getWDYRType;\n Object.assign(whyDidYouRender, React__namespace);\n\n return whyDidYouRender;\n\n}));\n//# sourceMappingURL=whyDidYouRender.js.map\n","/**\n * @license\n * Lodash \n * Copyright OpenJS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n var undefined;\n\n /** Used as the semantic version number. */\n var VERSION = '4.17.21';\n\n /** Used as the size to enable large array optimizations. */\n var LARGE_ARRAY_SIZE = 200;\n\n /** Error message constants. */\n var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n FUNC_ERROR_TEXT = 'Expected a function',\n INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n /** Used to stand-in for `undefined` hash values. */\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n /** Used as the maximum memoize cache size. */\n var MAX_MEMOIZE_SIZE = 500;\n\n /** Used as the internal argument placeholder. */\n var PLACEHOLDER = '__lodash_placeholder__';\n\n /** Used to compose bitmasks for cloning. */\n var CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n /** Used to compose bitmasks for value comparisons. */\n var COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n /** Used to compose bitmasks for function metadata. */\n var WRAP_BIND_FLAG = 1,\n WRAP_BIND_KEY_FLAG = 2,\n WRAP_CURRY_BOUND_FLAG = 4,\n WRAP_CURRY_FLAG = 8,\n WRAP_CURRY_RIGHT_FLAG = 16,\n WRAP_PARTIAL_FLAG = 32,\n WRAP_PARTIAL_RIGHT_FLAG = 64,\n WRAP_ARY_FLAG = 128,\n WRAP_REARG_FLAG = 256,\n WRAP_FLIP_FLAG = 512;\n\n /** Used as default options for `_.truncate`. */\n var DEFAULT_TRUNC_LENGTH = 30,\n DEFAULT_TRUNC_OMISSION = '...';\n\n /** Used to detect hot functions by number of calls within a span of milliseconds. */\n var HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n /** Used to indicate the type of lazy iteratees. */\n var LAZY_FILTER_FLAG = 1,\n LAZY_MAP_FLAG = 2,\n LAZY_WHILE_FLAG = 3;\n\n /** Used as references for various `Number` constants. */\n var INFINITY = 1 / 0,\n MAX_SAFE_INTEGER = 9007199254740991,\n MAX_INTEGER = 1.7976931348623157e+308,\n NAN = 0 / 0;\n\n /** Used as references for the maximum length and index of an array. */\n var MAX_ARRAY_LENGTH = 4294967295,\n MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n /** Used to associate wrap methods with their bit flags. */\n var wrapFlags = [\n ['ary', WRAP_ARY_FLAG],\n ['bind', WRAP_BIND_FLAG],\n ['bindKey', WRAP_BIND_KEY_FLAG],\n ['curry', WRAP_CURRY_FLAG],\n ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n ['flip', WRAP_FLIP_FLAG],\n ['partial', WRAP_PARTIAL_FLAG],\n ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n ['rearg', WRAP_REARG_FLAG]\n ];\n\n /** `Object#toString` result references. */\n var argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n domExcTag = '[object DOMException]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]',\n weakSetTag = '[object WeakSet]';\n\n var arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n /** Used to match empty string literals in compiled template source. */\n var reEmptyStringLeading = /\\b__p \\+= '';/g,\n reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n /** Used to match HTML entities and HTML characters. */\n var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n reUnescapedHtml = /[&<>\"']/g,\n reHasEscapedHtml = RegExp(reEscapedHtml.source),\n reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n /** Used to match template delimiters. */\n var reEscape = /<%-([\\s\\S]+?)%>/g,\n reEvaluate = /<%([\\s\\S]+?)%>/g,\n reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n /** Used to match property names within property paths. */\n var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/,\n rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n /**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n reHasRegExpChar = RegExp(reRegExpChar.source);\n\n /** Used to match leading whitespace. */\n var reTrimStart = /^\\s+/;\n\n /** Used to match a single whitespace character. */\n var reWhitespace = /\\s/;\n\n /** Used to match wrap detail comments. */\n var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n reSplitDetails = /,? & /;\n\n /** Used to match words composed of alphanumeric characters. */\n var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n /**\n * Used to validate the `validate` option in `_.template` variable.\n *\n * Forbids characters which could potentially change the meaning of the function argument definition:\n * - \"(),\" (modification of function parameters)\n * - \"=\" (default value)\n * - \"[]{}\" (destructuring of function parameters)\n * - \"/\" (beginning of a comment)\n * - whitespace\n */\n var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n /** Used to match backslashes in property paths. */\n var reEscapeChar = /\\\\(\\\\)?/g;\n\n /**\n * Used to match\n * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n */\n var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n /** Used to match `RegExp` flags from their coerced string values. */\n var reFlags = /\\w*$/;\n\n /** Used to detect bad signed hexadecimal string values. */\n var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n /** Used to detect binary string values. */\n var reIsBinary = /^0b[01]+$/i;\n\n /** Used to detect host constructors (Safari). */\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n /** Used to detect octal string values. */\n var reIsOctal = /^0o[0-7]+$/i;\n\n /** Used to detect unsigned integer values. */\n var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n /** Used to match Latin Unicode letters (excluding mathematical operators). */\n var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n /** Used to ensure capturing order of template delimiters. */\n var reNoMatch = /($^)/;\n\n /** Used to match unescaped characters in compiled string literals. */\n var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n /** Used to compose unicode character classes. */\n var rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsDingbatRange = '\\\\u2700-\\\\u27bf',\n rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n rsPunctuationRange = '\\\\u2000-\\\\u206f',\n rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n rsVarRange = '\\\\ufe0e\\\\ufe0f',\n rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n /** Used to compose unicode capture groups. */\n var rsApos = \"['\\u2019]\",\n rsAstral = '[' + rsAstralRange + ']',\n rsBreak = '[' + rsBreakRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsDigits = '\\\\d+',\n rsDingbat = '[' + rsDingbatRange + ']',\n rsLower = '[' + rsLowerRange + ']',\n rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsUpper = '[' + rsUpperRange + ']',\n rsZWJ = '\\\\u200d';\n\n /** Used to compose unicode regexes. */\n var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n /** Used to match apostrophes. */\n var reApos = RegExp(rsApos, 'g');\n\n /**\n * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n */\n var reComboMark = RegExp(rsCombo, 'g');\n\n /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n /** Used to match complex or compound words. */\n var reUnicodeWord = RegExp([\n rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n rsUpper + '+' + rsOptContrUpper,\n rsOrdUpper,\n rsOrdLower,\n rsDigits,\n rsEmoji\n ].join('|'), 'g');\n\n /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n /** Used to detect strings that need a more robust regexp to match words. */\n var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n /** Used to assign default `context` object properties. */\n var contextProps = [\n 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n ];\n\n /** Used to make template sourceURLs easier to identify. */\n var templateCounter = -1;\n\n /** Used to identify `toStringTag` values of typed arrays. */\n var typedArrayTags = {};\n typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n typedArrayTags[uint32Tag] = true;\n typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n typedArrayTags[setTag] = typedArrayTags[stringTag] =\n typedArrayTags[weakMapTag] = false;\n\n /** Used to identify `toStringTag` values supported by `_.clone`. */\n var cloneableTags = {};\n cloneableTags[argsTag] = cloneableTags[arrayTag] =\n cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n cloneableTags[boolTag] = cloneableTags[dateTag] =\n cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n cloneableTags[int32Tag] = cloneableTags[mapTag] =\n cloneableTags[numberTag] = cloneableTags[objectTag] =\n cloneableTags[regexpTag] = cloneableTags[setTag] =\n cloneableTags[stringTag] = cloneableTags[symbolTag] =\n cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n cloneableTags[errorTag] = cloneableTags[funcTag] =\n cloneableTags[weakMapTag] = false;\n\n /** Used to map Latin Unicode letters to basic Latin letters. */\n var deburredLetters = {\n // Latin-1 Supplement block.\n '\\xc0': 'A', '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n '\\xe0': 'a', '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n '\\xc7': 'C', '\\xe7': 'c',\n '\\xd0': 'D', '\\xf0': 'd',\n '\\xc8': 'E', '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n '\\xe8': 'e', '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n '\\xcc': 'I', '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n '\\xec': 'i', '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n '\\xd1': 'N', '\\xf1': 'n',\n '\\xd2': 'O', '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n '\\xf2': 'o', '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n '\\xd9': 'U', '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n '\\xf9': 'u', '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n '\\xdd': 'Y', '\\xfd': 'y', '\\xff': 'y',\n '\\xc6': 'Ae', '\\xe6': 'ae',\n '\\xde': 'Th', '\\xfe': 'th',\n '\\xdf': 'ss',\n // Latin Extended-A block.\n '\\u0100': 'A', '\\u0102': 'A', '\\u0104': 'A',\n '\\u0101': 'a', '\\u0103': 'a', '\\u0105': 'a',\n '\\u0106': 'C', '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n '\\u0107': 'c', '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n '\\u010e': 'D', '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n '\\u0112': 'E', '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n '\\u0113': 'e', '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n '\\u011c': 'G', '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n '\\u011d': 'g', '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n '\\u0124': 'H', '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n '\\u0128': 'I', '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n '\\u0129': 'i', '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n '\\u0134': 'J', '\\u0135': 'j',\n '\\u0136': 'K', '\\u0137': 'k', '\\u0138': 'k',\n '\\u0139': 'L', '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n '\\u013a': 'l', '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n '\\u0143': 'N', '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n '\\u0144': 'n', '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n '\\u014c': 'O', '\\u014e': 'O', '\\u0150': 'O',\n '\\u014d': 'o', '\\u014f': 'o', '\\u0151': 'o',\n '\\u0154': 'R', '\\u0156': 'R', '\\u0158': 'R',\n '\\u0155': 'r', '\\u0157': 'r', '\\u0159': 'r',\n '\\u015a': 'S', '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n '\\u015b': 's', '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n '\\u0162': 'T', '\\u0164': 'T', '\\u0166': 'T',\n '\\u0163': 't', '\\u0165': 't', '\\u0167': 't',\n '\\u0168': 'U', '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n '\\u0169': 'u', '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n '\\u0174': 'W', '\\u0175': 'w',\n '\\u0176': 'Y', '\\u0177': 'y', '\\u0178': 'Y',\n '\\u0179': 'Z', '\\u017b': 'Z', '\\u017d': 'Z',\n '\\u017a': 'z', '\\u017c': 'z', '\\u017e': 'z',\n '\\u0132': 'IJ', '\\u0133': 'ij',\n '\\u0152': 'Oe', '\\u0153': 'oe',\n '\\u0149': \"'n\", '\\u017f': 's'\n };\n\n /** Used to map characters to HTML entities. */\n var htmlEscapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": '''\n };\n\n /** Used to map HTML entities to characters. */\n var htmlUnescapes = {\n '&': '&',\n '<': '<',\n '>': '>',\n '"': '\"',\n ''': \"'\"\n };\n\n /** Used to escape characters for inclusion in compiled string literals. */\n var stringEscapes = {\n '\\\\': '\\\\',\n \"'\": \"'\",\n '\\n': 'n',\n '\\r': 'r',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n };\n\n /** Built-in method references without a dependency on `root`. */\n var freeParseFloat = parseFloat,\n freeParseInt = parseInt;\n\n /** Detect free variable `global` from Node.js. */\n var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n /** Detect free variable `self`. */\n var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n /** Used as a reference to the global object. */\n var root = freeGlobal || freeSelf || Function('return this')();\n\n /** Detect free variable `exports`. */\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n /** Detect free variable `module`. */\n var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n /** Detect the popular CommonJS extension `module.exports`. */\n var moduleExports = freeModule && freeModule.exports === freeExports;\n\n /** Detect free variable `process` from Node.js. */\n var freeProcess = moduleExports && freeGlobal.process;\n\n /** Used to access faster Node.js helpers. */\n var nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n }());\n\n /* Node.js helper references. */\n var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n nodeIsDate = nodeUtil && nodeUtil.isDate,\n nodeIsMap = nodeUtil && nodeUtil.isMap,\n nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n nodeIsSet = nodeUtil && nodeUtil.isSet,\n nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\n function apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n }\n\n /**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.forEachRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\n function arrayEachRight(array, iteratee) {\n var length = array == null ? 0 : array.length;\n\n while (length--) {\n if (iteratee(array[length], length, array) === false) {\n break;\n }\n }\n return array;\n }\n\n /**\n * A specialized version of `_.every` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n */\n function arrayEvery(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (!predicate(array[index], index, array)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n }\n\n /**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\n function arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n }\n\n /**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\n function arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n }\n\n /**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.reduceRight` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the last element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\n function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n var length = array == null ? 0 : array.length;\n if (initAccum && length) {\n accumulator = array[--length];\n }\n while (length--) {\n accumulator = iteratee(accumulator, array[length], length, array);\n }\n return accumulator;\n }\n\n /**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n }\n\n /**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n var asciiSize = baseProperty('length');\n\n /**\n * Converts an ASCII `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function asciiToArray(string) {\n return string.split('');\n }\n\n /**\n * Splits an ASCII `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function asciiWords(string) {\n return string.match(reAsciiWord) || [];\n }\n\n /**\n * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n * without support for iteratee shorthands, which iterates over `collection`\n * using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the found element or its key, else `undefined`.\n */\n function baseFindKey(collection, predicate, eachFunc) {\n var result;\n eachFunc(collection, function(value, key, collection) {\n if (predicate(value, key, collection)) {\n result = key;\n return false;\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n }\n\n /**\n * This function is like `baseIndexOf` except that it accepts a comparator.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function baseIndexOfWith(array, value, fromIndex, comparator) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (comparator(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\n function baseIsNaN(value) {\n return value !== value;\n }\n\n /**\n * The base implementation of `_.mean` and `_.meanBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the mean.\n */\n function baseMean(array, iteratee) {\n var length = array == null ? 0 : array.length;\n return length ? (baseSum(array, iteratee) / length) : NAN;\n }\n\n /**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.propertyOf` without support for deep paths.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyOf(object) {\n return function(key) {\n return object == null ? undefined : object[key];\n };\n }\n\n /**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\n function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\n function baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.sum` and `_.sumBy` without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {number} Returns the sum.\n */\n function baseSum(array, iteratee) {\n var result,\n index = -1,\n length = array.length;\n\n while (++index < length) {\n var current = iteratee(array[index]);\n if (current !== undefined) {\n result = result === undefined ? current : (result + current);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\n function baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n * of key-value pairs for `object` corresponding to the property names of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the key-value pairs.\n */\n function baseToPairs(object, props) {\n return arrayMap(props, function(key) {\n return [key, object[key]];\n });\n }\n\n /**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\n function baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n }\n\n /**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\n function baseUnary(func) {\n return function(value) {\n return func(value);\n };\n }\n\n /**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\n function baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n }\n\n /**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function cacheHas(cache, key) {\n return cache.has(key);\n }\n\n /**\n * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the first unmatched string symbol.\n */\n function charsStartIndex(strSymbols, chrSymbols) {\n var index = -1,\n length = strSymbols.length;\n\n while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n * that is not found in the character symbols.\n *\n * @private\n * @param {Array} strSymbols The string symbols to inspect.\n * @param {Array} chrSymbols The character symbols to find.\n * @returns {number} Returns the index of the last unmatched string symbol.\n */\n function charsEndIndex(strSymbols, chrSymbols) {\n var index = strSymbols.length;\n\n while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n return index;\n }\n\n /**\n * Gets the number of `placeholder` occurrences in `array`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} placeholder The placeholder to search for.\n * @returns {number} Returns the placeholder count.\n */\n function countHolders(array, placeholder) {\n var length = array.length,\n result = 0;\n\n while (length--) {\n if (array[length] === placeholder) {\n ++result;\n }\n }\n return result;\n }\n\n /**\n * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n * letters to basic Latin letters.\n *\n * @private\n * @param {string} letter The matched letter to deburr.\n * @returns {string} Returns the deburred letter.\n */\n var deburrLetter = basePropertyOf(deburredLetters);\n\n /**\n * Used by `_.escape` to convert characters to HTML entities.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n /**\n * Used by `_.template` to escape characters for inclusion in compiled string literals.\n *\n * @private\n * @param {string} chr The matched character to escape.\n * @returns {string} Returns the escaped character.\n */\n function escapeStringChar(chr) {\n return '\\\\' + stringEscapes[chr];\n }\n\n /**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function getValue(object, key) {\n return object == null ? undefined : object[key];\n }\n\n /**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\n function hasUnicode(string) {\n return reHasUnicode.test(string);\n }\n\n /**\n * Checks if `string` contains a word composed of Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a word is found, else `false`.\n */\n function hasUnicodeWord(string) {\n return reHasUnicodeWord.test(string);\n }\n\n /**\n * Converts `iterator` to an array.\n *\n * @private\n * @param {Object} iterator The iterator to convert.\n * @returns {Array} Returns the converted array.\n */\n function iteratorToArray(iterator) {\n var data,\n result = [];\n\n while (!(data = iterator.next()).done) {\n result.push(data.value);\n }\n return result;\n }\n\n /**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\n function mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n }\n\n /**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\n function overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n }\n\n /**\n * Replaces all `placeholder` elements in `array` with an internal placeholder\n * and returns an array of their indexes.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {*} placeholder The placeholder to replace.\n * @returns {Array} Returns the new array of placeholder indexes.\n */\n function replaceHolders(array, placeholder) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value === placeholder || value === PLACEHOLDER) {\n array[index] = PLACEHOLDER;\n result[resIndex++] = index;\n }\n }\n return result;\n }\n\n /**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\n function setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n }\n\n /**\n * Converts `set` to its value-value pairs.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the value-value pairs.\n */\n function setToPairs(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = [value, value];\n });\n return result;\n }\n\n /**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * A specialized version of `_.lastIndexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function strictLastIndexOf(array, value, fromIndex) {\n var index = fromIndex + 1;\n while (index--) {\n if (array[index] === value) {\n return index;\n }\n }\n return index;\n }\n\n /**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\n function stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n }\n\n /**\n * Converts `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function stringToArray(string) {\n return hasUnicode(string)\n ? unicodeToArray(string)\n : asciiToArray(string);\n }\n\n /**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\n function trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n }\n\n /**\n * Used by `_.unescape` to convert HTML entities to characters.\n *\n * @private\n * @param {string} chr The matched character to unescape.\n * @returns {string} Returns the unescaped character.\n */\n var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n /**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\n function unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n }\n\n /**\n * Converts a Unicode `string` to an array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the converted array.\n */\n function unicodeToArray(string) {\n return string.match(reUnicode) || [];\n }\n\n /**\n * Splits a Unicode `string` into an array of its words.\n *\n * @private\n * @param {string} The string to inspect.\n * @returns {Array} Returns the words of `string`.\n */\n function unicodeWords(string) {\n return string.match(reUnicodeWord) || [];\n }\n\n /*--------------------------------------------------------------------------*/\n\n /**\n * Create a new pristine `lodash` function using the `context` object.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Util\n * @param {Object} [context=root] The context object.\n * @returns {Function} Returns a new `lodash` function.\n * @example\n *\n * _.mixin({ 'foo': _.constant('foo') });\n *\n * var lodash = _.runInContext();\n * lodash.mixin({ 'bar': lodash.constant('bar') });\n *\n * _.isFunction(_.foo);\n * // => true\n * _.isFunction(_.bar);\n * // => false\n *\n * lodash.isFunction(lodash.foo);\n * // => false\n * lodash.isFunction(lodash.bar);\n * // => true\n *\n * // Create a suped-up `defer` in Node.js.\n * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n */\n var runInContext = (function runInContext(context) {\n context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n /** Built-in constructor references. */\n var Array = context.Array,\n Date = context.Date,\n Error = context.Error,\n Function = context.Function,\n Math = context.Math,\n Object = context.Object,\n RegExp = context.RegExp,\n String = context.String,\n TypeError = context.TypeError;\n\n /** Used for built-in method references. */\n var arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n /** Used to detect overreaching core-js shims. */\n var coreJsData = context['__core-js_shared__'];\n\n /** Used to resolve the decompiled source of functions. */\n var funcToString = funcProto.toString;\n\n /** Used to check objects for own properties. */\n var hasOwnProperty = objectProto.hasOwnProperty;\n\n /** Used to generate unique IDs. */\n var idCounter = 0;\n\n /** Used to detect methods masquerading as native. */\n var maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n }());\n\n /**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\n var nativeObjectToString = objectProto.toString;\n\n /** Used to infer the `Object` constructor. */\n var objectCtorString = funcToString.call(Object);\n\n /** Used to restore the original `_` reference in `_.noConflict`. */\n var oldDash = root._;\n\n /** Used to detect if a method is native. */\n var reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n );\n\n /** Built-in value references. */\n var Buffer = moduleExports ? context.Buffer : undefined,\n Symbol = context.Symbol,\n Uint8Array = context.Uint8Array,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n getPrototype = overArg(Object.getPrototypeOf, Object),\n objectCreate = Object.create,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n symIterator = Symbol ? Symbol.iterator : undefined,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n var defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n }());\n\n /** Mocked built-ins. */\n var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n ctxNow = Date && Date.now !== root.Date.now && Date.now,\n ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n /* Built-in method references for those with the same name as other `lodash` methods. */\n var nativeCeil = Math.ceil,\n nativeFloor = Math.floor,\n nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeIsFinite = context.isFinite,\n nativeJoin = arrayProto.join,\n nativeKeys = overArg(Object.keys, Object),\n nativeMax = Math.max,\n nativeMin = Math.min,\n nativeNow = Date.now,\n nativeParseInt = context.parseInt,\n nativeRandom = Math.random,\n nativeReverse = arrayProto.reverse;\n\n /* Built-in method references that are verified to be native. */\n var DataView = getNative(context, 'DataView'),\n Map = getNative(context, 'Map'),\n Promise = getNative(context, 'Promise'),\n Set = getNative(context, 'Set'),\n WeakMap = getNative(context, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n /** Used to store function metadata. */\n var metaMap = WeakMap && new WeakMap;\n\n /** Used to lookup unminified function names. */\n var realNames = {};\n\n /** Used to detect maps, sets, and weakmaps. */\n var dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n /** Used to convert symbols to primitives and strings. */\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` object which wraps `value` to enable implicit method\n * chain sequences. Methods that operate on and return arrays, collections,\n * and functions can be chained together. Methods that retrieve a single value\n * or may return a primitive value will automatically end the chain sequence\n * and return the unwrapped value. Otherwise, the value must be unwrapped\n * with `_#value`.\n *\n * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n * enabled using `_.chain`.\n *\n * The execution of chained methods is lazy, that is, it's deferred until\n * `_#value` is implicitly or explicitly called.\n *\n * Lazy evaluation allows several methods to support shortcut fusion.\n * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n * the creation of intermediate arrays and can greatly reduce the number of\n * iteratee executions. Sections of a chain sequence qualify for shortcut\n * fusion if the section is applied to an array and iteratees accept only\n * one argument. The heuristic for whether a section qualifies for shortcut\n * fusion is subject to change.\n *\n * Chaining is supported in custom builds as long as the `_#value` method is\n * directly or indirectly included in the build.\n *\n * In addition to lodash methods, wrappers have `Array` and `String` methods.\n *\n * The wrapper `Array` methods are:\n * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n *\n * The wrapper `String` methods are:\n * `replace` and `split`\n *\n * The wrapper methods that support shortcut fusion are:\n * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n *\n * The chainable wrapper methods are:\n * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n * `zipObject`, `zipObjectDeep`, and `zipWith`\n *\n * The wrapper methods that are **not** chainable by default are:\n * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n * `upperFirst`, `value`, and `words`\n *\n * @name _\n * @constructor\n * @category Seq\n * @param {*} value The value to wrap in a `lodash` instance.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2, 3]);\n *\n * // Returns an unwrapped value.\n * wrapped.reduce(_.add);\n * // => 6\n *\n * // Returns a wrapped value.\n * var squares = wrapped.map(square);\n *\n * _.isArray(squares);\n * // => false\n *\n * _.isArray(squares.value());\n * // => true\n */\n function lodash(value) {\n if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n if (value instanceof LodashWrapper) {\n return value;\n }\n if (hasOwnProperty.call(value, '__wrapped__')) {\n return wrapperClone(value);\n }\n }\n return new LodashWrapper(value);\n }\n\n /**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\n var baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n }());\n\n /**\n * The function whose prototype chain sequence wrappers inherit from.\n *\n * @private\n */\n function baseLodash() {\n // No operation performed.\n }\n\n /**\n * The base constructor for creating `lodash` wrapper objects.\n *\n * @private\n * @param {*} value The value to wrap.\n * @param {boolean} [chainAll] Enable explicit method chain sequences.\n */\n function LodashWrapper(value, chainAll) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__chain__ = !!chainAll;\n this.__index__ = 0;\n this.__values__ = undefined;\n }\n\n /**\n * By default, the template delimiters used by lodash are like those in\n * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n * following template settings to use alternative delimiters.\n *\n * @static\n * @memberOf _\n * @type {Object}\n */\n lodash.templateSettings = {\n\n /**\n * Used to detect `data` property values to be HTML-escaped.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'escape': reEscape,\n\n /**\n * Used to detect code to be evaluated.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'evaluate': reEvaluate,\n\n /**\n * Used to detect `data` property values to inject.\n *\n * @memberOf _.templateSettings\n * @type {RegExp}\n */\n 'interpolate': reInterpolate,\n\n /**\n * Used to reference the data object in the template text.\n *\n * @memberOf _.templateSettings\n * @type {string}\n */\n 'variable': '',\n\n /**\n * Used to import variables into the compiled template.\n *\n * @memberOf _.templateSettings\n * @type {Object}\n */\n 'imports': {\n\n /**\n * A reference to the `lodash` function.\n *\n * @memberOf _.templateSettings.imports\n * @type {Function}\n */\n '_': lodash\n }\n };\n\n // Ensure wrappers are instances of `baseLodash`.\n lodash.prototype = baseLodash.prototype;\n lodash.prototype.constructor = lodash;\n\n LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n LodashWrapper.prototype.constructor = LodashWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n *\n * @private\n * @constructor\n * @param {*} value The value to wrap.\n */\n function LazyWrapper(value) {\n this.__wrapped__ = value;\n this.__actions__ = [];\n this.__dir__ = 1;\n this.__filtered__ = false;\n this.__iteratees__ = [];\n this.__takeCount__ = MAX_ARRAY_LENGTH;\n this.__views__ = [];\n }\n\n /**\n * Creates a clone of the lazy wrapper object.\n *\n * @private\n * @name clone\n * @memberOf LazyWrapper\n * @returns {Object} Returns the cloned `LazyWrapper` object.\n */\n function lazyClone() {\n var result = new LazyWrapper(this.__wrapped__);\n result.__actions__ = copyArray(this.__actions__);\n result.__dir__ = this.__dir__;\n result.__filtered__ = this.__filtered__;\n result.__iteratees__ = copyArray(this.__iteratees__);\n result.__takeCount__ = this.__takeCount__;\n result.__views__ = copyArray(this.__views__);\n return result;\n }\n\n /**\n * Reverses the direction of lazy iteration.\n *\n * @private\n * @name reverse\n * @memberOf LazyWrapper\n * @returns {Object} Returns the new reversed `LazyWrapper` object.\n */\n function lazyReverse() {\n if (this.__filtered__) {\n var result = new LazyWrapper(this);\n result.__dir__ = -1;\n result.__filtered__ = true;\n } else {\n result = this.clone();\n result.__dir__ *= -1;\n }\n return result;\n }\n\n /**\n * Extracts the unwrapped value from its lazy wrapper.\n *\n * @private\n * @name value\n * @memberOf LazyWrapper\n * @returns {*} Returns the unwrapped value.\n */\n function lazyValue() {\n var array = this.__wrapped__.value(),\n dir = this.__dir__,\n isArr = isArray(array),\n isRight = dir < 0,\n arrLength = isArr ? array.length : 0,\n view = getView(0, arrLength, this.__views__),\n start = view.start,\n end = view.end,\n length = end - start,\n index = isRight ? end : (start - 1),\n iteratees = this.__iteratees__,\n iterLength = iteratees.length,\n resIndex = 0,\n takeCount = nativeMin(length, this.__takeCount__);\n\n if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n return baseWrapperValue(array, this.__actions__);\n }\n var result = [];\n\n outer:\n while (length-- && resIndex < takeCount) {\n index += dir;\n\n var iterIndex = -1,\n value = array[index];\n\n while (++iterIndex < iterLength) {\n var data = iteratees[iterIndex],\n iteratee = data.iteratee,\n type = data.type,\n computed = iteratee(value);\n\n if (type == LAZY_MAP_FLAG) {\n value = computed;\n } else if (!computed) {\n if (type == LAZY_FILTER_FLAG) {\n continue outer;\n } else {\n break outer;\n }\n }\n }\n result[resIndex++] = value;\n }\n return result;\n }\n\n // Ensure `LazyWrapper` is an instance of `baseLodash`.\n LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n LazyWrapper.prototype.constructor = LazyWrapper;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\n function hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n }\n\n /**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n }\n\n /**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\n function hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n }\n\n // Add methods to `Hash`.\n Hash.prototype.clear = hashClear;\n Hash.prototype['delete'] = hashDelete;\n Hash.prototype.get = hashGet;\n Hash.prototype.has = hashHas;\n Hash.prototype.set = hashSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\n function listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n }\n\n /**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n }\n\n /**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n }\n\n /**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\n function listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n }\n\n // Add methods to `ListCache`.\n ListCache.prototype.clear = listCacheClear;\n ListCache.prototype['delete'] = listCacheDelete;\n ListCache.prototype.get = listCacheGet;\n ListCache.prototype.has = listCacheHas;\n ListCache.prototype.set = listCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n }\n\n /**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\n function mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n }\n\n /**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n }\n\n /**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function mapCacheGet(key) {\n return getMapData(this, key).get(key);\n }\n\n /**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function mapCacheHas(key) {\n return getMapData(this, key).has(key);\n }\n\n /**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n function mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n }\n\n // Add methods to `MapCache`.\n MapCache.prototype.clear = mapCacheClear;\n MapCache.prototype['delete'] = mapCacheDelete;\n MapCache.prototype.get = mapCacheGet;\n MapCache.prototype.has = mapCacheHas;\n MapCache.prototype.set = mapCacheSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\n function SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n }\n\n /**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\n function setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n }\n\n /**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\n function setCacheHas(value) {\n return this.__data__.has(value);\n }\n\n // Add methods to `SetCache`.\n SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n SetCache.prototype.has = setCacheHas;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\n function Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n }\n\n /**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\n function stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n }\n\n /**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\n function stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n }\n\n /**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\n function stackGet(key) {\n return this.__data__.get(key);\n }\n\n /**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\n function stackHas(key) {\n return this.__data__.has(key);\n }\n\n /**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\n function stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n }\n\n // Add methods to `Stack`.\n Stack.prototype.clear = stackClear;\n Stack.prototype['delete'] = stackDelete;\n Stack.prototype.get = stackGet;\n Stack.prototype.has = stackHas;\n Stack.prototype.set = stackSet;\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\n function arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `_.sample` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @returns {*} Returns the random element.\n */\n function arraySample(array) {\n var length = array.length;\n return length ? array[baseRandom(0, length - 1)] : undefined;\n }\n\n /**\n * A specialized version of `_.sampleSize` for arrays.\n *\n * @private\n * @param {Array} array The array to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function arraySampleSize(array, n) {\n return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n }\n\n /**\n * A specialized version of `_.shuffle` for arrays.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function arrayShuffle(array) {\n return shuffleSelf(copyArray(array));\n }\n\n /**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n }\n\n /**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n\n /**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n }\n\n /**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\n function baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n }\n\n /**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\n function baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n }\n\n /**\n * The base implementation of `_.at` without support for individual paths.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {string[]} paths The property paths to pick.\n * @returns {Array} Returns the picked elements.\n */\n function baseAt(object, paths) {\n var index = -1,\n length = paths.length,\n result = Array(length),\n skip = object == null;\n\n while (++index < length) {\n result[index] = skip ? undefined : get(object, paths[index]);\n }\n return result;\n }\n\n /**\n * The base implementation of `_.clamp` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n */\n function baseClamp(number, lower, upper) {\n if (number === number) {\n if (upper !== undefined) {\n number = number <= upper ? number : upper;\n }\n if (lower !== undefined) {\n number = number >= lower ? number : lower;\n }\n }\n return number;\n }\n\n /**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\n function baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n }\n\n /**\n * The base implementation of `_.conforms` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property predicates to conform to.\n * @returns {Function} Returns the new spec function.\n */\n function baseConforms(source) {\n var props = keys(source);\n return function(object) {\n return baseConformsTo(object, source, props);\n };\n }\n\n /**\n * The base implementation of `_.conformsTo` which accepts `props` to check.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n */\n function baseConformsTo(object, source, props) {\n var length = props.length;\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (length--) {\n var key = props[length],\n predicate = source[key],\n value = object[key];\n\n if ((value === undefined && !(key in object)) || !predicate(value)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.delay` and `_.defer` which accepts `args`\n * to provide to `func`.\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {Array} args The arguments to provide to `func`.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n function baseDelay(func, wait, args) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return setTimeout(function() { func.apply(undefined, args); }, wait);\n }\n\n /**\n * The base implementation of methods like `_.difference` without support\n * for excluding multiple arrays or iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Array} values The values to exclude.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n */\n function baseDifference(array, values, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n isCommon = true,\n length = array.length,\n result = [],\n valuesLength = values.length;\n\n if (!length) {\n return result;\n }\n if (iteratee) {\n values = arrayMap(values, baseUnary(iteratee));\n }\n if (comparator) {\n includes = arrayIncludesWith;\n isCommon = false;\n }\n else if (values.length >= LARGE_ARRAY_SIZE) {\n includes = cacheHas;\n isCommon = false;\n values = new SetCache(values);\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee == null ? value : iteratee(value);\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var valuesIndex = valuesLength;\n while (valuesIndex--) {\n if (values[valuesIndex] === computed) {\n continue outer;\n }\n }\n result.push(value);\n }\n else if (!includes(values, computed, comparator)) {\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEach = createBaseEach(baseForOwn);\n\n /**\n * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\n var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n /**\n * The base implementation of `_.every` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`\n */\n function baseEvery(collection, predicate) {\n var result = true;\n baseEach(collection, function(value, index, collection) {\n result = !!predicate(value, index, collection);\n return result;\n });\n return result;\n }\n\n /**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\n function baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.fill` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n */\n function baseFill(array, value, start, end) {\n var length = array.length;\n\n start = toInteger(start);\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = (end === undefined || end > length) ? length : toInteger(end);\n if (end < 0) {\n end += length;\n }\n end = start > end ? 0 : toLength(end);\n while (start < end) {\n array[start++] = value;\n }\n return array;\n }\n\n /**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\n function baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n }\n\n /**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\n function baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseFor = createBaseFor();\n\n /**\n * This function is like `baseFor` except that it iterates over properties\n * in the opposite order.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\n var baseForRight = createBaseFor(true);\n\n /**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\n function baseForOwnRight(object, iteratee) {\n return object && baseForRight(object, iteratee, keys);\n }\n\n /**\n * The base implementation of `_.functions` which creates an array of\n * `object` function property names filtered from `props`.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Array} props The property names to filter.\n * @returns {Array} Returns the function names.\n */\n function baseFunctions(object, props) {\n return arrayFilter(props, function(key) {\n return isFunction(object[key]);\n });\n }\n\n /**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\n function baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n }\n\n /**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n }\n\n /**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n function baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n }\n\n /**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\n function baseGt(value, other) {\n return value > other;\n }\n\n /**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n }\n\n /**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\n function baseHasIn(object, key) {\n return object != null && key in Object(object);\n }\n\n /**\n * The base implementation of `_.inRange` which doesn't coerce arguments.\n *\n * @private\n * @param {number} number The number to check.\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n */\n function baseInRange(number, start, end) {\n return number >= nativeMin(start, end) && number < nativeMax(start, end);\n }\n\n /**\n * The base implementation of methods like `_.intersection`, without support\n * for iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of shared values.\n */\n function baseIntersection(arrays, iteratee, comparator) {\n var includes = comparator ? arrayIncludesWith : arrayIncludes,\n length = arrays[0].length,\n othLength = arrays.length,\n othIndex = othLength,\n caches = Array(othLength),\n maxLength = Infinity,\n result = [];\n\n while (othIndex--) {\n var array = arrays[othIndex];\n if (othIndex && iteratee) {\n array = arrayMap(array, baseUnary(iteratee));\n }\n maxLength = nativeMin(array.length, maxLength);\n caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n ? new SetCache(othIndex && array)\n : undefined;\n }\n array = arrays[0];\n\n var index = -1,\n seen = caches[0];\n\n outer:\n while (++index < length && result.length < maxLength) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (!(seen\n ? cacheHas(seen, computed)\n : includes(result, computed, comparator)\n )) {\n othIndex = othLength;\n while (--othIndex) {\n var cache = caches[othIndex];\n if (!(cache\n ? cacheHas(cache, computed)\n : includes(arrays[othIndex], computed, comparator))\n ) {\n continue outer;\n }\n }\n if (seen) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.invert` and `_.invertBy` which inverts\n * `object` with values transformed by `iteratee` and set by `setter`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform values.\n * @param {Object} accumulator The initial inverted object.\n * @returns {Function} Returns `accumulator`.\n */\n function baseInverter(object, setter, iteratee, accumulator) {\n baseForOwn(object, function(value, key, object) {\n setter(accumulator, iteratee(value), key, object);\n });\n return accumulator;\n }\n\n /**\n * The base implementation of `_.invoke` without support for individual\n * method arguments.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {Array} args The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n */\n function baseInvoke(object, path, args) {\n path = castPath(path, object);\n object = parent(object, path);\n var func = object == null ? object : object[toKey(last(path))];\n return func == null ? undefined : apply(func, object, args);\n }\n\n /**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\n function baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n }\n\n /**\n * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n */\n function baseIsArrayBuffer(value) {\n return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n }\n\n /**\n * The base implementation of `_.isDate` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n */\n function baseIsDate(value) {\n return isObjectLike(value) && baseGetTag(value) == dateTag;\n }\n\n /**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\n function baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n }\n\n /**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n }\n\n /**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\n function baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n }\n\n /**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\n function baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n }\n\n /**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\n function baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n\n /**\n * The base implementation of `_.isRegExp` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n */\n function baseIsRegExp(value) {\n return isObjectLike(value) && baseGetTag(value) == regexpTag;\n }\n\n /**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\n function baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n }\n\n /**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\n function baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n }\n\n /**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\n function baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n }\n\n /**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\n function baseLt(value, other) {\n return value < other;\n }\n\n /**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\n function baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n }\n\n /**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n }\n\n /**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n }\n\n /**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n }\n\n /**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\n function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n }\n\n /**\n * The base implementation of `_.nth` which doesn't coerce arguments.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {number} n The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n */\n function baseNth(array, n) {\n var length = array.length;\n if (!length) {\n return;\n }\n n += n < 0 ? length : 0;\n return isIndex(n, length) ? array[n] : undefined;\n }\n\n /**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\n function baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n }\n\n /**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\n function basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n }\n\n /**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\n function basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n }\n\n /**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\n function basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n }\n\n /**\n * The base implementation of `_.pullAllBy` without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n */\n function basePullAll(array, values, iteratee, comparator) {\n var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n index = -1,\n length = values.length,\n seen = array;\n\n if (array === values) {\n values = copyArray(values);\n }\n if (iteratee) {\n seen = arrayMap(array, baseUnary(iteratee));\n }\n while (++index < length) {\n var fromIndex = 0,\n value = values[index],\n computed = iteratee ? iteratee(value) : value;\n\n while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n if (seen !== array) {\n splice.call(seen, fromIndex, 1);\n }\n splice.call(array, fromIndex, 1);\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.pullAt` without support for individual\n * indexes or capturing the removed elements.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {number[]} indexes The indexes of elements to remove.\n * @returns {Array} Returns `array`.\n */\n function basePullAt(array, indexes) {\n var length = array ? indexes.length : 0,\n lastIndex = length - 1;\n\n while (length--) {\n var index = indexes[length];\n if (length == lastIndex || index !== previous) {\n var previous = index;\n if (isIndex(index)) {\n splice.call(array, index, 1);\n } else {\n baseUnset(array, index);\n }\n }\n }\n return array;\n }\n\n /**\n * The base implementation of `_.random` without support for returning\n * floating-point numbers.\n *\n * @private\n * @param {number} lower The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the random number.\n */\n function baseRandom(lower, upper) {\n return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n }\n\n /**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\n function baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n }\n\n /**\n * The base implementation of `_.repeat` which doesn't coerce arguments.\n *\n * @private\n * @param {string} string The string to repeat.\n * @param {number} n The number of times to repeat the string.\n * @returns {string} Returns the repeated string.\n */\n function baseRepeat(string, n) {\n var result = '';\n if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n return result;\n }\n // Leverage the exponentiation by squaring algorithm for a faster repeat.\n // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n do {\n if (n % 2) {\n result += string;\n }\n n = nativeFloor(n / 2);\n if (n) {\n string += string;\n }\n } while (n);\n\n return result;\n }\n\n /**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\n function baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n }\n\n /**\n * The base implementation of `_.sample`.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n */\n function baseSample(collection) {\n return arraySample(values(collection));\n }\n\n /**\n * The base implementation of `_.sampleSize` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to sample.\n * @param {number} n The number of elements to sample.\n * @returns {Array} Returns the random elements.\n */\n function baseSampleSize(collection, n) {\n var array = values(collection);\n return shuffleSelf(array, baseClamp(n, 0, array.length));\n }\n\n /**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n }\n\n /**\n * The base implementation of `setData` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var baseSetData = !metaMap ? identity : function(func, data) {\n metaMap.set(func, data);\n return func;\n };\n\n /**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n };\n\n /**\n * The base implementation of `_.shuffle`.\n *\n * @private\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n */\n function baseShuffle(collection) {\n return shuffleSelf(values(collection));\n }\n\n /**\n * The base implementation of `_.slice` without an iteratee call guard.\n *\n * @private\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseSlice(array, start, end) {\n var index = -1,\n length = array.length;\n\n if (start < 0) {\n start = -start > length ? 0 : (length + start);\n }\n end = end > length ? length : end;\n if (end < 0) {\n end += length;\n }\n length = start > end ? 0 : ((end - start) >>> 0);\n start >>>= 0;\n\n var result = Array(length);\n while (++index < length) {\n result[index] = array[index + start];\n }\n return result;\n }\n\n /**\n * The base implementation of `_.some` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\n function baseSome(collection, predicate) {\n var result;\n\n baseEach(collection, function(value, index, collection) {\n result = predicate(value, index, collection);\n return !result;\n });\n return !!result;\n }\n\n /**\n * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n * performs a binary search of `array` to determine the index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndex(array, value, retHighest) {\n var low = 0,\n high = array == null ? low : array.length;\n\n if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n while (low < high) {\n var mid = (low + high) >>> 1,\n computed = array[mid];\n\n if (computed !== null && !isSymbol(computed) &&\n (retHighest ? (computed <= value) : (computed < value))) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return high;\n }\n return baseSortedIndexBy(array, value, identity, retHighest);\n }\n\n /**\n * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n * which invokes `iteratee` for `value` and each element of `array` to compute\n * their sort ranking. The iteratee is invoked with one argument; (value).\n *\n * @private\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} iteratee The iteratee invoked per element.\n * @param {boolean} [retHighest] Specify returning the highest qualified index.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n */\n function baseSortedIndexBy(array, value, iteratee, retHighest) {\n var low = 0,\n high = array == null ? 0 : array.length;\n if (high === 0) {\n return 0;\n }\n\n value = iteratee(value);\n var valIsNaN = value !== value,\n valIsNull = value === null,\n valIsSymbol = isSymbol(value),\n valIsUndefined = value === undefined;\n\n while (low < high) {\n var mid = nativeFloor((low + high) / 2),\n computed = iteratee(array[mid]),\n othIsDefined = computed !== undefined,\n othIsNull = computed === null,\n othIsReflexive = computed === computed,\n othIsSymbol = isSymbol(computed);\n\n if (valIsNaN) {\n var setLow = retHighest || othIsReflexive;\n } else if (valIsUndefined) {\n setLow = othIsReflexive && (retHighest || othIsDefined);\n } else if (valIsNull) {\n setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n } else if (valIsSymbol) {\n setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n } else if (othIsNull || othIsSymbol) {\n setLow = false;\n } else {\n setLow = retHighest ? (computed <= value) : (computed < value);\n }\n if (setLow) {\n low = mid + 1;\n } else {\n high = mid;\n }\n }\n return nativeMin(high, MAX_ARRAY_INDEX);\n }\n\n /**\n * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseSortedUniq(array, iteratee) {\n var index = -1,\n length = array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n if (!index || !eq(computed, seen)) {\n var seen = computed;\n result[resIndex++] = value === 0 ? 0 : value;\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.toNumber` which doesn't ensure correct\n * conversions of binary, hexadecimal, or octal string values.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n */\n function baseToNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n return +value;\n }\n\n /**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\n function baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\n function baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n }\n\n /**\n * The base implementation of `_.unset`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The property path to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n */\n function baseUnset(object, path) {\n path = castPath(path, object);\n object = parent(object, path);\n return object == null || delete object[toKey(last(path))];\n }\n\n /**\n * The base implementation of `_.update`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to update.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\n function baseUpdate(object, path, updater, customizer) {\n return baseSet(object, path, updater(baseGet(object, path)), customizer);\n }\n\n /**\n * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n * without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to query.\n * @param {Function} predicate The function invoked per iteration.\n * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the slice of `array`.\n */\n function baseWhile(array, predicate, isDrop, fromRight) {\n var length = array.length,\n index = fromRight ? length : -1;\n\n while ((fromRight ? index-- : ++index < length) &&\n predicate(array[index], index, array)) {}\n\n return isDrop\n ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n }\n\n /**\n * The base implementation of `wrapperValue` which returns the result of\n * performing a sequence of actions on the unwrapped `value`, where each\n * successive action is supplied the return value of the previous.\n *\n * @private\n * @param {*} value The unwrapped value.\n * @param {Array} actions Actions to perform to resolve the unwrapped value.\n * @returns {*} Returns the resolved value.\n */\n function baseWrapperValue(value, actions) {\n var result = value;\n if (result instanceof LazyWrapper) {\n result = result.value();\n }\n return arrayReduce(actions, function(result, action) {\n return action.func.apply(action.thisArg, arrayPush([result], action.args));\n }, result);\n }\n\n /**\n * The base implementation of methods like `_.xor`, without support for\n * iteratee shorthands, that accepts an array of arrays to inspect.\n *\n * @private\n * @param {Array} arrays The arrays to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of values.\n */\n function baseXor(arrays, iteratee, comparator) {\n var length = arrays.length;\n if (length < 2) {\n return length ? baseUniq(arrays[0]) : [];\n }\n var index = -1,\n result = Array(length);\n\n while (++index < length) {\n var array = arrays[index],\n othIndex = -1;\n\n while (++othIndex < length) {\n if (othIndex != index) {\n result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n }\n }\n }\n return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n }\n\n /**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\n function baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n }\n\n /**\n * Casts `value` to an empty array if it's not an array like object.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array|Object} Returns the cast array-like object.\n */\n function castArrayLikeObject(value) {\n return isArrayLikeObject(value) ? value : [];\n }\n\n /**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\n function castFunction(value) {\n return typeof value == 'function' ? value : identity;\n }\n\n /**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\n function castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n }\n\n /**\n * A `baseRest` alias which can be replaced with `identity` by module\n * replacement plugins.\n *\n * @private\n * @type {Function}\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n var castRest = baseRest;\n\n /**\n * Casts `array` to a slice if it's needed.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {number} start The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the cast slice.\n */\n function castSlice(array, start, end) {\n var length = array.length;\n end = end === undefined ? length : end;\n return (!start && end >= length) ? array : baseSlice(array, start, end);\n }\n\n /**\n * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n *\n * @private\n * @param {number|Object} id The timer id or timeout object of the timer to clear.\n */\n var clearTimeout = ctxClearTimeout || function(id) {\n return root.clearTimeout(id);\n };\n\n /**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\n function cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n }\n\n /**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n function cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n }\n\n /**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\n function cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n }\n\n /**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\n function cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n }\n\n /**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\n function cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n }\n\n /**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\n function cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n }\n\n /**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\n function compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n }\n\n /**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\n function compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n }\n\n /**\n * Creates an array that is the composition of partially applied arguments,\n * placeholders, and provided arguments into a single array of arguments.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to prepend to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgs(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersLength = holders.length,\n leftIndex = -1,\n leftLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(leftLength + rangeLength),\n isUncurried = !isCurried;\n\n while (++leftIndex < leftLength) {\n result[leftIndex] = partials[leftIndex];\n }\n while (++argsIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[holders[argsIndex]] = args[argsIndex];\n }\n }\n while (rangeLength--) {\n result[leftIndex++] = args[argsIndex++];\n }\n return result;\n }\n\n /**\n * This function is like `composeArgs` except that the arguments composition\n * is tailored for `_.partialRight`.\n *\n * @private\n * @param {Array} args The provided arguments.\n * @param {Array} partials The arguments to append to those provided.\n * @param {Array} holders The `partials` placeholder indexes.\n * @params {boolean} [isCurried] Specify composing for a curried function.\n * @returns {Array} Returns the new array of composed arguments.\n */\n function composeArgsRight(args, partials, holders, isCurried) {\n var argsIndex = -1,\n argsLength = args.length,\n holdersIndex = -1,\n holdersLength = holders.length,\n rightIndex = -1,\n rightLength = partials.length,\n rangeLength = nativeMax(argsLength - holdersLength, 0),\n result = Array(rangeLength + rightLength),\n isUncurried = !isCurried;\n\n while (++argsIndex < rangeLength) {\n result[argsIndex] = args[argsIndex];\n }\n var offset = argsIndex;\n while (++rightIndex < rightLength) {\n result[offset + rightIndex] = partials[rightIndex];\n }\n while (++holdersIndex < holdersLength) {\n if (isUncurried || argsIndex < argsLength) {\n result[offset + holders[holdersIndex]] = args[argsIndex++];\n }\n }\n return result;\n }\n\n /**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\n function copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n }\n\n /**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\n function copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n }\n\n /**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n }\n\n /**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\n function copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n }\n\n /**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\n function createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n };\n }\n\n /**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\n function createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n }\n\n /**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n }\n\n /**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\n function createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the optional `this`\n * binding of `thisArg`.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createBind(func, bitmask, thisArg) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return fn.apply(isBind ? thisArg : this, arguments);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.lowerFirst`.\n *\n * @private\n * @param {string} methodName The name of the `String` case method to use.\n * @returns {Function} Returns the new case function.\n */\n function createCaseFirst(methodName) {\n return function(string) {\n string = toString(string);\n\n var strSymbols = hasUnicode(string)\n ? stringToArray(string)\n : undefined;\n\n var chr = strSymbols\n ? strSymbols[0]\n : string.charAt(0);\n\n var trailing = strSymbols\n ? castSlice(strSymbols, 1).join('')\n : string.slice(1);\n\n return chr[methodName]() + trailing;\n };\n }\n\n /**\n * Creates a function like `_.camelCase`.\n *\n * @private\n * @param {Function} callback The function to combine each word.\n * @returns {Function} Returns the new compounder function.\n */\n function createCompounder(callback) {\n return function(string) {\n return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n };\n }\n\n /**\n * Creates a function that produces an instance of `Ctor` regardless of\n * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n *\n * @private\n * @param {Function} Ctor The constructor to wrap.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCtor(Ctor) {\n return function() {\n // Use a `switch` statement to work with class constructors. See\n // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n // for more details.\n var args = arguments;\n switch (args.length) {\n case 0: return new Ctor;\n case 1: return new Ctor(args[0]);\n case 2: return new Ctor(args[0], args[1]);\n case 3: return new Ctor(args[0], args[1], args[2]);\n case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n }\n var thisBinding = baseCreate(Ctor.prototype),\n result = Ctor.apply(thisBinding, args);\n\n // Mimic the constructor's `return` behavior.\n // See https://es5.github.io/#x13.2.2 for more details.\n return isObject(result) ? result : thisBinding;\n };\n }\n\n /**\n * Creates a function that wraps `func` to enable currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {number} arity The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createCurry(func, bitmask, arity) {\n var Ctor = createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length,\n placeholder = getHolder(wrapper);\n\n while (index--) {\n args[index] = arguments[index];\n }\n var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n ? []\n : replaceHolders(args, placeholder);\n\n length -= holders.length;\n if (length < arity) {\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, undefined,\n args, holders, undefined, undefined, arity - length);\n }\n var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n return apply(fn, this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\n function createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = getIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n }\n\n /**\n * Creates a `_.flow` or `_.flowRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new flow function.\n */\n function createFlow(fromRight) {\n return flatRest(function(funcs) {\n var length = funcs.length,\n index = length,\n prereq = LodashWrapper.prototype.thru;\n\n if (fromRight) {\n funcs.reverse();\n }\n while (index--) {\n var func = funcs[index];\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n var wrapper = new LodashWrapper([], true);\n }\n }\n index = wrapper ? index : length;\n while (++index < length) {\n func = funcs[index];\n\n var funcName = getFuncName(func),\n data = funcName == 'wrapper' ? getData(func) : undefined;\n\n if (data && isLaziable(data[0]) &&\n data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n !data[4].length && data[9] == 1\n ) {\n wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n } else {\n wrapper = (func.length == 1 && isLaziable(func))\n ? wrapper[funcName]()\n : wrapper.thru(func);\n }\n }\n return function() {\n var args = arguments,\n value = args[0];\n\n if (wrapper && args.length == 1 && isArray(value)) {\n return wrapper.plant(value).value();\n }\n var index = 0,\n result = length ? funcs[index].apply(this, args) : value;\n\n while (++index < length) {\n result = funcs[index].call(this, result);\n }\n return result;\n };\n });\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with optional `this`\n * binding of `thisArg`, partial application, and currying.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [partialsRight] The arguments to append to those provided\n * to the new function.\n * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n var isAry = bitmask & WRAP_ARY_FLAG,\n isBind = bitmask & WRAP_BIND_FLAG,\n isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n isFlip = bitmask & WRAP_FLIP_FLAG,\n Ctor = isBindKey ? undefined : createCtor(func);\n\n function wrapper() {\n var length = arguments.length,\n args = Array(length),\n index = length;\n\n while (index--) {\n args[index] = arguments[index];\n }\n if (isCurried) {\n var placeholder = getHolder(wrapper),\n holdersCount = countHolders(args, placeholder);\n }\n if (partials) {\n args = composeArgs(args, partials, holders, isCurried);\n }\n if (partialsRight) {\n args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n }\n length -= holdersCount;\n if (isCurried && length < arity) {\n var newHolders = replaceHolders(args, placeholder);\n return createRecurry(\n func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n args, newHolders, argPos, ary, arity - length\n );\n }\n var thisBinding = isBind ? thisArg : this,\n fn = isBindKey ? thisBinding[func] : func;\n\n length = args.length;\n if (argPos) {\n args = reorder(args, argPos);\n } else if (isFlip && length > 1) {\n args.reverse();\n }\n if (isAry && ary < length) {\n args.length = ary;\n }\n if (this && this !== root && this instanceof wrapper) {\n fn = Ctor || createCtor(fn);\n }\n return fn.apply(thisBinding, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a function like `_.invertBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} toIteratee The function to resolve iteratees.\n * @returns {Function} Returns the new inverter function.\n */\n function createInverter(setter, toIteratee) {\n return function(object, iteratee) {\n return baseInverter(object, setter, toIteratee(iteratee), {});\n };\n }\n\n /**\n * Creates a function that performs a mathematical operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @param {number} [defaultValue] The value used for `undefined` arguments.\n * @returns {Function} Returns the new mathematical operation function.\n */\n function createMathOperation(operator, defaultValue) {\n return function(value, other) {\n var result;\n if (value === undefined && other === undefined) {\n return defaultValue;\n }\n if (value !== undefined) {\n result = value;\n }\n if (other !== undefined) {\n if (result === undefined) {\n return other;\n }\n if (typeof value == 'string' || typeof other == 'string') {\n value = baseToString(value);\n other = baseToString(other);\n } else {\n value = baseToNumber(value);\n other = baseToNumber(other);\n }\n result = operator(value, other);\n }\n return result;\n };\n }\n\n /**\n * Creates a function like `_.over`.\n *\n * @private\n * @param {Function} arrayFunc The function to iterate over iteratees.\n * @returns {Function} Returns the new over function.\n */\n function createOver(arrayFunc) {\n return flatRest(function(iteratees) {\n iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n return baseRest(function(args) {\n var thisArg = this;\n return arrayFunc(iteratees, function(iteratee) {\n return apply(iteratee, thisArg, args);\n });\n });\n });\n }\n\n /**\n * Creates the padding for `string` based on `length`. The `chars` string\n * is truncated if the number of characters exceeds `length`.\n *\n * @private\n * @param {number} length The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padding for `string`.\n */\n function createPadding(length, chars) {\n chars = chars === undefined ? ' ' : baseToString(chars);\n\n var charsLength = chars.length;\n if (charsLength < 2) {\n return charsLength ? baseRepeat(chars, length) : chars;\n }\n var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n return hasUnicode(chars)\n ? castSlice(stringToArray(result), 0, length).join('')\n : result.slice(0, length);\n }\n\n /**\n * Creates a function that wraps `func` to invoke it with the `this` binding\n * of `thisArg` and `partials` prepended to the arguments it receives.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} partials The arguments to prepend to those provided to\n * the new function.\n * @returns {Function} Returns the new wrapped function.\n */\n function createPartial(func, bitmask, thisArg, partials) {\n var isBind = bitmask & WRAP_BIND_FLAG,\n Ctor = createCtor(func);\n\n function wrapper() {\n var argsIndex = -1,\n argsLength = arguments.length,\n leftIndex = -1,\n leftLength = partials.length,\n args = Array(leftLength + argsLength),\n fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n while (++leftIndex < leftLength) {\n args[leftIndex] = partials[leftIndex];\n }\n while (argsLength--) {\n args[leftIndex++] = arguments[++argsIndex];\n }\n return apply(fn, isBind ? thisArg : this, args);\n }\n return wrapper;\n }\n\n /**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\n function createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n }\n\n /**\n * Creates a function that performs a relational operation on two values.\n *\n * @private\n * @param {Function} operator The function to perform the operation.\n * @returns {Function} Returns the new relational operation function.\n */\n function createRelationalOperation(operator) {\n return function(value, other) {\n if (!(typeof value == 'string' && typeof other == 'string')) {\n value = toNumber(value);\n other = toNumber(other);\n }\n return operator(value, other);\n };\n }\n\n /**\n * Creates a function that wraps `func` to continue currying.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @param {Function} wrapFunc The function to create the `func` wrapper.\n * @param {*} placeholder The placeholder value.\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to prepend to those provided to\n * the new function.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n var isCurry = bitmask & WRAP_CURRY_FLAG,\n newHolders = isCurry ? holders : undefined,\n newHoldersRight = isCurry ? undefined : holders,\n newPartials = isCurry ? partials : undefined,\n newPartialsRight = isCurry ? undefined : partials;\n\n bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n }\n var newData = [\n func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n newHoldersRight, argPos, ary, arity\n ];\n\n var result = wrapFunc.apply(undefined, newData);\n if (isLaziable(func)) {\n setData(result, newData);\n }\n result.placeholder = placeholder;\n return setWrapToString(result, func, bitmask);\n }\n\n /**\n * Creates a function like `_.round`.\n *\n * @private\n * @param {string} methodName The name of the `Math` method to use when rounding.\n * @returns {Function} Returns the new round function.\n */\n function createRound(methodName) {\n var func = Math[methodName];\n return function(number, precision) {\n number = toNumber(number);\n precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n if (precision && nativeIsFinite(number)) {\n // Shift with exponential notation to avoid floating-point issues.\n // See [MDN](https://mdn.io/round#Examples) for more details.\n var pair = (toString(number) + 'e').split('e'),\n value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n pair = (toString(value) + 'e').split('e');\n return +(pair[0] + 'e' + (+pair[1] - precision));\n }\n return func(number);\n };\n }\n\n /**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n };\n\n /**\n * Creates a `_.toPairs` or `_.toPairsIn` function.\n *\n * @private\n * @param {Function} keysFunc The function to get the keys of a given object.\n * @returns {Function} Returns the new pairs function.\n */\n function createToPairs(keysFunc) {\n return function(object) {\n var tag = getTag(object);\n if (tag == mapTag) {\n return mapToArray(object);\n }\n if (tag == setTag) {\n return setToPairs(object);\n }\n return baseToPairs(object, keysFunc(object));\n };\n }\n\n /**\n * Creates a function that either curries or invokes `func` with optional\n * `this` binding and partially applied arguments.\n *\n * @private\n * @param {Function|string} func The function or method name to wrap.\n * @param {number} bitmask The bitmask flags.\n * 1 - `_.bind`\n * 2 - `_.bindKey`\n * 4 - `_.curry` or `_.curryRight` of a bound function\n * 8 - `_.curry`\n * 16 - `_.curryRight`\n * 32 - `_.partial`\n * 64 - `_.partialRight`\n * 128 - `_.rearg`\n * 256 - `_.ary`\n * 512 - `_.flip`\n * @param {*} [thisArg] The `this` binding of `func`.\n * @param {Array} [partials] The arguments to be partially applied.\n * @param {Array} [holders] The `partials` placeholder indexes.\n * @param {Array} [argPos] The argument positions of the new function.\n * @param {number} [ary] The arity cap of `func`.\n * @param {number} [arity] The arity of `func`.\n * @returns {Function} Returns the new wrapped function.\n */\n function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n if (!isBindKey && typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var length = partials ? partials.length : 0;\n if (!length) {\n bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n partials = holders = undefined;\n }\n ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n arity = arity === undefined ? arity : toInteger(arity);\n length -= holders ? holders.length : 0;\n\n if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n var partialsRight = partials,\n holdersRight = holders;\n\n partials = holders = undefined;\n }\n var data = isBindKey ? undefined : getData(func);\n\n var newData = [\n func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n argPos, ary, arity\n ];\n\n if (data) {\n mergeData(newData, data);\n }\n func = newData[0];\n bitmask = newData[1];\n thisArg = newData[2];\n partials = newData[3];\n holders = newData[4];\n arity = newData[9] = newData[9] === undefined\n ? (isBindKey ? 0 : func.length)\n : nativeMax(newData[9] - length, 0);\n\n if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n }\n if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n var result = createBind(func, bitmask, thisArg);\n } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n result = createCurry(func, bitmask, arity);\n } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n result = createPartial(func, bitmask, thisArg, partials);\n } else {\n result = createHybrid.apply(undefined, newData);\n }\n var setter = data ? baseSetData : setData;\n return setWrapToString(setter(result, newData), func, bitmask);\n }\n\n /**\n * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n * of source objects to the destination object for all destination properties\n * that resolve to `undefined`.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to assign.\n * @param {Object} object The parent object of `objValue`.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsAssignIn(objValue, srcValue, key, object) {\n if (objValue === undefined ||\n (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n return srcValue;\n }\n return objValue;\n }\n\n /**\n * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n * objects into destination objects that are passed thru.\n *\n * @private\n * @param {*} objValue The destination value.\n * @param {*} srcValue The source value.\n * @param {string} key The key of the property to merge.\n * @param {Object} object The parent object of `objValue`.\n * @param {Object} source The parent object of `srcValue`.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n * @returns {*} Returns the value to assign.\n */\n function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n if (isObject(objValue) && isObject(srcValue)) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, objValue);\n baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n stack['delete'](srcValue);\n }\n return objValue;\n }\n\n /**\n * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n * objects.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {string} key The key of the property to inspect.\n * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n */\n function customOmitClone(value) {\n return isPlainObject(value) ? undefined : value;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\n function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n }\n\n /**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\n function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n }\n\n /**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\n function flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n }\n\n /**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n }\n\n /**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\n function getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n }\n\n /**\n * Gets metadata for `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {*} Returns the metadata for `func`.\n */\n var getData = !metaMap ? noop : function(func) {\n return metaMap.get(func);\n };\n\n /**\n * Gets the name of `func`.\n *\n * @private\n * @param {Function} func The function to query.\n * @returns {string} Returns the function name.\n */\n function getFuncName(func) {\n var result = (func.name + ''),\n array = realNames[result],\n length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n while (length--) {\n var data = array[length],\n otherFunc = data.func;\n if (otherFunc == null || otherFunc == func) {\n return data.name;\n }\n }\n return result;\n }\n\n /**\n * Gets the argument placeholder value for `func`.\n *\n * @private\n * @param {Function} func The function to inspect.\n * @returns {*} Returns the placeholder value.\n */\n function getHolder(func) {\n var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n return object.placeholder;\n }\n\n /**\n * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n * this function returns the custom method, otherwise it returns `baseIteratee`.\n * If arguments are provided, the chosen function is invoked with them and\n * its result is returned.\n *\n * @private\n * @param {*} [value] The value to convert to an iteratee.\n * @param {number} [arity] The arity of the created iteratee.\n * @returns {Function} Returns the chosen function or its result.\n */\n function getIteratee() {\n var result = lodash.iteratee || iteratee;\n result = result === iteratee ? baseIteratee : result;\n return arguments.length ? result(arguments[0], arguments[1]) : result;\n }\n\n /**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\n function getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n }\n\n /**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\n function getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n }\n\n /**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\n function getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n }\n\n /**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\n function getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n }\n\n /**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n };\n\n /**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\n var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n };\n\n /**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\n var getTag = baseGetTag;\n\n // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n }\n\n /**\n * Gets the view, applying any `transforms` to the `start` and `end` positions.\n *\n * @private\n * @param {number} start The start of the view.\n * @param {number} end The end of the view.\n * @param {Array} transforms The transformations to apply to the view.\n * @returns {Object} Returns an object containing the `start` and `end`\n * positions of the view.\n */\n function getView(start, end, transforms) {\n var index = -1,\n length = transforms.length;\n\n while (++index < length) {\n var data = transforms[index],\n size = data.size;\n\n switch (data.type) {\n case 'drop': start += size; break;\n case 'dropRight': end -= size; break;\n case 'take': end = nativeMin(end, start + size); break;\n case 'takeRight': start = nativeMax(start, end - size); break;\n }\n }\n return { 'start': start, 'end': end };\n }\n\n /**\n * Extracts wrapper details from the `source` body comment.\n *\n * @private\n * @param {string} source The source to inspect.\n * @returns {Array} Returns the wrapper details.\n */\n function getWrapDetails(source) {\n var match = source.match(reWrapDetails);\n return match ? match[1].split(reSplitDetails) : [];\n }\n\n /**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\n function hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n }\n\n /**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\n function initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n }\n\n /**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n }\n\n /**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\n function initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n }\n\n /**\n * Inserts wrapper `details` in a comment at the top of the `source` body.\n *\n * @private\n * @param {string} source The source to modify.\n * @returns {Array} details The details to insert.\n * @returns {string} Returns the modified source.\n */\n function insertWrapDetails(source, details) {\n var length = details.length;\n if (!length) {\n return source;\n }\n var lastIndex = length - 1;\n details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n details = details.join(length > 2 ? ', ' : ' ');\n return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n }\n\n /**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\n function isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n }\n\n /**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\n function isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n }\n\n /**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\n function isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n }\n\n /**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\n function isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n }\n\n /**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\n function isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n }\n\n /**\n * Checks if `func` has a lazy counterpart.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n * else `false`.\n */\n function isLaziable(func) {\n var funcName = getFuncName(func),\n other = lodash[funcName];\n\n if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n return false;\n }\n if (func === other) {\n return true;\n }\n var data = getData(other);\n return !!data && func === data[0];\n }\n\n /**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\n function isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n }\n\n /**\n * Checks if `func` is capable of being masked.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n */\n var isMaskable = coreJsData ? isFunction : stubFalse;\n\n /**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\n function isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n }\n\n /**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\n function isStrictComparable(value) {\n return value === value && !isObject(value);\n }\n\n /**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\n function matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n }\n\n /**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\n function memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n }\n\n /**\n * Merges the function metadata of `source` into `data`.\n *\n * Merging metadata reduces the number of wrappers used to invoke a function.\n * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n * may be applied regardless of execution order. Methods like `_.ary` and\n * `_.rearg` modify function arguments, making the order in which they are\n * executed important, preventing the merging of metadata. However, we make\n * an exception for a safe combined case where curried functions have `_.ary`\n * and or `_.rearg` applied.\n *\n * @private\n * @param {Array} data The destination metadata.\n * @param {Array} source The source metadata.\n * @returns {Array} Returns `data`.\n */\n function mergeData(data, source) {\n var bitmask = data[1],\n srcBitmask = source[1],\n newBitmask = bitmask | srcBitmask,\n isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n var isCombo =\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n // Exit early if metadata can't be merged.\n if (!(isCommon || isCombo)) {\n return data;\n }\n // Use source `thisArg` if available.\n if (srcBitmask & WRAP_BIND_FLAG) {\n data[2] = source[2];\n // Set when currying a bound function.\n newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n }\n // Compose partial arguments.\n var value = source[3];\n if (value) {\n var partials = data[3];\n data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n }\n // Compose partial right arguments.\n value = source[5];\n if (value) {\n partials = data[5];\n data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n }\n // Use source `argPos` if available.\n value = source[7];\n if (value) {\n data[7] = value;\n }\n // Use source `ary` if it's smaller.\n if (srcBitmask & WRAP_ARY_FLAG) {\n data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n }\n // Use source `arity` if one is not provided.\n if (data[9] == null) {\n data[9] = source[9];\n }\n // Use source `func` and merge bitmasks.\n data[0] = source[0];\n data[1] = newBitmask;\n\n return data;\n }\n\n /**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n function nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n }\n\n /**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\n function objectToString(value) {\n return nativeObjectToString.call(value);\n }\n\n /**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\n function overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n }\n\n /**\n * Gets the parent value at `path` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} path The path to get the parent value of.\n * @returns {*} Returns the parent value.\n */\n function parent(object, path) {\n return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n }\n\n /**\n * Reorder `array` according to the specified indexes where the element at\n * the first index is assigned as the first element, the element at\n * the second index is assigned as the second element, and so on.\n *\n * @private\n * @param {Array} array The array to reorder.\n * @param {Array} indexes The arranged array indexes.\n * @returns {Array} Returns `array`.\n */\n function reorder(array, indexes) {\n var arrLength = array.length,\n length = nativeMin(indexes.length, arrLength),\n oldArray = copyArray(array);\n\n while (length--) {\n var index = indexes[length];\n array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n }\n return array;\n }\n\n /**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\n function safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n }\n\n /**\n * Sets metadata for `func`.\n *\n * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n * period of time, it will trip its breaker and transition to an identity\n * function to avoid garbage collection pauses in V8. See\n * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n * for more details.\n *\n * @private\n * @param {Function} func The function to associate metadata with.\n * @param {*} data The metadata.\n * @returns {Function} Returns `func`.\n */\n var setData = shortOut(baseSetData);\n\n /**\n * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n *\n * @private\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @returns {number|Object} Returns the timer id or timeout object.\n */\n var setTimeout = ctxSetTimeout || function(func, wait) {\n return root.setTimeout(func, wait);\n };\n\n /**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\n var setToString = shortOut(baseSetToString);\n\n /**\n * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n * with wrapper details in a comment at the top of the source body.\n *\n * @private\n * @param {Function} wrapper The function to modify.\n * @param {Function} reference The reference function.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Function} Returns `wrapper`.\n */\n function setWrapToString(wrapper, reference, bitmask) {\n var source = (reference + '');\n return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n }\n\n /**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\n function shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n }\n\n /**\n * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n *\n * @private\n * @param {Array} array The array to shuffle.\n * @param {number} [size=array.length] The size of `array`.\n * @returns {Array} Returns `array`.\n */\n function shuffleSelf(array, size) {\n var index = -1,\n length = array.length,\n lastIndex = length - 1;\n\n size = size === undefined ? length : size;\n while (++index < size) {\n var rand = baseRandom(index, lastIndex),\n value = array[rand];\n\n array[rand] = array[index];\n array[index] = value;\n }\n array.length = size;\n return array;\n }\n\n /**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\n var stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n\n /**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\n function toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n\n /**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n\n /**\n * Updates wrapper `details` based on `bitmask` flags.\n *\n * @private\n * @returns {Array} details The details to modify.\n * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n * @returns {Array} Returns `details`.\n */\n function updateWrapDetails(details, bitmask) {\n arrayEach(wrapFlags, function(pair) {\n var value = '_.' + pair[0];\n if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n details.push(value);\n }\n });\n return details.sort();\n }\n\n /**\n * Creates a clone of `wrapper`.\n *\n * @private\n * @param {Object} wrapper The wrapper to clone.\n * @returns {Object} Returns the cloned wrapper.\n */\n function wrapperClone(wrapper) {\n if (wrapper instanceof LazyWrapper) {\n return wrapper.clone();\n }\n var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n result.__actions__ = copyArray(wrapper.__actions__);\n result.__index__ = wrapper.__index__;\n result.__values__ = wrapper.__values__;\n return result;\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an array of elements split into groups the length of `size`.\n * If `array` can't be split evenly, the final chunk will be the remaining\n * elements.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to process.\n * @param {number} [size=1] The length of each chunk\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the new array of chunks.\n * @example\n *\n * _.chunk(['a', 'b', 'c', 'd'], 2);\n * // => [['a', 'b'], ['c', 'd']]\n *\n * _.chunk(['a', 'b', 'c', 'd'], 3);\n * // => [['a', 'b', 'c'], ['d']]\n */\n function chunk(array, size, guard) {\n if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n size = 1;\n } else {\n size = nativeMax(toInteger(size), 0);\n }\n var length = array == null ? 0 : array.length;\n if (!length || size < 1) {\n return [];\n }\n var index = 0,\n resIndex = 0,\n result = Array(nativeCeil(length / size));\n\n while (index < length) {\n result[resIndex++] = baseSlice(array, index, (index += size));\n }\n return result;\n }\n\n /**\n * Creates an array with all falsey values removed. The values `false`, `null`,\n * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to compact.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.compact([0, 1, false, 2, '', 3]);\n * // => [1, 2, 3]\n */\n function compact(array) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (value) {\n result[resIndex++] = value;\n }\n }\n return result;\n }\n\n /**\n * Creates a new array concatenating `array` with any additional arrays\n * and/or values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to concatenate.\n * @param {...*} [values] The values to concatenate.\n * @returns {Array} Returns the new concatenated array.\n * @example\n *\n * var array = [1];\n * var other = _.concat(array, 2, [3], [[4]]);\n *\n * console.log(other);\n * // => [1, 2, 3, [4]]\n *\n * console.log(array);\n * // => [1]\n */\n function concat() {\n var length = arguments.length;\n if (!length) {\n return [];\n }\n var args = Array(length - 1),\n array = arguments[0],\n index = length;\n\n while (index--) {\n args[index - 1] = arguments[index];\n }\n return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n }\n\n /**\n * Creates an array of `array` values not included in the other given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * **Note:** Unlike `_.pullAll`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.without, _.xor\n * @example\n *\n * _.difference([2, 1], [2, 3]);\n * // => [1]\n */\n var difference = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `iteratee` which\n * is invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var differenceBy = baseRest(function(array, values) {\n var iteratee = last(values);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.difference` except that it accepts `comparator`\n * which is invoked to compare elements of `array` to `values`. The order and\n * references of result values are determined by the first array. The comparator\n * is invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...Array} [values] The values to exclude.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n *\n * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }]\n */\n var differenceWith = baseRest(function(array, values) {\n var comparator = last(values);\n if (isArrayLikeObject(comparator)) {\n comparator = undefined;\n }\n return isArrayLikeObject(array)\n ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n : [];\n });\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.drop([1, 2, 3]);\n * // => [2, 3]\n *\n * _.drop([1, 2, 3], 2);\n * // => [3]\n *\n * _.drop([1, 2, 3], 5);\n * // => []\n *\n * _.drop([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function drop(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\n function dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the end.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.dropRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropRightWhile(users, ['active', false]);\n * // => objects for ['barney']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropRightWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` excluding elements dropped from the beginning.\n * Elements are dropped until `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.dropWhile(users, function(o) { return !o.active; });\n * // => objects for ['pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.dropWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.dropWhile(users, ['active', false]);\n * // => objects for ['pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.dropWhile(users, 'active');\n * // => objects for ['barney', 'fred', 'pebbles']\n */\n function dropWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), true)\n : [];\n }\n\n /**\n * Fills elements of `array` with `value` from `start` up to, but not\n * including, `end`.\n *\n * **Note:** This method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Array\n * @param {Array} array The array to fill.\n * @param {*} value The value to fill `array` with.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.fill(array, 'a');\n * console.log(array);\n * // => ['a', 'a', 'a']\n *\n * _.fill(Array(3), 2);\n * // => [2, 2, 2]\n *\n * _.fill([4, 6, 8, 10], '*', 1, 3);\n * // => [4, '*', '*', 10]\n */\n function fill(array, value, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n start = 0;\n end = length;\n }\n return baseFill(array, value, start, end);\n }\n\n /**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\n function findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index);\n }\n\n /**\n * This method is like `_.findIndex` except that it iterates over elements\n * of `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n * // => 2\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n * // => 0\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastIndex(users, ['active', false]);\n * // => 2\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastIndex(users, 'active');\n * // => 0\n */\n function findLastIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length - 1;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = fromIndex < 0\n ? nativeMax(length + index, 0)\n : nativeMin(index, length - 1);\n }\n return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n }\n\n /**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\n function flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n }\n\n /**\n * Recursively flattens `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flattenDeep([1, [2, [3, [4]], 5]]);\n * // => [1, 2, 3, 4, 5]\n */\n function flattenDeep(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, INFINITY) : [];\n }\n\n /**\n * Recursively flatten `array` up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * var array = [1, [2, [3, [4]], 5]];\n *\n * _.flattenDepth(array, 1);\n * // => [1, 2, [3, [4]], 5]\n *\n * _.flattenDepth(array, 2);\n * // => [1, 2, 3, [4], 5]\n */\n function flattenDepth(array, depth) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(array, depth);\n }\n\n /**\n * The inverse of `_.toPairs`; this method returns an object composed\n * from key-value `pairs`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} pairs The key-value pairs.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.fromPairs([['a', 1], ['b', 2]]);\n * // => { 'a': 1, 'b': 2 }\n */\n function fromPairs(pairs) {\n var index = -1,\n length = pairs == null ? 0 : pairs.length,\n result = {};\n\n while (++index < length) {\n var pair = pairs[index];\n result[pair[0]] = pair[1];\n }\n return result;\n }\n\n /**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\n function head(array) {\n return (array && array.length) ? array[0] : undefined;\n }\n\n /**\n * Gets the index at which the first occurrence of `value` is found in `array`\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. If `fromIndex` is negative, it's used as the\n * offset from the end of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.indexOf([1, 2, 1, 2], 2);\n * // => 1\n *\n * // Search from the `fromIndex`.\n * _.indexOf([1, 2, 1, 2], 2, 2);\n * // => 3\n */\n function indexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseIndexOf(array, value, index);\n }\n\n /**\n * Gets all but the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.initial([1, 2, 3]);\n * // => [1, 2]\n */\n function initial(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 0, -1) : [];\n }\n\n /**\n * Creates an array of unique values that are included in all given arrays\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons. The order and references of result values are\n * determined by the first array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersection([2, 1], [2, 3]);\n * // => [2]\n */\n var intersection = baseRest(function(arrays) {\n var mapped = arrayMap(arrays, castArrayLikeObject);\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped)\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `iteratee`\n * which is invoked for each element of each `arrays` to generate the criterion\n * by which they're compared. The order and references of result values are\n * determined by the first array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [2.1]\n *\n * // The `_.property` iteratee shorthand.\n * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }]\n */\n var intersectionBy = baseRest(function(arrays) {\n var iteratee = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n if (iteratee === last(mapped)) {\n iteratee = undefined;\n } else {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, getIteratee(iteratee, 2))\n : [];\n });\n\n /**\n * This method is like `_.intersection` except that it accepts `comparator`\n * which is invoked to compare elements of `arrays`. The order and references\n * of result values are determined by the first array. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of intersecting values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.intersectionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }]\n */\n var intersectionWith = baseRest(function(arrays) {\n var comparator = last(arrays),\n mapped = arrayMap(arrays, castArrayLikeObject);\n\n comparator = typeof comparator == 'function' ? comparator : undefined;\n if (comparator) {\n mapped.pop();\n }\n return (mapped.length && mapped[0] === arrays[0])\n ? baseIntersection(mapped, undefined, comparator)\n : [];\n });\n\n /**\n * Converts all elements in `array` into a string separated by `separator`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to convert.\n * @param {string} [separator=','] The element separator.\n * @returns {string} Returns the joined string.\n * @example\n *\n * _.join(['a', 'b', 'c'], '~');\n * // => 'a~b~c'\n */\n function join(array, separator) {\n return array == null ? '' : nativeJoin.call(array, separator);\n }\n\n /**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\n function last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n }\n\n /**\n * This method is like `_.indexOf` except that it iterates over elements of\n * `array` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=array.length-1] The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.lastIndexOf([1, 2, 1, 2], 2);\n * // => 3\n *\n * // Search from the `fromIndex`.\n * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n * // => 1\n */\n function lastIndexOf(array, value, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = length;\n if (fromIndex !== undefined) {\n index = toInteger(fromIndex);\n index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n }\n return value === value\n ? strictLastIndexOf(array, value, index)\n : baseFindIndex(array, baseIsNaN, index, true);\n }\n\n /**\n * Gets the element at index `n` of `array`. If `n` is negative, the nth\n * element from the end is returned.\n *\n * @static\n * @memberOf _\n * @since 4.11.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=0] The index of the element to return.\n * @returns {*} Returns the nth element of `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n *\n * _.nth(array, 1);\n * // => 'b'\n *\n * _.nth(array, -2);\n * // => 'c';\n */\n function nth(array, n) {\n return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n }\n\n /**\n * Removes all given values from `array` using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n * to remove elements from an array by predicate.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...*} [values] The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pull(array, 'a', 'c');\n * console.log(array);\n * // => ['b', 'b']\n */\n var pull = baseRest(pullAll);\n\n /**\n * This method is like `_.pull` except that it accepts an array of values to remove.\n *\n * **Note:** Unlike `_.difference`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n *\n * _.pullAll(array, ['a', 'c']);\n * console.log(array);\n * // => ['b', 'b']\n */\n function pullAll(array, values) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values)\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `iteratee` which is\n * invoked for each element of `array` and `values` to generate the criterion\n * by which they're compared. The iteratee is invoked with one argument: (value).\n *\n * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n *\n * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n * console.log(array);\n * // => [{ 'x': 2 }]\n */\n function pullAllBy(array, values, iteratee) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, getIteratee(iteratee, 2))\n : array;\n }\n\n /**\n * This method is like `_.pullAll` except that it accepts `comparator` which\n * is invoked to compare elements of `array` to `values`. The comparator is\n * invoked with two arguments: (arrVal, othVal).\n *\n * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Array} values The values to remove.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n *\n * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n * console.log(array);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n */\n function pullAllWith(array, values, comparator) {\n return (array && array.length && values && values.length)\n ? basePullAll(array, values, undefined, comparator)\n : array;\n }\n\n /**\n * Removes elements from `array` corresponding to `indexes` and returns an\n * array of removed elements.\n *\n * **Note:** Unlike `_.at`, this method mutates `array`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = ['a', 'b', 'c', 'd'];\n * var pulled = _.pullAt(array, [1, 3]);\n *\n * console.log(array);\n * // => ['a', 'c']\n *\n * console.log(pulled);\n * // => ['b', 'd']\n */\n var pullAt = flatRest(function(array, indexes) {\n var length = array == null ? 0 : array.length,\n result = baseAt(array, indexes);\n\n basePullAt(array, arrayMap(indexes, function(index) {\n return isIndex(index, length) ? +index : index;\n }).sort(compareAscending));\n\n return result;\n });\n\n /**\n * Removes all elements from `array` that `predicate` returns truthy for\n * and returns an array of the removed elements. The predicate is invoked\n * with three arguments: (value, index, array).\n *\n * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n * to pull elements from an array by value.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new array of removed elements.\n * @example\n *\n * var array = [1, 2, 3, 4];\n * var evens = _.remove(array, function(n) {\n * return n % 2 == 0;\n * });\n *\n * console.log(array);\n * // => [1, 3]\n *\n * console.log(evens);\n * // => [2, 4]\n */\n function remove(array, predicate) {\n var result = [];\n if (!(array && array.length)) {\n return result;\n }\n var index = -1,\n indexes = [],\n length = array.length;\n\n predicate = getIteratee(predicate, 3);\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result.push(value);\n indexes.push(index);\n }\n }\n basePullAt(array, indexes);\n return result;\n }\n\n /**\n * Reverses `array` so that the first element becomes the last, the second\n * element becomes the second to last, and so on.\n *\n * **Note:** This method mutates `array` and is based on\n * [`Array#reverse`](https://mdn.io/Array/reverse).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to modify.\n * @returns {Array} Returns `array`.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _.reverse(array);\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function reverse(array) {\n return array == null ? array : nativeReverse.call(array);\n }\n\n /**\n * Creates a slice of `array` from `start` up to, but not including, `end`.\n *\n * **Note:** This method is used instead of\n * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n * returned.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to slice.\n * @param {number} [start=0] The start position.\n * @param {number} [end=array.length] The end position.\n * @returns {Array} Returns the slice of `array`.\n */\n function slice(array, start, end) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n start = 0;\n end = length;\n }\n else {\n start = start == null ? 0 : toInteger(start);\n end = end === undefined ? length : toInteger(end);\n }\n return baseSlice(array, start, end);\n }\n\n /**\n * Uses a binary search to determine the lowest index at which `value`\n * should be inserted into `array` in order to maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedIndex([30, 50], 40);\n * // => 1\n */\n function sortedIndex(array, value) {\n return baseSortedIndex(array, value);\n }\n\n /**\n * This method is like `_.sortedIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n * // => 0\n */\n function sortedIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n }\n\n /**\n * This method is like `_.indexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n * // => 1\n */\n function sortedIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value);\n if (index < length && eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.sortedIndex` except that it returns the highest\n * index at which `value` should be inserted into `array` in order to\n * maintain its sort order.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n * // => 4\n */\n function sortedLastIndex(array, value) {\n return baseSortedIndex(array, value, true);\n }\n\n /**\n * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n * which is invoked for `value` and each element of `array` to compute their\n * sort ranking. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The sorted array to inspect.\n * @param {*} value The value to evaluate.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {number} Returns the index at which `value` should be inserted\n * into `array`.\n * @example\n *\n * var objects = [{ 'x': 4 }, { 'x': 5 }];\n *\n * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n * // => 1\n *\n * // The `_.property` iteratee shorthand.\n * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n * // => 1\n */\n function sortedLastIndexBy(array, value, iteratee) {\n return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n }\n\n /**\n * This method is like `_.lastIndexOf` except that it performs a binary\n * search on a sorted `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n * @example\n *\n * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n * // => 3\n */\n function sortedLastIndexOf(array, value) {\n var length = array == null ? 0 : array.length;\n if (length) {\n var index = baseSortedIndex(array, value, true) - 1;\n if (eq(array[index], value)) {\n return index;\n }\n }\n return -1;\n }\n\n /**\n * This method is like `_.uniq` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniq([1, 1, 2]);\n * // => [1, 2]\n */\n function sortedUniq(array) {\n return (array && array.length)\n ? baseSortedUniq(array)\n : [];\n }\n\n /**\n * This method is like `_.uniqBy` except that it's designed and optimized\n * for sorted arrays.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n * // => [1.1, 2.3]\n */\n function sortedUniqBy(array, iteratee) {\n return (array && array.length)\n ? baseSortedUniq(array, getIteratee(iteratee, 2))\n : [];\n }\n\n /**\n * Gets all but the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.tail([1, 2, 3]);\n * // => [2, 3]\n */\n function tail(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseSlice(array, 1, length) : [];\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the beginning.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.take([1, 2, 3]);\n * // => [1]\n *\n * _.take([1, 2, 3], 2);\n * // => [1, 2]\n *\n * _.take([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.take([1, 2, 3], 0);\n * // => []\n */\n function take(array, n, guard) {\n if (!(array && array.length)) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n return baseSlice(array, 0, n < 0 ? 0 : n);\n }\n\n /**\n * Creates a slice of `array` with `n` elements taken from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to take.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.takeRight([1, 2, 3]);\n * // => [3]\n *\n * _.takeRight([1, 2, 3], 2);\n * // => [2, 3]\n *\n * _.takeRight([1, 2, 3], 5);\n * // => [1, 2, 3]\n *\n * _.takeRight([1, 2, 3], 0);\n * // => []\n */\n function takeRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, n < 0 ? 0 : n, length);\n }\n\n /**\n * Creates a slice of `array` with elements taken from the end. Elements are\n * taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': false }\n * ];\n *\n * _.takeRightWhile(users, function(o) { return !o.active; });\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n * // => objects for ['pebbles']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeRightWhile(users, ['active', false]);\n * // => objects for ['fred', 'pebbles']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeRightWhile(users, 'active');\n * // => []\n */\n function takeRightWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3), false, true)\n : [];\n }\n\n /**\n * Creates a slice of `array` with elements taken from the beginning. Elements\n * are taken until `predicate` returns falsey. The predicate is invoked with\n * three arguments: (value, index, array).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.takeWhile(users, function(o) { return !o.active; });\n * // => objects for ['barney', 'fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.takeWhile(users, { 'user': 'barney', 'active': false });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.takeWhile(users, ['active', false]);\n * // => objects for ['barney', 'fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.takeWhile(users, 'active');\n * // => []\n */\n function takeWhile(array, predicate) {\n return (array && array.length)\n ? baseWhile(array, getIteratee(predicate, 3))\n : [];\n }\n\n /**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\n var union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n });\n\n /**\n * This method is like `_.union` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which uniqueness is computed. Result values are chosen from the first\n * array in which the value occurs. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n var unionBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.union` except that it accepts `comparator` which\n * is invoked to compare elements of `arrays`. Result values are chosen from\n * the first array in which the value occurs. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.unionWith(objects, others, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var unionWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n });\n\n /**\n * Creates a duplicate-free version of an array, using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons, in which only the first occurrence of each element\n * is kept. The order of result values is determined by the order they occur\n * in the array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniq([2, 1, 2]);\n * // => [2, 1]\n */\n function uniq(array) {\n return (array && array.length) ? baseUniq(array) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * uniqueness is computed. The order of result values is determined by the\n * order they occur in the array. The iteratee is invoked with one argument:\n * (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n * // => [2.1, 1.2]\n *\n * // The `_.property` iteratee shorthand.\n * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 1 }, { 'x': 2 }]\n */\n function uniqBy(array, iteratee) {\n return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n }\n\n /**\n * This method is like `_.uniq` except that it accepts `comparator` which\n * is invoked to compare elements of `array`. The order of result values is\n * determined by the order they occur in the array.The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.uniqWith(objects, _.isEqual);\n * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n */\n function uniqWith(array, comparator) {\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n }\n\n /**\n * This method is like `_.zip` except that it accepts an array of grouped\n * elements and creates an array regrouping the elements to their pre-zip\n * configuration.\n *\n * @static\n * @memberOf _\n * @since 1.2.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n *\n * _.unzip(zipped);\n * // => [['a', 'b'], [1, 2], [true, false]]\n */\n function unzip(array) {\n if (!(array && array.length)) {\n return [];\n }\n var length = 0;\n array = arrayFilter(array, function(group) {\n if (isArrayLikeObject(group)) {\n length = nativeMax(group.length, length);\n return true;\n }\n });\n return baseTimes(length, function(index) {\n return arrayMap(array, baseProperty(index));\n });\n }\n\n /**\n * This method is like `_.unzip` except that it accepts `iteratee` to specify\n * how regrouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {Array} array The array of grouped elements to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * regrouped values.\n * @returns {Array} Returns the new array of regrouped elements.\n * @example\n *\n * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n * // => [[1, 10, 100], [2, 20, 200]]\n *\n * _.unzipWith(zipped, _.add);\n * // => [3, 30, 300]\n */\n function unzipWith(array, iteratee) {\n if (!(array && array.length)) {\n return [];\n }\n var result = unzip(array);\n if (iteratee == null) {\n return result;\n }\n return arrayMap(result, function(group) {\n return apply(iteratee, undefined, group);\n });\n }\n\n /**\n * Creates an array excluding all given values using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * **Note:** Unlike `_.pull`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {...*} [values] The values to exclude.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.xor\n * @example\n *\n * _.without([2, 1, 2, 3], 1, 2);\n * // => [3]\n */\n var without = baseRest(function(array, values) {\n return isArrayLikeObject(array)\n ? baseDifference(array, values)\n : [];\n });\n\n /**\n * Creates an array of unique values that is the\n * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n * of the given arrays. The order of result values is determined by the order\n * they occur in the arrays.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of filtered values.\n * @see _.difference, _.without\n * @example\n *\n * _.xor([2, 1], [2, 3]);\n * // => [1, 3]\n */\n var xor = baseRest(function(arrays) {\n return baseXor(arrayFilter(arrays, isArrayLikeObject));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `iteratee` which is\n * invoked for each element of each `arrays` to generate the criterion by\n * which by which they're compared. The order of result values is determined\n * by the order they occur in the arrays. The iteratee is invoked with one\n * argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n * // => [1.2, 3.4]\n *\n * // The `_.property` iteratee shorthand.\n * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n * // => [{ 'x': 2 }]\n */\n var xorBy = baseRest(function(arrays) {\n var iteratee = last(arrays);\n if (isArrayLikeObject(iteratee)) {\n iteratee = undefined;\n }\n return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n });\n\n /**\n * This method is like `_.xor` except that it accepts `comparator` which is\n * invoked to compare elements of `arrays`. The order of result values is\n * determined by the order they occur in the arrays. The comparator is invoked\n * with two arguments: (arrVal, othVal).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new array of filtered values.\n * @example\n *\n * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n *\n * _.xorWith(objects, others, _.isEqual);\n * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n */\n var xorWith = baseRest(function(arrays) {\n var comparator = last(arrays);\n comparator = typeof comparator == 'function' ? comparator : undefined;\n return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n });\n\n /**\n * Creates an array of grouped elements, the first of which contains the\n * first elements of the given arrays, the second of which contains the\n * second elements of the given arrays, and so on.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zip(['a', 'b'], [1, 2], [true, false]);\n * // => [['a', 1, true], ['b', 2, false]]\n */\n var zip = baseRest(unzip);\n\n /**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\n function zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n }\n\n /**\n * This method is like `_.zipObject` except that it supports property paths.\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n */\n function zipObjectDeep(props, values) {\n return baseZipObject(props || [], values || [], baseSet);\n }\n\n /**\n * This method is like `_.zip` except that it accepts `iteratee` to specify\n * how grouped values should be combined. The iteratee is invoked with the\n * elements of each group: (...group).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Array\n * @param {...Array} [arrays] The arrays to process.\n * @param {Function} [iteratee=_.identity] The function to combine\n * grouped values.\n * @returns {Array} Returns the new array of grouped elements.\n * @example\n *\n * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n * return a + b + c;\n * });\n * // => [111, 222]\n */\n var zipWith = baseRest(function(arrays) {\n var length = arrays.length,\n iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n return unzipWith(arrays, iteratee);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n * chain sequences enabled. The result of such sequences must be unwrapped\n * with `_#value`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Seq\n * @param {*} value The value to wrap.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'pebbles', 'age': 1 }\n * ];\n *\n * var youngest = _\n * .chain(users)\n * .sortBy('age')\n * .map(function(o) {\n * return o.user + ' is ' + o.age;\n * })\n * .head()\n * .value();\n * // => 'pebbles is 1'\n */\n function chain(value) {\n var result = lodash(value);\n result.__chain__ = true;\n return result;\n }\n\n /**\n * This method invokes `interceptor` and returns `value`. The interceptor\n * is invoked with one argument; (value). The purpose of this method is to\n * \"tap into\" a method chain sequence in order to modify intermediate results.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns `value`.\n * @example\n *\n * _([1, 2, 3])\n * .tap(function(array) {\n * // Mutate input array.\n * array.pop();\n * })\n * .reverse()\n * .value();\n * // => [2, 1]\n */\n function tap(value, interceptor) {\n interceptor(value);\n return value;\n }\n\n /**\n * This method is like `_.tap` except that it returns the result of `interceptor`.\n * The purpose of this method is to \"pass thru\" values replacing intermediate\n * results in a method chain sequence.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Seq\n * @param {*} value The value to provide to `interceptor`.\n * @param {Function} interceptor The function to invoke.\n * @returns {*} Returns the result of `interceptor`.\n * @example\n *\n * _(' abc ')\n * .chain()\n * .trim()\n * .thru(function(value) {\n * return [value];\n * })\n * .value();\n * // => ['abc']\n */\n function thru(value, interceptor) {\n return interceptor(value);\n }\n\n /**\n * This method is the wrapper version of `_.at`.\n *\n * @name at\n * @memberOf _\n * @since 1.0.0\n * @category Seq\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _(object).at(['a[0].b.c', 'a[1]']).value();\n * // => [3, 4]\n */\n var wrapperAt = flatRest(function(paths) {\n var length = paths.length,\n start = length ? paths[0] : 0,\n value = this.__wrapped__,\n interceptor = function(object) { return baseAt(object, paths); };\n\n if (length > 1 || this.__actions__.length ||\n !(value instanceof LazyWrapper) || !isIndex(start)) {\n return this.thru(interceptor);\n }\n value = value.slice(start, +start + (length ? 1 : 0));\n value.__actions__.push({\n 'func': thru,\n 'args': [interceptor],\n 'thisArg': undefined\n });\n return new LodashWrapper(value, this.__chain__).thru(function(array) {\n if (length && !array.length) {\n array.push(undefined);\n }\n return array;\n });\n });\n\n /**\n * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n *\n * @name chain\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 }\n * ];\n *\n * // A sequence without explicit chaining.\n * _(users).head();\n * // => { 'user': 'barney', 'age': 36 }\n *\n * // A sequence with explicit chaining.\n * _(users)\n * .chain()\n * .head()\n * .pick('user')\n * .value();\n * // => { 'user': 'barney' }\n */\n function wrapperChain() {\n return chain(this);\n }\n\n /**\n * Executes the chain sequence and returns the wrapped result.\n *\n * @name commit\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2];\n * var wrapped = _(array).push(3);\n *\n * console.log(array);\n * // => [1, 2]\n *\n * wrapped = wrapped.commit();\n * console.log(array);\n * // => [1, 2, 3]\n *\n * wrapped.last();\n * // => 3\n *\n * console.log(array);\n * // => [1, 2, 3]\n */\n function wrapperCommit() {\n return new LodashWrapper(this.value(), this.__chain__);\n }\n\n /**\n * Gets the next value on a wrapped object following the\n * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n *\n * @name next\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the next iterator value.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 1 }\n *\n * wrapped.next();\n * // => { 'done': false, 'value': 2 }\n *\n * wrapped.next();\n * // => { 'done': true, 'value': undefined }\n */\n function wrapperNext() {\n if (this.__values__ === undefined) {\n this.__values__ = toArray(this.value());\n }\n var done = this.__index__ >= this.__values__.length,\n value = done ? undefined : this.__values__[this.__index__++];\n\n return { 'done': done, 'value': value };\n }\n\n /**\n * Enables the wrapper to be iterable.\n *\n * @name Symbol.iterator\n * @memberOf _\n * @since 4.0.0\n * @category Seq\n * @returns {Object} Returns the wrapper object.\n * @example\n *\n * var wrapped = _([1, 2]);\n *\n * wrapped[Symbol.iterator]() === wrapped;\n * // => true\n *\n * Array.from(wrapped);\n * // => [1, 2]\n */\n function wrapperToIterator() {\n return this;\n }\n\n /**\n * Creates a clone of the chain sequence planting `value` as the wrapped value.\n *\n * @name plant\n * @memberOf _\n * @since 3.2.0\n * @category Seq\n * @param {*} value The value to plant.\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var wrapped = _([1, 2]).map(square);\n * var other = wrapped.plant([3, 4]);\n *\n * other.value();\n * // => [9, 16]\n *\n * wrapped.value();\n * // => [1, 4]\n */\n function wrapperPlant(value) {\n var result,\n parent = this;\n\n while (parent instanceof baseLodash) {\n var clone = wrapperClone(parent);\n clone.__index__ = 0;\n clone.__values__ = undefined;\n if (result) {\n previous.__wrapped__ = clone;\n } else {\n result = clone;\n }\n var previous = clone;\n parent = parent.__wrapped__;\n }\n previous.__wrapped__ = value;\n return result;\n }\n\n /**\n * This method is the wrapper version of `_.reverse`.\n *\n * **Note:** This method mutates the wrapped array.\n *\n * @name reverse\n * @memberOf _\n * @since 0.1.0\n * @category Seq\n * @returns {Object} Returns the new `lodash` wrapper instance.\n * @example\n *\n * var array = [1, 2, 3];\n *\n * _(array).reverse().value()\n * // => [3, 2, 1]\n *\n * console.log(array);\n * // => [3, 2, 1]\n */\n function wrapperReverse() {\n var value = this.__wrapped__;\n if (value instanceof LazyWrapper) {\n var wrapped = value;\n if (this.__actions__.length) {\n wrapped = new LazyWrapper(this);\n }\n wrapped = wrapped.reverse();\n wrapped.__actions__.push({\n 'func': thru,\n 'args': [reverse],\n 'thisArg': undefined\n });\n return new LodashWrapper(wrapped, this.__chain__);\n }\n return this.thru(reverse);\n }\n\n /**\n * Executes the chain sequence to resolve the unwrapped value.\n *\n * @name value\n * @memberOf _\n * @since 0.1.0\n * @alias toJSON, valueOf\n * @category Seq\n * @returns {*} Returns the resolved unwrapped value.\n * @example\n *\n * _([1, 2, 3]).value();\n * // => [1, 2, 3]\n */\n function wrapperValue() {\n return baseWrapperValue(this.__wrapped__, this.__actions__);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the number of times the key was returned by `iteratee`. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.countBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': 1, '6': 2 }\n *\n * // The `_.property` iteratee shorthand.\n * _.countBy(['one', 'two', 'three'], 'length');\n * // => { '3': 2, '5': 1 }\n */\n var countBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n ++result[key];\n } else {\n baseAssignValue(result, key, 1);\n }\n });\n\n /**\n * Checks if `predicate` returns truthy for **all** elements of `collection`.\n * Iteration is stopped once `predicate` returns falsey. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * **Note:** This method returns `true` for\n * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n * elements of empty collections.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if all elements pass the predicate check,\n * else `false`.\n * @example\n *\n * _.every([true, 1, null, 'yes'], Boolean);\n * // => false\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.every(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.every(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.every(users, 'active');\n * // => false\n */\n function every(collection, predicate, guard) {\n var func = isArray(collection) ? arrayEvery : baseEvery;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\n function filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\n var find = createFind(findIndex);\n\n /**\n * This method is like `_.find` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=collection.length-1] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * _.findLast([1, 2, 3, 4], function(n) {\n * return n % 2 == 1;\n * });\n * // => 3\n */\n var findLast = createFind(findLastIndex);\n\n /**\n * Creates a flattened array of values by running each element in `collection`\n * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n * with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [n, n];\n * }\n *\n * _.flatMap([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMap(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), 1);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDeep([1, 2], duplicate);\n * // => [1, 1, 2, 2]\n */\n function flatMapDeep(collection, iteratee) {\n return baseFlatten(map(collection, iteratee), INFINITY);\n }\n\n /**\n * This method is like `_.flatMap` except that it recursively flattens the\n * mapped results up to `depth` times.\n *\n * @static\n * @memberOf _\n * @since 4.7.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {number} [depth=1] The maximum recursion depth.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * function duplicate(n) {\n * return [[[n, n]]];\n * }\n *\n * _.flatMapDepth([1, 2], duplicate, 2);\n * // => [[1, 1], [2, 2]]\n */\n function flatMapDepth(collection, iteratee, depth) {\n depth = depth === undefined ? 1 : toInteger(depth);\n return baseFlatten(map(collection, iteratee), depth);\n }\n\n /**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forEach` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @alias eachRight\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEach\n * @example\n *\n * _.forEachRight([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `2` then `1`.\n */\n function forEachRight(collection, iteratee) {\n var func = isArray(collection) ? arrayEachRight : baseEachRight;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\n var groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n });\n\n /**\n * Checks if `value` is in `collection`. If `collection` is a string, it's\n * checked for a substring of `value`, otherwise\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * is used for equality comparisons. If `fromIndex` is negative, it's used as\n * the offset from the end of `collection`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @param {*} value The value to search for.\n * @param {number} [fromIndex=0] The index to search from.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {boolean} Returns `true` if `value` is found, else `false`.\n * @example\n *\n * _.includes([1, 2, 3], 1);\n * // => true\n *\n * _.includes([1, 2, 3], 1, 2);\n * // => false\n *\n * _.includes({ 'a': 1, 'b': 2 }, 1);\n * // => true\n *\n * _.includes('abcd', 'bc');\n * // => true\n */\n function includes(collection, value, fromIndex, guard) {\n collection = isArrayLike(collection) ? collection : values(collection);\n fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n var length = collection.length;\n if (fromIndex < 0) {\n fromIndex = nativeMax(length + fromIndex, 0);\n }\n return isString(collection)\n ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n }\n\n /**\n * Invokes the method at `path` of each element in `collection`, returning\n * an array of the results of each invoked method. Any additional arguments\n * are provided to each invoked method. If `path` is a function, it's invoked\n * for, and `this` bound to, each element in `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array|Function|string} path The path of the method to invoke or\n * the function invoked per iteration.\n * @param {...*} [args] The arguments to invoke each method with.\n * @returns {Array} Returns the array of results.\n * @example\n *\n * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n * // => [[1, 5, 7], [1, 2, 3]]\n *\n * _.invokeMap([123, 456], String.prototype.split, '');\n * // => [['1', '2', '3'], ['4', '5', '6']]\n */\n var invokeMap = baseRest(function(collection, path, args) {\n var index = -1,\n isFunc = typeof path == 'function',\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value) {\n result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n });\n return result;\n });\n\n /**\n * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The corresponding value of\n * each key is the last element responsible for generating the key. The\n * iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * var array = [\n * { 'dir': 'left', 'code': 97 },\n * { 'dir': 'right', 'code': 100 }\n * ];\n *\n * _.keyBy(array, function(o) {\n * return String.fromCharCode(o.code);\n * });\n * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n *\n * _.keyBy(array, 'dir');\n * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n */\n var keyBy = createAggregator(function(result, value, key) {\n baseAssignValue(result, key, value);\n });\n\n /**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\n function map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.sortBy` except that it allows specifying the sort\n * orders of the iteratees to sort by. If `orders` is unspecified, all values\n * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n * descending or \"asc\" for ascending sort order of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @param {string[]} [orders] The sort orders of `iteratees`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 34 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 36 }\n * ];\n *\n * // Sort by `user` in ascending order and by `age` in descending order.\n * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n */\n function orderBy(collection, iteratees, orders, guard) {\n if (collection == null) {\n return [];\n }\n if (!isArray(iteratees)) {\n iteratees = iteratees == null ? [] : [iteratees];\n }\n orders = guard ? undefined : orders;\n if (!isArray(orders)) {\n orders = orders == null ? [] : [orders];\n }\n return baseOrderBy(collection, iteratees, orders);\n }\n\n /**\n * Creates an array of elements split into two groups, the first of which\n * contains elements `predicate` returns truthy for, the second of which\n * contains elements `predicate` returns falsey for. The predicate is\n * invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the array of grouped elements.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true },\n * { 'user': 'pebbles', 'age': 1, 'active': false }\n * ];\n *\n * _.partition(users, function(o) { return o.active; });\n * // => objects for [['fred'], ['barney', 'pebbles']]\n *\n * // The `_.matches` iteratee shorthand.\n * _.partition(users, { 'age': 1, 'active': false });\n * // => objects for [['pebbles'], ['barney', 'fred']]\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.partition(users, ['active', false]);\n * // => objects for [['barney', 'pebbles'], ['fred']]\n *\n * // The `_.property` iteratee shorthand.\n * _.partition(users, 'active');\n * // => objects for [['fred'], ['barney', 'pebbles']]\n */\n var partition = createAggregator(function(result, value, key) {\n result[key ? 0 : 1].push(value);\n }, function() { return [[], []]; });\n\n /**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\n function reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n }\n\n /**\n * This method is like `_.reduce` except that it iterates over elements of\n * `collection` from right to left.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduce\n * @example\n *\n * var array = [[0, 1], [2, 3], [4, 5]];\n *\n * _.reduceRight(array, function(flattened, other) {\n * return flattened.concat(other);\n * }, []);\n * // => [4, 5, 2, 3, 0, 1]\n */\n function reduceRight(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduceRight : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n }\n\n /**\n * The opposite of `_.filter`; this method returns the elements of `collection`\n * that `predicate` does **not** return truthy for.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.filter\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': false },\n * { 'user': 'fred', 'age': 40, 'active': true }\n * ];\n *\n * _.reject(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.reject(users, { 'age': 40, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.reject(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.reject(users, 'active');\n * // => objects for ['barney']\n */\n function reject(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, negate(getIteratee(predicate, 3)));\n }\n\n /**\n * Gets a random element from `collection`.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @returns {*} Returns the random element.\n * @example\n *\n * _.sample([1, 2, 3, 4]);\n * // => 2\n */\n function sample(collection) {\n var func = isArray(collection) ? arraySample : baseSample;\n return func(collection);\n }\n\n /**\n * Gets `n` random elements at unique keys from `collection` up to the\n * size of `collection`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Collection\n * @param {Array|Object} collection The collection to sample.\n * @param {number} [n=1] The number of elements to sample.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the random elements.\n * @example\n *\n * _.sampleSize([1, 2, 3], 2);\n * // => [3, 1]\n *\n * _.sampleSize([1, 2, 3], 4);\n * // => [2, 3, 1]\n */\n function sampleSize(collection, n, guard) {\n if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n return func(collection, n);\n }\n\n /**\n * Creates an array of shuffled values, using a version of the\n * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to shuffle.\n * @returns {Array} Returns the new shuffled array.\n * @example\n *\n * _.shuffle([1, 2, 3, 4]);\n * // => [4, 1, 3, 2]\n */\n function shuffle(collection) {\n var func = isArray(collection) ? arrayShuffle : baseShuffle;\n return func(collection);\n }\n\n /**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\n function size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n }\n\n /**\n * Checks if `predicate` returns truthy for **any** element of `collection`.\n * Iteration is stopped once `predicate` returns truthy. The predicate is\n * invoked with three arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n * @example\n *\n * _.some([null, 0, 'yes', false], Boolean);\n * // => true\n *\n * var users = [\n * { 'user': 'barney', 'active': true },\n * { 'user': 'fred', 'active': false }\n * ];\n *\n * // The `_.matches` iteratee shorthand.\n * _.some(users, { 'user': 'barney', 'active': false });\n * // => false\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.some(users, ['active', false]);\n * // => true\n *\n * // The `_.property` iteratee shorthand.\n * _.some(users, 'active');\n * // => true\n */\n function some(collection, predicate, guard) {\n var func = isArray(collection) ? arraySome : baseSome;\n if (guard && isIterateeCall(collection, predicate, guard)) {\n predicate = undefined;\n }\n return func(collection, getIteratee(predicate, 3));\n }\n\n /**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\n var sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n });\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\n var now = ctxNow || function() {\n return root.Date.now();\n };\n\n /*------------------------------------------------------------------------*/\n\n /**\n * The opposite of `_.before`; this method creates a function that invokes\n * `func` once it's called `n` or more times.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {number} n The number of calls before `func` is invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var saves = ['profile', 'settings'];\n *\n * var done = _.after(saves.length, function() {\n * console.log('done saving!');\n * });\n *\n * _.forEach(saves, function(type) {\n * asyncSave({ 'type': type, 'complete': done });\n * });\n * // => Logs 'done saving!' after the two async saves have completed.\n */\n function after(n, func) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n < 1) {\n return func.apply(this, arguments);\n }\n };\n }\n\n /**\n * Creates a function that invokes `func`, with up to `n` arguments,\n * ignoring any additional arguments.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @param {number} [n=func.length] The arity cap.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n * // => [6, 8, 10]\n */\n function ary(func, n, guard) {\n n = guard ? undefined : n;\n n = (func && n == null) ? func.length : n;\n return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n }\n\n /**\n * Creates a function that invokes `func`, with the `this` binding and arguments\n * of the created function, while it's called less than `n` times. Subsequent\n * calls to the created function return the result of the last `func` invocation.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {number} n The number of calls at which `func` is no longer invoked.\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * jQuery(element).on('click', _.before(5, addContactToList));\n * // => Allows adding up to 4 contacts to the list.\n */\n function before(n, func) {\n var result;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n n = toInteger(n);\n return function() {\n if (--n > 0) {\n result = func.apply(this, arguments);\n }\n if (n <= 1) {\n func = undefined;\n }\n return result;\n };\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of `thisArg`\n * and `partials` prepended to the arguments it receives.\n *\n * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for partially applied arguments.\n *\n * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n * property of bound functions.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to bind.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * function greet(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n *\n * var object = { 'user': 'fred' };\n *\n * var bound = _.bind(greet, object, 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bind(greet, object, _, '!');\n * bound('hi');\n * // => 'hi fred!'\n */\n var bind = baseRest(function(func, thisArg, partials) {\n var bitmask = WRAP_BIND_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bind));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(func, bitmask, thisArg, partials, holders);\n });\n\n /**\n * Creates a function that invokes the method at `object[key]` with `partials`\n * prepended to the arguments it receives.\n *\n * This method differs from `_.bind` by allowing bound functions to reference\n * methods that may be redefined or don't yet exist. See\n * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n * for more details.\n *\n * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Function\n * @param {Object} object The object to invoke the method on.\n * @param {string} key The key of the method.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new bound function.\n * @example\n *\n * var object = {\n * 'user': 'fred',\n * 'greet': function(greeting, punctuation) {\n * return greeting + ' ' + this.user + punctuation;\n * }\n * };\n *\n * var bound = _.bindKey(object, 'greet', 'hi');\n * bound('!');\n * // => 'hi fred!'\n *\n * object.greet = function(greeting, punctuation) {\n * return greeting + 'ya ' + this.user + punctuation;\n * };\n *\n * bound('!');\n * // => 'hiya fred!'\n *\n * // Bound with placeholders.\n * var bound = _.bindKey(object, 'greet', _, '!');\n * bound('hi');\n * // => 'hiya fred!'\n */\n var bindKey = baseRest(function(object, key, partials) {\n var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n if (partials.length) {\n var holders = replaceHolders(partials, getHolder(bindKey));\n bitmask |= WRAP_PARTIAL_FLAG;\n }\n return createWrap(key, bitmask, object, partials, holders);\n });\n\n /**\n * Creates a function that accepts arguments of `func` and either invokes\n * `func` returning its result, if at least `arity` number of arguments have\n * been provided, or returns a function that accepts the remaining `func`\n * arguments, and so on. The arity of `func` may be specified if `func.length`\n * is not sufficient.\n *\n * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n * may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curry(abc);\n *\n * curried(1)(2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2)(3);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(1)(_, 3)(2);\n * // => [1, 2, 3]\n */\n function curry(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curry.placeholder;\n return result;\n }\n\n /**\n * This method is like `_.curry` except that arguments are applied to `func`\n * in the manner of `_.partialRight` instead of `_.partial`.\n *\n * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for provided arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of curried functions.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to curry.\n * @param {number} [arity=func.length] The arity of `func`.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the new curried function.\n * @example\n *\n * var abc = function(a, b, c) {\n * return [a, b, c];\n * };\n *\n * var curried = _.curryRight(abc);\n *\n * curried(3)(2)(1);\n * // => [1, 2, 3]\n *\n * curried(2, 3)(1);\n * // => [1, 2, 3]\n *\n * curried(1, 2, 3);\n * // => [1, 2, 3]\n *\n * // Curried with placeholders.\n * curried(3)(1, _)(2);\n * // => [1, 2, 3]\n */\n function curryRight(func, arity, guard) {\n arity = guard ? undefined : arity;\n var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n result.placeholder = curryRight.placeholder;\n return result;\n }\n\n /**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\n function debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n }\n\n /**\n * Defers invoking the `func` until the current call stack has cleared. Any\n * additional arguments are provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to defer.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.defer(function(text) {\n * console.log(text);\n * }, 'deferred');\n * // => Logs 'deferred' after one millisecond.\n */\n var defer = baseRest(function(func, args) {\n return baseDelay(func, 1, args);\n });\n\n /**\n * Invokes `func` after `wait` milliseconds. Any additional arguments are\n * provided to `func` when it's invoked.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to delay.\n * @param {number} wait The number of milliseconds to delay invocation.\n * @param {...*} [args] The arguments to invoke `func` with.\n * @returns {number} Returns the timer id.\n * @example\n *\n * _.delay(function(text) {\n * console.log(text);\n * }, 1000, 'later');\n * // => Logs 'later' after one second.\n */\n var delay = baseRest(function(func, wait, args) {\n return baseDelay(func, toNumber(wait) || 0, args);\n });\n\n /**\n * Creates a function that invokes `func` with arguments reversed.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to flip arguments for.\n * @returns {Function} Returns the new flipped function.\n * @example\n *\n * var flipped = _.flip(function() {\n * return _.toArray(arguments);\n * });\n *\n * flipped('a', 'b', 'c', 'd');\n * // => ['d', 'c', 'b', 'a']\n */\n function flip(func) {\n return createWrap(func, WRAP_FLIP_FLAG);\n }\n\n /**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n\n // Expose `MapCache`.\n memoize.Cache = MapCache;\n\n /**\n * Creates a function that negates the result of the predicate `func`. The\n * `func` predicate is invoked with the `this` binding and arguments of the\n * created function.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} predicate The predicate to negate.\n * @returns {Function} Returns the new negated function.\n * @example\n *\n * function isEven(n) {\n * return n % 2 == 0;\n * }\n *\n * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n * // => [1, 3, 5]\n */\n function negate(predicate) {\n if (typeof predicate != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n return function() {\n var args = arguments;\n switch (args.length) {\n case 0: return !predicate.call(this);\n case 1: return !predicate.call(this, args[0]);\n case 2: return !predicate.call(this, args[0], args[1]);\n case 3: return !predicate.call(this, args[0], args[1], args[2]);\n }\n return !predicate.apply(this, args);\n };\n }\n\n /**\n * Creates a function that is restricted to invoking `func` once. Repeat calls\n * to the function return the value of the first invocation. The `func` is\n * invoked with the `this` binding and arguments of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new restricted function.\n * @example\n *\n * var initialize = _.once(createApplication);\n * initialize();\n * initialize();\n * // => `createApplication` is invoked once\n */\n function once(func) {\n return before(2, func);\n }\n\n /**\n * Creates a function that invokes `func` with its arguments transformed.\n *\n * @static\n * @since 4.0.0\n * @memberOf _\n * @category Function\n * @param {Function} func The function to wrap.\n * @param {...(Function|Function[])} [transforms=[_.identity]]\n * The argument transforms.\n * @returns {Function} Returns the new function.\n * @example\n *\n * function doubled(n) {\n * return n * 2;\n * }\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * var func = _.overArgs(function(x, y) {\n * return [x, y];\n * }, [square, doubled]);\n *\n * func(9, 3);\n * // => [81, 6]\n *\n * func(10, 5);\n * // => [100, 10]\n */\n var overArgs = castRest(function(func, transforms) {\n transforms = (transforms.length == 1 && isArray(transforms[0]))\n ? arrayMap(transforms[0], baseUnary(getIteratee()))\n : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n var funcsLength = transforms.length;\n return baseRest(function(args) {\n var index = -1,\n length = nativeMin(args.length, funcsLength);\n\n while (++index < length) {\n args[index] = transforms[index].call(this, args[index]);\n }\n return apply(func, this, args);\n });\n });\n\n /**\n * Creates a function that invokes `func` with `partials` prepended to the\n * arguments it receives. This method is like `_.bind` except it does **not**\n * alter the `this` binding.\n *\n * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 0.2.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var sayHelloTo = _.partial(greet, 'hello');\n * sayHelloTo('fred');\n * // => 'hello fred'\n *\n * // Partially applied with placeholders.\n * var greetFred = _.partial(greet, _, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n */\n var partial = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partial));\n return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n });\n\n /**\n * This method is like `_.partial` except that partially applied arguments\n * are appended to the arguments it receives.\n *\n * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n * builds, may be used as a placeholder for partially applied arguments.\n *\n * **Note:** This method doesn't set the \"length\" property of partially\n * applied functions.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Function\n * @param {Function} func The function to partially apply arguments to.\n * @param {...*} [partials] The arguments to be partially applied.\n * @returns {Function} Returns the new partially applied function.\n * @example\n *\n * function greet(greeting, name) {\n * return greeting + ' ' + name;\n * }\n *\n * var greetFred = _.partialRight(greet, 'fred');\n * greetFred('hi');\n * // => 'hi fred'\n *\n * // Partially applied with placeholders.\n * var sayHelloTo = _.partialRight(greet, 'hello', _);\n * sayHelloTo('fred');\n * // => 'hello fred'\n */\n var partialRight = baseRest(function(func, partials) {\n var holders = replaceHolders(partials, getHolder(partialRight));\n return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n });\n\n /**\n * Creates a function that invokes `func` with arguments arranged according\n * to the specified `indexes` where the argument value at the first index is\n * provided as the first argument, the argument value at the second index is\n * provided as the second argument, and so on.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Function\n * @param {Function} func The function to rearrange arguments for.\n * @param {...(number|number[])} indexes The arranged argument indexes.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var rearged = _.rearg(function(a, b, c) {\n * return [a, b, c];\n * }, [2, 0, 1]);\n *\n * rearged('b', 'c', 'a')\n * // => ['a', 'b', 'c']\n */\n var rearg = flatRest(function(func, indexes) {\n return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n });\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * created function and arguments from `start` and beyond provided as\n * an array.\n *\n * **Note:** This method is based on the\n * [rest parameter](https://mdn.io/rest_parameters).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.rest(function(what, names) {\n * return what + ' ' + _.initial(names).join(', ') +\n * (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n * });\n *\n * say('hello', 'fred', 'barney', 'pebbles');\n * // => 'hello fred, barney, & pebbles'\n */\n function rest(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start === undefined ? start : toInteger(start);\n return baseRest(func, start);\n }\n\n /**\n * Creates a function that invokes `func` with the `this` binding of the\n * create function and an array of arguments much like\n * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n *\n * **Note:** This method is based on the\n * [spread operator](https://mdn.io/spread_operator).\n *\n * @static\n * @memberOf _\n * @since 3.2.0\n * @category Function\n * @param {Function} func The function to spread arguments over.\n * @param {number} [start=0] The start position of the spread.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var say = _.spread(function(who, what) {\n * return who + ' says ' + what;\n * });\n *\n * say(['fred', 'hello']);\n * // => 'fred says hello'\n *\n * var numbers = Promise.all([\n * Promise.resolve(40),\n * Promise.resolve(36)\n * ]);\n *\n * numbers.then(_.spread(function(x, y) {\n * return x + y;\n * }));\n * // => a Promise of 76\n */\n function spread(func, start) {\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n start = start == null ? 0 : nativeMax(toInteger(start), 0);\n return baseRest(function(args) {\n var array = args[start],\n otherArgs = castSlice(args, 0, start);\n\n if (array) {\n arrayPush(otherArgs, array);\n }\n return apply(func, this, otherArgs);\n });\n }\n\n /**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\n function throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n }\n\n /**\n * Creates a function that accepts up to one argument, ignoring any\n * additional arguments.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Function\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n * @example\n *\n * _.map(['6', '8', '10'], _.unary(parseInt));\n * // => [6, 8, 10]\n */\n function unary(func) {\n return ary(func, 1);\n }\n\n /**\n * Creates a function that provides `value` to `wrapper` as its first\n * argument. Any additional arguments provided to the function are appended\n * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n * binding of the created function.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {*} value The value to wrap.\n * @param {Function} [wrapper=identity] The wrapper function.\n * @returns {Function} Returns the new function.\n * @example\n *\n * var p = _.wrap(_.escape, function(func, text) {\n * return '

' + func(text) + '

';\n * });\n *\n * p('fred, barney, & pebbles');\n * // => '

fred, barney, & pebbles

'\n */\n function wrap(value, wrapper) {\n return partial(castFunction(wrapper), value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Casts `value` as an array if it's not one.\n *\n * @static\n * @memberOf _\n * @since 4.4.0\n * @category Lang\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast array.\n * @example\n *\n * _.castArray(1);\n * // => [1]\n *\n * _.castArray({ 'a': 1 });\n * // => [{ 'a': 1 }]\n *\n * _.castArray('abc');\n * // => ['abc']\n *\n * _.castArray(null);\n * // => [null]\n *\n * _.castArray(undefined);\n * // => [undefined]\n *\n * _.castArray();\n * // => []\n *\n * var array = [1, 2, 3];\n * console.log(_.castArray(array) === array);\n * // => true\n */\n function castArray() {\n if (!arguments.length) {\n return [];\n }\n var value = arguments[0];\n return isArray(value) ? value : [value];\n }\n\n /**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\n function clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.clone` except that it accepts `customizer` which\n * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n * cloning is handled by the method instead. The `customizer` is invoked with\n * up to four arguments; (value [, index|key, object, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeepWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(false);\n * }\n * }\n *\n * var el = _.cloneWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 0\n */\n function cloneWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\n function cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n }\n\n /**\n * This method is like `_.cloneWith` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @param {Function} [customizer] The function to customize cloning.\n * @returns {*} Returns the deep cloned value.\n * @see _.cloneWith\n * @example\n *\n * function customizer(value) {\n * if (_.isElement(value)) {\n * return value.cloneNode(true);\n * }\n * }\n *\n * var el = _.cloneDeepWith(document.body, customizer);\n *\n * console.log(el === document.body);\n * // => false\n * console.log(el.nodeName);\n * // => 'BODY'\n * console.log(el.childNodes.length);\n * // => 20\n */\n function cloneDeepWith(value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n }\n\n /**\n * Checks if `object` conforms to `source` by invoking the predicate\n * properties of `source` with the corresponding property values of `object`.\n *\n * **Note:** This method is equivalent to `_.conforms` when `source` is\n * partially applied.\n *\n * @static\n * @memberOf _\n * @since 4.14.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property predicates to conform to.\n * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n * // => true\n *\n * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n * // => false\n */\n function conformsTo(object, source) {\n return source == null || baseConformsTo(object, source, keys(source));\n }\n\n /**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n\n /**\n * Checks if `value` is greater than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n * @see _.lt\n * @example\n *\n * _.gt(3, 1);\n * // => true\n *\n * _.gt(3, 3);\n * // => false\n *\n * _.gt(1, 3);\n * // => false\n */\n var gt = createRelationalOperation(baseGt);\n\n /**\n * Checks if `value` is greater than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than or equal to\n * `other`, else `false`.\n * @see _.lte\n * @example\n *\n * _.gte(3, 1);\n * // => true\n *\n * _.gte(3, 3);\n * // => true\n *\n * _.gte(1, 3);\n * // => false\n */\n var gte = createRelationalOperation(function(value, other) {\n return value >= other;\n });\n\n /**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\n var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n };\n\n /**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\n var isArray = Array.isArray;\n\n /**\n * Checks if `value` is classified as an `ArrayBuffer` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n * @example\n *\n * _.isArrayBuffer(new ArrayBuffer(2));\n * // => true\n *\n * _.isArrayBuffer(new Array(2));\n * // => false\n */\n var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n /**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\n function isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n }\n\n /**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\n function isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n }\n\n /**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\n function isBoolean(value) {\n return value === true || value === false ||\n (isObjectLike(value) && baseGetTag(value) == boolTag);\n }\n\n /**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\n var isBuffer = nativeIsBuffer || stubFalse;\n\n /**\n * Checks if `value` is classified as a `Date` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n * @example\n *\n * _.isDate(new Date);\n * // => true\n *\n * _.isDate('Mon April 23 2012');\n * // => false\n */\n var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n /**\n * Checks if `value` is likely a DOM element.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n * @example\n *\n * _.isElement(document.body);\n * // => true\n *\n * _.isElement('');\n * // => false\n */\n function isElement(value) {\n return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n }\n\n /**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\n function isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n }\n\n /**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\n function isEqual(value, other) {\n return baseIsEqual(value, other);\n }\n\n /**\n * This method is like `_.isEqual` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with up to\n * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * _.isEqualWith(array, other, customizer);\n * // => true\n */\n function isEqualWith(value, other, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n var result = customizer ? customizer(value, other) : undefined;\n return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n }\n\n /**\n * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n * `SyntaxError`, `TypeError`, or `URIError` object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n * @example\n *\n * _.isError(new Error);\n * // => true\n *\n * _.isError(Error);\n * // => false\n */\n function isError(value) {\n if (!isObjectLike(value)) {\n return false;\n }\n var tag = baseGetTag(value);\n return tag == errorTag || tag == domExcTag ||\n (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n }\n\n /**\n * Checks if `value` is a finite primitive number.\n *\n * **Note:** This method is based on\n * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n * @example\n *\n * _.isFinite(3);\n * // => true\n *\n * _.isFinite(Number.MIN_VALUE);\n * // => true\n *\n * _.isFinite(Infinity);\n * // => false\n *\n * _.isFinite('3');\n * // => false\n */\n function isFinite(value) {\n return typeof value == 'number' && nativeIsFinite(value);\n }\n\n /**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\n function isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n }\n\n /**\n * Checks if `value` is an integer.\n *\n * **Note:** This method is based on\n * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n * @example\n *\n * _.isInteger(3);\n * // => true\n *\n * _.isInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isInteger(Infinity);\n * // => false\n *\n * _.isInteger('3');\n * // => false\n */\n function isInteger(value) {\n return typeof value == 'number' && value == toInteger(value);\n }\n\n /**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\n function isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\n function isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n }\n\n /**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\n function isObjectLike(value) {\n return value != null && typeof value == 'object';\n }\n\n /**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\n var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n /**\n * Performs a partial deep comparison between `object` and `source` to\n * determine if `object` contains equivalent property values.\n *\n * **Note:** This method is equivalent to `_.matches` when `source` is\n * partially applied.\n *\n * Partial comparisons will match empty array and empty object `source`\n * values against any array or object value, respectively. See `_.isEqual`\n * for a list of supported value comparisons.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n *\n * _.isMatch(object, { 'b': 2 });\n * // => true\n *\n * _.isMatch(object, { 'b': 1 });\n * // => false\n */\n function isMatch(object, source) {\n return object === source || baseIsMatch(object, source, getMatchData(source));\n }\n\n /**\n * This method is like `_.isMatch` except that it accepts `customizer` which\n * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n * are handled by the method instead. The `customizer` is invoked with five\n * arguments: (objValue, srcValue, index|key, object, source).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, srcValue) {\n * if (isGreeting(objValue) && isGreeting(srcValue)) {\n * return true;\n * }\n * }\n *\n * var object = { 'greeting': 'hello' };\n * var source = { 'greeting': 'hi' };\n *\n * _.isMatchWith(object, source, customizer);\n * // => true\n */\n function isMatchWith(object, source, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return baseIsMatch(object, source, getMatchData(source), customizer);\n }\n\n /**\n * Checks if `value` is `NaN`.\n *\n * **Note:** This method is based on\n * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n * `undefined` and other non-number values.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n * @example\n *\n * _.isNaN(NaN);\n * // => true\n *\n * _.isNaN(new Number(NaN));\n * // => true\n *\n * isNaN(undefined);\n * // => true\n *\n * _.isNaN(undefined);\n * // => false\n */\n function isNaN(value) {\n // An `NaN` primitive is the only value that is not equal to itself.\n // Perform the `toStringTag` check first to avoid errors with some\n // ActiveX objects in IE.\n return isNumber(value) && value != +value;\n }\n\n /**\n * Checks if `value` is a pristine native function.\n *\n * **Note:** This method can't reliably detect native functions in the presence\n * of the core-js package because core-js circumvents this kind of detection.\n * Despite multiple requests, the core-js maintainer has made it clear: any\n * attempt to fix the detection will be obstructed. As a result, we're left\n * with little choice but to throw an error. Unfortunately, this also affects\n * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n * which rely on core-js.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n * @example\n *\n * _.isNative(Array.prototype.push);\n * // => true\n *\n * _.isNative(_);\n * // => false\n */\n function isNative(value) {\n if (isMaskable(value)) {\n throw new Error(CORE_ERROR_TEXT);\n }\n return baseIsNative(value);\n }\n\n /**\n * Checks if `value` is `null`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n * @example\n *\n * _.isNull(null);\n * // => true\n *\n * _.isNull(void 0);\n * // => false\n */\n function isNull(value) {\n return value === null;\n }\n\n /**\n * Checks if `value` is `null` or `undefined`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n * @example\n *\n * _.isNil(null);\n * // => true\n *\n * _.isNil(void 0);\n * // => true\n *\n * _.isNil(NaN);\n * // => false\n */\n function isNil(value) {\n return value == null;\n }\n\n /**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\n function isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n }\n\n /**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\n function isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n }\n\n /**\n * Checks if `value` is classified as a `RegExp` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n * @example\n *\n * _.isRegExp(/abc/);\n * // => true\n *\n * _.isRegExp('/abc/');\n * // => false\n */\n var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n /**\n * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n * double precision number which isn't the result of a rounded unsafe integer.\n *\n * **Note:** This method is based on\n * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n * @example\n *\n * _.isSafeInteger(3);\n * // => true\n *\n * _.isSafeInteger(Number.MIN_VALUE);\n * // => false\n *\n * _.isSafeInteger(Infinity);\n * // => false\n *\n * _.isSafeInteger('3');\n * // => false\n */\n function isSafeInteger(value) {\n return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n }\n\n /**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\n var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n /**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\n function isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n }\n\n /**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\n function isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n }\n\n /**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\n var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n /**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\n function isUndefined(value) {\n return value === undefined;\n }\n\n /**\n * Checks if `value` is classified as a `WeakMap` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n * @example\n *\n * _.isWeakMap(new WeakMap);\n * // => true\n *\n * _.isWeakMap(new Map);\n * // => false\n */\n function isWeakMap(value) {\n return isObjectLike(value) && getTag(value) == weakMapTag;\n }\n\n /**\n * Checks if `value` is classified as a `WeakSet` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n * @example\n *\n * _.isWeakSet(new WeakSet);\n * // => true\n *\n * _.isWeakSet(new Set);\n * // => false\n */\n function isWeakSet(value) {\n return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n }\n\n /**\n * Checks if `value` is less than `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n * @see _.gt\n * @example\n *\n * _.lt(1, 3);\n * // => true\n *\n * _.lt(3, 3);\n * // => false\n *\n * _.lt(3, 1);\n * // => false\n */\n var lt = createRelationalOperation(baseLt);\n\n /**\n * Checks if `value` is less than or equal to `other`.\n *\n * @static\n * @memberOf _\n * @since 3.9.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than or equal to\n * `other`, else `false`.\n * @see _.gte\n * @example\n *\n * _.lte(1, 3);\n * // => true\n *\n * _.lte(3, 3);\n * // => true\n *\n * _.lte(3, 1);\n * // => false\n */\n var lte = createRelationalOperation(function(value, other) {\n return value <= other;\n });\n\n /**\n * Converts `value` to an array.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Array} Returns the converted array.\n * @example\n *\n * _.toArray({ 'a': 1, 'b': 2 });\n * // => [1, 2]\n *\n * _.toArray('abc');\n * // => ['a', 'b', 'c']\n *\n * _.toArray(1);\n * // => []\n *\n * _.toArray(null);\n * // => []\n */\n function toArray(value) {\n if (!value) {\n return [];\n }\n if (isArrayLike(value)) {\n return isString(value) ? stringToArray(value) : copyArray(value);\n }\n if (symIterator && value[symIterator]) {\n return iteratorToArray(value[symIterator]());\n }\n var tag = getTag(value),\n func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n return func(value);\n }\n\n /**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\n function toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n }\n\n /**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\n function toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n }\n\n /**\n * Converts `value` to an integer suitable for use as the length of an\n * array-like object.\n *\n * **Note:** This method is based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toLength(3.2);\n * // => 3\n *\n * _.toLength(Number.MIN_VALUE);\n * // => 0\n *\n * _.toLength(Infinity);\n * // => 4294967295\n *\n * _.toLength('3.2');\n * // => 3\n */\n function toLength(value) {\n return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n }\n\n /**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\n function toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n }\n\n /**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\n function toPlainObject(value) {\n return copyObject(value, keysIn(value));\n }\n\n /**\n * Converts `value` to a safe integer. A safe integer can be compared and\n * represented correctly.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toSafeInteger(3.2);\n * // => 3\n *\n * _.toSafeInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toSafeInteger(Infinity);\n * // => 9007199254740991\n *\n * _.toSafeInteger('3.2');\n * // => 3\n */\n function toSafeInteger(value) {\n return value\n ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n : (value === 0 ? value : 0);\n }\n\n /**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\n function toString(value) {\n return value == null ? '' : baseToString(value);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\n var assign = createAssigner(function(object, source) {\n if (isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n });\n\n /**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\n var assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n });\n\n /**\n * This method is like `_.assignIn` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extendWith\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignInWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keysIn(source), object, customizer);\n });\n\n /**\n * This method is like `_.assign` except that it accepts `customizer`\n * which is invoked to produce the assigned values. If `customizer` returns\n * `undefined`, assignment is handled by the method instead. The `customizer`\n * is invoked with five arguments: (objValue, srcValue, key, object, source).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @see _.assignInWith\n * @example\n *\n * function customizer(objValue, srcValue) {\n * return _.isUndefined(objValue) ? srcValue : objValue;\n * }\n *\n * var defaults = _.partialRight(_.assignWith, customizer);\n *\n * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n copyObject(source, keys(source), object, customizer);\n });\n\n /**\n * Creates an array of values corresponding to `paths` of `object`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Array} Returns the picked values.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n *\n * _.at(object, ['a[0].b.c', 'a[1]']);\n * // => [3, 4]\n */\n var at = flatRest(baseAt);\n\n /**\n * Creates an object that inherits from the `prototype` object. If a\n * `properties` object is given, its own enumerable string keyed properties\n * are assigned to the created object.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Object\n * @param {Object} prototype The object to inherit from.\n * @param {Object} [properties] The properties to assign to the object.\n * @returns {Object} Returns the new object.\n * @example\n *\n * function Shape() {\n * this.x = 0;\n * this.y = 0;\n * }\n *\n * function Circle() {\n * Shape.call(this);\n * }\n *\n * Circle.prototype = _.create(Shape.prototype, {\n * 'constructor': Circle\n * });\n *\n * var circle = new Circle;\n * circle instanceof Circle;\n * // => true\n *\n * circle instanceof Shape;\n * // => true\n */\n function create(prototype, properties) {\n var result = baseCreate(prototype);\n return properties == null ? result : baseAssign(result, properties);\n }\n\n /**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\n var defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n });\n\n /**\n * This method is like `_.defaults` except that it recursively assigns\n * default properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaults\n * @example\n *\n * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n * // => { 'a': { 'b': 2, 'c': 3 } }\n */\n var defaultsDeep = baseRest(function(args) {\n args.push(undefined, customDefaultsMerge);\n return apply(mergeWith, undefined, args);\n });\n\n /**\n * This method is like `_.find` except that it returns the key of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findKey(users, function(o) { return o.age < 40; });\n * // => 'barney' (iteration order is not guaranteed)\n *\n * // The `_.matches` iteratee shorthand.\n * _.findKey(users, { 'age': 1, 'active': true });\n * // => 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findKey(users, 'active');\n * // => 'barney'\n */\n function findKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n }\n\n /**\n * This method is like `_.findKey` except that it iterates over elements of\n * a collection in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {string|undefined} Returns the key of the matched element,\n * else `undefined`.\n * @example\n *\n * var users = {\n * 'barney': { 'age': 36, 'active': true },\n * 'fred': { 'age': 40, 'active': false },\n * 'pebbles': { 'age': 1, 'active': true }\n * };\n *\n * _.findLastKey(users, function(o) { return o.age < 40; });\n * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.findLastKey(users, { 'age': 36, 'active': true });\n * // => 'barney'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findLastKey(users, ['active', false]);\n * // => 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.findLastKey(users, 'active');\n * // => 'pebbles'\n */\n function findLastKey(object, predicate) {\n return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n }\n\n /**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\n function forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * This method is like `_.forIn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forInRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n */\n function forInRight(object, iteratee) {\n return object == null\n ? object\n : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n }\n\n /**\n * Iterates over own enumerable string keyed properties of an object and\n * invokes `iteratee` for each property. The iteratee is invoked with three\n * arguments: (value, key, object). Iteratee functions may exit iteration\n * early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwnRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\n function forOwn(object, iteratee) {\n return object && baseForOwn(object, getIteratee(iteratee, 3));\n }\n\n /**\n * This method is like `_.forOwn` except that it iterates over properties of\n * `object` in the opposite order.\n *\n * @static\n * @memberOf _\n * @since 2.0.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forOwn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forOwnRight(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n */\n function forOwnRight(object, iteratee) {\n return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n }\n\n /**\n * Creates an array of function property names from own enumerable properties\n * of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functionsIn\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functions(new Foo);\n * // => ['a', 'b']\n */\n function functions(object) {\n return object == null ? [] : baseFunctions(object, keys(object));\n }\n\n /**\n * Creates an array of function property names from own and inherited\n * enumerable properties of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to inspect.\n * @returns {Array} Returns the function names.\n * @see _.functions\n * @example\n *\n * function Foo() {\n * this.a = _.constant('a');\n * this.b = _.constant('b');\n * }\n *\n * Foo.prototype.c = _.constant('c');\n *\n * _.functionsIn(new Foo);\n * // => ['a', 'b', 'c']\n */\n function functionsIn(object) {\n return object == null ? [] : baseFunctions(object, keysIn(object));\n }\n\n /**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\n function get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n }\n\n /**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\n function has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n }\n\n /**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\n function hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n }\n\n /**\n * Creates an object composed of the inverted keys and values of `object`.\n * If `object` contains duplicate values, subsequent values overwrite\n * property assignments of previous values.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Object\n * @param {Object} object The object to invert.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invert(object);\n * // => { '1': 'c', '2': 'b' }\n */\n var invert = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n result[value] = key;\n }, constant(identity));\n\n /**\n * This method is like `_.invert` except that the inverted object is generated\n * from the results of running each element of `object` thru `iteratee`. The\n * corresponding inverted value of each inverted key is an array of keys\n * responsible for generating the inverted value. The iteratee is invoked\n * with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.1.0\n * @category Object\n * @param {Object} object The object to invert.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {Object} Returns the new inverted object.\n * @example\n *\n * var object = { 'a': 1, 'b': 2, 'c': 1 };\n *\n * _.invertBy(object);\n * // => { '1': ['a', 'c'], '2': ['b'] }\n *\n * _.invertBy(object, function(value) {\n * return 'group' + value;\n * });\n * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n */\n var invertBy = createInverter(function(result, value, key) {\n if (value != null &&\n typeof value.toString != 'function') {\n value = nativeObjectToString.call(value);\n }\n\n if (hasOwnProperty.call(result, value)) {\n result[value].push(key);\n } else {\n result[value] = [key];\n }\n }, getIteratee);\n\n /**\n * Invokes the method at `path` of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the method to invoke.\n * @param {...*} [args] The arguments to invoke the method with.\n * @returns {*} Returns the result of the invoked method.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n *\n * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n * // => [2, 3]\n */\n var invoke = baseRest(baseInvoke);\n\n /**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\n function keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n }\n\n /**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\n function keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n }\n\n /**\n * The opposite of `_.mapValues`; this method creates an object with the\n * same values as `object` and keys generated by running each own enumerable\n * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n * with three arguments: (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 3.8.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapValues\n * @example\n *\n * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n * return key + value;\n * });\n * // => { 'a1': 1, 'b2': 2 }\n */\n function mapKeys(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, iteratee(value, key, object), value);\n });\n return result;\n }\n\n /**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\n function mapValues(object, iteratee) {\n var result = {};\n iteratee = getIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n }\n\n /**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\n var merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n });\n\n /**\n * This method is like `_.merge` except that it accepts `customizer` which\n * is invoked to produce the merged values of the destination and source\n * properties. If `customizer` returns `undefined`, merging is handled by the\n * method instead. The `customizer` is invoked with six arguments:\n * (objValue, srcValue, key, object, source, stack).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} sources The source objects.\n * @param {Function} customizer The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * function customizer(objValue, srcValue) {\n * if (_.isArray(objValue)) {\n * return objValue.concat(srcValue);\n * }\n * }\n *\n * var object = { 'a': [1], 'b': [2] };\n * var other = { 'a': [3], 'b': [4] };\n *\n * _.mergeWith(object, other, customizer);\n * // => { 'a': [1, 3], 'b': [2, 4] }\n */\n var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n baseMerge(object, source, srcIndex, customizer);\n });\n\n /**\n * The opposite of `_.pick`; this method creates an object composed of the\n * own and inherited enumerable property paths of `object` that are not omitted.\n *\n * **Note:** This method is considerably slower than `_.pick`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to omit.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omit(object, ['a', 'c']);\n * // => { 'b': '2' }\n */\n var omit = flatRest(function(object, paths) {\n var result = {};\n if (object == null) {\n return result;\n }\n var isDeep = false;\n paths = arrayMap(paths, function(path) {\n path = castPath(path, object);\n isDeep || (isDeep = path.length > 1);\n return path;\n });\n copyObject(object, getAllKeysIn(object), result);\n if (isDeep) {\n result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n }\n var length = paths.length;\n while (length--) {\n baseUnset(result, paths[length]);\n }\n return result;\n });\n\n /**\n * The opposite of `_.pickBy`; this method creates an object composed of\n * the own and inherited enumerable string keyed properties of `object` that\n * `predicate` doesn't return truthy for. The predicate is invoked with two\n * arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.omitBy(object, _.isNumber);\n * // => { 'b': '2' }\n */\n function omitBy(object, predicate) {\n return pickBy(object, negate(getIteratee(predicate)));\n }\n\n /**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\n var pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n });\n\n /**\n * Creates an object composed of the `object` properties `predicate` returns\n * truthy for. The predicate is invoked with two arguments: (value, key).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The source object.\n * @param {Function} [predicate=_.identity] The function invoked per property.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pickBy(object, _.isNumber);\n * // => { 'a': 1, 'c': 3 }\n */\n function pickBy(object, predicate) {\n if (object == null) {\n return {};\n }\n var props = arrayMap(getAllKeysIn(object), function(prop) {\n return [prop];\n });\n predicate = getIteratee(predicate);\n return basePickBy(object, props, function(value, path) {\n return predicate(value, path[0]);\n });\n }\n\n /**\n * This method is like `_.get` except that if the resolved value is a\n * function it's invoked with the `this` binding of its parent object and\n * its result is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to resolve.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n *\n * _.result(object, 'a[0].b.c1');\n * // => 3\n *\n * _.result(object, 'a[0].b.c2');\n * // => 4\n *\n * _.result(object, 'a[0].b.c3', 'default');\n * // => 'default'\n *\n * _.result(object, 'a[0].b.c3', _.constant('default'));\n * // => 'default'\n */\n function result(object, path, defaultValue) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length;\n\n // Ensure the loop is entered when path is empty.\n if (!length) {\n length = 1;\n object = undefined;\n }\n while (++index < length) {\n var value = object == null ? undefined : object[toKey(path[index])];\n if (value === undefined) {\n index = length;\n value = defaultValue;\n }\n object = isFunction(value) ? value.call(object) : value;\n }\n return object;\n }\n\n /**\n * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n * it's created. Arrays are created for missing index properties while objects\n * are created for all other missing properties. Use `_.setWith` to customize\n * `path` creation.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.set(object, 'a[0].b.c', 4);\n * console.log(object.a[0].b.c);\n * // => 4\n *\n * _.set(object, ['x', '0', 'y', 'z'], 5);\n * console.log(object.x[0].y.z);\n * // => 5\n */\n function set(object, path, value) {\n return object == null ? object : baseSet(object, path, value);\n }\n\n /**\n * This method is like `_.set` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.setWith(object, '[0][1]', 'a', Object);\n * // => { '0': { '1': 'a' } }\n */\n function setWith(object, path, value, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseSet(object, path, value, customizer);\n }\n\n /**\n * Creates an array of own enumerable string keyed-value pairs for `object`\n * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n * entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entries\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairs(new Foo);\n * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n */\n var toPairs = createToPairs(keys);\n\n /**\n * Creates an array of own and inherited enumerable string keyed-value pairs\n * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n * or set, its entries are returned.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias entriesIn\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the key-value pairs.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.toPairsIn(new Foo);\n * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n */\n var toPairsIn = createToPairs(keysIn);\n\n /**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\n function transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = getIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n }\n\n /**\n * Removes the property at `path` of `object`.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to unset.\n * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n * _.unset(object, 'a[0].b.c');\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n *\n * _.unset(object, ['a', '0', 'b', 'c']);\n * // => true\n *\n * console.log(object);\n * // => { 'a': [{ 'b': {} }] };\n */\n function unset(object, path) {\n return object == null ? true : baseUnset(object, path);\n }\n\n /**\n * This method is like `_.set` except that accepts `updater` to produce the\n * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n * is invoked with one argument: (value).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n * console.log(object.a[0].b.c);\n * // => 9\n *\n * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n * console.log(object.x[0].y.z);\n * // => 0\n */\n function update(object, path, updater) {\n return object == null ? object : baseUpdate(object, path, castFunction(updater));\n }\n\n /**\n * This method is like `_.update` except that it accepts `customizer` which is\n * invoked to produce the objects of `path`. If `customizer` returns `undefined`\n * path creation is handled by the method instead. The `customizer` is invoked\n * with three arguments: (nsValue, key, nsObject).\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.6.0\n * @category Object\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {Function} updater The function to produce the updated value.\n * @param {Function} [customizer] The function to customize assigned values.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {};\n *\n * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n * // => { '0': { '1': 'a' } }\n */\n function updateWith(object, path, updater, customizer) {\n customizer = typeof customizer == 'function' ? customizer : undefined;\n return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n }\n\n /**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\n function values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n }\n\n /**\n * Creates an array of the own and inherited enumerable string keyed property\n * values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.valuesIn(new Foo);\n * // => [1, 2, 3] (iteration order is not guaranteed)\n */\n function valuesIn(object) {\n return object == null ? [] : baseValues(object, keysIn(object));\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Clamps `number` within the inclusive `lower` and `upper` bounds.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Number\n * @param {number} number The number to clamp.\n * @param {number} [lower] The lower bound.\n * @param {number} upper The upper bound.\n * @returns {number} Returns the clamped number.\n * @example\n *\n * _.clamp(-10, -5, 5);\n * // => -5\n *\n * _.clamp(10, -5, 5);\n * // => 5\n */\n function clamp(number, lower, upper) {\n if (upper === undefined) {\n upper = lower;\n lower = undefined;\n }\n if (upper !== undefined) {\n upper = toNumber(upper);\n upper = upper === upper ? upper : 0;\n }\n if (lower !== undefined) {\n lower = toNumber(lower);\n lower = lower === lower ? lower : 0;\n }\n return baseClamp(toNumber(number), lower, upper);\n }\n\n /**\n * Checks if `n` is between `start` and up to, but not including, `end`. If\n * `end` is not specified, it's set to `start` with `start` then set to `0`.\n * If `start` is greater than `end` the params are swapped to support\n * negative ranges.\n *\n * @static\n * @memberOf _\n * @since 3.3.0\n * @category Number\n * @param {number} number The number to check.\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n * @see _.range, _.rangeRight\n * @example\n *\n * _.inRange(3, 2, 4);\n * // => true\n *\n * _.inRange(4, 8);\n * // => true\n *\n * _.inRange(4, 2);\n * // => false\n *\n * _.inRange(2, 2);\n * // => false\n *\n * _.inRange(1.2, 2);\n * // => true\n *\n * _.inRange(5.2, 4);\n * // => false\n *\n * _.inRange(-3, -2, -6);\n * // => true\n */\n function inRange(number, start, end) {\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n number = toNumber(number);\n return baseInRange(number, start, end);\n }\n\n /**\n * Produces a random number between the inclusive `lower` and `upper` bounds.\n * If only one argument is provided a number between `0` and the given number\n * is returned. If `floating` is `true`, or either `lower` or `upper` are\n * floats, a floating-point number is returned instead of an integer.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @memberOf _\n * @since 0.7.0\n * @category Number\n * @param {number} [lower=0] The lower bound.\n * @param {number} [upper=1] The upper bound.\n * @param {boolean} [floating] Specify returning a floating-point number.\n * @returns {number} Returns the random number.\n * @example\n *\n * _.random(0, 5);\n * // => an integer between 0 and 5\n *\n * _.random(5);\n * // => also an integer between 0 and 5\n *\n * _.random(5, true);\n * // => a floating-point number between 0 and 5\n *\n * _.random(1.2, 5.2);\n * // => a floating-point number between 1.2 and 5.2\n */\n function random(lower, upper, floating) {\n if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n upper = floating = undefined;\n }\n if (floating === undefined) {\n if (typeof upper == 'boolean') {\n floating = upper;\n upper = undefined;\n }\n else if (typeof lower == 'boolean') {\n floating = lower;\n lower = undefined;\n }\n }\n if (lower === undefined && upper === undefined) {\n lower = 0;\n upper = 1;\n }\n else {\n lower = toFinite(lower);\n if (upper === undefined) {\n upper = lower;\n lower = 0;\n } else {\n upper = toFinite(upper);\n }\n }\n if (lower > upper) {\n var temp = lower;\n lower = upper;\n upper = temp;\n }\n if (floating || lower % 1 || upper % 1) {\n var rand = nativeRandom();\n return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n }\n return baseRandom(lower, upper);\n }\n\n /*------------------------------------------------------------------------*/\n\n /**\n * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the camel cased string.\n * @example\n *\n * _.camelCase('Foo Bar');\n * // => 'fooBar'\n *\n * _.camelCase('--foo-bar--');\n * // => 'fooBar'\n *\n * _.camelCase('__FOO_BAR__');\n * // => 'fooBar'\n */\n var camelCase = createCompounder(function(result, word, index) {\n word = word.toLowerCase();\n return result + (index ? capitalize(word) : word);\n });\n\n /**\n * Converts the first character of `string` to upper case and the remaining\n * to lower case.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to capitalize.\n * @returns {string} Returns the capitalized string.\n * @example\n *\n * _.capitalize('FRED');\n * // => 'Fred'\n */\n function capitalize(string) {\n return upperFirst(toString(string).toLowerCase());\n }\n\n /**\n * Deburrs `string` by converting\n * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n * letters to basic Latin letters and removing\n * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to deburr.\n * @returns {string} Returns the deburred string.\n * @example\n *\n * _.deburr('déjà vu');\n * // => 'deja vu'\n */\n function deburr(string) {\n string = toString(string);\n return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n }\n\n /**\n * Checks if `string` ends with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=string.length] The position to search up to.\n * @returns {boolean} Returns `true` if `string` ends with `target`,\n * else `false`.\n * @example\n *\n * _.endsWith('abc', 'c');\n * // => true\n *\n * _.endsWith('abc', 'b');\n * // => false\n *\n * _.endsWith('abc', 'b', 2);\n * // => true\n */\n function endsWith(string, target, position) {\n string = toString(string);\n target = baseToString(target);\n\n var length = string.length;\n position = position === undefined\n ? length\n : baseClamp(toInteger(position), 0, length);\n\n var end = position;\n position -= target.length;\n return position >= 0 && string.slice(position, end) == target;\n }\n\n /**\n * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n * corresponding HTML entities.\n *\n * **Note:** No other characters are escaped. To escape additional\n * characters use a third-party library like [_he_](https://mths.be/he).\n *\n * Though the \">\" character is escaped for symmetry, characters like\n * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n * unless they're part of a tag or unquoted attribute value. See\n * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n * (under \"semi-related fun fact\") for more details.\n *\n * When working with HTML you should always\n * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n * XSS vectors.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escape('fred, barney, & pebbles');\n * // => 'fred, barney, & pebbles'\n */\n function escape(string) {\n string = toString(string);\n return (string && reHasUnescapedHtml.test(string))\n ? string.replace(reUnescapedHtml, escapeHtmlChar)\n : string;\n }\n\n /**\n * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to escape.\n * @returns {string} Returns the escaped string.\n * @example\n *\n * _.escapeRegExp('[lodash](https://lodash.com/)');\n * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n */\n function escapeRegExp(string) {\n string = toString(string);\n return (string && reHasRegExpChar.test(string))\n ? string.replace(reRegExpChar, '\\\\$&')\n : string;\n }\n\n /**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\n var kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n });\n\n /**\n * Converts `string`, as space separated words, to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the lower cased string.\n * @example\n *\n * _.lowerCase('--Foo-Bar--');\n * // => 'foo bar'\n *\n * _.lowerCase('fooBar');\n * // => 'foo bar'\n *\n * _.lowerCase('__FOO_BAR__');\n * // => 'foo bar'\n */\n var lowerCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + word.toLowerCase();\n });\n\n /**\n * Converts the first character of `string` to lower case.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.lowerFirst('Fred');\n * // => 'fred'\n *\n * _.lowerFirst('FRED');\n * // => 'fRED'\n */\n var lowerFirst = createCaseFirst('toLowerCase');\n\n /**\n * Pads `string` on the left and right sides if it's shorter than `length`.\n * Padding characters are truncated if they can't be evenly divided by `length`.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.pad('abc', 8);\n * // => ' abc '\n *\n * _.pad('abc', 8, '_-');\n * // => '_-abc_-_'\n *\n * _.pad('abc', 3);\n * // => 'abc'\n */\n function pad(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n if (!length || strLength >= length) {\n return string;\n }\n var mid = (length - strLength) / 2;\n return (\n createPadding(nativeFloor(mid), chars) +\n string +\n createPadding(nativeCeil(mid), chars)\n );\n }\n\n /**\n * Pads `string` on the right side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padEnd('abc', 6);\n * // => 'abc '\n *\n * _.padEnd('abc', 6, '_-');\n * // => 'abc_-_'\n *\n * _.padEnd('abc', 3);\n * // => 'abc'\n */\n function padEnd(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (string + createPadding(length - strLength, chars))\n : string;\n }\n\n /**\n * Pads `string` on the left side if it's shorter than `length`. Padding\n * characters are truncated if they exceed `length`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to pad.\n * @param {number} [length=0] The padding length.\n * @param {string} [chars=' '] The string used as padding.\n * @returns {string} Returns the padded string.\n * @example\n *\n * _.padStart('abc', 6);\n * // => ' abc'\n *\n * _.padStart('abc', 6, '_-');\n * // => '_-_abc'\n *\n * _.padStart('abc', 3);\n * // => 'abc'\n */\n function padStart(string, length, chars) {\n string = toString(string);\n length = toInteger(length);\n\n var strLength = length ? stringSize(string) : 0;\n return (length && strLength < length)\n ? (createPadding(length - strLength, chars) + string)\n : string;\n }\n\n /**\n * Converts `string` to an integer of the specified radix. If `radix` is\n * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n * hexadecimal, in which case a `radix` of `16` is used.\n *\n * **Note:** This method aligns with the\n * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category String\n * @param {string} string The string to convert.\n * @param {number} [radix=10] The radix to interpret `value` by.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.parseInt('08');\n * // => 8\n *\n * _.map(['6', '08', '10'], _.parseInt);\n * // => [6, 8, 10]\n */\n function parseInt(string, radix, guard) {\n if (guard || radix == null) {\n radix = 0;\n } else if (radix) {\n radix = +radix;\n }\n return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n }\n\n /**\n * Repeats the given string `n` times.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to repeat.\n * @param {number} [n=1] The number of times to repeat the string.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {string} Returns the repeated string.\n * @example\n *\n * _.repeat('*', 3);\n * // => '***'\n *\n * _.repeat('abc', 2);\n * // => 'abcabc'\n *\n * _.repeat('abc', 0);\n * // => ''\n */\n function repeat(string, n, guard) {\n if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n n = 1;\n } else {\n n = toInteger(n);\n }\n return baseRepeat(toString(string), n);\n }\n\n /**\n * Replaces matches for `pattern` in `string` with `replacement`.\n *\n * **Note:** This method is based on\n * [`String#replace`](https://mdn.io/String/replace).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to modify.\n * @param {RegExp|string} pattern The pattern to replace.\n * @param {Function|string} replacement The match replacement.\n * @returns {string} Returns the modified string.\n * @example\n *\n * _.replace('Hi Fred', 'Fred', 'Barney');\n * // => 'Hi Barney'\n */\n function replace() {\n var args = arguments,\n string = toString(args[0]);\n\n return args.length < 3 ? string : string.replace(args[1], args[2]);\n }\n\n /**\n * Converts `string` to\n * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the snake cased string.\n * @example\n *\n * _.snakeCase('Foo Bar');\n * // => 'foo_bar'\n *\n * _.snakeCase('fooBar');\n * // => 'foo_bar'\n *\n * _.snakeCase('--FOO-BAR--');\n * // => 'foo_bar'\n */\n var snakeCase = createCompounder(function(result, word, index) {\n return result + (index ? '_' : '') + word.toLowerCase();\n });\n\n /**\n * Splits `string` by `separator`.\n *\n * **Note:** This method is based on\n * [`String#split`](https://mdn.io/String/split).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category String\n * @param {string} [string=''] The string to split.\n * @param {RegExp|string} separator The separator pattern to split by.\n * @param {number} [limit] The length to truncate results to.\n * @returns {Array} Returns the string segments.\n * @example\n *\n * _.split('a-b-c', '-', 2);\n * // => ['a', 'b']\n */\n function split(string, separator, limit) {\n if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n separator = limit = undefined;\n }\n limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n if (!limit) {\n return [];\n }\n string = toString(string);\n if (string && (\n typeof separator == 'string' ||\n (separator != null && !isRegExp(separator))\n )) {\n separator = baseToString(separator);\n if (!separator && hasUnicode(string)) {\n return castSlice(stringToArray(string), 0, limit);\n }\n }\n return string.split(separator, limit);\n }\n\n /**\n * Converts `string` to\n * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n *\n * @static\n * @memberOf _\n * @since 3.1.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the start cased string.\n * @example\n *\n * _.startCase('--foo-bar--');\n * // => 'Foo Bar'\n *\n * _.startCase('fooBar');\n * // => 'Foo Bar'\n *\n * _.startCase('__FOO_BAR__');\n * // => 'FOO BAR'\n */\n var startCase = createCompounder(function(result, word, index) {\n return result + (index ? ' ' : '') + upperFirst(word);\n });\n\n /**\n * Checks if `string` starts with the given target string.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to inspect.\n * @param {string} [target] The string to search for.\n * @param {number} [position=0] The position to search from.\n * @returns {boolean} Returns `true` if `string` starts with `target`,\n * else `false`.\n * @example\n *\n * _.startsWith('abc', 'a');\n * // => true\n *\n * _.startsWith('abc', 'b');\n * // => false\n *\n * _.startsWith('abc', 'b', 1);\n * // => true\n */\n function startsWith(string, target, position) {\n string = toString(string);\n position = position == null\n ? 0\n : baseClamp(toInteger(position), 0, string.length);\n\n target = baseToString(target);\n return string.slice(position, position + target.length) == target;\n }\n\n /**\n * Creates a compiled template function that can interpolate data properties\n * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n * properties may be accessed as free variables in the template. If a setting\n * object is given, it takes precedence over `_.templateSettings` values.\n *\n * **Note:** In the development build `_.template` utilizes\n * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n * for easier debugging.\n *\n * For more information on precompiling templates see\n * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n *\n * For more information on Chrome extension sandboxes see\n * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category String\n * @param {string} [string=''] The template string.\n * @param {Object} [options={}] The options object.\n * @param {RegExp} [options.escape=_.templateSettings.escape]\n * The HTML \"escape\" delimiter.\n * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n * The \"evaluate\" delimiter.\n * @param {Object} [options.imports=_.templateSettings.imports]\n * An object to import into the template as free variables.\n * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n * The \"interpolate\" delimiter.\n * @param {string} [options.sourceURL='lodash.templateSources[n]']\n * The sourceURL of the compiled template.\n * @param {string} [options.variable='obj']\n * The data object variable name.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Function} Returns the compiled template function.\n * @example\n *\n * // Use the \"interpolate\" delimiter to create a compiled template.\n * var compiled = _.template('hello <%= user %>!');\n * compiled({ 'user': 'fred' });\n * // => 'hello fred!'\n *\n * // Use the HTML \"escape\" delimiter to escape data property values.\n * var compiled = _.template('<%- value %>');\n * compiled({ 'value': '`.\n this.sequenceIndex = Number(c === 60 /* Lt */);\n }\n };\n Tokenizer.prototype.stateCDATASequence = function (c) {\n if (c === Sequences.Cdata[this.sequenceIndex]) {\n if (++this.sequenceIndex === Sequences.Cdata.length) {\n this._state = 21 /* InCommentLike */;\n this.currentSequence = Sequences.CdataEnd;\n this.sequenceIndex = 0;\n this.sectionStart = this._index + 1;\n }\n }\n else {\n this.sequenceIndex = 0;\n this._state = 16 /* InDeclaration */;\n this.stateInDeclaration(c); // Reconsume the character\n }\n };\n /**\n * When we wait for one specific character, we can speed things up\n * by skipping through the buffer until we find it.\n *\n * @returns Whether the character was found.\n */\n Tokenizer.prototype.fastForwardTo = function (c) {\n while (++this._index < this.buffer.length) {\n if (this.buffer.charCodeAt(this._index) === c) {\n return true;\n }\n }\n /*\n * We increment the index at the end of the `parse` loop,\n * so set it to `buffer.length - 1` here.\n *\n * TODO: Refactor `parse` to increment index before calling states.\n */\n this._index = this.buffer.length - 1;\n return false;\n };\n /**\n * Comments and CDATA end with `-->` and `]]>`.\n *\n * Their common qualities are:\n * - Their end sequences have a distinct character they start with.\n * - That character is then repeated, so we have to check multiple repeats.\n * - All characters but the start character of the sequence can be skipped.\n */\n Tokenizer.prototype.stateInCommentLike = function (c) {\n if (c === this.currentSequence[this.sequenceIndex]) {\n if (++this.sequenceIndex === this.currentSequence.length) {\n // Remove 2 trailing chars\n var section = this.buffer.slice(this.sectionStart, this._index - 2);\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(section);\n }\n else {\n this.cbs.oncomment(section);\n }\n this.sequenceIndex = 0;\n this.sectionStart = this._index + 1;\n this._state = 1 /* Text */;\n }\n }\n else if (this.sequenceIndex === 0) {\n // Fast-forward to the first character of the sequence\n if (this.fastForwardTo(this.currentSequence[0])) {\n this.sequenceIndex = 1;\n }\n }\n else if (c !== this.currentSequence[this.sequenceIndex - 1]) {\n // Allow long sequences, eg. --->, ]]]>\n this.sequenceIndex = 0;\n }\n };\n /**\n * HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.\n *\n * XML allows a lot more characters here (@see https://www.w3.org/TR/REC-xml/#NT-NameStartChar).\n * We allow anything that wouldn't end the tag.\n */\n Tokenizer.prototype.isTagStartChar = function (c) {\n return this.xmlMode ? !isEndOfTagSection(c) : isASCIIAlpha(c);\n };\n Tokenizer.prototype.startSpecial = function (sequence, offset) {\n this.isSpecial = true;\n this.currentSequence = sequence;\n this.sequenceIndex = offset;\n this._state = 23 /* SpecialStartSequence */;\n };\n Tokenizer.prototype.stateBeforeTagName = function (c) {\n if (c === 33 /* ExclamationMark */) {\n this._state = 15 /* BeforeDeclaration */;\n this.sectionStart = this._index + 1;\n }\n else if (c === 63 /* Questionmark */) {\n this._state = 17 /* InProcessingInstruction */;\n this.sectionStart = this._index + 1;\n }\n else if (this.isTagStartChar(c)) {\n var lower = c | 0x20;\n this.sectionStart = this._index;\n if (!this.xmlMode && lower === Sequences.TitleEnd[2]) {\n this.startSpecial(Sequences.TitleEnd, 3);\n }\n else {\n this._state =\n !this.xmlMode && lower === Sequences.ScriptEnd[2]\n ? 22 /* BeforeSpecialS */\n : 3 /* InTagName */;\n }\n }\n else if (c === 47 /* Slash */) {\n this._state = 5 /* BeforeClosingTagName */;\n }\n else {\n this._state = 1 /* Text */;\n this.stateText(c);\n }\n };\n Tokenizer.prototype.stateInTagName = function (c) {\n if (isEndOfTagSection(c)) {\n this.cbs.onopentagname(this.getSection());\n this.sectionStart = -1;\n this._state = 8 /* BeforeAttributeName */;\n this.stateBeforeAttributeName(c);\n }\n };\n Tokenizer.prototype.stateBeforeClosingTagName = function (c) {\n if (isWhitespace(c)) {\n // Ignore\n }\n else if (c === 62 /* Gt */) {\n this._state = 1 /* Text */;\n }\n else {\n this._state = this.isTagStartChar(c)\n ? 6 /* InClosingTagName */\n : 20 /* InSpecialComment */;\n this.sectionStart = this._index;\n }\n };\n Tokenizer.prototype.stateInClosingTagName = function (c) {\n if (c === 62 /* Gt */ || isWhitespace(c)) {\n this.cbs.onclosetag(this.getSection());\n this.sectionStart = -1;\n this._state = 7 /* AfterClosingTagName */;\n this.stateAfterClosingTagName(c);\n }\n };\n Tokenizer.prototype.stateAfterClosingTagName = function (c) {\n // Skip everything until \">\"\n if (c === 62 /* Gt */ || this.fastForwardTo(62 /* Gt */)) {\n this._state = 1 /* Text */;\n this.sectionStart = this._index + 1;\n }\n };\n Tokenizer.prototype.stateBeforeAttributeName = function (c) {\n if (c === 62 /* Gt */) {\n this.cbs.onopentagend();\n if (this.isSpecial) {\n this._state = 24 /* InSpecialTag */;\n this.sequenceIndex = 0;\n }\n else {\n this._state = 1 /* Text */;\n }\n this.baseState = this._state;\n this.sectionStart = this._index + 1;\n }\n else if (c === 47 /* Slash */) {\n this._state = 4 /* InSelfClosingTag */;\n }\n else if (!isWhitespace(c)) {\n this._state = 9 /* InAttributeName */;\n this.sectionStart = this._index;\n }\n };\n Tokenizer.prototype.stateInSelfClosingTag = function (c) {\n if (c === 62 /* Gt */) {\n this.cbs.onselfclosingtag();\n this._state = 1 /* Text */;\n this.baseState = 1 /* Text */;\n this.sectionStart = this._index + 1;\n this.isSpecial = false; // Reset special state, in case of self-closing special tags\n }\n else if (!isWhitespace(c)) {\n this._state = 8 /* BeforeAttributeName */;\n this.stateBeforeAttributeName(c);\n }\n };\n Tokenizer.prototype.stateInAttributeName = function (c) {\n if (c === 61 /* Eq */ || isEndOfTagSection(c)) {\n this.cbs.onattribname(this.getSection());\n this.sectionStart = -1;\n this._state = 10 /* AfterAttributeName */;\n this.stateAfterAttributeName(c);\n }\n };\n Tokenizer.prototype.stateAfterAttributeName = function (c) {\n if (c === 61 /* Eq */) {\n this._state = 11 /* BeforeAttributeValue */;\n }\n else if (c === 47 /* Slash */ || c === 62 /* Gt */) {\n this.cbs.onattribend(undefined);\n this._state = 8 /* BeforeAttributeName */;\n this.stateBeforeAttributeName(c);\n }\n else if (!isWhitespace(c)) {\n this.cbs.onattribend(undefined);\n this._state = 9 /* InAttributeName */;\n this.sectionStart = this._index;\n }\n };\n Tokenizer.prototype.stateBeforeAttributeValue = function (c) {\n if (c === 34 /* DoubleQuote */) {\n this._state = 12 /* InAttributeValueDq */;\n this.sectionStart = this._index + 1;\n }\n else if (c === 39 /* SingleQuote */) {\n this._state = 13 /* InAttributeValueSq */;\n this.sectionStart = this._index + 1;\n }\n else if (!isWhitespace(c)) {\n this.sectionStart = this._index;\n this._state = 14 /* InAttributeValueNq */;\n this.stateInAttributeValueNoQuotes(c); // Reconsume token\n }\n };\n Tokenizer.prototype.handleInAttributeValue = function (c, quote) {\n if (c === quote ||\n (!this.decodeEntities && this.fastForwardTo(quote))) {\n this.cbs.onattribdata(this.getSection());\n this.sectionStart = -1;\n this.cbs.onattribend(String.fromCharCode(quote));\n this._state = 8 /* BeforeAttributeName */;\n }\n else if (this.decodeEntities && c === 38 /* Amp */) {\n this.baseState = this._state;\n this._state = 25 /* BeforeEntity */;\n }\n };\n Tokenizer.prototype.stateInAttributeValueDoubleQuotes = function (c) {\n this.handleInAttributeValue(c, 34 /* DoubleQuote */);\n };\n Tokenizer.prototype.stateInAttributeValueSingleQuotes = function (c) {\n this.handleInAttributeValue(c, 39 /* SingleQuote */);\n };\n Tokenizer.prototype.stateInAttributeValueNoQuotes = function (c) {\n if (isWhitespace(c) || c === 62 /* Gt */) {\n this.cbs.onattribdata(this.getSection());\n this.sectionStart = -1;\n this.cbs.onattribend(null);\n this._state = 8 /* BeforeAttributeName */;\n this.stateBeforeAttributeName(c);\n }\n else if (this.decodeEntities && c === 38 /* Amp */) {\n this.baseState = this._state;\n this._state = 25 /* BeforeEntity */;\n }\n };\n Tokenizer.prototype.stateBeforeDeclaration = function (c) {\n if (c === 91 /* OpeningSquareBracket */) {\n this._state = 19 /* CDATASequence */;\n this.sequenceIndex = 0;\n }\n else {\n this._state =\n c === 45 /* Dash */\n ? 18 /* BeforeComment */\n : 16 /* InDeclaration */;\n }\n };\n Tokenizer.prototype.stateInDeclaration = function (c) {\n if (c === 62 /* Gt */ || this.fastForwardTo(62 /* Gt */)) {\n this.cbs.ondeclaration(this.getSection());\n this._state = 1 /* Text */;\n this.sectionStart = this._index + 1;\n }\n };\n Tokenizer.prototype.stateInProcessingInstruction = function (c) {\n if (c === 62 /* Gt */ || this.fastForwardTo(62 /* Gt */)) {\n this.cbs.onprocessinginstruction(this.getSection());\n this._state = 1 /* Text */;\n this.sectionStart = this._index + 1;\n }\n };\n Tokenizer.prototype.stateBeforeComment = function (c) {\n if (c === 45 /* Dash */) {\n this._state = 21 /* InCommentLike */;\n this.currentSequence = Sequences.CommentEnd;\n // Allow short comments (eg. )\n this.sequenceIndex = 2;\n this.sectionStart = this._index + 1;\n }\n else {\n this._state = 16 /* InDeclaration */;\n }\n };\n Tokenizer.prototype.stateInSpecialComment = function (c) {\n if (c === 62 /* Gt */ || this.fastForwardTo(62 /* Gt */)) {\n this.cbs.oncomment(this.getSection());\n this._state = 1 /* Text */;\n this.sectionStart = this._index + 1;\n }\n };\n Tokenizer.prototype.stateBeforeSpecialS = function (c) {\n var lower = c | 0x20;\n if (lower === Sequences.ScriptEnd[3]) {\n this.startSpecial(Sequences.ScriptEnd, 4);\n }\n else if (lower === Sequences.StyleEnd[3]) {\n this.startSpecial(Sequences.StyleEnd, 4);\n }\n else {\n this._state = 3 /* InTagName */;\n this.stateInTagName(c); // Consume the token again\n }\n };\n Tokenizer.prototype.stateBeforeEntity = function (c) {\n // Start excess with 1 to include the '&'\n this.entityExcess = 1;\n if (c === 35 /* Num */) {\n this._state = 26 /* BeforeNumericEntity */;\n }\n else if (c === 38 /* Amp */) {\n // We have two `&` characters in a row. Stay in the current state.\n }\n else {\n this.trieIndex = 0;\n this.trieCurrent = this.entityTrie[0];\n this.trieResult = null;\n this._state = 27 /* InNamedEntity */;\n this.stateInNamedEntity(c);\n }\n };\n Tokenizer.prototype.stateInNamedEntity = function (c) {\n this.entityExcess += 1;\n this.trieIndex = (0, decode_1.determineBranch)(this.entityTrie, this.trieCurrent, this.trieIndex + 1, c);\n if (this.trieIndex < 0) {\n this.emitNamedEntity();\n this._index--;\n return;\n }\n this.trieCurrent = this.entityTrie[this.trieIndex];\n // If the branch is a value, store it and continue\n if (this.trieCurrent & decode_1.BinTrieFlags.HAS_VALUE) {\n // If we have a legacy entity while parsing strictly, just skip the number of bytes\n if (!this.allowLegacyEntity() && c !== 59 /* Semi */) {\n // No need to consider multi-byte values, as the legacy entity is always a single byte\n this.trieIndex += 1;\n }\n else {\n // Add 1 as we have already incremented the excess\n var entityStart = this._index - this.entityExcess + 1;\n if (entityStart > this.sectionStart) {\n this.emitPartial(this.buffer.substring(this.sectionStart, entityStart));\n }\n // If this is a surrogate pair, combine the higher bits from the node with the next byte\n this.trieResult =\n this.trieCurrent & decode_1.BinTrieFlags.MULTI_BYTE\n ? String.fromCharCode(this.entityTrie[++this.trieIndex], this.entityTrie[++this.trieIndex])\n : String.fromCharCode(this.entityTrie[++this.trieIndex]);\n this.entityExcess = 0;\n this.sectionStart = this._index + 1;\n }\n }\n };\n Tokenizer.prototype.emitNamedEntity = function () {\n if (this.trieResult) {\n this.emitPartial(this.trieResult);\n }\n this._state = this.baseState;\n };\n Tokenizer.prototype.stateBeforeNumericEntity = function (c) {\n if ((c | 0x20) === 120 /* LowerX */) {\n this.entityExcess++;\n this._state = 29 /* InHexEntity */;\n }\n else {\n this._state = 28 /* InNumericEntity */;\n this.stateInNumericEntity(c);\n }\n };\n Tokenizer.prototype.decodeNumericEntity = function (base, strict) {\n var entityStart = this._index - this.entityExcess - 1;\n var numberStart = entityStart + 2 + (base >> 4);\n if (numberStart !== this._index) {\n // Emit leading data if any\n if (entityStart > this.sectionStart) {\n this.emitPartial(this.buffer.substring(this.sectionStart, entityStart));\n }\n // Parse entity\n var entity = this.buffer.substring(numberStart, this._index);\n var parsed = parseInt(entity, base);\n this.emitPartial((0, decode_codepoint_1.default)(parsed));\n this.sectionStart = this._index + Number(strict);\n }\n this._state = this.baseState;\n };\n Tokenizer.prototype.stateInNumericEntity = function (c) {\n if (c === 59 /* Semi */) {\n this.decodeNumericEntity(10, true);\n }\n else if (!isNumber(c)) {\n if (this.allowLegacyEntity()) {\n this.decodeNumericEntity(10, false);\n }\n else {\n this._state = this.baseState;\n }\n this._index--;\n }\n else {\n this.entityExcess++;\n }\n };\n Tokenizer.prototype.stateInHexEntity = function (c) {\n if (c === 59 /* Semi */) {\n this.decodeNumericEntity(16, true);\n }\n else if ((c < 97 /* LowerA */ || c > 102 /* LowerF */) &&\n (c < 65 /* UpperA */ || c > 70 /* UpperF */) &&\n !isNumber(c)) {\n if (this.allowLegacyEntity()) {\n this.decodeNumericEntity(16, false);\n }\n else {\n this._state = this.baseState;\n }\n this._index--;\n }\n else {\n this.entityExcess++;\n }\n };\n Tokenizer.prototype.allowLegacyEntity = function () {\n return (!this.xmlMode &&\n (this.baseState === 1 /* Text */ ||\n this.baseState === 24 /* InSpecialTag */));\n };\n /**\n * Remove data that has already been consumed from the buffer.\n */\n Tokenizer.prototype.cleanup = function () {\n // If we are inside of text, emit what we already have.\n if (this.running &&\n this.sectionStart !== this._index &&\n (this._state === 1 /* Text */ ||\n (this._state === 24 /* InSpecialTag */ &&\n this.sequenceIndex === 0))) {\n // TODO: We could emit attribute data here as well.\n this.cbs.ontext(this.buffer.substr(this.sectionStart));\n this.sectionStart = this._index;\n }\n var start = this.sectionStart < 0 ? this._index : this.sectionStart;\n this.buffer =\n start === this.buffer.length ? \"\" : this.buffer.substr(start);\n this._index -= start;\n this.bufferOffset += start;\n if (this.sectionStart > 0) {\n this.sectionStart = 0;\n }\n };\n Tokenizer.prototype.shouldContinue = function () {\n return this._index < this.buffer.length && this.running;\n };\n /**\n * Iterates through the buffer, calling the function corresponding to the current state.\n *\n * States that are more likely to be hit are higher up, as a performance improvement.\n */\n Tokenizer.prototype.parse = function () {\n while (this.shouldContinue()) {\n var c = this.buffer.charCodeAt(this._index);\n if (this._state === 1 /* Text */) {\n this.stateText(c);\n }\n else if (this._state === 23 /* SpecialStartSequence */) {\n this.stateSpecialStartSequence(c);\n }\n else if (this._state === 24 /* InSpecialTag */) {\n this.stateInSpecialTag(c);\n }\n else if (this._state === 19 /* CDATASequence */) {\n this.stateCDATASequence(c);\n }\n else if (this._state === 12 /* InAttributeValueDq */) {\n this.stateInAttributeValueDoubleQuotes(c);\n }\n else if (this._state === 9 /* InAttributeName */) {\n this.stateInAttributeName(c);\n }\n else if (this._state === 21 /* InCommentLike */) {\n this.stateInCommentLike(c);\n }\n else if (this._state === 20 /* InSpecialComment */) {\n this.stateInSpecialComment(c);\n }\n else if (this._state === 8 /* BeforeAttributeName */) {\n this.stateBeforeAttributeName(c);\n }\n else if (this._state === 3 /* InTagName */) {\n this.stateInTagName(c);\n }\n else if (this._state === 6 /* InClosingTagName */) {\n this.stateInClosingTagName(c);\n }\n else if (this._state === 2 /* BeforeTagName */) {\n this.stateBeforeTagName(c);\n }\n else if (this._state === 10 /* AfterAttributeName */) {\n this.stateAfterAttributeName(c);\n }\n else if (this._state === 13 /* InAttributeValueSq */) {\n this.stateInAttributeValueSingleQuotes(c);\n }\n else if (this._state === 11 /* BeforeAttributeValue */) {\n this.stateBeforeAttributeValue(c);\n }\n else if (this._state === 5 /* BeforeClosingTagName */) {\n this.stateBeforeClosingTagName(c);\n }\n else if (this._state === 7 /* AfterClosingTagName */) {\n this.stateAfterClosingTagName(c);\n }\n else if (this._state === 22 /* BeforeSpecialS */) {\n this.stateBeforeSpecialS(c);\n }\n else if (this._state === 14 /* InAttributeValueNq */) {\n this.stateInAttributeValueNoQuotes(c);\n }\n else if (this._state === 4 /* InSelfClosingTag */) {\n this.stateInSelfClosingTag(c);\n }\n else if (this._state === 16 /* InDeclaration */) {\n this.stateInDeclaration(c);\n }\n else if (this._state === 15 /* BeforeDeclaration */) {\n this.stateBeforeDeclaration(c);\n }\n else if (this._state === 18 /* BeforeComment */) {\n this.stateBeforeComment(c);\n }\n else if (this._state === 17 /* InProcessingInstruction */) {\n this.stateInProcessingInstruction(c);\n }\n else if (this._state === 27 /* InNamedEntity */) {\n this.stateInNamedEntity(c);\n }\n else if (this._state === 25 /* BeforeEntity */) {\n this.stateBeforeEntity(c);\n }\n else if (this._state === 29 /* InHexEntity */) {\n this.stateInHexEntity(c);\n }\n else if (this._state === 28 /* InNumericEntity */) {\n this.stateInNumericEntity(c);\n }\n else {\n // `this._state === State.BeforeNumericEntity`\n this.stateBeforeNumericEntity(c);\n }\n this._index++;\n }\n this.cleanup();\n };\n Tokenizer.prototype.finish = function () {\n if (this._state === 27 /* InNamedEntity */) {\n this.emitNamedEntity();\n }\n // If there is remaining data, emit it in a reasonable way\n if (this.sectionStart < this._index) {\n this.handleTrailingData();\n }\n this.cbs.onend();\n };\n /** Handle any trailing data. */\n Tokenizer.prototype.handleTrailingData = function () {\n var data = this.buffer.substr(this.sectionStart);\n if (this._state === 21 /* InCommentLike */) {\n if (this.currentSequence === Sequences.CdataEnd) {\n this.cbs.oncdata(data);\n }\n else {\n this.cbs.oncomment(data);\n }\n }\n else if (this._state === 28 /* InNumericEntity */ &&\n this.allowLegacyEntity()) {\n this.decodeNumericEntity(10, false);\n // All trailing data will have been consumed\n }\n else if (this._state === 29 /* InHexEntity */ &&\n this.allowLegacyEntity()) {\n this.decodeNumericEntity(16, false);\n // All trailing data will have been consumed\n }\n else if (this._state === 3 /* InTagName */ ||\n this._state === 8 /* BeforeAttributeName */ ||\n this._state === 11 /* BeforeAttributeValue */ ||\n this._state === 10 /* AfterAttributeName */ ||\n this._state === 9 /* InAttributeName */ ||\n this._state === 13 /* InAttributeValueSq */ ||\n this._state === 12 /* InAttributeValueDq */ ||\n this._state === 14 /* InAttributeValueNq */ ||\n this._state === 6 /* InClosingTagName */) {\n /*\n * If we are currently in an opening or closing tag, us not calling the\n * respective callback signals that the tag should be ignored.\n */\n }\n else {\n this.cbs.ontext(data);\n }\n };\n Tokenizer.prototype.getSection = function () {\n return this.buffer.substring(this.sectionStart, this._index);\n };\n Tokenizer.prototype.emitPartial = function (value) {\n if (this.baseState !== 1 /* Text */ &&\n this.baseState !== 24 /* InSpecialTag */) {\n this.cbs.onattribdata(value);\n }\n else {\n this.cbs.ontext(value);\n }\n };\n return Tokenizer;\n}());\nexports.default = Tokenizer;\n","\"use strict\";\n// Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decodeMap = new Map([\n [0, 65533],\n [128, 8364],\n [130, 8218],\n [131, 402],\n [132, 8222],\n [133, 8230],\n [134, 8224],\n [135, 8225],\n [136, 710],\n [137, 8240],\n [138, 352],\n [139, 8249],\n [140, 338],\n [142, 381],\n [145, 8216],\n [146, 8217],\n [147, 8220],\n [148, 8221],\n [149, 8226],\n [150, 8211],\n [151, 8212],\n [152, 732],\n [153, 8482],\n [154, 353],\n [155, 8250],\n [156, 339],\n [158, 382],\n [159, 376],\n]);\nvar fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins\nString.fromCodePoint ||\n function (codePoint) {\n var output = \"\";\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n output += String.fromCharCode(codePoint);\n return output;\n };\nfunction decodeCodePoint(codePoint) {\n var _a;\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n return fromCodePoint((_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint);\n}\nexports.default = decodeCodePoint;\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeXML = exports.decodeHTMLStrict = exports.decodeHTML = exports.determineBranch = exports.JUMP_OFFSET_BASE = exports.BinTrieFlags = exports.xmlDecodeTree = exports.htmlDecodeTree = void 0;\nvar decode_data_html_1 = __importDefault(require(\"./generated/decode-data-html\"));\nexports.htmlDecodeTree = decode_data_html_1.default;\nvar decode_data_xml_1 = __importDefault(require(\"./generated/decode-data-xml\"));\nexports.xmlDecodeTree = decode_data_xml_1.default;\nvar decode_codepoint_1 = __importDefault(require(\"./decode_codepoint\"));\nvar BinTrieFlags;\n(function (BinTrieFlags) {\n BinTrieFlags[BinTrieFlags[\"HAS_VALUE\"] = 32768] = \"HAS_VALUE\";\n BinTrieFlags[BinTrieFlags[\"BRANCH_LENGTH\"] = 32512] = \"BRANCH_LENGTH\";\n BinTrieFlags[BinTrieFlags[\"MULTI_BYTE\"] = 128] = \"MULTI_BYTE\";\n BinTrieFlags[BinTrieFlags[\"JUMP_TABLE\"] = 127] = \"JUMP_TABLE\";\n})(BinTrieFlags = exports.BinTrieFlags || (exports.BinTrieFlags = {}));\nexports.JUMP_OFFSET_BASE = 48 /* ZERO */ - 1;\nfunction getDecoder(decodeTree) {\n return function decodeHTMLBinary(str, strict) {\n var ret = \"\";\n var lastIdx = 0;\n var strIdx = 0;\n while ((strIdx = str.indexOf(\"&\", strIdx)) >= 0) {\n ret += str.slice(lastIdx, strIdx);\n lastIdx = strIdx;\n // Skip the \"&\"\n strIdx += 1;\n // If we have a numeric entity, handle this separately.\n if (str.charCodeAt(strIdx) === 35 /* NUM */) {\n // Skip the leading \"&#\". For hex entities, also skip the leading \"x\".\n var start = strIdx + 1;\n var base = 10;\n var cp = str.charCodeAt(start);\n if ((cp | 32 /* To_LOWER_BIT */) === 120 /* LOWER_X */) {\n base = 16;\n strIdx += 1;\n start += 1;\n }\n while (((cp = str.charCodeAt(++strIdx)) >= 48 /* ZERO */ &&\n cp <= 57 /* NINE */) ||\n (base === 16 &&\n (cp | 32 /* To_LOWER_BIT */) >= 97 /* LOWER_A */ &&\n (cp | 32 /* To_LOWER_BIT */) <= 102 /* LOWER_F */))\n ;\n if (start !== strIdx) {\n var entity = str.substring(start, strIdx);\n var parsed = parseInt(entity, base);\n if (str.charCodeAt(strIdx) === 59 /* SEMI */) {\n strIdx += 1;\n }\n else if (strict) {\n continue;\n }\n ret += decode_codepoint_1.default(parsed);\n lastIdx = strIdx;\n }\n continue;\n }\n var result = null;\n var excess = 1;\n var treeIdx = 0;\n var current = decodeTree[treeIdx];\n for (; strIdx < str.length; strIdx++, excess++) {\n treeIdx = determineBranch(decodeTree, current, treeIdx + 1, str.charCodeAt(strIdx));\n if (treeIdx < 0)\n break;\n current = decodeTree[treeIdx];\n // If the branch is a value, store it and continue\n if (current & BinTrieFlags.HAS_VALUE) {\n // If we have a legacy entity while parsing strictly, just skip the number of bytes\n if (strict && str.charCodeAt(strIdx) !== 59 /* SEMI */) {\n // No need to consider multi-byte values, as the legacy entity is always a single byte\n treeIdx += 1;\n }\n else {\n // If this is a surrogate pair, combine the higher bits from the node with the next byte\n result =\n current & BinTrieFlags.MULTI_BYTE\n ? String.fromCharCode(decodeTree[++treeIdx], decodeTree[++treeIdx])\n : String.fromCharCode(decodeTree[++treeIdx]);\n excess = 0;\n }\n }\n }\n if (result != null) {\n ret += result;\n lastIdx = strIdx - excess + 1;\n }\n }\n return ret + str.slice(lastIdx);\n };\n}\nfunction determineBranch(decodeTree, current, nodeIdx, char) {\n if (current <= 128) {\n return char === current ? nodeIdx : -1;\n }\n var branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 8;\n if (branchCount === 0) {\n return -1;\n }\n if (branchCount === 1) {\n return char === decodeTree[nodeIdx] ? nodeIdx + 1 : -1;\n }\n var jumpOffset = current & BinTrieFlags.JUMP_TABLE;\n if (jumpOffset) {\n var value = char - exports.JUMP_OFFSET_BASE - jumpOffset;\n return value < 0 || value > branchCount\n ? -1\n : decodeTree[nodeIdx + value] - 1;\n }\n // Binary search for the character.\n var lo = nodeIdx;\n var hi = lo + branchCount - 1;\n while (lo <= hi) {\n var mid = (lo + hi) >>> 1;\n var midVal = decodeTree[mid];\n if (midVal < char) {\n lo = mid + 1;\n }\n else if (midVal > char) {\n hi = mid - 1;\n }\n else {\n return decodeTree[mid + branchCount];\n }\n }\n return -1;\n}\nexports.determineBranch = determineBranch;\nvar htmlDecoder = getDecoder(decode_data_html_1.default);\nvar xmlDecoder = getDecoder(decode_data_xml_1.default);\nfunction decodeHTML(str) {\n return htmlDecoder(str, false);\n}\nexports.decodeHTML = decodeHTML;\nfunction decodeHTMLStrict(str) {\n return htmlDecoder(str, true);\n}\nexports.decodeHTMLStrict = decodeHTMLStrict;\nfunction decodeXML(str) {\n return xmlDecoder(str, true);\n}\nexports.decodeXML = decodeXML;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Generated using scripts/write-decode-map.ts\n// prettier-ignore\nexports.default = new Uint16Array([14866, 60, 237, 340, 721, 1312, 1562, 1654, 1838, 1957, 2183, 2239, 2301, 2958, 3037, 3893, 4123, 4298, 4330, 4801, 5191, 5395, 5752, 5903, 5943, 5972, 6050, 0, 0, 0, 0, 0, 0, 6135, 6565, 7422, 8183, 8738, 9242, 9503, 9938, 10189, 10573, 10637, 10715, 11950, 12246, 13539, 13950, 14445, 14533, 15364, 16514, 16980, 17390, 17763, 17849, 18036, 18125, 4096, 69, 77, 97, 98, 99, 102, 103, 108, 109, 110, 111, 112, 114, 115, 116, 117, 92, 100, 106, 115, 122, 137, 142, 151, 157, 163, 167, 182, 196, 204, 220, 229, 108, 105, 103, 33024, 198, 59, 32768, 198, 80, 33024, 38, 59, 32768, 38, 99, 117, 116, 101, 33024, 193, 59, 32768, 193, 114, 101, 118, 101, 59, 32768, 258, 512, 105, 121, 127, 134, 114, 99, 33024, 194, 59, 32768, 194, 59, 32768, 1040, 114, 59, 32896, 55349, 56580, 114, 97, 118, 101, 33024, 192, 59, 32768, 192, 112, 104, 97, 59, 32768, 913, 97, 99, 114, 59, 32768, 256, 100, 59, 32768, 10835, 512, 103, 112, 172, 177, 111, 110, 59, 32768, 260, 102, 59, 32896, 55349, 56632, 112, 108, 121, 70, 117, 110, 99, 116, 105, 111, 110, 59, 32768, 8289, 105, 110, 103, 33024, 197, 59, 32768, 197, 512, 99, 115, 209, 214, 114, 59, 32896, 55349, 56476, 105, 103, 110, 59, 32768, 8788, 105, 108, 100, 101, 33024, 195, 59, 32768, 195, 109, 108, 33024, 196, 59, 32768, 196, 2048, 97, 99, 101, 102, 111, 114, 115, 117, 253, 278, 282, 310, 315, 321, 327, 332, 512, 99, 114, 258, 267, 107, 115, 108, 97, 115, 104, 59, 32768, 8726, 583, 271, 274, 59, 32768, 10983, 101, 100, 59, 32768, 8966, 121, 59, 32768, 1041, 768, 99, 114, 116, 289, 296, 306, 97, 117, 115, 101, 59, 32768, 8757, 110, 111, 117, 108, 108, 105, 115, 59, 32768, 8492, 97, 59, 32768, 914, 114, 59, 32896, 55349, 56581, 112, 102, 59, 32896, 55349, 56633, 101, 118, 101, 59, 32768, 728, 99, 114, 59, 32768, 8492, 109, 112, 101, 113, 59, 32768, 8782, 3584, 72, 79, 97, 99, 100, 101, 102, 104, 105, 108, 111, 114, 115, 117, 368, 373, 380, 426, 461, 466, 487, 491, 495, 533, 593, 695, 701, 707, 99, 121, 59, 32768, 1063, 80, 89, 33024, 169, 59, 32768, 169, 768, 99, 112, 121, 387, 393, 419, 117, 116, 101, 59, 32768, 262, 512, 59, 105, 398, 400, 32768, 8914, 116, 97, 108, 68, 105, 102, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, 59, 32768, 8517, 108, 101, 121, 115, 59, 32768, 8493, 1024, 97, 101, 105, 111, 435, 441, 449, 454, 114, 111, 110, 59, 32768, 268, 100, 105, 108, 33024, 199, 59, 32768, 199, 114, 99, 59, 32768, 264, 110, 105, 110, 116, 59, 32768, 8752, 111, 116, 59, 32768, 266, 512, 100, 110, 471, 478, 105, 108, 108, 97, 59, 32768, 184, 116, 101, 114, 68, 111, 116, 59, 32768, 183, 114, 59, 32768, 8493, 105, 59, 32768, 935, 114, 99, 108, 101, 1024, 68, 77, 80, 84, 508, 513, 520, 526, 111, 116, 59, 32768, 8857, 105, 110, 117, 115, 59, 32768, 8854, 108, 117, 115, 59, 32768, 8853, 105, 109, 101, 115, 59, 32768, 8855, 111, 512, 99, 115, 539, 562, 107, 119, 105, 115, 101, 67, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 32768, 8754, 101, 67, 117, 114, 108, 121, 512, 68, 81, 573, 586, 111, 117, 98, 108, 101, 81, 117, 111, 116, 101, 59, 32768, 8221, 117, 111, 116, 101, 59, 32768, 8217, 1024, 108, 110, 112, 117, 602, 614, 648, 664, 111, 110, 512, 59, 101, 609, 611, 32768, 8759, 59, 32768, 10868, 768, 103, 105, 116, 621, 629, 634, 114, 117, 101, 110, 116, 59, 32768, 8801, 110, 116, 59, 32768, 8751, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 32768, 8750, 512, 102, 114, 653, 656, 59, 32768, 8450, 111, 100, 117, 99, 116, 59, 32768, 8720, 110, 116, 101, 114, 67, 108, 111, 99, 107, 119, 105, 115, 101, 67, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 32768, 8755, 111, 115, 115, 59, 32768, 10799, 99, 114, 59, 32896, 55349, 56478, 112, 512, 59, 67, 713, 715, 32768, 8915, 97, 112, 59, 32768, 8781, 2816, 68, 74, 83, 90, 97, 99, 101, 102, 105, 111, 115, 743, 758, 763, 768, 773, 795, 809, 821, 826, 910, 1295, 512, 59, 111, 748, 750, 32768, 8517, 116, 114, 97, 104, 100, 59, 32768, 10513, 99, 121, 59, 32768, 1026, 99, 121, 59, 32768, 1029, 99, 121, 59, 32768, 1039, 768, 103, 114, 115, 780, 786, 790, 103, 101, 114, 59, 32768, 8225, 114, 59, 32768, 8609, 104, 118, 59, 32768, 10980, 512, 97, 121, 800, 806, 114, 111, 110, 59, 32768, 270, 59, 32768, 1044, 108, 512, 59, 116, 815, 817, 32768, 8711, 97, 59, 32768, 916, 114, 59, 32896, 55349, 56583, 512, 97, 102, 831, 897, 512, 99, 109, 836, 891, 114, 105, 116, 105, 99, 97, 108, 1024, 65, 68, 71, 84, 852, 859, 877, 884, 99, 117, 116, 101, 59, 32768, 180, 111, 581, 864, 867, 59, 32768, 729, 98, 108, 101, 65, 99, 117, 116, 101, 59, 32768, 733, 114, 97, 118, 101, 59, 32768, 96, 105, 108, 100, 101, 59, 32768, 732, 111, 110, 100, 59, 32768, 8900, 102, 101, 114, 101, 110, 116, 105, 97, 108, 68, 59, 32768, 8518, 2113, 920, 0, 0, 0, 925, 946, 0, 1139, 102, 59, 32896, 55349, 56635, 768, 59, 68, 69, 931, 933, 938, 32768, 168, 111, 116, 59, 32768, 8412, 113, 117, 97, 108, 59, 32768, 8784, 98, 108, 101, 1536, 67, 68, 76, 82, 85, 86, 961, 978, 996, 1080, 1101, 1125, 111, 110, 116, 111, 117, 114, 73, 110, 116, 101, 103, 114, 97, 108, 59, 32768, 8751, 111, 1093, 985, 0, 0, 988, 59, 32768, 168, 110, 65, 114, 114, 111, 119, 59, 32768, 8659, 512, 101, 111, 1001, 1034, 102, 116, 768, 65, 82, 84, 1010, 1017, 1029, 114, 114, 111, 119, 59, 32768, 8656, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 8660, 101, 101, 59, 32768, 10980, 110, 103, 512, 76, 82, 1041, 1068, 101, 102, 116, 512, 65, 82, 1049, 1056, 114, 114, 111, 119, 59, 32768, 10232, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 10234, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 10233, 105, 103, 104, 116, 512, 65, 84, 1089, 1096, 114, 114, 111, 119, 59, 32768, 8658, 101, 101, 59, 32768, 8872, 112, 1042, 1108, 0, 0, 1115, 114, 114, 111, 119, 59, 32768, 8657, 111, 119, 110, 65, 114, 114, 111, 119, 59, 32768, 8661, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 32768, 8741, 110, 1536, 65, 66, 76, 82, 84, 97, 1152, 1179, 1186, 1236, 1272, 1288, 114, 114, 111, 119, 768, 59, 66, 85, 1163, 1165, 1170, 32768, 8595, 97, 114, 59, 32768, 10515, 112, 65, 114, 114, 111, 119, 59, 32768, 8693, 114, 101, 118, 101, 59, 32768, 785, 101, 102, 116, 1315, 1196, 0, 1209, 0, 1220, 105, 103, 104, 116, 86, 101, 99, 116, 111, 114, 59, 32768, 10576, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10590, 101, 99, 116, 111, 114, 512, 59, 66, 1229, 1231, 32768, 8637, 97, 114, 59, 32768, 10582, 105, 103, 104, 116, 805, 1245, 0, 1256, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10591, 101, 99, 116, 111, 114, 512, 59, 66, 1265, 1267, 32768, 8641, 97, 114, 59, 32768, 10583, 101, 101, 512, 59, 65, 1279, 1281, 32768, 8868, 114, 114, 111, 119, 59, 32768, 8615, 114, 114, 111, 119, 59, 32768, 8659, 512, 99, 116, 1300, 1305, 114, 59, 32896, 55349, 56479, 114, 111, 107, 59, 32768, 272, 4096, 78, 84, 97, 99, 100, 102, 103, 108, 109, 111, 112, 113, 115, 116, 117, 120, 1344, 1348, 1354, 1363, 1386, 1391, 1396, 1405, 1413, 1460, 1475, 1483, 1514, 1527, 1531, 1538, 71, 59, 32768, 330, 72, 33024, 208, 59, 32768, 208, 99, 117, 116, 101, 33024, 201, 59, 32768, 201, 768, 97, 105, 121, 1370, 1376, 1383, 114, 111, 110, 59, 32768, 282, 114, 99, 33024, 202, 59, 32768, 202, 59, 32768, 1069, 111, 116, 59, 32768, 278, 114, 59, 32896, 55349, 56584, 114, 97, 118, 101, 33024, 200, 59, 32768, 200, 101, 109, 101, 110, 116, 59, 32768, 8712, 512, 97, 112, 1418, 1423, 99, 114, 59, 32768, 274, 116, 121, 1060, 1431, 0, 0, 1444, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 32768, 9723, 101, 114, 121, 83, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 32768, 9643, 512, 103, 112, 1465, 1470, 111, 110, 59, 32768, 280, 102, 59, 32896, 55349, 56636, 115, 105, 108, 111, 110, 59, 32768, 917, 117, 512, 97, 105, 1489, 1504, 108, 512, 59, 84, 1495, 1497, 32768, 10869, 105, 108, 100, 101, 59, 32768, 8770, 108, 105, 98, 114, 105, 117, 109, 59, 32768, 8652, 512, 99, 105, 1519, 1523, 114, 59, 32768, 8496, 109, 59, 32768, 10867, 97, 59, 32768, 919, 109, 108, 33024, 203, 59, 32768, 203, 512, 105, 112, 1543, 1549, 115, 116, 115, 59, 32768, 8707, 111, 110, 101, 110, 116, 105, 97, 108, 69, 59, 32768, 8519, 1280, 99, 102, 105, 111, 115, 1572, 1576, 1581, 1620, 1648, 121, 59, 32768, 1060, 114, 59, 32896, 55349, 56585, 108, 108, 101, 100, 1060, 1591, 0, 0, 1604, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 32768, 9724, 101, 114, 121, 83, 109, 97, 108, 108, 83, 113, 117, 97, 114, 101, 59, 32768, 9642, 1601, 1628, 0, 1633, 0, 0, 1639, 102, 59, 32896, 55349, 56637, 65, 108, 108, 59, 32768, 8704, 114, 105, 101, 114, 116, 114, 102, 59, 32768, 8497, 99, 114, 59, 32768, 8497, 3072, 74, 84, 97, 98, 99, 100, 102, 103, 111, 114, 115, 116, 1678, 1683, 1688, 1701, 1708, 1729, 1734, 1739, 1742, 1748, 1828, 1834, 99, 121, 59, 32768, 1027, 33024, 62, 59, 32768, 62, 109, 109, 97, 512, 59, 100, 1696, 1698, 32768, 915, 59, 32768, 988, 114, 101, 118, 101, 59, 32768, 286, 768, 101, 105, 121, 1715, 1721, 1726, 100, 105, 108, 59, 32768, 290, 114, 99, 59, 32768, 284, 59, 32768, 1043, 111, 116, 59, 32768, 288, 114, 59, 32896, 55349, 56586, 59, 32768, 8921, 112, 102, 59, 32896, 55349, 56638, 101, 97, 116, 101, 114, 1536, 69, 70, 71, 76, 83, 84, 1766, 1783, 1794, 1803, 1809, 1821, 113, 117, 97, 108, 512, 59, 76, 1775, 1777, 32768, 8805, 101, 115, 115, 59, 32768, 8923, 117, 108, 108, 69, 113, 117, 97, 108, 59, 32768, 8807, 114, 101, 97, 116, 101, 114, 59, 32768, 10914, 101, 115, 115, 59, 32768, 8823, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 10878, 105, 108, 100, 101, 59, 32768, 8819, 99, 114, 59, 32896, 55349, 56482, 59, 32768, 8811, 2048, 65, 97, 99, 102, 105, 111, 115, 117, 1854, 1861, 1874, 1880, 1884, 1897, 1919, 1934, 82, 68, 99, 121, 59, 32768, 1066, 512, 99, 116, 1866, 1871, 101, 107, 59, 32768, 711, 59, 32768, 94, 105, 114, 99, 59, 32768, 292, 114, 59, 32768, 8460, 108, 98, 101, 114, 116, 83, 112, 97, 99, 101, 59, 32768, 8459, 833, 1902, 0, 1906, 102, 59, 32768, 8461, 105, 122, 111, 110, 116, 97, 108, 76, 105, 110, 101, 59, 32768, 9472, 512, 99, 116, 1924, 1928, 114, 59, 32768, 8459, 114, 111, 107, 59, 32768, 294, 109, 112, 533, 1940, 1950, 111, 119, 110, 72, 117, 109, 112, 59, 32768, 8782, 113, 117, 97, 108, 59, 32768, 8783, 3584, 69, 74, 79, 97, 99, 100, 102, 103, 109, 110, 111, 115, 116, 117, 1985, 1990, 1996, 2001, 2010, 2025, 2030, 2034, 2043, 2077, 2134, 2155, 2160, 2167, 99, 121, 59, 32768, 1045, 108, 105, 103, 59, 32768, 306, 99, 121, 59, 32768, 1025, 99, 117, 116, 101, 33024, 205, 59, 32768, 205, 512, 105, 121, 2015, 2022, 114, 99, 33024, 206, 59, 32768, 206, 59, 32768, 1048, 111, 116, 59, 32768, 304, 114, 59, 32768, 8465, 114, 97, 118, 101, 33024, 204, 59, 32768, 204, 768, 59, 97, 112, 2050, 2052, 2070, 32768, 8465, 512, 99, 103, 2057, 2061, 114, 59, 32768, 298, 105, 110, 97, 114, 121, 73, 59, 32768, 8520, 108, 105, 101, 115, 59, 32768, 8658, 837, 2082, 0, 2110, 512, 59, 101, 2086, 2088, 32768, 8748, 512, 103, 114, 2093, 2099, 114, 97, 108, 59, 32768, 8747, 115, 101, 99, 116, 105, 111, 110, 59, 32768, 8898, 105, 115, 105, 98, 108, 101, 512, 67, 84, 2120, 2127, 111, 109, 109, 97, 59, 32768, 8291, 105, 109, 101, 115, 59, 32768, 8290, 768, 103, 112, 116, 2141, 2146, 2151, 111, 110, 59, 32768, 302, 102, 59, 32896, 55349, 56640, 97, 59, 32768, 921, 99, 114, 59, 32768, 8464, 105, 108, 100, 101, 59, 32768, 296, 828, 2172, 0, 2177, 99, 121, 59, 32768, 1030, 108, 33024, 207, 59, 32768, 207, 1280, 99, 102, 111, 115, 117, 2193, 2206, 2211, 2217, 2232, 512, 105, 121, 2198, 2203, 114, 99, 59, 32768, 308, 59, 32768, 1049, 114, 59, 32896, 55349, 56589, 112, 102, 59, 32896, 55349, 56641, 820, 2222, 0, 2227, 114, 59, 32896, 55349, 56485, 114, 99, 121, 59, 32768, 1032, 107, 99, 121, 59, 32768, 1028, 1792, 72, 74, 97, 99, 102, 111, 115, 2253, 2258, 2263, 2269, 2283, 2288, 2294, 99, 121, 59, 32768, 1061, 99, 121, 59, 32768, 1036, 112, 112, 97, 59, 32768, 922, 512, 101, 121, 2274, 2280, 100, 105, 108, 59, 32768, 310, 59, 32768, 1050, 114, 59, 32896, 55349, 56590, 112, 102, 59, 32896, 55349, 56642, 99, 114, 59, 32896, 55349, 56486, 2816, 74, 84, 97, 99, 101, 102, 108, 109, 111, 115, 116, 2323, 2328, 2333, 2374, 2396, 2775, 2780, 2797, 2804, 2934, 2954, 99, 121, 59, 32768, 1033, 33024, 60, 59, 32768, 60, 1280, 99, 109, 110, 112, 114, 2344, 2350, 2356, 2360, 2370, 117, 116, 101, 59, 32768, 313, 98, 100, 97, 59, 32768, 923, 103, 59, 32768, 10218, 108, 97, 99, 101, 116, 114, 102, 59, 32768, 8466, 114, 59, 32768, 8606, 768, 97, 101, 121, 2381, 2387, 2393, 114, 111, 110, 59, 32768, 317, 100, 105, 108, 59, 32768, 315, 59, 32768, 1051, 512, 102, 115, 2401, 2702, 116, 2560, 65, 67, 68, 70, 82, 84, 85, 86, 97, 114, 2423, 2470, 2479, 2530, 2537, 2561, 2618, 2666, 2683, 2690, 512, 110, 114, 2428, 2441, 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 32768, 10216, 114, 111, 119, 768, 59, 66, 82, 2451, 2453, 2458, 32768, 8592, 97, 114, 59, 32768, 8676, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 8646, 101, 105, 108, 105, 110, 103, 59, 32768, 8968, 111, 838, 2485, 0, 2498, 98, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 32768, 10214, 110, 805, 2503, 0, 2514, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10593, 101, 99, 116, 111, 114, 512, 59, 66, 2523, 2525, 32768, 8643, 97, 114, 59, 32768, 10585, 108, 111, 111, 114, 59, 32768, 8970, 105, 103, 104, 116, 512, 65, 86, 2546, 2553, 114, 114, 111, 119, 59, 32768, 8596, 101, 99, 116, 111, 114, 59, 32768, 10574, 512, 101, 114, 2566, 2591, 101, 768, 59, 65, 86, 2574, 2576, 2583, 32768, 8867, 114, 114, 111, 119, 59, 32768, 8612, 101, 99, 116, 111, 114, 59, 32768, 10586, 105, 97, 110, 103, 108, 101, 768, 59, 66, 69, 2604, 2606, 2611, 32768, 8882, 97, 114, 59, 32768, 10703, 113, 117, 97, 108, 59, 32768, 8884, 112, 768, 68, 84, 86, 2626, 2638, 2649, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 32768, 10577, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10592, 101, 99, 116, 111, 114, 512, 59, 66, 2659, 2661, 32768, 8639, 97, 114, 59, 32768, 10584, 101, 99, 116, 111, 114, 512, 59, 66, 2676, 2678, 32768, 8636, 97, 114, 59, 32768, 10578, 114, 114, 111, 119, 59, 32768, 8656, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8660, 115, 1536, 69, 70, 71, 76, 83, 84, 2716, 2730, 2741, 2750, 2756, 2768, 113, 117, 97, 108, 71, 114, 101, 97, 116, 101, 114, 59, 32768, 8922, 117, 108, 108, 69, 113, 117, 97, 108, 59, 32768, 8806, 114, 101, 97, 116, 101, 114, 59, 32768, 8822, 101, 115, 115, 59, 32768, 10913, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 10877, 105, 108, 100, 101, 59, 32768, 8818, 114, 59, 32896, 55349, 56591, 512, 59, 101, 2785, 2787, 32768, 8920, 102, 116, 97, 114, 114, 111, 119, 59, 32768, 8666, 105, 100, 111, 116, 59, 32768, 319, 768, 110, 112, 119, 2811, 2899, 2904, 103, 1024, 76, 82, 108, 114, 2821, 2848, 2860, 2887, 101, 102, 116, 512, 65, 82, 2829, 2836, 114, 114, 111, 119, 59, 32768, 10229, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 10231, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 10230, 101, 102, 116, 512, 97, 114, 2868, 2875, 114, 114, 111, 119, 59, 32768, 10232, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 10234, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 10233, 102, 59, 32896, 55349, 56643, 101, 114, 512, 76, 82, 2911, 2922, 101, 102, 116, 65, 114, 114, 111, 119, 59, 32768, 8601, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 8600, 768, 99, 104, 116, 2941, 2945, 2948, 114, 59, 32768, 8466, 59, 32768, 8624, 114, 111, 107, 59, 32768, 321, 59, 32768, 8810, 2048, 97, 99, 101, 102, 105, 111, 115, 117, 2974, 2978, 2982, 3007, 3012, 3022, 3028, 3033, 112, 59, 32768, 10501, 121, 59, 32768, 1052, 512, 100, 108, 2987, 2998, 105, 117, 109, 83, 112, 97, 99, 101, 59, 32768, 8287, 108, 105, 110, 116, 114, 102, 59, 32768, 8499, 114, 59, 32896, 55349, 56592, 110, 117, 115, 80, 108, 117, 115, 59, 32768, 8723, 112, 102, 59, 32896, 55349, 56644, 99, 114, 59, 32768, 8499, 59, 32768, 924, 2304, 74, 97, 99, 101, 102, 111, 115, 116, 117, 3055, 3060, 3067, 3089, 3201, 3206, 3874, 3880, 3889, 99, 121, 59, 32768, 1034, 99, 117, 116, 101, 59, 32768, 323, 768, 97, 101, 121, 3074, 3080, 3086, 114, 111, 110, 59, 32768, 327, 100, 105, 108, 59, 32768, 325, 59, 32768, 1053, 768, 103, 115, 119, 3096, 3160, 3194, 97, 116, 105, 118, 101, 768, 77, 84, 86, 3108, 3121, 3145, 101, 100, 105, 117, 109, 83, 112, 97, 99, 101, 59, 32768, 8203, 104, 105, 512, 99, 110, 3128, 3137, 107, 83, 112, 97, 99, 101, 59, 32768, 8203, 83, 112, 97, 99, 101, 59, 32768, 8203, 101, 114, 121, 84, 104, 105, 110, 83, 112, 97, 99, 101, 59, 32768, 8203, 116, 101, 100, 512, 71, 76, 3168, 3184, 114, 101, 97, 116, 101, 114, 71, 114, 101, 97, 116, 101, 114, 59, 32768, 8811, 101, 115, 115, 76, 101, 115, 115, 59, 32768, 8810, 76, 105, 110, 101, 59, 32768, 10, 114, 59, 32896, 55349, 56593, 1024, 66, 110, 112, 116, 3215, 3222, 3238, 3242, 114, 101, 97, 107, 59, 32768, 8288, 66, 114, 101, 97, 107, 105, 110, 103, 83, 112, 97, 99, 101, 59, 32768, 160, 102, 59, 32768, 8469, 3328, 59, 67, 68, 69, 71, 72, 76, 78, 80, 82, 83, 84, 86, 3269, 3271, 3293, 3312, 3352, 3430, 3455, 3551, 3589, 3625, 3678, 3821, 3861, 32768, 10988, 512, 111, 117, 3276, 3286, 110, 103, 114, 117, 101, 110, 116, 59, 32768, 8802, 112, 67, 97, 112, 59, 32768, 8813, 111, 117, 98, 108, 101, 86, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 32768, 8742, 768, 108, 113, 120, 3319, 3327, 3345, 101, 109, 101, 110, 116, 59, 32768, 8713, 117, 97, 108, 512, 59, 84, 3335, 3337, 32768, 8800, 105, 108, 100, 101, 59, 32896, 8770, 824, 105, 115, 116, 115, 59, 32768, 8708, 114, 101, 97, 116, 101, 114, 1792, 59, 69, 70, 71, 76, 83, 84, 3373, 3375, 3382, 3394, 3404, 3410, 3423, 32768, 8815, 113, 117, 97, 108, 59, 32768, 8817, 117, 108, 108, 69, 113, 117, 97, 108, 59, 32896, 8807, 824, 114, 101, 97, 116, 101, 114, 59, 32896, 8811, 824, 101, 115, 115, 59, 32768, 8825, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32896, 10878, 824, 105, 108, 100, 101, 59, 32768, 8821, 117, 109, 112, 533, 3437, 3448, 111, 119, 110, 72, 117, 109, 112, 59, 32896, 8782, 824, 113, 117, 97, 108, 59, 32896, 8783, 824, 101, 512, 102, 115, 3461, 3492, 116, 84, 114, 105, 97, 110, 103, 108, 101, 768, 59, 66, 69, 3477, 3479, 3485, 32768, 8938, 97, 114, 59, 32896, 10703, 824, 113, 117, 97, 108, 59, 32768, 8940, 115, 1536, 59, 69, 71, 76, 83, 84, 3506, 3508, 3515, 3524, 3531, 3544, 32768, 8814, 113, 117, 97, 108, 59, 32768, 8816, 114, 101, 97, 116, 101, 114, 59, 32768, 8824, 101, 115, 115, 59, 32896, 8810, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32896, 10877, 824, 105, 108, 100, 101, 59, 32768, 8820, 101, 115, 116, 101, 100, 512, 71, 76, 3561, 3578, 114, 101, 97, 116, 101, 114, 71, 114, 101, 97, 116, 101, 114, 59, 32896, 10914, 824, 101, 115, 115, 76, 101, 115, 115, 59, 32896, 10913, 824, 114, 101, 99, 101, 100, 101, 115, 768, 59, 69, 83, 3603, 3605, 3613, 32768, 8832, 113, 117, 97, 108, 59, 32896, 10927, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 8928, 512, 101, 105, 3630, 3645, 118, 101, 114, 115, 101, 69, 108, 101, 109, 101, 110, 116, 59, 32768, 8716, 103, 104, 116, 84, 114, 105, 97, 110, 103, 108, 101, 768, 59, 66, 69, 3663, 3665, 3671, 32768, 8939, 97, 114, 59, 32896, 10704, 824, 113, 117, 97, 108, 59, 32768, 8941, 512, 113, 117, 3683, 3732, 117, 97, 114, 101, 83, 117, 512, 98, 112, 3694, 3712, 115, 101, 116, 512, 59, 69, 3702, 3705, 32896, 8847, 824, 113, 117, 97, 108, 59, 32768, 8930, 101, 114, 115, 101, 116, 512, 59, 69, 3722, 3725, 32896, 8848, 824, 113, 117, 97, 108, 59, 32768, 8931, 768, 98, 99, 112, 3739, 3757, 3801, 115, 101, 116, 512, 59, 69, 3747, 3750, 32896, 8834, 8402, 113, 117, 97, 108, 59, 32768, 8840, 99, 101, 101, 100, 115, 1024, 59, 69, 83, 84, 3771, 3773, 3781, 3793, 32768, 8833, 113, 117, 97, 108, 59, 32896, 10928, 824, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 8929, 105, 108, 100, 101, 59, 32896, 8831, 824, 101, 114, 115, 101, 116, 512, 59, 69, 3811, 3814, 32896, 8835, 8402, 113, 117, 97, 108, 59, 32768, 8841, 105, 108, 100, 101, 1024, 59, 69, 70, 84, 3834, 3836, 3843, 3854, 32768, 8769, 113, 117, 97, 108, 59, 32768, 8772, 117, 108, 108, 69, 113, 117, 97, 108, 59, 32768, 8775, 105, 108, 100, 101, 59, 32768, 8777, 101, 114, 116, 105, 99, 97, 108, 66, 97, 114, 59, 32768, 8740, 99, 114, 59, 32896, 55349, 56489, 105, 108, 100, 101, 33024, 209, 59, 32768, 209, 59, 32768, 925, 3584, 69, 97, 99, 100, 102, 103, 109, 111, 112, 114, 115, 116, 117, 118, 3921, 3927, 3936, 3951, 3958, 3963, 3972, 3996, 4002, 4034, 4037, 4055, 4071, 4078, 108, 105, 103, 59, 32768, 338, 99, 117, 116, 101, 33024, 211, 59, 32768, 211, 512, 105, 121, 3941, 3948, 114, 99, 33024, 212, 59, 32768, 212, 59, 32768, 1054, 98, 108, 97, 99, 59, 32768, 336, 114, 59, 32896, 55349, 56594, 114, 97, 118, 101, 33024, 210, 59, 32768, 210, 768, 97, 101, 105, 3979, 3984, 3989, 99, 114, 59, 32768, 332, 103, 97, 59, 32768, 937, 99, 114, 111, 110, 59, 32768, 927, 112, 102, 59, 32896, 55349, 56646, 101, 110, 67, 117, 114, 108, 121, 512, 68, 81, 4014, 4027, 111, 117, 98, 108, 101, 81, 117, 111, 116, 101, 59, 32768, 8220, 117, 111, 116, 101, 59, 32768, 8216, 59, 32768, 10836, 512, 99, 108, 4042, 4047, 114, 59, 32896, 55349, 56490, 97, 115, 104, 33024, 216, 59, 32768, 216, 105, 573, 4060, 4067, 100, 101, 33024, 213, 59, 32768, 213, 101, 115, 59, 32768, 10807, 109, 108, 33024, 214, 59, 32768, 214, 101, 114, 512, 66, 80, 4085, 4109, 512, 97, 114, 4090, 4094, 114, 59, 32768, 8254, 97, 99, 512, 101, 107, 4101, 4104, 59, 32768, 9182, 101, 116, 59, 32768, 9140, 97, 114, 101, 110, 116, 104, 101, 115, 105, 115, 59, 32768, 9180, 2304, 97, 99, 102, 104, 105, 108, 111, 114, 115, 4141, 4150, 4154, 4159, 4163, 4166, 4176, 4198, 4284, 114, 116, 105, 97, 108, 68, 59, 32768, 8706, 121, 59, 32768, 1055, 114, 59, 32896, 55349, 56595, 105, 59, 32768, 934, 59, 32768, 928, 117, 115, 77, 105, 110, 117, 115, 59, 32768, 177, 512, 105, 112, 4181, 4194, 110, 99, 97, 114, 101, 112, 108, 97, 110, 101, 59, 32768, 8460, 102, 59, 32768, 8473, 1024, 59, 101, 105, 111, 4207, 4209, 4251, 4256, 32768, 10939, 99, 101, 100, 101, 115, 1024, 59, 69, 83, 84, 4223, 4225, 4232, 4244, 32768, 8826, 113, 117, 97, 108, 59, 32768, 10927, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 8828, 105, 108, 100, 101, 59, 32768, 8830, 109, 101, 59, 32768, 8243, 512, 100, 112, 4261, 4267, 117, 99, 116, 59, 32768, 8719, 111, 114, 116, 105, 111, 110, 512, 59, 97, 4278, 4280, 32768, 8759, 108, 59, 32768, 8733, 512, 99, 105, 4289, 4294, 114, 59, 32896, 55349, 56491, 59, 32768, 936, 1024, 85, 102, 111, 115, 4306, 4313, 4318, 4323, 79, 84, 33024, 34, 59, 32768, 34, 114, 59, 32896, 55349, 56596, 112, 102, 59, 32768, 8474, 99, 114, 59, 32896, 55349, 56492, 3072, 66, 69, 97, 99, 101, 102, 104, 105, 111, 114, 115, 117, 4354, 4360, 4366, 4395, 4417, 4473, 4477, 4481, 4743, 4764, 4776, 4788, 97, 114, 114, 59, 32768, 10512, 71, 33024, 174, 59, 32768, 174, 768, 99, 110, 114, 4373, 4379, 4383, 117, 116, 101, 59, 32768, 340, 103, 59, 32768, 10219, 114, 512, 59, 116, 4389, 4391, 32768, 8608, 108, 59, 32768, 10518, 768, 97, 101, 121, 4402, 4408, 4414, 114, 111, 110, 59, 32768, 344, 100, 105, 108, 59, 32768, 342, 59, 32768, 1056, 512, 59, 118, 4422, 4424, 32768, 8476, 101, 114, 115, 101, 512, 69, 85, 4433, 4458, 512, 108, 113, 4438, 4446, 101, 109, 101, 110, 116, 59, 32768, 8715, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 32768, 8651, 112, 69, 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 32768, 10607, 114, 59, 32768, 8476, 111, 59, 32768, 929, 103, 104, 116, 2048, 65, 67, 68, 70, 84, 85, 86, 97, 4501, 4547, 4556, 4607, 4614, 4671, 4719, 4736, 512, 110, 114, 4506, 4519, 103, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 32768, 10217, 114, 111, 119, 768, 59, 66, 76, 4529, 4531, 4536, 32768, 8594, 97, 114, 59, 32768, 8677, 101, 102, 116, 65, 114, 114, 111, 119, 59, 32768, 8644, 101, 105, 108, 105, 110, 103, 59, 32768, 8969, 111, 838, 4562, 0, 4575, 98, 108, 101, 66, 114, 97, 99, 107, 101, 116, 59, 32768, 10215, 110, 805, 4580, 0, 4591, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10589, 101, 99, 116, 111, 114, 512, 59, 66, 4600, 4602, 32768, 8642, 97, 114, 59, 32768, 10581, 108, 111, 111, 114, 59, 32768, 8971, 512, 101, 114, 4619, 4644, 101, 768, 59, 65, 86, 4627, 4629, 4636, 32768, 8866, 114, 114, 111, 119, 59, 32768, 8614, 101, 99, 116, 111, 114, 59, 32768, 10587, 105, 97, 110, 103, 108, 101, 768, 59, 66, 69, 4657, 4659, 4664, 32768, 8883, 97, 114, 59, 32768, 10704, 113, 117, 97, 108, 59, 32768, 8885, 112, 768, 68, 84, 86, 4679, 4691, 4702, 111, 119, 110, 86, 101, 99, 116, 111, 114, 59, 32768, 10575, 101, 101, 86, 101, 99, 116, 111, 114, 59, 32768, 10588, 101, 99, 116, 111, 114, 512, 59, 66, 4712, 4714, 32768, 8638, 97, 114, 59, 32768, 10580, 101, 99, 116, 111, 114, 512, 59, 66, 4729, 4731, 32768, 8640, 97, 114, 59, 32768, 10579, 114, 114, 111, 119, 59, 32768, 8658, 512, 112, 117, 4748, 4752, 102, 59, 32768, 8477, 110, 100, 73, 109, 112, 108, 105, 101, 115, 59, 32768, 10608, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8667, 512, 99, 104, 4781, 4785, 114, 59, 32768, 8475, 59, 32768, 8625, 108, 101, 68, 101, 108, 97, 121, 101, 100, 59, 32768, 10740, 3328, 72, 79, 97, 99, 102, 104, 105, 109, 111, 113, 115, 116, 117, 4827, 4842, 4849, 4856, 4889, 4894, 4949, 4955, 4967, 4973, 5059, 5065, 5070, 512, 67, 99, 4832, 4838, 72, 99, 121, 59, 32768, 1065, 121, 59, 32768, 1064, 70, 84, 99, 121, 59, 32768, 1068, 99, 117, 116, 101, 59, 32768, 346, 1280, 59, 97, 101, 105, 121, 4867, 4869, 4875, 4881, 4886, 32768, 10940, 114, 111, 110, 59, 32768, 352, 100, 105, 108, 59, 32768, 350, 114, 99, 59, 32768, 348, 59, 32768, 1057, 114, 59, 32896, 55349, 56598, 111, 114, 116, 1024, 68, 76, 82, 85, 4906, 4917, 4928, 4940, 111, 119, 110, 65, 114, 114, 111, 119, 59, 32768, 8595, 101, 102, 116, 65, 114, 114, 111, 119, 59, 32768, 8592, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 8594, 112, 65, 114, 114, 111, 119, 59, 32768, 8593, 103, 109, 97, 59, 32768, 931, 97, 108, 108, 67, 105, 114, 99, 108, 101, 59, 32768, 8728, 112, 102, 59, 32896, 55349, 56650, 1091, 4979, 0, 0, 4983, 116, 59, 32768, 8730, 97, 114, 101, 1024, 59, 73, 83, 85, 4994, 4996, 5010, 5052, 32768, 9633, 110, 116, 101, 114, 115, 101, 99, 116, 105, 111, 110, 59, 32768, 8851, 117, 512, 98, 112, 5016, 5033, 115, 101, 116, 512, 59, 69, 5024, 5026, 32768, 8847, 113, 117, 97, 108, 59, 32768, 8849, 101, 114, 115, 101, 116, 512, 59, 69, 5043, 5045, 32768, 8848, 113, 117, 97, 108, 59, 32768, 8850, 110, 105, 111, 110, 59, 32768, 8852, 99, 114, 59, 32896, 55349, 56494, 97, 114, 59, 32768, 8902, 1024, 98, 99, 109, 112, 5079, 5102, 5155, 5158, 512, 59, 115, 5084, 5086, 32768, 8912, 101, 116, 512, 59, 69, 5093, 5095, 32768, 8912, 113, 117, 97, 108, 59, 32768, 8838, 512, 99, 104, 5107, 5148, 101, 101, 100, 115, 1024, 59, 69, 83, 84, 5120, 5122, 5129, 5141, 32768, 8827, 113, 117, 97, 108, 59, 32768, 10928, 108, 97, 110, 116, 69, 113, 117, 97, 108, 59, 32768, 8829, 105, 108, 100, 101, 59, 32768, 8831, 84, 104, 97, 116, 59, 32768, 8715, 59, 32768, 8721, 768, 59, 101, 115, 5165, 5167, 5185, 32768, 8913, 114, 115, 101, 116, 512, 59, 69, 5176, 5178, 32768, 8835, 113, 117, 97, 108, 59, 32768, 8839, 101, 116, 59, 32768, 8913, 2816, 72, 82, 83, 97, 99, 102, 104, 105, 111, 114, 115, 5213, 5221, 5227, 5241, 5252, 5274, 5279, 5323, 5362, 5368, 5378, 79, 82, 78, 33024, 222, 59, 32768, 222, 65, 68, 69, 59, 32768, 8482, 512, 72, 99, 5232, 5237, 99, 121, 59, 32768, 1035, 121, 59, 32768, 1062, 512, 98, 117, 5246, 5249, 59, 32768, 9, 59, 32768, 932, 768, 97, 101, 121, 5259, 5265, 5271, 114, 111, 110, 59, 32768, 356, 100, 105, 108, 59, 32768, 354, 59, 32768, 1058, 114, 59, 32896, 55349, 56599, 512, 101, 105, 5284, 5300, 835, 5289, 0, 5297, 101, 102, 111, 114, 101, 59, 32768, 8756, 97, 59, 32768, 920, 512, 99, 110, 5305, 5315, 107, 83, 112, 97, 99, 101, 59, 32896, 8287, 8202, 83, 112, 97, 99, 101, 59, 32768, 8201, 108, 100, 101, 1024, 59, 69, 70, 84, 5335, 5337, 5344, 5355, 32768, 8764, 113, 117, 97, 108, 59, 32768, 8771, 117, 108, 108, 69, 113, 117, 97, 108, 59, 32768, 8773, 105, 108, 100, 101, 59, 32768, 8776, 112, 102, 59, 32896, 55349, 56651, 105, 112, 108, 101, 68, 111, 116, 59, 32768, 8411, 512, 99, 116, 5383, 5388, 114, 59, 32896, 55349, 56495, 114, 111, 107, 59, 32768, 358, 5426, 5417, 5444, 5458, 5473, 0, 5480, 5485, 0, 0, 0, 0, 0, 5494, 5500, 5564, 5579, 0, 5726, 5732, 5738, 5745, 512, 99, 114, 5421, 5429, 117, 116, 101, 33024, 218, 59, 32768, 218, 114, 512, 59, 111, 5435, 5437, 32768, 8607, 99, 105, 114, 59, 32768, 10569, 114, 820, 5449, 0, 5453, 121, 59, 32768, 1038, 118, 101, 59, 32768, 364, 512, 105, 121, 5462, 5469, 114, 99, 33024, 219, 59, 32768, 219, 59, 32768, 1059, 98, 108, 97, 99, 59, 32768, 368, 114, 59, 32896, 55349, 56600, 114, 97, 118, 101, 33024, 217, 59, 32768, 217, 97, 99, 114, 59, 32768, 362, 512, 100, 105, 5504, 5548, 101, 114, 512, 66, 80, 5511, 5535, 512, 97, 114, 5516, 5520, 114, 59, 32768, 95, 97, 99, 512, 101, 107, 5527, 5530, 59, 32768, 9183, 101, 116, 59, 32768, 9141, 97, 114, 101, 110, 116, 104, 101, 115, 105, 115, 59, 32768, 9181, 111, 110, 512, 59, 80, 5555, 5557, 32768, 8899, 108, 117, 115, 59, 32768, 8846, 512, 103, 112, 5568, 5573, 111, 110, 59, 32768, 370, 102, 59, 32896, 55349, 56652, 2048, 65, 68, 69, 84, 97, 100, 112, 115, 5595, 5624, 5635, 5648, 5664, 5671, 5682, 5712, 114, 114, 111, 119, 768, 59, 66, 68, 5606, 5608, 5613, 32768, 8593, 97, 114, 59, 32768, 10514, 111, 119, 110, 65, 114, 114, 111, 119, 59, 32768, 8645, 111, 119, 110, 65, 114, 114, 111, 119, 59, 32768, 8597, 113, 117, 105, 108, 105, 98, 114, 105, 117, 109, 59, 32768, 10606, 101, 101, 512, 59, 65, 5655, 5657, 32768, 8869, 114, 114, 111, 119, 59, 32768, 8613, 114, 114, 111, 119, 59, 32768, 8657, 111, 119, 110, 97, 114, 114, 111, 119, 59, 32768, 8661, 101, 114, 512, 76, 82, 5689, 5700, 101, 102, 116, 65, 114, 114, 111, 119, 59, 32768, 8598, 105, 103, 104, 116, 65, 114, 114, 111, 119, 59, 32768, 8599, 105, 512, 59, 108, 5718, 5720, 32768, 978, 111, 110, 59, 32768, 933, 105, 110, 103, 59, 32768, 366, 99, 114, 59, 32896, 55349, 56496, 105, 108, 100, 101, 59, 32768, 360, 109, 108, 33024, 220, 59, 32768, 220, 2304, 68, 98, 99, 100, 101, 102, 111, 115, 118, 5770, 5776, 5781, 5785, 5798, 5878, 5883, 5889, 5895, 97, 115, 104, 59, 32768, 8875, 97, 114, 59, 32768, 10987, 121, 59, 32768, 1042, 97, 115, 104, 512, 59, 108, 5793, 5795, 32768, 8873, 59, 32768, 10982, 512, 101, 114, 5803, 5806, 59, 32768, 8897, 768, 98, 116, 121, 5813, 5818, 5866, 97, 114, 59, 32768, 8214, 512, 59, 105, 5823, 5825, 32768, 8214, 99, 97, 108, 1024, 66, 76, 83, 84, 5837, 5842, 5848, 5859, 97, 114, 59, 32768, 8739, 105, 110, 101, 59, 32768, 124, 101, 112, 97, 114, 97, 116, 111, 114, 59, 32768, 10072, 105, 108, 100, 101, 59, 32768, 8768, 84, 104, 105, 110, 83, 112, 97, 99, 101, 59, 32768, 8202, 114, 59, 32896, 55349, 56601, 112, 102, 59, 32896, 55349, 56653, 99, 114, 59, 32896, 55349, 56497, 100, 97, 115, 104, 59, 32768, 8874, 1280, 99, 101, 102, 111, 115, 5913, 5919, 5925, 5930, 5936, 105, 114, 99, 59, 32768, 372, 100, 103, 101, 59, 32768, 8896, 114, 59, 32896, 55349, 56602, 112, 102, 59, 32896, 55349, 56654, 99, 114, 59, 32896, 55349, 56498, 1024, 102, 105, 111, 115, 5951, 5956, 5959, 5965, 114, 59, 32896, 55349, 56603, 59, 32768, 926, 112, 102, 59, 32896, 55349, 56655, 99, 114, 59, 32896, 55349, 56499, 2304, 65, 73, 85, 97, 99, 102, 111, 115, 117, 5990, 5995, 6000, 6005, 6014, 6027, 6032, 6038, 6044, 99, 121, 59, 32768, 1071, 99, 121, 59, 32768, 1031, 99, 121, 59, 32768, 1070, 99, 117, 116, 101, 33024, 221, 59, 32768, 221, 512, 105, 121, 6019, 6024, 114, 99, 59, 32768, 374, 59, 32768, 1067, 114, 59, 32896, 55349, 56604, 112, 102, 59, 32896, 55349, 56656, 99, 114, 59, 32896, 55349, 56500, 109, 108, 59, 32768, 376, 2048, 72, 97, 99, 100, 101, 102, 111, 115, 6066, 6071, 6078, 6092, 6097, 6119, 6123, 6128, 99, 121, 59, 32768, 1046, 99, 117, 116, 101, 59, 32768, 377, 512, 97, 121, 6083, 6089, 114, 111, 110, 59, 32768, 381, 59, 32768, 1047, 111, 116, 59, 32768, 379, 835, 6102, 0, 6116, 111, 87, 105, 100, 116, 104, 83, 112, 97, 99, 101, 59, 32768, 8203, 97, 59, 32768, 918, 114, 59, 32768, 8488, 112, 102, 59, 32768, 8484, 99, 114, 59, 32896, 55349, 56501, 5938, 6159, 6168, 6175, 0, 6214, 6222, 6233, 0, 0, 0, 0, 6242, 6267, 6290, 6429, 6444, 0, 6495, 6503, 6531, 6540, 0, 6547, 99, 117, 116, 101, 33024, 225, 59, 32768, 225, 114, 101, 118, 101, 59, 32768, 259, 1536, 59, 69, 100, 105, 117, 121, 6187, 6189, 6193, 6196, 6203, 6210, 32768, 8766, 59, 32896, 8766, 819, 59, 32768, 8767, 114, 99, 33024, 226, 59, 32768, 226, 116, 101, 33024, 180, 59, 32768, 180, 59, 32768, 1072, 108, 105, 103, 33024, 230, 59, 32768, 230, 512, 59, 114, 6226, 6228, 32768, 8289, 59, 32896, 55349, 56606, 114, 97, 118, 101, 33024, 224, 59, 32768, 224, 512, 101, 112, 6246, 6261, 512, 102, 112, 6251, 6257, 115, 121, 109, 59, 32768, 8501, 104, 59, 32768, 8501, 104, 97, 59, 32768, 945, 512, 97, 112, 6271, 6284, 512, 99, 108, 6276, 6280, 114, 59, 32768, 257, 103, 59, 32768, 10815, 33024, 38, 59, 32768, 38, 1077, 6295, 0, 0, 6326, 1280, 59, 97, 100, 115, 118, 6305, 6307, 6312, 6315, 6322, 32768, 8743, 110, 100, 59, 32768, 10837, 59, 32768, 10844, 108, 111, 112, 101, 59, 32768, 10840, 59, 32768, 10842, 1792, 59, 101, 108, 109, 114, 115, 122, 6340, 6342, 6345, 6349, 6391, 6410, 6422, 32768, 8736, 59, 32768, 10660, 101, 59, 32768, 8736, 115, 100, 512, 59, 97, 6356, 6358, 32768, 8737, 2098, 6368, 6371, 6374, 6377, 6380, 6383, 6386, 6389, 59, 32768, 10664, 59, 32768, 10665, 59, 32768, 10666, 59, 32768, 10667, 59, 32768, 10668, 59, 32768, 10669, 59, 32768, 10670, 59, 32768, 10671, 116, 512, 59, 118, 6397, 6399, 32768, 8735, 98, 512, 59, 100, 6405, 6407, 32768, 8894, 59, 32768, 10653, 512, 112, 116, 6415, 6419, 104, 59, 32768, 8738, 59, 32768, 197, 97, 114, 114, 59, 32768, 9084, 512, 103, 112, 6433, 6438, 111, 110, 59, 32768, 261, 102, 59, 32896, 55349, 56658, 1792, 59, 69, 97, 101, 105, 111, 112, 6458, 6460, 6463, 6469, 6472, 6476, 6480, 32768, 8776, 59, 32768, 10864, 99, 105, 114, 59, 32768, 10863, 59, 32768, 8778, 100, 59, 32768, 8779, 115, 59, 32768, 39, 114, 111, 120, 512, 59, 101, 6488, 6490, 32768, 8776, 113, 59, 32768, 8778, 105, 110, 103, 33024, 229, 59, 32768, 229, 768, 99, 116, 121, 6509, 6514, 6517, 114, 59, 32896, 55349, 56502, 59, 32768, 42, 109, 112, 512, 59, 101, 6524, 6526, 32768, 8776, 113, 59, 32768, 8781, 105, 108, 100, 101, 33024, 227, 59, 32768, 227, 109, 108, 33024, 228, 59, 32768, 228, 512, 99, 105, 6551, 6559, 111, 110, 105, 110, 116, 59, 32768, 8755, 110, 116, 59, 32768, 10769, 4096, 78, 97, 98, 99, 100, 101, 102, 105, 107, 108, 110, 111, 112, 114, 115, 117, 6597, 6602, 6673, 6688, 6701, 6707, 6768, 6773, 6891, 6898, 6999, 7023, 7309, 7316, 7334, 7383, 111, 116, 59, 32768, 10989, 512, 99, 114, 6607, 6652, 107, 1024, 99, 101, 112, 115, 6617, 6623, 6632, 6639, 111, 110, 103, 59, 32768, 8780, 112, 115, 105, 108, 111, 110, 59, 32768, 1014, 114, 105, 109, 101, 59, 32768, 8245, 105, 109, 512, 59, 101, 6646, 6648, 32768, 8765, 113, 59, 32768, 8909, 583, 6656, 6661, 101, 101, 59, 32768, 8893, 101, 100, 512, 59, 103, 6667, 6669, 32768, 8965, 101, 59, 32768, 8965, 114, 107, 512, 59, 116, 6680, 6682, 32768, 9141, 98, 114, 107, 59, 32768, 9142, 512, 111, 121, 6693, 6698, 110, 103, 59, 32768, 8780, 59, 32768, 1073, 113, 117, 111, 59, 32768, 8222, 1280, 99, 109, 112, 114, 116, 6718, 6731, 6738, 6743, 6749, 97, 117, 115, 512, 59, 101, 6726, 6728, 32768, 8757, 59, 32768, 8757, 112, 116, 121, 118, 59, 32768, 10672, 115, 105, 59, 32768, 1014, 110, 111, 117, 59, 32768, 8492, 768, 97, 104, 119, 6756, 6759, 6762, 59, 32768, 946, 59, 32768, 8502, 101, 101, 110, 59, 32768, 8812, 114, 59, 32896, 55349, 56607, 103, 1792, 99, 111, 115, 116, 117, 118, 119, 6789, 6809, 6834, 6850, 6872, 6879, 6884, 768, 97, 105, 117, 6796, 6800, 6805, 112, 59, 32768, 8898, 114, 99, 59, 32768, 9711, 112, 59, 32768, 8899, 768, 100, 112, 116, 6816, 6821, 6827, 111, 116, 59, 32768, 10752, 108, 117, 115, 59, 32768, 10753, 105, 109, 101, 115, 59, 32768, 10754, 1090, 6840, 0, 0, 6846, 99, 117, 112, 59, 32768, 10758, 97, 114, 59, 32768, 9733, 114, 105, 97, 110, 103, 108, 101, 512, 100, 117, 6862, 6868, 111, 119, 110, 59, 32768, 9661, 112, 59, 32768, 9651, 112, 108, 117, 115, 59, 32768, 10756, 101, 101, 59, 32768, 8897, 101, 100, 103, 101, 59, 32768, 8896, 97, 114, 111, 119, 59, 32768, 10509, 768, 97, 107, 111, 6905, 6976, 6994, 512, 99, 110, 6910, 6972, 107, 768, 108, 115, 116, 6918, 6927, 6935, 111, 122, 101, 110, 103, 101, 59, 32768, 10731, 113, 117, 97, 114, 101, 59, 32768, 9642, 114, 105, 97, 110, 103, 108, 101, 1024, 59, 100, 108, 114, 6951, 6953, 6959, 6965, 32768, 9652, 111, 119, 110, 59, 32768, 9662, 101, 102, 116, 59, 32768, 9666, 105, 103, 104, 116, 59, 32768, 9656, 107, 59, 32768, 9251, 770, 6981, 0, 6991, 771, 6985, 0, 6988, 59, 32768, 9618, 59, 32768, 9617, 52, 59, 32768, 9619, 99, 107, 59, 32768, 9608, 512, 101, 111, 7004, 7019, 512, 59, 113, 7009, 7012, 32896, 61, 8421, 117, 105, 118, 59, 32896, 8801, 8421, 116, 59, 32768, 8976, 1024, 112, 116, 119, 120, 7032, 7037, 7049, 7055, 102, 59, 32896, 55349, 56659, 512, 59, 116, 7042, 7044, 32768, 8869, 111, 109, 59, 32768, 8869, 116, 105, 101, 59, 32768, 8904, 3072, 68, 72, 85, 86, 98, 100, 104, 109, 112, 116, 117, 118, 7080, 7101, 7126, 7147, 7182, 7187, 7208, 7233, 7240, 7246, 7253, 7274, 1024, 76, 82, 108, 114, 7089, 7092, 7095, 7098, 59, 32768, 9559, 59, 32768, 9556, 59, 32768, 9558, 59, 32768, 9555, 1280, 59, 68, 85, 100, 117, 7112, 7114, 7117, 7120, 7123, 32768, 9552, 59, 32768, 9574, 59, 32768, 9577, 59, 32768, 9572, 59, 32768, 9575, 1024, 76, 82, 108, 114, 7135, 7138, 7141, 7144, 59, 32768, 9565, 59, 32768, 9562, 59, 32768, 9564, 59, 32768, 9561, 1792, 59, 72, 76, 82, 104, 108, 114, 7162, 7164, 7167, 7170, 7173, 7176, 7179, 32768, 9553, 59, 32768, 9580, 59, 32768, 9571, 59, 32768, 9568, 59, 32768, 9579, 59, 32768, 9570, 59, 32768, 9567, 111, 120, 59, 32768, 10697, 1024, 76, 82, 108, 114, 7196, 7199, 7202, 7205, 59, 32768, 9557, 59, 32768, 9554, 59, 32768, 9488, 59, 32768, 9484, 1280, 59, 68, 85, 100, 117, 7219, 7221, 7224, 7227, 7230, 32768, 9472, 59, 32768, 9573, 59, 32768, 9576, 59, 32768, 9516, 59, 32768, 9524, 105, 110, 117, 115, 59, 32768, 8863, 108, 117, 115, 59, 32768, 8862, 105, 109, 101, 115, 59, 32768, 8864, 1024, 76, 82, 108, 114, 7262, 7265, 7268, 7271, 59, 32768, 9563, 59, 32768, 9560, 59, 32768, 9496, 59, 32768, 9492, 1792, 59, 72, 76, 82, 104, 108, 114, 7289, 7291, 7294, 7297, 7300, 7303, 7306, 32768, 9474, 59, 32768, 9578, 59, 32768, 9569, 59, 32768, 9566, 59, 32768, 9532, 59, 32768, 9508, 59, 32768, 9500, 114, 105, 109, 101, 59, 32768, 8245, 512, 101, 118, 7321, 7326, 118, 101, 59, 32768, 728, 98, 97, 114, 33024, 166, 59, 32768, 166, 1024, 99, 101, 105, 111, 7343, 7348, 7353, 7364, 114, 59, 32896, 55349, 56503, 109, 105, 59, 32768, 8271, 109, 512, 59, 101, 7359, 7361, 32768, 8765, 59, 32768, 8909, 108, 768, 59, 98, 104, 7372, 7374, 7377, 32768, 92, 59, 32768, 10693, 115, 117, 98, 59, 32768, 10184, 573, 7387, 7399, 108, 512, 59, 101, 7392, 7394, 32768, 8226, 116, 59, 32768, 8226, 112, 768, 59, 69, 101, 7406, 7408, 7411, 32768, 8782, 59, 32768, 10926, 512, 59, 113, 7416, 7418, 32768, 8783, 59, 32768, 8783, 6450, 7448, 0, 7523, 7571, 7576, 7613, 0, 7618, 7647, 0, 0, 7764, 0, 0, 7779, 0, 0, 7899, 7914, 7949, 7955, 0, 8158, 0, 8176, 768, 99, 112, 114, 7454, 7460, 7509, 117, 116, 101, 59, 32768, 263, 1536, 59, 97, 98, 99, 100, 115, 7473, 7475, 7480, 7487, 7500, 7505, 32768, 8745, 110, 100, 59, 32768, 10820, 114, 99, 117, 112, 59, 32768, 10825, 512, 97, 117, 7492, 7496, 112, 59, 32768, 10827, 112, 59, 32768, 10823, 111, 116, 59, 32768, 10816, 59, 32896, 8745, 65024, 512, 101, 111, 7514, 7518, 116, 59, 32768, 8257, 110, 59, 32768, 711, 1024, 97, 101, 105, 117, 7531, 7544, 7552, 7557, 833, 7536, 0, 7540, 115, 59, 32768, 10829, 111, 110, 59, 32768, 269, 100, 105, 108, 33024, 231, 59, 32768, 231, 114, 99, 59, 32768, 265, 112, 115, 512, 59, 115, 7564, 7566, 32768, 10828, 109, 59, 32768, 10832, 111, 116, 59, 32768, 267, 768, 100, 109, 110, 7582, 7589, 7596, 105, 108, 33024, 184, 59, 32768, 184, 112, 116, 121, 118, 59, 32768, 10674, 116, 33280, 162, 59, 101, 7603, 7605, 32768, 162, 114, 100, 111, 116, 59, 32768, 183, 114, 59, 32896, 55349, 56608, 768, 99, 101, 105, 7624, 7628, 7643, 121, 59, 32768, 1095, 99, 107, 512, 59, 109, 7635, 7637, 32768, 10003, 97, 114, 107, 59, 32768, 10003, 59, 32768, 967, 114, 1792, 59, 69, 99, 101, 102, 109, 115, 7662, 7664, 7667, 7742, 7745, 7752, 7757, 32768, 9675, 59, 32768, 10691, 768, 59, 101, 108, 7674, 7676, 7680, 32768, 710, 113, 59, 32768, 8791, 101, 1074, 7687, 0, 0, 7709, 114, 114, 111, 119, 512, 108, 114, 7695, 7701, 101, 102, 116, 59, 32768, 8634, 105, 103, 104, 116, 59, 32768, 8635, 1280, 82, 83, 97, 99, 100, 7719, 7722, 7725, 7730, 7736, 59, 32768, 174, 59, 32768, 9416, 115, 116, 59, 32768, 8859, 105, 114, 99, 59, 32768, 8858, 97, 115, 104, 59, 32768, 8861, 59, 32768, 8791, 110, 105, 110, 116, 59, 32768, 10768, 105, 100, 59, 32768, 10991, 99, 105, 114, 59, 32768, 10690, 117, 98, 115, 512, 59, 117, 7771, 7773, 32768, 9827, 105, 116, 59, 32768, 9827, 1341, 7785, 7804, 7850, 0, 7871, 111, 110, 512, 59, 101, 7791, 7793, 32768, 58, 512, 59, 113, 7798, 7800, 32768, 8788, 59, 32768, 8788, 1086, 7809, 0, 0, 7820, 97, 512, 59, 116, 7814, 7816, 32768, 44, 59, 32768, 64, 768, 59, 102, 108, 7826, 7828, 7832, 32768, 8705, 110, 59, 32768, 8728, 101, 512, 109, 120, 7838, 7844, 101, 110, 116, 59, 32768, 8705, 101, 115, 59, 32768, 8450, 824, 7854, 0, 7866, 512, 59, 100, 7858, 7860, 32768, 8773, 111, 116, 59, 32768, 10861, 110, 116, 59, 32768, 8750, 768, 102, 114, 121, 7877, 7881, 7886, 59, 32896, 55349, 56660, 111, 100, 59, 32768, 8720, 33280, 169, 59, 115, 7892, 7894, 32768, 169, 114, 59, 32768, 8471, 512, 97, 111, 7903, 7908, 114, 114, 59, 32768, 8629, 115, 115, 59, 32768, 10007, 512, 99, 117, 7918, 7923, 114, 59, 32896, 55349, 56504, 512, 98, 112, 7928, 7938, 512, 59, 101, 7933, 7935, 32768, 10959, 59, 32768, 10961, 512, 59, 101, 7943, 7945, 32768, 10960, 59, 32768, 10962, 100, 111, 116, 59, 32768, 8943, 1792, 100, 101, 108, 112, 114, 118, 119, 7969, 7983, 7996, 8009, 8057, 8147, 8152, 97, 114, 114, 512, 108, 114, 7977, 7980, 59, 32768, 10552, 59, 32768, 10549, 1089, 7989, 0, 0, 7993, 114, 59, 32768, 8926, 99, 59, 32768, 8927, 97, 114, 114, 512, 59, 112, 8004, 8006, 32768, 8630, 59, 32768, 10557, 1536, 59, 98, 99, 100, 111, 115, 8022, 8024, 8031, 8044, 8049, 8053, 32768, 8746, 114, 99, 97, 112, 59, 32768, 10824, 512, 97, 117, 8036, 8040, 112, 59, 32768, 10822, 112, 59, 32768, 10826, 111, 116, 59, 32768, 8845, 114, 59, 32768, 10821, 59, 32896, 8746, 65024, 1024, 97, 108, 114, 118, 8066, 8078, 8116, 8123, 114, 114, 512, 59, 109, 8073, 8075, 32768, 8631, 59, 32768, 10556, 121, 768, 101, 118, 119, 8086, 8104, 8109, 113, 1089, 8093, 0, 0, 8099, 114, 101, 99, 59, 32768, 8926, 117, 99, 99, 59, 32768, 8927, 101, 101, 59, 32768, 8910, 101, 100, 103, 101, 59, 32768, 8911, 101, 110, 33024, 164, 59, 32768, 164, 101, 97, 114, 114, 111, 119, 512, 108, 114, 8134, 8140, 101, 102, 116, 59, 32768, 8630, 105, 103, 104, 116, 59, 32768, 8631, 101, 101, 59, 32768, 8910, 101, 100, 59, 32768, 8911, 512, 99, 105, 8162, 8170, 111, 110, 105, 110, 116, 59, 32768, 8754, 110, 116, 59, 32768, 8753, 108, 99, 116, 121, 59, 32768, 9005, 4864, 65, 72, 97, 98, 99, 100, 101, 102, 104, 105, 106, 108, 111, 114, 115, 116, 117, 119, 122, 8221, 8226, 8231, 8267, 8282, 8296, 8327, 8351, 8366, 8379, 8466, 8471, 8487, 8621, 8647, 8676, 8697, 8712, 8720, 114, 114, 59, 32768, 8659, 97, 114, 59, 32768, 10597, 1024, 103, 108, 114, 115, 8240, 8246, 8252, 8256, 103, 101, 114, 59, 32768, 8224, 101, 116, 104, 59, 32768, 8504, 114, 59, 32768, 8595, 104, 512, 59, 118, 8262, 8264, 32768, 8208, 59, 32768, 8867, 572, 8271, 8278, 97, 114, 111, 119, 59, 32768, 10511, 97, 99, 59, 32768, 733, 512, 97, 121, 8287, 8293, 114, 111, 110, 59, 32768, 271, 59, 32768, 1076, 768, 59, 97, 111, 8303, 8305, 8320, 32768, 8518, 512, 103, 114, 8310, 8316, 103, 101, 114, 59, 32768, 8225, 114, 59, 32768, 8650, 116, 115, 101, 113, 59, 32768, 10871, 768, 103, 108, 109, 8334, 8339, 8344, 33024, 176, 59, 32768, 176, 116, 97, 59, 32768, 948, 112, 116, 121, 118, 59, 32768, 10673, 512, 105, 114, 8356, 8362, 115, 104, 116, 59, 32768, 10623, 59, 32896, 55349, 56609, 97, 114, 512, 108, 114, 8373, 8376, 59, 32768, 8643, 59, 32768, 8642, 1280, 97, 101, 103, 115, 118, 8390, 8418, 8421, 8428, 8433, 109, 768, 59, 111, 115, 8398, 8400, 8415, 32768, 8900, 110, 100, 512, 59, 115, 8407, 8409, 32768, 8900, 117, 105, 116, 59, 32768, 9830, 59, 32768, 9830, 59, 32768, 168, 97, 109, 109, 97, 59, 32768, 989, 105, 110, 59, 32768, 8946, 768, 59, 105, 111, 8440, 8442, 8461, 32768, 247, 100, 101, 33280, 247, 59, 111, 8450, 8452, 32768, 247, 110, 116, 105, 109, 101, 115, 59, 32768, 8903, 110, 120, 59, 32768, 8903, 99, 121, 59, 32768, 1106, 99, 1088, 8478, 0, 0, 8483, 114, 110, 59, 32768, 8990, 111, 112, 59, 32768, 8973, 1280, 108, 112, 116, 117, 119, 8498, 8504, 8509, 8556, 8570, 108, 97, 114, 59, 32768, 36, 102, 59, 32896, 55349, 56661, 1280, 59, 101, 109, 112, 115, 8520, 8522, 8535, 8542, 8548, 32768, 729, 113, 512, 59, 100, 8528, 8530, 32768, 8784, 111, 116, 59, 32768, 8785, 105, 110, 117, 115, 59, 32768, 8760, 108, 117, 115, 59, 32768, 8724, 113, 117, 97, 114, 101, 59, 32768, 8865, 98, 108, 101, 98, 97, 114, 119, 101, 100, 103, 101, 59, 32768, 8966, 110, 768, 97, 100, 104, 8578, 8585, 8597, 114, 114, 111, 119, 59, 32768, 8595, 111, 119, 110, 97, 114, 114, 111, 119, 115, 59, 32768, 8650, 97, 114, 112, 111, 111, 110, 512, 108, 114, 8608, 8614, 101, 102, 116, 59, 32768, 8643, 105, 103, 104, 116, 59, 32768, 8642, 563, 8625, 8633, 107, 97, 114, 111, 119, 59, 32768, 10512, 1088, 8638, 0, 0, 8643, 114, 110, 59, 32768, 8991, 111, 112, 59, 32768, 8972, 768, 99, 111, 116, 8654, 8666, 8670, 512, 114, 121, 8659, 8663, 59, 32896, 55349, 56505, 59, 32768, 1109, 108, 59, 32768, 10742, 114, 111, 107, 59, 32768, 273, 512, 100, 114, 8681, 8686, 111, 116, 59, 32768, 8945, 105, 512, 59, 102, 8692, 8694, 32768, 9663, 59, 32768, 9662, 512, 97, 104, 8702, 8707, 114, 114, 59, 32768, 8693, 97, 114, 59, 32768, 10607, 97, 110, 103, 108, 101, 59, 32768, 10662, 512, 99, 105, 8725, 8729, 121, 59, 32768, 1119, 103, 114, 97, 114, 114, 59, 32768, 10239, 4608, 68, 97, 99, 100, 101, 102, 103, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 120, 8774, 8788, 8807, 8844, 8849, 8852, 8866, 8895, 8929, 8977, 8989, 9004, 9046, 9136, 9151, 9171, 9184, 9199, 512, 68, 111, 8779, 8784, 111, 116, 59, 32768, 10871, 116, 59, 32768, 8785, 512, 99, 115, 8793, 8801, 117, 116, 101, 33024, 233, 59, 32768, 233, 116, 101, 114, 59, 32768, 10862, 1024, 97, 105, 111, 121, 8816, 8822, 8835, 8841, 114, 111, 110, 59, 32768, 283, 114, 512, 59, 99, 8828, 8830, 32768, 8790, 33024, 234, 59, 32768, 234, 108, 111, 110, 59, 32768, 8789, 59, 32768, 1101, 111, 116, 59, 32768, 279, 59, 32768, 8519, 512, 68, 114, 8857, 8862, 111, 116, 59, 32768, 8786, 59, 32896, 55349, 56610, 768, 59, 114, 115, 8873, 8875, 8883, 32768, 10906, 97, 118, 101, 33024, 232, 59, 32768, 232, 512, 59, 100, 8888, 8890, 32768, 10902, 111, 116, 59, 32768, 10904, 1024, 59, 105, 108, 115, 8904, 8906, 8914, 8917, 32768, 10905, 110, 116, 101, 114, 115, 59, 32768, 9191, 59, 32768, 8467, 512, 59, 100, 8922, 8924, 32768, 10901, 111, 116, 59, 32768, 10903, 768, 97, 112, 115, 8936, 8941, 8960, 99, 114, 59, 32768, 275, 116, 121, 768, 59, 115, 118, 8950, 8952, 8957, 32768, 8709, 101, 116, 59, 32768, 8709, 59, 32768, 8709, 112, 512, 49, 59, 8966, 8975, 516, 8970, 8973, 59, 32768, 8196, 59, 32768, 8197, 32768, 8195, 512, 103, 115, 8982, 8985, 59, 32768, 331, 112, 59, 32768, 8194, 512, 103, 112, 8994, 8999, 111, 110, 59, 32768, 281, 102, 59, 32896, 55349, 56662, 768, 97, 108, 115, 9011, 9023, 9028, 114, 512, 59, 115, 9017, 9019, 32768, 8917, 108, 59, 32768, 10723, 117, 115, 59, 32768, 10865, 105, 768, 59, 108, 118, 9036, 9038, 9043, 32768, 949, 111, 110, 59, 32768, 949, 59, 32768, 1013, 1024, 99, 115, 117, 118, 9055, 9071, 9099, 9128, 512, 105, 111, 9060, 9065, 114, 99, 59, 32768, 8790, 108, 111, 110, 59, 32768, 8789, 1082, 9077, 0, 0, 9081, 109, 59, 32768, 8770, 97, 110, 116, 512, 103, 108, 9088, 9093, 116, 114, 59, 32768, 10902, 101, 115, 115, 59, 32768, 10901, 768, 97, 101, 105, 9106, 9111, 9116, 108, 115, 59, 32768, 61, 115, 116, 59, 32768, 8799, 118, 512, 59, 68, 9122, 9124, 32768, 8801, 68, 59, 32768, 10872, 112, 97, 114, 115, 108, 59, 32768, 10725, 512, 68, 97, 9141, 9146, 111, 116, 59, 32768, 8787, 114, 114, 59, 32768, 10609, 768, 99, 100, 105, 9158, 9162, 9167, 114, 59, 32768, 8495, 111, 116, 59, 32768, 8784, 109, 59, 32768, 8770, 512, 97, 104, 9176, 9179, 59, 32768, 951, 33024, 240, 59, 32768, 240, 512, 109, 114, 9189, 9195, 108, 33024, 235, 59, 32768, 235, 111, 59, 32768, 8364, 768, 99, 105, 112, 9206, 9210, 9215, 108, 59, 32768, 33, 115, 116, 59, 32768, 8707, 512, 101, 111, 9220, 9230, 99, 116, 97, 116, 105, 111, 110, 59, 32768, 8496, 110, 101, 110, 116, 105, 97, 108, 101, 59, 32768, 8519, 4914, 9262, 0, 9276, 0, 9280, 9287, 0, 0, 9318, 9324, 0, 9331, 0, 9352, 9357, 9386, 0, 9395, 9497, 108, 108, 105, 110, 103, 100, 111, 116, 115, 101, 113, 59, 32768, 8786, 121, 59, 32768, 1092, 109, 97, 108, 101, 59, 32768, 9792, 768, 105, 108, 114, 9293, 9299, 9313, 108, 105, 103, 59, 32768, 64259, 1082, 9305, 0, 0, 9309, 103, 59, 32768, 64256, 105, 103, 59, 32768, 64260, 59, 32896, 55349, 56611, 108, 105, 103, 59, 32768, 64257, 108, 105, 103, 59, 32896, 102, 106, 768, 97, 108, 116, 9337, 9341, 9346, 116, 59, 32768, 9837, 105, 103, 59, 32768, 64258, 110, 115, 59, 32768, 9649, 111, 102, 59, 32768, 402, 833, 9361, 0, 9366, 102, 59, 32896, 55349, 56663, 512, 97, 107, 9370, 9375, 108, 108, 59, 32768, 8704, 512, 59, 118, 9380, 9382, 32768, 8916, 59, 32768, 10969, 97, 114, 116, 105, 110, 116, 59, 32768, 10765, 512, 97, 111, 9399, 9491, 512, 99, 115, 9404, 9487, 1794, 9413, 9443, 9453, 9470, 9474, 0, 9484, 1795, 9421, 9426, 9429, 9434, 9437, 0, 9440, 33024, 189, 59, 32768, 189, 59, 32768, 8531, 33024, 188, 59, 32768, 188, 59, 32768, 8533, 59, 32768, 8537, 59, 32768, 8539, 772, 9447, 0, 9450, 59, 32768, 8532, 59, 32768, 8534, 1285, 9459, 9464, 0, 0, 9467, 33024, 190, 59, 32768, 190, 59, 32768, 8535, 59, 32768, 8540, 53, 59, 32768, 8536, 775, 9478, 0, 9481, 59, 32768, 8538, 59, 32768, 8541, 56, 59, 32768, 8542, 108, 59, 32768, 8260, 119, 110, 59, 32768, 8994, 99, 114, 59, 32896, 55349, 56507, 4352, 69, 97, 98, 99, 100, 101, 102, 103, 105, 106, 108, 110, 111, 114, 115, 116, 118, 9537, 9547, 9575, 9582, 9595, 9600, 9679, 9684, 9694, 9700, 9705, 9725, 9773, 9779, 9785, 9810, 9917, 512, 59, 108, 9542, 9544, 32768, 8807, 59, 32768, 10892, 768, 99, 109, 112, 9554, 9560, 9572, 117, 116, 101, 59, 32768, 501, 109, 97, 512, 59, 100, 9567, 9569, 32768, 947, 59, 32768, 989, 59, 32768, 10886, 114, 101, 118, 101, 59, 32768, 287, 512, 105, 121, 9587, 9592, 114, 99, 59, 32768, 285, 59, 32768, 1075, 111, 116, 59, 32768, 289, 1024, 59, 108, 113, 115, 9609, 9611, 9614, 9633, 32768, 8805, 59, 32768, 8923, 768, 59, 113, 115, 9621, 9623, 9626, 32768, 8805, 59, 32768, 8807, 108, 97, 110, 116, 59, 32768, 10878, 1024, 59, 99, 100, 108, 9642, 9644, 9648, 9667, 32768, 10878, 99, 59, 32768, 10921, 111, 116, 512, 59, 111, 9655, 9657, 32768, 10880, 512, 59, 108, 9662, 9664, 32768, 10882, 59, 32768, 10884, 512, 59, 101, 9672, 9675, 32896, 8923, 65024, 115, 59, 32768, 10900, 114, 59, 32896, 55349, 56612, 512, 59, 103, 9689, 9691, 32768, 8811, 59, 32768, 8921, 109, 101, 108, 59, 32768, 8503, 99, 121, 59, 32768, 1107, 1024, 59, 69, 97, 106, 9714, 9716, 9719, 9722, 32768, 8823, 59, 32768, 10898, 59, 32768, 10917, 59, 32768, 10916, 1024, 69, 97, 101, 115, 9734, 9737, 9751, 9768, 59, 32768, 8809, 112, 512, 59, 112, 9743, 9745, 32768, 10890, 114, 111, 120, 59, 32768, 10890, 512, 59, 113, 9756, 9758, 32768, 10888, 512, 59, 113, 9763, 9765, 32768, 10888, 59, 32768, 8809, 105, 109, 59, 32768, 8935, 112, 102, 59, 32896, 55349, 56664, 97, 118, 101, 59, 32768, 96, 512, 99, 105, 9790, 9794, 114, 59, 32768, 8458, 109, 768, 59, 101, 108, 9802, 9804, 9807, 32768, 8819, 59, 32768, 10894, 59, 32768, 10896, 34304, 62, 59, 99, 100, 108, 113, 114, 9824, 9826, 9838, 9843, 9849, 9856, 32768, 62, 512, 99, 105, 9831, 9834, 59, 32768, 10919, 114, 59, 32768, 10874, 111, 116, 59, 32768, 8919, 80, 97, 114, 59, 32768, 10645, 117, 101, 115, 116, 59, 32768, 10876, 1280, 97, 100, 101, 108, 115, 9867, 9882, 9887, 9906, 9912, 833, 9872, 0, 9879, 112, 114, 111, 120, 59, 32768, 10886, 114, 59, 32768, 10616, 111, 116, 59, 32768, 8919, 113, 512, 108, 113, 9893, 9899, 101, 115, 115, 59, 32768, 8923, 108, 101, 115, 115, 59, 32768, 10892, 101, 115, 115, 59, 32768, 8823, 105, 109, 59, 32768, 8819, 512, 101, 110, 9922, 9932, 114, 116, 110, 101, 113, 113, 59, 32896, 8809, 65024, 69, 59, 32896, 8809, 65024, 2560, 65, 97, 98, 99, 101, 102, 107, 111, 115, 121, 9958, 9963, 10015, 10020, 10026, 10060, 10065, 10085, 10147, 10171, 114, 114, 59, 32768, 8660, 1024, 105, 108, 109, 114, 9972, 9978, 9982, 9988, 114, 115, 112, 59, 32768, 8202, 102, 59, 32768, 189, 105, 108, 116, 59, 32768, 8459, 512, 100, 114, 9993, 9998, 99, 121, 59, 32768, 1098, 768, 59, 99, 119, 10005, 10007, 10012, 32768, 8596, 105, 114, 59, 32768, 10568, 59, 32768, 8621, 97, 114, 59, 32768, 8463, 105, 114, 99, 59, 32768, 293, 768, 97, 108, 114, 10033, 10048, 10054, 114, 116, 115, 512, 59, 117, 10041, 10043, 32768, 9829, 105, 116, 59, 32768, 9829, 108, 105, 112, 59, 32768, 8230, 99, 111, 110, 59, 32768, 8889, 114, 59, 32896, 55349, 56613, 115, 512, 101, 119, 10071, 10078, 97, 114, 111, 119, 59, 32768, 10533, 97, 114, 111, 119, 59, 32768, 10534, 1280, 97, 109, 111, 112, 114, 10096, 10101, 10107, 10136, 10141, 114, 114, 59, 32768, 8703, 116, 104, 116, 59, 32768, 8763, 107, 512, 108, 114, 10113, 10124, 101, 102, 116, 97, 114, 114, 111, 119, 59, 32768, 8617, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8618, 102, 59, 32896, 55349, 56665, 98, 97, 114, 59, 32768, 8213, 768, 99, 108, 116, 10154, 10159, 10165, 114, 59, 32896, 55349, 56509, 97, 115, 104, 59, 32768, 8463, 114, 111, 107, 59, 32768, 295, 512, 98, 112, 10176, 10182, 117, 108, 108, 59, 32768, 8259, 104, 101, 110, 59, 32768, 8208, 5426, 10211, 0, 10220, 0, 10239, 10255, 10267, 0, 10276, 10312, 0, 0, 10318, 10371, 10458, 10485, 10491, 0, 10500, 10545, 10558, 99, 117, 116, 101, 33024, 237, 59, 32768, 237, 768, 59, 105, 121, 10226, 10228, 10235, 32768, 8291, 114, 99, 33024, 238, 59, 32768, 238, 59, 32768, 1080, 512, 99, 120, 10243, 10247, 121, 59, 32768, 1077, 99, 108, 33024, 161, 59, 32768, 161, 512, 102, 114, 10259, 10262, 59, 32768, 8660, 59, 32896, 55349, 56614, 114, 97, 118, 101, 33024, 236, 59, 32768, 236, 1024, 59, 105, 110, 111, 10284, 10286, 10300, 10306, 32768, 8520, 512, 105, 110, 10291, 10296, 110, 116, 59, 32768, 10764, 116, 59, 32768, 8749, 102, 105, 110, 59, 32768, 10716, 116, 97, 59, 32768, 8489, 108, 105, 103, 59, 32768, 307, 768, 97, 111, 112, 10324, 10361, 10365, 768, 99, 103, 116, 10331, 10335, 10357, 114, 59, 32768, 299, 768, 101, 108, 112, 10342, 10345, 10351, 59, 32768, 8465, 105, 110, 101, 59, 32768, 8464, 97, 114, 116, 59, 32768, 8465, 104, 59, 32768, 305, 102, 59, 32768, 8887, 101, 100, 59, 32768, 437, 1280, 59, 99, 102, 111, 116, 10381, 10383, 10389, 10403, 10409, 32768, 8712, 97, 114, 101, 59, 32768, 8453, 105, 110, 512, 59, 116, 10396, 10398, 32768, 8734, 105, 101, 59, 32768, 10717, 100, 111, 116, 59, 32768, 305, 1280, 59, 99, 101, 108, 112, 10420, 10422, 10427, 10444, 10451, 32768, 8747, 97, 108, 59, 32768, 8890, 512, 103, 114, 10432, 10438, 101, 114, 115, 59, 32768, 8484, 99, 97, 108, 59, 32768, 8890, 97, 114, 104, 107, 59, 32768, 10775, 114, 111, 100, 59, 32768, 10812, 1024, 99, 103, 112, 116, 10466, 10470, 10475, 10480, 121, 59, 32768, 1105, 111, 110, 59, 32768, 303, 102, 59, 32896, 55349, 56666, 97, 59, 32768, 953, 114, 111, 100, 59, 32768, 10812, 117, 101, 115, 116, 33024, 191, 59, 32768, 191, 512, 99, 105, 10504, 10509, 114, 59, 32896, 55349, 56510, 110, 1280, 59, 69, 100, 115, 118, 10521, 10523, 10526, 10531, 10541, 32768, 8712, 59, 32768, 8953, 111, 116, 59, 32768, 8949, 512, 59, 118, 10536, 10538, 32768, 8948, 59, 32768, 8947, 59, 32768, 8712, 512, 59, 105, 10549, 10551, 32768, 8290, 108, 100, 101, 59, 32768, 297, 828, 10562, 0, 10567, 99, 121, 59, 32768, 1110, 108, 33024, 239, 59, 32768, 239, 1536, 99, 102, 109, 111, 115, 117, 10585, 10598, 10603, 10609, 10615, 10630, 512, 105, 121, 10590, 10595, 114, 99, 59, 32768, 309, 59, 32768, 1081, 114, 59, 32896, 55349, 56615, 97, 116, 104, 59, 32768, 567, 112, 102, 59, 32896, 55349, 56667, 820, 10620, 0, 10625, 114, 59, 32896, 55349, 56511, 114, 99, 121, 59, 32768, 1112, 107, 99, 121, 59, 32768, 1108, 2048, 97, 99, 102, 103, 104, 106, 111, 115, 10653, 10666, 10680, 10685, 10692, 10697, 10702, 10708, 112, 112, 97, 512, 59, 118, 10661, 10663, 32768, 954, 59, 32768, 1008, 512, 101, 121, 10671, 10677, 100, 105, 108, 59, 32768, 311, 59, 32768, 1082, 114, 59, 32896, 55349, 56616, 114, 101, 101, 110, 59, 32768, 312, 99, 121, 59, 32768, 1093, 99, 121, 59, 32768, 1116, 112, 102, 59, 32896, 55349, 56668, 99, 114, 59, 32896, 55349, 56512, 5888, 65, 66, 69, 72, 97, 98, 99, 100, 101, 102, 103, 104, 106, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 10761, 10783, 10789, 10799, 10804, 10957, 11011, 11047, 11094, 11349, 11372, 11382, 11409, 11414, 11451, 11478, 11526, 11698, 11711, 11755, 11823, 11910, 11929, 768, 97, 114, 116, 10768, 10773, 10777, 114, 114, 59, 32768, 8666, 114, 59, 32768, 8656, 97, 105, 108, 59, 32768, 10523, 97, 114, 114, 59, 32768, 10510, 512, 59, 103, 10794, 10796, 32768, 8806, 59, 32768, 10891, 97, 114, 59, 32768, 10594, 4660, 10824, 0, 10830, 0, 10838, 0, 0, 0, 0, 0, 10844, 10850, 0, 10867, 10870, 10877, 0, 10933, 117, 116, 101, 59, 32768, 314, 109, 112, 116, 121, 118, 59, 32768, 10676, 114, 97, 110, 59, 32768, 8466, 98, 100, 97, 59, 32768, 955, 103, 768, 59, 100, 108, 10857, 10859, 10862, 32768, 10216, 59, 32768, 10641, 101, 59, 32768, 10216, 59, 32768, 10885, 117, 111, 33024, 171, 59, 32768, 171, 114, 2048, 59, 98, 102, 104, 108, 112, 115, 116, 10894, 10896, 10907, 10911, 10915, 10919, 10923, 10928, 32768, 8592, 512, 59, 102, 10901, 10903, 32768, 8676, 115, 59, 32768, 10527, 115, 59, 32768, 10525, 107, 59, 32768, 8617, 112, 59, 32768, 8619, 108, 59, 32768, 10553, 105, 109, 59, 32768, 10611, 108, 59, 32768, 8610, 768, 59, 97, 101, 10939, 10941, 10946, 32768, 10923, 105, 108, 59, 32768, 10521, 512, 59, 115, 10951, 10953, 32768, 10925, 59, 32896, 10925, 65024, 768, 97, 98, 114, 10964, 10969, 10974, 114, 114, 59, 32768, 10508, 114, 107, 59, 32768, 10098, 512, 97, 107, 10979, 10991, 99, 512, 101, 107, 10985, 10988, 59, 32768, 123, 59, 32768, 91, 512, 101, 115, 10996, 10999, 59, 32768, 10635, 108, 512, 100, 117, 11005, 11008, 59, 32768, 10639, 59, 32768, 10637, 1024, 97, 101, 117, 121, 11020, 11026, 11040, 11044, 114, 111, 110, 59, 32768, 318, 512, 100, 105, 11031, 11036, 105, 108, 59, 32768, 316, 108, 59, 32768, 8968, 98, 59, 32768, 123, 59, 32768, 1083, 1024, 99, 113, 114, 115, 11056, 11060, 11072, 11090, 97, 59, 32768, 10550, 117, 111, 512, 59, 114, 11067, 11069, 32768, 8220, 59, 32768, 8222, 512, 100, 117, 11077, 11083, 104, 97, 114, 59, 32768, 10599, 115, 104, 97, 114, 59, 32768, 10571, 104, 59, 32768, 8626, 1280, 59, 102, 103, 113, 115, 11105, 11107, 11228, 11231, 11250, 32768, 8804, 116, 1280, 97, 104, 108, 114, 116, 11119, 11136, 11157, 11169, 11216, 114, 114, 111, 119, 512, 59, 116, 11128, 11130, 32768, 8592, 97, 105, 108, 59, 32768, 8610, 97, 114, 112, 111, 111, 110, 512, 100, 117, 11147, 11153, 111, 119, 110, 59, 32768, 8637, 112, 59, 32768, 8636, 101, 102, 116, 97, 114, 114, 111, 119, 115, 59, 32768, 8647, 105, 103, 104, 116, 768, 97, 104, 115, 11180, 11194, 11204, 114, 114, 111, 119, 512, 59, 115, 11189, 11191, 32768, 8596, 59, 32768, 8646, 97, 114, 112, 111, 111, 110, 115, 59, 32768, 8651, 113, 117, 105, 103, 97, 114, 114, 111, 119, 59, 32768, 8621, 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, 32768, 8907, 59, 32768, 8922, 768, 59, 113, 115, 11238, 11240, 11243, 32768, 8804, 59, 32768, 8806, 108, 97, 110, 116, 59, 32768, 10877, 1280, 59, 99, 100, 103, 115, 11261, 11263, 11267, 11286, 11298, 32768, 10877, 99, 59, 32768, 10920, 111, 116, 512, 59, 111, 11274, 11276, 32768, 10879, 512, 59, 114, 11281, 11283, 32768, 10881, 59, 32768, 10883, 512, 59, 101, 11291, 11294, 32896, 8922, 65024, 115, 59, 32768, 10899, 1280, 97, 100, 101, 103, 115, 11309, 11317, 11322, 11339, 11344, 112, 112, 114, 111, 120, 59, 32768, 10885, 111, 116, 59, 32768, 8918, 113, 512, 103, 113, 11328, 11333, 116, 114, 59, 32768, 8922, 103, 116, 114, 59, 32768, 10891, 116, 114, 59, 32768, 8822, 105, 109, 59, 32768, 8818, 768, 105, 108, 114, 11356, 11362, 11368, 115, 104, 116, 59, 32768, 10620, 111, 111, 114, 59, 32768, 8970, 59, 32896, 55349, 56617, 512, 59, 69, 11377, 11379, 32768, 8822, 59, 32768, 10897, 562, 11386, 11405, 114, 512, 100, 117, 11391, 11394, 59, 32768, 8637, 512, 59, 108, 11399, 11401, 32768, 8636, 59, 32768, 10602, 108, 107, 59, 32768, 9604, 99, 121, 59, 32768, 1113, 1280, 59, 97, 99, 104, 116, 11425, 11427, 11432, 11440, 11446, 32768, 8810, 114, 114, 59, 32768, 8647, 111, 114, 110, 101, 114, 59, 32768, 8990, 97, 114, 100, 59, 32768, 10603, 114, 105, 59, 32768, 9722, 512, 105, 111, 11456, 11462, 100, 111, 116, 59, 32768, 320, 117, 115, 116, 512, 59, 97, 11470, 11472, 32768, 9136, 99, 104, 101, 59, 32768, 9136, 1024, 69, 97, 101, 115, 11487, 11490, 11504, 11521, 59, 32768, 8808, 112, 512, 59, 112, 11496, 11498, 32768, 10889, 114, 111, 120, 59, 32768, 10889, 512, 59, 113, 11509, 11511, 32768, 10887, 512, 59, 113, 11516, 11518, 32768, 10887, 59, 32768, 8808, 105, 109, 59, 32768, 8934, 2048, 97, 98, 110, 111, 112, 116, 119, 122, 11543, 11556, 11561, 11616, 11640, 11660, 11667, 11680, 512, 110, 114, 11548, 11552, 103, 59, 32768, 10220, 114, 59, 32768, 8701, 114, 107, 59, 32768, 10214, 103, 768, 108, 109, 114, 11569, 11596, 11604, 101, 102, 116, 512, 97, 114, 11577, 11584, 114, 114, 111, 119, 59, 32768, 10229, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 10231, 97, 112, 115, 116, 111, 59, 32768, 10236, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 10230, 112, 97, 114, 114, 111, 119, 512, 108, 114, 11627, 11633, 101, 102, 116, 59, 32768, 8619, 105, 103, 104, 116, 59, 32768, 8620, 768, 97, 102, 108, 11647, 11651, 11655, 114, 59, 32768, 10629, 59, 32896, 55349, 56669, 117, 115, 59, 32768, 10797, 105, 109, 101, 115, 59, 32768, 10804, 562, 11671, 11676, 115, 116, 59, 32768, 8727, 97, 114, 59, 32768, 95, 768, 59, 101, 102, 11687, 11689, 11695, 32768, 9674, 110, 103, 101, 59, 32768, 9674, 59, 32768, 10731, 97, 114, 512, 59, 108, 11705, 11707, 32768, 40, 116, 59, 32768, 10643, 1280, 97, 99, 104, 109, 116, 11722, 11727, 11735, 11747, 11750, 114, 114, 59, 32768, 8646, 111, 114, 110, 101, 114, 59, 32768, 8991, 97, 114, 512, 59, 100, 11742, 11744, 32768, 8651, 59, 32768, 10605, 59, 32768, 8206, 114, 105, 59, 32768, 8895, 1536, 97, 99, 104, 105, 113, 116, 11768, 11774, 11779, 11782, 11798, 11817, 113, 117, 111, 59, 32768, 8249, 114, 59, 32896, 55349, 56513, 59, 32768, 8624, 109, 768, 59, 101, 103, 11790, 11792, 11795, 32768, 8818, 59, 32768, 10893, 59, 32768, 10895, 512, 98, 117, 11803, 11806, 59, 32768, 91, 111, 512, 59, 114, 11812, 11814, 32768, 8216, 59, 32768, 8218, 114, 111, 107, 59, 32768, 322, 34816, 60, 59, 99, 100, 104, 105, 108, 113, 114, 11841, 11843, 11855, 11860, 11866, 11872, 11878, 11885, 32768, 60, 512, 99, 105, 11848, 11851, 59, 32768, 10918, 114, 59, 32768, 10873, 111, 116, 59, 32768, 8918, 114, 101, 101, 59, 32768, 8907, 109, 101, 115, 59, 32768, 8905, 97, 114, 114, 59, 32768, 10614, 117, 101, 115, 116, 59, 32768, 10875, 512, 80, 105, 11890, 11895, 97, 114, 59, 32768, 10646, 768, 59, 101, 102, 11902, 11904, 11907, 32768, 9667, 59, 32768, 8884, 59, 32768, 9666, 114, 512, 100, 117, 11916, 11923, 115, 104, 97, 114, 59, 32768, 10570, 104, 97, 114, 59, 32768, 10598, 512, 101, 110, 11934, 11944, 114, 116, 110, 101, 113, 113, 59, 32896, 8808, 65024, 69, 59, 32896, 8808, 65024, 3584, 68, 97, 99, 100, 101, 102, 104, 105, 108, 110, 111, 112, 115, 117, 11978, 11984, 12061, 12075, 12081, 12095, 12100, 12104, 12170, 12181, 12188, 12204, 12207, 12223, 68, 111, 116, 59, 32768, 8762, 1024, 99, 108, 112, 114, 11993, 11999, 12019, 12055, 114, 33024, 175, 59, 32768, 175, 512, 101, 116, 12004, 12007, 59, 32768, 9794, 512, 59, 101, 12012, 12014, 32768, 10016, 115, 101, 59, 32768, 10016, 512, 59, 115, 12024, 12026, 32768, 8614, 116, 111, 1024, 59, 100, 108, 117, 12037, 12039, 12045, 12051, 32768, 8614, 111, 119, 110, 59, 32768, 8615, 101, 102, 116, 59, 32768, 8612, 112, 59, 32768, 8613, 107, 101, 114, 59, 32768, 9646, 512, 111, 121, 12066, 12072, 109, 109, 97, 59, 32768, 10793, 59, 32768, 1084, 97, 115, 104, 59, 32768, 8212, 97, 115, 117, 114, 101, 100, 97, 110, 103, 108, 101, 59, 32768, 8737, 114, 59, 32896, 55349, 56618, 111, 59, 32768, 8487, 768, 99, 100, 110, 12111, 12118, 12146, 114, 111, 33024, 181, 59, 32768, 181, 1024, 59, 97, 99, 100, 12127, 12129, 12134, 12139, 32768, 8739, 115, 116, 59, 32768, 42, 105, 114, 59, 32768, 10992, 111, 116, 33024, 183, 59, 32768, 183, 117, 115, 768, 59, 98, 100, 12155, 12157, 12160, 32768, 8722, 59, 32768, 8863, 512, 59, 117, 12165, 12167, 32768, 8760, 59, 32768, 10794, 564, 12174, 12178, 112, 59, 32768, 10971, 114, 59, 32768, 8230, 112, 108, 117, 115, 59, 32768, 8723, 512, 100, 112, 12193, 12199, 101, 108, 115, 59, 32768, 8871, 102, 59, 32896, 55349, 56670, 59, 32768, 8723, 512, 99, 116, 12212, 12217, 114, 59, 32896, 55349, 56514, 112, 111, 115, 59, 32768, 8766, 768, 59, 108, 109, 12230, 12232, 12240, 32768, 956, 116, 105, 109, 97, 112, 59, 32768, 8888, 97, 112, 59, 32768, 8888, 6144, 71, 76, 82, 86, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 108, 109, 111, 112, 114, 115, 116, 117, 118, 119, 12294, 12315, 12364, 12376, 12393, 12472, 12496, 12547, 12553, 12636, 12641, 12703, 12725, 12747, 12752, 12876, 12881, 12957, 13033, 13089, 13294, 13359, 13384, 13499, 512, 103, 116, 12299, 12303, 59, 32896, 8921, 824, 512, 59, 118, 12308, 12311, 32896, 8811, 8402, 59, 32896, 8811, 824, 768, 101, 108, 116, 12322, 12348, 12352, 102, 116, 512, 97, 114, 12329, 12336, 114, 114, 111, 119, 59, 32768, 8653, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8654, 59, 32896, 8920, 824, 512, 59, 118, 12357, 12360, 32896, 8810, 8402, 59, 32896, 8810, 824, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8655, 512, 68, 100, 12381, 12387, 97, 115, 104, 59, 32768, 8879, 97, 115, 104, 59, 32768, 8878, 1280, 98, 99, 110, 112, 116, 12404, 12409, 12415, 12420, 12452, 108, 97, 59, 32768, 8711, 117, 116, 101, 59, 32768, 324, 103, 59, 32896, 8736, 8402, 1280, 59, 69, 105, 111, 112, 12431, 12433, 12437, 12442, 12446, 32768, 8777, 59, 32896, 10864, 824, 100, 59, 32896, 8779, 824, 115, 59, 32768, 329, 114, 111, 120, 59, 32768, 8777, 117, 114, 512, 59, 97, 12459, 12461, 32768, 9838, 108, 512, 59, 115, 12467, 12469, 32768, 9838, 59, 32768, 8469, 836, 12477, 0, 12483, 112, 33024, 160, 59, 32768, 160, 109, 112, 512, 59, 101, 12489, 12492, 32896, 8782, 824, 59, 32896, 8783, 824, 1280, 97, 101, 111, 117, 121, 12507, 12519, 12525, 12540, 12544, 833, 12512, 0, 12515, 59, 32768, 10819, 111, 110, 59, 32768, 328, 100, 105, 108, 59, 32768, 326, 110, 103, 512, 59, 100, 12532, 12534, 32768, 8775, 111, 116, 59, 32896, 10861, 824, 112, 59, 32768, 10818, 59, 32768, 1085, 97, 115, 104, 59, 32768, 8211, 1792, 59, 65, 97, 100, 113, 115, 120, 12568, 12570, 12575, 12596, 12602, 12608, 12623, 32768, 8800, 114, 114, 59, 32768, 8663, 114, 512, 104, 114, 12581, 12585, 107, 59, 32768, 10532, 512, 59, 111, 12590, 12592, 32768, 8599, 119, 59, 32768, 8599, 111, 116, 59, 32896, 8784, 824, 117, 105, 118, 59, 32768, 8802, 512, 101, 105, 12613, 12618, 97, 114, 59, 32768, 10536, 109, 59, 32896, 8770, 824, 105, 115, 116, 512, 59, 115, 12631, 12633, 32768, 8708, 59, 32768, 8708, 114, 59, 32896, 55349, 56619, 1024, 69, 101, 115, 116, 12650, 12654, 12688, 12693, 59, 32896, 8807, 824, 768, 59, 113, 115, 12661, 12663, 12684, 32768, 8817, 768, 59, 113, 115, 12670, 12672, 12676, 32768, 8817, 59, 32896, 8807, 824, 108, 97, 110, 116, 59, 32896, 10878, 824, 59, 32896, 10878, 824, 105, 109, 59, 32768, 8821, 512, 59, 114, 12698, 12700, 32768, 8815, 59, 32768, 8815, 768, 65, 97, 112, 12710, 12715, 12720, 114, 114, 59, 32768, 8654, 114, 114, 59, 32768, 8622, 97, 114, 59, 32768, 10994, 768, 59, 115, 118, 12732, 12734, 12744, 32768, 8715, 512, 59, 100, 12739, 12741, 32768, 8956, 59, 32768, 8954, 59, 32768, 8715, 99, 121, 59, 32768, 1114, 1792, 65, 69, 97, 100, 101, 115, 116, 12767, 12772, 12776, 12781, 12785, 12853, 12858, 114, 114, 59, 32768, 8653, 59, 32896, 8806, 824, 114, 114, 59, 32768, 8602, 114, 59, 32768, 8229, 1024, 59, 102, 113, 115, 12794, 12796, 12821, 12842, 32768, 8816, 116, 512, 97, 114, 12802, 12809, 114, 114, 111, 119, 59, 32768, 8602, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8622, 768, 59, 113, 115, 12828, 12830, 12834, 32768, 8816, 59, 32896, 8806, 824, 108, 97, 110, 116, 59, 32896, 10877, 824, 512, 59, 115, 12847, 12850, 32896, 10877, 824, 59, 32768, 8814, 105, 109, 59, 32768, 8820, 512, 59, 114, 12863, 12865, 32768, 8814, 105, 512, 59, 101, 12871, 12873, 32768, 8938, 59, 32768, 8940, 105, 100, 59, 32768, 8740, 512, 112, 116, 12886, 12891, 102, 59, 32896, 55349, 56671, 33536, 172, 59, 105, 110, 12899, 12901, 12936, 32768, 172, 110, 1024, 59, 69, 100, 118, 12911, 12913, 12917, 12923, 32768, 8713, 59, 32896, 8953, 824, 111, 116, 59, 32896, 8949, 824, 818, 12928, 12931, 12934, 59, 32768, 8713, 59, 32768, 8951, 59, 32768, 8950, 105, 512, 59, 118, 12942, 12944, 32768, 8716, 818, 12949, 12952, 12955, 59, 32768, 8716, 59, 32768, 8958, 59, 32768, 8957, 768, 97, 111, 114, 12964, 12992, 12999, 114, 1024, 59, 97, 115, 116, 12974, 12976, 12983, 12988, 32768, 8742, 108, 108, 101, 108, 59, 32768, 8742, 108, 59, 32896, 11005, 8421, 59, 32896, 8706, 824, 108, 105, 110, 116, 59, 32768, 10772, 768, 59, 99, 101, 13006, 13008, 13013, 32768, 8832, 117, 101, 59, 32768, 8928, 512, 59, 99, 13018, 13021, 32896, 10927, 824, 512, 59, 101, 13026, 13028, 32768, 8832, 113, 59, 32896, 10927, 824, 1024, 65, 97, 105, 116, 13042, 13047, 13066, 13077, 114, 114, 59, 32768, 8655, 114, 114, 768, 59, 99, 119, 13056, 13058, 13062, 32768, 8603, 59, 32896, 10547, 824, 59, 32896, 8605, 824, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8603, 114, 105, 512, 59, 101, 13084, 13086, 32768, 8939, 59, 32768, 8941, 1792, 99, 104, 105, 109, 112, 113, 117, 13104, 13128, 13151, 13169, 13174, 13179, 13194, 1024, 59, 99, 101, 114, 13113, 13115, 13120, 13124, 32768, 8833, 117, 101, 59, 32768, 8929, 59, 32896, 10928, 824, 59, 32896, 55349, 56515, 111, 114, 116, 1086, 13137, 0, 0, 13142, 105, 100, 59, 32768, 8740, 97, 114, 97, 108, 108, 101, 108, 59, 32768, 8742, 109, 512, 59, 101, 13157, 13159, 32768, 8769, 512, 59, 113, 13164, 13166, 32768, 8772, 59, 32768, 8772, 105, 100, 59, 32768, 8740, 97, 114, 59, 32768, 8742, 115, 117, 512, 98, 112, 13186, 13190, 101, 59, 32768, 8930, 101, 59, 32768, 8931, 768, 98, 99, 112, 13201, 13241, 13254, 1024, 59, 69, 101, 115, 13210, 13212, 13216, 13219, 32768, 8836, 59, 32896, 10949, 824, 59, 32768, 8840, 101, 116, 512, 59, 101, 13226, 13229, 32896, 8834, 8402, 113, 512, 59, 113, 13235, 13237, 32768, 8840, 59, 32896, 10949, 824, 99, 512, 59, 101, 13247, 13249, 32768, 8833, 113, 59, 32896, 10928, 824, 1024, 59, 69, 101, 115, 13263, 13265, 13269, 13272, 32768, 8837, 59, 32896, 10950, 824, 59, 32768, 8841, 101, 116, 512, 59, 101, 13279, 13282, 32896, 8835, 8402, 113, 512, 59, 113, 13288, 13290, 32768, 8841, 59, 32896, 10950, 824, 1024, 103, 105, 108, 114, 13303, 13307, 13315, 13319, 108, 59, 32768, 8825, 108, 100, 101, 33024, 241, 59, 32768, 241, 103, 59, 32768, 8824, 105, 97, 110, 103, 108, 101, 512, 108, 114, 13330, 13344, 101, 102, 116, 512, 59, 101, 13338, 13340, 32768, 8938, 113, 59, 32768, 8940, 105, 103, 104, 116, 512, 59, 101, 13353, 13355, 32768, 8939, 113, 59, 32768, 8941, 512, 59, 109, 13364, 13366, 32768, 957, 768, 59, 101, 115, 13373, 13375, 13380, 32768, 35, 114, 111, 59, 32768, 8470, 112, 59, 32768, 8199, 2304, 68, 72, 97, 100, 103, 105, 108, 114, 115, 13403, 13409, 13415, 13420, 13426, 13439, 13446, 13476, 13493, 97, 115, 104, 59, 32768, 8877, 97, 114, 114, 59, 32768, 10500, 112, 59, 32896, 8781, 8402, 97, 115, 104, 59, 32768, 8876, 512, 101, 116, 13431, 13435, 59, 32896, 8805, 8402, 59, 32896, 62, 8402, 110, 102, 105, 110, 59, 32768, 10718, 768, 65, 101, 116, 13453, 13458, 13462, 114, 114, 59, 32768, 10498, 59, 32896, 8804, 8402, 512, 59, 114, 13467, 13470, 32896, 60, 8402, 105, 101, 59, 32896, 8884, 8402, 512, 65, 116, 13481, 13486, 114, 114, 59, 32768, 10499, 114, 105, 101, 59, 32896, 8885, 8402, 105, 109, 59, 32896, 8764, 8402, 768, 65, 97, 110, 13506, 13511, 13532, 114, 114, 59, 32768, 8662, 114, 512, 104, 114, 13517, 13521, 107, 59, 32768, 10531, 512, 59, 111, 13526, 13528, 32768, 8598, 119, 59, 32768, 8598, 101, 97, 114, 59, 32768, 10535, 9252, 13576, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13579, 0, 13596, 13617, 13653, 13659, 13673, 13695, 13708, 0, 0, 13713, 13750, 0, 13788, 13794, 0, 13815, 13890, 13913, 13937, 13944, 59, 32768, 9416, 512, 99, 115, 13583, 13591, 117, 116, 101, 33024, 243, 59, 32768, 243, 116, 59, 32768, 8859, 512, 105, 121, 13600, 13613, 114, 512, 59, 99, 13606, 13608, 32768, 8858, 33024, 244, 59, 32768, 244, 59, 32768, 1086, 1280, 97, 98, 105, 111, 115, 13627, 13632, 13638, 13642, 13646, 115, 104, 59, 32768, 8861, 108, 97, 99, 59, 32768, 337, 118, 59, 32768, 10808, 116, 59, 32768, 8857, 111, 108, 100, 59, 32768, 10684, 108, 105, 103, 59, 32768, 339, 512, 99, 114, 13663, 13668, 105, 114, 59, 32768, 10687, 59, 32896, 55349, 56620, 1600, 13680, 0, 0, 13684, 0, 13692, 110, 59, 32768, 731, 97, 118, 101, 33024, 242, 59, 32768, 242, 59, 32768, 10689, 512, 98, 109, 13699, 13704, 97, 114, 59, 32768, 10677, 59, 32768, 937, 110, 116, 59, 32768, 8750, 1024, 97, 99, 105, 116, 13721, 13726, 13741, 13746, 114, 114, 59, 32768, 8634, 512, 105, 114, 13731, 13735, 114, 59, 32768, 10686, 111, 115, 115, 59, 32768, 10683, 110, 101, 59, 32768, 8254, 59, 32768, 10688, 768, 97, 101, 105, 13756, 13761, 13766, 99, 114, 59, 32768, 333, 103, 97, 59, 32768, 969, 768, 99, 100, 110, 13773, 13779, 13782, 114, 111, 110, 59, 32768, 959, 59, 32768, 10678, 117, 115, 59, 32768, 8854, 112, 102, 59, 32896, 55349, 56672, 768, 97, 101, 108, 13800, 13804, 13809, 114, 59, 32768, 10679, 114, 112, 59, 32768, 10681, 117, 115, 59, 32768, 8853, 1792, 59, 97, 100, 105, 111, 115, 118, 13829, 13831, 13836, 13869, 13875, 13879, 13886, 32768, 8744, 114, 114, 59, 32768, 8635, 1024, 59, 101, 102, 109, 13845, 13847, 13859, 13864, 32768, 10845, 114, 512, 59, 111, 13853, 13855, 32768, 8500, 102, 59, 32768, 8500, 33024, 170, 59, 32768, 170, 33024, 186, 59, 32768, 186, 103, 111, 102, 59, 32768, 8886, 114, 59, 32768, 10838, 108, 111, 112, 101, 59, 32768, 10839, 59, 32768, 10843, 768, 99, 108, 111, 13896, 13900, 13908, 114, 59, 32768, 8500, 97, 115, 104, 33024, 248, 59, 32768, 248, 108, 59, 32768, 8856, 105, 573, 13917, 13924, 100, 101, 33024, 245, 59, 32768, 245, 101, 115, 512, 59, 97, 13930, 13932, 32768, 8855, 115, 59, 32768, 10806, 109, 108, 33024, 246, 59, 32768, 246, 98, 97, 114, 59, 32768, 9021, 5426, 13972, 0, 14013, 0, 14017, 14053, 0, 14058, 14086, 0, 0, 14107, 14199, 0, 14202, 0, 0, 14229, 14425, 0, 14438, 114, 1024, 59, 97, 115, 116, 13981, 13983, 13997, 14009, 32768, 8741, 33280, 182, 59, 108, 13989, 13991, 32768, 182, 108, 101, 108, 59, 32768, 8741, 1082, 14003, 0, 0, 14007, 109, 59, 32768, 10995, 59, 32768, 11005, 59, 32768, 8706, 121, 59, 32768, 1087, 114, 1280, 99, 105, 109, 112, 116, 14028, 14033, 14038, 14043, 14046, 110, 116, 59, 32768, 37, 111, 100, 59, 32768, 46, 105, 108, 59, 32768, 8240, 59, 32768, 8869, 101, 110, 107, 59, 32768, 8241, 114, 59, 32896, 55349, 56621, 768, 105, 109, 111, 14064, 14074, 14080, 512, 59, 118, 14069, 14071, 32768, 966, 59, 32768, 981, 109, 97, 116, 59, 32768, 8499, 110, 101, 59, 32768, 9742, 768, 59, 116, 118, 14092, 14094, 14103, 32768, 960, 99, 104, 102, 111, 114, 107, 59, 32768, 8916, 59, 32768, 982, 512, 97, 117, 14111, 14132, 110, 512, 99, 107, 14117, 14128, 107, 512, 59, 104, 14123, 14125, 32768, 8463, 59, 32768, 8462, 118, 59, 32768, 8463, 115, 2304, 59, 97, 98, 99, 100, 101, 109, 115, 116, 14152, 14154, 14160, 14163, 14168, 14179, 14182, 14188, 14193, 32768, 43, 99, 105, 114, 59, 32768, 10787, 59, 32768, 8862, 105, 114, 59, 32768, 10786, 512, 111, 117, 14173, 14176, 59, 32768, 8724, 59, 32768, 10789, 59, 32768, 10866, 110, 33024, 177, 59, 32768, 177, 105, 109, 59, 32768, 10790, 119, 111, 59, 32768, 10791, 59, 32768, 177, 768, 105, 112, 117, 14208, 14216, 14221, 110, 116, 105, 110, 116, 59, 32768, 10773, 102, 59, 32896, 55349, 56673, 110, 100, 33024, 163, 59, 32768, 163, 2560, 59, 69, 97, 99, 101, 105, 110, 111, 115, 117, 14249, 14251, 14254, 14258, 14263, 14336, 14348, 14367, 14413, 14418, 32768, 8826, 59, 32768, 10931, 112, 59, 32768, 10935, 117, 101, 59, 32768, 8828, 512, 59, 99, 14268, 14270, 32768, 10927, 1536, 59, 97, 99, 101, 110, 115, 14283, 14285, 14293, 14302, 14306, 14331, 32768, 8826, 112, 112, 114, 111, 120, 59, 32768, 10935, 117, 114, 108, 121, 101, 113, 59, 32768, 8828, 113, 59, 32768, 10927, 768, 97, 101, 115, 14313, 14321, 14326, 112, 112, 114, 111, 120, 59, 32768, 10937, 113, 113, 59, 32768, 10933, 105, 109, 59, 32768, 8936, 105, 109, 59, 32768, 8830, 109, 101, 512, 59, 115, 14343, 14345, 32768, 8242, 59, 32768, 8473, 768, 69, 97, 115, 14355, 14358, 14362, 59, 32768, 10933, 112, 59, 32768, 10937, 105, 109, 59, 32768, 8936, 768, 100, 102, 112, 14374, 14377, 14402, 59, 32768, 8719, 768, 97, 108, 115, 14384, 14390, 14396, 108, 97, 114, 59, 32768, 9006, 105, 110, 101, 59, 32768, 8978, 117, 114, 102, 59, 32768, 8979, 512, 59, 116, 14407, 14409, 32768, 8733, 111, 59, 32768, 8733, 105, 109, 59, 32768, 8830, 114, 101, 108, 59, 32768, 8880, 512, 99, 105, 14429, 14434, 114, 59, 32896, 55349, 56517, 59, 32768, 968, 110, 99, 115, 112, 59, 32768, 8200, 1536, 102, 105, 111, 112, 115, 117, 14457, 14462, 14467, 14473, 14480, 14486, 114, 59, 32896, 55349, 56622, 110, 116, 59, 32768, 10764, 112, 102, 59, 32896, 55349, 56674, 114, 105, 109, 101, 59, 32768, 8279, 99, 114, 59, 32896, 55349, 56518, 768, 97, 101, 111, 14493, 14513, 14526, 116, 512, 101, 105, 14499, 14508, 114, 110, 105, 111, 110, 115, 59, 32768, 8461, 110, 116, 59, 32768, 10774, 115, 116, 512, 59, 101, 14520, 14522, 32768, 63, 113, 59, 32768, 8799, 116, 33024, 34, 59, 32768, 34, 5376, 65, 66, 72, 97, 98, 99, 100, 101, 102, 104, 105, 108, 109, 110, 111, 112, 114, 115, 116, 117, 120, 14575, 14597, 14603, 14608, 14775, 14829, 14865, 14901, 14943, 14966, 15000, 15139, 15159, 15176, 15182, 15236, 15261, 15267, 15309, 15352, 15360, 768, 97, 114, 116, 14582, 14587, 14591, 114, 114, 59, 32768, 8667, 114, 59, 32768, 8658, 97, 105, 108, 59, 32768, 10524, 97, 114, 114, 59, 32768, 10511, 97, 114, 59, 32768, 10596, 1792, 99, 100, 101, 110, 113, 114, 116, 14623, 14637, 14642, 14650, 14672, 14679, 14751, 512, 101, 117, 14628, 14632, 59, 32896, 8765, 817, 116, 101, 59, 32768, 341, 105, 99, 59, 32768, 8730, 109, 112, 116, 121, 118, 59, 32768, 10675, 103, 1024, 59, 100, 101, 108, 14660, 14662, 14665, 14668, 32768, 10217, 59, 32768, 10642, 59, 32768, 10661, 101, 59, 32768, 10217, 117, 111, 33024, 187, 59, 32768, 187, 114, 2816, 59, 97, 98, 99, 102, 104, 108, 112, 115, 116, 119, 14703, 14705, 14709, 14720, 14723, 14727, 14731, 14735, 14739, 14744, 14748, 32768, 8594, 112, 59, 32768, 10613, 512, 59, 102, 14714, 14716, 32768, 8677, 115, 59, 32768, 10528, 59, 32768, 10547, 115, 59, 32768, 10526, 107, 59, 32768, 8618, 112, 59, 32768, 8620, 108, 59, 32768, 10565, 105, 109, 59, 32768, 10612, 108, 59, 32768, 8611, 59, 32768, 8605, 512, 97, 105, 14756, 14761, 105, 108, 59, 32768, 10522, 111, 512, 59, 110, 14767, 14769, 32768, 8758, 97, 108, 115, 59, 32768, 8474, 768, 97, 98, 114, 14782, 14787, 14792, 114, 114, 59, 32768, 10509, 114, 107, 59, 32768, 10099, 512, 97, 107, 14797, 14809, 99, 512, 101, 107, 14803, 14806, 59, 32768, 125, 59, 32768, 93, 512, 101, 115, 14814, 14817, 59, 32768, 10636, 108, 512, 100, 117, 14823, 14826, 59, 32768, 10638, 59, 32768, 10640, 1024, 97, 101, 117, 121, 14838, 14844, 14858, 14862, 114, 111, 110, 59, 32768, 345, 512, 100, 105, 14849, 14854, 105, 108, 59, 32768, 343, 108, 59, 32768, 8969, 98, 59, 32768, 125, 59, 32768, 1088, 1024, 99, 108, 113, 115, 14874, 14878, 14885, 14897, 97, 59, 32768, 10551, 100, 104, 97, 114, 59, 32768, 10601, 117, 111, 512, 59, 114, 14892, 14894, 32768, 8221, 59, 32768, 8221, 104, 59, 32768, 8627, 768, 97, 99, 103, 14908, 14934, 14938, 108, 1024, 59, 105, 112, 115, 14918, 14920, 14925, 14931, 32768, 8476, 110, 101, 59, 32768, 8475, 97, 114, 116, 59, 32768, 8476, 59, 32768, 8477, 116, 59, 32768, 9645, 33024, 174, 59, 32768, 174, 768, 105, 108, 114, 14950, 14956, 14962, 115, 104, 116, 59, 32768, 10621, 111, 111, 114, 59, 32768, 8971, 59, 32896, 55349, 56623, 512, 97, 111, 14971, 14990, 114, 512, 100, 117, 14977, 14980, 59, 32768, 8641, 512, 59, 108, 14985, 14987, 32768, 8640, 59, 32768, 10604, 512, 59, 118, 14995, 14997, 32768, 961, 59, 32768, 1009, 768, 103, 110, 115, 15007, 15123, 15127, 104, 116, 1536, 97, 104, 108, 114, 115, 116, 15022, 15039, 15060, 15086, 15099, 15111, 114, 114, 111, 119, 512, 59, 116, 15031, 15033, 32768, 8594, 97, 105, 108, 59, 32768, 8611, 97, 114, 112, 111, 111, 110, 512, 100, 117, 15050, 15056, 111, 119, 110, 59, 32768, 8641, 112, 59, 32768, 8640, 101, 102, 116, 512, 97, 104, 15068, 15076, 114, 114, 111, 119, 115, 59, 32768, 8644, 97, 114, 112, 111, 111, 110, 115, 59, 32768, 8652, 105, 103, 104, 116, 97, 114, 114, 111, 119, 115, 59, 32768, 8649, 113, 117, 105, 103, 97, 114, 114, 111, 119, 59, 32768, 8605, 104, 114, 101, 101, 116, 105, 109, 101, 115, 59, 32768, 8908, 103, 59, 32768, 730, 105, 110, 103, 100, 111, 116, 115, 101, 113, 59, 32768, 8787, 768, 97, 104, 109, 15146, 15151, 15156, 114, 114, 59, 32768, 8644, 97, 114, 59, 32768, 8652, 59, 32768, 8207, 111, 117, 115, 116, 512, 59, 97, 15168, 15170, 32768, 9137, 99, 104, 101, 59, 32768, 9137, 109, 105, 100, 59, 32768, 10990, 1024, 97, 98, 112, 116, 15191, 15204, 15209, 15229, 512, 110, 114, 15196, 15200, 103, 59, 32768, 10221, 114, 59, 32768, 8702, 114, 107, 59, 32768, 10215, 768, 97, 102, 108, 15216, 15220, 15224, 114, 59, 32768, 10630, 59, 32896, 55349, 56675, 117, 115, 59, 32768, 10798, 105, 109, 101, 115, 59, 32768, 10805, 512, 97, 112, 15241, 15253, 114, 512, 59, 103, 15247, 15249, 32768, 41, 116, 59, 32768, 10644, 111, 108, 105, 110, 116, 59, 32768, 10770, 97, 114, 114, 59, 32768, 8649, 1024, 97, 99, 104, 113, 15276, 15282, 15287, 15290, 113, 117, 111, 59, 32768, 8250, 114, 59, 32896, 55349, 56519, 59, 32768, 8625, 512, 98, 117, 15295, 15298, 59, 32768, 93, 111, 512, 59, 114, 15304, 15306, 32768, 8217, 59, 32768, 8217, 768, 104, 105, 114, 15316, 15322, 15328, 114, 101, 101, 59, 32768, 8908, 109, 101, 115, 59, 32768, 8906, 105, 1024, 59, 101, 102, 108, 15338, 15340, 15343, 15346, 32768, 9657, 59, 32768, 8885, 59, 32768, 9656, 116, 114, 105, 59, 32768, 10702, 108, 117, 104, 97, 114, 59, 32768, 10600, 59, 32768, 8478, 6706, 15391, 15398, 15404, 15499, 15516, 15592, 0, 15606, 15660, 0, 0, 15752, 15758, 0, 15827, 15863, 15886, 16000, 16006, 16038, 16086, 0, 16467, 0, 0, 16506, 99, 117, 116, 101, 59, 32768, 347, 113, 117, 111, 59, 32768, 8218, 2560, 59, 69, 97, 99, 101, 105, 110, 112, 115, 121, 15424, 15426, 15429, 15441, 15446, 15458, 15463, 15482, 15490, 15495, 32768, 8827, 59, 32768, 10932, 833, 15434, 0, 15437, 59, 32768, 10936, 111, 110, 59, 32768, 353, 117, 101, 59, 32768, 8829, 512, 59, 100, 15451, 15453, 32768, 10928, 105, 108, 59, 32768, 351, 114, 99, 59, 32768, 349, 768, 69, 97, 115, 15470, 15473, 15477, 59, 32768, 10934, 112, 59, 32768, 10938, 105, 109, 59, 32768, 8937, 111, 108, 105, 110, 116, 59, 32768, 10771, 105, 109, 59, 32768, 8831, 59, 32768, 1089, 111, 116, 768, 59, 98, 101, 15507, 15509, 15512, 32768, 8901, 59, 32768, 8865, 59, 32768, 10854, 1792, 65, 97, 99, 109, 115, 116, 120, 15530, 15535, 15556, 15562, 15566, 15572, 15587, 114, 114, 59, 32768, 8664, 114, 512, 104, 114, 15541, 15545, 107, 59, 32768, 10533, 512, 59, 111, 15550, 15552, 32768, 8600, 119, 59, 32768, 8600, 116, 33024, 167, 59, 32768, 167, 105, 59, 32768, 59, 119, 97, 114, 59, 32768, 10537, 109, 512, 105, 110, 15578, 15584, 110, 117, 115, 59, 32768, 8726, 59, 32768, 8726, 116, 59, 32768, 10038, 114, 512, 59, 111, 15597, 15600, 32896, 55349, 56624, 119, 110, 59, 32768, 8994, 1024, 97, 99, 111, 121, 15614, 15619, 15632, 15654, 114, 112, 59, 32768, 9839, 512, 104, 121, 15624, 15629, 99, 121, 59, 32768, 1097, 59, 32768, 1096, 114, 116, 1086, 15640, 0, 0, 15645, 105, 100, 59, 32768, 8739, 97, 114, 97, 108, 108, 101, 108, 59, 32768, 8741, 33024, 173, 59, 32768, 173, 512, 103, 109, 15664, 15681, 109, 97, 768, 59, 102, 118, 15673, 15675, 15678, 32768, 963, 59, 32768, 962, 59, 32768, 962, 2048, 59, 100, 101, 103, 108, 110, 112, 114, 15698, 15700, 15705, 15715, 15725, 15735, 15739, 15745, 32768, 8764, 111, 116, 59, 32768, 10858, 512, 59, 113, 15710, 15712, 32768, 8771, 59, 32768, 8771, 512, 59, 69, 15720, 15722, 32768, 10910, 59, 32768, 10912, 512, 59, 69, 15730, 15732, 32768, 10909, 59, 32768, 10911, 101, 59, 32768, 8774, 108, 117, 115, 59, 32768, 10788, 97, 114, 114, 59, 32768, 10610, 97, 114, 114, 59, 32768, 8592, 1024, 97, 101, 105, 116, 15766, 15788, 15796, 15808, 512, 108, 115, 15771, 15783, 108, 115, 101, 116, 109, 105, 110, 117, 115, 59, 32768, 8726, 104, 112, 59, 32768, 10803, 112, 97, 114, 115, 108, 59, 32768, 10724, 512, 100, 108, 15801, 15804, 59, 32768, 8739, 101, 59, 32768, 8995, 512, 59, 101, 15813, 15815, 32768, 10922, 512, 59, 115, 15820, 15822, 32768, 10924, 59, 32896, 10924, 65024, 768, 102, 108, 112, 15833, 15839, 15857, 116, 99, 121, 59, 32768, 1100, 512, 59, 98, 15844, 15846, 32768, 47, 512, 59, 97, 15851, 15853, 32768, 10692, 114, 59, 32768, 9023, 102, 59, 32896, 55349, 56676, 97, 512, 100, 114, 15868, 15882, 101, 115, 512, 59, 117, 15875, 15877, 32768, 9824, 105, 116, 59, 32768, 9824, 59, 32768, 8741, 768, 99, 115, 117, 15892, 15921, 15977, 512, 97, 117, 15897, 15909, 112, 512, 59, 115, 15903, 15905, 32768, 8851, 59, 32896, 8851, 65024, 112, 512, 59, 115, 15915, 15917, 32768, 8852, 59, 32896, 8852, 65024, 117, 512, 98, 112, 15927, 15952, 768, 59, 101, 115, 15934, 15936, 15939, 32768, 8847, 59, 32768, 8849, 101, 116, 512, 59, 101, 15946, 15948, 32768, 8847, 113, 59, 32768, 8849, 768, 59, 101, 115, 15959, 15961, 15964, 32768, 8848, 59, 32768, 8850, 101, 116, 512, 59, 101, 15971, 15973, 32768, 8848, 113, 59, 32768, 8850, 768, 59, 97, 102, 15984, 15986, 15996, 32768, 9633, 114, 566, 15991, 15994, 59, 32768, 9633, 59, 32768, 9642, 59, 32768, 9642, 97, 114, 114, 59, 32768, 8594, 1024, 99, 101, 109, 116, 16014, 16019, 16025, 16031, 114, 59, 32896, 55349, 56520, 116, 109, 110, 59, 32768, 8726, 105, 108, 101, 59, 32768, 8995, 97, 114, 102, 59, 32768, 8902, 512, 97, 114, 16042, 16053, 114, 512, 59, 102, 16048, 16050, 32768, 9734, 59, 32768, 9733, 512, 97, 110, 16058, 16081, 105, 103, 104, 116, 512, 101, 112, 16067, 16076, 112, 115, 105, 108, 111, 110, 59, 32768, 1013, 104, 105, 59, 32768, 981, 115, 59, 32768, 175, 1280, 98, 99, 109, 110, 112, 16096, 16221, 16288, 16291, 16295, 2304, 59, 69, 100, 101, 109, 110, 112, 114, 115, 16115, 16117, 16120, 16125, 16137, 16143, 16154, 16160, 16166, 32768, 8834, 59, 32768, 10949, 111, 116, 59, 32768, 10941, 512, 59, 100, 16130, 16132, 32768, 8838, 111, 116, 59, 32768, 10947, 117, 108, 116, 59, 32768, 10945, 512, 69, 101, 16148, 16151, 59, 32768, 10955, 59, 32768, 8842, 108, 117, 115, 59, 32768, 10943, 97, 114, 114, 59, 32768, 10617, 768, 101, 105, 117, 16173, 16206, 16210, 116, 768, 59, 101, 110, 16181, 16183, 16194, 32768, 8834, 113, 512, 59, 113, 16189, 16191, 32768, 8838, 59, 32768, 10949, 101, 113, 512, 59, 113, 16201, 16203, 32768, 8842, 59, 32768, 10955, 109, 59, 32768, 10951, 512, 98, 112, 16215, 16218, 59, 32768, 10965, 59, 32768, 10963, 99, 1536, 59, 97, 99, 101, 110, 115, 16235, 16237, 16245, 16254, 16258, 16283, 32768, 8827, 112, 112, 114, 111, 120, 59, 32768, 10936, 117, 114, 108, 121, 101, 113, 59, 32768, 8829, 113, 59, 32768, 10928, 768, 97, 101, 115, 16265, 16273, 16278, 112, 112, 114, 111, 120, 59, 32768, 10938, 113, 113, 59, 32768, 10934, 105, 109, 59, 32768, 8937, 105, 109, 59, 32768, 8831, 59, 32768, 8721, 103, 59, 32768, 9834, 3328, 49, 50, 51, 59, 69, 100, 101, 104, 108, 109, 110, 112, 115, 16322, 16327, 16332, 16337, 16339, 16342, 16356, 16368, 16382, 16388, 16394, 16405, 16411, 33024, 185, 59, 32768, 185, 33024, 178, 59, 32768, 178, 33024, 179, 59, 32768, 179, 32768, 8835, 59, 32768, 10950, 512, 111, 115, 16347, 16351, 116, 59, 32768, 10942, 117, 98, 59, 32768, 10968, 512, 59, 100, 16361, 16363, 32768, 8839, 111, 116, 59, 32768, 10948, 115, 512, 111, 117, 16374, 16378, 108, 59, 32768, 10185, 98, 59, 32768, 10967, 97, 114, 114, 59, 32768, 10619, 117, 108, 116, 59, 32768, 10946, 512, 69, 101, 16399, 16402, 59, 32768, 10956, 59, 32768, 8843, 108, 117, 115, 59, 32768, 10944, 768, 101, 105, 117, 16418, 16451, 16455, 116, 768, 59, 101, 110, 16426, 16428, 16439, 32768, 8835, 113, 512, 59, 113, 16434, 16436, 32768, 8839, 59, 32768, 10950, 101, 113, 512, 59, 113, 16446, 16448, 32768, 8843, 59, 32768, 10956, 109, 59, 32768, 10952, 512, 98, 112, 16460, 16463, 59, 32768, 10964, 59, 32768, 10966, 768, 65, 97, 110, 16473, 16478, 16499, 114, 114, 59, 32768, 8665, 114, 512, 104, 114, 16484, 16488, 107, 59, 32768, 10534, 512, 59, 111, 16493, 16495, 32768, 8601, 119, 59, 32768, 8601, 119, 97, 114, 59, 32768, 10538, 108, 105, 103, 33024, 223, 59, 32768, 223, 5938, 16538, 16552, 16557, 16579, 16584, 16591, 0, 16596, 16692, 0, 0, 0, 0, 0, 16731, 16780, 0, 16787, 16908, 0, 0, 0, 16938, 1091, 16543, 0, 0, 16549, 103, 101, 116, 59, 32768, 8982, 59, 32768, 964, 114, 107, 59, 32768, 9140, 768, 97, 101, 121, 16563, 16569, 16575, 114, 111, 110, 59, 32768, 357, 100, 105, 108, 59, 32768, 355, 59, 32768, 1090, 111, 116, 59, 32768, 8411, 108, 114, 101, 99, 59, 32768, 8981, 114, 59, 32896, 55349, 56625, 1024, 101, 105, 107, 111, 16604, 16641, 16670, 16684, 835, 16609, 0, 16624, 101, 512, 52, 102, 16614, 16617, 59, 32768, 8756, 111, 114, 101, 59, 32768, 8756, 97, 768, 59, 115, 118, 16631, 16633, 16638, 32768, 952, 121, 109, 59, 32768, 977, 59, 32768, 977, 512, 99, 110, 16646, 16665, 107, 512, 97, 115, 16652, 16660, 112, 112, 114, 111, 120, 59, 32768, 8776, 105, 109, 59, 32768, 8764, 115, 112, 59, 32768, 8201, 512, 97, 115, 16675, 16679, 112, 59, 32768, 8776, 105, 109, 59, 32768, 8764, 114, 110, 33024, 254, 59, 32768, 254, 829, 16696, 16701, 16727, 100, 101, 59, 32768, 732, 101, 115, 33536, 215, 59, 98, 100, 16710, 16712, 16723, 32768, 215, 512, 59, 97, 16717, 16719, 32768, 8864, 114, 59, 32768, 10801, 59, 32768, 10800, 116, 59, 32768, 8749, 768, 101, 112, 115, 16737, 16741, 16775, 97, 59, 32768, 10536, 1024, 59, 98, 99, 102, 16750, 16752, 16757, 16762, 32768, 8868, 111, 116, 59, 32768, 9014, 105, 114, 59, 32768, 10993, 512, 59, 111, 16767, 16770, 32896, 55349, 56677, 114, 107, 59, 32768, 10970, 97, 59, 32768, 10537, 114, 105, 109, 101, 59, 32768, 8244, 768, 97, 105, 112, 16793, 16798, 16899, 100, 101, 59, 32768, 8482, 1792, 97, 100, 101, 109, 112, 115, 116, 16813, 16868, 16873, 16876, 16883, 16889, 16893, 110, 103, 108, 101, 1280, 59, 100, 108, 113, 114, 16828, 16830, 16836, 16850, 16853, 32768, 9653, 111, 119, 110, 59, 32768, 9663, 101, 102, 116, 512, 59, 101, 16844, 16846, 32768, 9667, 113, 59, 32768, 8884, 59, 32768, 8796, 105, 103, 104, 116, 512, 59, 101, 16862, 16864, 32768, 9657, 113, 59, 32768, 8885, 111, 116, 59, 32768, 9708, 59, 32768, 8796, 105, 110, 117, 115, 59, 32768, 10810, 108, 117, 115, 59, 32768, 10809, 98, 59, 32768, 10701, 105, 109, 101, 59, 32768, 10811, 101, 122, 105, 117, 109, 59, 32768, 9186, 768, 99, 104, 116, 16914, 16926, 16931, 512, 114, 121, 16919, 16923, 59, 32896, 55349, 56521, 59, 32768, 1094, 99, 121, 59, 32768, 1115, 114, 111, 107, 59, 32768, 359, 512, 105, 111, 16942, 16947, 120, 116, 59, 32768, 8812, 104, 101, 97, 100, 512, 108, 114, 16956, 16967, 101, 102, 116, 97, 114, 114, 111, 119, 59, 32768, 8606, 105, 103, 104, 116, 97, 114, 114, 111, 119, 59, 32768, 8608, 4608, 65, 72, 97, 98, 99, 100, 102, 103, 104, 108, 109, 111, 112, 114, 115, 116, 117, 119, 17016, 17021, 17026, 17043, 17057, 17072, 17095, 17110, 17119, 17139, 17172, 17187, 17202, 17290, 17330, 17336, 17365, 17381, 114, 114, 59, 32768, 8657, 97, 114, 59, 32768, 10595, 512, 99, 114, 17031, 17039, 117, 116, 101, 33024, 250, 59, 32768, 250, 114, 59, 32768, 8593, 114, 820, 17049, 0, 17053, 121, 59, 32768, 1118, 118, 101, 59, 32768, 365, 512, 105, 121, 17062, 17069, 114, 99, 33024, 251, 59, 32768, 251, 59, 32768, 1091, 768, 97, 98, 104, 17079, 17084, 17090, 114, 114, 59, 32768, 8645, 108, 97, 99, 59, 32768, 369, 97, 114, 59, 32768, 10606, 512, 105, 114, 17100, 17106, 115, 104, 116, 59, 32768, 10622, 59, 32896, 55349, 56626, 114, 97, 118, 101, 33024, 249, 59, 32768, 249, 562, 17123, 17135, 114, 512, 108, 114, 17128, 17131, 59, 32768, 8639, 59, 32768, 8638, 108, 107, 59, 32768, 9600, 512, 99, 116, 17144, 17167, 1088, 17150, 0, 0, 17163, 114, 110, 512, 59, 101, 17156, 17158, 32768, 8988, 114, 59, 32768, 8988, 111, 112, 59, 32768, 8975, 114, 105, 59, 32768, 9720, 512, 97, 108, 17177, 17182, 99, 114, 59, 32768, 363, 33024, 168, 59, 32768, 168, 512, 103, 112, 17192, 17197, 111, 110, 59, 32768, 371, 102, 59, 32896, 55349, 56678, 1536, 97, 100, 104, 108, 115, 117, 17215, 17222, 17233, 17257, 17262, 17280, 114, 114, 111, 119, 59, 32768, 8593, 111, 119, 110, 97, 114, 114, 111, 119, 59, 32768, 8597, 97, 114, 112, 111, 111, 110, 512, 108, 114, 17244, 17250, 101, 102, 116, 59, 32768, 8639, 105, 103, 104, 116, 59, 32768, 8638, 117, 115, 59, 32768, 8846, 105, 768, 59, 104, 108, 17270, 17272, 17275, 32768, 965, 59, 32768, 978, 111, 110, 59, 32768, 965, 112, 97, 114, 114, 111, 119, 115, 59, 32768, 8648, 768, 99, 105, 116, 17297, 17320, 17325, 1088, 17303, 0, 0, 17316, 114, 110, 512, 59, 101, 17309, 17311, 32768, 8989, 114, 59, 32768, 8989, 111, 112, 59, 32768, 8974, 110, 103, 59, 32768, 367, 114, 105, 59, 32768, 9721, 99, 114, 59, 32896, 55349, 56522, 768, 100, 105, 114, 17343, 17348, 17354, 111, 116, 59, 32768, 8944, 108, 100, 101, 59, 32768, 361, 105, 512, 59, 102, 17360, 17362, 32768, 9653, 59, 32768, 9652, 512, 97, 109, 17370, 17375, 114, 114, 59, 32768, 8648, 108, 33024, 252, 59, 32768, 252, 97, 110, 103, 108, 101, 59, 32768, 10663, 3840, 65, 66, 68, 97, 99, 100, 101, 102, 108, 110, 111, 112, 114, 115, 122, 17420, 17425, 17437, 17443, 17613, 17617, 17623, 17667, 17672, 17678, 17693, 17699, 17705, 17711, 17754, 114, 114, 59, 32768, 8661, 97, 114, 512, 59, 118, 17432, 17434, 32768, 10984, 59, 32768, 10985, 97, 115, 104, 59, 32768, 8872, 512, 110, 114, 17448, 17454, 103, 114, 116, 59, 32768, 10652, 1792, 101, 107, 110, 112, 114, 115, 116, 17469, 17478, 17485, 17494, 17515, 17526, 17578, 112, 115, 105, 108, 111, 110, 59, 32768, 1013, 97, 112, 112, 97, 59, 32768, 1008, 111, 116, 104, 105, 110, 103, 59, 32768, 8709, 768, 104, 105, 114, 17501, 17505, 17508, 105, 59, 32768, 981, 59, 32768, 982, 111, 112, 116, 111, 59, 32768, 8733, 512, 59, 104, 17520, 17522, 32768, 8597, 111, 59, 32768, 1009, 512, 105, 117, 17531, 17537, 103, 109, 97, 59, 32768, 962, 512, 98, 112, 17542, 17560, 115, 101, 116, 110, 101, 113, 512, 59, 113, 17553, 17556, 32896, 8842, 65024, 59, 32896, 10955, 65024, 115, 101, 116, 110, 101, 113, 512, 59, 113, 17571, 17574, 32896, 8843, 65024, 59, 32896, 10956, 65024, 512, 104, 114, 17583, 17589, 101, 116, 97, 59, 32768, 977, 105, 97, 110, 103, 108, 101, 512, 108, 114, 17600, 17606, 101, 102, 116, 59, 32768, 8882, 105, 103, 104, 116, 59, 32768, 8883, 121, 59, 32768, 1074, 97, 115, 104, 59, 32768, 8866, 768, 101, 108, 114, 17630, 17648, 17654, 768, 59, 98, 101, 17637, 17639, 17644, 32768, 8744, 97, 114, 59, 32768, 8891, 113, 59, 32768, 8794, 108, 105, 112, 59, 32768, 8942, 512, 98, 116, 17659, 17664, 97, 114, 59, 32768, 124, 59, 32768, 124, 114, 59, 32896, 55349, 56627, 116, 114, 105, 59, 32768, 8882, 115, 117, 512, 98, 112, 17685, 17689, 59, 32896, 8834, 8402, 59, 32896, 8835, 8402, 112, 102, 59, 32896, 55349, 56679, 114, 111, 112, 59, 32768, 8733, 116, 114, 105, 59, 32768, 8883, 512, 99, 117, 17716, 17721, 114, 59, 32896, 55349, 56523, 512, 98, 112, 17726, 17740, 110, 512, 69, 101, 17732, 17736, 59, 32896, 10955, 65024, 59, 32896, 8842, 65024, 110, 512, 69, 101, 17746, 17750, 59, 32896, 10956, 65024, 59, 32896, 8843, 65024, 105, 103, 122, 97, 103, 59, 32768, 10650, 1792, 99, 101, 102, 111, 112, 114, 115, 17777, 17783, 17815, 17820, 17826, 17829, 17842, 105, 114, 99, 59, 32768, 373, 512, 100, 105, 17788, 17809, 512, 98, 103, 17793, 17798, 97, 114, 59, 32768, 10847, 101, 512, 59, 113, 17804, 17806, 32768, 8743, 59, 32768, 8793, 101, 114, 112, 59, 32768, 8472, 114, 59, 32896, 55349, 56628, 112, 102, 59, 32896, 55349, 56680, 59, 32768, 8472, 512, 59, 101, 17834, 17836, 32768, 8768, 97, 116, 104, 59, 32768, 8768, 99, 114, 59, 32896, 55349, 56524, 5428, 17871, 17891, 0, 17897, 0, 17902, 17917, 0, 0, 17920, 17935, 17940, 17945, 0, 0, 17977, 17992, 0, 18008, 18024, 18029, 768, 97, 105, 117, 17877, 17881, 17886, 112, 59, 32768, 8898, 114, 99, 59, 32768, 9711, 112, 59, 32768, 8899, 116, 114, 105, 59, 32768, 9661, 114, 59, 32896, 55349, 56629, 512, 65, 97, 17906, 17911, 114, 114, 59, 32768, 10234, 114, 114, 59, 32768, 10231, 59, 32768, 958, 512, 65, 97, 17924, 17929, 114, 114, 59, 32768, 10232, 114, 114, 59, 32768, 10229, 97, 112, 59, 32768, 10236, 105, 115, 59, 32768, 8955, 768, 100, 112, 116, 17951, 17956, 17970, 111, 116, 59, 32768, 10752, 512, 102, 108, 17961, 17965, 59, 32896, 55349, 56681, 117, 115, 59, 32768, 10753, 105, 109, 101, 59, 32768, 10754, 512, 65, 97, 17981, 17986, 114, 114, 59, 32768, 10233, 114, 114, 59, 32768, 10230, 512, 99, 113, 17996, 18001, 114, 59, 32896, 55349, 56525, 99, 117, 112, 59, 32768, 10758, 512, 112, 116, 18012, 18018, 108, 117, 115, 59, 32768, 10756, 114, 105, 59, 32768, 9651, 101, 101, 59, 32768, 8897, 101, 100, 103, 101, 59, 32768, 8896, 2048, 97, 99, 101, 102, 105, 111, 115, 117, 18052, 18068, 18081, 18087, 18092, 18097, 18103, 18109, 99, 512, 117, 121, 18058, 18065, 116, 101, 33024, 253, 59, 32768, 253, 59, 32768, 1103, 512, 105, 121, 18073, 18078, 114, 99, 59, 32768, 375, 59, 32768, 1099, 110, 33024, 165, 59, 32768, 165, 114, 59, 32896, 55349, 56630, 99, 121, 59, 32768, 1111, 112, 102, 59, 32896, 55349, 56682, 99, 114, 59, 32896, 55349, 56526, 512, 99, 109, 18114, 18118, 121, 59, 32768, 1102, 108, 33024, 255, 59, 32768, 255, 2560, 97, 99, 100, 101, 102, 104, 105, 111, 115, 119, 18145, 18152, 18166, 18171, 18186, 18191, 18196, 18204, 18210, 18216, 99, 117, 116, 101, 59, 32768, 378, 512, 97, 121, 18157, 18163, 114, 111, 110, 59, 32768, 382, 59, 32768, 1079, 111, 116, 59, 32768, 380, 512, 101, 116, 18176, 18182, 116, 114, 102, 59, 32768, 8488, 97, 59, 32768, 950, 114, 59, 32896, 55349, 56631, 99, 121, 59, 32768, 1078, 103, 114, 97, 114, 114, 59, 32768, 8669, 112, 102, 59, 32896, 55349, 56683, 99, 114, 59, 32896, 55349, 56527, 512, 106, 110, 18221, 18224, 59, 32768, 8205, 106, 59, 32768, 8204]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Generated using scripts/write-decode-map.ts\n// prettier-ignore\nexports.default = new Uint16Array([1024, 97, 103, 108, 113, 9, 23, 27, 31, 1086, 15, 0, 0, 19, 112, 59, 32768, 38, 111, 115, 59, 32768, 39, 116, 59, 32768, 62, 116, 59, 32768, 60, 117, 111, 116, 59, 32768, 34]);\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseFeed = exports.FeedHandler = exports.getFeed = void 0;\nvar domhandler_1 = __importDefault(require(\"domhandler\"));\nvar domutils_1 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_1.getFeed; } });\nvar Parser_1 = require(\"./Parser\");\n/** @deprecated Handler is no longer necessary; use `getFeed` or `parseFeed` instead. */\nvar FeedHandler = /** @class */ (function (_super) {\n __extends(FeedHandler, _super);\n /**\n *\n * @param callback\n * @param options\n */\n function FeedHandler(callback, options) {\n var _this = this;\n if (typeof callback === \"object\") {\n callback = undefined;\n options = callback;\n }\n _this = _super.call(this, callback, options) || this;\n return _this;\n }\n FeedHandler.prototype.onend = function () {\n var feed = (0, domutils_1.getFeed)(this.dom);\n if (feed) {\n this.feed = feed;\n this.handleCallback(null);\n }\n else {\n this.handleCallback(new Error(\"couldn't find root of feed\"));\n }\n };\n return FeedHandler;\n}(domhandler_1.default));\nexports.FeedHandler = FeedHandler;\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options) {\n if (options === void 0) { options = { xmlMode: true }; }\n var handler = new domhandler_1.default(null, options);\n new Parser_1.Parser(handler, options).end(feed);\n return (0, domutils_1.getFeed)(handler.dom);\n}\nexports.parseFeed = parseFeed;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.hasChildren = exports.isDocument = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = void 0;\n__exportStar(require(\"./stringify\"), exports);\n__exportStar(require(\"./traversal\"), exports);\n__exportStar(require(\"./manipulation\"), exports);\n__exportStar(require(\"./querying\"), exports);\n__exportStar(require(\"./legacy\"), exports);\n__exportStar(require(\"./helpers\"), exports);\n__exportStar(require(\"./feeds\"), exports);\n/** @deprecated Use these methods from `domhandler` directly. */\nvar domhandler_1 = require(\"domhandler\");\nObject.defineProperty(exports, \"isTag\", { enumerable: true, get: function () { return domhandler_1.isTag; } });\nObject.defineProperty(exports, \"isCDATA\", { enumerable: true, get: function () { return domhandler_1.isCDATA; } });\nObject.defineProperty(exports, \"isText\", { enumerable: true, get: function () { return domhandler_1.isText; } });\nObject.defineProperty(exports, \"isComment\", { enumerable: true, get: function () { return domhandler_1.isComment; } });\nObject.defineProperty(exports, \"isDocument\", { enumerable: true, get: function () { return domhandler_1.isDocument; } });\nObject.defineProperty(exports, \"hasChildren\", { enumerable: true, get: function () { return domhandler_1.hasChildren; } });\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.innerText = exports.textContent = exports.getText = exports.getInnerHTML = exports.getOuterHTML = void 0;\nvar domhandler_1 = require(\"domhandler\");\nvar dom_serializer_1 = __importDefault(require(\"dom-serializer\"));\nvar domelementtype_1 = require(\"domelementtype\");\n/**\n * @param node Node to get the outer HTML of.\n * @param options Options for serialization.\n * @deprecated Use the `dom-serializer` module directly.\n * @returns `node`'s outer HTML.\n */\nfunction getOuterHTML(node, options) {\n return (0, dom_serializer_1.default)(node, options);\n}\nexports.getOuterHTML = getOuterHTML;\n/**\n * @param node Node to get the inner HTML of.\n * @param options Options for serialization.\n * @deprecated Use the `dom-serializer` module directly.\n * @returns `node`'s inner HTML.\n */\nfunction getInnerHTML(node, options) {\n return (0, domhandler_1.hasChildren)(node)\n ? node.children.map(function (node) { return getOuterHTML(node, options); }).join(\"\")\n : \"\";\n}\nexports.getInnerHTML = getInnerHTML;\n/**\n * Get a node's inner text. Same as `textContent`, but inserts newlines for `
` tags.\n *\n * @deprecated Use `textContent` instead.\n * @param node Node to get the inner text of.\n * @returns `node`'s inner text.\n */\nfunction getText(node) {\n if (Array.isArray(node))\n return node.map(getText).join(\"\");\n if ((0, domhandler_1.isTag)(node))\n return node.name === \"br\" ? \"\\n\" : getText(node.children);\n if ((0, domhandler_1.isCDATA)(node))\n return getText(node.children);\n if ((0, domhandler_1.isText)(node))\n return node.data;\n return \"\";\n}\nexports.getText = getText;\n/**\n * Get a node's text content.\n *\n * @param node Node to get the text content of.\n * @returns `node`'s text content.\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent}\n */\nfunction textContent(node) {\n if (Array.isArray(node))\n return node.map(textContent).join(\"\");\n if ((0, domhandler_1.hasChildren)(node) && !(0, domhandler_1.isComment)(node)) {\n return textContent(node.children);\n }\n if ((0, domhandler_1.isText)(node))\n return node.data;\n return \"\";\n}\nexports.textContent = textContent;\n/**\n * Get a node's inner text.\n *\n * @param node Node to get the inner text of.\n * @returns `node`'s inner text.\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText}\n */\nfunction innerText(node) {\n if (Array.isArray(node))\n return node.map(innerText).join(\"\");\n if ((0, domhandler_1.hasChildren)(node) && (node.type === domelementtype_1.ElementType.Tag || (0, domhandler_1.isCDATA)(node))) {\n return innerText(node.children);\n }\n if ((0, domhandler_1.isText)(node))\n return node.data;\n return \"\";\n}\nexports.innerText = innerText;\n","\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * Module dependencies\n */\nvar ElementType = __importStar(require(\"domelementtype\"));\nvar entities_1 = require(\"entities\");\n/**\n * Mixed-case SVG and MathML tags & attributes\n * recognized by the HTML parser.\n *\n * @see https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign\n */\nvar foreignNames_1 = require(\"./foreignNames\");\nvar unencodedElements = new Set([\n \"style\",\n \"script\",\n \"xmp\",\n \"iframe\",\n \"noembed\",\n \"noframes\",\n \"plaintext\",\n \"noscript\",\n]);\n/**\n * Format attributes\n */\nfunction formatAttributes(attributes, opts) {\n if (!attributes)\n return;\n return Object.keys(attributes)\n .map(function (key) {\n var _a, _b;\n var value = (_a = attributes[key]) !== null && _a !== void 0 ? _a : \"\";\n if (opts.xmlMode === \"foreign\") {\n /* Fix up mixed-case attribute names */\n key = (_b = foreignNames_1.attributeNames.get(key)) !== null && _b !== void 0 ? _b : key;\n }\n if (!opts.emptyAttrs && !opts.xmlMode && value === \"\") {\n return key;\n }\n return key + \"=\\\"\" + (opts.decodeEntities !== false\n ? entities_1.encodeXML(value)\n : value.replace(/\"/g, \""\")) + \"\\\"\";\n })\n .join(\" \");\n}\n/**\n * Self-enclosing tags\n */\nvar singleTag = new Set([\n \"area\",\n \"base\",\n \"basefont\",\n \"br\",\n \"col\",\n \"command\",\n \"embed\",\n \"frame\",\n \"hr\",\n \"img\",\n \"input\",\n \"isindex\",\n \"keygen\",\n \"link\",\n \"meta\",\n \"param\",\n \"source\",\n \"track\",\n \"wbr\",\n]);\n/**\n * Renders a DOM node or an array of DOM nodes to a string.\n *\n * Can be thought of as the equivalent of the `outerHTML` of the passed node(s).\n *\n * @param node Node to be rendered.\n * @param options Changes serialization behavior\n */\nfunction render(node, options) {\n if (options === void 0) { options = {}; }\n var nodes = \"length\" in node ? node : [node];\n var output = \"\";\n for (var i = 0; i < nodes.length; i++) {\n output += renderNode(nodes[i], options);\n }\n return output;\n}\nexports.default = render;\nfunction renderNode(node, options) {\n switch (node.type) {\n case ElementType.Root:\n return render(node.children, options);\n case ElementType.Directive:\n case ElementType.Doctype:\n return renderDirective(node);\n case ElementType.Comment:\n return renderComment(node);\n case ElementType.CDATA:\n return renderCdata(node);\n case ElementType.Script:\n case ElementType.Style:\n case ElementType.Tag:\n return renderTag(node, options);\n case ElementType.Text:\n return renderText(node, options);\n }\n}\nvar foreignModeIntegrationPoints = new Set([\n \"mi\",\n \"mo\",\n \"mn\",\n \"ms\",\n \"mtext\",\n \"annotation-xml\",\n \"foreignObject\",\n \"desc\",\n \"title\",\n]);\nvar foreignElements = new Set([\"svg\", \"math\"]);\nfunction renderTag(elem, opts) {\n var _a;\n // Handle SVG / MathML in HTML\n if (opts.xmlMode === \"foreign\") {\n /* Fix up mixed-case element names */\n elem.name = (_a = foreignNames_1.elementNames.get(elem.name)) !== null && _a !== void 0 ? _a : elem.name;\n /* Exit foreign mode at integration points */\n if (elem.parent &&\n foreignModeIntegrationPoints.has(elem.parent.name)) {\n opts = __assign(__assign({}, opts), { xmlMode: false });\n }\n }\n if (!opts.xmlMode && foreignElements.has(elem.name)) {\n opts = __assign(__assign({}, opts), { xmlMode: \"foreign\" });\n }\n var tag = \"<\" + elem.name;\n var attribs = formatAttributes(elem.attribs, opts);\n if (attribs) {\n tag += \" \" + attribs;\n }\n if (elem.children.length === 0 &&\n (opts.xmlMode\n ? // In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags\n opts.selfClosingTags !== false\n : // User explicitly asked for self-closing tags, even in HTML mode\n opts.selfClosingTags && singleTag.has(elem.name))) {\n if (!opts.xmlMode)\n tag += \" \";\n tag += \"/>\";\n }\n else {\n tag += \">\";\n if (elem.children.length > 0) {\n tag += render(elem.children, opts);\n }\n if (opts.xmlMode || !singleTag.has(elem.name)) {\n tag += \"\";\n }\n }\n return tag;\n}\nfunction renderDirective(elem) {\n return \"<\" + elem.data + \">\";\n}\nfunction renderText(elem, opts) {\n var data = elem.data || \"\";\n // If entities weren't decoded, no need to encode them back\n if (opts.decodeEntities !== false &&\n !(!opts.xmlMode &&\n elem.parent &&\n unencodedElements.has(elem.parent.name))) {\n data = entities_1.encodeXML(data);\n }\n return data;\n}\nfunction renderCdata(elem) {\n return \"\";\n}\nfunction renderComment(elem) {\n return \"\";\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.attributeNames = exports.elementNames = void 0;\nexports.elementNames = new Map([\n [\"altglyph\", \"altGlyph\"],\n [\"altglyphdef\", \"altGlyphDef\"],\n [\"altglyphitem\", \"altGlyphItem\"],\n [\"animatecolor\", \"animateColor\"],\n [\"animatemotion\", \"animateMotion\"],\n [\"animatetransform\", \"animateTransform\"],\n [\"clippath\", \"clipPath\"],\n [\"feblend\", \"feBlend\"],\n [\"fecolormatrix\", \"feColorMatrix\"],\n [\"fecomponenttransfer\", \"feComponentTransfer\"],\n [\"fecomposite\", \"feComposite\"],\n [\"feconvolvematrix\", \"feConvolveMatrix\"],\n [\"fediffuselighting\", \"feDiffuseLighting\"],\n [\"fedisplacementmap\", \"feDisplacementMap\"],\n [\"fedistantlight\", \"feDistantLight\"],\n [\"fedropshadow\", \"feDropShadow\"],\n [\"feflood\", \"feFlood\"],\n [\"fefunca\", \"feFuncA\"],\n [\"fefuncb\", \"feFuncB\"],\n [\"fefuncg\", \"feFuncG\"],\n [\"fefuncr\", \"feFuncR\"],\n [\"fegaussianblur\", \"feGaussianBlur\"],\n [\"feimage\", \"feImage\"],\n [\"femerge\", \"feMerge\"],\n [\"femergenode\", \"feMergeNode\"],\n [\"femorphology\", \"feMorphology\"],\n [\"feoffset\", \"feOffset\"],\n [\"fepointlight\", \"fePointLight\"],\n [\"fespecularlighting\", \"feSpecularLighting\"],\n [\"fespotlight\", \"feSpotLight\"],\n [\"fetile\", \"feTile\"],\n [\"feturbulence\", \"feTurbulence\"],\n [\"foreignobject\", \"foreignObject\"],\n [\"glyphref\", \"glyphRef\"],\n [\"lineargradient\", \"linearGradient\"],\n [\"radialgradient\", \"radialGradient\"],\n [\"textpath\", \"textPath\"],\n]);\nexports.attributeNames = new Map([\n [\"definitionurl\", \"definitionURL\"],\n [\"attributename\", \"attributeName\"],\n [\"attributetype\", \"attributeType\"],\n [\"basefrequency\", \"baseFrequency\"],\n [\"baseprofile\", \"baseProfile\"],\n [\"calcmode\", \"calcMode\"],\n [\"clippathunits\", \"clipPathUnits\"],\n [\"diffuseconstant\", \"diffuseConstant\"],\n [\"edgemode\", \"edgeMode\"],\n [\"filterunits\", \"filterUnits\"],\n [\"glyphref\", \"glyphRef\"],\n [\"gradienttransform\", \"gradientTransform\"],\n [\"gradientunits\", \"gradientUnits\"],\n [\"kernelmatrix\", \"kernelMatrix\"],\n [\"kernelunitlength\", \"kernelUnitLength\"],\n [\"keypoints\", \"keyPoints\"],\n [\"keysplines\", \"keySplines\"],\n [\"keytimes\", \"keyTimes\"],\n [\"lengthadjust\", \"lengthAdjust\"],\n [\"limitingconeangle\", \"limitingConeAngle\"],\n [\"markerheight\", \"markerHeight\"],\n [\"markerunits\", \"markerUnits\"],\n [\"markerwidth\", \"markerWidth\"],\n [\"maskcontentunits\", \"maskContentUnits\"],\n [\"maskunits\", \"maskUnits\"],\n [\"numoctaves\", \"numOctaves\"],\n [\"pathlength\", \"pathLength\"],\n [\"patterncontentunits\", \"patternContentUnits\"],\n [\"patterntransform\", \"patternTransform\"],\n [\"patternunits\", \"patternUnits\"],\n [\"pointsatx\", \"pointsAtX\"],\n [\"pointsaty\", \"pointsAtY\"],\n [\"pointsatz\", \"pointsAtZ\"],\n [\"preservealpha\", \"preserveAlpha\"],\n [\"preserveaspectratio\", \"preserveAspectRatio\"],\n [\"primitiveunits\", \"primitiveUnits\"],\n [\"refx\", \"refX\"],\n [\"refy\", \"refY\"],\n [\"repeatcount\", \"repeatCount\"],\n [\"repeatdur\", \"repeatDur\"],\n [\"requiredextensions\", \"requiredExtensions\"],\n [\"requiredfeatures\", \"requiredFeatures\"],\n [\"specularconstant\", \"specularConstant\"],\n [\"specularexponent\", \"specularExponent\"],\n [\"spreadmethod\", \"spreadMethod\"],\n [\"startoffset\", \"startOffset\"],\n [\"stddeviation\", \"stdDeviation\"],\n [\"stitchtiles\", \"stitchTiles\"],\n [\"surfacescale\", \"surfaceScale\"],\n [\"systemlanguage\", \"systemLanguage\"],\n [\"tablevalues\", \"tableValues\"],\n [\"targetx\", \"targetX\"],\n [\"targety\", \"targetY\"],\n [\"textlength\", \"textLength\"],\n [\"viewbox\", \"viewBox\"],\n [\"viewtarget\", \"viewTarget\"],\n [\"xchannelselector\", \"xChannelSelector\"],\n [\"ychannelselector\", \"yChannelSelector\"],\n [\"zoomandpan\", \"zoomAndPan\"],\n]);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.encodeHTML5 = exports.encodeHTML4 = exports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = void 0;\nvar decode_1 = require(\"./decode\");\nvar encode_1 = require(\"./encode\");\n/**\n * Decodes a string with entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeXML` or `decodeHTML` directly.\n */\nfunction decode(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTML)(data);\n}\nexports.decode = decode;\n/**\n * Decodes a string with entities. Does not allow missing trailing semicolons for entities.\n *\n * @param data String to decode.\n * @param level Optional level to decode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `decodeHTMLStrict` or `decodeXML` directly.\n */\nfunction decodeStrict(data, level) {\n return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTMLStrict)(data);\n}\nexports.decodeStrict = decodeStrict;\n/**\n * Encodes a string with entities.\n *\n * @param data String to encode.\n * @param level Optional level to encode at. 0 = XML, 1 = HTML. Default is 0.\n * @deprecated Use `encodeHTML`, `encodeXML` or `encodeNonAsciiHTML` directly.\n */\nfunction encode(data, level) {\n return (!level || level <= 0 ? encode_1.encodeXML : encode_1.encodeHTML)(data);\n}\nexports.encode = encode;\nvar encode_2 = require(\"./encode\");\nObject.defineProperty(exports, \"encodeXML\", { enumerable: true, get: function () { return encode_2.encodeXML; } });\nObject.defineProperty(exports, \"encodeHTML\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeNonAsciiHTML\", { enumerable: true, get: function () { return encode_2.encodeNonAsciiHTML; } });\nObject.defineProperty(exports, \"escape\", { enumerable: true, get: function () { return encode_2.escape; } });\nObject.defineProperty(exports, \"escapeUTF8\", { enumerable: true, get: function () { return encode_2.escapeUTF8; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"encodeHTML4\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nObject.defineProperty(exports, \"encodeHTML5\", { enumerable: true, get: function () { return encode_2.encodeHTML; } });\nvar decode_2 = require(\"./decode\");\nObject.defineProperty(exports, \"decodeXML\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\nObject.defineProperty(exports, \"decodeHTML\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTMLStrict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\n// Legacy aliases (deprecated)\nObject.defineProperty(exports, \"decodeHTML4\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML5\", { enumerable: true, get: function () { return decode_2.decodeHTML; } });\nObject.defineProperty(exports, \"decodeHTML4Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeHTML5Strict\", { enumerable: true, get: function () { return decode_2.decodeHTMLStrict; } });\nObject.defineProperty(exports, \"decodeXMLStrict\", { enumerable: true, get: function () { return decode_2.decodeXML; } });\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.decodeHTML = exports.decodeHTMLStrict = exports.decodeXML = void 0;\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar legacy_json_1 = __importDefault(require(\"./maps/legacy.json\"));\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar decode_codepoint_1 = __importDefault(require(\"./decode_codepoint\"));\nvar strictEntityRe = /&(?:[a-zA-Z0-9]+|#[xX][\\da-fA-F]+|#\\d+);/g;\nexports.decodeXML = getStrictDecoder(xml_json_1.default);\nexports.decodeHTMLStrict = getStrictDecoder(entities_json_1.default);\nfunction getStrictDecoder(map) {\n var replace = getReplacer(map);\n return function (str) { return String(str).replace(strictEntityRe, replace); };\n}\nvar sorter = function (a, b) { return (a < b ? 1 : -1); };\nexports.decodeHTML = (function () {\n var legacy = Object.keys(legacy_json_1.default).sort(sorter);\n var keys = Object.keys(entities_json_1.default).sort(sorter);\n for (var i = 0, j = 0; i < keys.length; i++) {\n if (legacy[j] === keys[i]) {\n keys[i] += \";?\";\n j++;\n }\n else {\n keys[i] += \";\";\n }\n }\n var re = new RegExp(\"&(?:\" + keys.join(\"|\") + \"|#[xX][\\\\da-fA-F]+;?|#\\\\d+;?)\", \"g\");\n var replace = getReplacer(entities_json_1.default);\n function replacer(str) {\n if (str.substr(-1) !== \";\")\n str += \";\";\n return replace(str);\n }\n // TODO consider creating a merged map\n return function (str) { return String(str).replace(re, replacer); };\n})();\nfunction getReplacer(map) {\n return function replace(str) {\n if (str.charAt(1) === \"#\") {\n var secondChar = str.charAt(2);\n if (secondChar === \"X\" || secondChar === \"x\") {\n return decode_codepoint_1.default(parseInt(str.substr(3), 16));\n }\n return decode_codepoint_1.default(parseInt(str.substr(2), 10));\n }\n // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing\n return map[str.slice(1, -1)] || str;\n };\n}\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Abreve\":\"Ă\",\"abreve\":\"ă\",\"ac\":\"∾\",\"acd\":\"∿\",\"acE\":\"∾̳\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"Acy\":\"А\",\"acy\":\"а\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"af\":\"⁡\",\"Afr\":\"𝔄\",\"afr\":\"𝔞\",\"Agrave\":\"À\",\"agrave\":\"à\",\"alefsym\":\"ℵ\",\"aleph\":\"ℵ\",\"Alpha\":\"Α\",\"alpha\":\"α\",\"Amacr\":\"Ā\",\"amacr\":\"ā\",\"amalg\":\"⨿\",\"amp\":\"&\",\"AMP\":\"&\",\"andand\":\"⩕\",\"And\":\"⩓\",\"and\":\"∧\",\"andd\":\"⩜\",\"andslope\":\"⩘\",\"andv\":\"⩚\",\"ang\":\"∠\",\"ange\":\"⦤\",\"angle\":\"∠\",\"angmsdaa\":\"⦨\",\"angmsdab\":\"⦩\",\"angmsdac\":\"⦪\",\"angmsdad\":\"⦫\",\"angmsdae\":\"⦬\",\"angmsdaf\":\"⦭\",\"angmsdag\":\"⦮\",\"angmsdah\":\"⦯\",\"angmsd\":\"∡\",\"angrt\":\"∟\",\"angrtvb\":\"⊾\",\"angrtvbd\":\"⦝\",\"angsph\":\"∢\",\"angst\":\"Å\",\"angzarr\":\"⍼\",\"Aogon\":\"Ą\",\"aogon\":\"ą\",\"Aopf\":\"𝔸\",\"aopf\":\"𝕒\",\"apacir\":\"⩯\",\"ap\":\"≈\",\"apE\":\"⩰\",\"ape\":\"≊\",\"apid\":\"≋\",\"apos\":\"'\",\"ApplyFunction\":\"⁡\",\"approx\":\"≈\",\"approxeq\":\"≊\",\"Aring\":\"Å\",\"aring\":\"å\",\"Ascr\":\"𝒜\",\"ascr\":\"𝒶\",\"Assign\":\"≔\",\"ast\":\"*\",\"asymp\":\"≈\",\"asympeq\":\"≍\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"awconint\":\"∳\",\"awint\":\"⨑\",\"backcong\":\"≌\",\"backepsilon\":\"϶\",\"backprime\":\"‵\",\"backsim\":\"∽\",\"backsimeq\":\"⋍\",\"Backslash\":\"∖\",\"Barv\":\"⫧\",\"barvee\":\"⊽\",\"barwed\":\"⌅\",\"Barwed\":\"⌆\",\"barwedge\":\"⌅\",\"bbrk\":\"⎵\",\"bbrktbrk\":\"⎶\",\"bcong\":\"≌\",\"Bcy\":\"Б\",\"bcy\":\"б\",\"bdquo\":\"„\",\"becaus\":\"∵\",\"because\":\"∵\",\"Because\":\"∵\",\"bemptyv\":\"⦰\",\"bepsi\":\"϶\",\"bernou\":\"ℬ\",\"Bernoullis\":\"ℬ\",\"Beta\":\"Β\",\"beta\":\"β\",\"beth\":\"ℶ\",\"between\":\"≬\",\"Bfr\":\"𝔅\",\"bfr\":\"𝔟\",\"bigcap\":\"⋂\",\"bigcirc\":\"◯\",\"bigcup\":\"⋃\",\"bigodot\":\"⨀\",\"bigoplus\":\"⨁\",\"bigotimes\":\"⨂\",\"bigsqcup\":\"⨆\",\"bigstar\":\"★\",\"bigtriangledown\":\"▽\",\"bigtriangleup\":\"△\",\"biguplus\":\"⨄\",\"bigvee\":\"⋁\",\"bigwedge\":\"⋀\",\"bkarow\":\"⤍\",\"blacklozenge\":\"⧫\",\"blacksquare\":\"▪\",\"blacktriangle\":\"▴\",\"blacktriangledown\":\"▾\",\"blacktriangleleft\":\"◂\",\"blacktriangleright\":\"▸\",\"blank\":\"␣\",\"blk12\":\"▒\",\"blk14\":\"░\",\"blk34\":\"▓\",\"block\":\"█\",\"bne\":\"=⃥\",\"bnequiv\":\"≡⃥\",\"bNot\":\"⫭\",\"bnot\":\"⌐\",\"Bopf\":\"𝔹\",\"bopf\":\"𝕓\",\"bot\":\"⊥\",\"bottom\":\"⊥\",\"bowtie\":\"⋈\",\"boxbox\":\"⧉\",\"boxdl\":\"┐\",\"boxdL\":\"╕\",\"boxDl\":\"╖\",\"boxDL\":\"╗\",\"boxdr\":\"┌\",\"boxdR\":\"╒\",\"boxDr\":\"╓\",\"boxDR\":\"╔\",\"boxh\":\"─\",\"boxH\":\"═\",\"boxhd\":\"┬\",\"boxHd\":\"╤\",\"boxhD\":\"╥\",\"boxHD\":\"╦\",\"boxhu\":\"┴\",\"boxHu\":\"╧\",\"boxhU\":\"╨\",\"boxHU\":\"╩\",\"boxminus\":\"⊟\",\"boxplus\":\"⊞\",\"boxtimes\":\"⊠\",\"boxul\":\"┘\",\"boxuL\":\"╛\",\"boxUl\":\"╜\",\"boxUL\":\"╝\",\"boxur\":\"└\",\"boxuR\":\"╘\",\"boxUr\":\"╙\",\"boxUR\":\"╚\",\"boxv\":\"│\",\"boxV\":\"║\",\"boxvh\":\"┼\",\"boxvH\":\"╪\",\"boxVh\":\"╫\",\"boxVH\":\"╬\",\"boxvl\":\"┤\",\"boxvL\":\"╡\",\"boxVl\":\"╢\",\"boxVL\":\"╣\",\"boxvr\":\"├\",\"boxvR\":\"╞\",\"boxVr\":\"╟\",\"boxVR\":\"╠\",\"bprime\":\"‵\",\"breve\":\"˘\",\"Breve\":\"˘\",\"brvbar\":\"¦\",\"bscr\":\"𝒷\",\"Bscr\":\"ℬ\",\"bsemi\":\"⁏\",\"bsim\":\"∽\",\"bsime\":\"⋍\",\"bsolb\":\"⧅\",\"bsol\":\"\\\\\",\"bsolhsub\":\"⟈\",\"bull\":\"•\",\"bullet\":\"•\",\"bump\":\"≎\",\"bumpE\":\"⪮\",\"bumpe\":\"≏\",\"Bumpeq\":\"≎\",\"bumpeq\":\"≏\",\"Cacute\":\"Ć\",\"cacute\":\"ć\",\"capand\":\"⩄\",\"capbrcup\":\"⩉\",\"capcap\":\"⩋\",\"cap\":\"∩\",\"Cap\":\"⋒\",\"capcup\":\"⩇\",\"capdot\":\"⩀\",\"CapitalDifferentialD\":\"ⅅ\",\"caps\":\"∩︀\",\"caret\":\"⁁\",\"caron\":\"ˇ\",\"Cayleys\":\"ℭ\",\"ccaps\":\"⩍\",\"Ccaron\":\"Č\",\"ccaron\":\"č\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"Ccirc\":\"Ĉ\",\"ccirc\":\"ĉ\",\"Cconint\":\"∰\",\"ccups\":\"⩌\",\"ccupssm\":\"⩐\",\"Cdot\":\"Ċ\",\"cdot\":\"ċ\",\"cedil\":\"¸\",\"Cedilla\":\"¸\",\"cemptyv\":\"⦲\",\"cent\":\"¢\",\"centerdot\":\"·\",\"CenterDot\":\"·\",\"cfr\":\"𝔠\",\"Cfr\":\"ℭ\",\"CHcy\":\"Ч\",\"chcy\":\"ч\",\"check\":\"✓\",\"checkmark\":\"✓\",\"Chi\":\"Χ\",\"chi\":\"χ\",\"circ\":\"ˆ\",\"circeq\":\"≗\",\"circlearrowleft\":\"↺\",\"circlearrowright\":\"↻\",\"circledast\":\"⊛\",\"circledcirc\":\"⊚\",\"circleddash\":\"⊝\",\"CircleDot\":\"⊙\",\"circledR\":\"®\",\"circledS\":\"Ⓢ\",\"CircleMinus\":\"⊖\",\"CirclePlus\":\"⊕\",\"CircleTimes\":\"⊗\",\"cir\":\"○\",\"cirE\":\"⧃\",\"cire\":\"≗\",\"cirfnint\":\"⨐\",\"cirmid\":\"⫯\",\"cirscir\":\"⧂\",\"ClockwiseContourIntegral\":\"∲\",\"CloseCurlyDoubleQuote\":\"”\",\"CloseCurlyQuote\":\"’\",\"clubs\":\"♣\",\"clubsuit\":\"♣\",\"colon\":\":\",\"Colon\":\"∷\",\"Colone\":\"⩴\",\"colone\":\"≔\",\"coloneq\":\"≔\",\"comma\":\",\",\"commat\":\"@\",\"comp\":\"∁\",\"compfn\":\"∘\",\"complement\":\"∁\",\"complexes\":\"ℂ\",\"cong\":\"≅\",\"congdot\":\"⩭\",\"Congruent\":\"≡\",\"conint\":\"∮\",\"Conint\":\"∯\",\"ContourIntegral\":\"∮\",\"copf\":\"𝕔\",\"Copf\":\"ℂ\",\"coprod\":\"∐\",\"Coproduct\":\"∐\",\"copy\":\"©\",\"COPY\":\"©\",\"copysr\":\"℗\",\"CounterClockwiseContourIntegral\":\"∳\",\"crarr\":\"↵\",\"cross\":\"✗\",\"Cross\":\"⨯\",\"Cscr\":\"𝒞\",\"cscr\":\"𝒸\",\"csub\":\"⫏\",\"csube\":\"⫑\",\"csup\":\"⫐\",\"csupe\":\"⫒\",\"ctdot\":\"⋯\",\"cudarrl\":\"⤸\",\"cudarrr\":\"⤵\",\"cuepr\":\"⋞\",\"cuesc\":\"⋟\",\"cularr\":\"↶\",\"cularrp\":\"⤽\",\"cupbrcap\":\"⩈\",\"cupcap\":\"⩆\",\"CupCap\":\"≍\",\"cup\":\"∪\",\"Cup\":\"⋓\",\"cupcup\":\"⩊\",\"cupdot\":\"⊍\",\"cupor\":\"⩅\",\"cups\":\"∪︀\",\"curarr\":\"↷\",\"curarrm\":\"⤼\",\"curlyeqprec\":\"⋞\",\"curlyeqsucc\":\"⋟\",\"curlyvee\":\"⋎\",\"curlywedge\":\"⋏\",\"curren\":\"¤\",\"curvearrowleft\":\"↶\",\"curvearrowright\":\"↷\",\"cuvee\":\"⋎\",\"cuwed\":\"⋏\",\"cwconint\":\"∲\",\"cwint\":\"∱\",\"cylcty\":\"⌭\",\"dagger\":\"†\",\"Dagger\":\"‡\",\"daleth\":\"ℸ\",\"darr\":\"↓\",\"Darr\":\"↡\",\"dArr\":\"⇓\",\"dash\":\"‐\",\"Dashv\":\"⫤\",\"dashv\":\"⊣\",\"dbkarow\":\"⤏\",\"dblac\":\"˝\",\"Dcaron\":\"Ď\",\"dcaron\":\"ď\",\"Dcy\":\"Д\",\"dcy\":\"д\",\"ddagger\":\"‡\",\"ddarr\":\"⇊\",\"DD\":\"ⅅ\",\"dd\":\"ⅆ\",\"DDotrahd\":\"⤑\",\"ddotseq\":\"⩷\",\"deg\":\"°\",\"Del\":\"∇\",\"Delta\":\"Δ\",\"delta\":\"δ\",\"demptyv\":\"⦱\",\"dfisht\":\"⥿\",\"Dfr\":\"𝔇\",\"dfr\":\"𝔡\",\"dHar\":\"⥥\",\"dharl\":\"⇃\",\"dharr\":\"⇂\",\"DiacriticalAcute\":\"´\",\"DiacriticalDot\":\"˙\",\"DiacriticalDoubleAcute\":\"˝\",\"DiacriticalGrave\":\"`\",\"DiacriticalTilde\":\"˜\",\"diam\":\"⋄\",\"diamond\":\"⋄\",\"Diamond\":\"⋄\",\"diamondsuit\":\"♦\",\"diams\":\"♦\",\"die\":\"¨\",\"DifferentialD\":\"ⅆ\",\"digamma\":\"ϝ\",\"disin\":\"⋲\",\"div\":\"÷\",\"divide\":\"÷\",\"divideontimes\":\"⋇\",\"divonx\":\"⋇\",\"DJcy\":\"Ђ\",\"djcy\":\"ђ\",\"dlcorn\":\"⌞\",\"dlcrop\":\"⌍\",\"dollar\":\"$\",\"Dopf\":\"𝔻\",\"dopf\":\"𝕕\",\"Dot\":\"¨\",\"dot\":\"˙\",\"DotDot\":\"⃜\",\"doteq\":\"≐\",\"doteqdot\":\"≑\",\"DotEqual\":\"≐\",\"dotminus\":\"∸\",\"dotplus\":\"∔\",\"dotsquare\":\"⊡\",\"doublebarwedge\":\"⌆\",\"DoubleContourIntegral\":\"∯\",\"DoubleDot\":\"¨\",\"DoubleDownArrow\":\"⇓\",\"DoubleLeftArrow\":\"⇐\",\"DoubleLeftRightArrow\":\"⇔\",\"DoubleLeftTee\":\"⫤\",\"DoubleLongLeftArrow\":\"⟸\",\"DoubleLongLeftRightArrow\":\"⟺\",\"DoubleLongRightArrow\":\"⟹\",\"DoubleRightArrow\":\"⇒\",\"DoubleRightTee\":\"⊨\",\"DoubleUpArrow\":\"⇑\",\"DoubleUpDownArrow\":\"⇕\",\"DoubleVerticalBar\":\"∥\",\"DownArrowBar\":\"⤓\",\"downarrow\":\"↓\",\"DownArrow\":\"↓\",\"Downarrow\":\"⇓\",\"DownArrowUpArrow\":\"⇵\",\"DownBreve\":\"̑\",\"downdownarrows\":\"⇊\",\"downharpoonleft\":\"⇃\",\"downharpoonright\":\"⇂\",\"DownLeftRightVector\":\"⥐\",\"DownLeftTeeVector\":\"⥞\",\"DownLeftVectorBar\":\"⥖\",\"DownLeftVector\":\"↽\",\"DownRightTeeVector\":\"⥟\",\"DownRightVectorBar\":\"⥗\",\"DownRightVector\":\"⇁\",\"DownTeeArrow\":\"↧\",\"DownTee\":\"⊤\",\"drbkarow\":\"⤐\",\"drcorn\":\"⌟\",\"drcrop\":\"⌌\",\"Dscr\":\"𝒟\",\"dscr\":\"𝒹\",\"DScy\":\"Ѕ\",\"dscy\":\"ѕ\",\"dsol\":\"⧶\",\"Dstrok\":\"Đ\",\"dstrok\":\"đ\",\"dtdot\":\"⋱\",\"dtri\":\"▿\",\"dtrif\":\"▾\",\"duarr\":\"⇵\",\"duhar\":\"⥯\",\"dwangle\":\"⦦\",\"DZcy\":\"Џ\",\"dzcy\":\"џ\",\"dzigrarr\":\"⟿\",\"Eacute\":\"É\",\"eacute\":\"é\",\"easter\":\"⩮\",\"Ecaron\":\"Ě\",\"ecaron\":\"ě\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"ecir\":\"≖\",\"ecolon\":\"≕\",\"Ecy\":\"Э\",\"ecy\":\"э\",\"eDDot\":\"⩷\",\"Edot\":\"Ė\",\"edot\":\"ė\",\"eDot\":\"≑\",\"ee\":\"ⅇ\",\"efDot\":\"≒\",\"Efr\":\"𝔈\",\"efr\":\"𝔢\",\"eg\":\"⪚\",\"Egrave\":\"È\",\"egrave\":\"è\",\"egs\":\"⪖\",\"egsdot\":\"⪘\",\"el\":\"⪙\",\"Element\":\"∈\",\"elinters\":\"⏧\",\"ell\":\"ℓ\",\"els\":\"⪕\",\"elsdot\":\"⪗\",\"Emacr\":\"Ē\",\"emacr\":\"ē\",\"empty\":\"∅\",\"emptyset\":\"∅\",\"EmptySmallSquare\":\"◻\",\"emptyv\":\"∅\",\"EmptyVerySmallSquare\":\"▫\",\"emsp13\":\" \",\"emsp14\":\" \",\"emsp\":\" \",\"ENG\":\"Ŋ\",\"eng\":\"ŋ\",\"ensp\":\" \",\"Eogon\":\"Ę\",\"eogon\":\"ę\",\"Eopf\":\"𝔼\",\"eopf\":\"𝕖\",\"epar\":\"⋕\",\"eparsl\":\"⧣\",\"eplus\":\"⩱\",\"epsi\":\"ε\",\"Epsilon\":\"Ε\",\"epsilon\":\"ε\",\"epsiv\":\"ϵ\",\"eqcirc\":\"≖\",\"eqcolon\":\"≕\",\"eqsim\":\"≂\",\"eqslantgtr\":\"⪖\",\"eqslantless\":\"⪕\",\"Equal\":\"⩵\",\"equals\":\"=\",\"EqualTilde\":\"≂\",\"equest\":\"≟\",\"Equilibrium\":\"⇌\",\"equiv\":\"≡\",\"equivDD\":\"⩸\",\"eqvparsl\":\"⧥\",\"erarr\":\"⥱\",\"erDot\":\"≓\",\"escr\":\"ℯ\",\"Escr\":\"ℰ\",\"esdot\":\"≐\",\"Esim\":\"⩳\",\"esim\":\"≂\",\"Eta\":\"Η\",\"eta\":\"η\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"euro\":\"€\",\"excl\":\"!\",\"exist\":\"∃\",\"Exists\":\"∃\",\"expectation\":\"ℰ\",\"exponentiale\":\"ⅇ\",\"ExponentialE\":\"ⅇ\",\"fallingdotseq\":\"≒\",\"Fcy\":\"Ф\",\"fcy\":\"ф\",\"female\":\"♀\",\"ffilig\":\"ffi\",\"fflig\":\"ff\",\"ffllig\":\"ffl\",\"Ffr\":\"𝔉\",\"ffr\":\"𝔣\",\"filig\":\"fi\",\"FilledSmallSquare\":\"◼\",\"FilledVerySmallSquare\":\"▪\",\"fjlig\":\"fj\",\"flat\":\"♭\",\"fllig\":\"fl\",\"fltns\":\"▱\",\"fnof\":\"ƒ\",\"Fopf\":\"𝔽\",\"fopf\":\"𝕗\",\"forall\":\"∀\",\"ForAll\":\"∀\",\"fork\":\"⋔\",\"forkv\":\"⫙\",\"Fouriertrf\":\"ℱ\",\"fpartint\":\"⨍\",\"frac12\":\"½\",\"frac13\":\"⅓\",\"frac14\":\"¼\",\"frac15\":\"⅕\",\"frac16\":\"⅙\",\"frac18\":\"⅛\",\"frac23\":\"⅔\",\"frac25\":\"⅖\",\"frac34\":\"¾\",\"frac35\":\"⅗\",\"frac38\":\"⅜\",\"frac45\":\"⅘\",\"frac56\":\"⅚\",\"frac58\":\"⅝\",\"frac78\":\"⅞\",\"frasl\":\"⁄\",\"frown\":\"⌢\",\"fscr\":\"𝒻\",\"Fscr\":\"ℱ\",\"gacute\":\"ǵ\",\"Gamma\":\"Γ\",\"gamma\":\"γ\",\"Gammad\":\"Ϝ\",\"gammad\":\"ϝ\",\"gap\":\"⪆\",\"Gbreve\":\"Ğ\",\"gbreve\":\"ğ\",\"Gcedil\":\"Ģ\",\"Gcirc\":\"Ĝ\",\"gcirc\":\"ĝ\",\"Gcy\":\"Г\",\"gcy\":\"г\",\"Gdot\":\"Ġ\",\"gdot\":\"ġ\",\"ge\":\"≥\",\"gE\":\"≧\",\"gEl\":\"⪌\",\"gel\":\"⋛\",\"geq\":\"≥\",\"geqq\":\"≧\",\"geqslant\":\"⩾\",\"gescc\":\"⪩\",\"ges\":\"⩾\",\"gesdot\":\"⪀\",\"gesdoto\":\"⪂\",\"gesdotol\":\"⪄\",\"gesl\":\"⋛︀\",\"gesles\":\"⪔\",\"Gfr\":\"𝔊\",\"gfr\":\"𝔤\",\"gg\":\"≫\",\"Gg\":\"⋙\",\"ggg\":\"⋙\",\"gimel\":\"ℷ\",\"GJcy\":\"Ѓ\",\"gjcy\":\"ѓ\",\"gla\":\"⪥\",\"gl\":\"≷\",\"glE\":\"⪒\",\"glj\":\"⪤\",\"gnap\":\"⪊\",\"gnapprox\":\"⪊\",\"gne\":\"⪈\",\"gnE\":\"≩\",\"gneq\":\"⪈\",\"gneqq\":\"≩\",\"gnsim\":\"⋧\",\"Gopf\":\"𝔾\",\"gopf\":\"𝕘\",\"grave\":\"`\",\"GreaterEqual\":\"≥\",\"GreaterEqualLess\":\"⋛\",\"GreaterFullEqual\":\"≧\",\"GreaterGreater\":\"⪢\",\"GreaterLess\":\"≷\",\"GreaterSlantEqual\":\"⩾\",\"GreaterTilde\":\"≳\",\"Gscr\":\"𝒢\",\"gscr\":\"ℊ\",\"gsim\":\"≳\",\"gsime\":\"⪎\",\"gsiml\":\"⪐\",\"gtcc\":\"⪧\",\"gtcir\":\"⩺\",\"gt\":\">\",\"GT\":\">\",\"Gt\":\"≫\",\"gtdot\":\"⋗\",\"gtlPar\":\"⦕\",\"gtquest\":\"⩼\",\"gtrapprox\":\"⪆\",\"gtrarr\":\"⥸\",\"gtrdot\":\"⋗\",\"gtreqless\":\"⋛\",\"gtreqqless\":\"⪌\",\"gtrless\":\"≷\",\"gtrsim\":\"≳\",\"gvertneqq\":\"≩︀\",\"gvnE\":\"≩︀\",\"Hacek\":\"ˇ\",\"hairsp\":\" \",\"half\":\"½\",\"hamilt\":\"ℋ\",\"HARDcy\":\"Ъ\",\"hardcy\":\"ъ\",\"harrcir\":\"⥈\",\"harr\":\"↔\",\"hArr\":\"⇔\",\"harrw\":\"↭\",\"Hat\":\"^\",\"hbar\":\"ℏ\",\"Hcirc\":\"Ĥ\",\"hcirc\":\"ĥ\",\"hearts\":\"♥\",\"heartsuit\":\"♥\",\"hellip\":\"…\",\"hercon\":\"⊹\",\"hfr\":\"𝔥\",\"Hfr\":\"ℌ\",\"HilbertSpace\":\"ℋ\",\"hksearow\":\"⤥\",\"hkswarow\":\"⤦\",\"hoarr\":\"⇿\",\"homtht\":\"∻\",\"hookleftarrow\":\"↩\",\"hookrightarrow\":\"↪\",\"hopf\":\"𝕙\",\"Hopf\":\"ℍ\",\"horbar\":\"―\",\"HorizontalLine\":\"─\",\"hscr\":\"𝒽\",\"Hscr\":\"ℋ\",\"hslash\":\"ℏ\",\"Hstrok\":\"Ħ\",\"hstrok\":\"ħ\",\"HumpDownHump\":\"≎\",\"HumpEqual\":\"≏\",\"hybull\":\"⁃\",\"hyphen\":\"‐\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"ic\":\"⁣\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"Icy\":\"И\",\"icy\":\"и\",\"Idot\":\"İ\",\"IEcy\":\"Е\",\"iecy\":\"е\",\"iexcl\":\"¡\",\"iff\":\"⇔\",\"ifr\":\"𝔦\",\"Ifr\":\"ℑ\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"ii\":\"ⅈ\",\"iiiint\":\"⨌\",\"iiint\":\"∭\",\"iinfin\":\"⧜\",\"iiota\":\"℩\",\"IJlig\":\"IJ\",\"ijlig\":\"ij\",\"Imacr\":\"Ī\",\"imacr\":\"ī\",\"image\":\"ℑ\",\"ImaginaryI\":\"ⅈ\",\"imagline\":\"ℐ\",\"imagpart\":\"ℑ\",\"imath\":\"ı\",\"Im\":\"ℑ\",\"imof\":\"⊷\",\"imped\":\"Ƶ\",\"Implies\":\"⇒\",\"incare\":\"℅\",\"in\":\"∈\",\"infin\":\"∞\",\"infintie\":\"⧝\",\"inodot\":\"ı\",\"intcal\":\"⊺\",\"int\":\"∫\",\"Int\":\"∬\",\"integers\":\"ℤ\",\"Integral\":\"∫\",\"intercal\":\"⊺\",\"Intersection\":\"⋂\",\"intlarhk\":\"⨗\",\"intprod\":\"⨼\",\"InvisibleComma\":\"⁣\",\"InvisibleTimes\":\"⁢\",\"IOcy\":\"Ё\",\"iocy\":\"ё\",\"Iogon\":\"Į\",\"iogon\":\"į\",\"Iopf\":\"𝕀\",\"iopf\":\"𝕚\",\"Iota\":\"Ι\",\"iota\":\"ι\",\"iprod\":\"⨼\",\"iquest\":\"¿\",\"iscr\":\"𝒾\",\"Iscr\":\"ℐ\",\"isin\":\"∈\",\"isindot\":\"⋵\",\"isinE\":\"⋹\",\"isins\":\"⋴\",\"isinsv\":\"⋳\",\"isinv\":\"∈\",\"it\":\"⁢\",\"Itilde\":\"Ĩ\",\"itilde\":\"ĩ\",\"Iukcy\":\"І\",\"iukcy\":\"і\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"Jcirc\":\"Ĵ\",\"jcirc\":\"ĵ\",\"Jcy\":\"Й\",\"jcy\":\"й\",\"Jfr\":\"𝔍\",\"jfr\":\"𝔧\",\"jmath\":\"ȷ\",\"Jopf\":\"𝕁\",\"jopf\":\"𝕛\",\"Jscr\":\"𝒥\",\"jscr\":\"𝒿\",\"Jsercy\":\"Ј\",\"jsercy\":\"ј\",\"Jukcy\":\"Є\",\"jukcy\":\"є\",\"Kappa\":\"Κ\",\"kappa\":\"κ\",\"kappav\":\"ϰ\",\"Kcedil\":\"Ķ\",\"kcedil\":\"ķ\",\"Kcy\":\"К\",\"kcy\":\"к\",\"Kfr\":\"𝔎\",\"kfr\":\"𝔨\",\"kgreen\":\"ĸ\",\"KHcy\":\"Х\",\"khcy\":\"х\",\"KJcy\":\"Ќ\",\"kjcy\":\"ќ\",\"Kopf\":\"𝕂\",\"kopf\":\"𝕜\",\"Kscr\":\"𝒦\",\"kscr\":\"𝓀\",\"lAarr\":\"⇚\",\"Lacute\":\"Ĺ\",\"lacute\":\"ĺ\",\"laemptyv\":\"⦴\",\"lagran\":\"ℒ\",\"Lambda\":\"Λ\",\"lambda\":\"λ\",\"lang\":\"⟨\",\"Lang\":\"⟪\",\"langd\":\"⦑\",\"langle\":\"⟨\",\"lap\":\"⪅\",\"Laplacetrf\":\"ℒ\",\"laquo\":\"«\",\"larrb\":\"⇤\",\"larrbfs\":\"⤟\",\"larr\":\"←\",\"Larr\":\"↞\",\"lArr\":\"⇐\",\"larrfs\":\"⤝\",\"larrhk\":\"↩\",\"larrlp\":\"↫\",\"larrpl\":\"⤹\",\"larrsim\":\"⥳\",\"larrtl\":\"↢\",\"latail\":\"⤙\",\"lAtail\":\"⤛\",\"lat\":\"⪫\",\"late\":\"⪭\",\"lates\":\"⪭︀\",\"lbarr\":\"⤌\",\"lBarr\":\"⤎\",\"lbbrk\":\"❲\",\"lbrace\":\"{\",\"lbrack\":\"[\",\"lbrke\":\"⦋\",\"lbrksld\":\"⦏\",\"lbrkslu\":\"⦍\",\"Lcaron\":\"Ľ\",\"lcaron\":\"ľ\",\"Lcedil\":\"Ļ\",\"lcedil\":\"ļ\",\"lceil\":\"⌈\",\"lcub\":\"{\",\"Lcy\":\"Л\",\"lcy\":\"л\",\"ldca\":\"⤶\",\"ldquo\":\"“\",\"ldquor\":\"„\",\"ldrdhar\":\"⥧\",\"ldrushar\":\"⥋\",\"ldsh\":\"↲\",\"le\":\"≤\",\"lE\":\"≦\",\"LeftAngleBracket\":\"⟨\",\"LeftArrowBar\":\"⇤\",\"leftarrow\":\"←\",\"LeftArrow\":\"←\",\"Leftarrow\":\"⇐\",\"LeftArrowRightArrow\":\"⇆\",\"leftarrowtail\":\"↢\",\"LeftCeiling\":\"⌈\",\"LeftDoubleBracket\":\"⟦\",\"LeftDownTeeVector\":\"⥡\",\"LeftDownVectorBar\":\"⥙\",\"LeftDownVector\":\"⇃\",\"LeftFloor\":\"⌊\",\"leftharpoondown\":\"↽\",\"leftharpoonup\":\"↼\",\"leftleftarrows\":\"⇇\",\"leftrightarrow\":\"↔\",\"LeftRightArrow\":\"↔\",\"Leftrightarrow\":\"⇔\",\"leftrightarrows\":\"⇆\",\"leftrightharpoons\":\"⇋\",\"leftrightsquigarrow\":\"↭\",\"LeftRightVector\":\"⥎\",\"LeftTeeArrow\":\"↤\",\"LeftTee\":\"⊣\",\"LeftTeeVector\":\"⥚\",\"leftthreetimes\":\"⋋\",\"LeftTriangleBar\":\"⧏\",\"LeftTriangle\":\"⊲\",\"LeftTriangleEqual\":\"⊴\",\"LeftUpDownVector\":\"⥑\",\"LeftUpTeeVector\":\"⥠\",\"LeftUpVectorBar\":\"⥘\",\"LeftUpVector\":\"↿\",\"LeftVectorBar\":\"⥒\",\"LeftVector\":\"↼\",\"lEg\":\"⪋\",\"leg\":\"⋚\",\"leq\":\"≤\",\"leqq\":\"≦\",\"leqslant\":\"⩽\",\"lescc\":\"⪨\",\"les\":\"⩽\",\"lesdot\":\"⩿\",\"lesdoto\":\"⪁\",\"lesdotor\":\"⪃\",\"lesg\":\"⋚︀\",\"lesges\":\"⪓\",\"lessapprox\":\"⪅\",\"lessdot\":\"⋖\",\"lesseqgtr\":\"⋚\",\"lesseqqgtr\":\"⪋\",\"LessEqualGreater\":\"⋚\",\"LessFullEqual\":\"≦\",\"LessGreater\":\"≶\",\"lessgtr\":\"≶\",\"LessLess\":\"⪡\",\"lesssim\":\"≲\",\"LessSlantEqual\":\"⩽\",\"LessTilde\":\"≲\",\"lfisht\":\"⥼\",\"lfloor\":\"⌊\",\"Lfr\":\"𝔏\",\"lfr\":\"𝔩\",\"lg\":\"≶\",\"lgE\":\"⪑\",\"lHar\":\"⥢\",\"lhard\":\"↽\",\"lharu\":\"↼\",\"lharul\":\"⥪\",\"lhblk\":\"▄\",\"LJcy\":\"Љ\",\"ljcy\":\"љ\",\"llarr\":\"⇇\",\"ll\":\"≪\",\"Ll\":\"⋘\",\"llcorner\":\"⌞\",\"Lleftarrow\":\"⇚\",\"llhard\":\"⥫\",\"lltri\":\"◺\",\"Lmidot\":\"Ŀ\",\"lmidot\":\"ŀ\",\"lmoustache\":\"⎰\",\"lmoust\":\"⎰\",\"lnap\":\"⪉\",\"lnapprox\":\"⪉\",\"lne\":\"⪇\",\"lnE\":\"≨\",\"lneq\":\"⪇\",\"lneqq\":\"≨\",\"lnsim\":\"⋦\",\"loang\":\"⟬\",\"loarr\":\"⇽\",\"lobrk\":\"⟦\",\"longleftarrow\":\"⟵\",\"LongLeftArrow\":\"⟵\",\"Longleftarrow\":\"⟸\",\"longleftrightarrow\":\"⟷\",\"LongLeftRightArrow\":\"⟷\",\"Longleftrightarrow\":\"⟺\",\"longmapsto\":\"⟼\",\"longrightarrow\":\"⟶\",\"LongRightArrow\":\"⟶\",\"Longrightarrow\":\"⟹\",\"looparrowleft\":\"↫\",\"looparrowright\":\"↬\",\"lopar\":\"⦅\",\"Lopf\":\"𝕃\",\"lopf\":\"𝕝\",\"loplus\":\"⨭\",\"lotimes\":\"⨴\",\"lowast\":\"∗\",\"lowbar\":\"_\",\"LowerLeftArrow\":\"↙\",\"LowerRightArrow\":\"↘\",\"loz\":\"◊\",\"lozenge\":\"◊\",\"lozf\":\"⧫\",\"lpar\":\"(\",\"lparlt\":\"⦓\",\"lrarr\":\"⇆\",\"lrcorner\":\"⌟\",\"lrhar\":\"⇋\",\"lrhard\":\"⥭\",\"lrm\":\"‎\",\"lrtri\":\"⊿\",\"lsaquo\":\"‹\",\"lscr\":\"𝓁\",\"Lscr\":\"ℒ\",\"lsh\":\"↰\",\"Lsh\":\"↰\",\"lsim\":\"≲\",\"lsime\":\"⪍\",\"lsimg\":\"⪏\",\"lsqb\":\"[\",\"lsquo\":\"‘\",\"lsquor\":\"‚\",\"Lstrok\":\"Ł\",\"lstrok\":\"ł\",\"ltcc\":\"⪦\",\"ltcir\":\"⩹\",\"lt\":\"<\",\"LT\":\"<\",\"Lt\":\"≪\",\"ltdot\":\"⋖\",\"lthree\":\"⋋\",\"ltimes\":\"⋉\",\"ltlarr\":\"⥶\",\"ltquest\":\"⩻\",\"ltri\":\"◃\",\"ltrie\":\"⊴\",\"ltrif\":\"◂\",\"ltrPar\":\"⦖\",\"lurdshar\":\"⥊\",\"luruhar\":\"⥦\",\"lvertneqq\":\"≨︀\",\"lvnE\":\"≨︀\",\"macr\":\"¯\",\"male\":\"♂\",\"malt\":\"✠\",\"maltese\":\"✠\",\"Map\":\"⤅\",\"map\":\"↦\",\"mapsto\":\"↦\",\"mapstodown\":\"↧\",\"mapstoleft\":\"↤\",\"mapstoup\":\"↥\",\"marker\":\"▮\",\"mcomma\":\"⨩\",\"Mcy\":\"М\",\"mcy\":\"м\",\"mdash\":\"—\",\"mDDot\":\"∺\",\"measuredangle\":\"∡\",\"MediumSpace\":\" \",\"Mellintrf\":\"ℳ\",\"Mfr\":\"𝔐\",\"mfr\":\"𝔪\",\"mho\":\"℧\",\"micro\":\"µ\",\"midast\":\"*\",\"midcir\":\"⫰\",\"mid\":\"∣\",\"middot\":\"·\",\"minusb\":\"⊟\",\"minus\":\"−\",\"minusd\":\"∸\",\"minusdu\":\"⨪\",\"MinusPlus\":\"∓\",\"mlcp\":\"⫛\",\"mldr\":\"…\",\"mnplus\":\"∓\",\"models\":\"⊧\",\"Mopf\":\"𝕄\",\"mopf\":\"𝕞\",\"mp\":\"∓\",\"mscr\":\"𝓂\",\"Mscr\":\"ℳ\",\"mstpos\":\"∾\",\"Mu\":\"Μ\",\"mu\":\"μ\",\"multimap\":\"⊸\",\"mumap\":\"⊸\",\"nabla\":\"∇\",\"Nacute\":\"Ń\",\"nacute\":\"ń\",\"nang\":\"∠⃒\",\"nap\":\"≉\",\"napE\":\"⩰̸\",\"napid\":\"≋̸\",\"napos\":\"ʼn\",\"napprox\":\"≉\",\"natural\":\"♮\",\"naturals\":\"ℕ\",\"natur\":\"♮\",\"nbsp\":\" \",\"nbump\":\"≎̸\",\"nbumpe\":\"≏̸\",\"ncap\":\"⩃\",\"Ncaron\":\"Ň\",\"ncaron\":\"ň\",\"Ncedil\":\"Ņ\",\"ncedil\":\"ņ\",\"ncong\":\"≇\",\"ncongdot\":\"⩭̸\",\"ncup\":\"⩂\",\"Ncy\":\"Н\",\"ncy\":\"н\",\"ndash\":\"–\",\"nearhk\":\"⤤\",\"nearr\":\"↗\",\"neArr\":\"⇗\",\"nearrow\":\"↗\",\"ne\":\"≠\",\"nedot\":\"≐̸\",\"NegativeMediumSpace\":\"​\",\"NegativeThickSpace\":\"​\",\"NegativeThinSpace\":\"​\",\"NegativeVeryThinSpace\":\"​\",\"nequiv\":\"≢\",\"nesear\":\"⤨\",\"nesim\":\"≂̸\",\"NestedGreaterGreater\":\"≫\",\"NestedLessLess\":\"≪\",\"NewLine\":\"\\n\",\"nexist\":\"∄\",\"nexists\":\"∄\",\"Nfr\":\"𝔑\",\"nfr\":\"𝔫\",\"ngE\":\"≧̸\",\"nge\":\"≱\",\"ngeq\":\"≱\",\"ngeqq\":\"≧̸\",\"ngeqslant\":\"⩾̸\",\"nges\":\"⩾̸\",\"nGg\":\"⋙̸\",\"ngsim\":\"≵\",\"nGt\":\"≫⃒\",\"ngt\":\"≯\",\"ngtr\":\"≯\",\"nGtv\":\"≫̸\",\"nharr\":\"↮\",\"nhArr\":\"⇎\",\"nhpar\":\"⫲\",\"ni\":\"∋\",\"nis\":\"⋼\",\"nisd\":\"⋺\",\"niv\":\"∋\",\"NJcy\":\"Њ\",\"njcy\":\"њ\",\"nlarr\":\"↚\",\"nlArr\":\"⇍\",\"nldr\":\"‥\",\"nlE\":\"≦̸\",\"nle\":\"≰\",\"nleftarrow\":\"↚\",\"nLeftarrow\":\"⇍\",\"nleftrightarrow\":\"↮\",\"nLeftrightarrow\":\"⇎\",\"nleq\":\"≰\",\"nleqq\":\"≦̸\",\"nleqslant\":\"⩽̸\",\"nles\":\"⩽̸\",\"nless\":\"≮\",\"nLl\":\"⋘̸\",\"nlsim\":\"≴\",\"nLt\":\"≪⃒\",\"nlt\":\"≮\",\"nltri\":\"⋪\",\"nltrie\":\"⋬\",\"nLtv\":\"≪̸\",\"nmid\":\"∤\",\"NoBreak\":\"⁠\",\"NonBreakingSpace\":\" \",\"nopf\":\"𝕟\",\"Nopf\":\"ℕ\",\"Not\":\"⫬\",\"not\":\"¬\",\"NotCongruent\":\"≢\",\"NotCupCap\":\"≭\",\"NotDoubleVerticalBar\":\"∦\",\"NotElement\":\"∉\",\"NotEqual\":\"≠\",\"NotEqualTilde\":\"≂̸\",\"NotExists\":\"∄\",\"NotGreater\":\"≯\",\"NotGreaterEqual\":\"≱\",\"NotGreaterFullEqual\":\"≧̸\",\"NotGreaterGreater\":\"≫̸\",\"NotGreaterLess\":\"≹\",\"NotGreaterSlantEqual\":\"⩾̸\",\"NotGreaterTilde\":\"≵\",\"NotHumpDownHump\":\"≎̸\",\"NotHumpEqual\":\"≏̸\",\"notin\":\"∉\",\"notindot\":\"⋵̸\",\"notinE\":\"⋹̸\",\"notinva\":\"∉\",\"notinvb\":\"⋷\",\"notinvc\":\"⋶\",\"NotLeftTriangleBar\":\"⧏̸\",\"NotLeftTriangle\":\"⋪\",\"NotLeftTriangleEqual\":\"⋬\",\"NotLess\":\"≮\",\"NotLessEqual\":\"≰\",\"NotLessGreater\":\"≸\",\"NotLessLess\":\"≪̸\",\"NotLessSlantEqual\":\"⩽̸\",\"NotLessTilde\":\"≴\",\"NotNestedGreaterGreater\":\"⪢̸\",\"NotNestedLessLess\":\"⪡̸\",\"notni\":\"∌\",\"notniva\":\"∌\",\"notnivb\":\"⋾\",\"notnivc\":\"⋽\",\"NotPrecedes\":\"⊀\",\"NotPrecedesEqual\":\"⪯̸\",\"NotPrecedesSlantEqual\":\"⋠\",\"NotReverseElement\":\"∌\",\"NotRightTriangleBar\":\"⧐̸\",\"NotRightTriangle\":\"⋫\",\"NotRightTriangleEqual\":\"⋭\",\"NotSquareSubset\":\"⊏̸\",\"NotSquareSubsetEqual\":\"⋢\",\"NotSquareSuperset\":\"⊐̸\",\"NotSquareSupersetEqual\":\"⋣\",\"NotSubset\":\"⊂⃒\",\"NotSubsetEqual\":\"⊈\",\"NotSucceeds\":\"⊁\",\"NotSucceedsEqual\":\"⪰̸\",\"NotSucceedsSlantEqual\":\"⋡\",\"NotSucceedsTilde\":\"≿̸\",\"NotSuperset\":\"⊃⃒\",\"NotSupersetEqual\":\"⊉\",\"NotTilde\":\"≁\",\"NotTildeEqual\":\"≄\",\"NotTildeFullEqual\":\"≇\",\"NotTildeTilde\":\"≉\",\"NotVerticalBar\":\"∤\",\"nparallel\":\"∦\",\"npar\":\"∦\",\"nparsl\":\"⫽⃥\",\"npart\":\"∂̸\",\"npolint\":\"⨔\",\"npr\":\"⊀\",\"nprcue\":\"⋠\",\"nprec\":\"⊀\",\"npreceq\":\"⪯̸\",\"npre\":\"⪯̸\",\"nrarrc\":\"⤳̸\",\"nrarr\":\"↛\",\"nrArr\":\"⇏\",\"nrarrw\":\"↝̸\",\"nrightarrow\":\"↛\",\"nRightarrow\":\"⇏\",\"nrtri\":\"⋫\",\"nrtrie\":\"⋭\",\"nsc\":\"⊁\",\"nsccue\":\"⋡\",\"nsce\":\"⪰̸\",\"Nscr\":\"𝒩\",\"nscr\":\"𝓃\",\"nshortmid\":\"∤\",\"nshortparallel\":\"∦\",\"nsim\":\"≁\",\"nsime\":\"≄\",\"nsimeq\":\"≄\",\"nsmid\":\"∤\",\"nspar\":\"∦\",\"nsqsube\":\"⋢\",\"nsqsupe\":\"⋣\",\"nsub\":\"⊄\",\"nsubE\":\"⫅̸\",\"nsube\":\"⊈\",\"nsubset\":\"⊂⃒\",\"nsubseteq\":\"⊈\",\"nsubseteqq\":\"⫅̸\",\"nsucc\":\"⊁\",\"nsucceq\":\"⪰̸\",\"nsup\":\"⊅\",\"nsupE\":\"⫆̸\",\"nsupe\":\"⊉\",\"nsupset\":\"⊃⃒\",\"nsupseteq\":\"⊉\",\"nsupseteqq\":\"⫆̸\",\"ntgl\":\"≹\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"ntlg\":\"≸\",\"ntriangleleft\":\"⋪\",\"ntrianglelefteq\":\"⋬\",\"ntriangleright\":\"⋫\",\"ntrianglerighteq\":\"⋭\",\"Nu\":\"Ν\",\"nu\":\"ν\",\"num\":\"#\",\"numero\":\"№\",\"numsp\":\" \",\"nvap\":\"≍⃒\",\"nvdash\":\"⊬\",\"nvDash\":\"⊭\",\"nVdash\":\"⊮\",\"nVDash\":\"⊯\",\"nvge\":\"≥⃒\",\"nvgt\":\">⃒\",\"nvHarr\":\"⤄\",\"nvinfin\":\"⧞\",\"nvlArr\":\"⤂\",\"nvle\":\"≤⃒\",\"nvlt\":\"<⃒\",\"nvltrie\":\"⊴⃒\",\"nvrArr\":\"⤃\",\"nvrtrie\":\"⊵⃒\",\"nvsim\":\"∼⃒\",\"nwarhk\":\"⤣\",\"nwarr\":\"↖\",\"nwArr\":\"⇖\",\"nwarrow\":\"↖\",\"nwnear\":\"⤧\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"oast\":\"⊛\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"ocir\":\"⊚\",\"Ocy\":\"О\",\"ocy\":\"о\",\"odash\":\"⊝\",\"Odblac\":\"Ő\",\"odblac\":\"ő\",\"odiv\":\"⨸\",\"odot\":\"⊙\",\"odsold\":\"⦼\",\"OElig\":\"Œ\",\"oelig\":\"œ\",\"ofcir\":\"⦿\",\"Ofr\":\"𝔒\",\"ofr\":\"𝔬\",\"ogon\":\"˛\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ogt\":\"⧁\",\"ohbar\":\"⦵\",\"ohm\":\"Ω\",\"oint\":\"∮\",\"olarr\":\"↺\",\"olcir\":\"⦾\",\"olcross\":\"⦻\",\"oline\":\"‾\",\"olt\":\"⧀\",\"Omacr\":\"Ō\",\"omacr\":\"ō\",\"Omega\":\"Ω\",\"omega\":\"ω\",\"Omicron\":\"Ο\",\"omicron\":\"ο\",\"omid\":\"⦶\",\"ominus\":\"⊖\",\"Oopf\":\"𝕆\",\"oopf\":\"𝕠\",\"opar\":\"⦷\",\"OpenCurlyDoubleQuote\":\"“\",\"OpenCurlyQuote\":\"‘\",\"operp\":\"⦹\",\"oplus\":\"⊕\",\"orarr\":\"↻\",\"Or\":\"⩔\",\"or\":\"∨\",\"ord\":\"⩝\",\"order\":\"ℴ\",\"orderof\":\"ℴ\",\"ordf\":\"ª\",\"ordm\":\"º\",\"origof\":\"⊶\",\"oror\":\"⩖\",\"orslope\":\"⩗\",\"orv\":\"⩛\",\"oS\":\"Ⓢ\",\"Oscr\":\"𝒪\",\"oscr\":\"ℴ\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"osol\":\"⊘\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"otimesas\":\"⨶\",\"Otimes\":\"⨷\",\"otimes\":\"⊗\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"ovbar\":\"⌽\",\"OverBar\":\"‾\",\"OverBrace\":\"⏞\",\"OverBracket\":\"⎴\",\"OverParenthesis\":\"⏜\",\"para\":\"¶\",\"parallel\":\"∥\",\"par\":\"∥\",\"parsim\":\"⫳\",\"parsl\":\"⫽\",\"part\":\"∂\",\"PartialD\":\"∂\",\"Pcy\":\"П\",\"pcy\":\"п\",\"percnt\":\"%\",\"period\":\".\",\"permil\":\"‰\",\"perp\":\"⊥\",\"pertenk\":\"‱\",\"Pfr\":\"𝔓\",\"pfr\":\"𝔭\",\"Phi\":\"Φ\",\"phi\":\"φ\",\"phiv\":\"ϕ\",\"phmmat\":\"ℳ\",\"phone\":\"☎\",\"Pi\":\"Π\",\"pi\":\"π\",\"pitchfork\":\"⋔\",\"piv\":\"ϖ\",\"planck\":\"ℏ\",\"planckh\":\"ℎ\",\"plankv\":\"ℏ\",\"plusacir\":\"⨣\",\"plusb\":\"⊞\",\"pluscir\":\"⨢\",\"plus\":\"+\",\"plusdo\":\"∔\",\"plusdu\":\"⨥\",\"pluse\":\"⩲\",\"PlusMinus\":\"±\",\"plusmn\":\"±\",\"plussim\":\"⨦\",\"plustwo\":\"⨧\",\"pm\":\"±\",\"Poincareplane\":\"ℌ\",\"pointint\":\"⨕\",\"popf\":\"𝕡\",\"Popf\":\"ℙ\",\"pound\":\"£\",\"prap\":\"⪷\",\"Pr\":\"⪻\",\"pr\":\"≺\",\"prcue\":\"≼\",\"precapprox\":\"⪷\",\"prec\":\"≺\",\"preccurlyeq\":\"≼\",\"Precedes\":\"≺\",\"PrecedesEqual\":\"⪯\",\"PrecedesSlantEqual\":\"≼\",\"PrecedesTilde\":\"≾\",\"preceq\":\"⪯\",\"precnapprox\":\"⪹\",\"precneqq\":\"⪵\",\"precnsim\":\"⋨\",\"pre\":\"⪯\",\"prE\":\"⪳\",\"precsim\":\"≾\",\"prime\":\"′\",\"Prime\":\"″\",\"primes\":\"ℙ\",\"prnap\":\"⪹\",\"prnE\":\"⪵\",\"prnsim\":\"⋨\",\"prod\":\"∏\",\"Product\":\"∏\",\"profalar\":\"⌮\",\"profline\":\"⌒\",\"profsurf\":\"⌓\",\"prop\":\"∝\",\"Proportional\":\"∝\",\"Proportion\":\"∷\",\"propto\":\"∝\",\"prsim\":\"≾\",\"prurel\":\"⊰\",\"Pscr\":\"𝒫\",\"pscr\":\"𝓅\",\"Psi\":\"Ψ\",\"psi\":\"ψ\",\"puncsp\":\" \",\"Qfr\":\"𝔔\",\"qfr\":\"𝔮\",\"qint\":\"⨌\",\"qopf\":\"𝕢\",\"Qopf\":\"ℚ\",\"qprime\":\"⁗\",\"Qscr\":\"𝒬\",\"qscr\":\"𝓆\",\"quaternions\":\"ℍ\",\"quatint\":\"⨖\",\"quest\":\"?\",\"questeq\":\"≟\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"rAarr\":\"⇛\",\"race\":\"∽̱\",\"Racute\":\"Ŕ\",\"racute\":\"ŕ\",\"radic\":\"√\",\"raemptyv\":\"⦳\",\"rang\":\"⟩\",\"Rang\":\"⟫\",\"rangd\":\"⦒\",\"range\":\"⦥\",\"rangle\":\"⟩\",\"raquo\":\"»\",\"rarrap\":\"⥵\",\"rarrb\":\"⇥\",\"rarrbfs\":\"⤠\",\"rarrc\":\"⤳\",\"rarr\":\"→\",\"Rarr\":\"↠\",\"rArr\":\"⇒\",\"rarrfs\":\"⤞\",\"rarrhk\":\"↪\",\"rarrlp\":\"↬\",\"rarrpl\":\"⥅\",\"rarrsim\":\"⥴\",\"Rarrtl\":\"⤖\",\"rarrtl\":\"↣\",\"rarrw\":\"↝\",\"ratail\":\"⤚\",\"rAtail\":\"⤜\",\"ratio\":\"∶\",\"rationals\":\"ℚ\",\"rbarr\":\"⤍\",\"rBarr\":\"⤏\",\"RBarr\":\"⤐\",\"rbbrk\":\"❳\",\"rbrace\":\"}\",\"rbrack\":\"]\",\"rbrke\":\"⦌\",\"rbrksld\":\"⦎\",\"rbrkslu\":\"⦐\",\"Rcaron\":\"Ř\",\"rcaron\":\"ř\",\"Rcedil\":\"Ŗ\",\"rcedil\":\"ŗ\",\"rceil\":\"⌉\",\"rcub\":\"}\",\"Rcy\":\"Р\",\"rcy\":\"р\",\"rdca\":\"⤷\",\"rdldhar\":\"⥩\",\"rdquo\":\"”\",\"rdquor\":\"”\",\"rdsh\":\"↳\",\"real\":\"ℜ\",\"realine\":\"ℛ\",\"realpart\":\"ℜ\",\"reals\":\"ℝ\",\"Re\":\"ℜ\",\"rect\":\"▭\",\"reg\":\"®\",\"REG\":\"®\",\"ReverseElement\":\"∋\",\"ReverseEquilibrium\":\"⇋\",\"ReverseUpEquilibrium\":\"⥯\",\"rfisht\":\"⥽\",\"rfloor\":\"⌋\",\"rfr\":\"𝔯\",\"Rfr\":\"ℜ\",\"rHar\":\"⥤\",\"rhard\":\"⇁\",\"rharu\":\"⇀\",\"rharul\":\"⥬\",\"Rho\":\"Ρ\",\"rho\":\"ρ\",\"rhov\":\"ϱ\",\"RightAngleBracket\":\"⟩\",\"RightArrowBar\":\"⇥\",\"rightarrow\":\"→\",\"RightArrow\":\"→\",\"Rightarrow\":\"⇒\",\"RightArrowLeftArrow\":\"⇄\",\"rightarrowtail\":\"↣\",\"RightCeiling\":\"⌉\",\"RightDoubleBracket\":\"⟧\",\"RightDownTeeVector\":\"⥝\",\"RightDownVectorBar\":\"⥕\",\"RightDownVector\":\"⇂\",\"RightFloor\":\"⌋\",\"rightharpoondown\":\"⇁\",\"rightharpoonup\":\"⇀\",\"rightleftarrows\":\"⇄\",\"rightleftharpoons\":\"⇌\",\"rightrightarrows\":\"⇉\",\"rightsquigarrow\":\"↝\",\"RightTeeArrow\":\"↦\",\"RightTee\":\"⊢\",\"RightTeeVector\":\"⥛\",\"rightthreetimes\":\"⋌\",\"RightTriangleBar\":\"⧐\",\"RightTriangle\":\"⊳\",\"RightTriangleEqual\":\"⊵\",\"RightUpDownVector\":\"⥏\",\"RightUpTeeVector\":\"⥜\",\"RightUpVectorBar\":\"⥔\",\"RightUpVector\":\"↾\",\"RightVectorBar\":\"⥓\",\"RightVector\":\"⇀\",\"ring\":\"˚\",\"risingdotseq\":\"≓\",\"rlarr\":\"⇄\",\"rlhar\":\"⇌\",\"rlm\":\"‏\",\"rmoustache\":\"⎱\",\"rmoust\":\"⎱\",\"rnmid\":\"⫮\",\"roang\":\"⟭\",\"roarr\":\"⇾\",\"robrk\":\"⟧\",\"ropar\":\"⦆\",\"ropf\":\"𝕣\",\"Ropf\":\"ℝ\",\"roplus\":\"⨮\",\"rotimes\":\"⨵\",\"RoundImplies\":\"⥰\",\"rpar\":\")\",\"rpargt\":\"⦔\",\"rppolint\":\"⨒\",\"rrarr\":\"⇉\",\"Rrightarrow\":\"⇛\",\"rsaquo\":\"›\",\"rscr\":\"𝓇\",\"Rscr\":\"ℛ\",\"rsh\":\"↱\",\"Rsh\":\"↱\",\"rsqb\":\"]\",\"rsquo\":\"’\",\"rsquor\":\"’\",\"rthree\":\"⋌\",\"rtimes\":\"⋊\",\"rtri\":\"▹\",\"rtrie\":\"⊵\",\"rtrif\":\"▸\",\"rtriltri\":\"⧎\",\"RuleDelayed\":\"⧴\",\"ruluhar\":\"⥨\",\"rx\":\"℞\",\"Sacute\":\"Ś\",\"sacute\":\"ś\",\"sbquo\":\"‚\",\"scap\":\"⪸\",\"Scaron\":\"Š\",\"scaron\":\"š\",\"Sc\":\"⪼\",\"sc\":\"≻\",\"sccue\":\"≽\",\"sce\":\"⪰\",\"scE\":\"⪴\",\"Scedil\":\"Ş\",\"scedil\":\"ş\",\"Scirc\":\"Ŝ\",\"scirc\":\"ŝ\",\"scnap\":\"⪺\",\"scnE\":\"⪶\",\"scnsim\":\"⋩\",\"scpolint\":\"⨓\",\"scsim\":\"≿\",\"Scy\":\"С\",\"scy\":\"с\",\"sdotb\":\"⊡\",\"sdot\":\"⋅\",\"sdote\":\"⩦\",\"searhk\":\"⤥\",\"searr\":\"↘\",\"seArr\":\"⇘\",\"searrow\":\"↘\",\"sect\":\"§\",\"semi\":\";\",\"seswar\":\"⤩\",\"setminus\":\"∖\",\"setmn\":\"∖\",\"sext\":\"✶\",\"Sfr\":\"𝔖\",\"sfr\":\"𝔰\",\"sfrown\":\"⌢\",\"sharp\":\"♯\",\"SHCHcy\":\"Щ\",\"shchcy\":\"щ\",\"SHcy\":\"Ш\",\"shcy\":\"ш\",\"ShortDownArrow\":\"↓\",\"ShortLeftArrow\":\"←\",\"shortmid\":\"∣\",\"shortparallel\":\"∥\",\"ShortRightArrow\":\"→\",\"ShortUpArrow\":\"↑\",\"shy\":\"­\",\"Sigma\":\"Σ\",\"sigma\":\"σ\",\"sigmaf\":\"ς\",\"sigmav\":\"ς\",\"sim\":\"∼\",\"simdot\":\"⩪\",\"sime\":\"≃\",\"simeq\":\"≃\",\"simg\":\"⪞\",\"simgE\":\"⪠\",\"siml\":\"⪝\",\"simlE\":\"⪟\",\"simne\":\"≆\",\"simplus\":\"⨤\",\"simrarr\":\"⥲\",\"slarr\":\"←\",\"SmallCircle\":\"∘\",\"smallsetminus\":\"∖\",\"smashp\":\"⨳\",\"smeparsl\":\"⧤\",\"smid\":\"∣\",\"smile\":\"⌣\",\"smt\":\"⪪\",\"smte\":\"⪬\",\"smtes\":\"⪬︀\",\"SOFTcy\":\"Ь\",\"softcy\":\"ь\",\"solbar\":\"⌿\",\"solb\":\"⧄\",\"sol\":\"/\",\"Sopf\":\"𝕊\",\"sopf\":\"𝕤\",\"spades\":\"♠\",\"spadesuit\":\"♠\",\"spar\":\"∥\",\"sqcap\":\"⊓\",\"sqcaps\":\"⊓︀\",\"sqcup\":\"⊔\",\"sqcups\":\"⊔︀\",\"Sqrt\":\"√\",\"sqsub\":\"⊏\",\"sqsube\":\"⊑\",\"sqsubset\":\"⊏\",\"sqsubseteq\":\"⊑\",\"sqsup\":\"⊐\",\"sqsupe\":\"⊒\",\"sqsupset\":\"⊐\",\"sqsupseteq\":\"⊒\",\"square\":\"□\",\"Square\":\"□\",\"SquareIntersection\":\"⊓\",\"SquareSubset\":\"⊏\",\"SquareSubsetEqual\":\"⊑\",\"SquareSuperset\":\"⊐\",\"SquareSupersetEqual\":\"⊒\",\"SquareUnion\":\"⊔\",\"squarf\":\"▪\",\"squ\":\"□\",\"squf\":\"▪\",\"srarr\":\"→\",\"Sscr\":\"𝒮\",\"sscr\":\"𝓈\",\"ssetmn\":\"∖\",\"ssmile\":\"⌣\",\"sstarf\":\"⋆\",\"Star\":\"⋆\",\"star\":\"☆\",\"starf\":\"★\",\"straightepsilon\":\"ϵ\",\"straightphi\":\"ϕ\",\"strns\":\"¯\",\"sub\":\"⊂\",\"Sub\":\"⋐\",\"subdot\":\"⪽\",\"subE\":\"⫅\",\"sube\":\"⊆\",\"subedot\":\"⫃\",\"submult\":\"⫁\",\"subnE\":\"⫋\",\"subne\":\"⊊\",\"subplus\":\"⪿\",\"subrarr\":\"⥹\",\"subset\":\"⊂\",\"Subset\":\"⋐\",\"subseteq\":\"⊆\",\"subseteqq\":\"⫅\",\"SubsetEqual\":\"⊆\",\"subsetneq\":\"⊊\",\"subsetneqq\":\"⫋\",\"subsim\":\"⫇\",\"subsub\":\"⫕\",\"subsup\":\"⫓\",\"succapprox\":\"⪸\",\"succ\":\"≻\",\"succcurlyeq\":\"≽\",\"Succeeds\":\"≻\",\"SucceedsEqual\":\"⪰\",\"SucceedsSlantEqual\":\"≽\",\"SucceedsTilde\":\"≿\",\"succeq\":\"⪰\",\"succnapprox\":\"⪺\",\"succneqq\":\"⪶\",\"succnsim\":\"⋩\",\"succsim\":\"≿\",\"SuchThat\":\"∋\",\"sum\":\"∑\",\"Sum\":\"∑\",\"sung\":\"♪\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"sup\":\"⊃\",\"Sup\":\"⋑\",\"supdot\":\"⪾\",\"supdsub\":\"⫘\",\"supE\":\"⫆\",\"supe\":\"⊇\",\"supedot\":\"⫄\",\"Superset\":\"⊃\",\"SupersetEqual\":\"⊇\",\"suphsol\":\"⟉\",\"suphsub\":\"⫗\",\"suplarr\":\"⥻\",\"supmult\":\"⫂\",\"supnE\":\"⫌\",\"supne\":\"⊋\",\"supplus\":\"⫀\",\"supset\":\"⊃\",\"Supset\":\"⋑\",\"supseteq\":\"⊇\",\"supseteqq\":\"⫆\",\"supsetneq\":\"⊋\",\"supsetneqq\":\"⫌\",\"supsim\":\"⫈\",\"supsub\":\"⫔\",\"supsup\":\"⫖\",\"swarhk\":\"⤦\",\"swarr\":\"↙\",\"swArr\":\"⇙\",\"swarrow\":\"↙\",\"swnwar\":\"⤪\",\"szlig\":\"ß\",\"Tab\":\"\\t\",\"target\":\"⌖\",\"Tau\":\"Τ\",\"tau\":\"τ\",\"tbrk\":\"⎴\",\"Tcaron\":\"Ť\",\"tcaron\":\"ť\",\"Tcedil\":\"Ţ\",\"tcedil\":\"ţ\",\"Tcy\":\"Т\",\"tcy\":\"т\",\"tdot\":\"⃛\",\"telrec\":\"⌕\",\"Tfr\":\"𝔗\",\"tfr\":\"𝔱\",\"there4\":\"∴\",\"therefore\":\"∴\",\"Therefore\":\"∴\",\"Theta\":\"Θ\",\"theta\":\"θ\",\"thetasym\":\"ϑ\",\"thetav\":\"ϑ\",\"thickapprox\":\"≈\",\"thicksim\":\"∼\",\"ThickSpace\":\"  \",\"ThinSpace\":\" \",\"thinsp\":\" \",\"thkap\":\"≈\",\"thksim\":\"∼\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"tilde\":\"˜\",\"Tilde\":\"∼\",\"TildeEqual\":\"≃\",\"TildeFullEqual\":\"≅\",\"TildeTilde\":\"≈\",\"timesbar\":\"⨱\",\"timesb\":\"⊠\",\"times\":\"×\",\"timesd\":\"⨰\",\"tint\":\"∭\",\"toea\":\"⤨\",\"topbot\":\"⌶\",\"topcir\":\"⫱\",\"top\":\"⊤\",\"Topf\":\"𝕋\",\"topf\":\"𝕥\",\"topfork\":\"⫚\",\"tosa\":\"⤩\",\"tprime\":\"‴\",\"trade\":\"™\",\"TRADE\":\"™\",\"triangle\":\"▵\",\"triangledown\":\"▿\",\"triangleleft\":\"◃\",\"trianglelefteq\":\"⊴\",\"triangleq\":\"≜\",\"triangleright\":\"▹\",\"trianglerighteq\":\"⊵\",\"tridot\":\"◬\",\"trie\":\"≜\",\"triminus\":\"⨺\",\"TripleDot\":\"⃛\",\"triplus\":\"⨹\",\"trisb\":\"⧍\",\"tritime\":\"⨻\",\"trpezium\":\"⏢\",\"Tscr\":\"𝒯\",\"tscr\":\"𝓉\",\"TScy\":\"Ц\",\"tscy\":\"ц\",\"TSHcy\":\"Ћ\",\"tshcy\":\"ћ\",\"Tstrok\":\"Ŧ\",\"tstrok\":\"ŧ\",\"twixt\":\"≬\",\"twoheadleftarrow\":\"↞\",\"twoheadrightarrow\":\"↠\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"uarr\":\"↑\",\"Uarr\":\"↟\",\"uArr\":\"⇑\",\"Uarrocir\":\"⥉\",\"Ubrcy\":\"Ў\",\"ubrcy\":\"ў\",\"Ubreve\":\"Ŭ\",\"ubreve\":\"ŭ\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ucy\":\"У\",\"ucy\":\"у\",\"udarr\":\"⇅\",\"Udblac\":\"Ű\",\"udblac\":\"ű\",\"udhar\":\"⥮\",\"ufisht\":\"⥾\",\"Ufr\":\"𝔘\",\"ufr\":\"𝔲\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uHar\":\"⥣\",\"uharl\":\"↿\",\"uharr\":\"↾\",\"uhblk\":\"▀\",\"ulcorn\":\"⌜\",\"ulcorner\":\"⌜\",\"ulcrop\":\"⌏\",\"ultri\":\"◸\",\"Umacr\":\"Ū\",\"umacr\":\"ū\",\"uml\":\"¨\",\"UnderBar\":\"_\",\"UnderBrace\":\"⏟\",\"UnderBracket\":\"⎵\",\"UnderParenthesis\":\"⏝\",\"Union\":\"⋃\",\"UnionPlus\":\"⊎\",\"Uogon\":\"Ų\",\"uogon\":\"ų\",\"Uopf\":\"𝕌\",\"uopf\":\"𝕦\",\"UpArrowBar\":\"⤒\",\"uparrow\":\"↑\",\"UpArrow\":\"↑\",\"Uparrow\":\"⇑\",\"UpArrowDownArrow\":\"⇅\",\"updownarrow\":\"↕\",\"UpDownArrow\":\"↕\",\"Updownarrow\":\"⇕\",\"UpEquilibrium\":\"⥮\",\"upharpoonleft\":\"↿\",\"upharpoonright\":\"↾\",\"uplus\":\"⊎\",\"UpperLeftArrow\":\"↖\",\"UpperRightArrow\":\"↗\",\"upsi\":\"υ\",\"Upsi\":\"ϒ\",\"upsih\":\"ϒ\",\"Upsilon\":\"Υ\",\"upsilon\":\"υ\",\"UpTeeArrow\":\"↥\",\"UpTee\":\"⊥\",\"upuparrows\":\"⇈\",\"urcorn\":\"⌝\",\"urcorner\":\"⌝\",\"urcrop\":\"⌎\",\"Uring\":\"Ů\",\"uring\":\"ů\",\"urtri\":\"◹\",\"Uscr\":\"𝒰\",\"uscr\":\"𝓊\",\"utdot\":\"⋰\",\"Utilde\":\"Ũ\",\"utilde\":\"ũ\",\"utri\":\"▵\",\"utrif\":\"▴\",\"uuarr\":\"⇈\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"uwangle\":\"⦧\",\"vangrt\":\"⦜\",\"varepsilon\":\"ϵ\",\"varkappa\":\"ϰ\",\"varnothing\":\"∅\",\"varphi\":\"ϕ\",\"varpi\":\"ϖ\",\"varpropto\":\"∝\",\"varr\":\"↕\",\"vArr\":\"⇕\",\"varrho\":\"ϱ\",\"varsigma\":\"ς\",\"varsubsetneq\":\"⊊︀\",\"varsubsetneqq\":\"⫋︀\",\"varsupsetneq\":\"⊋︀\",\"varsupsetneqq\":\"⫌︀\",\"vartheta\":\"ϑ\",\"vartriangleleft\":\"⊲\",\"vartriangleright\":\"⊳\",\"vBar\":\"⫨\",\"Vbar\":\"⫫\",\"vBarv\":\"⫩\",\"Vcy\":\"В\",\"vcy\":\"в\",\"vdash\":\"⊢\",\"vDash\":\"⊨\",\"Vdash\":\"⊩\",\"VDash\":\"⊫\",\"Vdashl\":\"⫦\",\"veebar\":\"⊻\",\"vee\":\"∨\",\"Vee\":\"⋁\",\"veeeq\":\"≚\",\"vellip\":\"⋮\",\"verbar\":\"|\",\"Verbar\":\"‖\",\"vert\":\"|\",\"Vert\":\"‖\",\"VerticalBar\":\"∣\",\"VerticalLine\":\"|\",\"VerticalSeparator\":\"❘\",\"VerticalTilde\":\"≀\",\"VeryThinSpace\":\" \",\"Vfr\":\"𝔙\",\"vfr\":\"𝔳\",\"vltri\":\"⊲\",\"vnsub\":\"⊂⃒\",\"vnsup\":\"⊃⃒\",\"Vopf\":\"𝕍\",\"vopf\":\"𝕧\",\"vprop\":\"∝\",\"vrtri\":\"⊳\",\"Vscr\":\"𝒱\",\"vscr\":\"𝓋\",\"vsubnE\":\"⫋︀\",\"vsubne\":\"⊊︀\",\"vsupnE\":\"⫌︀\",\"vsupne\":\"⊋︀\",\"Vvdash\":\"⊪\",\"vzigzag\":\"⦚\",\"Wcirc\":\"Ŵ\",\"wcirc\":\"ŵ\",\"wedbar\":\"⩟\",\"wedge\":\"∧\",\"Wedge\":\"⋀\",\"wedgeq\":\"≙\",\"weierp\":\"℘\",\"Wfr\":\"𝔚\",\"wfr\":\"𝔴\",\"Wopf\":\"𝕎\",\"wopf\":\"𝕨\",\"wp\":\"℘\",\"wr\":\"≀\",\"wreath\":\"≀\",\"Wscr\":\"𝒲\",\"wscr\":\"𝓌\",\"xcap\":\"⋂\",\"xcirc\":\"◯\",\"xcup\":\"⋃\",\"xdtri\":\"▽\",\"Xfr\":\"𝔛\",\"xfr\":\"𝔵\",\"xharr\":\"⟷\",\"xhArr\":\"⟺\",\"Xi\":\"Ξ\",\"xi\":\"ξ\",\"xlarr\":\"⟵\",\"xlArr\":\"⟸\",\"xmap\":\"⟼\",\"xnis\":\"⋻\",\"xodot\":\"⨀\",\"Xopf\":\"𝕏\",\"xopf\":\"𝕩\",\"xoplus\":\"⨁\",\"xotime\":\"⨂\",\"xrarr\":\"⟶\",\"xrArr\":\"⟹\",\"Xscr\":\"𝒳\",\"xscr\":\"𝓍\",\"xsqcup\":\"⨆\",\"xuplus\":\"⨄\",\"xutri\":\"△\",\"xvee\":\"⋁\",\"xwedge\":\"⋀\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"YAcy\":\"Я\",\"yacy\":\"я\",\"Ycirc\":\"Ŷ\",\"ycirc\":\"ŷ\",\"Ycy\":\"Ы\",\"ycy\":\"ы\",\"yen\":\"¥\",\"Yfr\":\"𝔜\",\"yfr\":\"𝔶\",\"YIcy\":\"Ї\",\"yicy\":\"ї\",\"Yopf\":\"𝕐\",\"yopf\":\"𝕪\",\"Yscr\":\"𝒴\",\"yscr\":\"𝓎\",\"YUcy\":\"Ю\",\"yucy\":\"ю\",\"yuml\":\"ÿ\",\"Yuml\":\"Ÿ\",\"Zacute\":\"Ź\",\"zacute\":\"ź\",\"Zcaron\":\"Ž\",\"zcaron\":\"ž\",\"Zcy\":\"З\",\"zcy\":\"з\",\"Zdot\":\"Ż\",\"zdot\":\"ż\",\"zeetrf\":\"ℨ\",\"ZeroWidthSpace\":\"​\",\"Zeta\":\"Ζ\",\"zeta\":\"ζ\",\"zfr\":\"𝔷\",\"Zfr\":\"ℨ\",\"ZHcy\":\"Ж\",\"zhcy\":\"ж\",\"zigrarr\":\"⇝\",\"zopf\":\"𝕫\",\"Zopf\":\"ℤ\",\"Zscr\":\"𝒵\",\"zscr\":\"𝓏\",\"zwj\":\"‍\",\"zwnj\":\"‌\"}\n","{\"Aacute\":\"Á\",\"aacute\":\"á\",\"Acirc\":\"Â\",\"acirc\":\"â\",\"acute\":\"´\",\"AElig\":\"Æ\",\"aelig\":\"æ\",\"Agrave\":\"À\",\"agrave\":\"à\",\"amp\":\"&\",\"AMP\":\"&\",\"Aring\":\"Å\",\"aring\":\"å\",\"Atilde\":\"Ã\",\"atilde\":\"ã\",\"Auml\":\"Ä\",\"auml\":\"ä\",\"brvbar\":\"¦\",\"Ccedil\":\"Ç\",\"ccedil\":\"ç\",\"cedil\":\"¸\",\"cent\":\"¢\",\"copy\":\"©\",\"COPY\":\"©\",\"curren\":\"¤\",\"deg\":\"°\",\"divide\":\"÷\",\"Eacute\":\"É\",\"eacute\":\"é\",\"Ecirc\":\"Ê\",\"ecirc\":\"ê\",\"Egrave\":\"È\",\"egrave\":\"è\",\"ETH\":\"Ð\",\"eth\":\"ð\",\"Euml\":\"Ë\",\"euml\":\"ë\",\"frac12\":\"½\",\"frac14\":\"¼\",\"frac34\":\"¾\",\"gt\":\">\",\"GT\":\">\",\"Iacute\":\"Í\",\"iacute\":\"í\",\"Icirc\":\"Î\",\"icirc\":\"î\",\"iexcl\":\"¡\",\"Igrave\":\"Ì\",\"igrave\":\"ì\",\"iquest\":\"¿\",\"Iuml\":\"Ï\",\"iuml\":\"ï\",\"laquo\":\"«\",\"lt\":\"<\",\"LT\":\"<\",\"macr\":\"¯\",\"micro\":\"µ\",\"middot\":\"·\",\"nbsp\":\" \",\"not\":\"¬\",\"Ntilde\":\"Ñ\",\"ntilde\":\"ñ\",\"Oacute\":\"Ó\",\"oacute\":\"ó\",\"Ocirc\":\"Ô\",\"ocirc\":\"ô\",\"Ograve\":\"Ò\",\"ograve\":\"ò\",\"ordf\":\"ª\",\"ordm\":\"º\",\"Oslash\":\"Ø\",\"oslash\":\"ø\",\"Otilde\":\"Õ\",\"otilde\":\"õ\",\"Ouml\":\"Ö\",\"ouml\":\"ö\",\"para\":\"¶\",\"plusmn\":\"±\",\"pound\":\"£\",\"quot\":\"\\\"\",\"QUOT\":\"\\\"\",\"raquo\":\"»\",\"reg\":\"®\",\"REG\":\"®\",\"sect\":\"§\",\"shy\":\"­\",\"sup1\":\"¹\",\"sup2\":\"²\",\"sup3\":\"³\",\"szlig\":\"ß\",\"THORN\":\"Þ\",\"thorn\":\"þ\",\"times\":\"×\",\"Uacute\":\"Ú\",\"uacute\":\"ú\",\"Ucirc\":\"Û\",\"ucirc\":\"û\",\"Ugrave\":\"Ù\",\"ugrave\":\"ù\",\"uml\":\"¨\",\"Uuml\":\"Ü\",\"uuml\":\"ü\",\"Yacute\":\"Ý\",\"yacute\":\"ý\",\"yen\":\"¥\",\"yuml\":\"ÿ\"}\n","{\"amp\":\"&\",\"apos\":\"'\",\"gt\":\">\",\"lt\":\"<\",\"quot\":\"\\\"\"}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decode_json_1 = __importDefault(require(\"./maps/decode.json\"));\n// Adapted from https://github.com/mathiasbynens/he/blob/master/src/he.js#L94-L119\nvar fromCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.fromCodePoint ||\n function (codePoint) {\n var output = \"\";\n if (codePoint > 0xffff) {\n codePoint -= 0x10000;\n output += String.fromCharCode(((codePoint >>> 10) & 0x3ff) | 0xd800);\n codePoint = 0xdc00 | (codePoint & 0x3ff);\n }\n output += String.fromCharCode(codePoint);\n return output;\n };\nfunction decodeCodePoint(codePoint) {\n if ((codePoint >= 0xd800 && codePoint <= 0xdfff) || codePoint > 0x10ffff) {\n return \"\\uFFFD\";\n }\n if (codePoint in decode_json_1.default) {\n codePoint = decode_json_1.default[codePoint];\n }\n return fromCodePoint(codePoint);\n}\nexports.default = decodeCodePoint;\n","{\"0\":65533,\"128\":8364,\"130\":8218,\"131\":402,\"132\":8222,\"133\":8230,\"134\":8224,\"135\":8225,\"136\":710,\"137\":8240,\"138\":352,\"139\":8249,\"140\":338,\"142\":381,\"145\":8216,\"146\":8217,\"147\":8220,\"148\":8221,\"149\":8226,\"150\":8211,\"151\":8212,\"152\":732,\"153\":8482,\"154\":353,\"155\":8250,\"156\":339,\"158\":382,\"159\":376}\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.escapeUTF8 = exports.escape = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.encodeXML = void 0;\nvar xml_json_1 = __importDefault(require(\"./maps/xml.json\"));\nvar inverseXML = getInverseObj(xml_json_1.default);\nvar xmlReplacer = getInverseReplacer(inverseXML);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using XML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `ü`) will be used.\n */\nexports.encodeXML = getASCIIEncoder(inverseXML);\nvar entities_json_1 = __importDefault(require(\"./maps/entities.json\"));\nvar inverseHTML = getInverseObj(entities_json_1.default);\nvar htmlReplacer = getInverseReplacer(inverseHTML);\n/**\n * Encodes all entities and non-ASCII characters in the input.\n *\n * This includes characters that are valid ASCII characters in HTML documents.\n * For example `#` will be encoded as `#`. To get a more compact output,\n * consider using the `encodeNonAsciiHTML` function.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `ü`) will be used.\n */\nexports.encodeHTML = getInverse(inverseHTML, htmlReplacer);\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in HTML\n * documents using HTML entities.\n *\n * If a character has no equivalent entity, a\n * numeric hexadecimal reference (eg. `ü`) will be used.\n */\nexports.encodeNonAsciiHTML = getASCIIEncoder(inverseHTML);\nfunction getInverseObj(obj) {\n return Object.keys(obj)\n .sort()\n .reduce(function (inverse, name) {\n inverse[obj[name]] = \"&\" + name + \";\";\n return inverse;\n }, {});\n}\nfunction getInverseReplacer(inverse) {\n var single = [];\n var multiple = [];\n for (var _i = 0, _a = Object.keys(inverse); _i < _a.length; _i++) {\n var k = _a[_i];\n if (k.length === 1) {\n // Add value to single array\n single.push(\"\\\\\" + k);\n }\n else {\n // Add value to multiple array\n multiple.push(k);\n }\n }\n // Add ranges to single characters.\n single.sort();\n for (var start = 0; start < single.length - 1; start++) {\n // Find the end of a run of characters\n var end = start;\n while (end < single.length - 1 &&\n single[end].charCodeAt(1) + 1 === single[end + 1].charCodeAt(1)) {\n end += 1;\n }\n var count = 1 + end - start;\n // We want to replace at least three characters\n if (count < 3)\n continue;\n single.splice(start, count, single[start] + \"-\" + single[end]);\n }\n multiple.unshift(\"[\" + single.join(\"\") + \"]\");\n return new RegExp(multiple.join(\"|\"), \"g\");\n}\n// /[^\\0-\\x7F]/gu\nvar reNonASCII = /(?:[\\x80-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF])/g;\nvar getCodePoint = \n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nString.prototype.codePointAt != null\n ? // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n function (str) { return str.codePointAt(0); }\n : // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n function (c) {\n return (c.charCodeAt(0) - 0xd800) * 0x400 +\n c.charCodeAt(1) -\n 0xdc00 +\n 0x10000;\n };\nfunction singleCharReplacer(c) {\n return \"&#x\" + (c.length > 1 ? getCodePoint(c) : c.charCodeAt(0))\n .toString(16)\n .toUpperCase() + \";\";\n}\nfunction getInverse(inverse, re) {\n return function (data) {\n return data\n .replace(re, function (name) { return inverse[name]; })\n .replace(reNonASCII, singleCharReplacer);\n };\n}\nvar reEscapeChars = new RegExp(xmlReplacer.source + \"|\" + reNonASCII.source, \"g\");\n/**\n * Encodes all non-ASCII characters, as well as characters not valid in XML\n * documents using numeric hexadecimal reference (eg. `ü`).\n *\n * Have a look at `escapeUTF8` if you want a more concise output at the expense\n * of reduced transportability.\n *\n * @param data String to escape.\n */\nfunction escape(data) {\n return data.replace(reEscapeChars, singleCharReplacer);\n}\nexports.escape = escape;\n/**\n * Encodes all characters not valid in XML documents using numeric hexadecimal\n * reference (eg. `ü`).\n *\n * Note that the output will be character-set dependent.\n *\n * @param data String to escape.\n */\nfunction escapeUTF8(data) {\n return data.replace(xmlReplacer, singleCharReplacer);\n}\nexports.escapeUTF8 = escapeUTF8;\nfunction getASCIIEncoder(obj) {\n return function (data) {\n return data.replace(reEscapeChars, function (c) { return obj[c] || singleCharReplacer(c); });\n };\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prevElementSibling = exports.nextElementSibling = exports.getName = exports.hasAttrib = exports.getAttributeValue = exports.getSiblings = exports.getParent = exports.getChildren = void 0;\nvar domhandler_1 = require(\"domhandler\");\nvar emptyArray = [];\n/**\n * Get a node's children.\n *\n * @param elem Node to get the children of.\n * @returns `elem`'s children, or an empty array.\n */\nfunction getChildren(elem) {\n var _a;\n return (_a = elem.children) !== null && _a !== void 0 ? _a : emptyArray;\n}\nexports.getChildren = getChildren;\n/**\n * Get a node's parent.\n *\n * @param elem Node to get the parent of.\n * @returns `elem`'s parent node.\n */\nfunction getParent(elem) {\n return elem.parent || null;\n}\nexports.getParent = getParent;\n/**\n * Gets an elements siblings, including the element itself.\n *\n * Attempts to get the children through the element's parent first.\n * If we don't have a parent (the element is a root node),\n * we walk the element's `prev` & `next` to get all remaining nodes.\n *\n * @param elem Element to get the siblings of.\n * @returns `elem`'s siblings.\n */\nfunction getSiblings(elem) {\n var _a, _b;\n var parent = getParent(elem);\n if (parent != null)\n return getChildren(parent);\n var siblings = [elem];\n var prev = elem.prev, next = elem.next;\n while (prev != null) {\n siblings.unshift(prev);\n (_a = prev, prev = _a.prev);\n }\n while (next != null) {\n siblings.push(next);\n (_b = next, next = _b.next);\n }\n return siblings;\n}\nexports.getSiblings = getSiblings;\n/**\n * Gets an attribute from an element.\n *\n * @param elem Element to check.\n * @param name Attribute name to retrieve.\n * @returns The element's attribute value, or `undefined`.\n */\nfunction getAttributeValue(elem, name) {\n var _a;\n return (_a = elem.attribs) === null || _a === void 0 ? void 0 : _a[name];\n}\nexports.getAttributeValue = getAttributeValue;\n/**\n * Checks whether an element has an attribute.\n *\n * @param elem Element to check.\n * @param name Attribute name to look for.\n * @returns Returns whether `elem` has the attribute `name`.\n */\nfunction hasAttrib(elem, name) {\n return (elem.attribs != null &&\n Object.prototype.hasOwnProperty.call(elem.attribs, name) &&\n elem.attribs[name] != null);\n}\nexports.hasAttrib = hasAttrib;\n/**\n * Get the tag name of an element.\n *\n * @param elem The element to get the name for.\n * @returns The tag name of `elem`.\n */\nfunction getName(elem) {\n return elem.name;\n}\nexports.getName = getName;\n/**\n * Returns the next element sibling of a node.\n *\n * @param elem The element to get the next sibling of.\n * @returns `elem`'s next sibling that is a tag.\n */\nfunction nextElementSibling(elem) {\n var _a;\n var next = elem.next;\n while (next !== null && !(0, domhandler_1.isTag)(next))\n (_a = next, next = _a.next);\n return next;\n}\nexports.nextElementSibling = nextElementSibling;\n/**\n * Returns the previous element sibling of a node.\n *\n * @param elem The element to get the previous sibling of.\n * @returns `elem`'s previous sibling that is a tag.\n */\nfunction prevElementSibling(elem) {\n var _a;\n var prev = elem.prev;\n while (prev !== null && !(0, domhandler_1.isTag)(prev))\n (_a = prev, prev = _a.prev);\n return prev;\n}\nexports.prevElementSibling = prevElementSibling;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepend = exports.prependChild = exports.append = exports.appendChild = exports.replaceElement = exports.removeElement = void 0;\n/**\n * Remove an element from the dom\n *\n * @param elem The element to be removed\n */\nfunction removeElement(elem) {\n if (elem.prev)\n elem.prev.next = elem.next;\n if (elem.next)\n elem.next.prev = elem.prev;\n if (elem.parent) {\n var childs = elem.parent.children;\n childs.splice(childs.lastIndexOf(elem), 1);\n }\n}\nexports.removeElement = removeElement;\n/**\n * Replace an element in the dom\n *\n * @param elem The element to be replaced\n * @param replacement The element to be added\n */\nfunction replaceElement(elem, replacement) {\n var prev = (replacement.prev = elem.prev);\n if (prev) {\n prev.next = replacement;\n }\n var next = (replacement.next = elem.next);\n if (next) {\n next.prev = replacement;\n }\n var parent = (replacement.parent = elem.parent);\n if (parent) {\n var childs = parent.children;\n childs[childs.lastIndexOf(elem)] = replacement;\n }\n}\nexports.replaceElement = replaceElement;\n/**\n * Append a child to an element.\n *\n * @param elem The element to append to.\n * @param child The element to be added as a child.\n */\nfunction appendChild(elem, child) {\n removeElement(child);\n child.next = null;\n child.parent = elem;\n if (elem.children.push(child) > 1) {\n var sibling = elem.children[elem.children.length - 2];\n sibling.next = child;\n child.prev = sibling;\n }\n else {\n child.prev = null;\n }\n}\nexports.appendChild = appendChild;\n/**\n * Append an element after another.\n *\n * @param elem The element to append after.\n * @param next The element be added.\n */\nfunction append(elem, next) {\n removeElement(next);\n var parent = elem.parent;\n var currNext = elem.next;\n next.next = currNext;\n next.prev = elem;\n elem.next = next;\n next.parent = parent;\n if (currNext) {\n currNext.prev = next;\n if (parent) {\n var childs = parent.children;\n childs.splice(childs.lastIndexOf(currNext), 0, next);\n }\n }\n else if (parent) {\n parent.children.push(next);\n }\n}\nexports.append = append;\n/**\n * Prepend a child to an element.\n *\n * @param elem The element to prepend before.\n * @param child The element to be added as a child.\n */\nfunction prependChild(elem, child) {\n removeElement(child);\n child.parent = elem;\n child.prev = null;\n if (elem.children.unshift(child) !== 1) {\n var sibling = elem.children[1];\n sibling.prev = child;\n child.next = sibling;\n }\n else {\n child.next = null;\n }\n}\nexports.prependChild = prependChild;\n/**\n * Prepend an element before another.\n *\n * @param elem The element to prepend before.\n * @param prev The element be added.\n */\nfunction prepend(elem, prev) {\n removeElement(prev);\n var parent = elem.parent;\n if (parent) {\n var childs = parent.children;\n childs.splice(childs.indexOf(elem), 0, prev);\n }\n if (elem.prev) {\n elem.prev.next = prev;\n }\n prev.parent = parent;\n prev.prev = elem.prev;\n prev.next = elem;\n elem.prev = prev;\n}\nexports.prepend = prepend;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.findAll = exports.existsOne = exports.findOne = exports.findOneChild = exports.find = exports.filter = void 0;\nvar domhandler_1 = require(\"domhandler\");\n/**\n * Search a node and its children for nodes passing a test function.\n *\n * @param test Function to test nodes on.\n * @param node Node to search. Will be included in the result set if it matches.\n * @param recurse Also consider child nodes.\n * @param limit Maximum number of nodes to return.\n * @returns All nodes passing `test`.\n */\nfunction filter(test, node, recurse, limit) {\n if (recurse === void 0) { recurse = true; }\n if (limit === void 0) { limit = Infinity; }\n if (!Array.isArray(node))\n node = [node];\n return find(test, node, recurse, limit);\n}\nexports.filter = filter;\n/**\n * Search an array of node and its children for nodes passing a test function.\n *\n * @param test Function to test nodes on.\n * @param nodes Array of nodes to search.\n * @param recurse Also consider child nodes.\n * @param limit Maximum number of nodes to return.\n * @returns All nodes passing `test`.\n */\nfunction find(test, nodes, recurse, limit) {\n var result = [];\n for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) {\n var elem = nodes_1[_i];\n if (test(elem)) {\n result.push(elem);\n if (--limit <= 0)\n break;\n }\n if (recurse && (0, domhandler_1.hasChildren)(elem) && elem.children.length > 0) {\n var children = find(test, elem.children, recurse, limit);\n result.push.apply(result, children);\n limit -= children.length;\n if (limit <= 0)\n break;\n }\n }\n return result;\n}\nexports.find = find;\n/**\n * Finds the first element inside of an array that matches a test function.\n *\n * @param test Function to test nodes on.\n * @param nodes Array of nodes to search.\n * @returns The first node in the array that passes `test`.\n */\nfunction findOneChild(test, nodes) {\n return nodes.find(test);\n}\nexports.findOneChild = findOneChild;\n/**\n * Finds one element in a tree that passes a test.\n *\n * @param test Function to test nodes on.\n * @param nodes Array of nodes to search.\n * @param recurse Also consider child nodes.\n * @returns The first child node that passes `test`.\n */\nfunction findOne(test, nodes, recurse) {\n if (recurse === void 0) { recurse = true; }\n var elem = null;\n for (var i = 0; i < nodes.length && !elem; i++) {\n var checked = nodes[i];\n if (!(0, domhandler_1.isTag)(checked)) {\n continue;\n }\n else if (test(checked)) {\n elem = checked;\n }\n else if (recurse && checked.children.length > 0) {\n elem = findOne(test, checked.children);\n }\n }\n return elem;\n}\nexports.findOne = findOne;\n/**\n * @param test Function to test nodes on.\n * @param nodes Array of nodes to search.\n * @returns Whether a tree of nodes contains at least one node passing a test.\n */\nfunction existsOne(test, nodes) {\n return nodes.some(function (checked) {\n return (0, domhandler_1.isTag)(checked) &&\n (test(checked) ||\n (checked.children.length > 0 &&\n existsOne(test, checked.children)));\n });\n}\nexports.existsOne = existsOne;\n/**\n * Search and array of nodes and its children for nodes passing a test function.\n *\n * Same as `find`, only with less options, leading to reduced complexity.\n *\n * @param test Function to test nodes on.\n * @param nodes Array of nodes to search.\n * @returns All nodes passing `test`.\n */\nfunction findAll(test, nodes) {\n var _a;\n var result = [];\n var stack = nodes.filter(domhandler_1.isTag);\n var elem;\n while ((elem = stack.shift())) {\n var children = (_a = elem.children) === null || _a === void 0 ? void 0 : _a.filter(domhandler_1.isTag);\n if (children && children.length > 0) {\n stack.unshift.apply(stack, children);\n }\n if (test(elem))\n result.push(elem);\n }\n return result;\n}\nexports.findAll = findAll;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getElementsByTagType = exports.getElementsByTagName = exports.getElementById = exports.getElements = exports.testElement = void 0;\nvar domhandler_1 = require(\"domhandler\");\nvar querying_1 = require(\"./querying\");\nvar Checks = {\n tag_name: function (name) {\n if (typeof name === \"function\") {\n return function (elem) { return (0, domhandler_1.isTag)(elem) && name(elem.name); };\n }\n else if (name === \"*\") {\n return domhandler_1.isTag;\n }\n return function (elem) { return (0, domhandler_1.isTag)(elem) && elem.name === name; };\n },\n tag_type: function (type) {\n if (typeof type === \"function\") {\n return function (elem) { return type(elem.type); };\n }\n return function (elem) { return elem.type === type; };\n },\n tag_contains: function (data) {\n if (typeof data === \"function\") {\n return function (elem) { return (0, domhandler_1.isText)(elem) && data(elem.data); };\n }\n return function (elem) { return (0, domhandler_1.isText)(elem) && elem.data === data; };\n },\n};\n/**\n * @param attrib Attribute to check.\n * @param value Attribute value to look for.\n * @returns A function to check whether the a node has an attribute with a particular value.\n */\nfunction getAttribCheck(attrib, value) {\n if (typeof value === \"function\") {\n return function (elem) { return (0, domhandler_1.isTag)(elem) && value(elem.attribs[attrib]); };\n }\n return function (elem) { return (0, domhandler_1.isTag)(elem) && elem.attribs[attrib] === value; };\n}\n/**\n * @param a First function to combine.\n * @param b Second function to combine.\n * @returns A function taking a node and returning `true` if either\n * of the input functions returns `true` for the node.\n */\nfunction combineFuncs(a, b) {\n return function (elem) { return a(elem) || b(elem); };\n}\n/**\n * @param options An object describing nodes to look for.\n * @returns A function executing all checks in `options` and returning `true`\n * if any of them match a node.\n */\nfunction compileTest(options) {\n var funcs = Object.keys(options).map(function (key) {\n var value = options[key];\n return Object.prototype.hasOwnProperty.call(Checks, key)\n ? Checks[key](value)\n : getAttribCheck(key, value);\n });\n return funcs.length === 0 ? null : funcs.reduce(combineFuncs);\n}\n/**\n * @param options An object describing nodes to look for.\n * @param node The element to test.\n * @returns Whether the element matches the description in `options`.\n */\nfunction testElement(options, node) {\n var test = compileTest(options);\n return test ? test(node) : true;\n}\nexports.testElement = testElement;\n/**\n * @param options An object describing nodes to look for.\n * @param nodes Nodes to search through.\n * @param recurse Also consider child nodes.\n * @param limit Maximum number of nodes to return.\n * @returns All nodes that match `options`.\n */\nfunction getElements(options, nodes, recurse, limit) {\n if (limit === void 0) { limit = Infinity; }\n var test = compileTest(options);\n return test ? (0, querying_1.filter)(test, nodes, recurse, limit) : [];\n}\nexports.getElements = getElements;\n/**\n * @param id The unique ID attribute value to look for.\n * @param nodes Nodes to search through.\n * @param recurse Also consider child nodes.\n * @returns The node with the supplied ID.\n */\nfunction getElementById(id, nodes, recurse) {\n if (recurse === void 0) { recurse = true; }\n if (!Array.isArray(nodes))\n nodes = [nodes];\n return (0, querying_1.findOne)(getAttribCheck(\"id\", id), nodes, recurse);\n}\nexports.getElementById = getElementById;\n/**\n * @param tagName Tag name to search for.\n * @param nodes Nodes to search through.\n * @param recurse Also consider child nodes.\n * @param limit Maximum number of nodes to return.\n * @returns All nodes with the supplied `tagName`.\n */\nfunction getElementsByTagName(tagName, nodes, recurse, limit) {\n if (recurse === void 0) { recurse = true; }\n if (limit === void 0) { limit = Infinity; }\n return (0, querying_1.filter)(Checks.tag_name(tagName), nodes, recurse, limit);\n}\nexports.getElementsByTagName = getElementsByTagName;\n/**\n * @param type Element type to look for.\n * @param nodes Nodes to search through.\n * @param recurse Also consider child nodes.\n * @param limit Maximum number of nodes to return.\n * @returns All nodes with the supplied `type`.\n */\nfunction getElementsByTagType(type, nodes, recurse, limit) {\n if (recurse === void 0) { recurse = true; }\n if (limit === void 0) { limit = Infinity; }\n return (0, querying_1.filter)(Checks.tag_type(type), nodes, recurse, limit);\n}\nexports.getElementsByTagType = getElementsByTagType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uniqueSort = exports.compareDocumentPosition = exports.removeSubsets = void 0;\nvar domhandler_1 = require(\"domhandler\");\n/**\n * Given an array of nodes, remove any member that is contained by another.\n *\n * @param nodes Nodes to filter.\n * @returns Remaining nodes that aren't subtrees of each other.\n */\nfunction removeSubsets(nodes) {\n var idx = nodes.length;\n /*\n * Check if each node (or one of its ancestors) is already contained in the\n * array.\n */\n while (--idx >= 0) {\n var node = nodes[idx];\n /*\n * Remove the node if it is not unique.\n * We are going through the array from the end, so we only\n * have to check nodes that preceed the node under consideration in the array.\n */\n if (idx > 0 && nodes.lastIndexOf(node, idx - 1) >= 0) {\n nodes.splice(idx, 1);\n continue;\n }\n for (var ancestor = node.parent; ancestor; ancestor = ancestor.parent) {\n if (nodes.includes(ancestor)) {\n nodes.splice(idx, 1);\n break;\n }\n }\n }\n return nodes;\n}\nexports.removeSubsets = removeSubsets;\n/**\n * Compare the position of one node against another node in any other document.\n * The return value is a bitmask with the following values:\n *\n * Document order:\n * > There is an ordering, document order, defined on all the nodes in the\n * > document corresponding to the order in which the first character of the\n * > XML representation of each node occurs in the XML representation of the\n * > document after expansion of general entities. Thus, the document element\n * > node will be the first node. Element nodes occur before their children.\n * > Thus, document order orders element nodes in order of the occurrence of\n * > their start-tag in the XML (after expansion of entities). The attribute\n * > nodes of an element occur after the element and before its children. The\n * > relative order of attribute nodes is implementation-dependent./\n *\n * Source:\n * http://www.w3.org/TR/DOM-Level-3-Core/glossary.html#dt-document-order\n *\n * @param nodeA The first node to use in the comparison\n * @param nodeB The second node to use in the comparison\n * @returns A bitmask describing the input nodes' relative position.\n *\n * See http://dom.spec.whatwg.org/#dom-node-comparedocumentposition for\n * a description of these values.\n */\nfunction compareDocumentPosition(nodeA, nodeB) {\n var aParents = [];\n var bParents = [];\n if (nodeA === nodeB) {\n return 0;\n }\n var current = (0, domhandler_1.hasChildren)(nodeA) ? nodeA : nodeA.parent;\n while (current) {\n aParents.unshift(current);\n current = current.parent;\n }\n current = (0, domhandler_1.hasChildren)(nodeB) ? nodeB : nodeB.parent;\n while (current) {\n bParents.unshift(current);\n current = current.parent;\n }\n var maxIdx = Math.min(aParents.length, bParents.length);\n var idx = 0;\n while (idx < maxIdx && aParents[idx] === bParents[idx]) {\n idx++;\n }\n if (idx === 0) {\n return 1 /* DISCONNECTED */;\n }\n var sharedParent = aParents[idx - 1];\n var siblings = sharedParent.children;\n var aSibling = aParents[idx];\n var bSibling = bParents[idx];\n if (siblings.indexOf(aSibling) > siblings.indexOf(bSibling)) {\n if (sharedParent === nodeB) {\n return 4 /* FOLLOWING */ | 16 /* CONTAINED_BY */;\n }\n return 4 /* FOLLOWING */;\n }\n if (sharedParent === nodeA) {\n return 2 /* PRECEDING */ | 8 /* CONTAINS */;\n }\n return 2 /* PRECEDING */;\n}\nexports.compareDocumentPosition = compareDocumentPosition;\n/**\n * Sort an array of nodes based on their relative position in the document and\n * remove any duplicate nodes. If the array contains nodes that do not belong\n * to the same document, sort order is unspecified.\n *\n * @param nodes Array of DOM nodes.\n * @returns Collection of unique nodes, sorted in document order.\n */\nfunction uniqueSort(nodes) {\n nodes = nodes.filter(function (node, i, arr) { return !arr.includes(node, i + 1); });\n nodes.sort(function (a, b) {\n var relative = compareDocumentPosition(a, b);\n if (relative & 2 /* PRECEDING */) {\n return -1;\n }\n else if (relative & 4 /* FOLLOWING */) {\n return 1;\n }\n return 0;\n });\n return nodes;\n}\nexports.uniqueSort = uniqueSort;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getFeed = void 0;\nvar stringify_1 = require(\"./stringify\");\nvar legacy_1 = require(\"./legacy\");\n/**\n * Get the feed object from the root of a DOM tree.\n *\n * @param doc - The DOM to to extract the feed from.\n * @returns The feed.\n */\nfunction getFeed(doc) {\n var feedRoot = getOneElement(isValidFeed, doc);\n return !feedRoot\n ? null\n : feedRoot.name === \"feed\"\n ? getAtomFeed(feedRoot)\n : getRssFeed(feedRoot);\n}\nexports.getFeed = getFeed;\n/**\n * Parse an Atom feed.\n *\n * @param feedRoot The root of the feed.\n * @returns The parsed feed.\n */\nfunction getAtomFeed(feedRoot) {\n var _a;\n var childs = feedRoot.children;\n var feed = {\n type: \"atom\",\n items: (0, legacy_1.getElementsByTagName)(\"entry\", childs).map(function (item) {\n var _a;\n var children = item.children;\n var entry = { media: getMediaElements(children) };\n addConditionally(entry, \"id\", \"id\", children);\n addConditionally(entry, \"title\", \"title\", children);\n var href = (_a = getOneElement(\"link\", children)) === null || _a === void 0 ? void 0 : _a.attribs.href;\n if (href) {\n entry.link = href;\n }\n var description = fetch(\"summary\", children) || fetch(\"content\", children);\n if (description) {\n entry.description = description;\n }\n var pubDate = fetch(\"updated\", children);\n if (pubDate) {\n entry.pubDate = new Date(pubDate);\n }\n return entry;\n }),\n };\n addConditionally(feed, \"id\", \"id\", childs);\n addConditionally(feed, \"title\", \"title\", childs);\n var href = (_a = getOneElement(\"link\", childs)) === null || _a === void 0 ? void 0 : _a.attribs.href;\n if (href) {\n feed.link = href;\n }\n addConditionally(feed, \"description\", \"subtitle\", childs);\n var updated = fetch(\"updated\", childs);\n if (updated) {\n feed.updated = new Date(updated);\n }\n addConditionally(feed, \"author\", \"email\", childs, true);\n return feed;\n}\n/**\n * Parse a RSS feed.\n *\n * @param feedRoot The root of the feed.\n * @returns The parsed feed.\n */\nfunction getRssFeed(feedRoot) {\n var _a, _b;\n var childs = (_b = (_a = getOneElement(\"channel\", feedRoot.children)) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : [];\n var feed = {\n type: feedRoot.name.substr(0, 3),\n id: \"\",\n items: (0, legacy_1.getElementsByTagName)(\"item\", feedRoot.children).map(function (item) {\n var children = item.children;\n var entry = { media: getMediaElements(children) };\n addConditionally(entry, \"id\", \"guid\", children);\n addConditionally(entry, \"title\", \"title\", children);\n addConditionally(entry, \"link\", \"link\", children);\n addConditionally(entry, \"description\", \"description\", children);\n var pubDate = fetch(\"pubDate\", children);\n if (pubDate)\n entry.pubDate = new Date(pubDate);\n return entry;\n }),\n };\n addConditionally(feed, \"title\", \"title\", childs);\n addConditionally(feed, \"link\", \"link\", childs);\n addConditionally(feed, \"description\", \"description\", childs);\n var updated = fetch(\"lastBuildDate\", childs);\n if (updated) {\n feed.updated = new Date(updated);\n }\n addConditionally(feed, \"author\", \"managingEditor\", childs, true);\n return feed;\n}\nvar MEDIA_KEYS_STRING = [\"url\", \"type\", \"lang\"];\nvar MEDIA_KEYS_INT = [\n \"fileSize\",\n \"bitrate\",\n \"framerate\",\n \"samplingrate\",\n \"channels\",\n \"duration\",\n \"height\",\n \"width\",\n];\n/**\n * Get all media elements of a feed item.\n *\n * @param where Nodes to search in.\n * @returns Media elements.\n */\nfunction getMediaElements(where) {\n return (0, legacy_1.getElementsByTagName)(\"media:content\", where).map(function (elem) {\n var attribs = elem.attribs;\n var media = {\n medium: attribs.medium,\n isDefault: !!attribs.isDefault,\n };\n for (var _i = 0, MEDIA_KEYS_STRING_1 = MEDIA_KEYS_STRING; _i < MEDIA_KEYS_STRING_1.length; _i++) {\n var attrib = MEDIA_KEYS_STRING_1[_i];\n if (attribs[attrib]) {\n media[attrib] = attribs[attrib];\n }\n }\n for (var _a = 0, MEDIA_KEYS_INT_1 = MEDIA_KEYS_INT; _a < MEDIA_KEYS_INT_1.length; _a++) {\n var attrib = MEDIA_KEYS_INT_1[_a];\n if (attribs[attrib]) {\n media[attrib] = parseInt(attribs[attrib], 10);\n }\n }\n if (attribs.expression) {\n media.expression =\n attribs.expression;\n }\n return media;\n });\n}\n/**\n * Get one element by tag name.\n *\n * @param tagName Tag name to look for\n * @param node Node to search in\n * @returns The element or null\n */\nfunction getOneElement(tagName, node) {\n return (0, legacy_1.getElementsByTagName)(tagName, node, true, 1)[0];\n}\n/**\n * Get the text content of an element with a certain tag name.\n *\n * @param tagName Tag name to look for.\n * @param where Node to search in.\n * @param recurse Whether to recurse into child nodes.\n * @returns The text content of the element.\n */\nfunction fetch(tagName, where, recurse) {\n if (recurse === void 0) { recurse = false; }\n return (0, stringify_1.textContent)((0, legacy_1.getElementsByTagName)(tagName, where, recurse, 1)).trim();\n}\n/**\n * Adds a property to an object if it has a value.\n *\n * @param obj Object to be extended\n * @param prop Property name\n * @param tagName Tag name that contains the conditionally added property\n * @param where Element to search for the property\n * @param recurse Whether to recurse into child nodes.\n */\nfunction addConditionally(obj, prop, tagName, where, recurse) {\n if (recurse === void 0) { recurse = false; }\n var val = fetch(tagName, where, recurse);\n if (val)\n obj[prop] = val;\n}\n/**\n * Checks if an element is a feed root node.\n *\n * @param value The name of the element to check.\n * @returns Whether an element is a feed root node.\n */\nfunction isValidFeed(value) {\n return value === \"rss\" || value === \"feed\" || value === \"rdf:RDF\";\n}\n","import internalHTMLElementModels, {\n DefaultHTMLElementModelsStatic\n} from './defaultHTMLElementModels';\nimport HTMLElementModel from './HTMLElementModel';\nimport { HTMLModelRecord, TagName } from './model-types';\n\nexport default class HTMLModelRegistry {\n public readonly modelRecords: HTMLModelRecord =\n internalHTMLElementModels as HTMLModelRecord;\n\n constructor(\n customize?: (\n defaultHTMLElementModels: DefaultHTMLElementModelsStatic\n ) => HTMLModelRecord\n ) {\n if (typeof customize === 'function') {\n this.modelRecords = customize(internalHTMLElementModels);\n }\n }\n\n getElementModelFromTagName(\n tagName: E | TagName\n ): HTMLElementModel | null {\n if (tagName in this.modelRecords) {\n return this.modelRecords[tagName];\n }\n return null;\n }\n}\n","import { MixedStyleDeclaration } from '@native-html/css-processor';\nimport { textContent } from 'domutils';\nimport HTMLContentModel from './HTMLContentModel';\nimport HTMLElementModel from './HTMLElementModel';\nimport {\n AttribTagNames,\n EditsTagNames,\n EmbeddedTagNames,\n GroupingTagNames,\n InteractiveTagNames,\n MetadataTagNames,\n SectioningTagNames,\n TabularTagNames,\n TextLevelTagNames,\n UnsupportedTagNames,\n UntranslatableTagNames,\n HTMLModelRecord,\n ElementModelBase\n} from './model-types';\n\nconst UA_ANCHOR_COL = '#245dc1';\nconst UA_GRAY = '#CCC';\nconst UA_MARGIN_HZ = 30;\n\nconst bigMarginTopBottomStyle: MixedStyleDeclaration = {\n marginTop: '1em',\n marginBottom: '1em'\n};\n\nconst shortMarginTopBottomStyle: MixedStyleDeclaration = {\n marginTop: '.5em',\n marginBottom: '.5em'\n};\n\nconst lineThroughStyle: MixedStyleDeclaration = {\n textDecorationLine: 'line-through'\n};\n\nconst italicStyle: MixedStyleDeclaration = {\n fontStyle: 'italic'\n};\n\nconst monoStyle: MixedStyleDeclaration = {\n fontFamily: 'monospace'\n};\n\nconst boldStyle: MixedStyleDeclaration = {\n fontWeight: 'bold'\n};\n\nconst spacedBlockStyle: MixedStyleDeclaration = {\n ...bigMarginTopBottomStyle,\n marginLeft: UA_MARGIN_HZ,\n marginRight: UA_MARGIN_HZ\n};\n\nconst anchorStyle: MixedStyleDeclaration = {\n color: UA_ANCHOR_COL,\n textDecorationLine: 'underline',\n textDecorationColor: UA_ANCHOR_COL\n};\n\nconst leftBorderQuoteStyle: MixedStyleDeclaration = {\n borderLeftWidth: 2,\n borderLeftColor: UA_GRAY\n};\n\nconst dottedUnderlineStyle: MixedStyleDeclaration = {\n textDecorationLine: 'underline',\n textDecorationStyle: 'dotted'\n};\n\nconst solidUnderlineStyle: MixedStyleDeclaration = {\n textDecorationLine: 'underline',\n textDecorationStyle: 'solid'\n};\n\n// TODO, support directional styles\nconst listStyles: MixedStyleDeclaration = {\n ...bigMarginTopBottomStyle,\n paddingLeft: 30\n};\n\nconst preStyles: MixedStyleDeclaration = {\n whiteSpace: 'pre',\n ...monoStyle,\n ...bigMarginTopBottomStyle\n};\n\nfunction headerStyle(\n fontSize: string,\n marginSize: string\n): MixedStyleDeclaration {\n return {\n fontSize,\n marginTop: marginSize,\n marginBottom: marginSize,\n ...boldStyle\n };\n}\n\nconst getReactNativePropsForHeading: ElementModelBase['getReactNativeProps'] =\n ({ domNode }) => {\n const textLabel = textContent(domNode!);\n return {\n native: {\n accessible: true,\n accessibilityLabel: textLabel,\n accessibilityRole: 'header'\n }\n };\n };\n\nconst getReactNativePropsWithHref: ElementModelBase['getReactNativeProps'] =\n function getReactNativePropsWithHref({ attributes }) {\n if (typeof attributes.href === 'string' && attributes.href.length > 0) {\n return {\n native: {\n accessible: true,\n accessibilityRole: 'link'\n }\n };\n }\n };\n\nconst sectioningModelMap: HTMLModelRecord<\n SectioningTagNames,\n HTMLContentModel.block\n> = {\n address: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'address',\n mixedUAStyles: italicStyle\n }),\n article: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'article'\n }),\n aside: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'aside'\n }),\n body: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'body'\n }),\n footer: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'footer'\n }),\n h1: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h1',\n mixedUAStyles: headerStyle('2em', '.67em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n h2: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h2',\n mixedUAStyles: headerStyle('1.5em', '.83em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n h3: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h3',\n mixedUAStyles: headerStyle('1.17em', '1em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n h4: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h4',\n mixedUAStyles: headerStyle('1em', '1.33em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n h5: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h5',\n mixedUAStyles: headerStyle('.83em', '1.67em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n h6: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'h6',\n mixedUAStyles: headerStyle('.67em', '2.33em'),\n getReactNativeProps: getReactNativePropsForHeading\n }),\n header: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'header'\n }),\n hgroup: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'hgroup'\n }),\n nav: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'nav'\n }),\n section: HTMLElementModel.fromNativeModel({\n category: 'sectioning',\n tagName: 'section'\n })\n};\n\nconst unsupportedModelMap: HTMLModelRecord<\n UnsupportedTagNames,\n HTMLContentModel.none\n> = {\n area: HTMLElementModel.fromNativeModel({\n tagName: 'area',\n category: 'untranslatable',\n isVoid: true,\n getReactNativeProps: getReactNativePropsWithHref\n }),\n map: HTMLElementModel.fromNativeModel({\n tagName: 'map',\n category: 'untranslatable'\n })\n};\n\nconst attribsModelMap: HTMLModelRecord =\n {\n accesskey: HTMLElementModel.fromNativeModel({\n tagName: 'accesskey',\n category: 'untranslatable'\n }),\n caption: HTMLElementModel.fromNativeModel({\n tagName: 'caption',\n category: 'untranslatable'\n }),\n col: HTMLElementModel.fromNativeModel({\n tagName: 'col',\n category: 'untranslatable',\n isVoid: true\n }),\n colgroup: HTMLElementModel.fromNativeModel({\n tagName: 'colgroup',\n category: 'untranslatable'\n }),\n datalist: HTMLElementModel.fromNativeModel({\n tagName: 'datalist',\n category: 'untranslatable'\n }),\n source: HTMLElementModel.fromNativeModel({\n tagName: 'source',\n category: 'untranslatable',\n isVoid: true\n }),\n track: HTMLElementModel.fromNativeModel({\n tagName: 'track',\n category: 'untranslatable',\n isVoid: true\n }),\n optgroup: HTMLElementModel.fromNativeModel({\n tagName: 'optgroup',\n category: 'untranslatable'\n }),\n option: HTMLElementModel.fromNativeModel({\n tagName: 'option',\n category: 'untranslatable'\n }),\n param: HTMLElementModel.fromNativeModel({\n tagName: 'param',\n category: 'untranslatable',\n isVoid: true\n })\n };\n\nconst interactiveModelMap: HTMLModelRecord<\n InteractiveTagNames,\n HTMLContentModel.none\n> = {\n button: HTMLElementModel.fromNativeModel({\n tagName: 'button',\n category: 'interactive',\n reactNativeProps: {\n native: {\n accessibilityRole: 'button'\n }\n }\n }),\n fieldset: HTMLElementModel.fromNativeModel({\n tagName: 'fieldset',\n category: 'interactive'\n }),\n form: HTMLElementModel.fromNativeModel({\n tagName: 'form',\n category: 'interactive'\n }),\n input: HTMLElementModel.fromNativeModel({\n tagName: 'input',\n category: 'interactive',\n isVoid: true\n }),\n label: HTMLElementModel.fromNativeModel({\n tagName: 'label',\n category: 'interactive'\n }),\n legend: HTMLElementModel.fromNativeModel({\n tagName: 'legend',\n category: 'interactive'\n }),\n meter: HTMLElementModel.fromNativeModel({\n tagName: 'meter',\n category: 'interactive'\n }),\n progress: HTMLElementModel.fromNativeModel({\n tagName: 'progress',\n category: 'interactive'\n }),\n select: HTMLElementModel.fromNativeModel({\n tagName: 'select',\n category: 'interactive',\n reactNativeProps: {\n native: {\n accessible: true,\n accessibilityRole: 'combobox'\n }\n }\n }),\n details: HTMLElementModel.fromNativeModel({\n tagName: 'details',\n category: 'interactive'\n }),\n dialog: HTMLElementModel.fromNativeModel({\n tagName: 'dialog',\n category: 'interactive'\n }),\n output: HTMLElementModel.fromNativeModel({\n tagName: 'output',\n category: 'interactive'\n }),\n summary: HTMLElementModel.fromNativeModel({\n tagName: 'summary',\n category: 'interactive'\n }),\n textarea: HTMLElementModel.fromNativeModel({\n tagName: 'textarea',\n category: 'interactive'\n })\n};\n\nconst metadataModelMap: HTMLModelRecord<\n MetadataTagNames,\n HTMLContentModel.none\n> = {\n base: HTMLElementModel.fromNativeModel({\n tagName: 'base',\n category: 'untranslatable',\n isVoid: true\n }),\n head: HTMLElementModel.fromNativeModel({\n tagName: 'head',\n category: 'untranslatable',\n isOpaque: true\n }),\n link: HTMLElementModel.fromNativeModel({\n tagName: 'link',\n category: 'untranslatable',\n isVoid: true\n }),\n meta: HTMLElementModel.fromNativeModel({\n tagName: 'meta',\n category: 'untranslatable',\n isVoid: true\n }),\n title: HTMLElementModel.fromNativeModel({\n tagName: 'title',\n category: 'untranslatable'\n })\n};\n\nconst untranslatableModelMap: HTMLModelRecord<\n UntranslatableTagNames,\n HTMLContentModel.none\n> = {\n ...attribsModelMap,\n ...interactiveModelMap,\n ...unsupportedModelMap,\n ...metadataModelMap\n};\n\nconst groupingModelMap: HTMLModelRecord<\n GroupingTagNames,\n HTMLContentModel.block\n> = {\n blockquote: HTMLElementModel.fromNativeModel({\n tagName: 'blockquote',\n category: 'grouping',\n getMixedUAStyles: ({ attributes }) => {\n if (attributes.type === 'cite') {\n return leftBorderQuoteStyle;\n }\n },\n mixedUAStyles: spacedBlockStyle\n }),\n dd: HTMLElementModel.fromNativeModel({\n tagName: 'dd',\n category: 'grouping',\n mixedUAStyles: {\n marginLeft: UA_MARGIN_HZ\n }\n }),\n div: HTMLElementModel.fromNativeModel({\n tagName: 'div',\n category: 'grouping'\n }),\n dl: HTMLElementModel.fromNativeModel({\n tagName: 'dl',\n category: 'grouping',\n mixedUAStyles: bigMarginTopBottomStyle\n }),\n dt: HTMLElementModel.fromNativeModel({\n tagName: 'dt',\n category: 'grouping',\n mixedUAStyles: boldStyle\n }),\n figcaption: HTMLElementModel.fromNativeModel({\n tagName: 'figcaption',\n category: 'grouping',\n mixedUAStyles: {\n ...italicStyle,\n textAlign: 'center'\n }\n }),\n figure: HTMLElementModel.fromNativeModel({\n tagName: 'figure',\n category: 'grouping',\n mixedUAStyles: spacedBlockStyle\n }),\n hr: HTMLElementModel.fromNativeModel({\n tagName: 'hr',\n category: 'grouping',\n mixedUAStyles: {\n marginLeft: 'auto',\n marginRight: 'auto',\n height: 1,\n width: '100%',\n backgroundColor: UA_GRAY,\n ...shortMarginTopBottomStyle\n }\n }),\n li: HTMLElementModel.fromNativeModel({\n tagName: 'li',\n category: 'grouping'\n }),\n main: HTMLElementModel.fromNativeModel({\n tagName: 'main',\n category: 'grouping'\n }),\n menu: HTMLElementModel.fromNativeModel({\n tagName: 'menu',\n category: 'grouping'\n }),\n ol: HTMLElementModel.fromNativeModel({\n tagName: 'ol',\n category: 'grouping',\n mixedUAStyles: listStyles,\n setMarkersForTNode(targetMarkers, parentMarkers) {\n targetMarkers.olNestLevel = parentMarkers.olNestLevel + 1;\n }\n }),\n p: HTMLElementModel.fromNativeModel({\n tagName: 'p',\n category: 'grouping',\n mixedUAStyles: bigMarginTopBottomStyle\n }),\n pre: HTMLElementModel.fromNativeModel({\n tagName: 'pre',\n category: 'grouping',\n mixedUAStyles: preStyles\n }),\n xmp: HTMLElementModel.fromNativeModel({\n tagName: 'xmp',\n category: 'grouping',\n mixedUAStyles: preStyles\n }),\n listing: HTMLElementModel.fromNativeModel({\n tagName: 'listing',\n category: 'grouping',\n mixedUAStyles: preStyles\n }),\n plaintext: HTMLElementModel.fromNativeModel({\n tagName: 'plaintext',\n category: 'grouping',\n mixedUAStyles: preStyles\n }),\n ul: HTMLElementModel.fromNativeModel({\n tagName: 'ul',\n category: 'grouping',\n mixedUAStyles: listStyles,\n setMarkersForTNode(targetMarkers, parentMarkers) {\n targetMarkers.ulNestLevel = parentMarkers.ulNestLevel + 1;\n }\n }),\n dir: HTMLElementModel.fromNativeModel({\n tagName: 'dir',\n category: 'grouping',\n mixedUAStyles: listStyles\n })\n};\n\nconst tabularModelMap: HTMLModelRecord<\n TabularTagNames,\n HTMLContentModel.block\n> = {\n table: HTMLElementModel.fromNativeModel({\n tagName: 'table',\n category: 'tabular'\n }),\n tbody: HTMLElementModel.fromNativeModel({\n tagName: 'tbody',\n category: 'tabular'\n }),\n td: HTMLElementModel.fromNativeModel({\n tagName: 'td',\n category: 'tabular',\n mixedUAStyles: {\n padding: 2,\n flex: 1\n }\n }),\n tfoot: HTMLElementModel.fromNativeModel({\n tagName: 'tfoot',\n category: 'tabular'\n }),\n th: HTMLElementModel.fromNativeModel({\n tagName: 'th',\n category: 'tabular',\n mixedUAStyles: {\n padding: 2,\n flex: 1,\n fontWeight: 'bold'\n }\n }),\n thead: HTMLElementModel.fromNativeModel({\n tagName: 'thead',\n category: 'tabular'\n }),\n tr: HTMLElementModel.fromNativeModel({\n tagName: 'tr',\n category: 'tabular',\n mixedUAStyles: {\n flexDirection: 'row',\n flexWrap: 'nowrap'\n }\n })\n};\n\n// These emnbedded should be rendered by default.\nconst renderedEmbeddedModelMap: HTMLModelRecord<\n Extract,\n HTMLContentModel.block\n> = {\n img: HTMLElementModel.fromNativeModel({\n tagName: 'img',\n category: 'embedded',\n isVoid: true,\n getReactNativeProps({ attributes }, props) {\n // see https://w3c.github.io/html-aria/#el-img\n const label = attributes['aria-label'] || attributes.alt;\n if (label && (!props?.view || props.view.accessibilityRole !== 'none')) {\n return {\n native: {\n accessibilityLabel: label,\n accessibilityRole: 'image'\n }\n };\n }\n return {\n native: {\n accessibilityRole: 'none'\n }\n };\n }\n }).extend({\n contentModel: HTMLContentModel.block\n }),\n picture: HTMLElementModel.fromNativeModel({\n tagName: 'picture',\n category: 'embedded',\n isOpaque: false,\n isVoid: false // allows source and img\n }).extend({\n contentModel: HTMLContentModel.block\n })\n};\n\n// Embedded elements content model is \"none\" by default.\nconst emptyEmbeddedModelMap: HTMLModelRecord<\n Exclude,\n HTMLContentModel.none\n> = {\n audio: HTMLElementModel.fromNativeModel({\n tagName: 'audio',\n category: 'embedded',\n isVoid: false // allows tracks\n }),\n canvas: HTMLElementModel.fromNativeModel({\n tagName: 'canvas',\n category: 'embedded',\n isVoid: false // allows specific content\n }),\n embed: HTMLElementModel.fromNativeModel({\n tagName: 'embed',\n category: 'embedded',\n isVoid: true\n }),\n iframe: HTMLElementModel.fromNativeModel({\n tagName: 'iframe',\n category: 'embedded',\n isVoid: true\n }),\n math: HTMLElementModel.fromNativeModel({\n tagName: 'math',\n category: 'embedded',\n isVoid: false, // allows mathml elems\n isOpaque: true\n }),\n object: HTMLElementModel.fromNativeModel({\n tagName: 'object',\n category: 'embedded',\n isVoid: false // allows params\n }),\n svg: HTMLElementModel.fromNativeModel({\n tagName: 'svg',\n category: 'embedded',\n isVoid: false, // allows svg elems\n isOpaque: true,\n getReactNativeProps({ attributes }) {\n if (attributes['aria-label']) {\n return {\n native: {\n accessibilityLabel: attributes['aria-label'],\n accessibilityRole: 'image'\n }\n };\n }\n return {\n native: {\n accessibilityRole: 'none'\n }\n };\n }\n }),\n video: HTMLElementModel.fromNativeModel({\n tagName: 'video',\n category: 'embedded',\n isVoid: false // allows source, tracks + transparent\n })\n};\n\nconst editsModelMap: HTMLModelRecord = {\n ins: HTMLElementModel.fromNativeModel({\n tagName: 'ins',\n category: 'edits',\n mixedUAStyles: solidUnderlineStyle,\n setMarkersForTNode(targetMarkers) {\n targetMarkers.edits = 'ins';\n }\n }),\n del: HTMLElementModel.fromNativeModel({\n tagName: 'del',\n category: 'edits',\n mixedUAStyles: lineThroughStyle,\n setMarkersForTNode(targetMarkers) {\n targetMarkers.edits = 'del';\n }\n })\n};\n\nconst textLevelModelMap: HTMLModelRecord<\n TextLevelTagNames,\n HTMLContentModel.textual\n> = {\n em: HTMLElementModel.fromNativeModel({\n tagName: 'em',\n category: 'textual',\n mixedUAStyles: italicStyle\n }),\n strong: HTMLElementModel.fromNativeModel({\n tagName: 'strong',\n category: 'textual',\n mixedUAStyles: boldStyle\n }),\n small: HTMLElementModel.fromNativeModel({\n tagName: 'small',\n category: 'textual',\n mixedUAStyles: {\n fontSize: 'smaller'\n }\n }),\n big: HTMLElementModel.fromNativeModel({\n tagName: 'big',\n category: 'textual',\n mixedUAStyles: {\n fontSize: 'larger'\n }\n }),\n s: HTMLElementModel.fromNativeModel({\n tagName: 's',\n category: 'textual',\n mixedUAStyles: lineThroughStyle\n }),\n strike: HTMLElementModel.fromNativeModel({\n tagName: 'strike',\n category: 'textual',\n mixedUAStyles: lineThroughStyle\n }),\n cite: HTMLElementModel.fromNativeModel({\n tagName: 'cite',\n category: 'textual',\n mixedUAStyles: italicStyle\n }),\n q: HTMLElementModel.fromNativeModel({\n tagName: 'q',\n category: 'textual'\n // default style, content: \"open,close-quote\"\n }),\n dfn: HTMLElementModel.fromNativeModel({\n tagName: 'dfn',\n category: 'textual',\n mixedUAStyles: italicStyle\n }),\n abbr: HTMLElementModel.fromNativeModel({\n tagName: 'abbr',\n category: 'textual',\n mixedUAStyles: dottedUnderlineStyle\n }),\n acronym: HTMLElementModel.fromNativeModel({\n tagName: 'acronym',\n category: 'textual',\n mixedUAStyles: dottedUnderlineStyle\n }),\n ruby: HTMLElementModel.fromNativeModel({\n tagName: 'ruby',\n category: 'textual'\n }),\n rt: HTMLElementModel.fromNativeModel({\n tagName: 'rt',\n category: 'textual'\n }),\n rp: HTMLElementModel.fromNativeModel({\n tagName: 'rp',\n category: 'textual'\n }),\n data: HTMLElementModel.fromNativeModel({\n tagName: 'data',\n category: 'textual'\n }),\n time: HTMLElementModel.fromNativeModel({\n tagName: 'time',\n category: 'textual'\n }),\n code: HTMLElementModel.fromNativeModel({\n tagName: 'code',\n category: 'textual',\n mixedUAStyles: monoStyle\n }),\n tt: HTMLElementModel.fromNativeModel({\n tagName: 'tt',\n category: 'textual',\n mixedUAStyles: monoStyle\n }),\n var: HTMLElementModel.fromNativeModel({\n tagName: 'var',\n category: 'textual',\n mixedUAStyles: italicStyle\n }),\n samp: HTMLElementModel.fromNativeModel({\n tagName: 'samp',\n category: 'textual',\n mixedUAStyles: monoStyle\n }),\n kbd: HTMLElementModel.fromNativeModel({\n tagName: 'kbd',\n category: 'textual',\n mixedUAStyles: monoStyle\n }),\n sub: HTMLElementModel.fromNativeModel({\n tagName: 'sub',\n category: 'textual',\n mixedUAStyles: {\n textAlignVertical: 'bottom',\n fontSize: 'smaller'\n }\n }),\n sup: HTMLElementModel.fromNativeModel({\n tagName: 'sup',\n category: 'textual',\n mixedUAStyles: {\n textAlignVertical: 'top',\n fontSize: 'smaller'\n }\n }),\n i: HTMLElementModel.fromNativeModel({\n tagName: 'i',\n category: 'textual',\n mixedUAStyles: italicStyle\n }),\n b: HTMLElementModel.fromNativeModel({\n tagName: 'b',\n category: 'textual',\n mixedUAStyles: boldStyle\n }),\n u: HTMLElementModel.fromNativeModel({\n tagName: 'u',\n category: 'textual',\n mixedUAStyles: solidUnderlineStyle\n }),\n mark: HTMLElementModel.fromNativeModel({\n tagName: 'mark',\n category: 'textual',\n mixedUAStyles: {\n backgroundColor: 'yellow',\n color: 'black'\n }\n }),\n bdi: HTMLElementModel.fromNativeModel({\n tagName: 'bdi',\n category: 'textual'\n // unicode-bidi: isolate;\n }),\n bdo: HTMLElementModel.fromNativeModel({\n tagName: 'bdo',\n category: 'textual'\n // unicode-bidi: isolate-override;\n }),\n span: HTMLElementModel.fromNativeModel({\n tagName: 'span',\n category: 'textual'\n }),\n br: HTMLElementModel.fromNativeModel({\n tagName: 'br',\n category: 'textual',\n isVoid: true\n }),\n wbr: HTMLElementModel.fromNativeModel({\n tagName: 'wbr',\n category: 'textual',\n isVoid: true\n })\n};\n\nconst defaultHTMLElementModels = {\n a: HTMLElementModel.fromNativeModel({\n tagName: 'a',\n category: 'anchor',\n getMixedUAStyles: ({ attributes }) => {\n if (typeof attributes.href === 'string') {\n return anchorStyle;\n }\n },\n getReactNativeProps: getReactNativePropsWithHref,\n setMarkersForTNode(targetMarkers) {\n targetMarkers.anchor = true;\n }\n }),\n ...textLevelModelMap,\n ...editsModelMap,\n ...renderedEmbeddedModelMap,\n ...emptyEmbeddedModelMap,\n ...tabularModelMap,\n ...groupingModelMap,\n ...sectioningModelMap,\n ...interactiveModelMap,\n ...untranslatableModelMap\n};\n\nexport type DefaultHTMLElementModelsStatic = typeof defaultHTMLElementModels;\n\nexport default defaultHTMLElementModels;\n","/**\n * The **content model** associated with a tag determines how this tag should\n * be translated in the Transient Render Tree.\n */\n// eslint-disable-next-line no-shadow\nexport enum HTMLContentModel {\n /**\n * Translatable to TBlock.\n */\n block = 'block',\n /**\n * Translatable to TPhrasing and TText\n */\n textual = 'textual',\n /**\n * Translatable to TBlock, TPhrasing and TText\n */\n mixed = 'mixed',\n /**\n * Translatable to TEmpty\n */\n none = 'none'\n}\n\nexport default HTMLContentModel;\n","/* eslint-disable no-dupe-class-members */\nimport { MixedStyleDeclaration } from '@native-html/css-processor';\nimport { ReactNativePropsDefinitions } from '../helper-types';\nimport { SetMarkersForTNode } from '../tree/tree-types';\nimport HTMLContentModel from './HTMLContentModel';\nimport {\n CustomElementModel,\n ElementCategory,\n ElementModelBase,\n NativeElementModel,\n TagName\n} from './model-types';\n\nconst phrasingCategories: ElementCategory[] = ['textual', 'edits', 'anchor'];\nconst translatableBlockCategories: ElementCategory[] = [\n 'tabular',\n 'grouping',\n 'sectioning'\n];\n\n/**\n * An object to specify custom tags.\n *\n * @typeParam T - The name of the tag to which the model will apply.\n * @typeParam M - The {@link HTMLContentModel} associated with this tag.\n */\nexport interface HTMLElementModelShape<\n T extends string,\n M extends HTMLContentModel\n> extends ElementModelBase {\n /**\n * The {@link HTMLContentModel} attached to this model.\n */\n readonly contentModel: M;\n /**\n * `true` when the associated tag is a {@link https://html.spec.whatwg.org/multipage/syntax.html#void-elements | void element}.\n *\n * @remarks\n *\n * - Void elements cannot have children.\n * - TText-translated void elements will be preserved even though they don't\n * have children.\n */\n readonly isVoid: boolean;\n /**\n * An opaque element translated {@link TNode} will have no translated {@link TNode}\n * children.\n */\n readonly isOpaque: boolean;\n}\n\n/**\n * An object defining engine internals for tags, such as default styles\n * (UAStyles), content model (how this tag is treated during hoisting)... etc.\n *\n * @typeParam T - The name of the tag to which the model will apply.\n * @typeParam M - The {@link HTMLContentModel} associated with this tag.\n */\nexport default class HTMLElementModel<\n T extends string,\n M extends HTMLContentModel\n> implements HTMLElementModelShape\n{\n /**\n * The tag name associated with this model.\n */\n public readonly tagName: T;\n /**\n * The {@link HTMLContentModel} attached to this model.\n */\n public readonly contentModel: M;\n /**\n * An opaque element translated {@link TNode} will have no translated {@link TNode}\n * children.\n */\n public readonly isOpaque: boolean;\n /**\n * `true` when the associated tag is a {@link https://html.spec.whatwg.org/multipage/syntax.html#void-elements | void element}.\n *\n * @remarks\n *\n * - Void elements cannot have children.\n * - TText-translated void elements will be preserved even though they don't\n * have children.\n */\n public readonly isVoid: boolean;\n /**\n * Equivalent of \"user-agent\" styles. The default styles for the element.\n *\n * @remarks These styles will be merged over by `tagsStyles`.\n */\n public readonly mixedUAStyles?: MixedStyleDeclaration;\n /**\n * React Native props grouped by native components. Those props\n * will be passed to the underlying native component at render time.\n *\n * @remarks Some props might be overriden by props derived from the\n * {@link TNode} attributes. For example, if you pass `accessibilityLabel`\n * and there is an `aria-label` attribute attached to one node, the\n * `aria-label` will be used. If you want to be able to override the\n * `aria-label`, use {@link HTMLElementModel.getReactNativeProps} instead.\n *\n * @example\n *\n * ```ts\n * import {HTMLElementModel, HTMLContentModel} from 'react-native-render-html';\n *\n * const customHTMLElementModels = {\n * 'nav-button': HTMLElementModel.fromCustomModel({\n * tagName: 'nav-button',\n * contentModel: HTMLContentModel.block,\n * reactNativeProps: {\n * native: {\n * onPress() {\n * console.info('nav-button pressed');\n * },\n * },\n * },\n * }),\n *};\n * ```\n */\n readonly reactNativeProps?: ReactNativePropsDefinitions;\n /**\n * A function to create conditional \"user-agent\" styles.\n *\n * @deprecated Use {@link HTMLElementModel.getMixedUAStyles} instead.\n */\n public readonly getUADerivedStyleFromAttributes: NativeElementModel['getUADerivedStyleFromAttributes'];\n /**\n * A function to create conditional \"user-agent\" styles.\n *\n * @remarks For example, <a> tags will have underline decoration and be\n * colored blue only when `href` is defined.\n */\n public readonly getMixedUAStyles: NativeElementModel['getMixedUAStyles'];\n /**\n * A function to create React Native props from a {@link TNode} grouped by\n * native components.\n *\n * Those props will be deep-merged over the pre-generated props. You can\n * preserve some of the pre-generated props since you receive them as second\n * argument.\n *\n * **Merge strategy** (latest overrides former):\n *\n * 1. props from `reactNativeProps`,\n * 2. auto-generated props from attributes\n * 3. props returned by this function\n *\n * @param tnode - The {@link TNode} for which to create React Native props.\n * @param preGeneratedProps - The props that were pre-generated for the {@link TNode}\n * based on attributes (e.g. aria-label ...) and\n * {@link ElementModelBase.reactNativeProps}.\n * @returns React Native props grouped by native components (see\n * {@link ReactNativePropsDefinitions}). Those props will be passed to the\n * underlying native component at render time.\n *\n * @example\n *\n * ```ts\n * import { defaultHTMLElementModels } from \"react-native-render-html\";\n *\n * const customHTMLElementModels = {\n * a: defaultHTMLElementModels.a.extend({\n * getReactNativeProps(tnode) {\n * const attributes = tnode.attributes;\n * return {\n * native: {\n * accessibilityHint:\n * attributes['data-scope'] === 'internal'\n * ? 'Open in a new screen.'\n * : 'Open in system web browser.',\n * },\n * };\n * },\n * }),\n * };\n * ```\n */\n public readonly getReactNativeProps: NativeElementModel['getReactNativeProps'];\n\n /**\n * Derive markers for one TNode.\n */\n public readonly setMarkersForTNode?: SetMarkersForTNode;\n\n private constructor({\n tagName,\n contentModel,\n isOpaque,\n mixedUAStyles,\n isVoid,\n getUADerivedStyleFromAttributes,\n getMixedUAStyles,\n setMarkersForTNode,\n getReactNativeProps,\n reactNativeProps\n }: HTMLElementModelShape) {\n this.tagName = tagName;\n this.contentModel = contentModel;\n this.isOpaque = isOpaque || false;\n this.isVoid = isVoid;\n this.mixedUAStyles = mixedUAStyles;\n this.getUADerivedStyleFromAttributes = getUADerivedStyleFromAttributes;\n this.getMixedUAStyles = getMixedUAStyles;\n this.setMarkersForTNode = setMarkersForTNode;\n this.getReactNativeProps = getReactNativeProps;\n this.reactNativeProps = reactNativeProps;\n }\n\n /**\n * Create an {@link HTMLElementModel} from a custom template.\n *\n * @param template - The custom template.\n */\n static fromCustomModel<\n CustomTags extends string,\n ContentModel extends HTMLContentModel\n >(template: CustomElementModel) {\n const {\n contentModel,\n tagName,\n isOpaque = false,\n isVoid = false,\n ...optionalFields\n } = template;\n return new HTMLElementModel({\n tagName,\n contentModel,\n isOpaque,\n isVoid,\n ...optionalFields\n });\n }\n\n /**\n * Create an {@link HTMLElementModel} from a native description.\n *\n * @param nativeElementModel - The native model declaration.\n */\n static fromNativeModel(\n nativeElementModel: NativeElementModel\n ) {\n const {\n category,\n isOpaque,\n isVoid = false,\n ...otherProps\n } = nativeElementModel;\n const isPhrasing = phrasingCategories.indexOf(category) !== -1;\n const isTranslatable =\n isPhrasing || translatableBlockCategories.indexOf(category) !== -1;\n const contentModel =\n category === 'anchor' || category === 'edits'\n ? HTMLContentModel.mixed\n : isPhrasing\n ? HTMLContentModel.textual\n : isTranslatable\n ? HTMLContentModel.block\n : HTMLContentModel.none;\n return new HTMLElementModel<\n TN,\n E extends 'edits' | 'anchor'\n ? HTMLContentModel.mixed\n : E extends 'sectioning' | 'grouping' | 'tabular'\n ? HTMLContentModel.block\n : E extends 'textual'\n ? HTMLContentModel.textual\n : HTMLContentModel.none\n >({\n isVoid,\n contentModel: contentModel as any,\n isOpaque: isOpaque ?? category === 'embedded',\n ...otherProps\n });\n }\n\n isTranslatableBlock(): boolean {\n return this.contentModel === HTMLContentModel.block;\n }\n\n isTranslatableTextual() {\n return (\n this.contentModel === HTMLContentModel.textual ||\n this.contentModel === HTMLContentModel.mixed\n );\n }\n\n /**\n * Create a new {@link HTMLElementModel} by shallow-merging properties into this model.\n *\n * @param merger - A function to generate the new properties to shallow-merge into this model.\n * @typeParam CM - The {@link HTMLContentModel} attached to the new model.\n */\n extend(\n merger: (\n shape: HTMLElementModelShape\n ) => Partial>\n ): HTMLElementModel;\n /**\n * Create a new {@link HTMLElementModel} by shallow-merging properties into this model.\n *\n * @param shape - The {@link HTMLElementModelShape} to shallow-merge into this model.\n * @typeParam CM - The {@link HTMLContentModel} attached to the new model.\n */\n extend(\n shape: Partial>\n ): HTMLElementModel;\n extend(\n arg:\n | ((\n shape: HTMLElementModelShape\n ) => Partial>)\n | Partial>\n ): HTMLElementModel {\n const properties = typeof arg === 'function' ? arg(this) : arg;\n return new HTMLElementModel({\n ...this,\n ...properties\n });\n }\n}\n","import { StylesConfig } from './types';\n\nexport const defaultStylesConfig: Required = {\n classesStyles: {},\n enableCSSInlineProcessing: true,\n enableUserAgentStyles: false,\n idsStyles: {},\n tagsStyles: {},\n baseStyle: {\n fontSize: 14,\n whiteSpace: 'normal'\n }\n};\n","import CSSProcessor, {\n CSSProcessedProps,\n CSSProcessorConfig,\n MixedStyleDeclaration\n} from '@native-html/css-processor';\nimport HTMLModelRegistry from '../model/HTMLModelRegistry';\nimport { TNodeDescriptor } from '../tree/tree-types';\nimport { TStyles } from './TStyles';\nimport { StylesConfig } from './types';\n\nexport const emptyProcessedPropsReg: CSSProcessedProps =\n new CSSProcessedProps();\n\nfunction mapMixedStyleRecordToCSSProcessedPropsReg(\n processor: CSSProcessor,\n styles?: Record\n): Record {\n let regStyles: Record = {};\n for (const key in styles) {\n regStyles[key] = processor.compileStyleDeclaration(styles[key]);\n }\n return regStyles;\n}\n\n// Specificity hierarchy, in descending order:\n// 1. Inline styles\n// 2. ID (idsStyles)\n// 3. Classes (classesStyles)\n// 4. Element name (tagsStyles)\n// 5. Attribute styles (styles derived from attributes)\n// 6. Default element styles\n// 7. Inherited styles (baseFontStyles)\nexport class TStylesMerger {\n private processor: CSSProcessor;\n private tagsStyles: Record;\n private classesStyles: Record;\n private idsStyles: Record;\n private enableCSSInlineProcessing: boolean;\n private enableUserAgentStyles: boolean;\n private modelRegistry: HTMLModelRegistry;\n constructor(\n config: Required,\n modelRegistry: HTMLModelRegistry,\n cssProcessorConfig?: CSSProcessorConfig\n ) {\n this.processor = new CSSProcessor(cssProcessorConfig);\n this.modelRegistry = modelRegistry;\n this.classesStyles = mapMixedStyleRecordToCSSProcessedPropsReg(\n this.processor,\n config.classesStyles\n );\n this.tagsStyles = mapMixedStyleRecordToCSSProcessedPropsReg(\n this.processor,\n config.tagsStyles\n );\n this.idsStyles = mapMixedStyleRecordToCSSProcessedPropsReg(\n this.processor,\n config.idsStyles\n );\n this.enableCSSInlineProcessing = config.enableCSSInlineProcessing;\n this.enableUserAgentStyles = config.enableUserAgentStyles;\n }\n\n compileInlineCSS(inlineCSS: string) {\n return this.processor.compileInlineCSS(inlineCSS);\n }\n\n compileStyleDeclaration(styleDeclaration: MixedStyleDeclaration) {\n return this.processor.compileStyleDeclaration(styleDeclaration);\n }\n\n buildStyles(\n inlineStyle: string,\n parentStyles: TStyles | null,\n descriptor: TNodeDescriptor\n ): TStyles {\n const ownInlinePropsReg =\n this.enableCSSInlineProcessing && inlineStyle\n ? this.compileInlineCSS(inlineStyle)\n : null;\n const model = descriptor.tagName\n ? this.modelRegistry.getElementModelFromTagName(descriptor.tagName)\n : null;\n const userTagOwnProps =\n this.tagsStyles[descriptor.tagName as string] ?? null;\n const userIdOwnProps = this.idsStyles[descriptor.id as string] ?? null;\n const classes = descriptor.classes;\n const userClassesOwnPropsList = classes.map(\n (c) => this.classesStyles[c] || null\n );\n const dynamicPropsFromAttributes = this.enableUserAgentStyles\n ? (model?.getMixedUAStyles?.(descriptor, descriptor.domNode!) || null) ??\n model?.getUADerivedStyleFromAttributes?.(\n descriptor.attributes,\n descriptor.markers\n ) ??\n null\n : null;\n const userAgentTagProps = this.enableUserAgentStyles\n ? model?.mixedUAStyles ?? null\n : null;\n // Latest properties will override former properties.\n const mergedOwnProps = emptyProcessedPropsReg.merge(\n userAgentTagProps &&\n this.processor.compileStyleDeclaration(userAgentTagProps),\n dynamicPropsFromAttributes &&\n this.processor.compileStyleDeclaration(dynamicPropsFromAttributes),\n userTagOwnProps,\n ...userClassesOwnPropsList,\n userIdOwnProps,\n ownInlinePropsReg\n );\n return new TStyles(mergedOwnProps, parentStyles);\n }\n}\n","import { CSSProcessor } from './CSSProcessor';\nexport { CSSProcessedProps } from './CSSProcessedProps';\nexport * from './config';\nexport * from './default';\nexport * from './processor-types';\nexport * from './property-types';\nexport * from './native-types';\nexport { default as mergeProps } from './mergeProps';\nexport { CSSProcessor };\nexport type {\n CSSFlattenProcessedTypes,\n MixedSizeCSSPropertiesKeys,\n MixedStyleDeclaration\n} from './CSSProcessor';\nexport default CSSProcessor;\n","import { CSSProperties } from 'react';\nimport { TextStyle, ViewStyle } from 'react-native';\nimport { MixedStyleDeclaration } from './CSSProcessor';\nimport { emptyProps, isNotEmpty } from './emptyProps';\nimport mergeProps from './mergeProps';\nimport {\n CSSPropertyCompatCategory,\n CSSDisplayRegistry,\n WebTextFlowProperties,\n CSSPropertySpecs,\n CSSPropertyDisplayCategory,\n CSSPropertyPropagationCategory\n} from './processor-types';\nimport {\n CSSLongNativeTranslatableBlockFlowedPropKey,\n CSSLongNativeTranslatableBlockRetainedPropKey,\n CSSLongNativeTranslatableTextFlowedPropKey,\n CSSLongNativeTranslatableTextRetainedPropKey,\n CSSLongNativeUntranslatableBlockFlowedPropKey,\n CSSLongNativeUntranslatableBlockPropKey,\n CSSLongWebTextRetainedPropKey\n} from './property-types';\n\nconst compatCategories: ReadonlyArray = [\n 'native',\n 'web'\n];\nconst displayCategories: ReadonlyArray = [\n 'text',\n 'block'\n];\nconst propagationCategories: ReadonlyArray = [\n 'flow',\n 'retain'\n];\n\n/**\n * An object representing categorized style props. Props are categorized\n * depending on their inheritability (flow, retain), target (block, text)\n * and (react) native support (native, web).\n */\nexport class CSSProcessedProps\n implements Record\n{\n readonly native: {\n text: {\n flow: Partial<\n Pick\n >;\n retain: Partial<\n Pick\n >;\n };\n block: {\n flow: Partial<\n Pick\n >;\n retain: Partial<\n Pick\n >;\n };\n };\n readonly web: {\n text: {\n flow: Partial & CSSProperties;\n retain: Partial> &\n CSSProperties;\n };\n block: {\n flow: Partial<\n Pick\n > &\n CSSProperties;\n retain: Partial<\n Pick\n > &\n CSSProperties;\n };\n };\n\n constructor() {\n this.native = this.newCompatCategory<'native'>();\n this.web = this.newCompatCategory<'web'>();\n }\n\n private newCompatCategory<\n T extends CSSPropertyCompatCategory\n >(): CSSProcessedProps[T] {\n return {\n block: {\n retain: emptyProps,\n flow: emptyProps\n },\n text: {\n retain: emptyProps,\n flow: emptyProps\n }\n };\n }\n\n public withProperty(\n propertyName: K,\n propertyValue: MixedStyleDeclaration[K],\n { compatCategory, displayCategory, propagationCategory }: CSSPropertySpecs\n ) {\n if (propertyValue !== null) {\n const target = this[compatCategory][displayCategory][propagationCategory];\n if (!isNotEmpty(target)) {\n this[compatCategory][displayCategory][propagationCategory] = {};\n }\n //@ts-ignore\n this[compatCategory][displayCategory][propagationCategory][propertyName] =\n propertyValue;\n }\n return this;\n }\n\n /**\n * Create a new processed prop object by merging the 'overriders' parameters\n * into this object.\n *\n * @param overriders - The processed props which will be merged into this\n * processed prop. Rightmost props will override leftmost props.\n */\n public merge(...overriders: Array) {\n const filtered = overriders.filter(isNotEmpty);\n const next = new CSSProcessedProps();\n for (const compat of compatCategories) {\n for (const display of displayCategories) {\n for (const propagation of propagationCategories) {\n next[compat][display][propagation] = mergeProps([\n this[compat][display][propagation],\n ...filtered.map((o) => o[compat][display][propagation])\n ]);\n }\n }\n }\n return next;\n }\n\n static new() {\n return new CSSProcessedProps();\n }\n}\n","import { emptyProps, isNotEmpty } from './emptyProps';\n\nfunction mergeProps>(props: Array): T {\n const filteredProps = props.filter(isNotEmpty);\n if (filteredProps.length) {\n return Object.assign({}, ...filteredProps);\n }\n return emptyProps as unknown as T;\n}\n\nexport default mergeProps;\n","const emptySymbol = Symbol('emptyProps');\n\nexport type EmptyProps = typeof emptyProps;\n\nexport const emptyProps = (function () {\n let obj = {};\n Object.defineProperty(obj, '$$empty', {\n value: emptySymbol,\n enumerable: false\n });\n obj = Object.freeze(obj);\n return obj;\n})() as {\n $$empty: symbol;\n};\n\nexport function isNotEmpty(p: T): p is Exclude {\n //@ts-ignore\n return !!p && p.$$empty !== emptySymbol;\n}\n","import { CSSProcessorConfig } from './config';\nimport { CSSInlineParseRun } from './CSSInlineParseRun';\nimport { CSSNativeParseRun } from './CSSNativeParseRun';\nimport { CSSProcessedProps } from './CSSProcessedProps';\nimport { CSSPropertiesValidationRegistry } from './CSSPropertiesValidationRegistry';\nimport { defaultCSSProcessorConfig } from './default';\nimport {\n ExtraNativeShortStyle,\n ExtraNativeTextStyle,\n ExtraNativeUntranslatedLongStyles,\n ExtraNativeViewStyle\n} from './native-types';\nimport {\n WebBlockRetainProperties,\n WebTextFlowProperties\n} from './processor-types';\n\n// https://www.w3.org/TR/CSS22/\n// https://www.w3.org/TR/css3-cascade/\n// https://www.w3.org/TR/css-cascade-4/\n// https://www.w3.org/TR/css-text-3/\n// https://www.w3.org/TR/css3-values/\n// https://www.w3.org/TR/css-values-4/\n\n/**\n * All those styles that result from processing inline styles.\n */\nexport type CSSFlattenProcessedTypes =\n CSSProcessedProps['native']['text']['flow'] &\n CSSProcessedProps['native']['block']['flow'] &\n CSSProcessedProps['native']['text']['retain'] &\n CSSProcessedProps['native']['block']['retain'];\n\n/**\n * These properties can be set to any of the supoprted CSS sizes, including em,\n * rem units and special values such as large, larger for `fontSize`, thin,\n * medium for `borderWidth`, before passed to {@link CSSProcessor.compileStyleDeclaration}.\n */\nexport type MixedSizeCSSPropertiesKeys =\n | 'fontSize'\n | 'borderWidth'\n | 'letterSpacing'\n | 'bottom'\n | 'left'\n | 'top'\n | 'right'\n | 'width'\n | 'height'\n | 'flexBasis'\n | 'borderRadius'\n | 'borderBottomLeftRadius'\n | 'borderBottomRightRadius'\n | 'borderTopLeftRadius'\n | 'borderTopRightRadius'\n | 'borderWidth'\n | 'borderBottomWidth'\n | 'borderLeftWidth'\n | 'borderRightWidth'\n | 'marginBottom'\n | 'marginLeft'\n | 'marginRight'\n | 'marginTop'\n | 'margin'\n | 'marginHorizontal'\n | 'marginVertical'\n | 'maxWidth'\n | 'maxHeight'\n | 'minWidth'\n | 'minHeight'\n | 'padding'\n | 'paddingBottom'\n | 'paddingLeft'\n | 'paddingRight'\n | 'paddingTop'\n | 'paddingHorizontal'\n | 'paddingVertical';\n\n/**\n * A Style object that can contain mixins of a subset of ViewStyle, TextStyle,\n * and special style entries such as \"whiteSpace\", \"listStyleType\".\n *\n * @remarks Also note that special lengths,\n * such as \"em\", \"rem\" units, and special values, such as \"%\" for fontSize, and\n * keyword values ('larger', 'smaller' for fontSize, 'thick', 'thin', 'medium'\n * for border*Width) will be handled as per CSS specifications on units.\n * Another special use case is fontFamily, which can be a list of font names as\n * per the CSS standard. The translated font will be selected with\n * {@link CSSProcessorConfig.isFontSupported}.\n */\nexport type MixedStyleDeclaration = Omit<\n CSSFlattenProcessedTypes,\n MixedSizeCSSPropertiesKeys\n> &\n WebTextFlowProperties &\n WebBlockRetainProperties &\n ExtraNativeTextStyle &\n ExtraNativeViewStyle &\n ExtraNativeShortStyle &\n ExtraNativeUntranslatedLongStyles &\n {\n [k in MixedSizeCSSPropertiesKeys]?: number | string;\n };\n\nexport class CSSProcessor {\n public readonly registry: CSSPropertiesValidationRegistry;\n constructor(userConfig?: Partial) {\n const config = {\n ...defaultCSSProcessorConfig,\n ...userConfig\n };\n this.registry = new CSSPropertiesValidationRegistry(config);\n }\n\n /**\n *\n * Incoming style declaration:\n * - For native styles: any RN compatible style declaration + special units\n * (font-size: medium) + relative units (smaller, larger, em, rem and perhaps vw)\n *\n * @param declaration\n */\n compileStyleDeclaration(\n declaration: MixedStyleDeclaration\n ): CSSProcessedProps {\n const parseRun = new CSSNativeParseRun(declaration, this.registry);\n return parseRun.exec();\n }\n\n compileInlineCSS(inlineCSS: string): CSSProcessedProps {\n const parseRun = new CSSInlineParseRun(inlineCSS, this.registry);\n return parseRun.exec();\n }\n}\n","import { CSSProcessorConfig } from './config';\n\nconst inchMultiplicator = 96;\nconst cmMultiplicator = inchMultiplicator * 2.54;\nconst mmMultiplicator = cmMultiplicator / 10;\nconst ptMultiplicator = 4 / 3;\nconst pcMultiplicator = 12 * ptMultiplicator;\n\nexport const defaultCSSProcessorConfig: CSSProcessorConfig = {\n absoluteLengthUnitsMultiplicators: {\n cm: cmMultiplicator,\n in: inchMultiplicator,\n mm: mmMultiplicator,\n pc: pcMultiplicator,\n pt: ptMultiplicator\n },\n absoluteBorderWidthsPixelMap: {\n medium: 2.5,\n thick: 5,\n thin: 1\n },\n absoluteFontSizesPixelMap: {\n medium: 14,\n 'xx-small': 8.5,\n 'x-small': 10,\n small: 12,\n large: 17,\n 'x-large': 20,\n 'xx-large': 24\n },\n relativeFontSizesCoefficientMap: {\n larger: 1.2,\n smaller: 0.83\n },\n inlinePropertiesBlacklist: [],\n rootFontSize: 16,\n inlinePropertiesWhitelist: null,\n isFontSupported() {\n return true;\n }\n};\n","import { CSSProcessorConfig, CSSPropertyNameList } from './config';\nimport makepropertiesValidators, {\n ValidatorsType\n} from './makepropertiesValidators';\nimport { GenericCSSPropertyValidator } from './validators/GenericPropertyValidator';\n\nfunction makeRegistry(list: CSSPropertyNameList) {\n const registry = {} as any;\n list.forEach((prop) => {\n registry[prop] = true;\n });\n return registry;\n}\n\nexport class CSSPropertiesValidationRegistry {\n public readonly validators: Readonly;\n public readonly ignoredPropertiesRegistry: Partial>;\n public readonly allowedPropertiesRegistry: Partial<\n Record\n > | null;\n\n constructor(config: CSSProcessorConfig) {\n this.validators = makepropertiesValidators(config);\n this.ignoredPropertiesRegistry = makeRegistry(\n config.inlinePropertiesBlacklist\n );\n this.allowedPropertiesRegistry = config.inlinePropertiesWhitelist\n ? makeRegistry(config.inlinePropertiesWhitelist)\n : null;\n }\n\n private isInlinePropertyAllowed(name: string) {\n if (this.allowedPropertiesRegistry) {\n return !!this.allowedPropertiesRegistry[name];\n }\n return !this.ignoredPropertiesRegistry[name];\n }\n\n shouldRegisterInlineProperty(name: string): name is keyof ValidatorsType {\n return (\n this.isInlinePropertyAllowed(name) &&\n !!this.validators[name as keyof ValidatorsType]\n );\n }\n\n getValidatorForProperty(\n name: T\n ): T extends keyof ValidatorsType ? GenericCSSPropertyValidator : null {\n return (this.validators[name as keyof ValidatorsType] as any) || null;\n }\n}\n","import { CSSProcessorConfig } from './config';\nimport { LongFontFamilyPropertyValidator } from './validators/LongFontFamilyPropertyValidator';\nimport { LongFloatNumberCSSPropertyValidator } from './validators/LongFloatNumberCSSPropertyValidator';\nimport { LongBorderWidthCSSPropertyValidator } from './validators/LongBorderWidthCSSPropertyValidator';\nimport { LongFontSizeCSSValidator } from './validators/LongFontSizeCSSValidator';\nimport { LongSizeCSSPropertyValidator } from './validators/LongSizeCSSPropertyValidator';\nimport { LongAspectRatioPropertyValidator } from './validators/LongAspectRatioPropertyValidator';\nimport { LongEnumerationListCSSPropertyValidator } from './validators/LongEnumerationListCSSPropertyValidator';\nimport { LongBorderStyleCSSPropertyValidator } from './validators/LongBorderStyleCSSPropertyValidator';\nimport { LongEnumerationCSSPropertyValidator } from './validators/LongEnumerationCSSPropertyValidator';\nimport { LongColorCSSPropertyValidator } from './validators/LongColorCSSPropertyValidator';\nimport { ShortFontCSSValidator } from './validators/ShortFontCSSValidator';\nimport { ShortCSSToReactNativeValidator } from './validators/ShortCSSToReactNativeValidator';\nimport { ShortFlexCSSPropertyValidator } from './validators/ShortFlexCSSPropertyValidator';\nimport { LongCSSToReactNativeValidator } from './validators/LongCSSToReactNativeValidator';\nimport { ShortCardinalCSSpropertyValidator } from './validators/ShortCardinalCSSPropertyValidator';\nimport { ShortDualNativepropertyValidator } from './validators/ShortDualNativePropertyValidator';\nimport { LongForgivingCSSPropertyValidator } from './validators/LongForgivingCSSPropertyValidator';\nimport { LongNonPercentSizeCSSPropertyValidator } from './validators/LongNonPercentSizeCSSPropertyValidator';\n\nconst nativeTranslatableBlockFlowModel = {\n inheritable: true,\n native: true,\n translatable: true,\n display: 'block'\n} as const;\n\nconst nativeTranslatableBlockRetainModel = {\n inheritable: false,\n native: true,\n translatable: true,\n display: 'block'\n} as const;\n\nconst nativeUntranslatableBlockRetainModel = {\n inheritable: false,\n native: true,\n translatable: false,\n display: 'block'\n} as const;\n\nconst nativeTranslatableTextFlowModel = {\n inheritable: true,\n native: true,\n translatable: true,\n display: 'text'\n} as const;\n\nconst nativeTranslatableTextRetainModel = {\n inheritable: false,\n native: true,\n translatable: true,\n display: 'text'\n} as const;\n\nconst webTextFlowModel = {\n inheritable: true,\n native: false,\n translatable: false,\n display: 'text'\n} as const;\n\nconst webBlockRetainModel = {\n inheritable: false,\n native: false,\n translatable: false,\n display: 'block'\n} as const;\n\nexport type ValidatorsType = ReturnType;\n\nexport default function makepropertiesValidators(config: CSSProcessorConfig) {\n return {\n background: new ShortCSSToReactNativeValidator({\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'background'\n }),\n border: new ShortCSSToReactNativeValidator({\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'border'\n }),\n borderRadius: new ShortCardinalCSSpropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'borderRadius'\n },\n {\n top: 'borderTopLeftRadius',\n right: 'borderTopRightRadius',\n bottom: 'borderBottomRightRadius',\n left: 'borderBottomLeftRadius'\n }\n ),\n borderColor: new ShortCardinalCSSpropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'borderColor'\n },\n {\n top: 'borderTopColor',\n right: 'borderRightColor',\n bottom: 'borderBottomColor',\n left: 'borderLeftColor'\n }\n ),\n borderStyle: new LongBorderStyleCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'borderStyle'\n },\n ['solid', 'dotted', 'dashed']\n ),\n borderWidth: new ShortCardinalCSSpropertyValidator(\n {\n config,\n propertyName: 'borderWidth',\n model: nativeTranslatableBlockRetainModel\n },\n {\n top: 'borderTopWidth',\n right: 'borderRightWidth',\n bottom: 'borderBottomWidth',\n left: 'borderLeftWidth'\n }\n ),\n flex: new ShortFlexCSSPropertyValidator({\n config,\n propertyName: 'flex',\n model: nativeTranslatableBlockRetainModel\n }),\n flexFlow: new ShortCSSToReactNativeValidator({\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'flexFlow'\n }),\n font: new ShortFontCSSValidator({\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'font'\n }),\n margin: new ShortCardinalCSSpropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'margin'\n },\n {\n top: 'marginTop',\n right: 'marginRight',\n bottom: 'marginBottom',\n left: 'marginLeft'\n }\n ),\n objectFit: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: webBlockRetainModel,\n propertyName: 'objectFit'\n },\n ['fill', 'contain', 'cover', 'none', 'scale-down']\n ),\n padding: new ShortCardinalCSSpropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'padding'\n },\n {\n top: 'paddingTop',\n right: 'paddingRight',\n bottom: 'paddingBottom',\n left: 'paddingLeft'\n }\n ),\n marginHorizontal: new ShortDualNativepropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'marginHorizontal'\n },\n ['marginLeft', 'marginRight']\n ),\n marginVertical: new ShortDualNativepropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'marginVertical'\n },\n ['marginTop', 'marginBottom']\n ),\n paddingHorizontal: new ShortDualNativepropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'paddingHorizontal'\n },\n ['paddingLeft', 'paddingRight']\n ),\n paddingVertical: new ShortDualNativepropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'paddingVertical'\n },\n ['paddingTop', 'paddingBottom']\n ),\n textDecoration: new ShortCSSToReactNativeValidator({\n config,\n model: nativeTranslatableTextRetainModel,\n propertyName: 'textDecoration'\n }),\n textDecorationColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'textDecorationColor',\n model: nativeTranslatableTextRetainModel\n }),\n textDecorationLine: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextRetainModel,\n propertyName: 'textDecorationLine'\n },\n ['none', 'underline', 'line-through', 'underline line-through'] // 'overline' not supported by RN\n ),\n textDecorationStyle: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextRetainModel,\n propertyName: 'textDecorationStyle'\n },\n ['solid', 'double', 'dotted', 'dashed'] // 'wavy' unsupported\n ),\n color: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'color',\n model: nativeTranslatableTextFlowModel\n }),\n fontFamily: new LongFontFamilyPropertyValidator({\n config,\n propertyName: 'fontFamily',\n model: nativeTranslatableTextFlowModel\n }),\n fontSize: new LongFontSizeCSSValidator({\n config,\n propertyName: 'fontSize',\n model: nativeTranslatableTextFlowModel\n }),\n fontStyle: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'fontStyle'\n },\n ['normal', 'italic'] // 'oblique' not supported\n ),\n fontVariant: new LongEnumerationListCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'fontVariant'\n },\n [\n 'small-caps',\n 'oldstyle-nums',\n 'lining-nums',\n 'tabular-nums',\n 'proportional-nums'\n ]\n ),\n fontWeight: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'fontWeight'\n },\n [\n 'normal',\n 'bold',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900'\n ]\n ),\n letterSpacing: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'letterSpacing',\n model: nativeTranslatableTextFlowModel\n }),\n // TODO handle unitless heights\n lineHeight: new LongNonPercentSizeCSSPropertyValidator({\n config,\n propertyName: 'lineHeight',\n model: nativeTranslatableTextFlowModel\n }),\n textAlign: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'textAlign'\n },\n ['auto', 'left', 'right', 'center', 'justify']\n ),\n textTransform: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableTextFlowModel,\n propertyName: 'textTransform'\n },\n ['none', 'capitalize', 'uppercase', 'lowercase']\n ),\n whiteSpace: new LongEnumerationCSSPropertyValidator(\n { config, model: webTextFlowModel, propertyName: 'whiteSpace' },\n ['normal', 'pre']\n ),\n listStyleType: new LongForgivingCSSPropertyValidator({\n config,\n model: webTextFlowModel,\n propertyName: 'listStyleType'\n }),\n userSelect: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: webTextFlowModel,\n propertyName: 'userSelect'\n },\n ['auto', 'text', 'none', 'contain', 'all']\n ),\n alignContent: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'alignContent'\n },\n [\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'space-between',\n 'space-around'\n ]\n ),\n alignItems: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'alignItems'\n },\n ['flex-start', 'flex-end', 'center', 'stretch', 'baseline']\n ),\n alignSelf: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'alignSelf'\n },\n ['auto', 'flex-start', 'flex-end', 'center', 'stretch', 'baseline']\n ),\n aspectRatio: new LongAspectRatioPropertyValidator({\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'aspectRatio'\n }),\n bottom: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'bottom',\n model: nativeTranslatableBlockRetainModel\n }),\n display: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'display'\n },\n ['flex', 'none']\n ),\n flexBasis: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'flexBasis',\n model: nativeTranslatableBlockRetainModel\n }),\n flexDirection: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'flexDirection'\n },\n ['row', 'column', 'row-reverse', 'column-reverse']\n ),\n flexGrow: new LongFloatNumberCSSPropertyValidator({\n config,\n propertyName: 'flexGrow',\n model: nativeTranslatableBlockRetainModel\n }),\n flexShrink: new LongFloatNumberCSSPropertyValidator({\n config,\n propertyName: 'flexShrink',\n model: nativeTranslatableBlockRetainModel\n }),\n flexWrap: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'flexWrap'\n },\n ['wrap', 'nowrap', 'wrap-reverse']\n ),\n justifyContent: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'justifyContent'\n },\n [\n 'flex-start',\n 'flex-end',\n 'center',\n 'space-between',\n 'space-around',\n 'space-evenly'\n ]\n ),\n left: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'left',\n model: nativeTranslatableBlockRetainModel\n }),\n position: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeUntranslatableBlockRetainModel,\n propertyName: 'position'\n },\n ['absolute', 'relative']\n ),\n right: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'right',\n model: nativeTranslatableBlockRetainModel\n }),\n top: new LongSizeCSSPropertyValidator({\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'top'\n }),\n backfaceVisibility: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockRetainModel,\n propertyName: 'backfaceVisibility'\n },\n ['visible', 'hidden']\n ),\n backgroundColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'backgroundColor',\n model: nativeTranslatableBlockRetainModel\n }),\n borderBottomColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'borderBottomColor',\n model: nativeTranslatableBlockRetainModel\n }),\n borderBottomLeftRadius: new LongNonPercentSizeCSSPropertyValidator({\n config,\n propertyName: 'borderBottomLeftRadius',\n model: nativeTranslatableBlockRetainModel\n }),\n borderBottomRightRadius: new LongNonPercentSizeCSSPropertyValidator({\n config,\n propertyName: 'borderBottomRightRadius',\n model: nativeTranslatableBlockRetainModel\n }),\n borderBottomWidth: new LongBorderWidthCSSPropertyValidator({\n config,\n propertyName: 'borderBottomWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n borderLeftColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'borderLeftColor',\n model: nativeTranslatableBlockRetainModel\n }),\n borderLeftWidth: new LongBorderWidthCSSPropertyValidator({\n config,\n propertyName: 'borderLeftWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n borderRightColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'borderRightColor',\n model: nativeTranslatableBlockRetainModel\n }),\n borderRightWidth: new LongBorderWidthCSSPropertyValidator({\n config,\n propertyName: 'borderRightWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n borderTopColor: new LongColorCSSPropertyValidator({\n config,\n propertyName: 'borderTopColor',\n model: nativeTranslatableBlockRetainModel\n }),\n borderTopLeftRadius: new LongNonPercentSizeCSSPropertyValidator({\n config,\n propertyName: 'borderTopLeftRadius',\n model: nativeTranslatableBlockRetainModel\n }),\n borderTopRightRadius: new LongNonPercentSizeCSSPropertyValidator({\n config,\n propertyName: 'borderTopRightRadius',\n model: nativeTranslatableBlockRetainModel\n }),\n borderTopWidth: new LongBorderWidthCSSPropertyValidator({\n config,\n propertyName: 'borderTopWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n height: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'height',\n model: nativeTranslatableBlockRetainModel\n }),\n marginBottom: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'marginBottom',\n model: nativeTranslatableBlockRetainModel\n }),\n marginLeft: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'marginLeft',\n model: nativeTranslatableBlockRetainModel\n }),\n marginRight: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'marginRight',\n model: nativeTranslatableBlockRetainModel\n }),\n marginTop: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'marginTop',\n model: nativeTranslatableBlockRetainModel\n }),\n maxHeight: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'maxHeight',\n model: nativeTranslatableBlockRetainModel\n }),\n maxWidth: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'maxWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n minHeight: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'minHeight',\n model: nativeTranslatableBlockRetainModel\n }),\n minWidth: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'minWidth',\n model: nativeTranslatableBlockRetainModel\n }),\n opacity: new LongFloatNumberCSSPropertyValidator({\n config,\n propertyName: 'opacity',\n model: nativeTranslatableBlockRetainModel\n }),\n paddingBottom: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'paddingBottom',\n model: nativeTranslatableBlockRetainModel\n }),\n paddingLeft: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'paddingLeft',\n model: nativeTranslatableBlockRetainModel\n }),\n paddingRight: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'paddingRight',\n model: nativeTranslatableBlockRetainModel\n }),\n paddingTop: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'paddingTop',\n model: nativeTranslatableBlockRetainModel\n }),\n transform: new LongCSSToReactNativeValidator({\n config,\n propertyName: 'transform',\n model: nativeTranslatableBlockRetainModel\n }),\n width: new LongSizeCSSPropertyValidator({\n config,\n propertyName: 'width',\n model: nativeTranslatableBlockRetainModel\n }),\n zIndex: new LongFloatNumberCSSPropertyValidator({\n config,\n propertyName: 'zIndex',\n model: nativeTranslatableBlockRetainModel\n }),\n direction: new LongEnumerationCSSPropertyValidator(\n {\n config,\n model: nativeTranslatableBlockFlowModel,\n propertyName: 'direction'\n },\n ['auto', 'ltr', 'rtl']\n )\n };\n}\n","import { ShortCSSPropertyValidator } from './ShortCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\nimport expandCSSToRN from './expandCSSToRN';\nimport { ShortMergeRequest } from '../ShortMergeRequest';\n\nexport class ShortCSSToReactNativeValidator<\n C extends CSSPropertyModel = any\n> extends ShortCSSPropertyValidator {\n normalizeInlineCSSValue(value: string): ShortMergeRequest | null {\n return new ShortMergeRequest(expandCSSToRN(this.propertyName, value));\n }\n /**\n * Not supported on Native.\n * @param value\n */\n normalizeNativeValue() {\n return null;\n }\n}\n","import { getStylesForProperty } from 'css-to-react-native';\n\nexport default function expandCSSToRN(propertyName: string, value: string) {\n try {\n return getStylesForProperty(propertyName, value);\n } catch (e) {\n // Ignore this rule if parsing failed\n }\n return null;\n}\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', {\n value: true\n});\n\nfunction _interopDefault(ex) {\n return ex && typeof ex === 'object' && 'default' in ex ? ex['default'] : ex;\n}\n\nvar parse = require('postcss-value-parser');\n\nvar parse__default = _interopDefault(parse);\n\nvar camelizeStyleName = _interopDefault(require('camelize'));\n\nvar cssColorKeywords = _interopDefault(require('css-color-keywords'));\n\nvar matchString = function matchString(node) {\n if (node.type !== 'string') return null;\n return node.value.replace(/\\\\([0-9a-f]{1,6})(?:\\s|$)/gi, function (match, charCode) {\n return String.fromCharCode(parseInt(charCode, 16));\n }).replace(/\\\\/g, '');\n};\n\nvar hexColorRe = /^(#(?:[0-9a-f]{3,4}){1,2})$/i;\nvar cssFunctionNameRe = /^(rgba?|hsla?|hwb|lab|lch|gray|color)$/;\n\nvar matchColor = function matchColor(node) {\n if (node.type === 'word' && (hexColorRe.test(node.value) || node.value in cssColorKeywords || node.value === 'transparent')) {\n return node.value;\n } else if (node.type === 'function' && cssFunctionNameRe.test(node.value)) {\n return parse.stringify(node);\n }\n\n return null;\n};\n\nvar noneRe = /^(none)$/i;\nvar autoRe = /^(auto)$/i;\nvar identRe = /(^-?[_a-z][_a-z0-9-]*$)/i; // Note if these are wrong, you'll need to change index.js too\n\nvar numberRe = /^([+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?)$/i; // Note lengthRe is sneaky: you can omit units for 0\n\nvar lengthRe = /^(0$|(?:[+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?)(?=px$))/i;\nvar unsupportedUnitRe = /^([+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?(ch|em|ex|rem|vh|vw|vmin|vmax|cm|mm|in|pc|pt))$/i;\nvar angleRe = /^([+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?(?:deg|rad))$/i;\nvar percentRe = /^([+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?%)$/i;\n\nvar noopToken = function noopToken(predicate) {\n return function (node) {\n return predicate(node) ? '' : null;\n };\n};\n\nvar valueForTypeToken = function valueForTypeToken(type) {\n return function (node) {\n return node.type === type ? node.value : null;\n };\n};\n\nvar regExpToken = function regExpToken(regExp, transform) {\n if (transform === void 0) {\n transform = String;\n }\n\n return function (node) {\n if (node.type !== 'word') return null;\n var match = node.value.match(regExp);\n if (match === null) return null;\n var value = transform(match[1]);\n return value;\n };\n};\n\nvar SPACE = noopToken(function (node) {\n return node.type === 'space';\n});\nvar SLASH = noopToken(function (node) {\n return node.type === 'div' && node.value === '/';\n});\nvar COMMA = noopToken(function (node) {\n return node.type === 'div' && node.value === ',';\n});\nvar WORD = valueForTypeToken('word');\nvar NONE = regExpToken(noneRe);\nvar AUTO = regExpToken(autoRe);\nvar NUMBER = regExpToken(numberRe, Number);\nvar LENGTH = regExpToken(lengthRe, Number);\nvar UNSUPPORTED_LENGTH_UNIT = regExpToken(unsupportedUnitRe);\nvar ANGLE = regExpToken(angleRe, function (angle) {\n return angle.toLowerCase();\n});\nvar PERCENT = regExpToken(percentRe);\nvar IDENT = regExpToken(identRe);\nvar STRING = matchString;\nvar COLOR = matchColor;\nvar LINE = regExpToken(/^(none|underline|line-through)$/i);\nvar BORDER_STYLE = regExpToken(/^(solid|dashed|dotted)$/);\nvar defaultBorderWidth = 1;\nvar defaultBorderColor = 'black';\nvar defaultBorderStyle = 'solid';\n\nvar border = function border(tokenStream) {\n var borderWidth;\n var borderColor;\n var borderStyle;\n\n if (tokenStream.matches(NONE)) {\n tokenStream.expectEmpty();\n return {\n borderWidth: 0,\n borderColor: 'black',\n borderStyle: 'solid'\n };\n }\n\n var partsParsed = 0;\n\n while (partsParsed < 3 && tokenStream.hasTokens()) {\n if (partsParsed !== 0) tokenStream.expect(SPACE);\n\n if (borderWidth === undefined && tokenStream.matches(LENGTH, UNSUPPORTED_LENGTH_UNIT)) {\n borderWidth = tokenStream.lastValue;\n } else if (borderColor === undefined && tokenStream.matches(COLOR)) {\n borderColor = tokenStream.lastValue;\n } else if (borderStyle === undefined && tokenStream.matches(BORDER_STYLE)) {\n borderStyle = tokenStream.lastValue;\n } else {\n tokenStream[\"throw\"]();\n }\n\n partsParsed += 1;\n }\n\n tokenStream.expectEmpty();\n if (borderWidth === undefined) borderWidth = defaultBorderWidth;\n if (borderColor === undefined) borderColor = defaultBorderColor;\n if (borderStyle === undefined) borderStyle = defaultBorderStyle;\n return {\n borderWidth: borderWidth,\n borderColor: borderColor,\n borderStyle: borderStyle\n };\n};\n\nvar directionFactory = function directionFactory(_ref) {\n var _ref$types = _ref.types,\n types = _ref$types === void 0 ? [LENGTH, UNSUPPORTED_LENGTH_UNIT, PERCENT] : _ref$types,\n _ref$directions = _ref.directions,\n directions = _ref$directions === void 0 ? ['Top', 'Right', 'Bottom', 'Left'] : _ref$directions,\n _ref$prefix = _ref.prefix,\n prefix = _ref$prefix === void 0 ? '' : _ref$prefix,\n _ref$suffix = _ref.suffix,\n suffix = _ref$suffix === void 0 ? '' : _ref$suffix;\n return function (tokenStream) {\n var _ref2;\n\n var values = []; // borderWidth doesn't currently allow a percent value, but may do in the future\n\n values.push(tokenStream.expect.apply(tokenStream, types));\n\n while (values.length < 4 && tokenStream.hasTokens()) {\n tokenStream.expect(SPACE);\n values.push(tokenStream.expect.apply(tokenStream, types));\n }\n\n tokenStream.expectEmpty();\n var top = values[0],\n _values$ = values[1],\n right = _values$ === void 0 ? top : _values$,\n _values$2 = values[2],\n bottom = _values$2 === void 0 ? top : _values$2,\n _values$3 = values[3],\n left = _values$3 === void 0 ? right : _values$3;\n\n var keyFor = function keyFor(n) {\n return \"\" + prefix + directions[n] + suffix;\n };\n\n return _ref2 = {}, _ref2[keyFor(0)] = top, _ref2[keyFor(1)] = right, _ref2[keyFor(2)] = bottom, _ref2[keyFor(3)] = left, _ref2;\n };\n};\n\nvar parseShadowOffset = function parseShadowOffset(tokenStream) {\n var width = tokenStream.expect(LENGTH);\n var height = tokenStream.matches(SPACE) ? tokenStream.expect(LENGTH) : width;\n tokenStream.expectEmpty();\n return {\n width: width,\n height: height\n };\n};\n\nvar parseShadow = function parseShadow(tokenStream) {\n var offsetX;\n var offsetY;\n var radius;\n var color;\n\n if (tokenStream.matches(NONE)) {\n tokenStream.expectEmpty();\n return {\n offset: {\n width: 0,\n height: 0\n },\n radius: 0,\n color: 'black'\n };\n }\n\n var didParseFirst = false;\n\n while (tokenStream.hasTokens()) {\n if (didParseFirst) tokenStream.expect(SPACE);\n\n if (offsetX === undefined && tokenStream.matches(LENGTH, UNSUPPORTED_LENGTH_UNIT)) {\n offsetX = tokenStream.lastValue;\n tokenStream.expect(SPACE);\n offsetY = tokenStream.expect(LENGTH, UNSUPPORTED_LENGTH_UNIT);\n tokenStream.saveRewindPoint();\n\n if (tokenStream.matches(SPACE) && tokenStream.matches(LENGTH, UNSUPPORTED_LENGTH_UNIT)) {\n radius = tokenStream.lastValue;\n } else {\n tokenStream.rewind();\n }\n } else if (color === undefined && tokenStream.matches(COLOR)) {\n color = tokenStream.lastValue;\n } else {\n tokenStream[\"throw\"]();\n }\n\n didParseFirst = true;\n }\n\n if (offsetX === undefined) tokenStream[\"throw\"]();\n return {\n offset: {\n width: offsetX,\n height: offsetY\n },\n radius: radius !== undefined ? radius : 0,\n color: color !== undefined ? color : 'black'\n };\n};\n\nvar boxShadow = function boxShadow(tokenStream) {\n var _parseShadow = parseShadow(tokenStream),\n offset = _parseShadow.offset,\n radius = _parseShadow.radius,\n color = _parseShadow.color;\n\n return {\n shadowOffset: offset,\n shadowRadius: radius,\n shadowColor: color,\n shadowOpacity: 1\n };\n};\n\nvar defaultFlexGrow = 1;\nvar defaultFlexShrink = 1;\nvar defaultFlexBasis = 0;\n\nvar flex = function flex(tokenStream) {\n var flexGrow;\n var flexShrink;\n var flexBasis;\n\n if (tokenStream.matches(NONE)) {\n tokenStream.expectEmpty();\n return {\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto'\n };\n }\n\n tokenStream.saveRewindPoint();\n\n if (tokenStream.matches(AUTO) && !tokenStream.hasTokens()) {\n return {\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: 'auto'\n };\n }\n\n tokenStream.rewind();\n var partsParsed = 0;\n\n while (partsParsed < 2 && tokenStream.hasTokens()) {\n if (partsParsed !== 0) tokenStream.expect(SPACE);\n\n if (flexGrow === undefined && tokenStream.matches(NUMBER)) {\n flexGrow = tokenStream.lastValue;\n tokenStream.saveRewindPoint();\n\n if (tokenStream.matches(SPACE) && tokenStream.matches(NUMBER)) {\n flexShrink = tokenStream.lastValue;\n } else {\n tokenStream.rewind();\n }\n } else if (flexBasis === undefined && tokenStream.matches(LENGTH, UNSUPPORTED_LENGTH_UNIT, PERCENT)) {\n flexBasis = tokenStream.lastValue;\n } else if (flexBasis === undefined && tokenStream.matches(AUTO)) {\n flexBasis = 'auto';\n } else {\n tokenStream[\"throw\"]();\n }\n\n partsParsed += 1;\n }\n\n tokenStream.expectEmpty();\n if (flexGrow === undefined) flexGrow = defaultFlexGrow;\n if (flexShrink === undefined) flexShrink = defaultFlexShrink;\n if (flexBasis === undefined) flexBasis = defaultFlexBasis;\n return {\n flexGrow: flexGrow,\n flexShrink: flexShrink,\n flexBasis: flexBasis\n };\n};\n\nvar FLEX_WRAP = regExpToken(/(nowrap|wrap|wrap-reverse)/);\nvar FLEX_DIRECTION = regExpToken(/(row|row-reverse|column|column-reverse)/);\nvar defaultFlexWrap = 'nowrap';\nvar defaultFlexDirection = 'row';\n\nvar flexFlow = function flexFlow(tokenStream) {\n var flexWrap;\n var flexDirection;\n var partsParsed = 0;\n\n while (partsParsed < 2 && tokenStream.hasTokens()) {\n if (partsParsed !== 0) tokenStream.expect(SPACE);\n\n if (flexWrap === undefined && tokenStream.matches(FLEX_WRAP)) {\n flexWrap = tokenStream.lastValue;\n } else if (flexDirection === undefined && tokenStream.matches(FLEX_DIRECTION)) {\n flexDirection = tokenStream.lastValue;\n } else {\n tokenStream[\"throw\"]();\n }\n\n partsParsed += 1;\n }\n\n tokenStream.expectEmpty();\n if (flexWrap === undefined) flexWrap = defaultFlexWrap;\n if (flexDirection === undefined) flexDirection = defaultFlexDirection;\n return {\n flexWrap: flexWrap,\n flexDirection: flexDirection\n };\n};\n\nvar fontFamily = function fontFamily(tokenStream) {\n var fontFamily;\n\n if (tokenStream.matches(STRING)) {\n fontFamily = tokenStream.lastValue;\n } else {\n fontFamily = tokenStream.expect(IDENT);\n\n while (tokenStream.hasTokens()) {\n tokenStream.expect(SPACE);\n var nextIdent = tokenStream.expect(IDENT);\n fontFamily += \" \" + nextIdent;\n }\n }\n\n tokenStream.expectEmpty();\n return {\n fontFamily: fontFamily\n };\n};\n\nvar NORMAL = regExpToken(/^(normal)$/);\nvar STYLE = regExpToken(/^(italic)$/);\nvar WEIGHT = regExpToken(/^([1-9]00|bold)$/);\nvar VARIANT = regExpToken(/^(small-caps)$/);\nvar defaultFontStyle = 'normal';\nvar defaultFontWeight = 'normal';\nvar defaultFontVariant = [];\n\nvar font = function font(tokenStream) {\n var fontStyle;\n var fontWeight;\n var fontVariant; // let fontSize;\n\n var lineHeight; // let fontFamily;\n\n var numStyleWeightVariantMatched = 0;\n\n while (numStyleWeightVariantMatched < 3 && tokenStream.hasTokens()) {\n if (tokenStream.matches(NORMAL)) ;else if (fontStyle === undefined && tokenStream.matches(STYLE)) {\n fontStyle = tokenStream.lastValue;\n } else if (fontWeight === undefined && tokenStream.matches(WEIGHT)) {\n fontWeight = tokenStream.lastValue;\n } else if (fontVariant === undefined && tokenStream.matches(VARIANT)) {\n fontVariant = [tokenStream.lastValue];\n } else {\n break;\n }\n tokenStream.expect(SPACE);\n numStyleWeightVariantMatched += 1;\n }\n\n var fontSize = tokenStream.expect(LENGTH, UNSUPPORTED_LENGTH_UNIT);\n\n if (tokenStream.matches(SLASH)) {\n lineHeight = tokenStream.expect(LENGTH, UNSUPPORTED_LENGTH_UNIT);\n }\n\n tokenStream.expect(SPACE);\n\n var _fontFamily = fontFamily(tokenStream),\n fontFamily$1 = _fontFamily.fontFamily;\n\n if (fontStyle === undefined) fontStyle = defaultFontStyle;\n if (fontWeight === undefined) fontWeight = defaultFontWeight;\n if (fontVariant === undefined) fontVariant = defaultFontVariant;\n var out = {\n fontStyle: fontStyle,\n fontWeight: fontWeight,\n fontVariant: fontVariant,\n fontSize: fontSize,\n fontFamily: fontFamily$1\n };\n if (lineHeight !== undefined) out.lineHeight = lineHeight;\n return out;\n};\n\nvar ALIGN_CONTENT = regExpToken(/(flex-(?:start|end)|center|stretch|space-(?:between|around))/);\nvar JUSTIFY_CONTENT = regExpToken(/(flex-(?:start|end)|center|space-(?:between|around|evenly))/);\n\nvar placeContent = function placeContent(tokenStream) {\n var alignContent = tokenStream.expect(ALIGN_CONTENT);\n var justifyContent;\n\n if (tokenStream.hasTokens()) {\n tokenStream.expect(SPACE);\n justifyContent = tokenStream.expect(JUSTIFY_CONTENT);\n } else {\n justifyContent = 'stretch';\n }\n\n tokenStream.expectEmpty();\n return {\n alignContent: alignContent,\n justifyContent: justifyContent\n };\n};\n\nvar STYLE$1 = regExpToken(/^(solid|double|dotted|dashed)$/);\nvar defaultTextDecorationLine = 'none';\nvar defaultTextDecorationStyle = 'solid';\nvar defaultTextDecorationColor = 'black';\n\nvar textDecoration = function textDecoration(tokenStream) {\n var line;\n var style;\n var color;\n var didParseFirst = false;\n\n while (tokenStream.hasTokens()) {\n if (didParseFirst) tokenStream.expect(SPACE);\n\n if (line === undefined && tokenStream.matches(LINE)) {\n var lines = [tokenStream.lastValue.toLowerCase()];\n tokenStream.saveRewindPoint();\n\n if (lines[0] !== 'none' && tokenStream.matches(SPACE) && tokenStream.matches(LINE)) {\n lines.push(tokenStream.lastValue.toLowerCase()); // Underline comes before line-through\n\n lines.sort().reverse();\n } else {\n tokenStream.rewind();\n }\n\n line = lines.join(' ');\n } else if (style === undefined && tokenStream.matches(STYLE$1)) {\n style = tokenStream.lastValue;\n } else if (color === undefined && tokenStream.matches(COLOR)) {\n color = tokenStream.lastValue;\n } else {\n tokenStream[\"throw\"]();\n }\n\n didParseFirst = true;\n }\n\n return {\n textDecorationLine: line !== undefined ? line : defaultTextDecorationLine,\n textDecorationColor: color !== undefined ? color : defaultTextDecorationColor,\n textDecorationStyle: style !== undefined ? style : defaultTextDecorationStyle\n };\n};\n\nvar textDecorationLine = function textDecorationLine(tokenStream) {\n var lines = [];\n var didParseFirst = false;\n\n while (tokenStream.hasTokens()) {\n if (didParseFirst) tokenStream.expect(SPACE);\n lines.push(tokenStream.expect(LINE).toLowerCase());\n didParseFirst = true;\n }\n\n lines.sort().reverse();\n return {\n textDecorationLine: lines.join(' ')\n };\n};\n\nvar textShadow = function textShadow(tokenStream) {\n var _parseShadow2 = parseShadow(tokenStream),\n offset = _parseShadow2.offset,\n radius = _parseShadow2.radius,\n color = _parseShadow2.color;\n\n return {\n textShadowOffset: offset,\n textShadowRadius: radius,\n textShadowColor: color\n };\n};\n\nvar oneOfType = function oneOfType(tokenType) {\n return function (functionStream) {\n var value = functionStream.expect(tokenType);\n functionStream.expectEmpty();\n return value;\n };\n};\n\nvar singleNumber = oneOfType(NUMBER);\nvar singleLength = oneOfType(LENGTH);\nvar singleAngle = oneOfType(ANGLE);\n\nvar xyTransformFactory = function xyTransformFactory(tokenType) {\n return function (key, valueIfOmitted) {\n return function (functionStream) {\n var _ref3, _ref4;\n\n var x = functionStream.expect(tokenType);\n var y;\n\n if (functionStream.hasTokens()) {\n functionStream.expect(COMMA);\n y = functionStream.expect(tokenType);\n } else if (valueIfOmitted !== undefined) {\n y = valueIfOmitted;\n } else {\n // Assumption, if x === y, then we can omit XY\n // I.e. scale(5) => [{ scale: 5 }] rather than [{ scaleX: 5 }, { scaleY: 5 }]\n return x;\n }\n\n functionStream.expectEmpty();\n return [(_ref3 = {}, _ref3[key + \"Y\"] = y, _ref3), (_ref4 = {}, _ref4[key + \"X\"] = x, _ref4)];\n };\n };\n};\n\nvar xyNumber = xyTransformFactory(NUMBER);\nvar xyLength = xyTransformFactory(LENGTH);\nvar xyAngle = xyTransformFactory(ANGLE);\nvar partTransforms = {\n perspective: singleNumber,\n scale: xyNumber('scale'),\n scaleX: singleNumber,\n scaleY: singleNumber,\n translate: xyLength('translate', 0),\n translateX: singleLength,\n translateY: singleLength,\n rotate: singleAngle,\n rotateX: singleAngle,\n rotateY: singleAngle,\n rotateZ: singleAngle,\n skewX: singleAngle,\n skewY: singleAngle,\n skew: xyAngle('skew', '0deg')\n};\n\nvar transform = function transform(tokenStream) {\n var transforms = [];\n var didParseFirst = false;\n\n while (tokenStream.hasTokens()) {\n if (didParseFirst) tokenStream.expect(SPACE);\n var functionStream = tokenStream.expectFunction();\n var functionName = functionStream.functionName;\n var transformedValues = partTransforms[functionName](functionStream);\n\n if (!Array.isArray(transformedValues)) {\n var _ref5;\n\n transformedValues = [(_ref5 = {}, _ref5[functionName] = transformedValues, _ref5)];\n }\n\n transforms = transformedValues.concat(transforms);\n didParseFirst = true;\n }\n\n return {\n transform: transforms\n };\n};\n\nvar background = function background(tokenStream) {\n return {\n backgroundColor: tokenStream.expect(COLOR)\n };\n};\n\nvar borderColor = directionFactory({\n types: [COLOR],\n prefix: 'border',\n suffix: 'Color'\n});\nvar borderRadius = directionFactory({\n directions: ['TopLeft', 'TopRight', 'BottomRight', 'BottomLeft'],\n prefix: 'border',\n suffix: 'Radius'\n});\nvar borderWidth = directionFactory({\n prefix: 'border',\n suffix: 'Width'\n});\nvar margin = directionFactory({\n types: [LENGTH, UNSUPPORTED_LENGTH_UNIT, PERCENT, AUTO],\n prefix: 'margin'\n});\nvar padding = directionFactory({\n prefix: 'padding'\n});\n\nvar fontVariant = function fontVariant(tokenStream) {\n return {\n fontVariant: [tokenStream.expect(IDENT)]\n };\n};\n\nvar fontWeight = function fontWeight(tokenStream) {\n return {\n fontWeight: tokenStream.expect(WORD) // Also match numbers as strings\n\n };\n};\n\nvar shadowOffset = function shadowOffset(tokenStream) {\n return {\n shadowOffset: parseShadowOffset(tokenStream)\n };\n};\n\nvar textShadowOffset = function textShadowOffset(tokenStream) {\n return {\n textShadowOffset: parseShadowOffset(tokenStream)\n };\n};\n\nvar transforms = {\n background: background,\n border: border,\n borderColor: borderColor,\n borderRadius: borderRadius,\n borderWidth: borderWidth,\n boxShadow: boxShadow,\n flex: flex,\n flexFlow: flexFlow,\n font: font,\n fontFamily: fontFamily,\n fontVariant: fontVariant,\n fontWeight: fontWeight,\n margin: margin,\n padding: padding,\n placeContent: placeContent,\n shadowOffset: shadowOffset,\n textShadow: textShadow,\n textShadowOffset: textShadowOffset,\n textDecoration: textDecoration,\n textDecorationLine: textDecorationLine,\n transform: transform\n};\nvar propertiesWithoutUnits;\n\nif (process.env.NODE_ENV !== 'production') {\n propertiesWithoutUnits = ['aspectRatio', 'elevation', 'flexGrow', 'flexShrink', 'opacity', 'shadowOpacity', 'zIndex'];\n}\n\nvar devPropertiesWithUnitsRegExp = propertiesWithoutUnits != null ? new RegExp(propertiesWithoutUnits.join('|')) : null;\nvar SYMBOL_MATCH = 'SYMBOL_MATCH';\n\nvar TokenStream =\n/*#__PURE__*/\nfunction () {\n function TokenStream(nodes, parent) {\n this.index = 0;\n this.nodes = nodes;\n this.functionName = parent != null ? parent.value : null;\n this.lastValue = null;\n this.rewindIndex = -1;\n }\n\n var _proto = TokenStream.prototype;\n\n _proto.hasTokens = function hasTokens() {\n return this.index <= this.nodes.length - 1;\n };\n\n _proto[SYMBOL_MATCH] = function () {\n if (!this.hasTokens()) return null;\n var node = this.nodes[this.index];\n\n for (var i = 0; i < arguments.length; i += 1) {\n var tokenDescriptor = i < 0 || arguments.length <= i ? undefined : arguments[i];\n var value = tokenDescriptor(node);\n\n if (value !== null) {\n this.index += 1;\n this.lastValue = value;\n return value;\n }\n }\n\n return null;\n };\n\n _proto.matches = function matches() {\n return this[SYMBOL_MATCH].apply(this, arguments) !== null;\n };\n\n _proto.expect = function expect() {\n var value = this[SYMBOL_MATCH].apply(this, arguments);\n return value !== null ? value : this[\"throw\"]();\n };\n\n _proto.matchesFunction = function matchesFunction() {\n var node = this.nodes[this.index];\n if (node.type !== 'function') return null;\n var value = new TokenStream(node.nodes, node);\n this.index += 1;\n this.lastValue = null;\n return value;\n };\n\n _proto.expectFunction = function expectFunction() {\n var value = this.matchesFunction();\n return value !== null ? value : this[\"throw\"]();\n };\n\n _proto.expectEmpty = function expectEmpty() {\n if (this.hasTokens()) this[\"throw\"]();\n };\n\n _proto[\"throw\"] = function _throw() {\n throw new Error(\"Unexpected token type: \" + this.nodes[this.index].type);\n };\n\n _proto.saveRewindPoint = function saveRewindPoint() {\n this.rewindIndex = this.index;\n };\n\n _proto.rewind = function rewind() {\n if (this.rewindIndex === -1) throw new Error('Internal error');\n this.index = this.rewindIndex;\n this.lastValue = null;\n };\n\n return TokenStream;\n}();\n/* eslint-disable no-param-reassign */\n// Note if this is wrong, you'll need to change tokenTypes.js too\n\n\nvar numberOrLengthRe = /^([+-]?(?:\\d*\\.)?\\d+(?:e[+-]?\\d+)?)(?:px)?$/i;\nvar numberOnlyRe = /^[+-]?(?:\\d*\\.\\d*|[1-9]\\d*)(?:e[+-]?\\d+)?$/i;\nvar boolRe = /^true|false$/i;\nvar nullRe = /^null$/i;\nvar undefinedRe = /^undefined$/i; // Undocumented export\n\nvar transformRawValue = function transformRawValue(propName, value) {\n if (process.env.NODE_ENV !== 'production') {\n var needsUnit = !devPropertiesWithUnitsRegExp.test(propName);\n var isNumberWithoutUnit = numberOnlyRe.test(value);\n\n if (needsUnit && isNumberWithoutUnit) {\n // eslint-disable-next-line no-console\n console.warn(\"Expected style \\\"\" + propName + \": \" + value + \"\\\" to contain units\");\n }\n\n if (!needsUnit && value !== '0' && !isNumberWithoutUnit) {\n // eslint-disable-next-line no-console\n console.warn(\"Expected style \\\"\" + propName + \": \" + value + \"\\\" to be unitless\");\n }\n }\n\n var numberMatch = value.match(numberOrLengthRe);\n if (numberMatch !== null) return Number(numberMatch[1]);\n var boolMatch = value.match(boolRe);\n if (boolMatch !== null) return boolMatch[0].toLowerCase() === 'true';\n var nullMatch = value.match(nullRe);\n if (nullMatch !== null) return null;\n var undefinedMatch = value.match(undefinedRe);\n if (undefinedMatch !== null) return undefined;\n return value;\n};\n\nvar baseTransformShorthandValue = function baseTransformShorthandValue(propName, value) {\n var ast = parse__default(value);\n var tokenStream = new TokenStream(ast.nodes);\n return transforms[propName](tokenStream);\n};\n\nvar transformShorthandValue = process.env.NODE_ENV === 'production' ? baseTransformShorthandValue : function (propName, value) {\n try {\n return baseTransformShorthandValue(propName, value);\n } catch (e) {\n throw new Error(\"Failed to parse declaration \\\"\" + propName + \": \" + value + \"\\\"\");\n }\n};\n\nvar getStylesForProperty = function getStylesForProperty(propName, inputValue, allowShorthand) {\n var _ref6;\n\n var isRawValue = allowShorthand === false || !(propName in transforms);\n var value = inputValue.trim();\n var propValues = isRawValue ? (_ref6 = {}, _ref6[propName] = transformRawValue(propName, value), _ref6) : transformShorthandValue(propName, value);\n return propValues;\n};\n\nvar getPropertyName = function getPropertyName(propName) {\n var isCustomProp = /^--\\w+/.test(propName);\n\n if (isCustomProp) {\n return propName;\n }\n\n return camelizeStyleName(propName);\n};\n\nvar index = function index(rules, shorthandBlacklist) {\n if (shorthandBlacklist === void 0) {\n shorthandBlacklist = [];\n }\n\n return rules.reduce(function (accum, rule) {\n var propertyName = getPropertyName(rule[0]);\n var value = rule[1];\n var allowShorthand = shorthandBlacklist.indexOf(propertyName) === -1;\n return Object.assign(accum, getStylesForProperty(propertyName, value, allowShorthand));\n }, {});\n};\n\nexports[\"default\"] = index;\nexports.getPropertyName = getPropertyName;\nexports.getStylesForProperty = getStylesForProperty;\nexports.transformRawValue = transformRawValue;\n","var parse = require(\"./parse\");\nvar walk = require(\"./walk\");\nvar stringify = require(\"./stringify\");\n\nfunction ValueParser(value) {\n if (this instanceof ValueParser) {\n this.nodes = parse(value);\n return this;\n }\n return new ValueParser(value);\n}\n\nValueParser.prototype.toString = function() {\n return Array.isArray(this.nodes) ? stringify(this.nodes) : \"\";\n};\n\nValueParser.prototype.walk = function(cb, bubble) {\n walk(this.nodes, cb, bubble);\n return this;\n};\n\nValueParser.unit = require(\"./unit\");\n\nValueParser.walk = walk;\n\nValueParser.stringify = stringify;\n\nmodule.exports = ValueParser;\n","var openParentheses = \"(\".charCodeAt(0);\nvar closeParentheses = \")\".charCodeAt(0);\nvar singleQuote = \"'\".charCodeAt(0);\nvar doubleQuote = '\"'.charCodeAt(0);\nvar backslash = \"\\\\\".charCodeAt(0);\nvar slash = \"/\".charCodeAt(0);\nvar comma = \",\".charCodeAt(0);\nvar colon = \":\".charCodeAt(0);\nvar star = \"*\".charCodeAt(0);\nvar uLower = \"u\".charCodeAt(0);\nvar uUpper = \"U\".charCodeAt(0);\nvar plus = \"+\".charCodeAt(0);\nvar isUnicodeRange = /^[a-f0-9?-]+$/i;\n\nmodule.exports = function(input) {\n var tokens = [];\n var value = input;\n\n var next,\n quote,\n prev,\n token,\n escape,\n escapePos,\n whitespacePos,\n parenthesesOpenPos;\n var pos = 0;\n var code = value.charCodeAt(pos);\n var max = value.length;\n var stack = [{ nodes: tokens }];\n var balanced = 0;\n var parent;\n\n var name = \"\";\n var before = \"\";\n var after = \"\";\n\n while (pos < max) {\n // Whitespaces\n if (code <= 32) {\n next = pos;\n do {\n next += 1;\n code = value.charCodeAt(next);\n } while (code <= 32);\n token = value.slice(pos, next);\n\n prev = tokens[tokens.length - 1];\n if (code === closeParentheses && balanced) {\n after = token;\n } else if (prev && prev.type === \"div\") {\n prev.after = token;\n prev.sourceEndIndex += token.length;\n } else if (\n code === comma ||\n code === colon ||\n (code === slash &&\n value.charCodeAt(next + 1) !== star &&\n (!parent ||\n (parent && parent.type === \"function\" && parent.value !== \"calc\")))\n ) {\n before = token;\n } else {\n tokens.push({\n type: \"space\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n }\n\n pos = next;\n\n // Quotes\n } else if (code === singleQuote || code === doubleQuote) {\n next = pos;\n quote = code === singleQuote ? \"'\" : '\"';\n token = {\n type: \"string\",\n sourceIndex: pos,\n quote: quote\n };\n do {\n escape = false;\n next = value.indexOf(quote, next + 1);\n if (~next) {\n escapePos = next;\n while (value.charCodeAt(escapePos - 1) === backslash) {\n escapePos -= 1;\n escape = !escape;\n }\n } else {\n value += quote;\n next = value.length - 1;\n token.unclosed = true;\n }\n } while (escape);\n token.value = value.slice(pos + 1, next);\n token.sourceEndIndex = token.unclosed ? next : next + 1;\n tokens.push(token);\n pos = next + 1;\n code = value.charCodeAt(pos);\n\n // Comments\n } else if (code === slash && value.charCodeAt(pos + 1) === star) {\n next = value.indexOf(\"*/\", pos);\n\n token = {\n type: \"comment\",\n sourceIndex: pos,\n sourceEndIndex: next + 2\n };\n\n if (next === -1) {\n token.unclosed = true;\n next = value.length;\n token.sourceEndIndex = next;\n }\n\n token.value = value.slice(pos + 2, next);\n tokens.push(token);\n\n pos = next + 2;\n code = value.charCodeAt(pos);\n\n // Operation within calc\n } else if (\n (code === slash || code === star) &&\n parent &&\n parent.type === \"function\" &&\n parent.value === \"calc\"\n ) {\n token = value[pos];\n tokens.push({\n type: \"word\",\n sourceIndex: pos - before.length,\n sourceEndIndex: pos + token.length,\n value: token\n });\n pos += 1;\n code = value.charCodeAt(pos);\n\n // Dividers\n } else if (code === slash || code === comma || code === colon) {\n token = value[pos];\n\n tokens.push({\n type: \"div\",\n sourceIndex: pos - before.length,\n sourceEndIndex: pos + token.length,\n value: token,\n before: before,\n after: \"\"\n });\n before = \"\";\n\n pos += 1;\n code = value.charCodeAt(pos);\n\n // Open parentheses\n } else if (openParentheses === code) {\n // Whitespaces after open parentheses\n next = pos;\n do {\n next += 1;\n code = value.charCodeAt(next);\n } while (code <= 32);\n parenthesesOpenPos = pos;\n token = {\n type: \"function\",\n sourceIndex: pos - name.length,\n value: name,\n before: value.slice(parenthesesOpenPos + 1, next)\n };\n pos = next;\n\n if (name === \"url\" && code !== singleQuote && code !== doubleQuote) {\n next -= 1;\n do {\n escape = false;\n next = value.indexOf(\")\", next + 1);\n if (~next) {\n escapePos = next;\n while (value.charCodeAt(escapePos - 1) === backslash) {\n escapePos -= 1;\n escape = !escape;\n }\n } else {\n value += \")\";\n next = value.length - 1;\n token.unclosed = true;\n }\n } while (escape);\n // Whitespaces before closed\n whitespacePos = next;\n do {\n whitespacePos -= 1;\n code = value.charCodeAt(whitespacePos);\n } while (code <= 32);\n if (parenthesesOpenPos < whitespacePos) {\n if (pos !== whitespacePos + 1) {\n token.nodes = [\n {\n type: \"word\",\n sourceIndex: pos,\n sourceEndIndex: whitespacePos + 1,\n value: value.slice(pos, whitespacePos + 1)\n }\n ];\n } else {\n token.nodes = [];\n }\n if (token.unclosed && whitespacePos + 1 !== next) {\n token.after = \"\";\n token.nodes.push({\n type: \"space\",\n sourceIndex: whitespacePos + 1,\n sourceEndIndex: next,\n value: value.slice(whitespacePos + 1, next)\n });\n } else {\n token.after = value.slice(whitespacePos + 1, next);\n token.sourceEndIndex = next;\n }\n } else {\n token.after = \"\";\n token.nodes = [];\n }\n pos = next + 1;\n token.sourceEndIndex = token.unclosed ? next : pos;\n code = value.charCodeAt(pos);\n tokens.push(token);\n } else {\n balanced += 1;\n token.after = \"\";\n token.sourceEndIndex = pos + 1;\n tokens.push(token);\n stack.push(token);\n tokens = token.nodes = [];\n parent = token;\n }\n name = \"\";\n\n // Close parentheses\n } else if (closeParentheses === code && balanced) {\n pos += 1;\n code = value.charCodeAt(pos);\n\n parent.after = after;\n parent.sourceEndIndex += after.length;\n after = \"\";\n balanced -= 1;\n stack[stack.length - 1].sourceEndIndex = pos;\n stack.pop();\n parent = stack[balanced];\n tokens = parent.nodes;\n\n // Words\n } else {\n next = pos;\n do {\n if (code === backslash) {\n next += 1;\n }\n next += 1;\n code = value.charCodeAt(next);\n } while (\n next < max &&\n !(\n code <= 32 ||\n code === singleQuote ||\n code === doubleQuote ||\n code === comma ||\n code === colon ||\n code === slash ||\n code === openParentheses ||\n (code === star &&\n parent &&\n parent.type === \"function\" &&\n parent.value === \"calc\") ||\n (code === slash &&\n parent.type === \"function\" &&\n parent.value === \"calc\") ||\n (code === closeParentheses && balanced)\n )\n );\n token = value.slice(pos, next);\n\n if (openParentheses === code) {\n name = token;\n } else if (\n (uLower === token.charCodeAt(0) || uUpper === token.charCodeAt(0)) &&\n plus === token.charCodeAt(1) &&\n isUnicodeRange.test(token.slice(2))\n ) {\n tokens.push({\n type: \"unicode-range\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n } else {\n tokens.push({\n type: \"word\",\n sourceIndex: pos,\n sourceEndIndex: next,\n value: token\n });\n }\n\n pos = next;\n }\n }\n\n for (pos = stack.length - 1; pos; pos -= 1) {\n stack[pos].unclosed = true;\n stack[pos].sourceEndIndex = value.length;\n }\n\n return stack[0].nodes;\n};\n","function stringifyNode(node, custom) {\n var type = node.type;\n var value = node.value;\n var buf;\n var customResult;\n\n if (custom && (customResult = custom(node)) !== undefined) {\n return customResult;\n } else if (type === \"word\" || type === \"space\") {\n return value;\n } else if (type === \"string\") {\n buf = node.quote || \"\";\n return buf + value + (node.unclosed ? \"\" : buf);\n } else if (type === \"comment\") {\n return \"/*\" + value + (node.unclosed ? \"\" : \"*/\");\n } else if (type === \"div\") {\n return (node.before || \"\") + value + (node.after || \"\");\n } else if (Array.isArray(node.nodes)) {\n buf = stringify(node.nodes, custom);\n if (type !== \"function\") {\n return buf;\n }\n return (\n value +\n \"(\" +\n (node.before || \"\") +\n buf +\n (node.after || \"\") +\n (node.unclosed ? \"\" : \")\")\n );\n }\n return value;\n}\n\nfunction stringify(nodes, custom) {\n var result, i;\n\n if (Array.isArray(nodes)) {\n result = \"\";\n for (i = nodes.length - 1; ~i; i -= 1) {\n result = stringifyNode(nodes[i], custom) + result;\n }\n return result;\n }\n return stringifyNode(nodes, custom);\n}\n\nmodule.exports = stringify;\n","module.exports = function walk(nodes, cb, bubble) {\n var i, max, node, result;\n\n for (i = 0, max = nodes.length; i < max; i += 1) {\n node = nodes[i];\n if (!bubble) {\n result = cb(node, i, nodes);\n }\n\n if (\n result !== false &&\n node.type === \"function\" &&\n Array.isArray(node.nodes)\n ) {\n walk(node.nodes, cb, bubble);\n }\n\n if (bubble) {\n cb(node, i, nodes);\n }\n }\n};\n","var minus = \"-\".charCodeAt(0);\nvar plus = \"+\".charCodeAt(0);\nvar dot = \".\".charCodeAt(0);\nvar exp = \"e\".charCodeAt(0);\nvar EXP = \"E\".charCodeAt(0);\n\n// Check if three code points would start a number\n// https://www.w3.org/TR/css-syntax-3/#starts-with-a-number\nfunction likeNumber(value) {\n var code = value.charCodeAt(0);\n var nextCode;\n\n if (code === plus || code === minus) {\n nextCode = value.charCodeAt(1);\n\n if (nextCode >= 48 && nextCode <= 57) {\n return true;\n }\n\n var nextNextCode = value.charCodeAt(2);\n\n if (nextCode === dot && nextNextCode >= 48 && nextNextCode <= 57) {\n return true;\n }\n\n return false;\n }\n\n if (code === dot) {\n nextCode = value.charCodeAt(1);\n\n if (nextCode >= 48 && nextCode <= 57) {\n return true;\n }\n\n return false;\n }\n\n if (code >= 48 && code <= 57) {\n return true;\n }\n\n return false;\n}\n\n// Consume a number\n// https://www.w3.org/TR/css-syntax-3/#consume-number\nmodule.exports = function(value) {\n var pos = 0;\n var length = value.length;\n var code;\n var nextCode;\n var nextNextCode;\n\n if (length === 0 || !likeNumber(value)) {\n return false;\n }\n\n code = value.charCodeAt(pos);\n\n if (code === plus || code === minus) {\n pos++;\n }\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n\n code = value.charCodeAt(pos);\n nextCode = value.charCodeAt(pos + 1);\n\n if (code === dot && nextCode >= 48 && nextCode <= 57) {\n pos += 2;\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n }\n\n code = value.charCodeAt(pos);\n nextCode = value.charCodeAt(pos + 1);\n nextNextCode = value.charCodeAt(pos + 2);\n\n if (\n (code === exp || code === EXP) &&\n ((nextCode >= 48 && nextCode <= 57) ||\n ((nextCode === plus || nextCode === minus) &&\n nextNextCode >= 48 &&\n nextNextCode <= 57))\n ) {\n pos += nextCode === plus || nextCode === minus ? 3 : 2;\n\n while (pos < length) {\n code = value.charCodeAt(pos);\n\n if (code < 48 || code > 57) {\n break;\n }\n\n pos += 1;\n }\n }\n\n return {\n number: value.slice(0, pos),\n unit: value.slice(pos)\n };\n};\n","'use strict';\n\nmodule.exports = function (obj) {\n\tif (typeof obj === 'string') { return camelCase(obj); }\n\treturn walk(obj);\n};\n\nfunction walk(obj) {\n\tif (!obj || typeof obj !== 'object') { return obj; }\n\tif (isDate(obj) || isRegex(obj)) { return obj; }\n\tif (isArray(obj)) { return map(obj, walk); }\n\treturn reduce(objectKeys(obj), function (acc, key) {\n\t\tvar camel = camelCase(key);\n\t\tacc[camel] = walk(obj[key]);\n\t\treturn acc;\n\t}, {});\n}\n\nfunction camelCase(str) {\n\treturn str.replace(/[_.-](\\w|$)/g, function (_, x) {\n\t\treturn x.toUpperCase();\n\t});\n}\n\nvar isArray = Array.isArray || function (obj) {\n\treturn Object.prototype.toString.call(obj) === '[object Array]';\n};\n\nvar isDate = function (obj) {\n\treturn Object.prototype.toString.call(obj) === '[object Date]';\n};\n\nvar isRegex = function (obj) {\n\treturn Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar has = Object.prototype.hasOwnProperty;\nvar objectKeys = Object.keys || function (obj) {\n\tvar keys = [];\n\tfor (var key in obj) {\n\t\tif (has.call(obj, key)) { keys.push(key); }\n\t}\n\treturn keys;\n};\n\nfunction map(xs, f) {\n\tif (xs.map) { return xs.map(f); }\n\tvar res = [];\n\tfor (var i = 0; i < xs.length; i++) {\n\t\tres.push(f(xs[i], i));\n\t}\n\treturn res;\n}\n\nfunction reduce(xs, f, acc) {\n\tif (xs.reduce) { return xs.reduce(f, acc); }\n\tfor (var i = 0; i < xs.length; i++) {\n\t\tacc = f(acc, xs[i], i);\n\t}\n\treturn acc;\n}\n","'use strict'\n\nmodule.exports = require('./colors.json')\n","{\n \"black\": \"#000000\",\n \"silver\": \"#c0c0c0\",\n \"gray\": \"#808080\",\n \"white\": \"#ffffff\",\n \"maroon\": \"#800000\",\n \"red\": \"#ff0000\",\n \"purple\": \"#800080\",\n \"fuchsia\": \"#ff00ff\",\n \"green\": \"#008000\",\n \"lime\": \"#00ff00\",\n \"olive\": \"#808000\",\n \"yellow\": \"#ffff00\",\n \"navy\": \"#000080\",\n \"blue\": \"#0000ff\",\n \"teal\": \"#008080\",\n \"aqua\": \"#00ffff\",\n \"orange\": \"#ffa500\",\n \"aliceblue\": \"#f0f8ff\",\n \"antiquewhite\": \"#faebd7\",\n \"aquamarine\": \"#7fffd4\",\n \"azure\": \"#f0ffff\",\n \"beige\": \"#f5f5dc\",\n \"bisque\": \"#ffe4c4\",\n \"blanchedalmond\": \"#ffebcd\",\n \"blueviolet\": \"#8a2be2\",\n \"brown\": \"#a52a2a\",\n \"burlywood\": \"#deb887\",\n \"cadetblue\": \"#5f9ea0\",\n \"chartreuse\": \"#7fff00\",\n \"chocolate\": \"#d2691e\",\n \"coral\": \"#ff7f50\",\n \"cornflowerblue\": \"#6495ed\",\n \"cornsilk\": \"#fff8dc\",\n \"crimson\": \"#dc143c\",\n \"darkblue\": \"#00008b\",\n \"darkcyan\": \"#008b8b\",\n \"darkgoldenrod\": \"#b8860b\",\n \"darkgray\": \"#a9a9a9\",\n \"darkgreen\": \"#006400\",\n \"darkgrey\": \"#a9a9a9\",\n \"darkkhaki\": \"#bdb76b\",\n \"darkmagenta\": \"#8b008b\",\n \"darkolivegreen\": \"#556b2f\",\n \"darkorange\": \"#ff8c00\",\n \"darkorchid\": \"#9932cc\",\n \"darkred\": \"#8b0000\",\n \"darksalmon\": \"#e9967a\",\n \"darkseagreen\": \"#8fbc8f\",\n \"darkslateblue\": \"#483d8b\",\n \"darkslategray\": \"#2f4f4f\",\n \"darkslategrey\": \"#2f4f4f\",\n \"darkturquoise\": \"#00ced1\",\n \"darkviolet\": \"#9400d3\",\n \"deeppink\": \"#ff1493\",\n \"deepskyblue\": \"#00bfff\",\n \"dimgray\": \"#696969\",\n \"dimgrey\": \"#696969\",\n \"dodgerblue\": \"#1e90ff\",\n \"firebrick\": \"#b22222\",\n \"floralwhite\": \"#fffaf0\",\n \"forestgreen\": \"#228b22\",\n \"gainsboro\": \"#dcdcdc\",\n \"ghostwhite\": \"#f8f8ff\",\n \"gold\": \"#ffd700\",\n \"goldenrod\": \"#daa520\",\n \"greenyellow\": \"#adff2f\",\n \"grey\": \"#808080\",\n \"honeydew\": \"#f0fff0\",\n \"hotpink\": \"#ff69b4\",\n \"indianred\": \"#cd5c5c\",\n \"indigo\": \"#4b0082\",\n \"ivory\": \"#fffff0\",\n \"khaki\": \"#f0e68c\",\n \"lavender\": \"#e6e6fa\",\n \"lavenderblush\": \"#fff0f5\",\n \"lawngreen\": \"#7cfc00\",\n \"lemonchiffon\": \"#fffacd\",\n \"lightblue\": \"#add8e6\",\n \"lightcoral\": \"#f08080\",\n \"lightcyan\": \"#e0ffff\",\n \"lightgoldenrodyellow\": \"#fafad2\",\n \"lightgray\": \"#d3d3d3\",\n \"lightgreen\": \"#90ee90\",\n \"lightgrey\": \"#d3d3d3\",\n \"lightpink\": \"#ffb6c1\",\n \"lightsalmon\": \"#ffa07a\",\n \"lightseagreen\": \"#20b2aa\",\n \"lightskyblue\": \"#87cefa\",\n \"lightslategray\": \"#778899\",\n \"lightslategrey\": \"#778899\",\n \"lightsteelblue\": \"#b0c4de\",\n \"lightyellow\": \"#ffffe0\",\n \"limegreen\": \"#32cd32\",\n \"linen\": \"#faf0e6\",\n \"mediumaquamarine\": \"#66cdaa\",\n \"mediumblue\": \"#0000cd\",\n \"mediumorchid\": \"#ba55d3\",\n \"mediumpurple\": \"#9370db\",\n \"mediumseagreen\": \"#3cb371\",\n \"mediumslateblue\": \"#7b68ee\",\n \"mediumspringgreen\": \"#00fa9a\",\n \"mediumturquoise\": \"#48d1cc\",\n \"mediumvioletred\": \"#c71585\",\n \"midnightblue\": \"#191970\",\n \"mintcream\": \"#f5fffa\",\n \"mistyrose\": \"#ffe4e1\",\n \"moccasin\": \"#ffe4b5\",\n \"navajowhite\": \"#ffdead\",\n \"oldlace\": \"#fdf5e6\",\n \"olivedrab\": \"#6b8e23\",\n \"orangered\": \"#ff4500\",\n \"orchid\": \"#da70d6\",\n \"palegoldenrod\": \"#eee8aa\",\n \"palegreen\": \"#98fb98\",\n \"paleturquoise\": \"#afeeee\",\n \"palevioletred\": \"#db7093\",\n \"papayawhip\": \"#ffefd5\",\n \"peachpuff\": \"#ffdab9\",\n \"peru\": \"#cd853f\",\n \"pink\": \"#ffc0cb\",\n \"plum\": \"#dda0dd\",\n \"powderblue\": \"#b0e0e6\",\n \"rosybrown\": \"#bc8f8f\",\n \"royalblue\": \"#4169e1\",\n \"saddlebrown\": \"#8b4513\",\n \"salmon\": \"#fa8072\",\n \"sandybrown\": \"#f4a460\",\n \"seagreen\": \"#2e8b57\",\n \"seashell\": \"#fff5ee\",\n \"sienna\": \"#a0522d\",\n \"skyblue\": \"#87ceeb\",\n \"slateblue\": \"#6a5acd\",\n \"slategray\": \"#708090\",\n \"slategrey\": \"#708090\",\n \"snow\": \"#fffafa\",\n \"springgreen\": \"#00ff7f\",\n \"steelblue\": \"#4682b4\",\n \"tan\": \"#d2b48c\",\n \"thistle\": \"#d8bfd8\",\n \"tomato\": \"#ff6347\",\n \"turquoise\": \"#40e0d0\",\n \"violet\": \"#ee82ee\",\n \"wheat\": \"#f5deb3\",\n \"whitesmoke\": \"#f5f5f5\",\n \"yellowgreen\": \"#9acd32\",\n \"rebeccapurple\": \"#663399\"\n}\n","import { CSSProperties } from './processor-types';\n\nexport class ShortMergeRequest {\n public readonly properties: CSSProperties | null;\n constructor(properties: CSSProperties | null) {\n this.properties = properties;\n }\n\n forEach(callback: (record: CSSProperties[number]) => void) {\n this.entries().forEach(callback);\n }\n\n map(callback: (record: CSSProperties[number]) => T) {\n return this.entries().map(callback);\n }\n\n entries() {\n if (this.properties == null) {\n return [];\n }\n return Object.entries(this.properties);\n }\n}\n","import { ShortMergeRequest } from '../ShortMergeRequest';\nimport { GenericCSSPropertyValidator } from './GenericPropertyValidator';\nimport { CSSPropertyModel, ShortCSSPropertyValidatorParams } from './types';\n\nexport abstract class ShortCSSPropertyValidator<\n C extends CSSPropertyModel = any,\n N = any\n> extends GenericCSSPropertyValidator {\n constructor(params: ShortCSSPropertyValidatorParams) {\n super(params, true);\n }\n\n /**\n * Expand a CSS shorthand property to its longhand equivalent.\n *\n * @param value\n */\n abstract normalizeInlineCSSValue(value: string): ShortMergeRequest | null;\n\n /**\n * Expand a React Native shorthand property to its longhand equivalent.\n *\n * @param value\n */\n abstract normalizeNativeValue(value: N): ShortMergeRequest | N | null;\n}\n","import { CSSProcessorConfig } from '../config';\nimport { CSSPropertyModel, CSSPropertyValidatorParams } from './types';\nimport {\n CSSPropertyCompatCategory,\n CSSPropertyDisplayCategory,\n CSSPropertyPropagationCategory,\n CSSPropertySpecs\n} from '../processor-types';\nimport { ShortMergeRequest } from '../ShortMergeRequest';\n\nexport abstract class GenericCSSPropertyValidator<\n C extends CSSPropertyModel = any,\n N = any\n> implements CSSPropertySpecs\n{\n protected readonly model: C;\n protected readonly config: CSSProcessorConfig;\n public readonly compatCategory: CSSPropertyCompatCategory;\n public readonly propagationCategory: CSSPropertyPropagationCategory;\n public readonly displayCategory: CSSPropertyDisplayCategory;\n public readonly propertyName: string;\n private readonly _isShorthand: boolean;\n\n constructor(\n { model, config, propertyName }: CSSPropertyValidatorParams,\n isShorthand: boolean\n ) {\n this.model = model;\n this.config = config;\n this.compatCategory = model.translatable ? 'native' : 'web';\n this.propagationCategory = model.inheritable ? 'flow' : 'retain';\n this.displayCategory = model.display;\n this.propertyName = propertyName;\n this._isShorthand = isShorthand;\n }\n\n /**\n * Normalize value from inline styles\n *\n * @param value\n */\n abstract normalizeInlineCSSValue(\n value: string | N\n ): ShortMergeRequest | N | null;\n\n /**\n * Normalize value from native styles.\n *\n * @param value\n */\n abstract normalizeNativeValue(value: N): ShortMergeRequest | N | null;\n\n isShorthand(): boolean {\n return this._isShorthand;\n }\n}\n","import { ShortMergeRequest } from '../ShortMergeRequest';\nimport { ShortCSSPropertyValidator } from './ShortCSSPropertyValidator';\nimport { CSSPropertyModel, ShortCSSPropertyValidatorParams } from './types';\n\nexport type Directions = {\n top: string;\n bottom: string;\n left: string;\n right: string;\n};\n\nconst WHITESPACE_REGEX = /\\s+/;\n\nexport class ShortCardinalCSSpropertyValidator<\n C extends CSSPropertyModel = any\n> extends ShortCSSPropertyValidator {\n public directions: Readonly;\n constructor(\n params: ShortCSSPropertyValidatorParams,\n /**\n * Top, Right, Bottom, Left\n */\n directions: Readonly\n ) {\n super(params);\n this.directions = directions;\n }\n\n normalizeInlineCSSValue(value: string | number) {\n if (typeof value === 'number') {\n return new ShortMergeRequest({\n [this.directions.top]: value,\n [this.directions.right]: value,\n [this.directions.bottom]: value,\n [this.directions.left]: value\n });\n }\n const values = value.split(WHITESPACE_REGEX);\n if (values.length === 4) {\n return new ShortMergeRequest({\n [this.directions.top]: values[0],\n [this.directions.right]: values[1],\n [this.directions.bottom]: values[2],\n [this.directions.left]: values[3]\n });\n }\n if (values.length === 3) {\n return new ShortMergeRequest({\n [this.directions.top]: values[0],\n [this.directions.right]: values[1],\n [this.directions.bottom]: values[2],\n [this.directions.left]: values[1]\n });\n }\n if (values.length === 2) {\n return new ShortMergeRequest({\n [this.directions.top]: values[0],\n [this.directions.right]: values[1],\n [this.directions.bottom]: values[0],\n [this.directions.left]: values[1]\n });\n }\n if (values.length === 1) {\n return new ShortMergeRequest({\n [this.directions.top]: values[0],\n [this.directions.right]: values[0],\n [this.directions.bottom]: values[0],\n [this.directions.left]: values[0]\n });\n }\n return null;\n }\n\n normalizeNativeValue(value: string | number) {\n return this.normalizeInlineCSSValue(value);\n }\n}\n","import { LongEnumerationCSSPropertyValidator } from './LongEnumerationCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nconst WHITESPACE_REGEX = /\\s+/;\n\nexport class LongBorderStyleCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongEnumerationCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): string | null {\n const normalizedVal = this.pickFirst(value);\n return normalizedVal\n ? super.normalizeRawInlineCSSValue(normalizedVal)\n : null;\n }\n\n normalizeNativeValue(value: string) {\n return this.pickFirst(value);\n }\n\n pickFirst(value: string) {\n const values = value.split(WHITESPACE_REGEX);\n return values[0] || null;\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyValidatorParams, CSSPropertyModel } from './types';\n\nexport class LongEnumerationCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n public readonly allowedList: ReadonlyArray;\n constructor(params: CSSPropertyValidatorParams, allowedList: string[]) {\n super(params);\n this.allowedList = allowedList;\n }\n\n normalizeRawInlineCSSValue(v: string): string | null {\n if (this.allowedList.indexOf(v) !== -1) {\n return v;\n }\n return null;\n }\n\n normalizeNativeValue(v: string): string | null {\n return this.normalizeInlineCSSValue(v);\n }\n}\n","import { GenericCSSPropertyValidator } from './GenericPropertyValidator';\nimport { CSSPropertyValidatorParams, CSSPropertyModel } from './types';\n\nexport abstract class LongCSSPropertyValidator<\n C extends CSSPropertyModel = any,\n N = any\n> extends GenericCSSPropertyValidator {\n constructor(params: CSSPropertyValidatorParams) {\n super(params, false);\n }\n\n /**\n * Normalize a rule value from inline CSS styles.\n *\n * @param value - The CSS property value to test.\n * @returns The normalized value, or null if normalization failed.\n */\n normalizeInlineCSSValue(value: N | string): N | null {\n if (typeof value !== 'string') {\n return value;\n }\n return this.normalizeRawInlineCSSValue(value);\n }\n\n abstract normalizeRawInlineCSSValue(value: string): N | null;\n\n /**\n * Normalize a mixed value from a @{link MixedStyleDeclaration}.\n *\n * @param value\n */\n normalizeNativeValue(value: N): N | null {\n return value;\n }\n}\n","import { ShortMergeRequest } from '../ShortMergeRequest';\nimport expandCSSToRN from './expandCSSToRN';\nimport { ShortCSSPropertyValidator } from './ShortCSSPropertyValidator';\nimport { CSSPropertyValidatorParams, CSSPropertyModel } from './types';\n\n/**\n * Flex shorthand property in CSS and React Native differ significantly. This\n * validator must therefore expand this shorthand in a way consistent with the\n * specs for both platforms (native and CSS).\n */\nexport class ShortFlexCSSPropertyValidator extends ShortCSSPropertyValidator<\n CSSPropertyModel,\n number\n> {\n constructor(params: CSSPropertyValidatorParams) {\n super({ ...params, propertyName: 'flex' });\n }\n\n normalizeInlineCSSValue(value: string) {\n return new ShortMergeRequest(expandCSSToRN(this.propertyName, value));\n }\n\n /**\n * In React Native, \"flex\" is not a shorthand property, although it looks\n * like one. There is not always a tuple of (flexGrow, flexShrink,\n * flexBasis) that maps exactly to one single \"flex\" value.\n *\n * For this very reason, it is ill-advised to use \"flex\" shorthand property.\n * Use the longhand equivalent when that is possible.\n *\n * @param value\n */\n normalizeNativeValue(value: number) {\n return value;\n }\n}\n","import { ShortCSSToReactNativeValidator } from './ShortCSSToReactNativeValidator';\nimport normalizeFontName from './normalizeFontName';\nimport { CSSPropertyModel } from './types';\nimport { ShortMergeRequest } from '../ShortMergeRequest';\n\nconst WHITESPACE_REGEX = /\\s+/;\n\nexport class ShortFontCSSValidator<\n C extends CSSPropertyModel\n> extends ShortCSSToReactNativeValidator {\n normalizeInlineCSSValue(value: string): ShortMergeRequest | null {\n // A 'font' declaration may end with a list of multiple font families.\n // We must check support for this list before processing.\n const resp = value.split(',');\n let fontFamily = null;\n if (resp.length === 1) {\n return super.normalizeInlineCSSValue(resp[0]);\n }\n const base = resp.splice(0, 1)[0];\n for (const font of resp) {\n const normalizedFont = normalizeFontName(font);\n const isFontSupported = this.config.isFontSupported(normalizedFont);\n if (isFontSupported) {\n fontFamily =\n typeof isFontSupported === 'string'\n ? isFontSupported\n : normalizedFont;\n break;\n }\n }\n return super.normalizeInlineCSSValue(\n base.split(WHITESPACE_REGEX).slice(0, -1).join(' ') +\n ' ' +\n (fontFamily || 'system')\n );\n }\n}\n","export default function normalizeFontName(fontName: string) {\n return fontName.replace(/[\"']/g, '').trim();\n}\n","import { ShortMergeRequest } from '../ShortMergeRequest';\nimport { ShortCSSPropertyValidator } from './ShortCSSPropertyValidator';\nimport { CSSPropertyModel, ShortCSSPropertyValidatorParams } from './types';\n\nexport class ShortDualNativepropertyValidator<\n C extends CSSPropertyModel = any\n> extends ShortCSSPropertyValidator {\n public directions: [string, string];\n constructor(\n params: ShortCSSPropertyValidatorParams,\n /**\n * First direction, second direction.\n */\n directions: [string, string]\n ) {\n super(params);\n this.directions = directions;\n }\n\n // These properties are only available for native styles.\n normalizeInlineCSSValue() {\n return null;\n }\n\n normalizeNativeValue(value: string | number) {\n return new ShortMergeRequest({\n [this.directions[0]]: value,\n [this.directions[1]]: value\n });\n }\n}\n","import { LongForgivingCSSPropertyValidator } from './LongForgivingCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nconst COLOR_REGEX = /^(rgb|rgba|hsl|hsla)\\([\\d,%. ]+\\)|[#]?\\w+$/;\n\nexport class LongColorCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongForgivingCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): string | null {\n return value.match(COLOR_REGEX) ? value : null;\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongForgivingCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): string | null {\n return value;\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport normalizeFontName from './normalizeFontName';\nimport { CSSPropertyModel } from './types';\n\nconst SEPARATOR_REGEX = /,\\s*/;\n\nexport class LongFontFamilyPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): string | null {\n const values = value.split(SEPARATOR_REGEX);\n for (const font of values) {\n const normalizedFont = normalizeFontName(font);\n const isFontSupported =\n normalizedFont.length && this.config.isFontSupported(normalizedFont);\n if (isFontSupported) {\n return typeof isFontSupported === 'string'\n ? isFontSupported\n : normalizedFont;\n }\n }\n return null;\n }\n normalizeNativeValue(value: string) {\n return this.normalizeInlineCSSValue(value);\n }\n}\n","import { CSSLengthUnit } from '../config';\nimport { lookupRecord } from '../helpers';\nimport { LongSizeCSSPropertyValidator } from './LongSizeCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongFontSizeCSSValidator<\n C extends CSSPropertyModel\n> extends LongSizeCSSPropertyValidator {\n protected computeSize(value: number, unit: CSSLengthUnit) {\n if (unit === '%') {\n return this.computeEmSize(value / 100);\n }\n return super.computeSize(value, unit);\n }\n\n normalizeRawInlineCSSValue(value: string) {\n if (lookupRecord(this.config.absoluteFontSizesPixelMap, value)) {\n return this.config.absoluteFontSizesPixelMap[value];\n }\n if (lookupRecord(this.config.relativeFontSizesCoefficientMap, value)) {\n return this.computeEmSize(\n this.config.relativeFontSizesCoefficientMap[value]\n );\n }\n return super.normalizeRawInlineCSSValue(value);\n }\n\n normalizeNativeValue(value: string | number) {\n return this.normalizeInlineCSSValue(value);\n }\n}\n","export function lookupRecord>(\n record: T,\n key: any\n): key is keyof T {\n const value = record[key];\n return !!value;\n}\n","import { CSSLengthUnit } from '../config';\nimport { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongSizeCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n protected computeSize(\n value: number,\n unit: CSSLengthUnit\n ): number | string | null {\n switch (unit) {\n case '%':\n return `${value}%`;\n case 'px':\n return value;\n case 'cm':\n case 'in':\n case 'mm':\n case 'pc':\n case 'pt':\n return value * this.config.absoluteLengthUnitsMultiplicators[unit];\n case 'em':\n return this.computeEmSize(value);\n case 'ex':\n // This is an approximation.\n return this.computeEmSize(value * 0.63);\n case 'rem':\n return this.config.rootFontSize * value;\n }\n return null;\n }\n\n protected computeEmSize(value: number) {\n return this.config.rootFontSize * value;\n }\n\n protected splitValueAndUnit(value: string): [number, CSSLengthUnit] | null {\n const match =\n /^(\\d*\\.?\\d*)\\s*(cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)$/g.exec(\n value\n );\n if (match === null) {\n return null;\n }\n return [Number(match[1]), match[2] as CSSLengthUnit];\n }\n\n normalizeRawInlineCSSValue(value: string) {\n if (value === '0') {\n return 0;\n }\n if (value === 'auto') {\n return value;\n }\n const split = this.splitValueAndUnit(value);\n if (split) {\n return this.computeSize(split[0], split[1]);\n }\n return null;\n }\n\n normalizeNativeValue(value: string | number) {\n return this.normalizeInlineCSSValue(value);\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyValidatorParams, CSSPropertyModel } from './types';\n\nconst WHITESPACE_REGEX = /\\s+/;\n\nexport class LongEnumerationListCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n public readonly allowedList: ReadonlyArray;\n constructor(params: CSSPropertyValidatorParams, allowedList: string[]) {\n super(params);\n this.allowedList = allowedList;\n }\n\n normalizeRawInlineCSSValue(value: string): string[] | null {\n const input = value.split(WHITESPACE_REGEX);\n const values: string[] = [];\n for (const item of input) {\n if (this.allowedList.indexOf(item) !== -1) {\n values.push(item);\n }\n }\n return values.length > 0 ? values : null;\n }\n}\n","import { CSSLengthUnit } from '../config';\nimport { LongSizeCSSPropertyValidator } from './LongSizeCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongNonPercentSizeCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongSizeCSSPropertyValidator {\n protected computeSize(value: number, unit: CSSLengthUnit) {\n if (unit === '%') {\n return null;\n }\n return super.computeSize(value, unit);\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nconst ASPECT_RATIO_REGEX = /^(\\d+)\\/(\\d+)$/;\n\nexport class LongAspectRatioPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): number | null {\n const match = ASPECT_RATIO_REGEX.exec(value);\n if (match) {\n const ratio = Number(match[1]) / Number(match[2]);\n return Number.isFinite(ratio) ? ratio : null;\n }\n const fallback = Number(value);\n return Number.isNaN(fallback) ? null : fallback;\n }\n\n normalizeNativeValue(value: string | number): number | null {\n return typeof value !== 'string'\n ? value\n : this.normalizeRawInlineCSSValue(value);\n }\n}\n","import { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongFloatNumberCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string): number | null {\n const normalizedVal = Number(value);\n if (Number.isNaN(normalizedVal)) {\n return null;\n }\n return normalizedVal;\n }\n\n normalizeNativeValue(v: string | number): number | null {\n return this.normalizeInlineCSSValue(v);\n }\n}\n","import { lookupRecord } from '../helpers';\nimport { LongNonPercentSizeCSSPropertyValidator } from './LongNonPercentSizeCSSPropertyValidator';\nimport { CSSPropertyModel } from './types';\n\nexport class LongBorderWidthCSSPropertyValidator<\n C extends CSSPropertyModel\n> extends LongNonPercentSizeCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string) {\n if (lookupRecord(this.config.absoluteBorderWidthsPixelMap, value)) {\n return this.config.absoluteBorderWidthsPixelMap[value];\n }\n return super.normalizeRawInlineCSSValue(value);\n }\n\n normalizeNativeValue(value: string | number) {\n return this.normalizeInlineCSSValue(value);\n }\n}\n","import { CSSPropertyModel } from './types';\nimport { LongCSSPropertyValidator } from './LongCSSPropertyValidator';\nimport expandCSSToRN from './expandCSSToRN';\n\nexport class LongCSSToReactNativeValidator<\n C extends CSSPropertyModel = any\n> extends LongCSSPropertyValidator {\n normalizeRawInlineCSSValue(value: string) {\n const expanded = expandCSSToRN(this.propertyName, value);\n if (expanded) {\n return expanded[this.propertyName];\n }\n return null;\n }\n}\n","import { CSSParseRun } from './CSSParseRun';\nimport { MixedStyleDeclaration } from './CSSProcessor';\nimport { CSSPropertiesValidationRegistry } from './CSSPropertiesValidationRegistry';\nimport { lookupRecord } from './helpers';\nimport {\n ExtraNativeTextStyle,\n NativeDirectionalStyleKeys,\n ExtraNativeLongViewStyleKeys\n} from './native-types';\nimport { CSSPropertySpecs } from './processor-types';\nimport { ShortMergeRequest } from './ShortMergeRequest';\n\nconst nativeDirectionalStyleKeys: Record =\n {\n borderBottomEndRadius: 'block',\n borderBottomStartRadius: 'block',\n borderEndColor: 'block',\n borderEndWidth: 'block',\n borderStartColor: 'block',\n borderStartWidth: 'block',\n borderTopEndRadius: 'block',\n borderTopStartRadius: 'block',\n end: 'block',\n marginEnd: 'block',\n marginStart: 'block',\n paddingEnd: 'block',\n paddingStart: 'block',\n start: 'block'\n };\n\nconst extraLongViewStyles: Record = {\n elevation: 'block',\n overflow: 'block',\n overlayColor: 'block',\n resizeMode: 'block',\n rotation: 'block',\n scaleX: 'block',\n scaleY: 'block',\n shadowColor: 'block',\n shadowOffset: 'block',\n shadowOpacity: 'block',\n shadowRadius: 'block',\n testID: 'block',\n tintColor: 'block',\n transformMatrix: 'block',\n translateX: 'block',\n translateY: 'block'\n};\n\nconst extraTextStyles: Record = {\n includeFontPadding: 'text',\n textAlignVertical: 'text',\n textShadowColor: 'text',\n textShadowOffset: 'text',\n textShadowRadius: 'text',\n writingDirection: 'text'\n};\n\nconst extraStylesRegistry = {\n ...extraTextStyles,\n ...extraLongViewStyles\n};\n\nexport class CSSNativeParseRun extends CSSParseRun {\n private declaration: MixedStyleDeclaration;\n\n constructor(\n declaration: MixedStyleDeclaration,\n registry: CSSPropertiesValidationRegistry\n ) {\n super(registry);\n this.declaration = declaration;\n }\n\n private fillProp(\n key: K,\n value: any\n ): void {\n const validator = this.validationMap.getValidatorForProperty(key);\n if (validator) {\n const normalizedValue = validator.normalizeNativeValue(value);\n if (normalizedValue instanceof ShortMergeRequest) {\n normalizedValue.forEach(([innerKey, innerValue]) => {\n this.fillProp(innerKey as any, innerValue);\n });\n } else {\n // assume longhand merge\n this.processedProps.withProperty(\n key,\n normalizedValue,\n validator as CSSPropertySpecs\n );\n }\n } else if (lookupRecord(extraStylesRegistry, key)) {\n this.processedProps.withProperty(key, value, {\n compatCategory: 'native',\n displayCategory: extraStylesRegistry[key],\n propagationCategory: 'retain'\n });\n } else if (lookupRecord(nativeDirectionalStyleKeys, key)) {\n console.warn(\n `Native style property \"${key}\" is a directional style property. These are not yet supported.`\n );\n } else {\n console.warn(\n `Native style property \"${key}\" is not supported and has been ignored.`\n );\n }\n }\n\n protected fillProcessedProps(): void {\n const declaration = this.declaration;\n for (const key of Object.keys(declaration) as Array<\n keyof MixedStyleDeclaration\n >) {\n this.fillProp(key, this.declaration[key]);\n }\n }\n}\n","import { CSSPropertiesValidationRegistry as CSSPropertiesValidationMap } from './CSSPropertiesValidationRegistry';\nimport { CSSProcessedProps } from './CSSProcessedProps';\n\nexport abstract class CSSParseRun {\n protected validationMap: CSSPropertiesValidationMap;\n protected processedProps: CSSProcessedProps;\n\n constructor(validationMap: CSSPropertiesValidationMap) {\n this.validationMap = validationMap;\n this.processedProps = new CSSProcessedProps();\n }\n\n protected abstract fillProcessedProps(): void;\n\n public exec(): CSSProcessedProps {\n this.fillProcessedProps();\n return this.processedProps;\n }\n}\n","import { getPropertyName } from 'css-to-react-native';\nimport { CSSParseRun } from './CSSParseRun';\nimport { MixedStyleDeclaration } from './CSSProcessor';\nimport { CSSPropertiesValidationRegistry } from './CSSPropertiesValidationRegistry';\nimport { ValidatorsType } from './makepropertiesValidators';\nimport { CSSProperties } from './processor-types';\nimport { ShortMergeRequest } from './ShortMergeRequest';\nimport { LongCSSPropertyValidator } from './validators/LongCSSPropertyValidator';\n\ntype CSSRawPropertiesList = [string, any][];\n\nexport class CSSInlineParseRun extends CSSParseRun {\n private rules: CSSRawPropertiesList;\n\n constructor(inlineCSS: string, registry: CSSPropertiesValidationRegistry) {\n super(registry);\n this.rules = this.parseInlineCSS(inlineCSS);\n this.normalizeProp = this.normalizeProp.bind(this);\n this.reduceProps = this.reduceProps.bind(this);\n }\n\n private parseInlineCSS(inlineCSS: string): CSSRawPropertiesList {\n return inlineCSS\n .split(';')\n .map((prop) => prop.split(':'))\n .reduce((acc, prop) => {\n if (prop.length === 2) {\n return [...acc, [prop[0].trim(), prop[1].trim()]];\n }\n return acc;\n }, []);\n }\n\n normalizeProp(\n rule: CSSRawPropertiesList[number],\n strict = false\n ): null | [keyof ValidatorsType, any] {\n const rawName = rule[0];\n const rawValue = rule[1];\n const camelCaseName = getPropertyName(rawName);\n if (!this.validationMap.shouldRegisterInlineProperty(camelCaseName)) {\n return null;\n }\n const validator = this.validationMap.getValidatorForProperty(camelCaseName);\n const normalizedValue = validator.normalizeInlineCSSValue(rawValue);\n if (normalizedValue === null) {\n if (strict) {\n throw new TypeError();\n }\n return null;\n }\n return [camelCaseName, normalizedValue];\n }\n\n reduceProps(\n reg: CSSProperties,\n rule: null | [keyof ValidatorsType, Exclude]\n ): CSSProperties {\n if (!rule) {\n return reg;\n }\n const [camelCaseName, normalizedValue] = rule;\n if (normalizedValue instanceof ShortMergeRequest) {\n try {\n return normalizedValue\n .map((r) => this.normalizeProp(r, true))\n .reduce(this.reduceProps, reg);\n } catch (e) {\n return reg;\n }\n }\n return {\n ...reg,\n [camelCaseName]: normalizedValue\n };\n }\n\n fillProcessedProps() {\n const rawTransformed = this.rules\n .map((r) => this.normalizeProp(r))\n .reduce(this.reduceProps, {});\n (Object.keys(rawTransformed) as Array).forEach(\n (camelCaseName) => {\n const value = rawTransformed[camelCaseName];\n const validator = this.validationMap.getValidatorForProperty(\n camelCaseName\n ) as LongCSSPropertyValidator;\n const normalizedValue = validator.normalizeInlineCSSValue(value);\n this.processedProps.withProperty(\n camelCaseName as keyof MixedStyleDeclaration,\n normalizedValue,\n validator\n );\n }\n );\n }\n}\n","import {\n CSSLongNativeTranslatableBlockPropKey,\n CSSLongNativeTranslatableTextPropKey\n} from './property-types';\n\nexport type CSSLengthUnit =\n | 'cm'\n | 'mm'\n | 'in'\n | 'px'\n | 'pt'\n | 'pc'\n | 'em'\n | 'ex'\n | 'ch'\n | 'rem'\n | 'vw'\n | 'vh'\n | 'vmin'\n | 'vmax'\n | '%';\n\nexport type CSSHardcodedBorderWidth = 'thin' | 'medium' | 'thick';\n\nexport type CSSAbsoluteLengthUnit = Extract<\n CSSLengthUnit,\n 'in' | 'cm' | 'mm' | 'px' | 'pt' | 'pc'\n>;\n\nexport type CSSRelativeHarcodedFontSize = 'smaller' | 'larger';\n\nexport type CSSAbsoluteHardcodedFontSize =\n | 'xx-small'\n | 'x-small'\n | 'small'\n | 'medium'\n | 'large'\n | 'x-large'\n | 'xx-large';\n\nexport type CSSAbsoluteLengthUnitsMultiplicators = Record<\n Exclude,\n number\n>;\n\nexport type CSSPropertyNameList = Array<\n CSSLongNativeTranslatableBlockPropKey | CSSLongNativeTranslatableTextPropKey\n>;\n\nexport interface CSSProcessorConfig {\n readonly absoluteLengthUnitsMultiplicators: CSSAbsoluteLengthUnitsMultiplicators;\n readonly absoluteBorderWidthsPixelMap: Record<\n CSSHardcodedBorderWidth,\n number\n >;\n readonly relativeFontSizesCoefficientMap: Record<\n CSSRelativeHarcodedFontSize,\n number\n >;\n readonly absoluteFontSizesPixelMap: Record<\n CSSAbsoluteHardcodedFontSize,\n number\n >;\n /**\n * Ignore those properties when compiling inline styles. The names should be\n * camelCased.\n *\n * @remarks As of this version, inline styles are considered 100% safe and\n * predictable, thus this property is generally not advised.\n */\n readonly inlinePropertiesBlacklist: CSSPropertyNameList;\n\n /**\n * Allow those properties when compiling inline styles. The names should be\n * camelCased.\n *\n * @remarks When present, inlinePropertiesBlacklist will be ignored.\n */\n readonly inlinePropertiesWhitelist: CSSPropertyNameList | null;\n\n /**\n * Font size used to compute REM.\n */\n readonly rootFontSize: number;\n\n /**\n * Determine is the provided font is supported on running platform.\n *\n * @param fontName - The name of the font to validate. Any quotes have been removed.\n * @returns `true` when the font is supported on current platform, a string\n * when this font should be mapped to another font (such as monospace →\n * Menlo), false otherwise.\n */\n isFontSupported(fontName: string): boolean | string;\n}\n","import { CSSLongWebTextFlowedPropKey } from './property-types';\n\nexport type CSSProperties = Record;\n/**\n * - *flow* CSS properties will be inherited by children TTree nodes;\n * - *retain* CSS properties will only apply to the TTree node to which it is\n * attached.\n */\nexport type CSSPropertyPropagationCategory = 'flow' | 'retain';\n/**\n * - *text* displays will only affect textual nodes\n * - *block* displays will affect all nodes\n */\nexport type CSSPropertyDisplayCategory = 'text' | 'block';\n/**\n * - *native* properties can be injected in React Native components style prop;\n * - *web* properties are solely used in the transient tree render engine.\n */\nexport type CSSPropertyCompatCategory = 'native' | 'web';\n\nexport type CSSPropagationRegistry = Record<\n CSSPropertyPropagationCategory,\n CSSProperties\n>;\n\nexport type CSSDisplayRegistry = Record<\n CSSPropertyDisplayCategory,\n CSSPropagationRegistry\n>;\n\nexport type CSSListStyleTypePropertyBase =\n | 'none'\n | 'disc'\n | 'circle'\n | 'square'\n | 'decimal'\n | 'cjk-decimal'\n | 'decimal-leading-zero'\n | 'lower-roman'\n | 'upper-roman'\n | 'lower-greek'\n | 'lower-alpha'\n | 'lower-latin'\n | 'upper-alpha'\n | 'upper-latin'\n | 'arabic-indic'\n | 'armenian'\n | 'bengali'\n | 'cambodian'\n | 'cjk-earthly-branch'\n | 'cjk-heavenly-stem'\n | 'cjk-ideographic'\n | 'devanagari'\n | 'ethiopic-numeric'\n | 'georgian'\n | 'gujarati'\n | 'gurmukhi'\n | 'hebrew'\n | 'hiragana'\n | 'hiragana-iroha'\n | 'japanese-formal'\n | 'japanese-informal'\n | 'kannada'\n | 'katakana'\n | 'katakana-iroha'\n | 'khmer'\n | 'korean-hangul-formal'\n | 'korean-hanja-formal'\n | 'korean-hanja-informal'\n | 'lao'\n | 'lower-armenian'\n | 'malayalam'\n | 'mongolian'\n | 'myanmar'\n | 'oriya'\n | 'persian'\n | 'simp-chinese-formal'\n | 'simp-chinese-informal'\n | 'tamil'\n | 'telugu'\n | 'thai'\n | 'tibetan'\n | 'trad-chinese-formal'\n | 'trad-chinese-informal'\n | 'upper-armenian'\n | 'disclosure-open'\n | 'disclosure-closed';\n\nexport interface WebTextFlowProperties\n extends Partial> {\n whiteSpace?: 'normal' | 'pre';\n listStyleType?: CSSListStyleTypePropertyBase | string;\n}\n\nexport interface WebBlockRetainProperties {\n objectFit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';\n}\n\nexport interface CSSPropertySpecs<\n C extends CSSPropertyCompatCategory = CSSPropertyCompatCategory,\n D extends CSSPropertyDisplayCategory = CSSPropertyDisplayCategory,\n P extends CSSPropertyPropagationCategory = CSSPropertyPropagationCategory\n> {\n readonly compatCategory: C;\n readonly displayCategory: D;\n readonly propagationCategory: P;\n}\n","import { TextStyle, ViewStyle } from 'react-native';\nimport {\n StandardLonghandProperties,\n StandardShorthandProperties\n} from 'csstype';\n\n// To translate manually\n// borderBottom, borderLeft, borderRight, borderTop\n// borderStyle, overflow, placeItems, placeSelf,\n// textEmphasis\n\n/**\n * React Native style keys which are exclusive to TextStyle.\n */\nexport type NativeTextStyleKey = Exclude;\n\n/**\n * Shorthand properties.\n * These properties will be pre-translated with css-to-react-native.\n * These properties are not considered \"native, web, flow ... etc\" because\n * they won't be translated per-se.\n */\nexport type CSSShortPropsKey = Extract<\n keyof StandardShorthandProperties,\n | 'background'\n | 'border'\n | 'borderColor'\n | 'borderRadius'\n | 'borderWidth'\n | 'flex'\n | 'flexFlow'\n | 'font'\n | 'margin'\n | 'padding'\n | 'textDecoration'\n>;\n\n/**\n * Flowed properties.\n * Such properties propagate recursively to children nodes.\n */\nexport type CSSFlowedPropKey = Extract<\n keyof StandardLonghandProperties,\n | 'borderCollapse'\n | 'borderSpacing'\n | 'captionSide'\n | 'color'\n | 'cursor'\n | 'direction'\n | 'emptyCells'\n | 'fontFamily'\n | 'fontSize'\n | 'fontStyle'\n | 'fontVariant'\n | 'fontWeight'\n | 'font'\n | 'letterSpacing'\n | 'lineHeight'\n | 'listStyleImage'\n | 'listStylePosition'\n | 'listStyleType'\n | 'listStyle'\n | 'orphans'\n | 'quotes'\n | 'textAlign'\n | 'textIndent'\n | 'textTransform'\n | 'visibility'\n | 'whiteSpace'\n | 'listStyleType'\n | 'widows'\n | 'wordSpacing'\n>;\n\n/**\n * Long, Native Text properties\n */\nexport type CSSLongNativeTextPropKey = Extract<\n keyof StandardLonghandProperties,\n NativeTextStyleKey\n>;\n\n/**\n * Long, Native-untranslatable, Text properties\n */\nexport type CSSLongNativeUntranslatableTextPropKey = never;\n\n/**\n * Long, Native-translatable, Text properties\n */\nexport type CSSLongNativeTranslatableTextPropKey = Exclude<\n CSSLongNativeTextPropKey,\n CSSLongNativeUntranslatableTextPropKey\n>;\n\n/**\n * Long, Native-translatable, Text, Flowed properties\n */\nexport type CSSLongNativeTranslatableTextFlowedPropKey = Extract<\n CSSLongNativeTextPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Long, Native-translatable, Text, Retained properties\n */\nexport type CSSLongNativeTranslatableTextRetainedPropKey = Exclude<\n CSSLongNativeTextPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Long, Native-untranslatable, Text Retained properties\n */\nexport type CSSLongNativeUntranslatableTextRetainedPropKey = Exclude<\n CSSLongNativeUntranslatableTextPropKey,\n CSSFlowedPropKey\n>;\n/**\n * Long, Native-untranslatable, Text Flowed properties\n */\nexport type CSSLongNativeUntranslatableTextFlowedPropKey = Extract<\n CSSLongNativeUntranslatableTextPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Long, Web, Text Flowed properties\n */\nexport type CSSLongWebTextFlowedPropKey = Extract<\n keyof StandardLonghandProperties,\n 'whiteSpace' | 'listStyleType' | 'userSelect'\n>;\n\n/**\n * Long, Web, Text Retained properties\n */\nexport type CSSLongWebTextRetainedPropKey = Extract<\n keyof StandardLonghandProperties,\n never\n>;\n\n/**\n * Short, Text properties\n */\nexport type CSSShortTextPropKey = Extract<\n CSSShortPropsKey,\n 'textDecoration' | 'font'\n>;\n\n/**\n * Short, Block properties\n */\nexport type CSSShortBlockPropKey = Exclude<\n CSSShortPropsKey,\n CSSShortTextPropKey\n>;\n\n/**\n * Short, Native-translatable, Block properties\n */\nexport type CSSShortNativeTranslatableBlockPropKey = Exclude<\n CSSShortPropsKey,\n CSSShortTextPropKey\n>;\n\n/**\n * Long, Native, Block properties\n */\nexport type CSSLongNativeBlockPropKey = Extract<\n keyof StandardLonghandProperties | 'borderStyle',\n keyof ViewStyle\n>;\n\n/**\n * Long, Native-translatable, Block properties\n */\nexport type CSSLongNativeTranslatableBlockPropKey = Exclude<\n CSSLongNativeBlockPropKey,\n CSSLongNativeUntranslatableBlockPropKey\n>;\n\n/**\n * Long, Native-untranslatable, Block properties\n */\nexport type CSSLongNativeUntranslatableBlockPropKey = Extract<\n CSSLongNativeBlockPropKey,\n 'position'\n>;\n/**\n * Long, Native-untranslatable, Block, Flowed properties\n */\nexport type CSSLongNativeUntranslatableBlockFlowedPropKey = Extract<\n CSSLongNativeUntranslatableBlockPropKey,\n CSSFlowedPropKey\n>;\n/**\n * Long, Native-untranslatable, Block, Retained properties\n */\nexport type CSSLongNativeUntranslatableBlockRetainedPropKey = Exclude<\n CSSLongNativeUntranslatableBlockPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Long, Native-translatable, Block, Flowed properties\n */\nexport type CSSLongNativeTranslatableBlockFlowedPropKey = Extract<\n CSSLongNativeTranslatableBlockPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Long, Native-translatable, Block, Retained properties\n */\nexport type CSSLongNativeTranslatableBlockRetainedPropKey = Exclude<\n CSSLongNativeTranslatableBlockPropKey,\n CSSFlowedPropKey\n>;\n\n/**\n * Native properties\n */\nexport type CSSNativePropKey =\n | CSSLongNativeTextPropKey\n | CSSLongNativeBlockPropKey\n | CSSShortPropsKey;\n","import { ImageStyle, TextStyle, ViewStyle } from 'react-native';\nimport {\n CSSLongNativeBlockPropKey,\n CSSLongNativeTextPropKey,\n NativeTextStyleKey,\n CSSShortPropsKey,\n CSSLongNativeUntranslatableBlockPropKey\n} from './property-types';\n\nexport type ExtendedNativeViewStyleKeys = keyof ViewStyle | keyof ImageStyle;\n\nexport type NativeDirectionalStyleKeys = Extract<\n ExtendedNativeViewStyleKeys,\n | 'borderBottomEndRadius'\n | 'borderBottomStartRadius'\n | 'borderTopEndRadius'\n | 'borderTopStartRadius'\n | 'borderEndColor'\n | 'borderEndWidth'\n | 'borderStartColor'\n | 'borderStartWidth'\n | 'marginEnd'\n | 'marginStart'\n | 'paddingEnd'\n | 'paddingStart'\n | 'start'\n | 'end'\n>;\n\nexport type ExtraNativeShortViewStyleKeys = Extract<\n ExtendedNativeViewStyleKeys,\n | 'marginHorizontal'\n | 'marginVertical'\n | 'paddingHorizontal'\n | 'paddingVertical'\n>;\n\nexport type ExtraNativeShortStyle = Pick<\n TextStyle & ViewStyle,\n ExtraNativeShortViewStyleKeys | NativeShortKeys\n>;\n\nexport type ExtraNativeUntranslatedLongStyles = Pick<\n ViewStyle,\n CSSLongNativeUntranslatableBlockPropKey\n>;\n\n/**\n * Extraneous React Native ViewStyle keys.\n */\nexport type ExtraNativeLongViewStyleKeys = Exclude<\n Exclude,\n | CSSLongNativeBlockPropKey\n | NativeDirectionalStyleKeys\n | ExtraNativeShortViewStyleKeys\n>;\n\n/**\n * Native Short keys.\n */\nexport type NativeShortKeys = Extract<\n CSSShortPropsKey,\n NativeTextStyleKey | keyof ViewStyle\n>;\n\n/**\n * Extraneous longhand React Native TextStyle keys.\n */\nexport type ExtraNativeTextStyleKeys = Exclude<\n Exclude,\n CSSLongNativeTextPropKey\n>;\n\nexport type ExtraNativeTextStyle = Partial<\n Pick\n>;\n\nexport type ExtraNativeViewStyle = Partial<\n Pick<\n ViewStyle & ImageStyle,\n ExtraNativeLongViewStyleKeys | ExtraNativeShortViewStyleKeys\n >\n>;\n","import { CSSProperties, CSSProcessedProps } from '@native-html/css-processor';\nimport nil from 'ramda/src/isNil';\nimport not from 'ramda/src/not';\nimport compose from 'ramda/src/compose';\n\nconst notNil = compose(not, nil);\n/**\n * A merge properties from left to right.\n *\n * @param child\n * @param parent\n */\nfunction inheritProperties(\n ...properties: Array\n): CSSProperties {\n const realProperties = properties.filter(notNil) as CSSProperties[];\n if (realProperties.length === 1) {\n return realProperties[0];\n }\n if (Object.keys(realProperties[0]).length === 0) {\n return realProperties[1];\n }\n return realProperties.reduce(\n (prev, curr) => ({ ...prev, ...curr }),\n Object.prototype as CSSProperties\n ) as CSSProperties;\n}\n\n/**\n * A record of styles organized in logical chunks:\n *\n * - wether they are supported in React Native (native) and others (web).\n * - wether they target native Views (block) or Text (text).\n * - wether they are inherited by this node's children (flow) or not (retain).\n *\n * @public\n */\nexport interface TStylesShape {\n readonly nativeTextFlow: CSSProcessedProps['native']['text']['flow'];\n readonly nativeBlockFlow: CSSProcessedProps['native']['block']['flow'];\n readonly nativeTextRet: CSSProcessedProps['native']['text']['retain'];\n readonly nativeBlockRet: CSSProcessedProps['native']['block']['retain'];\n readonly webTextFlow: CSSProcessedProps['web']['text']['flow'];\n readonly webBlockRet: CSSProcessedProps['web']['block']['retain'];\n}\n\nexport class TStyles implements TStylesShape {\n public readonly nativeTextFlow: CSSProcessedProps['native']['text']['flow'];\n public readonly nativeBlockFlow: CSSProcessedProps['native']['block']['flow'];\n public readonly nativeTextRet: CSSProcessedProps['native']['text']['retain'];\n public readonly nativeBlockRet: CSSProcessedProps['native']['block']['retain'];\n public readonly webTextFlow: CSSProcessedProps['web']['text']['flow'];\n public readonly webBlockRet: CSSProcessedProps['web']['block']['retain'];\n\n constructor(\n ownProcessedProps: CSSProcessedProps,\n parentStyles?: TStyles | null\n ) {\n this.nativeTextFlow = inheritProperties(\n parentStyles?.nativeTextFlow,\n ownProcessedProps.native.text.flow\n );\n this.nativeBlockFlow = inheritProperties(\n parentStyles?.nativeBlockFlow,\n ownProcessedProps.native.block.flow\n );\n this.webTextFlow = inheritProperties(\n parentStyles?.webTextFlow,\n ownProcessedProps.web.text.flow\n );\n // In theory, we shouldn't merge those properties. However, these\n // properties being textDecoration*, we actually want children nodes to\n // inherit from them. A cleaner solution would be to to let each TNode\n // handle its merging logic, because only TPhrasing and TText nodes would\n // need to merge these.\n this.nativeTextRet = inheritProperties(\n parentStyles?.nativeTextRet,\n ownProcessedProps.native.text.retain\n );\n this.nativeBlockRet = ownProcessedProps.native.block.retain;\n this.webBlockRet = ownProcessedProps.web.block.retain;\n }\n\n static empty(): TStyles {\n return new TStyles(new CSSProcessedProps());\n }\n}\n","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Checks if the input value is `null` or `undefined`.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Type\n * @sig * -> Boolean\n * @param {*} x The value to test.\n * @return {Boolean} `true` if `x` is `undefined` or `null`, otherwise `false`.\n * @example\n *\n * R.isNil(null); //=> true\n * R.isNil(undefined); //=> true\n * R.isNil(0); //=> false\n * R.isNil([]); //=> false\n */\n\n\nvar isNil =\n/*#__PURE__*/\n_curry1(function isNil(x) {\n return x == null;\n});\n\nmodule.exports = isNil;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * A function that returns the `!` of its argument. It will return `true` when\n * passed false-y value, and `false` when passed a truth-y one.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig * -> Boolean\n * @param {*} a any value\n * @return {Boolean} the logical inverse of passed argument.\n * @see R.complement\n * @example\n *\n * R.not(true); //=> false\n * R.not(false); //=> true\n * R.not(0); //=> true\n * R.not(1); //=> false\n */\n\n\nvar not =\n/*#__PURE__*/\n_curry1(function not(a) {\n return !a;\n});\n\nmodule.exports = not;","var pipe =\n/*#__PURE__*/\nrequire(\"./pipe\");\n\nvar reverse =\n/*#__PURE__*/\nrequire(\"./reverse\");\n/**\n * Performs right-to-left function composition. The last argument may have\n * any arity; the remaining arguments must be unary.\n *\n * **Note:** The result of compose is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)) -> ((a, b, ..., n) -> z)\n * @param {...Function} ...functions The functions to compose\n * @return {Function}\n * @see R.pipe\n * @example\n *\n * const classyGreeting = (firstName, lastName) => \"The name's \" + lastName + \", \" + firstName + \" \" + lastName\n * const yellGreeting = R.compose(R.toUpper, classyGreeting);\n * yellGreeting('James', 'Bond'); //=> \"THE NAME'S BOND, JAMES BOND\"\n *\n * R.compose(Math.abs, R.add(1), R.multiply(2))(-4) //=> 7\n *\n * @symb R.compose(f, g, h)(a, b) = f(g(h(a, b)))\n */\n\n\nfunction compose() {\n if (arguments.length === 0) {\n throw new Error('compose requires at least one argument');\n }\n\n return pipe.apply(this, reverse(arguments));\n}\n\nmodule.exports = compose;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _pipe =\n/*#__PURE__*/\nrequire(\"./internal/_pipe\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n\nvar tail =\n/*#__PURE__*/\nrequire(\"./tail\");\n/**\n * Performs left-to-right function composition. The first argument may have\n * any arity; the remaining arguments must be unary.\n *\n * In some libraries this function is named `sequence`.\n *\n * **Note:** The result of pipe is not automatically curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)) -> ((a, b, ..., n) -> z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.compose\n * @example\n *\n * const f = R.pipe(Math.pow, R.negate, R.inc);\n *\n * f(3, 4); // -(3^4) + 1\n * @symb R.pipe(f, g, h)(a, b) = h(g(f(a, b)))\n */\n\n\nfunction pipe() {\n if (arguments.length === 0) {\n throw new Error('pipe requires at least one argument');\n }\n\n return _arity(arguments[0].length, reduce(_pipe, arguments[0], tail(arguments)));\n}\n\nmodule.exports = pipe;","function _arity(n, fn) {\n /* eslint-disable no-unused-vars */\n switch (n) {\n case 0:\n return function () {\n return fn.apply(this, arguments);\n };\n\n case 1:\n return function (a0) {\n return fn.apply(this, arguments);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.apply(this, arguments);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.apply(this, arguments);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.apply(this, arguments);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.apply(this, arguments);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.apply(this, arguments);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.apply(this, arguments);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.apply(this, arguments);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.apply(this, arguments);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.apply(this, arguments);\n };\n\n default:\n throw new Error('First argument to _arity must be a non-negative integer no greater than ten');\n }\n}\n\nmodule.exports = _arity;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It may use\n * [`R.reduced`](#reduced) to shortcut the iteration.\n *\n * The arguments' order of [`reduceRight`](#reduceRight)'s iterator function\n * is *(value, acc)*.\n *\n * Note: `R.reduce` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduce` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce#Description\n *\n * Dispatches to the `reduce` method of the third argument, if present. When\n * doing so, it is up to the user to handle the [`R.reduced`](#reduced)\n * shortcuting, as this is not implemented by `reduce`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduced, R.addIndex, R.reduceRight\n * @example\n *\n * R.reduce(R.subtract, 0, [1, 2, 3, 4]) // => ((((0 - 1) - 2) - 3) - 4) = -10\n * // - -10\n * // / \\ / \\\n * // - 4 -6 4\n * // / \\ / \\\n * // - 3 ==> -3 3\n * // / \\ / \\\n * // - 2 -1 2\n * // / \\ / \\\n * // 0 1 0 1\n *\n * @symb R.reduce(f, a, [b, c, d]) = f(f(f(a, b), c), d)\n */\n\n\nvar reduce =\n/*#__PURE__*/\n_curry3(_reduce);\n\nmodule.exports = reduce;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./_curry1\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _isPlaceholder =\n/*#__PURE__*/\nrequire(\"./_isPlaceholder\");\n/**\n * Optimized internal three-arity curry function.\n *\n * @private\n * @category Function\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\n\nfunction _curry3(fn) {\n return function f3(a, b, c) {\n switch (arguments.length) {\n case 0:\n return f3;\n\n case 1:\n return _isPlaceholder(a) ? f3 : _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n });\n\n case 2:\n return _isPlaceholder(a) && _isPlaceholder(b) ? f3 : _isPlaceholder(a) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _curry1(function (_c) {\n return fn(a, b, _c);\n });\n\n default:\n return _isPlaceholder(a) && _isPlaceholder(b) && _isPlaceholder(c) ? f3 : _isPlaceholder(a) && _isPlaceholder(b) ? _curry2(function (_a, _b) {\n return fn(_a, _b, c);\n }) : _isPlaceholder(a) && _isPlaceholder(c) ? _curry2(function (_a, _c) {\n return fn(_a, b, _c);\n }) : _isPlaceholder(b) && _isPlaceholder(c) ? _curry2(function (_b, _c) {\n return fn(a, _b, _c);\n }) : _isPlaceholder(a) ? _curry1(function (_a) {\n return fn(_a, b, c);\n }) : _isPlaceholder(b) ? _curry1(function (_b) {\n return fn(a, _b, c);\n }) : _isPlaceholder(c) ? _curry1(function (_c) {\n return fn(a, b, _c);\n }) : fn(a, b, c);\n }\n };\n}\n\nmodule.exports = _curry3;","var _isArrayLike =\n/*#__PURE__*/\nrequire(\"./_isArrayLike\");\n\nvar _xwrap =\n/*#__PURE__*/\nrequire(\"./_xwrap\");\n\nvar bind =\n/*#__PURE__*/\nrequire(\"../bind\");\n\nfunction _arrayReduce(xf, acc, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n acc = xf['@@transducer/step'](acc, list[idx]);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n idx += 1;\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _iterableReduce(xf, acc, iter) {\n var step = iter.next();\n\n while (!step.done) {\n acc = xf['@@transducer/step'](acc, step.value);\n\n if (acc && acc['@@transducer/reduced']) {\n acc = acc['@@transducer/value'];\n break;\n }\n\n step = iter.next();\n }\n\n return xf['@@transducer/result'](acc);\n}\n\nfunction _methodReduce(xf, acc, obj, methodName) {\n return xf['@@transducer/result'](obj[methodName](bind(xf['@@transducer/step'], xf), acc));\n}\n\nvar symIterator = typeof Symbol !== 'undefined' ? Symbol.iterator : '@@iterator';\n\nfunction _reduce(fn, acc, list) {\n if (typeof fn === 'function') {\n fn = _xwrap(fn);\n }\n\n if (_isArrayLike(list)) {\n return _arrayReduce(fn, acc, list);\n }\n\n if (typeof list['fantasy-land/reduce'] === 'function') {\n return _methodReduce(fn, acc, list, 'fantasy-land/reduce');\n }\n\n if (list[symIterator] != null) {\n return _iterableReduce(fn, acc, list[symIterator]());\n }\n\n if (typeof list.next === 'function') {\n return _iterableReduce(fn, acc, list);\n }\n\n if (typeof list.reduce === 'function') {\n return _methodReduce(fn, acc, list, 'reduce');\n }\n\n throw new TypeError('reduce: list must be array or iterable');\n}\n\nmodule.exports = _reduce;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a function that is bound to a context.\n * Note: `R.bind` does not provide the additional argument-binding capabilities of\n * [Function.prototype.bind](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind).\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @category Object\n * @sig (* -> *) -> {*} -> (* -> *)\n * @param {Function} fn The function to bind to context\n * @param {Object} thisObj The context to bind `fn` to\n * @return {Function} A function that will execute in the context of `thisObj`.\n * @see R.partial\n * @example\n *\n * const log = R.bind(console.log, console);\n * R.pipe(R.assoc('a', 2), R.tap(log), R.assoc('a', 3))({a: 1}); //=> {a: 3}\n * // logs {a: 2}\n * @symb R.bind(f, o)(a, b) = f.call(o, a, b)\n */\n\n\nvar bind =\n/*#__PURE__*/\n_curry2(function bind(fn, thisObj) {\n return _arity(fn.length, function () {\n return fn.apply(thisObj, arguments);\n });\n});\n\nmodule.exports = bind;","var XWrap =\n/*#__PURE__*/\nfunction () {\n function XWrap(fn) {\n this.f = fn;\n }\n\n XWrap.prototype['@@transducer/init'] = function () {\n throw new Error('init not implemented on XWrap');\n };\n\n XWrap.prototype['@@transducer/result'] = function (acc) {\n return acc;\n };\n\n XWrap.prototype['@@transducer/step'] = function (acc, x) {\n return this.f(acc, x);\n };\n\n return XWrap;\n}();\n\nfunction _xwrap(fn) {\n return new XWrap(fn);\n}\n\nmodule.exports = _xwrap;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./_curry1\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./_isArray\");\n\nvar _isString =\n/*#__PURE__*/\nrequire(\"./_isString\");\n/**\n * Tests whether or not an object is similar to an array.\n *\n * @private\n * @category Type\n * @category List\n * @sig * -> Boolean\n * @param {*} x The object to test.\n * @return {Boolean} `true` if `x` has a numeric length property and extreme indices defined; `false` otherwise.\n * @example\n *\n * _isArrayLike([]); //=> true\n * _isArrayLike(true); //=> false\n * _isArrayLike({}); //=> false\n * _isArrayLike({length: 10}); //=> false\n * _isArrayLike({0: 'zero', 9: 'nine', length: 10}); //=> true\n */\n\n\nvar _isArrayLike =\n/*#__PURE__*/\n_curry1(function isArrayLike(x) {\n if (_isArray(x)) {\n return true;\n }\n\n if (!x) {\n return false;\n }\n\n if (typeof x !== 'object') {\n return false;\n }\n\n if (_isString(x)) {\n return false;\n }\n\n if (x.nodeType === 1) {\n return !!x.length;\n }\n\n if (x.length === 0) {\n return true;\n }\n\n if (x.length > 0) {\n return x.hasOwnProperty(0) && x.hasOwnProperty(x.length - 1);\n }\n\n return false;\n});\n\nmodule.exports = _isArrayLike;","/**\n * Tests whether or not an object is an array.\n *\n * @private\n * @param {*} val The object to test.\n * @return {Boolean} `true` if `val` is an array, `false` otherwise.\n * @example\n *\n * _isArray([]); //=> true\n * _isArray(null); //=> false\n * _isArray({}); //=> false\n */\nmodule.exports = Array.isArray || function _isArray(val) {\n return val != null && val.length >= 0 && Object.prototype.toString.call(val) === '[object Array]';\n};","function _isString(x) {\n return Object.prototype.toString.call(x) === '[object String]';\n}\n\nmodule.exports = _isString;","function _pipe(f, g) {\n return function () {\n return g.call(this, f.apply(this, arguments));\n };\n}\n\nmodule.exports = _pipe;","var _checkForMethod =\n/*#__PURE__*/\nrequire(\"./internal/_checkForMethod\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns all but the first element of the given list or string (or object\n * with a `tail` method).\n *\n * Dispatches to the `slice` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.head, R.init, R.last\n * @example\n *\n * R.tail([1, 2, 3]); //=> [2, 3]\n * R.tail([1, 2]); //=> [2]\n * R.tail([1]); //=> []\n * R.tail([]); //=> []\n *\n * R.tail('abc'); //=> 'bc'\n * R.tail('ab'); //=> 'b'\n * R.tail('a'); //=> ''\n * R.tail(''); //=> ''\n */\n\n\nvar tail =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_checkForMethod('tail',\n/*#__PURE__*/\nslice(1, Infinity)));\n\nmodule.exports = tail;","var _isArray =\n/*#__PURE__*/\nrequire(\"./_isArray\");\n/**\n * This checks whether a function has a [methodname] function. If it isn't an\n * array it will execute that function otherwise it will default to the ramda\n * implementation.\n *\n * @private\n * @param {Function} fn ramda implemtation\n * @param {String} methodname property to check for a custom implementation\n * @return {Object} Whatever the return value of the method is.\n */\n\n\nfunction _checkForMethod(methodname, fn) {\n return function () {\n var length = arguments.length;\n\n if (length === 0) {\n return fn();\n }\n\n var obj = arguments[length - 1];\n return _isArray(obj) || typeof obj[methodname] !== 'function' ? fn.apply(this, arguments) : obj[methodname].apply(obj, Array.prototype.slice.call(arguments, 0, length - 1));\n };\n}\n\nmodule.exports = _checkForMethod;","var _checkForMethod =\n/*#__PURE__*/\nrequire(\"./internal/_checkForMethod\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Returns the elements of the given list or string (or object with a `slice`\n * method) from `fromIndex` (inclusive) to `toIndex` (exclusive).\n *\n * Dispatches to the `slice` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @sig Number -> Number -> String -> String\n * @param {Number} fromIndex The start index (inclusive).\n * @param {Number} toIndex The end index (exclusive).\n * @param {*} list\n * @return {*}\n * @example\n *\n * R.slice(1, 3, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(1, Infinity, ['a', 'b', 'c', 'd']); //=> ['b', 'c', 'd']\n * R.slice(0, -1, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c']\n * R.slice(-3, -1, ['a', 'b', 'c', 'd']); //=> ['b', 'c']\n * R.slice(0, 3, 'ramda'); //=> 'ram'\n */\n\n\nvar slice =\n/*#__PURE__*/\n_curry3(\n/*#__PURE__*/\n_checkForMethod('slice', function slice(fromIndex, toIndex, list) {\n return Array.prototype.slice.call(list, fromIndex, toIndex);\n}));\n\nmodule.exports = slice;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _isString =\n/*#__PURE__*/\nrequire(\"./internal/_isString\");\n/**\n * Returns a new list or string with the elements or characters in reverse\n * order.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {Array|String} list\n * @return {Array|String}\n * @example\n *\n * R.reverse([1, 2, 3]); //=> [3, 2, 1]\n * R.reverse([1, 2]); //=> [2, 1]\n * R.reverse([1]); //=> [1]\n * R.reverse([]); //=> []\n *\n * R.reverse('abc'); //=> 'cba'\n * R.reverse('ab'); //=> 'ba'\n * R.reverse('a'); //=> 'a'\n * R.reverse(''); //=> ''\n */\n\n\nvar reverse =\n/*#__PURE__*/\n_curry1(function reverse(list) {\n return _isString(list) ? list.split('').reverse().join('') : Array.prototype.slice.call(list, 0).reverse();\n});\n\nmodule.exports = reverse;","import { TNodeImpl, TNodeInit } from '../tree/tree-types';\nimport { Document } from 'domhandler';\nimport { TTextCtor } from '../tree/TTextCtor';\nimport { TPhrasingCtor } from '../tree/TPhrasingCtor';\nimport { TBlockCtor } from '../tree/TBlockCtor';\nimport { TDocumentCtor, TDocumentImpl } from '../tree/TDocumentImpl';\nimport { isDomElement, isDomText, Element, Node, Text } from '../dom/dom-utils';\nimport { TStyles } from '../styles/TStyles';\n\nimport { TEmptyCtor } from '../tree/TEmptyCtor';\nimport { DataFlowParams } from './types';\n\nexport function mapNodeList({\n nodeList,\n parent,\n parentStyles,\n params\n}: {\n nodeList: Node[];\n parentStyles?: TStyles;\n parent: TNodeImpl | null;\n params: DataFlowParams;\n}): TNodeImpl[] {\n const nextMap: TNodeImpl[] = [];\n for (const i in nodeList) {\n const child = nodeList[i];\n const translated = translateNode({\n node: child,\n parentStyles,\n params,\n nodeIndex: Number(i),\n parent\n });\n if (translated) {\n nextMap.push(translated);\n }\n }\n return nextMap;\n}\n\nexport function bindChildren(\n node: TNodeImpl,\n children: Node[],\n params: DataFlowParams\n) {\n if (!node.elementModel || !node.elementModel.isOpaque) {\n node.bindChildren(\n mapNodeList({\n nodeList: children,\n parent: node,\n params\n })\n );\n }\n}\n\nfunction translateElement({\n node,\n nodeIndex,\n params,\n parent,\n parentStyles\n}: TranslateParams): TNodeImpl | null {\n const tagName = node.tagName;\n const sharedProps: Omit = {\n nodeIndex,\n parentStyles,\n context: params,\n domNode: node,\n parent\n };\n const elementModel = params.modelRegistry.getElementModelFromTagName(tagName);\n if (!elementModel) {\n return new TEmptyCtor({\n ...sharedProps,\n isUnregistered: true,\n elementModel,\n domNode: node\n });\n }\n if (elementModel.isTranslatableTextual()) {\n if (node.children.length === 1) {\n const child = node.children[0] as Node;\n if (isDomText(child)) {\n return new TTextCtor({\n ...sharedProps,\n elementModel,\n textNode: child,\n domNode: node\n });\n }\n } else if (node.children.length === 0) {\n return new TTextCtor({\n ...sharedProps,\n elementModel,\n domNode: node,\n textNode: new Text('')\n });\n }\n const phrasing = new TPhrasingCtor({\n ...sharedProps,\n domNode: node,\n elementModel\n });\n bindChildren(phrasing, node.children, params);\n return phrasing;\n }\n if (elementModel.isTranslatableBlock()) {\n const block = new TBlockCtor({\n ...sharedProps,\n elementModel,\n parentStyles,\n domNode: node\n });\n bindChildren(block, node.children, params);\n return block;\n }\n return new TEmptyCtor({\n ...sharedProps,\n isUnregistered: false,\n elementModel,\n domNode: node\n });\n}\n\ninterface TranslateParams {\n node: T;\n params: DataFlowParams;\n parent: TNodeImpl | null;\n parentStyles?: TStyles;\n nodeIndex?: number;\n}\n\nexport function translateNode({\n node,\n parentStyles,\n params,\n nodeIndex,\n parent\n}: TranslateParams): TNodeImpl | null {\n if (isDomText(node)) {\n return new TTextCtor({\n textNode: node,\n context: params,\n parentStyles,\n domNode: null,\n elementModel: null,\n nodeIndex,\n parent\n });\n }\n if (isDomElement(node)) {\n return translateElement({\n node,\n parentStyles,\n params,\n nodeIndex,\n parent\n });\n }\n return null;\n}\n\nexport function translateDocument(\n document: Document,\n params: DataFlowParams\n): TDocumentImpl {\n const tdoc = new TDocumentCtor({\n context: params,\n styles: params.baseStyles,\n domNode: document as any\n });\n bindChildren(tdoc, document.children, params);\n tdoc.parseChildren();\n return tdoc;\n}\n","import HTMLContentModel from '../model/HTMLContentModel';\nimport { Element } from '../dom/dom-utils';\nimport { TNodeImpl, TNodeInit } from './tree-types';\nimport TNodeCtor, { GenericTNodeCtor, Mutable } from './TNodeCtor';\n\nexport interface TEmptyImpl extends TNodeImpl {\n readonly domNode: Element;\n}\n\nexport interface TEmptyInit extends TNodeInit {\n domNode: Element;\n}\n\nconst TEmptyCtor = function TEmpty(\n this: Mutable,\n init: TEmptyInit\n) {\n this.initialize(init);\n} as Function as GenericTNodeCtor;\n\n//@ts-ignore\nTEmptyCtor.prototype = new TNodeCtor('empty', 'TEmpty');\n\nTEmptyCtor.prototype.matchContentModel = function matchContentModel(\n contentModel: HTMLContentModel\n) {\n return contentModel === HTMLContentModel.none;\n};\n\nexport default TEmptyCtor;\n\nexport { TEmptyCtor };\n","import { AccessibilityProps, AccessibilityRole } from 'react-native';\nimport {\n ReactNativePropsSwitch,\n ReactNativePropsDefinitions\n} from '../helper-types';\nimport { TStyles } from '../styles/TStyles';\nimport markersPrototype from './markersPrototype';\nimport tnodeToString from './tnodeSnapshot';\nimport {\n Markers,\n TNodeDescriptor,\n TNodeImpl,\n TNodeInit,\n TNodeType\n} from './tree-types';\n\nexport type GenericTNodeCtor = {\n new (init: Init): Impl;\n prototype: Impl;\n};\n\nexport type Mutable = {\n -readonly [P in keyof T]: T[P];\n};\n\nfunction updateNodeIndexes(node: Mutable, i: number) {\n node.nodeIndex = i;\n}\n\nconst emptyAttrs = Object.freeze({});\nconst emptyClasses = Object.freeze([]);\n\nfunction findNativeRole(ariaRole: string): AccessibilityRole | undefined {\n if (ariaRole === 'img') {\n return 'image';\n }\n if (ariaRole === 'heading') {\n return 'header';\n }\n if (ariaRole === 'dialog') {\n return 'alert';\n }\n if (ariaRole === 'presentation') {\n return 'none';\n }\n if (\n ariaRole === 'button' ||\n ariaRole === 'switch' ||\n ariaRole === 'checkbox' ||\n ariaRole === 'radio' ||\n ariaRole === 'radiogroup' ||\n ariaRole === 'link' ||\n ariaRole === 'search'\n ) {\n return ariaRole;\n }\n}\n\nfunction setMarkersFromAttributes(\n targetMarkers: Markers,\n _parentMarkers: Readonly,\n { attributes }: TNodeDescriptor\n): void {\n if ('dir' in attributes) {\n targetMarkers.direction = attributes.dir as 'rtl';\n }\n if ('lang' in attributes) {\n targetMarkers.lang = attributes.lang;\n }\n}\n\nfunction transformPropsDefinitionsToSwitch(\n definition?: ReactNativePropsDefinitions | null\n): ReactNativePropsSwitch | null {\n if (!definition) {\n return null;\n }\n return {\n text: {\n ...definition.native,\n ...definition.text\n },\n view: {\n ...definition.native,\n ...definition.view\n }\n };\n}\n\nfunction mergeSwitches(\n prev: ReactNativePropsSwitch | null,\n next: ReactNativePropsSwitch | null\n) {\n if (!prev) {\n return next;\n }\n if (!next) {\n return prev;\n }\n return {\n text: {\n ...prev.text,\n ...next.text\n },\n view: {\n ...prev.view,\n ...next.view\n }\n };\n}\n\nconst prototype: Omit = {\n children: Object.freeze([]) as any,\n init: Object.freeze({}) as any,\n classes: Object.freeze([]) as any,\n styles: Object.freeze(TStyles.empty()) as any,\n markers: markersPrototype,\n __nodeIndex: null,\n __trimmedLeft: false,\n __trimmedRight: false,\n __nativeProps: false,\n __nativeStyles: false,\n __webStyles: false,\n __generateNativePropsFromTNode() {\n let ret: ReactNativePropsSwitch | null = null;\n if (this.styles.webTextFlow.userSelect) {\n ret = mergeSwitches(ret, {\n text: {\n selectable: this.styles.webTextFlow.userSelect !== 'none'\n }\n });\n }\n if (this.attributes['aria-label']) {\n const accessibilityProps: AccessibilityProps = {\n accessibilityLabel: this.attributes['aria-label']\n };\n ret = mergeSwitches(ret, {\n view: accessibilityProps,\n text: accessibilityProps\n });\n }\n if (this.attributes.role) {\n const role = this.attributes.role;\n const accessibilityRole = findNativeRole(role);\n if (accessibilityRole) {\n const accessibilityProps: AccessibilityProps = {\n accessibilityRole: accessibilityRole\n };\n ret = mergeSwitches(ret, {\n view: accessibilityProps,\n text: accessibilityProps\n });\n }\n }\n return ret;\n },\n\n __generateDynamicNativePropsFromModel(autoGeneratedProps) {\n const elm = this.elementModel;\n if (!elm || !elm.getReactNativeProps) {\n return null;\n }\n return transformPropsDefinitionsToSwitch(\n elm.getReactNativeProps(this as any, autoGeneratedProps, this.domNode!) ||\n null\n );\n },\n\n get attributes() {\n return this.domNode?.attribs || emptyAttrs;\n },\n\n get hasWhiteSpaceCollapsingEnabled() {\n return typeof this.styles.webTextFlow.whiteSpace === 'string'\n ? this.styles.webTextFlow.whiteSpace === 'normal'\n : true;\n },\n\n get contentModel() {\n return this.elementModel?.contentModel || null;\n },\n\n get parentStyles() {\n return this.init.parentStyles || this.parent?.styles || null;\n },\n\n get id() {\n return this.attributes.id || null;\n },\n\n get domNode() {\n return this.init.domNode || null;\n },\n\n get elementModel() {\n return this.init.elementModel;\n },\n\n get tagName() {\n return this.init.domNode?.name || null;\n },\n\n get parent() {\n return (this.init.parent as any) || null;\n },\n\n get nodeIndex() {\n if (this.__nodeIndex === null) {\n this.__nodeIndex = this.init.nodeIndex || 0;\n }\n return this.__nodeIndex;\n },\n\n get isUnregistered() {\n return this.init.isUnregistered || false;\n },\n\n set nodeIndex(nodeIndex: number) {\n this.__nodeIndex = nodeIndex;\n },\n\n bindChildren(children, shouldUpdateNodeIndexes = false) {\n //@ts-ignore\n this.children = children;\n if (shouldUpdateNodeIndexes) {\n children.forEach(updateNodeIndexes);\n }\n },\n\n cloneInitParams(partial) {\n return Object.assign({}, this.init, partial) as any;\n },\n\n isCollapsibleLeft() {\n if (this.children.length) {\n return (\n this.hasWhiteSpaceCollapsingEnabled &&\n this.children[0].isCollapsibleLeft()\n );\n }\n return false;\n },\n\n isCollapsibleRight() {\n if (this.children.length) {\n return (\n this.hasWhiteSpaceCollapsingEnabled &&\n this.children[this.children.length - 1].isCollapsibleRight()\n );\n }\n return false;\n },\n\n isEmpty() {\n return false;\n },\n\n trimLeft() {\n if (!this.__trimmedLeft && this.children.length) {\n const firstChild = this.children[0];\n firstChild.trimLeft();\n if (firstChild.isEmpty()) {\n //@ts-ignore\n this.children.splice(0, 1);\n }\n this.__trimmedLeft = true;\n }\n },\n\n trimRight() {\n if (!this.__trimmedRight && this.children.length) {\n const lastChild = this.children[this.children.length - 1];\n lastChild.trimRight();\n if (lastChild.isEmpty()) {\n //@ts-ignore\n this.children.splice(-1, 1);\n }\n this.__trimmedRight = true;\n }\n },\n\n matchContentModel() {\n return false;\n },\n\n spliceChildren(indexesToSplice) {\n let offset = 0;\n for (const i of indexesToSplice) {\n //@ts-ignore\n this.children.splice(i - offset, 1);\n offset += 1;\n }\n },\n\n collapse() {\n this.collapseChildren();\n this.bindChildren(this.children, true);\n },\n\n getNativeStyles() {\n if (this.__nativeStyles === false) {\n this.__nativeStyles = {\n ...this.styles.nativeBlockFlow,\n ...this.styles.nativeBlockRet,\n ...this.styles.nativeTextFlow,\n ...this.styles.nativeTextRet\n };\n }\n return this.__nativeStyles;\n },\n\n getWebStyles() {\n if (this.__webStyles === false) {\n this.__webStyles = {\n ...this.styles.webTextFlow,\n ...this.styles.webBlockRet\n } as ReturnType;\n }\n return this.__webStyles;\n },\n\n collapseChildren() {\n return;\n },\n\n snapshot(options = {}) {\n const { withStyles = false, withNodeIndex = false } = options;\n return tnodeToString(this as any, { withStyles, withNodeIndex });\n },\n\n hasClass(className) {\n return this.classes.indexOf(className) > -1;\n },\n\n toString() {\n return this.snapshot();\n },\n\n setMarkers(targetMarkers, parentMarkers) {\n if (this.elementModel?.setMarkersForTNode) {\n this.elementModel.setMarkersForTNode(targetMarkers, parentMarkers, this);\n }\n setMarkersFromAttributes(targetMarkers, parentMarkers, this);\n this.init.context.setMarkersForTNode?.(targetMarkers, parentMarkers, this);\n },\n\n getReactNativeProps() {\n if (this.__nativeProps === false) {\n const staticFromModel = transformPropsDefinitionsToSwitch(\n this.elementModel?.reactNativeProps\n );\n const dynamicFromAttrs = this.__generateNativePropsFromTNode();\n const autoGeneratedProps = mergeSwitches(\n staticFromModel,\n dynamicFromAttrs\n );\n const dynamicFromModel =\n this.__generateDynamicNativePropsFromModel(autoGeneratedProps);\n this.__nativeProps = mergeSwitches(autoGeneratedProps, dynamicFromModel);\n }\n return this.__nativeProps;\n },\n\n initialize = TNodeImpl>(\n this: Mutable,\n init: Impl['init']\n ) {\n this.init = init;\n this.classes = this.attributes.class?.split(/\\s+/) || emptyClasses;\n const parentMarkers = init.parent\n ? init.parent.markers\n : markersPrototype.extend();\n this.markers = parentMarkers.extend();\n this.setMarkers(this.markers, parentMarkers, this);\n // Avoid very long prototype chains by assigning parent to current\n // when current has no own properties\n if (Object.keys(this.markers).length === 0) {\n this.markers = parentMarkers;\n }\n this.styles =\n init.styles ||\n init.context.stylesMerger.buildStyles(\n this.attributes.style,\n this.parentStyles || null,\n this\n );\n }\n};\n\nconst TNodeCtor = function TNode(\n this: Mutable,\n type: TNodeType,\n displayName: string,\n extraAccessors?: {\n [k in Exclude]: {\n get: () => any;\n set?: (val: any) => void;\n };\n }\n) {\n this.type = type;\n this.displayName = displayName;\n extraAccessors && Object.defineProperties(this, extraAccessors);\n};\n\nTNodeCtor.prototype = prototype as any;\n\nexport default TNodeCtor;\n","import { Markers } from './tree-types';\n\nconst markersPrototype: Markers = {\n anchor: false,\n edits: 'none',\n lang: 'en',\n olNestLevel: -1,\n ulNestLevel: -1,\n direction: 'ltr',\n extend(this: Markers) {\n return Object.create(this);\n },\n toString() {\n let print = 'Markers {\\n';\n for (const key in this) {\n //@ts-ignore\n const val = this[key];\n if (typeof val !== 'function') {\n print += ` ${key}: ${JSON.stringify(val)}\\n`;\n }\n }\n return print + '}';\n }\n};\n\nexport default markersPrototype;\n","import { TNode, TNodePrintOptions } from './tree-types';\n\nfunction printTableStyles(styles: Record) {\n const entries = Object.entries(styles);\n return entries.reduce((prev, [name, val]) => {\n return `${prev}${prev ? ',' : ''} ${name}: ${JSON.stringify(val)}`;\n }, '');\n}\n\nfunction tnodePropertiesString(\n tnode: TNode,\n { withNodeIndex, withStyles }: TNodePrintOptions\n) {\n const tagPrint = tnode.tagName ? `tagName=\"${tnode.tagName}\"` : 'anonymous';\n const unregisteredPrint = tnode.isUnregistered ? 'unregistered' : null;\n const indexPrint = withNodeIndex ? `nodeIndex={${tnode.nodeIndex}}` : null;\n const idPrint = tnode.id ? `id=${tnode.id}` : null;\n const classesPrint = tnode.classes?.length\n ? `classes={[${tnode.classes.join(', ')}]}`\n : null;\n const dataPrint =\n tnode.type === 'text' ? `data=${JSON.stringify(tnode.data)}` : null;\n const anchorPrint =\n typeof tnode.attributes.href === 'string'\n ? `href=${JSON.stringify(tnode.attributes.href)}`\n : null;\n const srcPrint =\n typeof tnode.attributes.src === 'string'\n ? `src=${JSON.stringify(tnode.attributes.src)}`\n : null;\n const pstyles = withStyles ? printTableStyles(tnode.getNativeStyles()) : null;\n const nativeStylesPrint = pstyles ? `nativeStyles={{${pstyles} }}` : null;\n const oStyles = withStyles ? printTableStyles(tnode.getWebStyles()) : null;\n const webStylesPrint = oStyles ? `webStyles={{${oStyles}}}` : null;\n const detailsPrint = [\n tagPrint,\n unregisteredPrint,\n indexPrint,\n idPrint,\n classesPrint,\n dataPrint,\n anchorPrint,\n srcPrint,\n nativeStylesPrint,\n webStylesPrint\n ]\n .filter((p) => p !== null)\n .join(' ');\n return `<${tnode.displayName} ${detailsPrint}`;\n}\n\ninterface TNodePrintState {\n parentLeftPrefix: string;\n isChild: boolean;\n isLast: boolean;\n}\n\nexport default function tnodeSnapshot(\n tnode: TNode,\n params: Partial & TNodePrintOptions\n): string {\n const {\n parentLeftPrefix = '',\n isChild = false,\n isLast = true,\n withStyles,\n withNodeIndex\n } = params;\n const prefix = isChild ? ' ' : '';\n const totalPrefixLeft = parentLeftPrefix + prefix;\n const childrenPrint = tnode.children\n .map((c, i) =>\n tnodeSnapshot(c, {\n parentLeftPrefix: parentLeftPrefix + ''.padStart(prefix.length, ' '),\n isChild: true,\n isLast: i === tnode.children.length - 1,\n withStyles,\n withNodeIndex\n })\n )\n .join('');\n return `${totalPrefixLeft}${tnodePropertiesString(tnode, {\n withStyles,\n withNodeIndex\n })}${\n childrenPrint\n ? `>\\n${childrenPrint}\\n${totalPrefixLeft}`\n : ' />'\n }${isLast ? '' : '\\n'}`;\n}\n","import { Text } from '../dom/dom-utils';\nimport HTMLContentModel from '../model/HTMLContentModel';\n\nimport compose from 'ramda/src/compose';\nimport { TNodeInit, TNodeImpl } from './tree-types';\nimport {\n normalizeWhitespaces,\n normalizeZeroWidthWhitespaces,\n removeCollapsibleAroundSegmentBreak,\n removeConsecutiveSegmentBreaks,\n removeLineBreaksAroundEastAsianDiscardSet,\n replaceSegmentBreaks\n} from '../flow/text-transforms';\nimport TNodeCtor, { GenericTNodeCtor, Mutable } from './TNodeCtor';\n\nexport interface TTextInit extends TNodeInit {\n readonly textNode: Text;\n}\n\nexport interface TTextImpl extends TNodeImpl {\n readonly data: string;\n /**\n * True when tagName is defined and should be substituted with text when\n * rendering. E.g.
tags.\n */\n readonly isVoid: boolean;\n}\n\nconst collapseWhiteSpaces = compose(\n normalizeWhitespaces,\n replaceSegmentBreaks,\n normalizeZeroWidthWhitespaces,\n removeConsecutiveSegmentBreaks,\n removeCollapsibleAroundSegmentBreak\n);\n\nconst collapseWhiteSpacesWithEastAsianCharset = compose(\n normalizeWhitespaces,\n replaceSegmentBreaks,\n removeLineBreaksAroundEastAsianDiscardSet,\n normalizeZeroWidthWhitespaces,\n removeConsecutiveSegmentBreaks,\n removeCollapsibleAroundSegmentBreak\n);\n\nconst TTextCtor = function TText(this: Mutable, init: TTextInit) {\n this.initialize(init);\n this.isVoid = this.elementModel ? this.elementModel.isVoid : false;\n} as Function as GenericTNodeCtor;\n\n//@ts-ignore\nTTextCtor.prototype = new TNodeCtor('text', 'TText', {\n data: {\n get(this: TTextImpl) {\n return this.init.textNode.data;\n },\n set(this: TTextImpl, data: string) {\n this.init.textNode.data = data;\n }\n }\n});\n\nTTextCtor.prototype.matchContentModel = function matchContentModel(\n contentModel: HTMLContentModel\n) {\n return (\n contentModel === HTMLContentModel.textual ||\n contentModel === HTMLContentModel.mixed\n );\n};\n\nTTextCtor.prototype.isCollapsibleLeft = function isCollapsibleLeft(\n this: TTextImpl\n) {\n return (\n this.hasWhiteSpaceCollapsingEnabled &&\n !this.isEmpty() &&\n this.data[0] === ' '\n );\n};\n\nTTextCtor.prototype.isCollapsibleRight = function isCollapsibleRight(\n this: TTextImpl\n) {\n return (\n this.hasWhiteSpaceCollapsingEnabled &&\n !this.isEmpty() &&\n (this.isVoid || this.data[this.data.length - 1] === ' ')\n );\n};\n\nTTextCtor.prototype.isEmpty = function isEmpty(this: TTextImpl) {\n // Only anonymous text nodes can be considered \"empty\"\n return this.tagName === null && !this.data.length;\n};\n\nTTextCtor.prototype.trimLeft = function trimLeft(this: Mutable) {\n if (this.isCollapsibleLeft()) {\n this.data = this.data.slice(1);\n }\n};\n\nTTextCtor.prototype.trimRight = function trimRight(this: Mutable) {\n if (this.isCollapsibleRight()) {\n this.data = this.data.substr(0, this.data.length - 1);\n }\n};\n\nTTextCtor.prototype.collapseChildren = function collapseChildren(\n this: Mutable\n) {\n if (this.hasWhiteSpaceCollapsingEnabled) {\n if (this.init.context.removeLineBreaksAroundEastAsianDiscardSet) {\n this.data = collapseWhiteSpacesWithEastAsianCharset(this.data);\n } else {\n this.data = collapseWhiteSpaces(this.data);\n }\n }\n return null;\n};\n\nexport default TTextCtor;\n\nexport { TTextCtor };\n","// TODO, when React Native supports unicode regexes,\n// we should use `p{Zs}` instead of [ \\t] to comply\n// with the CSS3 Text Module standard. https://www.w3.org/TR/css-text-3/#spaces\nconst COLLAPSIBLE_AROUND_SEGMENT_BREAK_REGEX = /[ \\t]*[\\r\\n\\f]+[ \\t]*/g;\nconst CONSECUTIVE_SEGMENT_BREAKS_REGEX = /[\\r\\n\\f]+/g;\nconst ZERO_WIDTH_SPACES_AROUND_SEGMENT_BREAKS_REGEX =\n /(\\u200b\\n\\u200b?|\\u200b?\\n\\u200b)/g;\nconst SPACE_DISCARDING_CHARSET_REGEX =\n /([\\u2E80-\\u2EFF\\u2F00-\\u2FDF\\u2FF0-\\u2FFF\\u3000-\\u303F\\u3040-\\u309F\\u30A0-\\u30FF\\u3130-\\u318F\\u3190-\\u319F\\u31C0-\\u31EF\\u31F0-\\u31FF\\u3300-\\u33FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uA000-\\uA48F\\uA490-\\uA4CF\\uF900-\\uFAFF\\uFE10-\\uFE1F\\uFE30-\\uFE4F\\uFE50-\\uFE6F\\uFF00-\\uFFEF])\\n([\\u2E80-\\u2EFF\\u2F00-\\u2FDF\\u2FF0-\\u2FFF\\u3000-\\u303F\\u3040-\\u309F\\u30A0-\\u30FF\\u3130-\\u318F\\u3190-\\u319F\\u31C0-\\u31EF\\u31F0-\\u31FF\\u3300-\\u33FF\\u3400-\\u4DBF\\u4E00-\\u9FFF\\uA000-\\uA48F\\uA490-\\uA4CF\\uF900-\\uFAFF\\uFE10-\\uFE1F\\uFE30-\\uFE4F\\uFE50-\\uFE6F\\uFF00-\\uFFEF])/g;\nconst SEGMENT_BREAK_REGEX = /\\n/g;\nconst SUBSEQUENT_WHITESPACE_REGEX = /[ \\t]+/g;\n\n// Implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20201119/#white-space-phase-1\nexport function removeCollapsibleAroundSegmentBreak(data: string): string {\n return data.replace(COLLAPSIBLE_AROUND_SEGMENT_BREAK_REGEX, '\\n');\n}\n\n// Implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20201119/#line-break-transform\nexport function removeConsecutiveSegmentBreaks(data: string): string {\n return data.replace(CONSECUTIVE_SEGMENT_BREAKS_REGEX, '\\n');\n}\n\n// Implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20200429/#line-break-transform\n// In the latest version (https://www.w3.org/TR/2020/WD-css-text-3-20201119/),\n// the behavior is considered at UA discretion.\nexport function normalizeZeroWidthWhitespaces(data: string): string {\n return data.replace(ZERO_WIDTH_SPACES_AROUND_SEGMENT_BREAKS_REGEX, '\\u200b');\n}\n\n// Partial implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20200429/#line-break-transform\n//\n// Because RN Javascript runtime doesn't support String.fromCharCode, we don't support space discarding\n// for character ranges above U+FFFF\n//\n// In the latest version (https://www.w3.org/TR/2020/WD-css-text-3-20201119/),\n// the behavior is considered at UA discretion.\nexport function removeLineBreaksAroundEastAsianDiscardSet(\n data: string\n): string {\n return data.replace(SPACE_DISCARDING_CHARSET_REGEX, '$1$2');\n}\n\n// Implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20201119/#white-space-phase-2\n// (A.1)\nexport function replaceSegmentBreaks(data: string): string {\n return data.replace(SEGMENT_BREAK_REGEX, ' ');\n}\n\n// Implementation of\n// https://www.w3.org/TR/2020/WD-css-text-3-20201119/#white-space-phase-2\n// (A.4)\nexport function normalizeWhitespaces(data: string): string {\n return data.replace(SUBSEQUENT_WHITESPACE_REGEX, ' ');\n}\n","import HTMLContentModel from '../model/HTMLContentModel';\nimport TNodeCtor, { GenericTNodeCtor, Mutable } from './TNodeCtor';\nimport { TNodeImpl, TNodeInit } from './tree-types';\n\nexport interface TPhrasingImpl extends TNodeImpl {}\n\nfunction isChildEmpty(c: TNodeImpl) {\n return c.isEmpty();\n}\n\nconst TPhrasingCtor = function TPhrasing(\n this: Mutable,\n init: TNodeInit\n) {\n this.initialize(init);\n} as Function as GenericTNodeCtor;\n\n//@ts-ignore\nTPhrasingCtor.prototype = new TNodeCtor('phrasing', 'TPhrasing');\n\nTPhrasingCtor.prototype.matchContentModel = function matchContentModel(\n contentModel\n) {\n return (\n contentModel === HTMLContentModel.textual ||\n contentModel === HTMLContentModel.mixed\n );\n};\n\nTPhrasingCtor.prototype.isEmpty = function isEmpty() {\n // Only anonymous phrasing nodes with every children empty can be considered \"empty\"\n return this.tagName === null && this.children.every(isChildEmpty);\n};\n\nTPhrasingCtor.prototype.collapseChildren = function collapseChildren() {\n let previous: TNodeImpl | null = null;\n this.children.forEach((childK, k) => {\n const j = k - 1;\n childK.collapse();\n if (\n j > -1 &&\n childK.isCollapsibleLeft() &&\n (previous as TNodeImpl).isCollapsibleRight()\n ) {\n // We must trim left from current to support trimming\n // after
and tags.\n childK.trimLeft();\n }\n previous = childK;\n });\n this.trimLeft();\n this.trimRight();\n return null;\n};\n\nexport default TPhrasingCtor;\n\nexport { TPhrasingCtor };\n","import HTMLContentModel from '../model/HTMLContentModel';\nimport TNodeCtor, { GenericTNodeCtor, Mutable } from './TNodeCtor';\nimport { TNodeImpl, TNodeInit } from './tree-types';\n\nexport interface TBlockImpl extends TNodeImpl {}\n\nconst TBlockCtor = function TBlock(this: Mutable, init: TNodeInit) {\n this.initialize(init);\n} as Function as GenericTNodeCtor;\n\n//@ts-ignore\nTBlockCtor.prototype = new TNodeCtor('block', 'TBlock');\n\nTBlockCtor.prototype.matchContentModel = function matchContentModel(\n contentModel\n) {\n return (\n contentModel === HTMLContentModel.block ||\n contentModel === HTMLContentModel.mixed\n );\n};\n\nTBlockCtor.prototype.collapseChildren = function collapseChildren() {\n let indexesToSplice: number[] = [];\n this.children.forEach((child, i) => {\n child.collapse();\n if (child.isEmpty()) {\n indexesToSplice.push(i);\n }\n });\n this.spliceChildren(indexesToSplice);\n};\n\nTBlockCtor.prototype.getNativeStyles = function getNativeStyles(\n this: TNodeImpl\n) {\n if (this.__nativeStyles === false) {\n this.__nativeStyles = {\n ...this.styles.nativeBlockFlow,\n ...this.styles.nativeBlockRet\n };\n }\n return this.__nativeStyles;\n};\n\nexport default TBlockCtor;\n\nexport { TBlockCtor };\n","import { GenericTNodeCtor, Mutable } from './TNodeCtor';\nimport HTMLElementModel from '../model/HTMLElementModel';\nimport { isDomElement, isDomText } from '../dom/dom-utils';\nimport { TEmptyImpl } from './TEmptyCtor';\nimport { TNodeInit, TNodeImpl, DocumentContext } from './tree-types';\nimport TBlockImpl from './TBlockCtor';\n\nexport type TDocumentInit = Omit;\n\nexport interface TDocumentImpl extends TNodeImpl {\n readonly context: Readonly;\n /**\n * Iterate over children and extract meta-information into context field.\n * Replace children with a single-element array containing the body.\n */\n parseChildren(): void;\n}\n\nconst defaultContextBase: DocumentContext = Object.freeze({\n baseHref: 'about:blank',\n baseTarget: '_self',\n charset: 'utf-8',\n title: '',\n lang: 'en',\n dir: 'ltr',\n links: [],\n meta: []\n});\n\nfunction getDefaultDocumentContext(): DocumentContext {\n return Object.assign({}, defaultContextBase, { links: [], meta: [] });\n}\n\nfunction extractContextFromHead(head: TEmptyImpl, lang?: string, dir?: string) {\n const context = getDefaultDocumentContext();\n if (lang) {\n context.lang = lang;\n }\n if (dir) {\n context.dir = 'rtl';\n }\n const domNode = head.domNode;\n const children = domNode.children;\n children.filter(isDomElement).forEach((child) => {\n if (child.tagName === 'meta') {\n if (child.attribs.name) {\n context.meta.push(child.attribs as any);\n } else if (child.attribs.charset) {\n context.charset = child.attribs.charset.toLowerCase();\n }\n } else if (child.tagName === 'link') {\n context.links.push(child.attribs);\n } else if (child.tagName === 'title') {\n for (const titleChild of child.children.filter(isDomText)) {\n context.title = titleChild.data.trim();\n break;\n }\n } else if (child.tagName === 'base') {\n context.baseHref = child.attribs.href || context.baseHref;\n context.baseTarget = (child.attribs.target as any) || context.baseTarget;\n }\n });\n return context;\n}\n\nconst htmlModel = HTMLElementModel.fromNativeModel({\n tagName: 'html' as any,\n category: 'grouping'\n});\n\nconst TDocumentCtor = function TDocument(\n this: Mutable,\n init: TDocumentInit\n) {\n this.initialize(init as TNodeInit);\n} as Function as GenericTNodeCtor;\n\nTDocumentCtor.prototype = Object.create(TBlockImpl.prototype);\n\nObject.defineProperty(TDocumentCtor.prototype, 'tagName', {\n value: 'html',\n writable: false\n});\n\nObject.defineProperty(TDocumentCtor.prototype, 'type', {\n value: 'document',\n writable: false\n});\n\nObject.defineProperty(TDocumentCtor.prototype, 'displayName', {\n value: 'TDocument',\n writable: false\n});\n\nObject.defineProperty(TDocumentCtor.prototype, 'elementModel', {\n value: htmlModel,\n writable: false\n});\n\nTDocumentCtor.prototype.parseChildren = function parseChildren(\n this: Mutable\n) {\n let head: TEmptyImpl | undefined;\n for (const child of this.children) {\n if (child.tagName === 'head') {\n head = child as unknown as TEmptyImpl;\n break;\n }\n }\n this.context = Object.freeze(\n head\n ? extractContextFromHead(\n head,\n this.attributes!.lang,\n this.attributes!.dir\n )\n : {\n ...getDefaultDocumentContext(),\n lang: this.attributes!.lang,\n dir: this.attributes!.dir as any\n }\n );\n};\n\nexport { TDocumentCtor };\n\nexport default TDocumentCtor;\n","import TBlockCtor, { TBlockImpl } from '../tree/TBlockCtor';\nimport { TNodeImpl } from '../tree/tree-types';\nimport { TPhrasingCtor } from '../tree/TPhrasingCtor';\nimport { TTextCtor } from '../tree/TTextCtor';\n\n/**\n * Wrap text nodes around TPhrasing nodes.\n * @param tnode The parent node of all elements to group.\n */\nfunction groupText(tnode: TBlockImpl): TNodeImpl {\n let newChildren: TNodeImpl[] = [];\n const wrapperInit = {\n elementModel: null,\n context: tnode.init.context,\n // We need to merge styles here to make sure\n // some React Native styles working only for the uppermost Text element\n // such as \"textAlign\" are preserved.\n parentStyles: tnode.styles,\n parent: null\n };\n let wrapper = new TPhrasingCtor(wrapperInit);\n let wrapperChildren: TNodeImpl[] = [];\n for (const child of tnode.children) {\n if (child instanceof TTextCtor || child instanceof TPhrasingCtor) {\n wrapperChildren.push(child);\n } else {\n if (wrapperChildren.length) {\n newChildren.push(wrapper);\n wrapper.bindChildren(wrapperChildren);\n wrapper = new TPhrasingCtor(wrapperInit);\n wrapperChildren = [];\n }\n newChildren.push(child);\n }\n }\n if (wrapperChildren.length) {\n wrapper.bindChildren(wrapperChildren);\n newChildren.push(wrapper);\n }\n tnode.bindChildren(newChildren);\n return tnode;\n}\n\nfunction hoistNode(tnode: TNodeImpl): TNodeImpl {\n if (tnode instanceof TTextCtor) {\n return tnode;\n }\n tnode.bindChildren(tnode.children.map(hoistNode));\n if (tnode instanceof TPhrasingCtor) {\n for (const cnode of tnode.children) {\n if (cnode instanceof TBlockCtor) {\n const newNode = new TBlockCtor(tnode.cloneInitParams());\n newNode.bindChildren(tnode.children);\n const output = groupText(newNode);\n return output;\n }\n }\n } else if (tnode instanceof TBlockCtor) {\n if (tnode.children.length > 0) {\n const output = groupText(tnode);\n return output;\n }\n }\n return tnode;\n}\n\nexport function hoist(tree: TNodeImpl): TNodeImpl {\n return hoistNode(tree);\n}\n","import { TNodeImpl } from '../tree/tree-types';\n\nexport function collapse(root: TNodeImpl): TNodeImpl {\n root.collapse();\n root.trimLeft();\n root.trimRight();\n return root;\n}\n","import { MixedStyleDeclaration } from '@native-html/css-processor';\nimport { Element } from 'domhandler';\nimport {\n ReactNativePropsDefinitions,\n ReactNativePropsSwitch\n} from '../helper-types';\nimport {\n ExtractTNodeFromType,\n Markers,\n SetMarkersForTNode,\n TNodeDescriptor,\n TNodeType\n} from '../tree/tree-types';\nimport HTMLContentModel from './HTMLContentModel';\nimport HTMLElementModel from './HTMLElementModel';\n\nexport type ElementCategory =\n | 'anchor'\n | 'textual'\n | 'tabular'\n | 'edits'\n | 'embedded'\n | 'sectioning'\n | 'grouping'\n | 'interactive'\n | 'untranslatable';\n\nexport type TagName =\n | AnchorTagName\n | TextLevelTagNames\n | EditsTagNames\n | EmbeddedTagNames\n | TabularTagNames\n | GroupingTagNames\n | SectioningTagNames\n | InteractiveTagNames\n | UntranslatableTagNames;\n\nexport type AnchorTagName = 'a';\n\nexport type TabularTagNames =\n | 'table'\n | 'tbody'\n | 'thead'\n | 'tfoot'\n | 'tr'\n | 'td'\n | 'th';\n\nexport type GroupingTagNames =\n | 'p'\n | 'hr'\n | 'pre'\n | 'blockquote'\n | 'ol'\n | 'ul'\n | 'dir'\n | 'menu'\n | 'li'\n | 'dl'\n | 'dt'\n | 'dd'\n | 'figure'\n | 'figcaption'\n | 'main'\n | 'div'\n | 'xmp' // deprecated, behaves like pre\n | 'listing' // deprecated, behaves like pre\n | 'plaintext'; // deprecated, behaves like pre\n\nexport type AttribTagNames =\n | 'accesskey' // Attribute for fieldset\n | 'datalist' // Attribute for input by id\n | 'source' // Attribute for pictures / videos / audio\n | 'track' // Attribute for videos\n | 'caption' // Attribute for table\n | 'colgroup' // Attribute for table\n | 'col' // Attribute for colgroup\n | 'option' // Attribute for optgroup, select\n | 'optgroup' // Attribute for select\n | 'param'; // Attribute for object\n\nexport type MetadataTagNames = 'head' | 'title' | 'base' | 'link' | 'meta';\n\nexport type InteractiveTagNames =\n | 'form'\n | 'label'\n | 'input'\n | 'button'\n | 'select'\n | 'progress'\n | 'meter'\n | 'fieldset'\n | 'legend'\n | 'textarea'\n | 'output'\n | 'details'\n | 'summary'\n | 'dialog';\n\nexport type UnsupportedTagNames = 'area' | 'map';\nexport type UntranslatableTagNames =\n | AttribTagNames\n | UnsupportedTagNames\n | MetadataTagNames;\n\nexport type EmbeddedTagNames =\n | 'audio'\n | 'canvas'\n | 'embed'\n | 'iframe'\n | 'img'\n | 'math'\n | 'object'\n | 'picture'\n | 'svg'\n | 'video';\n\nexport type EditsTagNames = 'ins' | 'del';\n\nexport type SectioningTagNames =\n | 'body'\n | 'article'\n | 'section'\n | 'nav'\n | 'aside'\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'hgroup'\n | 'header'\n | 'footer'\n | 'address';\n\nexport type TextLevelTagNames =\n | 'em'\n | 'strong'\n | 'strike'\n | 'small'\n | 'big'\n | 's'\n | 'cite'\n | 'q'\n | 'dfn'\n | 'abbr'\n | 'acronym'\n | 'ruby'\n | 'rt'\n | 'rp'\n | 'data'\n | 'time'\n | 'tt'\n | 'code'\n | 'var'\n | 'samp'\n | 'kbd'\n | 'sup'\n | 'sub'\n | 'i'\n | 'b'\n | 'u'\n | 'mark'\n | 'bdi'\n | 'bdo'\n | 'span'\n | 'br'\n | 'wbr';\n\n/**\n * @public\n */\nexport type HTMLModelRecord<\n T extends string = TagName,\n M extends HTMLContentModel = HTMLContentModel\n> = {\n [k in T]: HTMLElementModel;\n};\n\n/**\n * @typeParam T - The name of the tag to which the model will apply.\n */\nexport interface ElementModelBase {\n /**\n * The tag name associated with this model.\n */\n readonly tagName: T;\n\n /**\n * An opaque element translated {@link TNode} will have no translated {@link TNode}\n * children.\n */\n readonly isOpaque?: boolean;\n\n /**\n * Equivalent of \"user-agent\" styles. The default styles for the element.\n *\n * @remarks These styles will be merged over by `tagsStyles`.\n */\n readonly mixedUAStyles?: MixedStyleDeclaration;\n\n /**\n * React Native props grouped by native components. Those props\n * will be passed to the underlying native component at render time.\n *\n * @remarks Some props might be overriden by props derived from the\n * {@link TNode} attributes. For example, if you pass `accessibilityLabel`\n * and there is an `aria-label` attribute attached to one node, the\n * `aria-label` will be used. If you want to be able to override the\n * `aria-label`, use {@link ElementModelBase.getReactNativeProps} instead.\n *\n * @example\n *\n * ```ts\n * import {HTMLElementModel, HTMLContentModel} from 'react-native-render-html';\n *\n * const customHTMLElementModels = {\n * 'nav-button': HTMLElementModel.fromCustomModel({\n * tagName: 'nav-button',\n * contentModel: HTMLContentModel.block,\n * reactNativeProps: {\n * native: {\n * onPress() {\n * console.info('nav-button pressed');\n * },\n * },\n * },\n * }),\n *};\n * ```\n */\n readonly reactNativeProps?: ReactNativePropsDefinitions;\n\n /**\n * `true` when the associated tag is a {@link https://html.spec.whatwg.org/multipage/syntax.html#void-elements | void element}.\n *\n * @remarks\n *\n * - Void elements cannot have children.\n * - TText-translated void elements will be preserved even though they don't\n * have children.\n */\n readonly isVoid?: boolean;\n\n /**\n * Derive markers for one TNode.\n */\n setMarkersForTNode?: SetMarkersForTNode;\n\n /**\n * A function to create conditional \"user-agent\" styles.\n *\n * @deprecated Use {@link ElementModelBase.getMixedUAStyles} instead.\n */\n getUADerivedStyleFromAttributes?: (\n attributes: Record,\n markers: Markers\n ) => MixedStyleDeclaration | null;\n\n /**\n * A function to create conditional \"user-agent\" styles.\n *\n * @remarks For example, <a> tags will have underline decoration and be\n * colored blue only when `href` is defined.\n */\n getMixedUAStyles?: (\n tnode: TNodeDescriptor,\n element: Element\n ) => MixedStyleDeclaration | null | undefined | void;\n\n /**\n * A function to create React Native props from a {@link TNode} grouped by\n * native components.\n *\n * Those props will be deep-merged over the pre-generated props. You can\n * preserve some of the pre-generated props since you receive them as second\n * argument.\n *\n * **Merge strategy** (latest overrides former):\n *\n * 1. props from `reactNativeProps`,\n * 2. auto-generated props from attributes\n * 3. props returned by this function\n *\n * @param tnode - The {@link TNode} for which to create React Native props.\n * @param preGeneratedProps - The props that were pre-generated for the {@link TNode}\n * based on attributes (e.g. aria-label ...) and\n * {@link ElementModelBase.reactNativeProps}.\n * @returns React Native props grouped by native components (see\n * {@link ReactNativePropsDefinitions}). Those props will be passed to the\n * underlying native component at render time.\n *\n * @example\n *\n * ```ts\n * import { defaultHTMLElementModels } from \"react-native-render-html\";\n *\n * const customHTMLElementModels = {\n * a: defaultHTMLElementModels.a.extend({\n * getReactNativeProps(tnode) {\n * const attributes = tnode.attributes;\n * return {\n * native: {\n * accessibilityHint:\n * attributes['data-scope'] === 'internal'\n * ? 'Open in a new screen.'\n * : 'Open in system web browser.',\n * },\n * };\n * },\n * }),\n * };\n * ```\n */\n getReactNativeProps?: (\n tnode: ExtractTNodeFromType,\n preGeneratedProps: ReactNativePropsSwitch | null,\n element: Element\n ) => ReactNativePropsDefinitions | null | undefined | void;\n}\n\n/**\n * An object to specify custom tags.\n *\n * @typeParam T - The name of the tag to which the model will apply.\n * @typeParam M - The {@link HTMLContentModel} associated with this tag.\n */\nexport interface CustomElementModel<\n T extends string,\n M extends HTMLContentModel\n> extends ElementModelBase {\n /**\n * The {@link HTMLContentModel} attached to this model.\n */\n readonly contentModel: M;\n /**\n * The tag name associated with this model.\n */\n readonly tagName: T;\n}\n\n/**\n * An object to specify tags parts of the HTML4 and HTML5 standards.\n *\n * @typeParam T - The name of the tag to which the model will apply.\n * @typeParam C - The {@link ElementCategory} associated with this tag.\n */\nexport interface NativeElementModel<\n T extends string = TagName,\n C = ElementCategory\n> extends ElementModelBase {\n /**\n * The category of this element as per HTML5 standard.\n */\n readonly category: C;\n}\n","import {\n ViewProps,\n TextProps,\n ViewStyle,\n TextStyle,\n StyleProp\n} from 'react-native';\n\n/**\n * Props available on both React Native `Text` and `View` components.\n */\nexport type ReactNativeProps = Pick<\n ViewProps,\n Extract>\n> &\n Pick<\n TextProps,\n Extract>\n > & {\n style?: StyleProp<\n Pick>\n >;\n };\n\n/**\n * React Native `Text` props, minus the `style` prop.\n */\nexport type StylessReactNativeTextProps = Omit;\n\n/**\n * React Native `View` props, minus the `style` prop.\n */\nexport type StylessReactNativeViewProps = Omit & {\n onPress?: () => void;\n};\n\n/**\n * An intersection between React Native `View` and `Text` props, minus the\n * `style` prop.\n */\nexport type StylessReactNativeProps = Omit & {\n onPress?: () => void;\n};\n\n/**\n * An object containing props targetting either `Text`, `View`, or both.\n */\nexport type ReactNativePropsDefinitions = {\n /**\n * Props that will only apply to `Text`-backed renderers.\n */\n text?: StylessReactNativeTextProps;\n /**\n * Props that will only apply to `View`-backed renderers.\n */\n view?: StylessReactNativeViewProps;\n /**\n * Props that will apply to both `View` and `Text`-backed renderers.\n */\n native?: StylessReactNativeProps;\n};\n\n/**\n * An object containing props targetting either `Text` or `View`.\n */\nexport type ReactNativePropsSwitch = {\n /**\n * Props that will only apply to `Text`-wrapped renderers.\n */\n text?: StylessReactNativeTextProps;\n /**\n * Props that will only apply to `View`-wrapped renderers.\n */\n view?: StylessReactNativeViewProps;\n};\n","import React, { PropsWithChildren, useCallback, useMemo } from 'react';\nimport defaultListStyleSpecs from '../elements/defaultListStyleSpecs';\nimport selectSharedProps from '../helpers/selectSharedProps';\nimport { RenderHTMLSharedProps, RendererBaseProps } from '../shared-types';\nimport defaultSharedProps from './defaultSharedProps';\n\nconst SharedPropsContext = React.createContext(defaultSharedProps);\n\n/**\n * Use shared props. See {@link RenderHTMLSharedProps}.\n *\n * @public\n */\nexport function useSharedProps() {\n return React.useContext(SharedPropsContext);\n}\n\n/**\n * @internal\n */\nexport function useDefaultContainerProps(): Pick<\n RendererBaseProps,\n 'viewProps' | 'textProps'\n> {\n const sharedProps = useSharedProps();\n return {\n viewProps: {\n ...defaultSharedProps.defaultViewProps,\n ...sharedProps.defaultViewProps\n },\n textProps: {\n ...defaultSharedProps.defaultTextProps,\n ...sharedProps.defaultTextProps\n }\n };\n}\n\n/**\n * Compute max width for a given tag. Uses\n * {@link RenderHTMLProps.computeEmbeddedMaxWidth}\n * and {@link RenderHTMLProps.contentWidth} under the hood.\n *\n * @param tagName - The tag to target.\n *\n * @public\n */\nexport function useComputeMaxWidthForTag(tagName: string) {\n const { computeEmbeddedMaxWidth } = useSharedProps();\n return useCallback(\n (cw: number) => {\n return computeEmbeddedMaxWidth(cw, tagName);\n },\n [computeEmbeddedMaxWidth, tagName]\n );\n}\n\n/**\n * @internal\n */\nexport default function SharedPropsProvider(\n props: PropsWithChildren\n) {\n const memoizedSharedProps = useMemo(\n () => ({\n ...selectSharedProps(props),\n customListStyleSpecs: {\n ...defaultListStyleSpecs,\n ...props.customListStyleSpecs\n }\n }),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n Object.values(selectSharedProps(props))\n );\n return React.createElement(\n SharedPropsContext.Provider,\n { value: memoizedSharedProps },\n props.children\n );\n}\n","import CounterStyle from '@jsamr/counter-style';\nimport decimal from '@jsamr/counter-style/presets/decimal';\nimport decimalLeadingZero from '@jsamr/counter-style/presets/decimalLeadingZero';\nimport lowerRoman from '@jsamr/counter-style/presets/lowerRoman';\nimport lowerAlpha from '@jsamr/counter-style/presets/lowerAlpha';\nimport lowerGreek from '@jsamr/counter-style/presets/lowerGreek';\nimport upperAlpha from '@jsamr/counter-style/presets/upperAlpha';\nimport upperRoman from '@jsamr/counter-style/presets/upperRoman';\nimport DisclosureClosedSymbolRenderer from './symbolic/DisclosureClosedSymbolRenderer';\nimport DisclosureOpenSymbolRenderer from './symbolic/DisclosureOpenSymbolRenderer';\nimport CircleSymbolRenderer from './symbolic/CircleSymbolRenderer';\nimport DiscSymbolRenderer from './symbolic/DiscSymbolRenderer';\nimport SquareSymbolRenderer from './symbolic/SquareSymbolRenderer';\nimport type {\n DefaultSupportedListStyleType,\n ListStyleSpec\n} from '../shared-types';\n\nconst unitaryRenderer = CounterStyle.cyclic('*').withSuffix(' ');\n\nconst lowerAlphaSpec = {\n type: 'textual',\n counterStyleRenderer: lowerAlpha\n} as const;\n\nconst upperAlphaSpec = {\n type: 'textual',\n counterStyleRenderer: upperAlpha\n} as const;\n\n/**\n * Default list style specs supported by this library.\n *\n * @public\n */\nconst defaultListStyleSpecs: Record<\n DefaultSupportedListStyleType,\n ListStyleSpec\n> = {\n 'decimal-leading-zero': {\n type: 'textual',\n counterStyleRenderer: decimalLeadingZero\n },\n 'disclosure-closed': {\n counterStyleRenderer: unitaryRenderer,\n type: 'unitary',\n Component: DisclosureClosedSymbolRenderer\n },\n 'disclosure-open': {\n counterStyleRenderer: unitaryRenderer,\n type: 'unitary',\n Component: DisclosureOpenSymbolRenderer\n },\n 'lower-alpha': lowerAlphaSpec,\n 'lower-greek': {\n type: 'textual',\n counterStyleRenderer: lowerGreek\n },\n 'lower-latin': lowerAlphaSpec,\n 'lower-roman': {\n type: 'textual',\n counterStyleRenderer: lowerRoman\n },\n 'upper-alpha': upperAlphaSpec,\n 'upper-latin': upperAlphaSpec,\n 'upper-roman': {\n type: 'textual',\n counterStyleRenderer: upperRoman\n },\n circle: {\n counterStyleRenderer: unitaryRenderer,\n type: 'unitary',\n Component: CircleSymbolRenderer\n },\n decimal: {\n type: 'textual',\n counterStyleRenderer: decimal\n },\n disc: {\n counterStyleRenderer: unitaryRenderer,\n type: 'unitary',\n Component: DiscSymbolRenderer\n },\n none: {\n counterStyleRenderer: CounterStyle.symbolic('').withSuffix(null),\n type: 'unitary',\n Component: () => null\n },\n square: {\n counterStyleRenderer: unitaryRenderer,\n type: 'unitary',\n Component: SquareSymbolRenderer\n }\n};\n\nexport default defaultListStyleSpecs;\n","import CounterStyle from './CounterStyle';\nexport * from './CounterStyle';\nexport * from './public-types';\nexport default CounterStyle;\n//# sourceMappingURL=index.js.map","import getAlphanumFromUnicodeRange from './getAlphanumFromUnicodeRange';\nimport makeAlphanumMaxlenComputer from './makeAlphanumMaxlenComputer';\nimport makeCSEngine from './makeCSEngine';\nimport makeCSRenderer from './makeCSRenderer';\nimport codepointLength from './utils/codepointLength';\nconst mod = (value, divisor) => ((value % divisor) + divisor) % divisor;\nfunction makeCSRendererFromFormatter(formatter) {\n return makeCSRenderer(makeCSEngine(formatter));\n}\nfunction getMaxLenInSymbols(lens, from = 0, to) {\n to = typeof to === 'number' ? to : lens.length;\n return lens.slice(from, to + 1).reduce((p, c) => Math.max(p, c), 0);\n}\nfunction numeric(renderer, length) {\n return renderer\n .withMaxLengthComputer(makeAlphanumMaxlenComputer(length, false))\n .withNegative('-');\n}\nfunction alphabetic(renderer, length) {\n return renderer\n .withMaxLengthComputer(makeAlphanumMaxlenComputer(length, true))\n .withRange(1, Infinity);\n}\n/**\n * A static object to build counter style renderers.\n * See {@link CounterStyleStatic}.\n *\n * @public\n */\nconst CounterStyle = Object.freeze({\n raw: (formatter) => {\n return makeCSRendererFromFormatter(formatter);\n },\n cyclic: (...symbols) => {\n const symbolLenghts = symbols.map(codepointLength);\n const maxLen = getMaxLenInSymbols(symbolLenghts);\n const renderer = symbols.length === 1\n ? makeCSRendererFromFormatter(() => symbols[0])\n : makeCSRendererFromFormatter((index) => symbols[mod(index - 1, symbols.length)]);\n return renderer.withMaxLengthComputer((min, max) => {\n return maxLen === 1 || max - min + 1 >= symbols.length\n ? maxLen\n : getMaxLenInSymbols(symbolLenghts, min - 1, max - 1);\n });\n },\n fixed: (...symbols) => {\n const symbolLenghts = symbols.map(codepointLength);\n const maxLen = getMaxLenInSymbols(symbolLenghts);\n return makeCSRendererFromFormatter((index) => symbols[index - 1])\n .withRange(1, symbols.length)\n .withMaxLengthComputer((min, max) => {\n return maxLen === 1\n ? maxLen\n : getMaxLenInSymbols(symbolLenghts, min - 1, max - 1);\n });\n },\n symbolic: (...symbols) => makeCSRendererFromFormatter((index) => symbols[mod(index - 1, symbols.length)].repeat(Math.ceil(index / symbols.length)))\n .withRange(1, Infinity)\n .withMaxLengthComputer((min, max, defaultCmp) => {\n // Just iterate over the last n elements until max, with n the number\n // of symbols.\n return defaultCmp(max < symbols.length ? min : max - symbols.length, max);\n }),\n alphabetic: (...symbols) => {\n return alphabetic(makeCSRendererFromFormatter((index) => {\n let result = '';\n while (index > 0) {\n index--;\n result = symbols[mod(index, symbols.length)] + result;\n index = Math.floor(index / symbols.length);\n }\n return result;\n }), symbols.length);\n },\n numeric: (...symbols) => {\n return numeric(makeCSRendererFromFormatter((index) => {\n if (index === 0) {\n return symbols[0];\n }\n else {\n let result = '';\n while (index > 0) {\n result = symbols[mod(index, symbols.length)] + result;\n index = Math.floor(index / symbols.length);\n }\n return result;\n }\n }), symbols.length);\n },\n numericFromUnicodeRange: (originUnicode, base) => {\n return numeric(makeCSRendererFromFormatter((index) => getAlphanumFromUnicodeRange(index, originUnicode, base, false)), base);\n },\n alphabeticFromUnicodeRange: (originUnicode, alphabetLen) => {\n return alphabetic(makeCSRendererFromFormatter((index) => {\n return getAlphanumFromUnicodeRange(index, originUnicode, alphabetLen, true);\n }), alphabetLen);\n },\n additive: (symbols) => {\n const values = Object.keys(symbols)\n .map((value) => parseInt(value, 10))\n .sort((a, b) => b - a);\n return makeCSRendererFromFormatter((index) => {\n if (index === 0) {\n return symbols[0];\n }\n let result = '';\n for (const value of values) {\n if (index >= value && value > 0) {\n const repeat = Math.floor(index / value);\n result += symbols[value].repeat(repeat);\n index -= repeat * value;\n }\n }\n return index === 0 ? result : undefined;\n }).withRange(values.length ? values[values.length - 1] : 0, 0 in symbols && values.length === 1 ? 0 : values.length ? Infinity : -1);\n }\n});\nexport default CounterStyle;\n//# sourceMappingURL=CounterStyle.js.map","/**\n * Create an alphabetic initial counter representation from an UTF-16 unicode\n * and a range.\n *\n * @param index - The index to render.\n * @param baseCharcode - The original UTF-16 unicode.\n * @param modulo - The number of symbols in the set.\n * @param alpha - In alpha mode, index starts at 1 instead of 0.\n * @returns\n */\nfunction getAlphanumFromUnicodeRange(index, baseCharcode, modulo, alpha) {\n const reindex = index - Number(alpha);\n if (reindex < 0) {\n return undefined;\n }\n if (reindex < modulo) {\n return String.fromCharCode(baseCharcode + reindex);\n }\n const rest = reindex % modulo;\n const next = (reindex - rest - modulo) / modulo + 1;\n return (getAlphanumFromUnicodeRange(next, baseCharcode, modulo, alpha) +\n String.fromCharCode(baseCharcode + rest));\n}\nexport default getAlphanumFromUnicodeRange;\n//# sourceMappingURL=getAlphanumFromUnicodeRange.js.map","export default function makeAlphanumMaxlenComputer(base, alpha) {\n return function alphanumericMaxLenComputer(_min, max) {\n let remax = max - Number(alpha);\n let digits = 1;\n while (remax >= base) {\n remax /= base;\n digits++;\n }\n return digits;\n };\n}\n//# sourceMappingURL=makeAlphanumMaxlenComputer.js.map","import codepointLength from './utils/codepointLength';\nimport { DEFAULT_SUFFIX } from './constants';\nconst DEFAULT_SPECS = {\n suffix: DEFAULT_SUFFIX,\n prefix: null,\n reversedMarker: false,\n reversedCounter: false,\n fallback: {\n renderCounter: (index) => index.toString(),\n maxCounterLenInRange(min, max) {\n return Math.max(this.renderCounter(min).length, this.renderCounter(max).length);\n }\n },\n negative: null,\n range: {\n min: -Infinity,\n max: Infinity\n },\n padding: null\n};\nconst styleEngineProto = {\n // Cost-inefficient since it requires iterating over the whole range.\n maxLengthInRange(min, max) {\n let len = 0;\n for (let i = Math.max(0, min); i <= max; i++) {\n const val = this.formatter(i);\n len = Math.max(codepointLength(val), len);\n }\n return len;\n },\n withSpecs(spToMerge) {\n const next = Object.create(this);\n next.specs = Object.assign({}, this.specs, spToMerge);\n return next;\n },\n withMaxLengthInRange(cp) {\n const next = Object.create(this);\n next.maxLengthInRange = cp;\n return next;\n }\n};\nexport default function makeCSEngine(formatter, specs = DEFAULT_SPECS) {\n const eng = Object.create(styleEngineProto);\n eng.specs = specs;\n eng.formatter = formatter;\n return eng;\n}\n//# sourceMappingURL=makeCSEngine.js.map","export default function codepointLength(source) {\n // get codepoints length instead of UTF16 code units with the string Iterator.\n return (source && [...source].length) || 0;\n}\n//# sourceMappingURL=codepointLength.js.map","/**\n * See https://www.w3.org/TR/css-counter-styles-3/#counter-style-suffix\n *\n * @remarks We are using non-breaking space, otherwise iOS text elements get trimmed.\n */\nexport const DEFAULT_SUFFIX = '\\u002E\\u00A0';\nexport const CJK_SUFFIX = '\\u3001';\n//# sourceMappingURL=constants.js.map","import codepointLength from './utils/codepointLength';\nimport codeunitLength from './utils/codeunitLength';\nimport reverseString from './utils/reverseString';\nconst defaultRtlOptions = {\n reverseCounter: false,\n reversePrefix: true,\n reverseSuffix: true\n};\nconst stylePrototype = {\n getAbsoluteMaxLenInRange(normMin, normMax, negative) {\n var _a;\n const specs = this.engine.specs;\n const supportedRange = specs.range;\n const supportedMin = Math.max(normMin, supportedRange.min);\n const supportedMax = Math.min(normMax, supportedRange.max);\n const lenMiddle = Math.max(this.engine.maxLengthInRange(negative ? Math.abs(supportedMax) : supportedMin, negative ? Math.abs(supportedMin) : supportedMax) +\n (negative && specs.negative\n ? codeunitLength(specs.negative.prefix) +\n codeunitLength(specs.negative.suffix)\n : 0), ((_a = specs === null || specs === void 0 ? void 0 : specs.padding) === null || _a === void 0 ? void 0 : _a.length) || 0);\n const lenLeft = supportedMin > normMin\n ? specs.fallback.maxCounterLenInRange(normMin, supportedMin - 1)\n : 0;\n const lenRight = supportedMax < normMax\n ? specs.fallback.maxCounterLenInRange(supportedMax + 1, normMax)\n : 0;\n return Math.max(lenLeft, lenMiddle, lenRight);\n },\n maxCounterLenInRange(min, max) {\n if (max < min) {\n return 0;\n }\n if (min >= 0) {\n return this.getAbsoluteMaxLenInRange(min, max, false);\n }\n if (max <= 0) {\n return this.getAbsoluteMaxLenInRange(min, max, true);\n }\n return Math.max(this.getAbsoluteMaxLenInRange(min, -1, true), this.getAbsoluteMaxLenInRange(0, max, false));\n },\n maxMarkerLenInRange(min, max) {\n if (max < min) {\n return 0;\n }\n return (this.maxCounterLenInRange(min, max) +\n codeunitLength(this.engine.specs.suffix) +\n codeunitLength(this.engine.specs.prefix));\n },\n renderCounter(index) {\n const formatter = this.engine.formatter;\n const sp = this.engine.specs;\n const negative = sp.negative;\n let res;\n if (index < sp.range.min || index > sp.range.max) {\n return sp.fallback.renderCounter(index);\n }\n const decoratorL = negative && index < 0\n ? codeunitLength(negative.prefix) + codeunitLength(negative.suffix)\n : 0;\n res = formatter(Math.sign(index) * index);\n if (typeof res === 'undefined') {\n return sp.fallback.renderCounter(index);\n }\n if (sp.padding) {\n const lenWithDecorator = codepointLength(res) + decoratorL;\n if (lenWithDecorator < sp.padding.length) {\n const padChar = sp.padding.char.repeat(sp.padding.length - lenWithDecorator);\n res = sp.padding.right ? res + padChar : padChar + res;\n }\n }\n if (index < 0 && negative) {\n res = negative.prefix + res + negative.suffix;\n }\n return sp.reversedCounter ? reverseString(res) : res;\n },\n renderMarker(index) {\n const sp = this.engine.specs;\n const elements = [\n sp.prefix || '',\n this.renderCounter(index),\n sp.suffix || ''\n ];\n return sp.reversedMarker ? elements.reverse().join('') : elements.join('');\n },\n renderPrefix() {\n return this.engine.specs.prefix || '';\n },\n renderSuffix() {\n return this.engine.specs.suffix || '';\n },\n withFallback(fallback) {\n return makeCSRenderer(this.engine.withSpecs({ fallback }));\n },\n withRange(min, max, fallback) {\n const result = makeCSRenderer(this.engine.withSpecs({\n range: {\n min,\n max\n }\n }));\n return fallback ? result.withFallback(fallback) : result;\n },\n withNegative(prefix, suffix = '') {\n return makeCSRenderer(this.engine.withSpecs({\n negative: {\n prefix,\n suffix\n }\n }));\n },\n withPadLeft(length, pad) {\n return makeCSRenderer(this.engine.withSpecs({\n padding: {\n right: false,\n char: pad,\n length\n }\n }));\n },\n withPadRight(length, pad) {\n return makeCSRenderer(this.engine.withSpecs({\n padding: {\n right: true,\n char: pad,\n length\n }\n }));\n },\n withSuffix(suffix) {\n return makeCSRenderer(this.engine.withSpecs({\n suffix\n }));\n },\n withPrefix(prefix) {\n return makeCSRenderer(this.engine.withSpecs({\n prefix\n }));\n },\n withRtl(options) {\n const synthOptions = Object.assign({}, defaultRtlOptions, options);\n const sp = this.engine.specs;\n return makeCSRenderer(this.engine.withSpecs({\n reversedMarker: true,\n reversedCounter: synthOptions.reverseCounter,\n suffix: synthOptions.reverseSuffix && sp.suffix\n ? reverseString(sp.suffix)\n : sp.suffix,\n prefix: synthOptions.reversePrefix && sp.prefix\n ? reverseString(sp.prefix)\n : sp.prefix\n }));\n },\n withMaxLengthComputer(computer) {\n return makeCSRenderer(this.engine.withMaxLengthInRange((min, max) => computer(min, max, this.engine.maxLengthInRange.bind(this.engine))));\n }\n};\nexport default function makeCSRenderer(engine) {\n const target = Object.create(stylePrototype);\n target.engine = engine;\n return Object.freeze(target);\n}\n//# sourceMappingURL=makeCSRenderer.js.map","export default function codeunitLength(source) {\n return (source && source.length) || 0;\n}\n//# sourceMappingURL=codeunitLength.js.map","export default function reverseString(source) {\n return Array.from(source).reverse().join('');\n}\n//# sourceMappingURL=reverseString.js.map","export {};\n//# sourceMappingURL=public-types.js.map","import CounterStyle from '../CounterStyle';\nimport makeAlphanumMaxlenComputer from '../makeAlphanumMaxlenComputer';\n// Default implementation is faster than invoking CounterStyle.numeric\nconst decimal = CounterStyle.raw((index) => index.toString())\n .withMaxLengthComputer(makeAlphanumMaxlenComputer(10, false))\n .withNegative('-');\nexport default decimal;\n//# sourceMappingURL=decimal.js.map","import decimal from './decimal';\nconst decimalLeadingZero = decimal.withPadLeft(2, '0');\nexport default decimalLeadingZero;\n//# sourceMappingURL=decimalLeadingZero.js.map","import CounterStyle from '../CounterStyle';\nconst lowerRoman = CounterStyle.additive({\n 1000: 'm',\n 900: 'cm',\n 500: 'd',\n 400: 'cd',\n 100: 'c',\n 90: 'xc',\n 50: 'l',\n 40: 'xl',\n 10: 'x',\n 9: 'ix',\n 5: 'v',\n 4: 'iv',\n 1: 'i'\n}).withRange(1, 3999);\nexport default lowerRoman;\n//# sourceMappingURL=lowerRoman.js.map","import CounterStyle from '../CounterStyle';\nconst lowerAlpha = CounterStyle.alphabeticFromUnicodeRange(97, 26);\nexport default lowerAlpha;\n//# sourceMappingURL=lowerAlpha.js.map","import CounterStyle from '../CounterStyle';\nconst lowerGreek = CounterStyle.alphabeticFromUnicodeRange(\n/* α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω */\n0x3b1, 24);\nexport default lowerGreek;\n//# sourceMappingURL=lowerGreek.js.map","import CounterStyle from '../CounterStyle';\nexport const upperAlpha = CounterStyle.alphabeticFromUnicodeRange(65, 26);\nexport default upperAlpha;\n//# sourceMappingURL=upperAlpha.js.map","import CounterStyle from '../CounterStyle';\nconst upperRoman = CounterStyle.additive({\n 1000: 'M',\n 900: 'CM',\n 500: 'D',\n 400: 'CD',\n 100: 'C',\n 90: 'XC',\n 50: 'L',\n 40: 'XL',\n 10: 'X',\n 9: 'IX',\n 5: 'V',\n 4: 'IV',\n 1: 'I'\n}).withRange(1, 3999);\nexport default upperRoman;\n//# sourceMappingURL=upperRoman.js.map","import React from 'react';\nimport { View } from 'react-native';\nimport { UnitaryCounterRendererProps } from '../../shared-types';\nimport useSymbolicMarkerRendererProps from './useSymbolicMarkerRendererStyles';\n\nexport default function DisclosureClosedSymbolRenderer(\n props: UnitaryCounterRendererProps\n) {\n const {\n prefixStyle: { top },\n prefixSize\n } = useSymbolicMarkerRendererProps(props, 1);\n return React.createElement(View, {\n style: {\n top,\n width: 0,\n height: 0,\n borderStyle: 'solid',\n borderLeftWidth: prefixSize,\n borderLeftColor: props.color,\n borderTopWidth: prefixSize / 2,\n borderTopColor: 'transparent',\n borderBottomWidth: prefixSize / 2,\n borderBottomColor: 'transparent'\n }\n });\n}\n","import { UnitaryCounterRendererProps } from '../../shared-types';\n\nexport default function useSymbolicMarkerRendererProps(\n props: UnitaryCounterRendererProps,\n shrinkFactor = 1\n) {\n const prefixSize = props.fontSize / (shrinkFactor * 2.8);\n return {\n prefixSize,\n prefixStyle: {\n width: prefixSize,\n height: prefixSize,\n // center the item vertically, relative to line height\n top: (props.lineHeight - prefixSize) / 2\n }\n };\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { UnitaryCounterRendererProps } from '../../shared-types';\nimport useSymbolicMarkerRendererProps from './useSymbolicMarkerRendererStyles';\n\nexport default function DisclosureOpenSymbolRenderer(\n props: UnitaryCounterRendererProps\n) {\n const {\n prefixStyle: { top },\n prefixSize\n } = useSymbolicMarkerRendererProps(props, 1);\n return React.createElement(View, {\n style: {\n top,\n width: 0,\n height: 0,\n borderStyle: 'solid',\n borderTopWidth: prefixSize,\n borderTopColor: props.color,\n borderLeftWidth: prefixSize / 2,\n borderLeftColor: 'transparent',\n borderRightWidth: prefixSize / 2,\n borderRightColor: 'transparent'\n }\n });\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { UnitaryCounterRendererProps } from '../../shared-types';\nimport useSymbolicMarkerRendererProps from './useSymbolicMarkerRendererStyles';\n\nexport default function CircleSymbolRenderer(\n props: UnitaryCounterRendererProps\n) {\n const { prefixSize, prefixStyle } = useSymbolicMarkerRendererProps(props);\n const style = {\n borderColor: props.color,\n borderWidth: prefixSize / 10,\n borderRadius: prefixSize,\n ...prefixStyle\n };\n return ;\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { UnitaryCounterRendererProps } from '../../shared-types';\nimport useSymbolicMarkerRendererProps from './useSymbolicMarkerRendererStyles';\n\nexport default function DiscSymbolRenderer(props: UnitaryCounterRendererProps) {\n const { prefixSize, prefixStyle } = useSymbolicMarkerRendererProps(props);\n const style = {\n borderRadius: prefixSize,\n backgroundColor: props.color,\n ...prefixStyle\n };\n return ;\n}\n","import React from 'react';\nimport { View } from 'react-native';\nimport { UnitaryCounterRendererProps } from '../../shared-types';\nimport useSymbolicMarkerRendererProps from './useSymbolicMarkerRendererStyles';\n\nexport default function SquareSymbolRenderer(\n props: UnitaryCounterRendererProps\n) {\n const { prefixStyle } = useSymbolicMarkerRendererProps(props, 1.2);\n return React.createElement(View, {\n style: {\n backgroundColor: props.color,\n ...prefixStyle\n }\n });\n}\n","import pickBy from 'ramda/src/pickBy';\nimport pick from 'ramda/src/pick';\nimport pipe from 'ramda/src/pipe';\nimport mergeRight from 'ramda/src/mergeRight';\nimport { RenderHTMLProps, RenderHTMLAmbiantSharedProps } from '../shared-types';\nimport defaultSharedProps from '../context/defaultSharedProps';\n\nconst selectSharedProps: (\n props: Partial\n) => RenderHTMLAmbiantSharedProps = pipe(\n pick(Object.keys(defaultSharedProps)),\n pickBy((val) => val != null),\n mergeRight(defaultSharedProps) as any\n);\n\nexport default selectSharedProps;\n","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a partial copy of an object containing only the keys that satisfy\n * the supplied predicate.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @sig ((v, k) -> Boolean) -> {k: v} -> {k: v}\n * @param {Function} pred A predicate to determine whether or not a key\n * should be included on the output object.\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties that satisfy `pred`\n * on it.\n * @see R.pick, R.filter\n * @example\n *\n * const isUpperCase = (val, key) => key.toUpperCase() === key;\n * R.pickBy(isUpperCase, {a: 1, b: 2, A: 3, B: 4}); //=> {A: 3, B: 4}\n */\n\n\nvar pickBy =\n/*#__PURE__*/\n_curry2(function pickBy(test, obj) {\n var result = {};\n\n for (var prop in obj) {\n if (test(obj[prop], prop, obj)) {\n result[prop] = obj[prop];\n }\n }\n\n return result;\n});\n\nmodule.exports = pickBy;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a partial copy of an object containing only the keys specified. If\n * the key does not exist, the property is ignored.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.omit, R.props\n * @example\n *\n * R.pick(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pick(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1}\n */\n\n\nvar pick =\n/*#__PURE__*/\n_curry2(function pick(names, obj) {\n var result = {};\n var idx = 0;\n\n while (idx < names.length) {\n if (names[idx] in obj) {\n result[names[idx]] = obj[names[idx]];\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = pick;","var _objectAssign =\n/*#__PURE__*/\nrequire(\"./internal/_objectAssign\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Create a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects,\n * the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @sig {k: v} -> {k: v} -> {k: v}\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeLeft, R.mergeDeepRight, R.mergeWith, R.mergeWithKey\n * @example\n *\n * R.mergeRight({ 'name': 'fred', 'age': 10 }, { 'age': 40 });\n * //=> { 'name': 'fred', 'age': 40 }\n *\n * const withDefaults = R.mergeRight({x: 0, y: 0});\n * withDefaults({y: 2}); //=> {x: 0, y: 2}\n * @symb R.mergeRight(a, b) = {...a, ...b}\n */\n\n\nvar mergeRight =\n/*#__PURE__*/\n_curry2(function mergeRight(l, r) {\n return _objectAssign({}, l, r);\n});\n\nmodule.exports = mergeRight;","var _has =\n/*#__PURE__*/\nrequire(\"./_has\"); // Based on https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/assign\n\n\nfunction _objectAssign(target) {\n if (target == null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n var idx = 1;\n var length = arguments.length;\n\n while (idx < length) {\n var source = arguments[idx];\n\n if (source != null) {\n for (var nextKey in source) {\n if (_has(nextKey, source)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n\n idx += 1;\n }\n\n return output;\n}\n\nmodule.exports = typeof Object.assign === 'function' ? Object.assign : _objectAssign;","function _has(prop, obj) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = _has;","import { DEFAULT_PRESSABLE_RIPPLE_COLOR } from '../constants';\nimport { RenderHTMLAmbiantSharedProps } from '../shared-types';\n\nfunction WebViewPlaceholder() {\n /* istanbul ignore else */\n if (typeof __DEV__ === 'boolean' && __DEV__) {\n console.warn(\n 'One of your renderers is attempting to use WebView component, which has not been ' +\n \"provided as a prop to the RenderHtml component. As a consequence, the element won't be rendered.\"\n );\n }\n return null;\n}\n\nconst defaultSharedProps: RenderHTMLAmbiantSharedProps = {\n bypassAnonymousTPhrasingNodes: true,\n debug: false,\n defaultTextProps: {\n selectable: false,\n allowFontScaling: true\n },\n defaultViewProps: {},\n enableExperimentalBRCollapsing: false,\n enableExperimentalGhostLinesPrevention: false,\n enableExperimentalMarginCollapsing: false,\n computeEmbeddedMaxWidth: (contentWidth) => contentWidth,\n WebView: WebViewPlaceholder,\n defaultWebViewProps: {},\n pressableHightlightColor: DEFAULT_PRESSABLE_RIPPLE_COLOR,\n provideEmbeddedHeaders: undefined,\n GenericPressable: undefined,\n customListStyleSpecs: undefined\n};\n\nexport default defaultSharedProps;\n","const DEFAULT_TEXT_COLOR = 'black';\nconst DEFAULT_PRESSABLE_RIPPLE_COLOR = 'rgba(38, 132, 240, 0.2)';\n\nconst constants = {\n DEFAULT_PRESSABLE_RIPPLE_COLOR,\n DEFAULT_TEXT_COLOR\n};\n\nexport { DEFAULT_TEXT_COLOR, DEFAULT_PRESSABLE_RIPPLE_COLOR };\n\nexport default constants;\n","import React, { useContext } from 'react';\nimport { DocumentMetadata } from '../shared-types';\n\nconst DocumentMetadataContext = React.createContext({\n baseUrl: '',\n baseTarget: '_self',\n lang: 'en',\n links: [],\n meta: [],\n title: '',\n dir: 'ltr'\n});\n\nconst DocumentMetadataProvider = DocumentMetadataContext.Provider;\n\n/**\n * Get access to the parsed HTML metadata anywhere in the render tree.\n */\nexport function useDocumentMetadata() {\n return useContext(DocumentMetadataContext);\n}\n\nexport default DocumentMetadataProvider;\n","import React, { useMemo } from 'react';\nimport { TBlock } from '@native-html/transient-render-engine';\nimport IMGElement, { IMGElementProps } from '../elements/IMGElement';\nimport { InternalBlockRenderer } from '../render/render-types';\nimport { useComputeMaxWidthForTag } from '../context/SharedPropsProvider';\nimport { ImageStyle, StyleSheet } from 'react-native';\nimport { InternalRendererProps } from '../shared-types';\nimport useNormalizedUrl from '../hooks/useNormalizedUrl';\nimport { useRendererProps } from '../context/RenderersPropsProvider';\nimport useContentWidth from '../hooks/useContentWidth';\nimport getNativePropsForTNode from '../helpers/getNativePropsForTNode';\n\n/**\n * A hook to produce props consumable by {@link IMGElement} component\n * from custom renderer props.\n */\nexport function useIMGElementProps(\n props: InternalRendererProps\n): IMGElementProps {\n const { tnode } = props;\n\n const contentWidth = useContentWidth();\n const { initialDimensions, enableExperimentalPercentWidth } =\n useRendererProps('img');\n const computeImagesMaxWidth = useComputeMaxWidthForTag('img');\n const src = tnode.attributes.src || '';\n const source = { uri: useNormalizedUrl(src) };\n const { style: rawStyle, ...containerProps } = getNativePropsForTNode(props);\n const style = useMemo(\n () => (rawStyle ? (StyleSheet.flatten(rawStyle) as ImageStyle) : {}),\n [rawStyle]\n );\n return {\n contentWidth,\n containerProps,\n enableExperimentalPercentWidth,\n initialDimensions,\n source,\n style,\n testID: 'img',\n computeMaxWidth: computeImagesMaxWidth,\n alt: tnode.attributes.alt,\n altColor: tnode.styles.nativeTextFlow.color as string,\n width: tnode.attributes.width,\n height: tnode.attributes.height,\n objectFit: tnode.styles.webBlockRet.objectFit\n };\n}\n\nconst IMGRenderer: InternalBlockRenderer = (props) => {\n return React.createElement(IMGElement, useIMGElementProps(props));\n};\n\nexport default IMGRenderer;\n","import React, { ReactElement, ReactNode } from 'react';\nimport PropTypes from 'prop-types';\nimport useIMGElementState from './useIMGElementState';\nimport IMGElementContentSuccess from './IMGElementContentSuccess';\nimport IMGElementContainer from './IMGElementContainer';\nimport IMGElementContentLoading from './IMGElementContentLoading';\nimport IMGElementContentError from './IMGElementContentError';\nimport type { IMGElementProps } from './img-types';\nimport defaultImageInitialDimensions from './defaultInitialImageDimensions';\n\nexport type { IMGElementProps } from './img-types';\n\nfunction identity(arg: any) {\n return arg;\n}\n\n/**\n * A component to render images based on an internal loading state.\n *\n * @remarks This component will attempt to draw a box of paint dimensions\n * before retrieving the physical dimensions of the image to avoid layout\n * shifts. See also {@link useIMGElementState}, {@link IMGElementContainer},\n * {@link IMGElementContentSuccess}, {@link IMGElementContentLoading}\n * and {@link IMGElementContentError} for customization.\n */\nfunction IMGElement(props: IMGElementProps): ReactElement {\n const state = useIMGElementState(props);\n let content: ReactNode;\n if (state.type === 'success') {\n content = React.createElement(IMGElementContentSuccess, state);\n } else if (state.type === 'loading') {\n content = React.createElement(IMGElementContentLoading, state);\n } else {\n content = React.createElement(IMGElementContentError, state);\n }\n return (\n \n {content}\n \n );\n}\n\nconst imgDimensionsType = PropTypes.shape({\n width: PropTypes.number,\n height: PropTypes.number\n});\n\nconst propTypes: Record = {\n source: PropTypes.object.isRequired,\n alt: PropTypes.string,\n altColor: PropTypes.string,\n height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),\n computeMaxWidth: PropTypes.func.isRequired,\n contentWidth: PropTypes.number,\n enableExperimentalPercentWidth: PropTypes.bool,\n initialDimensions: imgDimensionsType,\n onPress: PropTypes.func,\n testID: PropTypes.string,\n objectFit: PropTypes.string,\n cachedNaturalDimensions: imgDimensionsType,\n containerProps: PropTypes.object\n};\n\n/**\n * @ignore\n */\nIMGElement.propTypes = propTypes;\n\n/**\n * @ignore\n */\nIMGElement.defaultProps = {\n enableExperimentalPercentWidth: false,\n computeMaxWidth: identity,\n imagesInitialDimensions: defaultImageInitialDimensions,\n style: {}\n};\n\nexport default IMGElement;\n","import { useEffect, useState } from 'react';\nimport { Image, ImageURISource } from 'react-native';\nimport {\n UseIMGElementStateProps,\n IMGElementState,\n IncompleteImageDimensions\n} from './img-types';\nimport defaultImageInitialDimensions from './defaultInitialImageDimensions';\nimport useIMGNormalizedSource from './useIMGNormalizedSource';\nimport { ImageDimensions } from '../shared-types';\nimport useImageConcreteDimensions from './useImageConcreteDimensions';\nimport { getIMGState } from './getIMGState';\nimport useImageSpecifiedDimensions from './useImageSpecifiedDimensions';\n\nfunction getImageSizeAsync({\n uri,\n headers\n}: {\n headers: any;\n uri: string;\n}): Promise {\n return new Promise((onsuccess, onerror) => {\n const onImageDimensionsSuccess = (width: number, height: number) =>\n onsuccess({ width, height });\n if (headers) {\n Image.getSizeWithHeaders(uri, headers, onImageDimensionsSuccess, onerror);\n } else {\n Image.getSize(uri, onImageDimensionsSuccess, onerror);\n }\n });\n}\n\nfunction useImageNaturalDimensions

(props: {\n cachedNaturalDimensions?: ImageDimensions;\n source: ImageURISource;\n specifiedDimensions: IncompleteImageDimensions;\n}) {\n const { source, cachedNaturalDimensions } = props;\n const [naturalDimensions, setNaturalDimensions] = useState<\n P['cachedNaturalDimensions'] extends ImageDimensions\n ? ImageDimensions\n : ImageDimensions | null\n >((cachedNaturalDimensions as any) || null);\n const { width: cachedNaturalWidth, height: cachedNaturalHeight } =\n cachedNaturalDimensions || {};\n const [error, setError] = useState(null);\n useEffect(\n function resetOnURIChange() {\n setNaturalDimensions(\n (cachedNaturalWidth != null && cachedNaturalHeight != null\n ? { width: cachedNaturalWidth, height: cachedNaturalHeight }\n : null) as any\n );\n setError(null);\n },\n [cachedNaturalHeight, cachedNaturalWidth, source.uri]\n );\n return {\n onNaturalDimensions: setNaturalDimensions,\n onError: setError,\n naturalDimensions,\n error\n };\n}\n\nfunction useFetchedNaturalDimensions(props: {\n cachedNaturalDimensions?: ImageDimensions;\n source: ImageURISource;\n specifiedDimensions: IncompleteImageDimensions;\n}) {\n const { source, cachedNaturalDimensions } = props;\n const { error, naturalDimensions, onError, onNaturalDimensions } =\n useImageNaturalDimensions(props);\n const hasCachedDimensions = !!cachedNaturalDimensions;\n useEffect(\n function fetchPhysicalDimensions() {\n let cancelled = false;\n if (source.uri && !hasCachedDimensions) {\n getImageSizeAsync({ uri: source.uri, headers: source.headers })\n .then((dimensions) => !cancelled && onNaturalDimensions(dimensions))\n .catch((e) => !cancelled && onError(e || {}));\n return () => {\n cancelled = true;\n };\n }\n },\n [\n source.uri,\n source.headers,\n onNaturalDimensions,\n onError,\n hasCachedDimensions\n ]\n );\n return {\n naturalDimensions,\n error,\n onError,\n onNaturalDimensions\n };\n}\n\n/**\n * This hook will compute concrete dimensions from image natural dimensions and\n * constraints. It will fetch the image and get its dimensions.\n *\n * @remarks If you know the dimensions beforehand, use\n * {@link useIMGElementStateWithCache} instead to save a network request and\n * prevent a layout shift.\n */\nexport default function useIMGElementState(\n props: UseIMGElementStateProps\n): IMGElementState {\n const {\n alt,\n altColor,\n source,\n contentWidth,\n computeMaxWidth,\n objectFit,\n initialDimensions = defaultImageInitialDimensions,\n cachedNaturalDimensions\n } = props;\n const { flatStyle, specifiedDimensions } = useImageSpecifiedDimensions(props);\n const nomalizedSource = useIMGNormalizedSource({\n specifiedDimensions,\n source\n });\n const { naturalDimensions, onError, error } = useFetchedNaturalDimensions({\n source: nomalizedSource,\n specifiedDimensions,\n cachedNaturalDimensions\n });\n const concreteDimensions = useImageConcreteDimensions({\n flatStyle,\n naturalDimensions,\n specifiedDimensions,\n computeMaxWidth,\n contentWidth\n });\n\n return getIMGState({\n error,\n alt,\n altColor,\n concreteDimensions,\n containerStyle: flatStyle,\n initialDimensions,\n objectFit,\n onError,\n source: nomalizedSource\n });\n}\n","import { ImageDimensions } from '../shared-types';\n\nconst defaultImageInitialDimensions: ImageDimensions = {\n width: 100,\n height: 100\n};\n\nexport default defaultImageInitialDimensions;\n","import { useMemo, useRef } from 'react';\nimport { useSharedProps } from '../context/SharedPropsProvider';\nimport {\n IncompleteImageDimensions,\n UseIMGElementStateProps\n} from './img-types';\n\nexport default function useIMGNormalizedSource({\n source,\n specifiedDimensions\n}: Pick & {\n specifiedDimensions: IncompleteImageDimensions;\n}) {\n const cachedDimensions = useRef(specifiedDimensions);\n const { provideEmbeddedHeaders } = useSharedProps();\n return useMemo(() => {\n if (source.uri && typeof provideEmbeddedHeaders === 'function') {\n const headers = provideEmbeddedHeaders(source.uri, 'img', {\n printWidth: cachedDimensions.current?.width || undefined,\n printHeight: cachedDimensions.current?.height || undefined\n });\n if (headers) {\n return {\n headers,\n ...source\n };\n }\n }\n return source;\n }, [provideEmbeddedHeaders, source]);\n}\n","import { useMemo } from 'react';\nimport { ImageStyle } from 'react-native';\nimport { ImageDimensions } from '../shared-types';\nimport {\n IncompleteImageDimensions,\n UseIMGElementStateProps\n} from './img-types';\n\nexport type ConcreteDimensionsProps = {\n flatStyle: ImageStyle;\n naturalDimensions: ImageDimensions | null;\n specifiedDimensions: IncompleteImageDimensions;\n} & Pick;\n\nfunction extractHorizontalSpace({\n marginHorizontal,\n leftMargin,\n rightMargin,\n margin\n}: any) {\n const realLeftMargin = leftMargin || marginHorizontal || margin || 0;\n const realRightMargin = rightMargin || marginHorizontal || margin || 0;\n return realLeftMargin + realRightMargin;\n}\n\nfunction scaleUp(\n minDimensions: ImageDimensions,\n desiredDimensions: ImageDimensions\n): ImageDimensions {\n const aspectRatio = desiredDimensions.width / desiredDimensions.height;\n if (desiredDimensions.width < minDimensions.width) {\n return scaleUp(minDimensions, {\n width: minDimensions.width,\n height: minDimensions.width / aspectRatio\n });\n }\n if (desiredDimensions.height < minDimensions.height) {\n return scaleUp(minDimensions, {\n height: minDimensions.height,\n width: minDimensions.height * aspectRatio\n });\n }\n return desiredDimensions;\n}\n\nfunction scaleDown(\n maxDimensions: ImageDimensions,\n desiredDimensions: ImageDimensions\n): ImageDimensions {\n const aspectRatio = desiredDimensions.width / desiredDimensions.height;\n if (desiredDimensions.width > maxDimensions.width) {\n return scaleDown(maxDimensions, {\n width: maxDimensions.width,\n height: maxDimensions.width / aspectRatio\n });\n }\n if (desiredDimensions.height > maxDimensions.height) {\n return scaleDown(maxDimensions, {\n height: maxDimensions.height,\n width: maxDimensions.height * aspectRatio\n });\n }\n return desiredDimensions;\n}\n\nfunction scale(\n { minBox, maxBox }: { maxBox: ImageDimensions; minBox: ImageDimensions },\n originalBox: ImageDimensions\n) {\n return scaleDown(maxBox, scaleUp(minBox, originalBox));\n}\n\nfunction computeConcreteDimensions(params: any) {\n const {\n computeMaxWidth,\n contentWidth,\n flattenStyles,\n naturalWidth,\n naturalHeight,\n specifiedWidth,\n specifiedHeight\n } = params;\n const horizontalSpace = extractHorizontalSpace(flattenStyles);\n const {\n maxWidth = Infinity,\n maxHeight = Infinity,\n minWidth = 0,\n minHeight = 0\n } = flattenStyles;\n const imagesMaxWidth =\n typeof contentWidth === 'number' ? computeMaxWidth(contentWidth) : Infinity;\n const minBox = {\n width: minWidth,\n height: minHeight\n };\n const maxBox = {\n width:\n Math.min(\n imagesMaxWidth,\n maxWidth,\n typeof specifiedWidth === 'number' ? specifiedWidth : Infinity\n ) - horizontalSpace,\n height: Math.min(\n typeof specifiedHeight === 'number' ? specifiedHeight : Infinity,\n maxHeight\n )\n };\n if (\n typeof specifiedWidth === 'number' &&\n typeof specifiedHeight === 'number'\n ) {\n return scale(\n { minBox, maxBox },\n {\n width: specifiedWidth,\n height: specifiedHeight\n }\n );\n }\n if (naturalWidth != null && naturalHeight != null) {\n return scale(\n { minBox, maxBox },\n {\n width: naturalWidth,\n height: naturalHeight\n }\n );\n }\n return null;\n}\n\nexport default function useImageConcreteDimensions<\n P extends ConcreteDimensionsProps\n>({\n flatStyle,\n naturalDimensions,\n specifiedDimensions,\n computeMaxWidth,\n contentWidth\n}: P): P['naturalDimensions'] extends ImageDimensions\n ? ImageDimensions\n : ImageDimensions | null {\n return useMemo(() => {\n return computeConcreteDimensions({\n flattenStyles: flatStyle,\n computeMaxWidth,\n contentWidth,\n naturalWidth: naturalDimensions?.width,\n naturalHeight: naturalDimensions?.height,\n specifiedWidth: specifiedDimensions.width,\n specifiedHeight: specifiedDimensions.height\n }) as any;\n }, [\n computeMaxWidth,\n contentWidth,\n flatStyle,\n naturalDimensions,\n specifiedDimensions.height,\n specifiedDimensions.width\n ]);\n}\n","import { useMemo } from 'react';\nimport {\n UseIMGElementStateProps,\n IncompleteImageDimensions\n} from './img-types';\nimport getDimensionsWithAspectRatio from './getDimensionsWithAspectRatio';\nimport { StyleSheet } from 'react-native';\n\nfunction normalizeSize(\n dimension: string | number | null | undefined,\n options: Partial<{\n containerDimension: number | null;\n enablePercentWidth: boolean;\n }>\n) {\n const containerDimension = options.containerDimension || null;\n const enablePercentWidth = options.enablePercentWidth || false;\n if (\n dimension === null ||\n dimension === undefined ||\n Number.isNaN(dimension)\n ) {\n return null;\n }\n if (typeof dimension === 'number') {\n return dimension;\n }\n if (\n dimension.search('%') !== -1 &&\n enablePercentWidth &&\n typeof containerDimension === 'number'\n ) {\n return (parseFloat(dimension) * containerDimension) / 100;\n } else if (dimension.trim().match(/^[\\d.]+$/)) {\n return parseFloat(dimension);\n }\n return null;\n}\n\n/**\n * Extract specified dimensions from props.\n */\nfunction deriveSpecifiedDimensionsFromProps({\n width,\n height,\n contentWidth,\n flatStyle,\n enableExperimentalPercentWidth: enablePercentWidth\n}: Pick<\n UseIMGElementStateProps,\n 'width' | 'height' | 'contentWidth' | 'enableExperimentalPercentWidth'\n> & { flatStyle: Record }): IncompleteImageDimensions {\n const normalizeOptionsWidth = {\n enablePercentWidth,\n containerDimension: contentWidth\n };\n const normalizeOptionsHeight = {\n enablePercentWidth: false\n };\n const widthProp = normalizeSize(width, normalizeOptionsWidth);\n const heightProp = normalizeSize(height, normalizeOptionsHeight);\n const styleWidth = normalizeSize(flatStyle.width, normalizeOptionsWidth);\n const styleHeight = normalizeSize(flatStyle.height, normalizeOptionsHeight);\n return getDimensionsWithAspectRatio(\n styleWidth ?? widthProp,\n styleHeight ?? heightProp,\n flatStyle.aspectRatio\n );\n}\n\nexport default function useImageSpecifiedDimensions(\n props: UseIMGElementStateProps\n) {\n const { contentWidth, enableExperimentalPercentWidth, style, width, height } =\n props;\n const flatStyle = useMemo(() => StyleSheet.flatten(style) || {}, [style]);\n const specifiedDimensions = useMemo(\n () =>\n deriveSpecifiedDimensionsFromProps({\n contentWidth,\n enableExperimentalPercentWidth,\n width,\n height,\n flatStyle\n }),\n [contentWidth, enableExperimentalPercentWidth, flatStyle, height, width]\n );\n return { flatStyle, specifiedDimensions };\n}\n","export default function getDimensionsWithAspectRatio(\n width: number | null,\n height: number | null,\n aspectRatio: number | undefined\n) {\n return {\n width: width ?? (aspectRatio && height ? height * aspectRatio : null),\n height: height ?? (aspectRatio && width ? width / aspectRatio : null)\n };\n}\n","import type {\n UseIMGElementStateProps,\n IMGElementState,\n IMGElementStateBase,\n IMGElementStateError,\n IMGElementStateSuccess,\n IMGElementStateLoading\n} from './img-types';\nimport extractImageStyleProps from './extractImageStyleProps';\nimport { ImageDimensions } from '../shared-types';\n\ninterface GetStateProps extends Omit {\n concreteDimensions: C;\n error: Error | null;\n initialDimensions: ImageDimensions;\n objectFit: UseIMGElementStateProps['objectFit'];\n onError?: (e: Error) => void;\n}\n\nexport function getIMGState(\n props: GetStateProps\n): IMGElementStateError | IMGElementStateSuccess;\nexport function getIMGState(\n props: GetStateProps\n): IMGElementState;\nexport function getIMGState({\n error,\n alt,\n altColor,\n source,\n containerStyle,\n concreteDimensions,\n initialDimensions,\n objectFit,\n onError\n}: GetStateProps): IMGElementState {\n if (error) {\n return {\n type: 'error',\n alt,\n altColor,\n source,\n error,\n containerStyle,\n dimensions: concreteDimensions ?? initialDimensions\n };\n }\n if (concreteDimensions != null) {\n return {\n type: 'success',\n alt,\n altColor,\n source,\n onError,\n containerStyle,\n imageStyle: extractImageStyleProps(containerStyle, objectFit),\n dimensions: concreteDimensions\n } as IMGElementStateSuccess;\n }\n return {\n type: 'loading',\n alt,\n altColor,\n source,\n containerStyle,\n dimensions: initialDimensions\n } as IMGElementStateLoading;\n}\n","import { ImageStyle } from 'react-native';\nimport { WebBlockStyles } from '@native-html/transient-render-engine';\n\nimport pick from 'ramda/src/pick';\n\nconst extractProps = pick([\n 'resizeMode',\n 'tintColor',\n 'overlayColor'\n]);\n\nfunction mapObjectFit(objectFit: WebBlockStyles['objectFit']) {\n let resizeMode: ImageStyle['resizeMode'];\n switch (objectFit) {\n case 'contain':\n case 'cover':\n resizeMode = objectFit;\n break;\n case 'fill':\n resizeMode = 'stretch';\n break;\n case 'scale-down':\n resizeMode = 'contain';\n break;\n default:\n return null;\n }\n return { resizeMode };\n}\n\nfunction extractImageStyleProps(\n style: any,\n objectFit?: WebBlockStyles['objectFit']\n) {\n const resizeModeFromFit = objectFit ? mapObjectFit(objectFit) : null;\n return {\n ...extractProps(style),\n ...resizeModeFromFit\n };\n}\n\nexport default extractImageStyleProps;\n","import React, { ReactElement, useCallback } from 'react';\nimport {\n Image,\n ImageErrorEventData,\n ImageStyle,\n NativeSyntheticEvent\n} from 'react-native';\nimport { IMGElementStateSuccess } from './img-types';\n\nconst defaultImageStyle: ImageStyle = { resizeMode: 'cover' };\n\n/**\n * Default success \"image\" view for the {@link IMGElement} component.\n */\nexport default function IMGElementContentSuccess({\n source,\n imageStyle,\n dimensions,\n onError\n}: IMGElementStateSuccess): ReactElement {\n const onImageError = useCallback(\n ({ nativeEvent: { error } }: NativeSyntheticEvent) =>\n onError(error),\n [onError]\n );\n return (\n \n );\n}\n","import React, {\n ComponentType,\n PropsWithChildren,\n ReactElement,\n useMemo\n} from 'react';\nimport { View, StyleSheet, ViewStyle, ViewProps } from 'react-native';\nimport GenericPressable from '../GenericPressable';\nimport { IMGElementProps } from './img-types';\n\nconst styles = StyleSheet.create({\n container: {\n flexDirection: 'row',\n alignSelf: 'stretch',\n justifyContent: 'center'\n }\n});\n\n/**\n * Container for the {@link IMGElement} component.\n */\nexport default function IMGElementContainer({\n style,\n onPress,\n testID,\n children,\n ...otherProps\n}: PropsWithChildren<\n Pick &\n Omit & { style: ViewStyle }\n>): ReactElement {\n const containerStyle = useMemo(() => {\n const { width, height, ...remainingStyle } = style;\n return [styles.container, remainingStyle];\n }, [style]);\n const Container: ComponentType =\n typeof onPress === 'function' ? GenericPressable : View;\n return React.createElement(\n Container,\n { ...otherProps, style: containerStyle, onPress, testID },\n children\n );\n}\n","import React, { PropsWithChildren } from 'react';\nimport {\n Platform,\n TouchableHighlight,\n TouchableNativeFeedback,\n View\n} from 'react-native';\nimport { useSharedProps } from './context/SharedPropsProvider';\nimport { GenericPressableProps } from './shared-types';\n\nexport default function GenericPressable({\n style,\n children,\n borderless = false,\n ...otherProps\n}: PropsWithChildren) {\n const { pressableHightlightColor, GenericPressable: UserProvidedPressable } =\n useSharedProps();\n if (UserProvidedPressable) {\n return (\n \n {children}\n \n );\n }\n if (Platform.OS === 'android') {\n // TouchableNativeFeedback does not support a\n // style prop. So we must wrap it inside a View.\n return (\n \n \n {children}\n \n \n );\n }\n return (\n \n {children}\n \n );\n}\n","import React, { PropsWithChildren, ReactElement } from 'react';\nimport { View } from 'react-native';\nimport { IMGElementStateLoading } from './img-types';\n\n/**\n * Default loading view for the {@link IMGElement} component.\n */\nexport default function IMGElementContentLoading({\n dimensions,\n children\n}: PropsWithChildren): ReactElement {\n return (\n \n {children}\n \n );\n}\n","import React, { ReactElement } from 'react';\nimport { IMGElementStateError } from './img-types';\nimport IMGElementContentAlt from './IMGElementContentAlt';\n\n/**\n * Default error view for the {@link IMGElement} component.\n */\nexport default function IMGElementContentError(\n props: IMGElementStateError\n): ReactElement {\n return ;\n}\n","import React, { PropsWithChildren, ReactElement } from 'react';\nimport { StyleSheet, Text, View } from 'react-native';\nimport { IMGElementStateBase } from './img-types';\n\nconst styles = StyleSheet.create({\n altBox: {\n borderWidth: StyleSheet.hairlineWidth,\n overflow: 'hidden',\n justifyContent: 'center'\n },\n altText: { textAlign: 'center', fontStyle: 'italic' }\n});\n\n/**\n * Alt view for the {@link IMGElement} component.\n */\nexport default function IMGElementContentAlt({\n dimensions,\n alt,\n altColor,\n testID,\n children\n}: PropsWithChildren): ReactElement {\n return (\n \n {alt}\n {children}\n \n );\n}\n","import { useDocumentMetadata } from '../context/DocumentMetadataProvider';\nimport normalizeResourceLocator from '../helpers/normalizeResourceLocator';\n\n/**\n * This hook transforms relative and protocol-relative URLs to absolute URLs as\n * per {@link https://tools.ietf.org/html/rfc1808 | RFC1808}. The base URL is\n * determined by the `` element, `source.uri` or `source.baseUrl`.\n *\n * @remarks\n * - If there is no `baseUrl` and the initial URL is relative, this hook will\n * return the initial URL.\n * - If the initial URL is absolute, this hook will return this initial URL.\n *\n * @param initialUrl - The URL before normalization.\n *\n * @public\n */\nexport default function useNormalizedUrl(initialUrl: string) {\n const { baseUrl } = useDocumentMetadata();\n return normalizeResourceLocator(initialUrl, baseUrl);\n}\n","import URI from 'urijs';\n\n/**\n * This function normalize relative and protocol-relative URLs to absolute\n * URLs as per {@link https://tools.ietf.org/html/rfc1808 | RFC1808}.\n *\n * @param url - The URL to normalize.\n * @param baseUrl - The base URL to resolve relative and protocol-relative URLs.\n */\nexport default function normalizeResourceLocator(\n url: string,\n baseUrl?: string\n) {\n try {\n return baseUrl ? URI(url).absoluteTo(URI(baseUrl)).href() : URI(url).href();\n } catch (e) {\n return url;\n }\n}\n","/*!\n * URI.js - Mutating URLs\n *\n * Version: 1.19.11\n *\n * Author: Rodney Rehm\n * Web: http://medialize.github.io/URI.js/\n *\n * Licensed under\n * MIT License http://www.opensource.org/licenses/mit-license\n *\n */\n(function (root, factory) {\n 'use strict';\n // https://github.com/umdjs/umd/blob/master/returnExports.js\n if (typeof module === 'object' && module.exports) {\n // Node\n module.exports = factory(require('./punycode'), require('./IPv6'), require('./SecondLevelDomains'));\n } else if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['./punycode', './IPv6', './SecondLevelDomains'], factory);\n } else {\n // Browser globals (root is window)\n root.URI = factory(root.punycode, root.IPv6, root.SecondLevelDomains, root);\n }\n}(this, function (punycode, IPv6, SLD, root) {\n 'use strict';\n /*global location, escape, unescape */\n // FIXME: v2.0.0 renamce non-camelCase properties to uppercase\n /*jshint camelcase: false */\n\n // save current URI variable, if any\n var _URI = root && root.URI;\n\n function URI(url, base) {\n var _urlSupplied = arguments.length >= 1;\n var _baseSupplied = arguments.length >= 2;\n\n // Allow instantiation without the 'new' keyword\n if (!(this instanceof URI)) {\n if (_urlSupplied) {\n if (_baseSupplied) {\n return new URI(url, base);\n }\n\n return new URI(url);\n }\n\n return new URI();\n }\n\n if (url === undefined) {\n if (_urlSupplied) {\n throw new TypeError('undefined is not a valid argument for URI');\n }\n\n if (typeof location !== 'undefined') {\n url = location.href + '';\n } else {\n url = '';\n }\n }\n\n if (url === null) {\n if (_urlSupplied) {\n throw new TypeError('null is not a valid argument for URI');\n }\n }\n\n this.href(url);\n\n // resolve to base according to http://dvcs.w3.org/hg/url/raw-file/tip/Overview.html#constructor\n if (base !== undefined) {\n return this.absoluteTo(base);\n }\n\n return this;\n }\n\n function isInteger(value) {\n return /^[0-9]+$/.test(value);\n }\n\n URI.version = '1.19.11';\n\n var p = URI.prototype;\n var hasOwn = Object.prototype.hasOwnProperty;\n\n function escapeRegEx(string) {\n // https://github.com/medialize/URI.js/commit/85ac21783c11f8ccab06106dba9735a31a86924d#commitcomment-821963\n return string.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n }\n\n function getType(value) {\n // IE8 doesn't return [Object Undefined] but [Object Object] for undefined value\n if (value === undefined) {\n return 'Undefined';\n }\n\n return String(Object.prototype.toString.call(value)).slice(8, -1);\n }\n\n function isArray(obj) {\n return getType(obj) === 'Array';\n }\n\n function filterArrayValues(data, value) {\n var lookup = {};\n var i, length;\n\n if (getType(value) === 'RegExp') {\n lookup = null;\n } else if (isArray(value)) {\n for (i = 0, length = value.length; i < length; i++) {\n lookup[value[i]] = true;\n }\n } else {\n lookup[value] = true;\n }\n\n for (i = 0, length = data.length; i < length; i++) {\n /*jshint laxbreak: true */\n var _match = lookup && lookup[data[i]] !== undefined\n || !lookup && value.test(data[i]);\n /*jshint laxbreak: false */\n if (_match) {\n data.splice(i, 1);\n length--;\n i--;\n }\n }\n\n return data;\n }\n\n function arrayContains(list, value) {\n var i, length;\n\n // value may be string, number, array, regexp\n if (isArray(value)) {\n // Note: this can be optimized to O(n) (instead of current O(m * n))\n for (i = 0, length = value.length; i < length; i++) {\n if (!arrayContains(list, value[i])) {\n return false;\n }\n }\n\n return true;\n }\n\n var _type = getType(value);\n for (i = 0, length = list.length; i < length; i++) {\n if (_type === 'RegExp') {\n if (typeof list[i] === 'string' && list[i].match(value)) {\n return true;\n }\n } else if (list[i] === value) {\n return true;\n }\n }\n\n return false;\n }\n\n function arraysEqual(one, two) {\n if (!isArray(one) || !isArray(two)) {\n return false;\n }\n\n // arrays can't be equal if they have different amount of content\n if (one.length !== two.length) {\n return false;\n }\n\n one.sort();\n two.sort();\n\n for (var i = 0, l = one.length; i < l; i++) {\n if (one[i] !== two[i]) {\n return false;\n }\n }\n\n return true;\n }\n\n function trimSlashes(text) {\n var trim_expression = /^\\/+|\\/+$/g;\n return text.replace(trim_expression, '');\n }\n\n URI._parts = function() {\n return {\n protocol: null,\n username: null,\n password: null,\n hostname: null,\n urn: null,\n port: null,\n path: null,\n query: null,\n fragment: null,\n // state\n preventInvalidHostname: URI.preventInvalidHostname,\n duplicateQueryParameters: URI.duplicateQueryParameters,\n escapeQuerySpace: URI.escapeQuerySpace\n };\n };\n // state: throw on invalid hostname\n // see https://github.com/medialize/URI.js/pull/345\n // and https://github.com/medialize/URI.js/issues/354\n URI.preventInvalidHostname = false;\n // state: allow duplicate query parameters (a=1&a=1)\n URI.duplicateQueryParameters = false;\n // state: replaces + with %20 (space in query strings)\n URI.escapeQuerySpace = true;\n // static properties\n URI.protocol_expression = /^[a-z][a-z0-9.+-]*$/i;\n URI.idn_expression = /[^a-z0-9\\._-]/i;\n URI.punycode_expression = /(xn--)/i;\n // well, 333.444.555.666 matches, but it sure ain't no IPv4 - do we care?\n URI.ip4_expression = /^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}$/;\n // credits to Rich Brown\n // source: http://forums.intermapper.com/viewtopic.php?p=1096#1096\n // specification: http://www.ietf.org/rfc/rfc4291.txt\n URI.ip6_expression = /^\\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))(%.+)?\\s*$/;\n // expression used is \"gruber revised\" (@gruber v2) determined to be the\n // best solution in a regex-golf we did a couple of ages ago at\n // * http://mathiasbynens.be/demo/url-regex\n // * http://rodneyrehm.de/t/url-regex.html\n URI.find_uri_expression = /\\b((?:[a-z][\\w-]+:(?:\\/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?«»“”‘’]))/ig;\n URI.findUri = {\n // valid \"scheme://\" or \"www.\"\n start: /\\b(?:([a-z][a-z0-9.+-]*:\\/\\/)|www\\.)/gi,\n // everything up to the next whitespace\n end: /[\\s\\r\\n]|$/,\n // trim trailing punctuation captured by end RegExp\n trim: /[`!()\\[\\]{};:'\".,<>?«»“”„‘’]+$/,\n // balanced parens inclusion (), [], {}, <>\n parens: /(\\([^\\)]*\\)|\\[[^\\]]*\\]|\\{[^}]*\\}|<[^>]*>)/g,\n };\n URI.leading_whitespace_expression = /^[\\x00-\\x20\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]+/\n // https://infra.spec.whatwg.org/#ascii-tab-or-newline\n URI.ascii_tab_whitespace = /[\\u0009\\u000A\\u000D]+/g\n // http://www.iana.org/assignments/uri-schemes.html\n // http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers#Well-known_ports\n URI.defaultPorts = {\n http: '80',\n https: '443',\n ftp: '21',\n gopher: '70',\n ws: '80',\n wss: '443'\n };\n // list of protocols which always require a hostname\n URI.hostProtocols = [\n 'http',\n 'https'\n ];\n\n // allowed hostname characters according to RFC 3986\n // ALPHA DIGIT \"-\" \".\" \"_\" \"~\" \"!\" \"$\" \"&\" \"'\" \"(\" \")\" \"*\" \"+\" \",\" \";\" \"=\" %encoded\n // I've never seen a (non-IDN) hostname other than: ALPHA DIGIT . - _\n URI.invalid_hostname_characters = /[^a-zA-Z0-9\\.\\-:_]/;\n // map DOM Elements to their URI attribute\n URI.domAttributes = {\n 'a': 'href',\n 'blockquote': 'cite',\n 'link': 'href',\n 'base': 'href',\n 'script': 'src',\n 'form': 'action',\n 'img': 'src',\n 'area': 'href',\n 'iframe': 'src',\n 'embed': 'src',\n 'source': 'src',\n 'track': 'src',\n 'input': 'src', // but only if type=\"image\"\n 'audio': 'src',\n 'video': 'src'\n };\n URI.getDomAttribute = function(node) {\n if (!node || !node.nodeName) {\n return undefined;\n }\n\n var nodeName = node.nodeName.toLowerCase();\n // should only expose src for type=\"image\"\n if (nodeName === 'input' && node.type !== 'image') {\n return undefined;\n }\n\n return URI.domAttributes[nodeName];\n };\n\n function escapeForDumbFirefox36(value) {\n // https://github.com/medialize/URI.js/issues/91\n return escape(value);\n }\n\n // encoding / decoding according to RFC3986\n function strictEncodeURIComponent(string) {\n // see https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/encodeURIComponent\n return encodeURIComponent(string)\n .replace(/[!'()*]/g, escapeForDumbFirefox36)\n .replace(/\\*/g, '%2A');\n }\n URI.encode = strictEncodeURIComponent;\n URI.decode = decodeURIComponent;\n URI.iso8859 = function() {\n URI.encode = escape;\n URI.decode = unescape;\n };\n URI.unicode = function() {\n URI.encode = strictEncodeURIComponent;\n URI.decode = decodeURIComponent;\n };\n URI.characters = {\n pathname: {\n encode: {\n // RFC3986 2.1: For consistency, URI producers and normalizers should\n // use uppercase hexadecimal digits for all percent-encodings.\n expression: /%(24|26|2B|2C|3B|3D|3A|40)/ig,\n map: {\n // -._~!'()*\n '%24': '$',\n '%26': '&',\n '%2B': '+',\n '%2C': ',',\n '%3B': ';',\n '%3D': '=',\n '%3A': ':',\n '%40': '@'\n }\n },\n decode: {\n expression: /[\\/\\?#]/g,\n map: {\n '/': '%2F',\n '?': '%3F',\n '#': '%23'\n }\n }\n },\n reserved: {\n encode: {\n // RFC3986 2.1: For consistency, URI producers and normalizers should\n // use uppercase hexadecimal digits for all percent-encodings.\n expression: /%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,\n map: {\n // gen-delims\n '%3A': ':',\n '%2F': '/',\n '%3F': '?',\n '%23': '#',\n '%5B': '[',\n '%5D': ']',\n '%40': '@',\n // sub-delims\n '%21': '!',\n '%24': '$',\n '%26': '&',\n '%27': '\\'',\n '%28': '(',\n '%29': ')',\n '%2A': '*',\n '%2B': '+',\n '%2C': ',',\n '%3B': ';',\n '%3D': '='\n }\n }\n },\n urnpath: {\n // The characters under `encode` are the characters called out by RFC 2141 as being acceptable\n // for usage in a URN. RFC2141 also calls out \"-\", \".\", and \"_\" as acceptable characters, but\n // these aren't encoded by encodeURIComponent, so we don't have to call them out here. Also\n // note that the colon character is not featured in the encoding map; this is because URI.js\n // gives the colons in URNs semantic meaning as the delimiters of path segements, and so it\n // should not appear unencoded in a segment itself.\n // See also the note above about RFC3986 and capitalalized hex digits.\n encode: {\n expression: /%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,\n map: {\n '%21': '!',\n '%24': '$',\n '%27': '\\'',\n '%28': '(',\n '%29': ')',\n '%2A': '*',\n '%2B': '+',\n '%2C': ',',\n '%3B': ';',\n '%3D': '=',\n '%40': '@'\n }\n },\n // These characters are the characters called out by RFC2141 as \"reserved\" characters that\n // should never appear in a URN, plus the colon character (see note above).\n decode: {\n expression: /[\\/\\?#:]/g,\n map: {\n '/': '%2F',\n '?': '%3F',\n '#': '%23',\n ':': '%3A'\n }\n }\n }\n };\n URI.encodeQuery = function(string, escapeQuerySpace) {\n var escaped = URI.encode(string + '');\n if (escapeQuerySpace === undefined) {\n escapeQuerySpace = URI.escapeQuerySpace;\n }\n\n return escapeQuerySpace ? escaped.replace(/%20/g, '+') : escaped;\n };\n URI.decodeQuery = function(string, escapeQuerySpace) {\n string += '';\n if (escapeQuerySpace === undefined) {\n escapeQuerySpace = URI.escapeQuerySpace;\n }\n\n try {\n return URI.decode(escapeQuerySpace ? string.replace(/\\+/g, '%20') : string);\n } catch(e) {\n // we're not going to mess with weird encodings,\n // give up and return the undecoded original string\n // see https://github.com/medialize/URI.js/issues/87\n // see https://github.com/medialize/URI.js/issues/92\n return string;\n }\n };\n // generate encode/decode path functions\n var _parts = {'encode':'encode', 'decode':'decode'};\n var _part;\n var generateAccessor = function(_group, _part) {\n return function(string) {\n try {\n return URI[_part](string + '').replace(URI.characters[_group][_part].expression, function(c) {\n return URI.characters[_group][_part].map[c];\n });\n } catch (e) {\n // we're not going to mess with weird encodings,\n // give up and return the undecoded original string\n // see https://github.com/medialize/URI.js/issues/87\n // see https://github.com/medialize/URI.js/issues/92\n return string;\n }\n };\n };\n\n for (_part in _parts) {\n URI[_part + 'PathSegment'] = generateAccessor('pathname', _parts[_part]);\n URI[_part + 'UrnPathSegment'] = generateAccessor('urnpath', _parts[_part]);\n }\n\n var generateSegmentedPathFunction = function(_sep, _codingFuncName, _innerCodingFuncName) {\n return function(string) {\n // Why pass in names of functions, rather than the function objects themselves? The\n // definitions of some functions (but in particular, URI.decode) will occasionally change due\n // to URI.js having ISO8859 and Unicode modes. Passing in the name and getting it will ensure\n // that the functions we use here are \"fresh\".\n var actualCodingFunc;\n if (!_innerCodingFuncName) {\n actualCodingFunc = URI[_codingFuncName];\n } else {\n actualCodingFunc = function(string) {\n return URI[_codingFuncName](URI[_innerCodingFuncName](string));\n };\n }\n\n var segments = (string + '').split(_sep);\n\n for (var i = 0, length = segments.length; i < length; i++) {\n segments[i] = actualCodingFunc(segments[i]);\n }\n\n return segments.join(_sep);\n };\n };\n\n // This takes place outside the above loop because we don't want, e.g., encodeUrnPath functions.\n URI.decodePath = generateSegmentedPathFunction('/', 'decodePathSegment');\n URI.decodeUrnPath = generateSegmentedPathFunction(':', 'decodeUrnPathSegment');\n URI.recodePath = generateSegmentedPathFunction('/', 'encodePathSegment', 'decode');\n URI.recodeUrnPath = generateSegmentedPathFunction(':', 'encodeUrnPathSegment', 'decode');\n\n URI.encodeReserved = generateAccessor('reserved', 'encode');\n\n URI.parse = function(string, parts) {\n var pos;\n if (!parts) {\n parts = {\n preventInvalidHostname: URI.preventInvalidHostname\n };\n }\n\n string = string.replace(URI.leading_whitespace_expression, '')\n // https://infra.spec.whatwg.org/#ascii-tab-or-newline\n string = string.replace(URI.ascii_tab_whitespace, '')\n\n // [protocol\"://\"[username[\":\"password]\"@\"]hostname[\":\"port]\"/\"?][path][\"?\"querystring][\"#\"fragment]\n\n // extract fragment\n pos = string.indexOf('#');\n if (pos > -1) {\n // escaping?\n parts.fragment = string.substring(pos + 1) || null;\n string = string.substring(0, pos);\n }\n\n // extract query\n pos = string.indexOf('?');\n if (pos > -1) {\n // escaping?\n parts.query = string.substring(pos + 1) || null;\n string = string.substring(0, pos);\n }\n\n // slashes and backslashes have lost all meaning for the web protocols (https, http, wss, ws)\n string = string.replace(/^(https?|ftp|wss?)?:+[/\\\\]*/i, '$1://');\n // slashes and backslashes have lost all meaning for scheme relative URLs\n string = string.replace(/^[/\\\\]{2,}/i, '//');\n\n // extract protocol\n if (string.substring(0, 2) === '//') {\n // relative-scheme\n parts.protocol = null;\n string = string.substring(2);\n // extract \"user:pass@host:port\"\n string = URI.parseAuthority(string, parts);\n } else {\n pos = string.indexOf(':');\n if (pos > -1) {\n parts.protocol = string.substring(0, pos) || null;\n if (parts.protocol && !parts.protocol.match(URI.protocol_expression)) {\n // : may be within the path\n parts.protocol = undefined;\n } else if (string.substring(pos + 1, pos + 3).replace(/\\\\/g, '/') === '//') {\n string = string.substring(pos + 3);\n\n // extract \"user:pass@host:port\"\n string = URI.parseAuthority(string, parts);\n } else {\n string = string.substring(pos + 1);\n parts.urn = true;\n }\n }\n }\n\n // what's left must be the path\n parts.path = string;\n\n // and we're done\n return parts;\n };\n URI.parseHost = function(string, parts) {\n if (!string) {\n string = '';\n }\n\n // Copy chrome, IE, opera backslash-handling behavior.\n // Back slashes before the query string get converted to forward slashes\n // See: https://github.com/joyent/node/blob/386fd24f49b0e9d1a8a076592a404168faeecc34/lib/url.js#L115-L124\n // See: https://code.google.com/p/chromium/issues/detail?id=25916\n // https://github.com/medialize/URI.js/pull/233\n string = string.replace(/\\\\/g, '/');\n\n // extract host:port\n var pos = string.indexOf('/');\n var bracketPos;\n var t;\n\n if (pos === -1) {\n pos = string.length;\n }\n\n if (string.charAt(0) === '[') {\n // IPv6 host - http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-04#section-6\n // I claim most client software breaks on IPv6 anyways. To simplify things, URI only accepts\n // IPv6+port in the format [2001:db8::1]:80 (for the time being)\n bracketPos = string.indexOf(']');\n parts.hostname = string.substring(1, bracketPos) || null;\n parts.port = string.substring(bracketPos + 2, pos) || null;\n if (parts.port === '/') {\n parts.port = null;\n }\n } else {\n var firstColon = string.indexOf(':');\n var firstSlash = string.indexOf('/');\n var nextColon = string.indexOf(':', firstColon + 1);\n if (nextColon !== -1 && (firstSlash === -1 || nextColon < firstSlash)) {\n // IPv6 host contains multiple colons - but no port\n // this notation is actually not allowed by RFC 3986, but we're a liberal parser\n parts.hostname = string.substring(0, pos) || null;\n parts.port = null;\n } else {\n t = string.substring(0, pos).split(':');\n parts.hostname = t[0] || null;\n parts.port = t[1] || null;\n }\n }\n\n if (parts.hostname && string.substring(pos).charAt(0) !== '/') {\n pos++;\n string = '/' + string;\n }\n\n if (parts.preventInvalidHostname) {\n URI.ensureValidHostname(parts.hostname, parts.protocol);\n }\n\n if (parts.port) {\n URI.ensureValidPort(parts.port);\n }\n\n return string.substring(pos) || '/';\n };\n URI.parseAuthority = function(string, parts) {\n string = URI.parseUserinfo(string, parts);\n return URI.parseHost(string, parts);\n };\n URI.parseUserinfo = function(string, parts) {\n // extract username:password\n var _string = string\n var firstBackSlash = string.indexOf('\\\\');\n if (firstBackSlash !== -1) {\n string = string.replace(/\\\\/g, '/')\n }\n var firstSlash = string.indexOf('/');\n var pos = string.lastIndexOf('@', firstSlash > -1 ? firstSlash : string.length - 1);\n var t;\n\n // authority@ must come before /path or \\path\n if (pos > -1 && (firstSlash === -1 || pos < firstSlash)) {\n t = string.substring(0, pos).split(':');\n parts.username = t[0] ? URI.decode(t[0]) : null;\n t.shift();\n parts.password = t[0] ? URI.decode(t.join(':')) : null;\n string = _string.substring(pos + 1);\n } else {\n parts.username = null;\n parts.password = null;\n }\n\n return string;\n };\n URI.parseQuery = function(string, escapeQuerySpace) {\n if (!string) {\n return {};\n }\n\n // throw out the funky business - \"?\"[name\"=\"value\"&\"]+\n string = string.replace(/&+/g, '&').replace(/^\\?*&*|&+$/g, '');\n\n if (!string) {\n return {};\n }\n\n var items = {};\n var splits = string.split('&');\n var length = splits.length;\n var v, name, value;\n\n for (var i = 0; i < length; i++) {\n v = splits[i].split('=');\n name = URI.decodeQuery(v.shift(), escapeQuerySpace);\n // no \"=\" is null according to http://dvcs.w3.org/hg/url/raw-file/tip/Overview.html#collect-url-parameters\n value = v.length ? URI.decodeQuery(v.join('='), escapeQuerySpace) : null;\n\n if (name === '__proto__') {\n // ignore attempt at exploiting JavaScript internals\n continue;\n } else if (hasOwn.call(items, name)) {\n if (typeof items[name] === 'string' || items[name] === null) {\n items[name] = [items[name]];\n }\n\n items[name].push(value);\n } else {\n items[name] = value;\n }\n }\n\n return items;\n };\n\n URI.build = function(parts) {\n var t = '';\n var requireAbsolutePath = false\n\n if (parts.protocol) {\n t += parts.protocol + ':';\n }\n\n if (!parts.urn && (t || parts.hostname)) {\n t += '//';\n requireAbsolutePath = true\n }\n\n t += (URI.buildAuthority(parts) || '');\n\n if (typeof parts.path === 'string') {\n if (parts.path.charAt(0) !== '/' && requireAbsolutePath) {\n t += '/';\n }\n\n t += parts.path;\n }\n\n if (typeof parts.query === 'string' && parts.query) {\n t += '?' + parts.query;\n }\n\n if (typeof parts.fragment === 'string' && parts.fragment) {\n t += '#' + parts.fragment;\n }\n return t;\n };\n URI.buildHost = function(parts) {\n var t = '';\n\n if (!parts.hostname) {\n return '';\n } else if (URI.ip6_expression.test(parts.hostname)) {\n t += '[' + parts.hostname + ']';\n } else {\n t += parts.hostname;\n }\n\n if (parts.port) {\n t += ':' + parts.port;\n }\n\n return t;\n };\n URI.buildAuthority = function(parts) {\n return URI.buildUserinfo(parts) + URI.buildHost(parts);\n };\n URI.buildUserinfo = function(parts) {\n var t = '';\n\n if (parts.username) {\n t += URI.encode(parts.username);\n }\n\n if (parts.password) {\n t += ':' + URI.encode(parts.password);\n }\n\n if (t) {\n t += '@';\n }\n\n return t;\n };\n URI.buildQuery = function(data, duplicateQueryParameters, escapeQuerySpace) {\n // according to http://tools.ietf.org/html/rfc3986 or http://labs.apache.org/webarch/uri/rfc/rfc3986.html\n // being »-._~!$&'()*+,;=:@/?« %HEX and alnum are allowed\n // the RFC explicitly states ?/foo being a valid use case, no mention of parameter syntax!\n // URI.js treats the query string as being application/x-www-form-urlencoded\n // see http://www.w3.org/TR/REC-html40/interact/forms.html#form-content-type\n\n var t = '';\n var unique, key, i, length;\n for (key in data) {\n if (key === '__proto__') {\n // ignore attempt at exploiting JavaScript internals\n continue;\n } else if (hasOwn.call(data, key)) {\n if (isArray(data[key])) {\n unique = {};\n for (i = 0, length = data[key].length; i < length; i++) {\n if (data[key][i] !== undefined && unique[data[key][i] + ''] === undefined) {\n t += '&' + URI.buildQueryParameter(key, data[key][i], escapeQuerySpace);\n if (duplicateQueryParameters !== true) {\n unique[data[key][i] + ''] = true;\n }\n }\n }\n } else if (data[key] !== undefined) {\n t += '&' + URI.buildQueryParameter(key, data[key], escapeQuerySpace);\n }\n }\n }\n\n return t.substring(1);\n };\n URI.buildQueryParameter = function(name, value, escapeQuerySpace) {\n // http://www.w3.org/TR/REC-html40/interact/forms.html#form-content-type -- application/x-www-form-urlencoded\n // don't append \"=\" for null values, according to http://dvcs.w3.org/hg/url/raw-file/tip/Overview.html#url-parameter-serialization\n return URI.encodeQuery(name, escapeQuerySpace) + (value !== null ? '=' + URI.encodeQuery(value, escapeQuerySpace) : '');\n };\n\n URI.addQuery = function(data, name, value) {\n if (typeof name === 'object') {\n for (var key in name) {\n if (hasOwn.call(name, key)) {\n URI.addQuery(data, key, name[key]);\n }\n }\n } else if (typeof name === 'string') {\n if (data[name] === undefined) {\n data[name] = value;\n return;\n } else if (typeof data[name] === 'string') {\n data[name] = [data[name]];\n }\n\n if (!isArray(value)) {\n value = [value];\n }\n\n data[name] = (data[name] || []).concat(value);\n } else {\n throw new TypeError('URI.addQuery() accepts an object, string as the name parameter');\n }\n };\n\n URI.setQuery = function(data, name, value) {\n if (typeof name === 'object') {\n for (var key in name) {\n if (hasOwn.call(name, key)) {\n URI.setQuery(data, key, name[key]);\n }\n }\n } else if (typeof name === 'string') {\n data[name] = value === undefined ? null : value;\n } else {\n throw new TypeError('URI.setQuery() accepts an object, string as the name parameter');\n }\n };\n\n URI.removeQuery = function(data, name, value) {\n var i, length, key;\n\n if (isArray(name)) {\n for (i = 0, length = name.length; i < length; i++) {\n data[name[i]] = undefined;\n }\n } else if (getType(name) === 'RegExp') {\n for (key in data) {\n if (name.test(key)) {\n data[key] = undefined;\n }\n }\n } else if (typeof name === 'object') {\n for (key in name) {\n if (hasOwn.call(name, key)) {\n URI.removeQuery(data, key, name[key]);\n }\n }\n } else if (typeof name === 'string') {\n if (value !== undefined) {\n if (getType(value) === 'RegExp') {\n if (!isArray(data[name]) && value.test(data[name])) {\n data[name] = undefined;\n } else {\n data[name] = filterArrayValues(data[name], value);\n }\n } else if (data[name] === String(value) && (!isArray(value) || value.length === 1)) {\n data[name] = undefined;\n } else if (isArray(data[name])) {\n data[name] = filterArrayValues(data[name], value);\n }\n } else {\n data[name] = undefined;\n }\n } else {\n throw new TypeError('URI.removeQuery() accepts an object, string, RegExp as the first parameter');\n }\n };\n URI.hasQuery = function(data, name, value, withinArray) {\n switch (getType(name)) {\n case 'String':\n // Nothing to do here\n break;\n\n case 'RegExp':\n for (var key in data) {\n if (hasOwn.call(data, key)) {\n if (name.test(key) && (value === undefined || URI.hasQuery(data, key, value))) {\n return true;\n }\n }\n }\n\n return false;\n\n case 'Object':\n for (var _key in name) {\n if (hasOwn.call(name, _key)) {\n if (!URI.hasQuery(data, _key, name[_key])) {\n return false;\n }\n }\n }\n\n return true;\n\n default:\n throw new TypeError('URI.hasQuery() accepts a string, regular expression or object as the name parameter');\n }\n\n switch (getType(value)) {\n case 'Undefined':\n // true if exists (but may be empty)\n return name in data; // data[name] !== undefined;\n\n case 'Boolean':\n // true if exists and non-empty\n var _booly = Boolean(isArray(data[name]) ? data[name].length : data[name]);\n return value === _booly;\n\n case 'Function':\n // allow complex comparison\n return !!value(data[name], name, data);\n\n case 'Array':\n if (!isArray(data[name])) {\n return false;\n }\n\n var op = withinArray ? arrayContains : arraysEqual;\n return op(data[name], value);\n\n case 'RegExp':\n if (!isArray(data[name])) {\n return Boolean(data[name] && data[name].match(value));\n }\n\n if (!withinArray) {\n return false;\n }\n\n return arrayContains(data[name], value);\n\n case 'Number':\n value = String(value);\n /* falls through */\n case 'String':\n if (!isArray(data[name])) {\n return data[name] === value;\n }\n\n if (!withinArray) {\n return false;\n }\n\n return arrayContains(data[name], value);\n\n default:\n throw new TypeError('URI.hasQuery() accepts undefined, boolean, string, number, RegExp, Function as the value parameter');\n }\n };\n\n\n URI.joinPaths = function() {\n var input = [];\n var segments = [];\n var nonEmptySegments = 0;\n\n for (var i = 0; i < arguments.length; i++) {\n var url = new URI(arguments[i]);\n input.push(url);\n var _segments = url.segment();\n for (var s = 0; s < _segments.length; s++) {\n if (typeof _segments[s] === 'string') {\n segments.push(_segments[s]);\n }\n\n if (_segments[s]) {\n nonEmptySegments++;\n }\n }\n }\n\n if (!segments.length || !nonEmptySegments) {\n return new URI('');\n }\n\n var uri = new URI('').segment(segments);\n\n if (input[0].path() === '' || input[0].path().slice(0, 1) === '/') {\n uri.path('/' + uri.path());\n }\n\n return uri.normalize();\n };\n\n URI.commonPath = function(one, two) {\n var length = Math.min(one.length, two.length);\n var pos;\n\n // find first non-matching character\n for (pos = 0; pos < length; pos++) {\n if (one.charAt(pos) !== two.charAt(pos)) {\n pos--;\n break;\n }\n }\n\n if (pos < 1) {\n return one.charAt(0) === two.charAt(0) && one.charAt(0) === '/' ? '/' : '';\n }\n\n // revert to last /\n if (one.charAt(pos) !== '/' || two.charAt(pos) !== '/') {\n pos = one.substring(0, pos).lastIndexOf('/');\n }\n\n return one.substring(0, pos + 1);\n };\n\n URI.withinString = function(string, callback, options) {\n options || (options = {});\n var _start = options.start || URI.findUri.start;\n var _end = options.end || URI.findUri.end;\n var _trim = options.trim || URI.findUri.trim;\n var _parens = options.parens || URI.findUri.parens;\n var _attributeOpen = /[a-z0-9-]=[\"']?$/i;\n\n _start.lastIndex = 0;\n while (true) {\n var match = _start.exec(string);\n if (!match) {\n break;\n }\n\n var start = match.index;\n if (options.ignoreHtml) {\n // attribut(e=[\"']?$)\n var attributeOpen = string.slice(Math.max(start - 3, 0), start);\n if (attributeOpen && _attributeOpen.test(attributeOpen)) {\n continue;\n }\n }\n\n var end = start + string.slice(start).search(_end);\n var slice = string.slice(start, end);\n // make sure we include well balanced parens\n var parensEnd = -1;\n while (true) {\n var parensMatch = _parens.exec(slice);\n if (!parensMatch) {\n break;\n }\n\n var parensMatchEnd = parensMatch.index + parensMatch[0].length;\n parensEnd = Math.max(parensEnd, parensMatchEnd);\n }\n\n if (parensEnd > -1) {\n slice = slice.slice(0, parensEnd) + slice.slice(parensEnd).replace(_trim, '');\n } else {\n slice = slice.replace(_trim, '');\n }\n\n if (slice.length <= match[0].length) {\n // the extract only contains the starting marker of a URI,\n // e.g. \"www\" or \"http://\"\n continue;\n }\n\n if (options.ignore && options.ignore.test(slice)) {\n continue;\n }\n\n end = start + slice.length;\n var result = callback(slice, start, end, string);\n if (result === undefined) {\n _start.lastIndex = end;\n continue;\n }\n\n result = String(result);\n string = string.slice(0, start) + result + string.slice(end);\n _start.lastIndex = start + result.length;\n }\n\n _start.lastIndex = 0;\n return string;\n };\n\n URI.ensureValidHostname = function(v, protocol) {\n // Theoretically URIs allow percent-encoding in Hostnames (according to RFC 3986)\n // they are not part of DNS and therefore ignored by URI.js\n\n var hasHostname = !!v; // not null and not an empty string\n var hasProtocol = !!protocol;\n var rejectEmptyHostname = false;\n\n if (hasProtocol) {\n rejectEmptyHostname = arrayContains(URI.hostProtocols, protocol);\n }\n\n if (rejectEmptyHostname && !hasHostname) {\n throw new TypeError('Hostname cannot be empty, if protocol is ' + protocol);\n } else if (v && v.match(URI.invalid_hostname_characters)) {\n // test punycode\n if (!punycode) {\n throw new TypeError('Hostname \"' + v + '\" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');\n }\n if (punycode.toASCII(v).match(URI.invalid_hostname_characters)) {\n throw new TypeError('Hostname \"' + v + '\" contains characters other than [A-Z0-9.-:_]');\n }\n }\n };\n\n URI.ensureValidPort = function (v) {\n if (!v) {\n return;\n }\n\n var port = Number(v);\n if (isInteger(port) && (port > 0) && (port < 65536)) {\n return;\n }\n\n throw new TypeError('Port \"' + v + '\" is not a valid port');\n };\n\n // noConflict\n URI.noConflict = function(removeAll) {\n if (removeAll) {\n var unconflicted = {\n URI: this.noConflict()\n };\n\n if (root.URITemplate && typeof root.URITemplate.noConflict === 'function') {\n unconflicted.URITemplate = root.URITemplate.noConflict();\n }\n\n if (root.IPv6 && typeof root.IPv6.noConflict === 'function') {\n unconflicted.IPv6 = root.IPv6.noConflict();\n }\n\n if (root.SecondLevelDomains && typeof root.SecondLevelDomains.noConflict === 'function') {\n unconflicted.SecondLevelDomains = root.SecondLevelDomains.noConflict();\n }\n\n return unconflicted;\n } else if (root.URI === this) {\n root.URI = _URI;\n }\n\n return this;\n };\n\n p.build = function(deferBuild) {\n if (deferBuild === true) {\n this._deferred_build = true;\n } else if (deferBuild === undefined || this._deferred_build) {\n this._string = URI.build(this._parts);\n this._deferred_build = false;\n }\n\n return this;\n };\n\n p.clone = function() {\n return new URI(this);\n };\n\n p.valueOf = p.toString = function() {\n return this.build(false)._string;\n };\n\n\n function generateSimpleAccessor(_part){\n return function(v, build) {\n if (v === undefined) {\n return this._parts[_part] || '';\n } else {\n this._parts[_part] = v || null;\n this.build(!build);\n return this;\n }\n };\n }\n\n function generatePrefixAccessor(_part, _key){\n return function(v, build) {\n if (v === undefined) {\n return this._parts[_part] || '';\n } else {\n if (v !== null) {\n v = v + '';\n if (v.charAt(0) === _key) {\n v = v.substring(1);\n }\n }\n\n this._parts[_part] = v;\n this.build(!build);\n return this;\n }\n };\n }\n\n p.protocol = generateSimpleAccessor('protocol');\n p.username = generateSimpleAccessor('username');\n p.password = generateSimpleAccessor('password');\n p.hostname = generateSimpleAccessor('hostname');\n p.port = generateSimpleAccessor('port');\n p.query = generatePrefixAccessor('query', '?');\n p.fragment = generatePrefixAccessor('fragment', '#');\n\n p.search = function(v, build) {\n var t = this.query(v, build);\n return typeof t === 'string' && t.length ? ('?' + t) : t;\n };\n p.hash = function(v, build) {\n var t = this.fragment(v, build);\n return typeof t === 'string' && t.length ? ('#' + t) : t;\n };\n\n p.pathname = function(v, build) {\n if (v === undefined || v === true) {\n var res = this._parts.path || (this._parts.hostname ? '/' : '');\n return v ? (this._parts.urn ? URI.decodeUrnPath : URI.decodePath)(res) : res;\n } else {\n if (this._parts.urn) {\n this._parts.path = v ? URI.recodeUrnPath(v) : '';\n } else {\n this._parts.path = v ? URI.recodePath(v) : '/';\n }\n this.build(!build);\n return this;\n }\n };\n p.path = p.pathname;\n p.href = function(href, build) {\n var key;\n\n if (href === undefined) {\n return this.toString();\n }\n\n this._string = '';\n this._parts = URI._parts();\n\n var _URI = href instanceof URI;\n var _object = typeof href === 'object' && (href.hostname || href.path || href.pathname);\n if (href.nodeName) {\n var attribute = URI.getDomAttribute(href);\n href = href[attribute] || '';\n _object = false;\n }\n\n // window.location is reported to be an object, but it's not the sort\n // of object we're looking for:\n // * location.protocol ends with a colon\n // * location.query != object.search\n // * location.hash != object.fragment\n // simply serializing the unknown object should do the trick\n // (for location, not for everything...)\n if (!_URI && _object && href.pathname !== undefined) {\n href = href.toString();\n }\n\n if (typeof href === 'string' || href instanceof String) {\n this._parts = URI.parse(String(href), this._parts);\n } else if (_URI || _object) {\n var src = _URI ? href._parts : href;\n for (key in src) {\n if (key === 'query') { continue; }\n if (hasOwn.call(this._parts, key)) {\n this._parts[key] = src[key];\n }\n }\n if (src.query) {\n this.query(src.query, false);\n }\n } else {\n throw new TypeError('invalid input');\n }\n\n this.build(!build);\n return this;\n };\n\n // identification accessors\n p.is = function(what) {\n var ip = false;\n var ip4 = false;\n var ip6 = false;\n var name = false;\n var sld = false;\n var idn = false;\n var punycode = false;\n var relative = !this._parts.urn;\n\n if (this._parts.hostname) {\n relative = false;\n ip4 = URI.ip4_expression.test(this._parts.hostname);\n ip6 = URI.ip6_expression.test(this._parts.hostname);\n ip = ip4 || ip6;\n name = !ip;\n sld = name && SLD && SLD.has(this._parts.hostname);\n idn = name && URI.idn_expression.test(this._parts.hostname);\n punycode = name && URI.punycode_expression.test(this._parts.hostname);\n }\n\n switch (what.toLowerCase()) {\n case 'relative':\n return relative;\n\n case 'absolute':\n return !relative;\n\n // hostname identification\n case 'domain':\n case 'name':\n return name;\n\n case 'sld':\n return sld;\n\n case 'ip':\n return ip;\n\n case 'ip4':\n case 'ipv4':\n case 'inet4':\n return ip4;\n\n case 'ip6':\n case 'ipv6':\n case 'inet6':\n return ip6;\n\n case 'idn':\n return idn;\n\n case 'url':\n return !this._parts.urn;\n\n case 'urn':\n return !!this._parts.urn;\n\n case 'punycode':\n return punycode;\n }\n\n return null;\n };\n\n // component specific input validation\n var _protocol = p.protocol;\n var _port = p.port;\n var _hostname = p.hostname;\n\n p.protocol = function(v, build) {\n if (v) {\n // accept trailing ://\n v = v.replace(/:(\\/\\/)?$/, '');\n\n if (!v.match(URI.protocol_expression)) {\n throw new TypeError('Protocol \"' + v + '\" contains characters other than [A-Z0-9.+-] or doesn\\'t start with [A-Z]');\n }\n }\n\n return _protocol.call(this, v, build);\n };\n p.scheme = p.protocol;\n p.port = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v !== undefined) {\n if (v === 0) {\n v = null;\n }\n\n if (v) {\n v += '';\n if (v.charAt(0) === ':') {\n v = v.substring(1);\n }\n\n URI.ensureValidPort(v);\n }\n }\n return _port.call(this, v, build);\n };\n p.hostname = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v !== undefined) {\n var x = { preventInvalidHostname: this._parts.preventInvalidHostname };\n var res = URI.parseHost(v, x);\n if (res !== '/') {\n throw new TypeError('Hostname \"' + v + '\" contains characters other than [A-Z0-9.-]');\n }\n\n v = x.hostname;\n if (this._parts.preventInvalidHostname) {\n URI.ensureValidHostname(v, this._parts.protocol);\n }\n }\n\n return _hostname.call(this, v, build);\n };\n\n // compound accessors\n p.origin = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined) {\n var protocol = this.protocol();\n var authority = this.authority();\n if (!authority) {\n return '';\n }\n\n return (protocol ? protocol + '://' : '') + this.authority();\n } else {\n var origin = URI(v);\n this\n .protocol(origin.protocol())\n .authority(origin.authority())\n .build(!build);\n return this;\n }\n };\n p.host = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined) {\n return this._parts.hostname ? URI.buildHost(this._parts) : '';\n } else {\n var res = URI.parseHost(v, this._parts);\n if (res !== '/') {\n throw new TypeError('Hostname \"' + v + '\" contains characters other than [A-Z0-9.-]');\n }\n\n this.build(!build);\n return this;\n }\n };\n p.authority = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined) {\n return this._parts.hostname ? URI.buildAuthority(this._parts) : '';\n } else {\n var res = URI.parseAuthority(v, this._parts);\n if (res !== '/') {\n throw new TypeError('Hostname \"' + v + '\" contains characters other than [A-Z0-9.-]');\n }\n\n this.build(!build);\n return this;\n }\n };\n p.userinfo = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined) {\n var t = URI.buildUserinfo(this._parts);\n return t ? t.substring(0, t.length -1) : t;\n } else {\n if (v[v.length-1] !== '@') {\n v += '@';\n }\n\n URI.parseUserinfo(v, this._parts);\n this.build(!build);\n return this;\n }\n };\n p.resource = function(v, build) {\n var parts;\n\n if (v === undefined) {\n return this.path() + this.search() + this.hash();\n }\n\n parts = URI.parse(v);\n this._parts.path = parts.path;\n this._parts.query = parts.query;\n this._parts.fragment = parts.fragment;\n this.build(!build);\n return this;\n };\n\n // fraction accessors\n p.subdomain = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n // convenience, return \"www\" from \"www.example.org\"\n if (v === undefined) {\n if (!this._parts.hostname || this.is('IP')) {\n return '';\n }\n\n // grab domain and add another segment\n var end = this._parts.hostname.length - this.domain().length - 1;\n return this._parts.hostname.substring(0, end) || '';\n } else {\n var e = this._parts.hostname.length - this.domain().length;\n var sub = this._parts.hostname.substring(0, e);\n var replace = new RegExp('^' + escapeRegEx(sub));\n\n if (v && v.charAt(v.length - 1) !== '.') {\n v += '.';\n }\n\n if (v.indexOf(':') !== -1) {\n throw new TypeError('Domains cannot contain colons');\n }\n\n if (v) {\n URI.ensureValidHostname(v, this._parts.protocol);\n }\n\n this._parts.hostname = this._parts.hostname.replace(replace, v);\n this.build(!build);\n return this;\n }\n };\n p.domain = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (typeof v === 'boolean') {\n build = v;\n v = undefined;\n }\n\n // convenience, return \"example.org\" from \"www.example.org\"\n if (v === undefined) {\n if (!this._parts.hostname || this.is('IP')) {\n return '';\n }\n\n // if hostname consists of 1 or 2 segments, it must be the domain\n var t = this._parts.hostname.match(/\\./g);\n if (t && t.length < 2) {\n return this._parts.hostname;\n }\n\n // grab tld and add another segment\n var end = this._parts.hostname.length - this.tld(build).length - 1;\n end = this._parts.hostname.lastIndexOf('.', end -1) + 1;\n return this._parts.hostname.substring(end) || '';\n } else {\n if (!v) {\n throw new TypeError('cannot set domain empty');\n }\n\n if (v.indexOf(':') !== -1) {\n throw new TypeError('Domains cannot contain colons');\n }\n\n URI.ensureValidHostname(v, this._parts.protocol);\n\n if (!this._parts.hostname || this.is('IP')) {\n this._parts.hostname = v;\n } else {\n var replace = new RegExp(escapeRegEx(this.domain()) + '$');\n this._parts.hostname = this._parts.hostname.replace(replace, v);\n }\n\n this.build(!build);\n return this;\n }\n };\n p.tld = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (typeof v === 'boolean') {\n build = v;\n v = undefined;\n }\n\n // return \"org\" from \"www.example.org\"\n if (v === undefined) {\n if (!this._parts.hostname || this.is('IP')) {\n return '';\n }\n\n var pos = this._parts.hostname.lastIndexOf('.');\n var tld = this._parts.hostname.substring(pos + 1);\n\n if (build !== true && SLD && SLD.list[tld.toLowerCase()]) {\n return SLD.get(this._parts.hostname) || tld;\n }\n\n return tld;\n } else {\n var replace;\n\n if (!v) {\n throw new TypeError('cannot set TLD empty');\n } else if (v.match(/[^a-zA-Z0-9-]/)) {\n if (SLD && SLD.is(v)) {\n replace = new RegExp(escapeRegEx(this.tld()) + '$');\n this._parts.hostname = this._parts.hostname.replace(replace, v);\n } else {\n throw new TypeError('TLD \"' + v + '\" contains characters other than [A-Z0-9]');\n }\n } else if (!this._parts.hostname || this.is('IP')) {\n throw new ReferenceError('cannot set TLD on non-domain host');\n } else {\n replace = new RegExp(escapeRegEx(this.tld()) + '$');\n this._parts.hostname = this._parts.hostname.replace(replace, v);\n }\n\n this.build(!build);\n return this;\n }\n };\n p.directory = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined || v === true) {\n if (!this._parts.path && !this._parts.hostname) {\n return '';\n }\n\n if (this._parts.path === '/') {\n return '/';\n }\n\n var end = this._parts.path.length - this.filename().length - 1;\n var res = this._parts.path.substring(0, end) || (this._parts.hostname ? '/' : '');\n\n return v ? URI.decodePath(res) : res;\n\n } else {\n var e = this._parts.path.length - this.filename().length;\n var directory = this._parts.path.substring(0, e);\n var replace = new RegExp('^' + escapeRegEx(directory));\n\n // fully qualifier directories begin with a slash\n if (!this.is('relative')) {\n if (!v) {\n v = '/';\n }\n\n if (v.charAt(0) !== '/') {\n v = '/' + v;\n }\n }\n\n // directories always end with a slash\n if (v && v.charAt(v.length - 1) !== '/') {\n v += '/';\n }\n\n v = URI.recodePath(v);\n this._parts.path = this._parts.path.replace(replace, v);\n this.build(!build);\n return this;\n }\n };\n p.filename = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (typeof v !== 'string') {\n if (!this._parts.path || this._parts.path === '/') {\n return '';\n }\n\n var pos = this._parts.path.lastIndexOf('/');\n var res = this._parts.path.substring(pos+1);\n\n return v ? URI.decodePathSegment(res) : res;\n } else {\n var mutatedDirectory = false;\n\n if (v.charAt(0) === '/') {\n v = v.substring(1);\n }\n\n if (v.match(/\\.?\\//)) {\n mutatedDirectory = true;\n }\n\n var replace = new RegExp(escapeRegEx(this.filename()) + '$');\n v = URI.recodePath(v);\n this._parts.path = this._parts.path.replace(replace, v);\n\n if (mutatedDirectory) {\n this.normalizePath(build);\n } else {\n this.build(!build);\n }\n\n return this;\n }\n };\n p.suffix = function(v, build) {\n if (this._parts.urn) {\n return v === undefined ? '' : this;\n }\n\n if (v === undefined || v === true) {\n if (!this._parts.path || this._parts.path === '/') {\n return '';\n }\n\n var filename = this.filename();\n var pos = filename.lastIndexOf('.');\n var s, res;\n\n if (pos === -1) {\n return '';\n }\n\n // suffix may only contain alnum characters (yup, I made this up.)\n s = filename.substring(pos+1);\n res = (/^[a-z0-9%]+$/i).test(s) ? s : '';\n return v ? URI.decodePathSegment(res) : res;\n } else {\n if (v.charAt(0) === '.') {\n v = v.substring(1);\n }\n\n var suffix = this.suffix();\n var replace;\n\n if (!suffix) {\n if (!v) {\n return this;\n }\n\n this._parts.path += '.' + URI.recodePath(v);\n } else if (!v) {\n replace = new RegExp(escapeRegEx('.' + suffix) + '$');\n } else {\n replace = new RegExp(escapeRegEx(suffix) + '$');\n }\n\n if (replace) {\n v = URI.recodePath(v);\n this._parts.path = this._parts.path.replace(replace, v);\n }\n\n this.build(!build);\n return this;\n }\n };\n p.segment = function(segment, v, build) {\n var separator = this._parts.urn ? ':' : '/';\n var path = this.path();\n var absolute = path.substring(0, 1) === '/';\n var segments = path.split(separator);\n\n if (segment !== undefined && typeof segment !== 'number') {\n build = v;\n v = segment;\n segment = undefined;\n }\n\n if (segment !== undefined && typeof segment !== 'number') {\n throw new Error('Bad segment \"' + segment + '\", must be 0-based integer');\n }\n\n if (absolute) {\n segments.shift();\n }\n\n if (segment < 0) {\n // allow negative indexes to address from the end\n segment = Math.max(segments.length + segment, 0);\n }\n\n if (v === undefined) {\n /*jshint laxbreak: true */\n return segment === undefined\n ? segments\n : segments[segment];\n /*jshint laxbreak: false */\n } else if (segment === null || segments[segment] === undefined) {\n if (isArray(v)) {\n segments = [];\n // collapse empty elements within array\n for (var i=0, l=v.length; i < l; i++) {\n if (!v[i].length && (!segments.length || !segments[segments.length -1].length)) {\n continue;\n }\n\n if (segments.length && !segments[segments.length -1].length) {\n segments.pop();\n }\n\n segments.push(trimSlashes(v[i]));\n }\n } else if (v || typeof v === 'string') {\n v = trimSlashes(v);\n if (segments[segments.length -1] === '') {\n // empty trailing elements have to be overwritten\n // to prevent results such as /foo//bar\n segments[segments.length -1] = v;\n } else {\n segments.push(v);\n }\n }\n } else {\n if (v) {\n segments[segment] = trimSlashes(v);\n } else {\n segments.splice(segment, 1);\n }\n }\n\n if (absolute) {\n segments.unshift('');\n }\n\n return this.path(segments.join(separator), build);\n };\n p.segmentCoded = function(segment, v, build) {\n var segments, i, l;\n\n if (typeof segment !== 'number') {\n build = v;\n v = segment;\n segment = undefined;\n }\n\n if (v === undefined) {\n segments = this.segment(segment, v, build);\n if (!isArray(segments)) {\n segments = segments !== undefined ? URI.decode(segments) : undefined;\n } else {\n for (i = 0, l = segments.length; i < l; i++) {\n segments[i] = URI.decode(segments[i]);\n }\n }\n\n return segments;\n }\n\n if (!isArray(v)) {\n v = (typeof v === 'string' || v instanceof String) ? URI.encode(v) : v;\n } else {\n for (i = 0, l = v.length; i < l; i++) {\n v[i] = URI.encode(v[i]);\n }\n }\n\n return this.segment(segment, v, build);\n };\n\n // mutating query string\n var q = p.query;\n p.query = function(v, build) {\n if (v === true) {\n return URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n } else if (typeof v === 'function') {\n var data = URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n var result = v.call(this, data);\n this._parts.query = URI.buildQuery(result || data, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace);\n this.build(!build);\n return this;\n } else if (v !== undefined && typeof v !== 'string') {\n this._parts.query = URI.buildQuery(v, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace);\n this.build(!build);\n return this;\n } else {\n return q.call(this, v, build);\n }\n };\n p.setQuery = function(name, value, build) {\n var data = URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n\n if (typeof name === 'string' || name instanceof String) {\n data[name] = value !== undefined ? value : null;\n } else if (typeof name === 'object') {\n for (var key in name) {\n if (hasOwn.call(name, key)) {\n data[key] = name[key];\n }\n }\n } else {\n throw new TypeError('URI.addQuery() accepts an object, string as the name parameter');\n }\n\n this._parts.query = URI.buildQuery(data, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace);\n if (typeof name !== 'string') {\n build = value;\n }\n\n this.build(!build);\n return this;\n };\n p.addQuery = function(name, value, build) {\n var data = URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n URI.addQuery(data, name, value === undefined ? null : value);\n this._parts.query = URI.buildQuery(data, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace);\n if (typeof name !== 'string') {\n build = value;\n }\n\n this.build(!build);\n return this;\n };\n p.removeQuery = function(name, value, build) {\n var data = URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n URI.removeQuery(data, name, value);\n this._parts.query = URI.buildQuery(data, this._parts.duplicateQueryParameters, this._parts.escapeQuerySpace);\n if (typeof name !== 'string') {\n build = value;\n }\n\n this.build(!build);\n return this;\n };\n p.hasQuery = function(name, value, withinArray) {\n var data = URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace);\n return URI.hasQuery(data, name, value, withinArray);\n };\n p.setSearch = p.setQuery;\n p.addSearch = p.addQuery;\n p.removeSearch = p.removeQuery;\n p.hasSearch = p.hasQuery;\n\n // sanitizing URLs\n p.normalize = function() {\n if (this._parts.urn) {\n return this\n .normalizeProtocol(false)\n .normalizePath(false)\n .normalizeQuery(false)\n .normalizeFragment(false)\n .build();\n }\n\n return this\n .normalizeProtocol(false)\n .normalizeHostname(false)\n .normalizePort(false)\n .normalizePath(false)\n .normalizeQuery(false)\n .normalizeFragment(false)\n .build();\n };\n p.normalizeProtocol = function(build) {\n if (typeof this._parts.protocol === 'string') {\n this._parts.protocol = this._parts.protocol.toLowerCase();\n this.build(!build);\n }\n\n return this;\n };\n p.normalizeHostname = function(build) {\n if (this._parts.hostname) {\n if (this.is('IDN') && punycode) {\n this._parts.hostname = punycode.toASCII(this._parts.hostname);\n } else if (this.is('IPv6') && IPv6) {\n this._parts.hostname = IPv6.best(this._parts.hostname);\n }\n\n this._parts.hostname = this._parts.hostname.toLowerCase();\n this.build(!build);\n }\n\n return this;\n };\n p.normalizePort = function(build) {\n // remove port of it's the protocol's default\n if (typeof this._parts.protocol === 'string' && this._parts.port === URI.defaultPorts[this._parts.protocol]) {\n this._parts.port = null;\n this.build(!build);\n }\n\n return this;\n };\n p.normalizePath = function(build) {\n var _path = this._parts.path;\n if (!_path) {\n return this;\n }\n\n if (this._parts.urn) {\n this._parts.path = URI.recodeUrnPath(this._parts.path);\n this.build(!build);\n return this;\n }\n\n if (this._parts.path === '/') {\n return this;\n }\n\n _path = URI.recodePath(_path);\n\n var _was_relative;\n var _leadingParents = '';\n var _parent, _pos;\n\n // handle relative paths\n if (_path.charAt(0) !== '/') {\n _was_relative = true;\n _path = '/' + _path;\n }\n\n // handle relative files (as opposed to directories)\n if (_path.slice(-3) === '/..' || _path.slice(-2) === '/.') {\n _path += '/';\n }\n\n // resolve simples\n _path = _path\n .replace(/(\\/(\\.\\/)+)|(\\/\\.$)/g, '/')\n .replace(/\\/{2,}/g, '/');\n\n // remember leading parents\n if (_was_relative) {\n _leadingParents = _path.substring(1).match(/^(\\.\\.\\/)+/) || '';\n if (_leadingParents) {\n _leadingParents = _leadingParents[0];\n }\n }\n\n // resolve parents\n while (true) {\n _parent = _path.search(/\\/\\.\\.(\\/|$)/);\n if (_parent === -1) {\n // no more ../ to resolve\n break;\n } else if (_parent === 0) {\n // top level cannot be relative, skip it\n _path = _path.substring(3);\n continue;\n }\n\n _pos = _path.substring(0, _parent).lastIndexOf('/');\n if (_pos === -1) {\n _pos = _parent;\n }\n _path = _path.substring(0, _pos) + _path.substring(_parent + 3);\n }\n\n // revert to relative\n if (_was_relative && this.is('relative')) {\n _path = _leadingParents + _path.substring(1);\n }\n\n this._parts.path = _path;\n this.build(!build);\n return this;\n };\n p.normalizePathname = p.normalizePath;\n p.normalizeQuery = function(build) {\n if (typeof this._parts.query === 'string') {\n if (!this._parts.query.length) {\n this._parts.query = null;\n } else {\n this.query(URI.parseQuery(this._parts.query, this._parts.escapeQuerySpace));\n }\n\n this.build(!build);\n }\n\n return this;\n };\n p.normalizeFragment = function(build) {\n if (!this._parts.fragment) {\n this._parts.fragment = null;\n this.build(!build);\n }\n\n return this;\n };\n p.normalizeSearch = p.normalizeQuery;\n p.normalizeHash = p.normalizeFragment;\n\n p.iso8859 = function() {\n // expect unicode input, iso8859 output\n var e = URI.encode;\n var d = URI.decode;\n\n URI.encode = escape;\n URI.decode = decodeURIComponent;\n try {\n this.normalize();\n } finally {\n URI.encode = e;\n URI.decode = d;\n }\n return this;\n };\n\n p.unicode = function() {\n // expect iso8859 input, unicode output\n var e = URI.encode;\n var d = URI.decode;\n\n URI.encode = strictEncodeURIComponent;\n URI.decode = unescape;\n try {\n this.normalize();\n } finally {\n URI.encode = e;\n URI.decode = d;\n }\n return this;\n };\n\n p.readable = function() {\n var uri = this.clone();\n // removing username, password, because they shouldn't be displayed according to RFC 3986\n uri.username('').password('').normalize();\n var t = '';\n if (uri._parts.protocol) {\n t += uri._parts.protocol + '://';\n }\n\n if (uri._parts.hostname) {\n if (uri.is('punycode') && punycode) {\n t += punycode.toUnicode(uri._parts.hostname);\n if (uri._parts.port) {\n t += ':' + uri._parts.port;\n }\n } else {\n t += uri.host();\n }\n }\n\n if (uri._parts.hostname && uri._parts.path && uri._parts.path.charAt(0) !== '/') {\n t += '/';\n }\n\n t += uri.path(true);\n if (uri._parts.query) {\n var q = '';\n for (var i = 0, qp = uri._parts.query.split('&'), l = qp.length; i < l; i++) {\n var kv = (qp[i] || '').split('=');\n q += '&' + URI.decodeQuery(kv[0], this._parts.escapeQuerySpace)\n .replace(/&/g, '%26');\n\n if (kv[1] !== undefined) {\n q += '=' + URI.decodeQuery(kv[1], this._parts.escapeQuerySpace)\n .replace(/&/g, '%26');\n }\n }\n t += '?' + q.substring(1);\n }\n\n t += URI.decodeQuery(uri.hash(), true);\n return t;\n };\n\n // resolving relative and absolute URLs\n p.absoluteTo = function(base) {\n var resolved = this.clone();\n var properties = ['protocol', 'username', 'password', 'hostname', 'port'];\n var basedir, i, p;\n\n if (this._parts.urn) {\n throw new Error('URNs do not have any generally defined hierarchical components');\n }\n\n if (!(base instanceof URI)) {\n base = new URI(base);\n }\n\n if (resolved._parts.protocol) {\n // Directly returns even if this._parts.hostname is empty.\n return resolved;\n } else {\n resolved._parts.protocol = base._parts.protocol;\n }\n\n if (this._parts.hostname) {\n return resolved;\n }\n\n for (i = 0; (p = properties[i]); i++) {\n resolved._parts[p] = base._parts[p];\n }\n\n if (!resolved._parts.path) {\n resolved._parts.path = base._parts.path;\n if (!resolved._parts.query) {\n resolved._parts.query = base._parts.query;\n }\n } else {\n if (resolved._parts.path.substring(-2) === '..') {\n resolved._parts.path += '/';\n }\n\n if (resolved.path().charAt(0) !== '/') {\n basedir = base.directory();\n basedir = basedir ? basedir : base.path().indexOf('/') === 0 ? '/' : '';\n resolved._parts.path = (basedir ? (basedir + '/') : '') + resolved._parts.path;\n resolved.normalizePath();\n }\n }\n\n resolved.build();\n return resolved;\n };\n p.relativeTo = function(base) {\n var relative = this.clone().normalize();\n var relativeParts, baseParts, common, relativePath, basePath;\n\n if (relative._parts.urn) {\n throw new Error('URNs do not have any generally defined hierarchical components');\n }\n\n base = new URI(base).normalize();\n relativeParts = relative._parts;\n baseParts = base._parts;\n relativePath = relative.path();\n basePath = base.path();\n\n if (relativePath.charAt(0) !== '/') {\n throw new Error('URI is already relative');\n }\n\n if (basePath.charAt(0) !== '/') {\n throw new Error('Cannot calculate a URI relative to another relative URI');\n }\n\n if (relativeParts.protocol === baseParts.protocol) {\n relativeParts.protocol = null;\n }\n\n if (relativeParts.username !== baseParts.username || relativeParts.password !== baseParts.password) {\n return relative.build();\n }\n\n if (relativeParts.protocol !== null || relativeParts.username !== null || relativeParts.password !== null) {\n return relative.build();\n }\n\n if (relativeParts.hostname === baseParts.hostname && relativeParts.port === baseParts.port) {\n relativeParts.hostname = null;\n relativeParts.port = null;\n } else {\n return relative.build();\n }\n\n if (relativePath === basePath) {\n relativeParts.path = '';\n return relative.build();\n }\n\n // determine common sub path\n common = URI.commonPath(relativePath, basePath);\n\n // If the paths have nothing in common, return a relative URL with the absolute path.\n if (!common) {\n return relative.build();\n }\n\n var parents = baseParts.path\n .substring(common.length)\n .replace(/[^\\/]*$/, '')\n .replace(/.*?\\//g, '../');\n\n relativeParts.path = (parents + relativeParts.path.substring(common.length)) || './';\n\n return relative.build();\n };\n\n // comparing URIs\n p.equals = function(uri) {\n var one = this.clone();\n var two = new URI(uri);\n var one_map = {};\n var two_map = {};\n var checked = {};\n var one_query, two_query, key;\n\n one.normalize();\n two.normalize();\n\n // exact match\n if (one.toString() === two.toString()) {\n return true;\n }\n\n // extract query string\n one_query = one.query();\n two_query = two.query();\n one.query('');\n two.query('');\n\n // definitely not equal if not even non-query parts match\n if (one.toString() !== two.toString()) {\n return false;\n }\n\n // query parameters have the same length, even if they're permuted\n if (one_query.length !== two_query.length) {\n return false;\n }\n\n one_map = URI.parseQuery(one_query, this._parts.escapeQuerySpace);\n two_map = URI.parseQuery(two_query, this._parts.escapeQuerySpace);\n\n for (key in one_map) {\n if (hasOwn.call(one_map, key)) {\n if (!isArray(one_map[key])) {\n if (one_map[key] !== two_map[key]) {\n return false;\n }\n } else if (!arraysEqual(one_map[key], two_map[key])) {\n return false;\n }\n\n checked[key] = true;\n }\n }\n\n for (key in two_map) {\n if (hasOwn.call(two_map, key)) {\n if (!checked[key]) {\n // two contains a parameter not present in one\n return false;\n }\n }\n }\n\n return true;\n };\n\n // state\n p.preventInvalidHostname = function(v) {\n this._parts.preventInvalidHostname = !!v;\n return this;\n };\n\n p.duplicateQueryParameters = function(v) {\n this._parts.duplicateQueryParameters = !!v;\n return this;\n };\n\n p.escapeQuerySpace = function(v) {\n this._parts.escapeQuerySpace = !!v;\n return this;\n };\n\n return URI;\n}));\n","/*! https://mths.be/punycode v1.4.0 by @mathias */\n;(function(root) {\n\n\t/** Detect free variables */\n\tvar freeExports = typeof exports == 'object' && exports &&\n\t\t!exports.nodeType && exports;\n\tvar freeModule = typeof module == 'object' && module &&\n\t\t!module.nodeType && module;\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (\n\t\tfreeGlobal.global === freeGlobal ||\n\t\tfreeGlobal.window === freeGlobal ||\n\t\tfreeGlobal.self === freeGlobal\n\t) {\n\t\troot = freeGlobal;\n\t}\n\n\t/**\n\t * The `punycode` object.\n\t * @name punycode\n\t * @type Object\n\t */\n\tvar punycode,\n\n\t/** Highest positive signed 32-bit float value */\n\tmaxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1\n\n\t/** Bootstring parameters */\n\tbase = 36,\n\ttMin = 1,\n\ttMax = 26,\n\tskew = 38,\n\tdamp = 700,\n\tinitialBias = 72,\n\tinitialN = 128, // 0x80\n\tdelimiter = '-', // '\\x2D'\n\n\t/** Regular expressions */\n\tregexPunycode = /^xn--/,\n\tregexNonASCII = /[^\\x20-\\x7E]/, // unprintable ASCII chars + non-ASCII chars\n\tregexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g, // RFC 3490 separators\n\n\t/** Error messages */\n\terrors = {\n\t\t'overflow': 'Overflow: input needs wider integers to process',\n\t\t'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n\t\t'invalid-input': 'Invalid input'\n\t},\n\n\t/** Convenience shortcuts */\n\tbaseMinusTMin = base - tMin,\n\tfloor = Math.floor,\n\tstringFromCharCode = String.fromCharCode,\n\n\t/** Temporary variable */\n\tkey;\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/**\n\t * A generic error utility function.\n\t * @private\n\t * @param {String} type The error type.\n\t * @returns {Error} Throws a `RangeError` with the applicable error message.\n\t */\n\tfunction error(type) {\n\t\tthrow new RangeError(errors[type]);\n\t}\n\n\t/**\n\t * A generic `Array#map` utility function.\n\t * @private\n\t * @param {Array} array The array to iterate over.\n\t * @param {Function} callback The function that gets called for every array\n\t * item.\n\t * @returns {Array} A new array of values returned by the callback function.\n\t */\n\tfunction map(array, fn) {\n\t\tvar length = array.length;\n\t\tvar result = [];\n\t\twhile (length--) {\n\t\t\tresult[length] = fn(array[length]);\n\t\t}\n\t\treturn result;\n\t}\n\n\t/**\n\t * A simple `Array#map`-like wrapper to work with domain name strings or email\n\t * addresses.\n\t * @private\n\t * @param {String} domain The domain name or email address.\n\t * @param {Function} callback The function that gets called for every\n\t * character.\n\t * @returns {Array} A new string of characters returned by the callback\n\t * function.\n\t */\n\tfunction mapDomain(string, fn) {\n\t\tvar parts = string.split('@');\n\t\tvar result = '';\n\t\tif (parts.length > 1) {\n\t\t\t// In email addresses, only the domain name should be punycoded. Leave\n\t\t\t// the local part (i.e. everything up to `@`) intact.\n\t\t\tresult = parts[0] + '@';\n\t\t\tstring = parts[1];\n\t\t}\n\t\t// Avoid `split(regex)` for IE8 compatibility. See #17.\n\t\tstring = string.replace(regexSeparators, '\\x2E');\n\t\tvar labels = string.split('.');\n\t\tvar encoded = map(labels, fn).join('.');\n\t\treturn result + encoded;\n\t}\n\n\t/**\n\t * Creates an array containing the numeric code points of each Unicode\n\t * character in the string. While JavaScript uses UCS-2 internally,\n\t * this function will convert a pair of surrogate halves (each of which\n\t * UCS-2 exposes as separate characters) into a single code point,\n\t * matching UTF-16.\n\t * @see `punycode.ucs2.encode`\n\t * @see \n\t * @memberOf punycode.ucs2\n\t * @name decode\n\t * @param {String} string The Unicode input string (UCS-2).\n\t * @returns {Array} The new array of code points.\n\t */\n\tfunction ucs2decode(string) {\n\t\tvar output = [],\n\t\t counter = 0,\n\t\t length = string.length,\n\t\t value,\n\t\t extra;\n\t\twhile (counter < length) {\n\t\t\tvalue = string.charCodeAt(counter++);\n\t\t\tif (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n\t\t\t\t// high surrogate, and there is a next character\n\t\t\t\textra = string.charCodeAt(counter++);\n\t\t\t\tif ((extra & 0xFC00) == 0xDC00) { // low surrogate\n\t\t\t\t\toutput.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n\t\t\t\t} else {\n\t\t\t\t\t// unmatched surrogate; only append this code unit, in case the next\n\t\t\t\t\t// code unit is the high surrogate of a surrogate pair\n\t\t\t\t\toutput.push(value);\n\t\t\t\t\tcounter--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\toutput.push(value);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t}\n\n\t/**\n\t * Creates a string based on an array of numeric code points.\n\t * @see `punycode.ucs2.decode`\n\t * @memberOf punycode.ucs2\n\t * @name encode\n\t * @param {Array} codePoints The array of numeric code points.\n\t * @returns {String} The new Unicode string (UCS-2).\n\t */\n\tfunction ucs2encode(array) {\n\t\treturn map(array, function(value) {\n\t\t\tvar output = '';\n\t\t\tif (value > 0xFFFF) {\n\t\t\t\tvalue -= 0x10000;\n\t\t\t\toutput += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n\t\t\t\tvalue = 0xDC00 | value & 0x3FF;\n\t\t\t}\n\t\t\toutput += stringFromCharCode(value);\n\t\t\treturn output;\n\t\t}).join('');\n\t}\n\n\t/**\n\t * Converts a basic code point into a digit/integer.\n\t * @see `digitToBasic()`\n\t * @private\n\t * @param {Number} codePoint The basic numeric code point value.\n\t * @returns {Number} The numeric value of a basic code point (for use in\n\t * representing integers) in the range `0` to `base - 1`, or `base` if\n\t * the code point does not represent a value.\n\t */\n\tfunction basicToDigit(codePoint) {\n\t\tif (codePoint - 48 < 10) {\n\t\t\treturn codePoint - 22;\n\t\t}\n\t\tif (codePoint - 65 < 26) {\n\t\t\treturn codePoint - 65;\n\t\t}\n\t\tif (codePoint - 97 < 26) {\n\t\t\treturn codePoint - 97;\n\t\t}\n\t\treturn base;\n\t}\n\n\t/**\n\t * Converts a digit/integer into a basic code point.\n\t * @see `basicToDigit()`\n\t * @private\n\t * @param {Number} digit The numeric value of a basic code point.\n\t * @returns {Number} The basic code point whose value (when used for\n\t * representing integers) is `digit`, which needs to be in the range\n\t * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is\n\t * used; else, the lowercase form is used. The behavior is undefined\n\t * if `flag` is non-zero and `digit` has no uppercase form.\n\t */\n\tfunction digitToBasic(digit, flag) {\n\t\t// 0..25 map to ASCII a..z or A..Z\n\t\t// 26..35 map to ASCII 0..9\n\t\treturn digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n\t}\n\n\t/**\n\t * Bias adaptation function as per section 3.4 of RFC 3492.\n\t * https://tools.ietf.org/html/rfc3492#section-3.4\n\t * @private\n\t */\n\tfunction adapt(delta, numPoints, firstTime) {\n\t\tvar k = 0;\n\t\tdelta = firstTime ? floor(delta / damp) : delta >> 1;\n\t\tdelta += floor(delta / numPoints);\n\t\tfor (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) {\n\t\t\tdelta = floor(delta / baseMinusTMin);\n\t\t}\n\t\treturn floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n\t}\n\n\t/**\n\t * Converts a Punycode string of ASCII-only symbols to a string of Unicode\n\t * symbols.\n\t * @memberOf punycode\n\t * @param {String} input The Punycode string of ASCII-only symbols.\n\t * @returns {String} The resulting string of Unicode symbols.\n\t */\n\tfunction decode(input) {\n\t\t// Don't use UCS-2\n\t\tvar output = [],\n\t\t inputLength = input.length,\n\t\t out,\n\t\t i = 0,\n\t\t n = initialN,\n\t\t bias = initialBias,\n\t\t basic,\n\t\t j,\n\t\t index,\n\t\t oldi,\n\t\t w,\n\t\t k,\n\t\t digit,\n\t\t t,\n\t\t /** Cached calculation results */\n\t\t baseMinusT;\n\n\t\t// Handle the basic code points: let `basic` be the number of input code\n\t\t// points before the last delimiter, or `0` if there is none, then copy\n\t\t// the first basic code points to the output.\n\n\t\tbasic = input.lastIndexOf(delimiter);\n\t\tif (basic < 0) {\n\t\t\tbasic = 0;\n\t\t}\n\n\t\tfor (j = 0; j < basic; ++j) {\n\t\t\t// if it's not a basic code point\n\t\t\tif (input.charCodeAt(j) >= 0x80) {\n\t\t\t\terror('not-basic');\n\t\t\t}\n\t\t\toutput.push(input.charCodeAt(j));\n\t\t}\n\n\t\t// Main decoding loop: start just after the last delimiter if any basic code\n\t\t// points were copied; start at the beginning otherwise.\n\n\t\tfor (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) {\n\n\t\t\t// `index` is the index of the next character to be consumed.\n\t\t\t// Decode a generalized variable-length integer into `delta`,\n\t\t\t// which gets added to `i`. The overflow checking is easier\n\t\t\t// if we increase `i` as we go, then subtract off its starting\n\t\t\t// value at the end to obtain `delta`.\n\t\t\tfor (oldi = i, w = 1, k = base; /* no condition */; k += base) {\n\n\t\t\t\tif (index >= inputLength) {\n\t\t\t\t\terror('invalid-input');\n\t\t\t\t}\n\n\t\t\t\tdigit = basicToDigit(input.charCodeAt(index++));\n\n\t\t\t\tif (digit >= base || digit > floor((maxInt - i) / w)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\ti += digit * w;\n\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\n\t\t\t\tif (digit < t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tbaseMinusT = base - t;\n\t\t\t\tif (w > floor(maxInt / baseMinusT)) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tw *= baseMinusT;\n\n\t\t\t}\n\n\t\t\tout = output.length + 1;\n\t\t\tbias = adapt(i - oldi, out, oldi == 0);\n\n\t\t\t// `i` was supposed to wrap around from `out` to `0`,\n\t\t\t// incrementing `n` each time, so we'll fix that now:\n\t\t\tif (floor(i / out) > maxInt - n) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tn += floor(i / out);\n\t\t\ti %= out;\n\n\t\t\t// Insert `n` at position `i` of the output\n\t\t\toutput.splice(i++, 0, n);\n\n\t\t}\n\n\t\treturn ucs2encode(output);\n\t}\n\n\t/**\n\t * Converts a string of Unicode symbols (e.g. a domain name label) to a\n\t * Punycode string of ASCII-only symbols.\n\t * @memberOf punycode\n\t * @param {String} input The string of Unicode symbols.\n\t * @returns {String} The resulting Punycode string of ASCII-only symbols.\n\t */\n\tfunction encode(input) {\n\t\tvar n,\n\t\t delta,\n\t\t handledCPCount,\n\t\t basicLength,\n\t\t bias,\n\t\t j,\n\t\t m,\n\t\t q,\n\t\t k,\n\t\t t,\n\t\t currentValue,\n\t\t output = [],\n\t\t /** `inputLength` will hold the number of code points in `input`. */\n\t\t inputLength,\n\t\t /** Cached calculation results */\n\t\t handledCPCountPlusOne,\n\t\t baseMinusT,\n\t\t qMinusT;\n\n\t\t// Convert the input in UCS-2 to Unicode\n\t\tinput = ucs2decode(input);\n\n\t\t// Cache the length\n\t\tinputLength = input.length;\n\n\t\t// Initialize the state\n\t\tn = initialN;\n\t\tdelta = 0;\n\t\tbias = initialBias;\n\n\t\t// Handle the basic code points\n\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\tcurrentValue = input[j];\n\t\t\tif (currentValue < 0x80) {\n\t\t\t\toutput.push(stringFromCharCode(currentValue));\n\t\t\t}\n\t\t}\n\n\t\thandledCPCount = basicLength = output.length;\n\n\t\t// `handledCPCount` is the number of code points that have been handled;\n\t\t// `basicLength` is the number of basic code points.\n\n\t\t// Finish the basic string - if it is not empty - with a delimiter\n\t\tif (basicLength) {\n\t\t\toutput.push(delimiter);\n\t\t}\n\n\t\t// Main encoding loop:\n\t\twhile (handledCPCount < inputLength) {\n\n\t\t\t// All non-basic code points < n have been handled already. Find the next\n\t\t\t// larger one:\n\t\t\tfor (m = maxInt, j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\t\t\t\tif (currentValue >= n && currentValue < m) {\n\t\t\t\t\tm = currentValue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Increase `delta` enough to advance the decoder's state to ,\n\t\t\t// but guard against overflow\n\t\t\thandledCPCountPlusOne = handledCPCount + 1;\n\t\t\tif (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n\t\t\t\terror('overflow');\n\t\t\t}\n\n\t\t\tdelta += (m - n) * handledCPCountPlusOne;\n\t\t\tn = m;\n\n\t\t\tfor (j = 0; j < inputLength; ++j) {\n\t\t\t\tcurrentValue = input[j];\n\n\t\t\t\tif (currentValue < n && ++delta > maxInt) {\n\t\t\t\t\terror('overflow');\n\t\t\t\t}\n\n\t\t\t\tif (currentValue == n) {\n\t\t\t\t\t// Represent delta as a generalized variable-length integer\n\t\t\t\t\tfor (q = delta, k = base; /* no condition */; k += base) {\n\t\t\t\t\t\tt = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n\t\t\t\t\t\tif (q < t) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tqMinusT = q - t;\n\t\t\t\t\t\tbaseMinusT = base - t;\n\t\t\t\t\t\toutput.push(\n\t\t\t\t\t\t\tstringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0))\n\t\t\t\t\t\t);\n\t\t\t\t\t\tq = floor(qMinusT / baseMinusT);\n\t\t\t\t\t}\n\n\t\t\t\t\toutput.push(stringFromCharCode(digitToBasic(q, 0)));\n\t\t\t\t\tbias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n\t\t\t\t\tdelta = 0;\n\t\t\t\t\t++handledCPCount;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t++delta;\n\t\t\t++n;\n\n\t\t}\n\t\treturn output.join('');\n\t}\n\n\t/**\n\t * Converts a Punycode string representing a domain name or an email address\n\t * to Unicode. Only the Punycoded parts of the input will be converted, i.e.\n\t * it doesn't matter if you call it on a string that has already been\n\t * converted to Unicode.\n\t * @memberOf punycode\n\t * @param {String} input The Punycoded domain name or email address to\n\t * convert to Unicode.\n\t * @returns {String} The Unicode representation of the given Punycode\n\t * string.\n\t */\n\tfunction toUnicode(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexPunycode.test(string)\n\t\t\t\t? decode(string.slice(4).toLowerCase())\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/**\n\t * Converts a Unicode string representing a domain name or an email address to\n\t * Punycode. Only the non-ASCII parts of the domain name will be converted,\n\t * i.e. it doesn't matter if you call it with a domain that's already in\n\t * ASCII.\n\t * @memberOf punycode\n\t * @param {String} input The domain name or email address to convert, as a\n\t * Unicode string.\n\t * @returns {String} The Punycode representation of the given domain name or\n\t * email address.\n\t */\n\tfunction toASCII(input) {\n\t\treturn mapDomain(input, function(string) {\n\t\t\treturn regexNonASCII.test(string)\n\t\t\t\t? 'xn--' + encode(string)\n\t\t\t\t: string;\n\t\t});\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\t/** Define the public API */\n\tpunycode = {\n\t\t/**\n\t\t * A string representing the current Punycode.js version number.\n\t\t * @memberOf punycode\n\t\t * @type String\n\t\t */\n\t\t'version': '1.3.2',\n\t\t/**\n\t\t * An object of methods to convert from JavaScript's internal character\n\t\t * representation (UCS-2) to Unicode code points, and back.\n\t\t * @see \n\t\t * @memberOf punycode\n\t\t * @type Object\n\t\t */\n\t\t'ucs2': {\n\t\t\t'decode': ucs2decode,\n\t\t\t'encode': ucs2encode\n\t\t},\n\t\t'decode': decode,\n\t\t'encode': encode,\n\t\t'toASCII': toASCII,\n\t\t'toUnicode': toUnicode\n\t};\n\n\t/** Expose `punycode` */\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine('punycode', function() {\n\t\t\treturn punycode;\n\t\t});\n\t} else if (freeExports && freeModule) {\n\t\tif (module.exports == freeExports) {\n\t\t\t// in Node.js, io.js, or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = punycode;\n\t\t} else {\n\t\t\t// in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (key in punycode) {\n\t\t\t\tpunycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n\t\t\t}\n\t\t}\n\t} else {\n\t\t// in Rhino or a web browser\n\t\troot.punycode = punycode;\n\t}\n\n}(this));\n","/*!\n * URI.js - Mutating URLs\n * IPv6 Support\n *\n * Version: 1.19.11\n *\n * Author: Rodney Rehm\n * Web: http://medialize.github.io/URI.js/\n *\n * Licensed under\n * MIT License http://www.opensource.org/licenses/mit-license\n *\n */\n\n(function (root, factory) {\n 'use strict';\n // https://github.com/umdjs/umd/blob/master/returnExports.js\n if (typeof module === 'object' && module.exports) {\n // Node\n module.exports = factory();\n } else if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory);\n } else {\n // Browser globals (root is window)\n root.IPv6 = factory(root);\n }\n}(this, function (root) {\n 'use strict';\n\n /*\n var _in = \"fe80:0000:0000:0000:0204:61ff:fe9d:f156\";\n var _out = IPv6.best(_in);\n var _expected = \"fe80::204:61ff:fe9d:f156\";\n\n console.log(_in, _out, _expected, _out === _expected);\n */\n\n // save current IPv6 variable, if any\n var _IPv6 = root && root.IPv6;\n\n function bestPresentation(address) {\n // based on:\n // Javascript to test an IPv6 address for proper format, and to\n // present the \"best text representation\" according to IETF Draft RFC at\n // http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-04\n // 8 Feb 2010 Rich Brown, Dartware, LLC\n // Please feel free to use this code as long as you provide a link to\n // http://www.intermapper.com\n // http://intermapper.com/support/tools/IPV6-Validator.aspx\n // http://download.dartware.com/thirdparty/ipv6validator.js\n\n var _address = address.toLowerCase();\n var segments = _address.split(':');\n var length = segments.length;\n var total = 8;\n\n // trim colons (:: or ::a:b:c… or …a:b:c::)\n if (segments[0] === '' && segments[1] === '' && segments[2] === '') {\n // must have been ::\n // remove first two items\n segments.shift();\n segments.shift();\n } else if (segments[0] === '' && segments[1] === '') {\n // must have been ::xxxx\n // remove the first item\n segments.shift();\n } else if (segments[length - 1] === '' && segments[length - 2] === '') {\n // must have been xxxx::\n segments.pop();\n }\n\n length = segments.length;\n\n // adjust total segments for IPv4 trailer\n if (segments[length - 1].indexOf('.') !== -1) {\n // found a \".\" which means IPv4\n total = 7;\n }\n\n // fill empty segments them with \"0000\"\n var pos;\n for (pos = 0; pos < length; pos++) {\n if (segments[pos] === '') {\n break;\n }\n }\n\n if (pos < total) {\n segments.splice(pos, 1, '0000');\n while (segments.length < total) {\n segments.splice(pos, 0, '0000');\n }\n }\n\n // strip leading zeros\n var _segments;\n for (var i = 0; i < total; i++) {\n _segments = segments[i].split('');\n for (var j = 0; j < 3 ; j++) {\n if (_segments[0] === '0' && _segments.length > 1) {\n _segments.splice(0,1);\n } else {\n break;\n }\n }\n\n segments[i] = _segments.join('');\n }\n\n // find longest sequence of zeroes and coalesce them into one segment\n var best = -1;\n var _best = 0;\n var _current = 0;\n var current = -1;\n var inzeroes = false;\n // i; already declared\n\n for (i = 0; i < total; i++) {\n if (inzeroes) {\n if (segments[i] === '0') {\n _current += 1;\n } else {\n inzeroes = false;\n if (_current > _best) {\n best = current;\n _best = _current;\n }\n }\n } else {\n if (segments[i] === '0') {\n inzeroes = true;\n current = i;\n _current = 1;\n }\n }\n }\n\n if (_current > _best) {\n best = current;\n _best = _current;\n }\n\n if (_best > 1) {\n segments.splice(best, _best, '');\n }\n\n length = segments.length;\n\n // assemble remaining segments\n var result = '';\n if (segments[0] === '') {\n result = ':';\n }\n\n for (i = 0; i < length; i++) {\n result += segments[i];\n if (i === length - 1) {\n break;\n }\n\n result += ':';\n }\n\n if (segments[length - 1] === '') {\n result += ':';\n }\n\n return result;\n }\n\n function noConflict() {\n /*jshint validthis: true */\n if (root.IPv6 === this) {\n root.IPv6 = _IPv6;\n }\n\n return this;\n }\n\n return {\n best: bestPresentation,\n noConflict: noConflict\n };\n}));\n","/*!\n * URI.js - Mutating URLs\n * Second Level Domain (SLD) Support\n *\n * Version: 1.19.11\n *\n * Author: Rodney Rehm\n * Web: http://medialize.github.io/URI.js/\n *\n * Licensed under\n * MIT License http://www.opensource.org/licenses/mit-license\n *\n */\n\n(function (root, factory) {\n 'use strict';\n // https://github.com/umdjs/umd/blob/master/returnExports.js\n if (typeof module === 'object' && module.exports) {\n // Node\n module.exports = factory();\n } else if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory);\n } else {\n // Browser globals (root is window)\n root.SecondLevelDomains = factory(root);\n }\n}(this, function (root) {\n 'use strict';\n\n // save current SecondLevelDomains variable, if any\n var _SecondLevelDomains = root && root.SecondLevelDomains;\n\n var SLD = {\n // list of known Second Level Domains\n // converted list of SLDs from https://github.com/gavingmiller/second-level-domains\n // ----\n // publicsuffix.org is more current and actually used by a couple of browsers internally.\n // downside is it also contains domains like \"dyndns.org\" - which is fine for the security\n // issues browser have to deal with (SOP for cookies, etc) - but is way overboard for URI.js\n // ----\n list: {\n 'ac':' com gov mil net org ',\n 'ae':' ac co gov mil name net org pro sch ',\n 'af':' com edu gov net org ',\n 'al':' com edu gov mil net org ',\n 'ao':' co ed gv it og pb ',\n 'ar':' com edu gob gov int mil net org tur ',\n 'at':' ac co gv or ',\n 'au':' asn com csiro edu gov id net org ',\n 'ba':' co com edu gov mil net org rs unbi unmo unsa untz unze ',\n 'bb':' biz co com edu gov info net org store tv ',\n 'bh':' biz cc com edu gov info net org ',\n 'bn':' com edu gov net org ',\n 'bo':' com edu gob gov int mil net org tv ',\n 'br':' adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ',\n 'bs':' com edu gov net org ',\n 'bz':' du et om ov rg ',\n 'ca':' ab bc mb nb nf nl ns nt nu on pe qc sk yk ',\n 'ck':' biz co edu gen gov info net org ',\n 'cn':' ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ',\n 'co':' com edu gov mil net nom org ',\n 'cr':' ac c co ed fi go or sa ',\n 'cy':' ac biz com ekloges gov ltd name net org parliament press pro tm ',\n 'do':' art com edu gob gov mil net org sld web ',\n 'dz':' art asso com edu gov net org pol ',\n 'ec':' com edu fin gov info med mil net org pro ',\n 'eg':' com edu eun gov mil name net org sci ',\n 'er':' com edu gov ind mil net org rochest w ',\n 'es':' com edu gob nom org ',\n 'et':' biz com edu gov info name net org ',\n 'fj':' ac biz com info mil name net org pro ',\n 'fk':' ac co gov net nom org ',\n 'fr':' asso com f gouv nom prd presse tm ',\n 'gg':' co net org ',\n 'gh':' com edu gov mil org ',\n 'gn':' ac com gov net org ',\n 'gr':' com edu gov mil net org ',\n 'gt':' com edu gob ind mil net org ',\n 'gu':' com edu gov net org ',\n 'hk':' com edu gov idv net org ',\n 'hu':' 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ',\n 'id':' ac co go mil net or sch web ',\n 'il':' ac co gov idf k12 muni net org ',\n 'in':' ac co edu ernet firm gen gov i ind mil net nic org res ',\n 'iq':' com edu gov i mil net org ',\n 'ir':' ac co dnssec gov i id net org sch ',\n 'it':' edu gov ',\n 'je':' co net org ',\n 'jo':' com edu gov mil name net org sch ',\n 'jp':' ac ad co ed go gr lg ne or ',\n 'ke':' ac co go info me mobi ne or sc ',\n 'kh':' com edu gov mil net org per ',\n 'ki':' biz com de edu gov info mob net org tel ',\n 'km':' asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ',\n 'kn':' edu gov net org ',\n 'kr':' ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ',\n 'kw':' com edu gov net org ',\n 'ky':' com edu gov net org ',\n 'kz':' com edu gov mil net org ',\n 'lb':' com edu gov net org ',\n 'lk':' assn com edu gov grp hotel int ltd net ngo org sch soc web ',\n 'lr':' com edu gov net org ',\n 'lv':' asn com conf edu gov id mil net org ',\n 'ly':' com edu gov id med net org plc sch ',\n 'ma':' ac co gov m net org press ',\n 'mc':' asso tm ',\n 'me':' ac co edu gov its net org priv ',\n 'mg':' com edu gov mil nom org prd tm ',\n 'mk':' com edu gov inf name net org pro ',\n 'ml':' com edu gov net org presse ',\n 'mn':' edu gov org ',\n 'mo':' com edu gov net org ',\n 'mt':' com edu gov net org ',\n 'mv':' aero biz com coop edu gov info int mil museum name net org pro ',\n 'mw':' ac co com coop edu gov int museum net org ',\n 'mx':' com edu gob net org ',\n 'my':' com edu gov mil name net org sch ',\n 'nf':' arts com firm info net other per rec store web ',\n 'ng':' biz com edu gov mil mobi name net org sch ',\n 'ni':' ac co com edu gob mil net nom org ',\n 'np':' com edu gov mil net org ',\n 'nr':' biz com edu gov info net org ',\n 'om':' ac biz co com edu gov med mil museum net org pro sch ',\n 'pe':' com edu gob mil net nom org sld ',\n 'ph':' com edu gov i mil net ngo org ',\n 'pk':' biz com edu fam gob gok gon gop gos gov net org web ',\n 'pl':' art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ',\n 'pr':' ac biz com edu est gov info isla name net org pro prof ',\n 'ps':' com edu gov net org plo sec ',\n 'pw':' belau co ed go ne or ',\n 'ro':' arts com firm info nom nt org rec store tm www ',\n 'rs':' ac co edu gov in org ',\n 'sb':' com edu gov net org ',\n 'sc':' com edu gov net org ',\n 'sh':' co com edu gov net nom org ',\n 'sl':' com edu gov net org ',\n 'st':' co com consulado edu embaixada gov mil net org principe saotome store ',\n 'sv':' com edu gob org red ',\n 'sz':' ac co org ',\n 'tr':' av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ',\n 'tt':' aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ',\n 'tw':' club com ebiz edu game gov idv mil net org ',\n 'mu':' ac co com gov net or org ',\n 'mz':' ac co edu gov org ',\n 'na':' co com ',\n 'nz':' ac co cri geek gen govt health iwi maori mil net org parliament school ',\n 'pa':' abo ac com edu gob ing med net nom org sld ',\n 'pt':' com edu gov int net nome org publ ',\n 'py':' com edu gov mil net org ',\n 'qa':' com edu gov mil net org ',\n 're':' asso com nom ',\n 'ru':' ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ',\n 'rw':' ac co com edu gouv gov int mil net ',\n 'sa':' com edu gov med net org pub sch ',\n 'sd':' com edu gov info med net org tv ',\n 'se':' a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ',\n 'sg':' com edu gov idn net org per ',\n 'sn':' art com edu gouv org perso univ ',\n 'sy':' com edu gov mil net news org ',\n 'th':' ac co go in mi net or ',\n 'tj':' ac biz co com edu go gov info int mil name net nic org test web ',\n 'tn':' agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ',\n 'tz':' ac co go ne or ',\n 'ua':' biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ',\n 'ug':' ac co go ne or org sc ',\n 'uk':' ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ',\n 'us':' dni fed isa kids nsn ',\n 'uy':' com edu gub mil net org ',\n 've':' co com edu gob info mil net org web ',\n 'vi':' co com k12 net org ',\n 'vn':' ac biz com edu gov health info int name net org pro ',\n 'ye':' co com gov ltd me net org plc ',\n 'yu':' ac co edu gov org ',\n 'za':' ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ',\n 'zm':' ac co com edu gov net org sch ',\n // https://en.wikipedia.org/wiki/CentralNic#Second-level_domains\n 'com': 'ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ',\n 'net': 'gb jp se uk ',\n 'org': 'ae',\n 'de': 'com '\n },\n // gorhill 2013-10-25: Using indexOf() instead Regexp(). Significant boost\n // in both performance and memory footprint. No initialization required.\n // http://jsperf.com/uri-js-sld-regex-vs-binary-search/4\n // Following methods use lastIndexOf() rather than array.split() in order\n // to avoid any memory allocations.\n has: function(domain) {\n var tldOffset = domain.lastIndexOf('.');\n if (tldOffset <= 0 || tldOffset >= (domain.length-1)) {\n return false;\n }\n var sldOffset = domain.lastIndexOf('.', tldOffset-1);\n if (sldOffset <= 0 || sldOffset >= (tldOffset-1)) {\n return false;\n }\n var sldList = SLD.list[domain.slice(tldOffset+1)];\n if (!sldList) {\n return false;\n }\n return sldList.indexOf(' ' + domain.slice(sldOffset+1, tldOffset) + ' ') >= 0;\n },\n is: function(domain) {\n var tldOffset = domain.lastIndexOf('.');\n if (tldOffset <= 0 || tldOffset >= (domain.length-1)) {\n return false;\n }\n var sldOffset = domain.lastIndexOf('.', tldOffset-1);\n if (sldOffset >= 0) {\n return false;\n }\n var sldList = SLD.list[domain.slice(tldOffset+1)];\n if (!sldList) {\n return false;\n }\n return sldList.indexOf(' ' + domain.slice(0, tldOffset) + ' ') >= 0;\n },\n get: function(domain) {\n var tldOffset = domain.lastIndexOf('.');\n if (tldOffset <= 0 || tldOffset >= (domain.length-1)) {\n return null;\n }\n var sldOffset = domain.lastIndexOf('.', tldOffset-1);\n if (sldOffset <= 0 || sldOffset >= (tldOffset-1)) {\n return null;\n }\n var sldList = SLD.list[domain.slice(tldOffset+1)];\n if (!sldList) {\n return null;\n }\n if (sldList.indexOf(' ' + domain.slice(sldOffset+1, tldOffset) + ' ') < 0) {\n return null;\n }\n return domain.slice(sldOffset+1);\n },\n noConflict: function(){\n if (root.SecondLevelDomains === this) {\n root.SecondLevelDomains = _SecondLevelDomains;\n }\n return this;\n }\n };\n\n return SLD;\n}));\n","import { useContext } from 'react';\nimport contentWidthContext from '../context/contentWidthContext';\n\n/**\n * A hook to get access to the ambient `contentWidth`.\n *\n * @returns The contentWidth available in context.\n *\n * @public\n */\nexport default function useContentWidth() {\n return useContext(contentWidthContext);\n}\n","import React from 'react';\nimport { Dimensions } from 'react-native';\n\nconst contentWidthContext = React.createContext(Dimensions.get('window').width);\n\nexport default contentWidthContext;\n","import { TBlock, TPhrasing, TText } from '@native-html/transient-render-engine';\nimport React from 'react';\nimport { TextProps, ViewProps } from 'react-native';\nimport { TDefaultRendererProps } from '../shared-types';\n\nconst empty: any = {};\n\n/**\n * Extract React Native props for a given {@link TNode}, such as those which\n * would be passed to `Text`, `View` or `GenericPressable` by `TDefaultRenderer`.\n *\n * This helper function is peculiarly useful when one wants a custom renderer\n * which uses a different native component, for example `Animated.Text` instead\n * of default `Text`.\n *\n * @public\n *\n * @example\n *\n * ```tsx\n * import React from 'react';\n * import { Animated } from 'react-native';\n * import { CustomTextualRenderer, getNativePropsForTNode } from 'react-native-render-html';\n *\n * const AnimatedSpanRenderer: CustomTextualRenderer = (props) => {\n * const nativeProps = getNativePropsForTNode(props);\n * // This is equivalent to a TDefaultRenderer which `Text` is replaced\n * // with Animated.Text\n * return ;\n * }\n * ```\n */\nexport default function getNativePropsForTNode<\n T extends TPhrasing | TText | TBlock\n>(\n props: TDefaultRendererProps\n): T extends TBlock ? ViewProps & { onPress?: () => void } : TextProps {\n const {\n tnode,\n style,\n type,\n nativeProps: passedNativeProps,\n onPress,\n children: overridenChildren,\n propsForChildren,\n viewProps,\n textProps,\n TNodeChildrenRenderer\n } = props;\n const children =\n overridenChildren ||\n (tnode.type === 'text'\n ? (tnode as TText).data\n : React.createElement(TNodeChildrenRenderer, {\n tnode,\n propsForChildren\n }));\n const switchProp = type === 'block' ? viewProps : textProps;\n const propsFromModel =\n tnode.getReactNativeProps()?.[type === 'block' ? 'view' : 'text'] || empty;\n const syntheticOnPress =\n onPress ?? passedNativeProps?.onPress ?? propsFromModel.onPress;\n const nativeProps: TextProps | ViewProps = {\n ...(typeof syntheticOnPress === 'function'\n ? ({ accessibilityRole: type === 'block' ? 'button' : 'link' } as const)\n : null),\n ...propsFromModel,\n ...passedNativeProps,\n ...switchProp,\n children,\n onPress: syntheticOnPress,\n style: [style, passedNativeProps?.style, switchProp.style],\n testID: tnode.tagName || undefined\n };\n return nativeProps as any;\n}\n","import React, { PropsWithChildren, useMemo } from 'react';\nimport mergeDeepRight from 'ramda/src/mergeDeepRight';\n\nimport { RenderersProps, RenderHTMLPassedProps } from '../shared-types';\nimport defaultRendererProps from './defaultRendererProps';\nimport useProfiler from '../hooks/useProfiler';\n\nconst RenderersPropsContext =\n React.createContext>(defaultRendererProps);\n\n/**\n * Consume props from {@link RenderHTMLProps.renderersProps}.\n *\n * @param tagName - The name of the element.\n * @typeParam K - The type literal corresponding to the element name.\n * @returns props for this renderer.\n *\n * @public\n */\nexport function useRendererProps<\n RendererProps extends RenderersProps = RenderersProps,\n K extends keyof RendererProps = keyof RendererProps\n>(tagName: K) {\n const userProps = React.useContext(RenderersPropsContext) as RendererProps;\n return userProps[tagName];\n}\n\n/**\n * @internal\n */\nexport default function RenderersPropsProvider(\n props: PropsWithChildren\n) {\n const profile = useProfiler({ prop: 'renderersProps' });\n const mergedRenderersProps = useMemo(() => {\n typeof __DEV__ === 'boolean' && __DEV__ && profile();\n return mergeDeepRight(defaultRendererProps, props.renderersProps || {});\n }, [props.renderersProps, profile]);\n return React.createElement(\n RenderersPropsContext.Provider,\n { value: mergedRenderersProps as Required },\n props.children\n );\n}\n","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\nrequire(\"./mergeDeepWithKey\");\n/**\n * Creates a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects:\n * - and both values are objects, the two values will be recursively merged\n * - otherwise the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig {a} -> {a} -> {a}\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.merge, R.mergeDeepLeft, R.mergeDeepWith, R.mergeDeepWithKey\n * @example\n *\n * R.mergeDeepRight({ name: 'fred', age: 10, contact: { email: 'moo@example.com' }},\n * { age: 40, contact: { email: 'baa@example.com' }});\n * //=> { name: 'fred', age: 40, contact: { email: 'baa@example.com' }}\n */\n\n\nvar mergeDeepRight =\n/*#__PURE__*/\n_curry2(function mergeDeepRight(lObj, rObj) {\n return mergeDeepWithKey(function (k, lVal, rVal) {\n return rVal;\n }, lObj, rObj);\n});\n\nmodule.exports = mergeDeepRight;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _isObject =\n/*#__PURE__*/\nrequire(\"./internal/_isObject\");\n\nvar mergeWithKey =\n/*#__PURE__*/\nrequire(\"./mergeWithKey\");\n/**\n * Creates a new object with the own properties of the two provided objects.\n * If a key exists in both objects:\n * - and both associated values are also objects then the values will be\n * recursively merged.\n * - otherwise the provided function is applied to the key and associated values\n * using the resulting value as the new value associated with the key.\n * If a key only exists in one object, the value will be associated with the key\n * of the resulting object.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.mergeWithKey, R.mergeDeepWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeDeepWithKey(concatValues,\n * { a: true, c: { thing: 'foo', values: [10, 20] }},\n * { b: true, c: { thing: 'bar', values: [15, 35] }});\n * //=> { a: true, b: true, c: { thing: 'bar', values: [10, 20, 15, 35] }}\n */\n\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\n_curry3(function mergeDeepWithKey(fn, lObj, rObj) {\n return mergeWithKey(function (k, lVal, rVal) {\n if (_isObject(lVal) && _isObject(rVal)) {\n return mergeDeepWithKey(fn, lVal, rVal);\n } else {\n return fn(k, lVal, rVal);\n }\n }, lObj, rObj);\n});\n\nmodule.exports = mergeDeepWithKey;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n/**\n * Creates a new object with the own properties of the two provided objects. If\n * a key exists in both objects, the provided function is applied to the key\n * and the values associated with the key in each object, with the result being\n * used as the value associated with the key in the returned object.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Object\n * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeDeepWithKey, R.merge, R.mergeWith\n * @example\n *\n * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r\n * R.mergeWithKey(concatValues,\n * { a: true, thing: 'foo', values: [10, 20] },\n * { b: true, thing: 'bar', values: [15, 35] });\n * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }\n * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }\n */\n\n\nvar mergeWithKey =\n/*#__PURE__*/\n_curry3(function mergeWithKey(fn, l, r) {\n var result = {};\n var k;\n\n for (k in l) {\n if (_has(k, l)) {\n result[k] = _has(k, r) ? fn(k, l[k], r[k]) : l[k];\n }\n }\n\n for (k in r) {\n if (_has(k, r) && !_has(k, result)) {\n result[k] = r[k];\n }\n }\n\n return result;\n});\n\nmodule.exports = mergeWithKey;","function _isObject(x) {\n return Object.prototype.toString.call(x) === '[object Object]';\n}\n\nmodule.exports = _isObject;","import { Linking } from 'react-native';\nimport { RenderersProps } from '../shared-types';\n\nexport async function defaultAOnPress(_e: any, href: string): Promise {\n if (await Linking.canOpenURL(href)) {\n return Linking.openURL(href);\n }\n}\n\nconst defaultRendererProps: Required = {\n img: {\n initialDimensions: {\n height: 50,\n width: 50\n },\n enableExperimentalPercentWidth: false\n },\n a: {\n onPress: defaultAOnPress\n },\n ol: {},\n ul: {}\n};\n\nexport default defaultRendererProps;\n","import { useCallback, useRef } from 'react';\nimport identity from 'ramda/src/identity';\n\ndeclare const performance: { now: () => number };\n\nconst useProfiler =\n typeof __DEV__ === 'boolean' && __DEV__ && typeof performance === 'object'\n ? function useProfiler({ name, prop }: { name?: string; prop?: string }) {\n const lastUpdate = useRef(0);\n const profile = useCallback(\n function onUpdate() {\n const now = performance.now();\n const diff = now - lastUpdate.current;\n if (diff < 60) {\n console.warn(\n `You seem to update ${\n prop ? `the ${prop} prop(s)` : 'props'\n } of the \"${\n name ? name : 'RenderHTML'\n }\" component in short periods of time, causing costly tree rerenders (last update was ${diff.toFixed(\n 2\n )}ms ago). See https://stackoverflow.com/q/68966120/2779871`\n );\n }\n lastUpdate.current = now;\n },\n [name, prop]\n );\n return profile;\n }\n : /* istanbul ignore next */\n function useProfiler() {\n return identity as () => void;\n };\n\nexport default useProfiler;\n","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _identity =\n/*#__PURE__*/\nrequire(\"./internal/_identity\");\n/**\n * A function that does nothing but return the parameter supplied to it. Good\n * as a default or placeholder function.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> a\n * @param {*} x The value to return.\n * @return {*} The input value, `x`.\n * @example\n *\n * R.identity(1); //=> 1\n *\n * const obj = {};\n * R.identity(obj) === obj; //=> true\n * @symb R.identity(a) = a\n */\n\n\nvar identity =\n/*#__PURE__*/\n_curry1(_identity);\n\nmodule.exports = identity;","function _identity(x) {\n return x;\n}\n\nmodule.exports = _identity;","import React, { ReactElement } from 'react';\nimport { RenderHTMLProps } from './shared-types';\nimport RenderHTMLDebug from './RenderHTMLDebug';\nimport TRenderEngineProvider from './TRenderEngineProvider';\nimport RenderHTMLConfigProvider from './RenderHTMLConfigProvider';\nimport RenderHTMLSource from './RenderHTMLSource';\n\n/**\n * Render HTML text in native views!\n *\n * @remarks If your application uses many instances of this component, you\n * should share the render engine across those instances via the\n * {@link TRenderEngineProvider} and {@link RenderHTMLConfigProvider}\n * components, and render the HTML with {@link RenderHTMLSource} instead. That\n * should significantly increase performance.\n *\n * @warning It should never be a child of a React Native `Text` element, as the\n * layout will break.\n *\n * @public\n */\nexport default function RenderHTML(props: RenderHTMLProps): ReactElement {\n const {\n source,\n onHTMLLoaded,\n onTTreeChange,\n onDocumentMetadataLoaded,\n contentWidth,\n ...otherProps\n } = props;\n return (\n \n \n \n {React.createElement(RenderHTMLSource, {\n source,\n onHTMLLoaded,\n onTTreeChange,\n onDocumentMetadataLoaded,\n contentWidth\n })}\n \n \n \n );\n}\n","import React, { Fragment, PropsWithChildren } from 'react';\nimport debugMessage from './debugMessages';\nimport { RenderHTMLProps } from './shared-types';\n\nconst RenderHTMLDebug = function RenderHTMLDebug(\n props: PropsWithChildren\n) {\n if (typeof __DEV__ === 'boolean' && __DEV__) {\n if (typeof props.contentWidth !== 'number') {\n console.warn(debugMessage.contentWidth);\n }\n if ('html' in props) {\n console.warn(debugMessage.outdatedHtmlProp);\n }\n if ('uri' in props) {\n console.warn(debugMessage.outdatedUriProp);\n }\n if ('listsPrefixesRenderers' in props) {\n console.warn(debugMessage.outdatedListPrefixRenderersProps);\n }\n if ('imagesInitialDimensions' in props) {\n console.warn(debugMessage.outdatedImagesDimensions);\n }\n if ('onLinkPress' in props) {\n console.warn(debugMessage.outdatedOnLinkPressProp);\n }\n if ('enableExperimentalPercentWidth' in props) {\n console.warn(debugMessage.outdatedEnableExperimentalPercentWidth);\n }\n if ('ignoreNodesFunction' in props) {\n console.warn(debugMessage.outdatedIgnoreNodesFunction);\n }\n if ('alterNode' in props) {\n console.warn(debugMessage.outdatedAlterNode);\n }\n if ('alterChildren' in props) {\n console.warn(debugMessage.outdatedAlterChildren);\n }\n if ('alterData' in props) {\n console.warn(debugMessage.outdatedAlterData);\n }\n if ('computeImagesMaxWidth' in props) {\n console.warn(debugMessage.outdatedComputeImagesMaxWidth);\n }\n if ('triggerTREInvalidationPropNames' in props) {\n console.warn(debugMessage.outdatedTriggerTREInvalidation);\n }\n if (Array.isArray(props.allowedStyles)) {\n props.allowedStyles.forEach((s) => {\n if (s.indexOf('-') > -1) {\n console.warn(\n `Style property '${s}' of 'allowedStyles' prop array must be camelCased.`\n );\n }\n });\n }\n if (Array.isArray(props.ignoredStyles)) {\n props.ignoredStyles.forEach((s) => {\n if (s.indexOf('-') > -1) {\n console.warn(\n `Style property '${s}' of 'ignoredStyles' prop array must be camelCased.`\n );\n }\n });\n }\n }\n return {props.children};\n};\n\nexport default RenderHTMLDebug;\n","export type DebugType =\n | 'noSource'\n | 'contentWidth'\n | 'outdatedUriProp'\n | 'outdatedHtmlProp'\n | 'outdatedListPrefixRenderersProps'\n | 'outdatedImagesDimensions'\n | 'outdatedOnLinkPressProp'\n | 'outdatedEnableExperimentalPercentWidth'\n | 'outdatedIgnoreNodesFunction'\n | 'outdatedAlterNode'\n | 'outdatedAlterChildren'\n | 'outdatedAlterData'\n | 'outdatedComputeImagesMaxWidth'\n | 'outdatedTriggerTREInvalidation';\n\nlet debugMessage: Record;\n\nexport type DebugMessages = typeof debugMessage;\n/* istanbul ignore next */\nif (typeof __DEV__ === 'boolean' && __DEV__) {\n debugMessage = {\n outdatedComputeImagesMaxWidth:\n \"You're attempting to use an outdated prop, 'computeImagesMaxWidth'. This prop has been replaced in version 6 with 'computeEmbeddedMaxWidth'.\",\n outdatedAlterChildren:\n \"You're attempting to use an outdated prop, 'alterChildren'. This prop has been discontinued in version 6. \" +\n \"Use 'domVisitors={{ onElement }}' instead, and tamper the children manually from here. Use 'domutils' package for easy DOM manipulation.\",\n outdatedAlterData:\n \"You're attempting to use an outdated prop, 'alterData'. This prop has been discontinued in version 6. \" +\n \"Use 'domVisitors={{ onText }}' instead, and tamper the node data field manually from here.\",\n outdatedAlterNode:\n \"You're attempting to use an outdated prop, 'alterNode'. This prop has been discontinued in version 6. \" +\n \"Use 'domVisitors={{ onElement }}' instead, and tamper the node manually from here. Use 'domutils' package for easy DOM manipulation.\",\n outdatedIgnoreNodesFunction:\n \"You're attempting to use an outdated prop, 'ignoreNodesFunction'. This prop has been replaced in version 6 with 'ignoreDomNode'.\",\n outdatedUriProp:\n \"You're attempting to use an outdated prop, 'uri'. This prop has been discontinued in version 6. \" +\n \"Use 'source={{ uri }}' instead.\",\n outdatedHtmlProp:\n \"You're attempting to use an outdated prop, 'html'. This prop has been discontinued in version 6. \" +\n \"Use 'source={{ html }}' instead.\",\n outdatedListPrefixRenderersProps:\n \"You're attempting to use an outdated prop, 'listPrefixRenderers'. This prop has been discontinued in version 6. \" +\n \"Use 'customListStyleSpecs' instead.\",\n outdatedImagesDimensions:\n \"You're attempting to use an outdated prop, 'imagesInitialDimensions'. This prop has been discontinued in version 6. \" +\n \"Use 'renderersProps={{ img: { initialDimensions } }}' instead.\",\n outdatedOnLinkPressProp:\n \"You're attempting to use an outdated prop, 'onLinkPress'. This prop has been discontinued in version 6. \" +\n \"Use 'renderersProps={{ a: { onPress } }}' instead.\",\n outdatedEnableExperimentalPercentWidth:\n \"You're attempting to use an outdated prop, 'enableExperimentalPercentWidth'. This prop has been discontinued in version 6. \" +\n \"Use 'renderersProps={{ img: { enableExperimentalPercentWidth } }}' instead.\",\n outdatedTriggerTREInvalidation:\n \"You're attempting to use an outdated prop, 'triggerTREInvalidationPropsNames'. This prop has been discontinued in v6.0.0-beta.3. \" +\n 'From now-on, every prop sent to the TRenderEngineProvider is hot by default.',\n noSource: 'No source prop was provided. Nothing will be rendered',\n contentWidth:\n 'You should always pass contentWidth prop to properly handle screen rotations ' +\n 'and have a seamless support for images scaling. ' +\n 'In the meantime, HTML will fallback to Dimensions.window().width, but its ' +\n 'layout will become inconsistent after screen rotations. ' +\n 'You are encouraged to use useWindowDimensions hook, see: ' +\n 'https://reactnative.dev/docs/usewindowdimensions'\n };\n} else {\n debugMessage = null as any;\n}\n\nexport default debugMessage;\n","import TRenderEngine from '@native-html/transient-render-engine';\nimport React, { PropsWithChildren, ReactElement } from 'react';\nimport { Platform } from 'react-native';\nimport PropTypes from 'prop-types';\nimport useTRenderEngine from './hooks/useTRenderEngine';\nimport { TRenderEngineConfig } from './shared-types';\nimport defaultSystemFonts from './defaultSystemFonts';\n\nconst defaultTRenderEngine = {} as any;\n\nconst TRenderEngineContext =\n React.createContext(defaultTRenderEngine);\n\nexport const tRenderEngineProviderPropTypes: Record<\n keyof TRenderEngineConfig,\n any\n> = {\n customHTMLElementModels: PropTypes.object.isRequired,\n enableCSSInlineProcessing: PropTypes.bool,\n enableUserAgentStyles: PropTypes.bool,\n idsStyles: PropTypes.object,\n ignoredDomTags: PropTypes.array,\n ignoreDomNode: PropTypes.func,\n domVisitors: PropTypes.object,\n ignoredStyles: PropTypes.array.isRequired,\n allowedStyles: PropTypes.array,\n htmlParserOptions: PropTypes.object,\n tagsStyles: PropTypes.object,\n classesStyles: PropTypes.object,\n emSize: PropTypes.number.isRequired,\n baseStyle: PropTypes.object,\n systemFonts: PropTypes.arrayOf(PropTypes.string),\n fallbackFonts: PropTypes.shape({\n serif: PropTypes.string,\n 'sans-serif': PropTypes.string,\n monospace: PropTypes.string\n }),\n setMarkersForTNode: PropTypes.func,\n dangerouslyDisableHoisting: PropTypes.bool,\n dangerouslyDisableWhitespaceCollapsing: PropTypes.bool,\n selectDomRoot: PropTypes.func\n};\n\n/**\n * Default fallback font for special keys such as 'sans-serif', 'monospace',\n * 'serif', based on current platform.\n */\nexport const defaultFallbackFonts = {\n 'sans-serif': Platform.select({ ios: 'system', default: 'sans-serif' }),\n monospace: Platform.select({ ios: 'Menlo', default: 'monospace' }),\n serif: Platform.select({ ios: 'Times New Roman', default: 'serif' })\n};\n\nexport const defaultTRenderEngineProviderProps: TRenderEngineConfig = {\n htmlParserOptions: {\n decodeEntities: true\n },\n emSize: 14,\n ignoredDomTags: [],\n ignoredStyles: [],\n baseStyle: { fontSize: 14 },\n tagsStyles: {},\n classesStyles: {},\n enableUserAgentStyles: true,\n enableCSSInlineProcessing: true,\n customHTMLElementModels: {},\n fallbackFonts: defaultFallbackFonts,\n systemFonts: defaultSystemFonts\n};\n\n/**\n * Use the ambient transient render engine.\n *\n * @returns The ambient transient render engine.\n *\n * @public\n */\nexport function useAmbientTRenderEngine() {\n const engine = React.useContext(TRenderEngineContext);\n if (\n typeof __DEV__ === 'boolean' &&\n __DEV__ &&\n engine === defaultTRenderEngine\n ) {\n console.error('TRenderEngineProvider is missing in the render tree.');\n }\n return engine;\n}\n\n/**\n * A react component to share a {@link TRenderEngine} instance across different\n * rendered contents via {@link RenderHTMLSource}. This can significantly enhance\n * performance in applications with potentially dozens or hundreds of distinct\n * rendered snippets such as chat apps.\n *\n * @param props - Pass engine config here.\n */\nexport default function TRenderEngineProvider({\n children,\n ...config\n}: PropsWithChildren): ReactElement {\n const engine = useTRenderEngine(config);\n return (\n \n {children}\n \n );\n}\n\n/**\n * @ignore\n */\nTRenderEngineProvider.defaultProps = defaultTRenderEngineProviderProps;\n\n/**\n * @ignore\n */\nTRenderEngineProvider.propTypes = tRenderEngineProviderPropTypes;\n","import { useMemo } from 'react';\nimport { TRenderEngineConfig } from '../shared-types';\nimport buildTREFromConfig from '../helpers/buildTREFromConfig';\nimport useProfiler from './useProfiler';\n\n/**\n * @internal\n */\nexport default function useTRenderEngine({\n allowedStyles,\n baseStyle,\n classesStyles,\n customHTMLElementModels,\n dangerouslyDisableHoisting,\n dangerouslyDisableWhitespaceCollapsing,\n domVisitors,\n emSize,\n enableCSSInlineProcessing,\n enableUserAgentStyles,\n fallbackFonts,\n htmlParserOptions,\n idsStyles,\n ignoreDomNode,\n ignoredDomTags,\n ignoredStyles,\n selectDomRoot,\n setMarkersForTNode,\n systemFonts,\n tagsStyles\n}: TRenderEngineConfig) {\n const profile = useProfiler({ name: 'TRenderEngineProvider' });\n return useMemo(() => {\n typeof __DEV__ === 'boolean' && __DEV__ && profile();\n return buildTREFromConfig({\n allowedStyles,\n baseStyle,\n classesStyles,\n customHTMLElementModels,\n dangerouslyDisableHoisting,\n dangerouslyDisableWhitespaceCollapsing,\n domVisitors,\n emSize,\n enableCSSInlineProcessing,\n enableUserAgentStyles,\n fallbackFonts,\n htmlParserOptions,\n idsStyles,\n ignoreDomNode,\n ignoredDomTags,\n ignoredStyles,\n selectDomRoot,\n setMarkersForTNode,\n systemFonts,\n tagsStyles\n });\n }, [\n profile,\n allowedStyles,\n baseStyle,\n classesStyles,\n customHTMLElementModels,\n dangerouslyDisableHoisting,\n dangerouslyDisableWhitespaceCollapsing,\n domVisitors,\n emSize,\n enableCSSInlineProcessing,\n enableUserAgentStyles,\n fallbackFonts,\n htmlParserOptions,\n idsStyles,\n ignoreDomNode,\n ignoredDomTags,\n ignoredStyles,\n selectDomRoot,\n setMarkersForTNode,\n systemFonts,\n tagsStyles\n ]);\n}\n","import { TRenderEngineConfig } from '../shared-types';\nimport TRenderEngine, {\n HTMLModelRecord,\n TagName\n} from '@native-html/transient-render-engine';\n\n/**\n * Build a {@link TRenderEngine} instance from a configuration object.\n *\n * @remarks This utility can be useful to test and debug the TRE layer of your\n * application.\n *\n * @param props - The configuration from which a TRE should be built.\n */\nexport default function buildTREFromConfig(props: TRenderEngineConfig) {\n const {\n allowedStyles,\n // TODO fix upstream\n ignoredStyles = [],\n ignoredDomTags,\n ignoreDomNode,\n domVisitors,\n htmlParserOptions,\n baseStyle,\n classesStyles,\n tagsStyles,\n idsStyles,\n enableCSSInlineProcessing,\n enableUserAgentStyles,\n systemFonts = [],\n fallbackFonts = {},\n customHTMLElementModels = {},\n emSize,\n setMarkersForTNode,\n selectDomRoot,\n dangerouslyDisableHoisting,\n dangerouslyDisableWhitespaceCollapsing\n } = props;\n const customizeHTMLModels = Object.keys(customHTMLElementModels).length\n ? (defaultModels: HTMLModelRecord): HTMLModelRecord => {\n return { ...defaultModels, ...customHTMLElementModels };\n }\n : undefined;\n const fontMap = {} as Record;\n systemFonts.forEach((font) => {\n fontMap[font] = true;\n });\n const isFontSupported = (fontFamily: string) => {\n if (fallbackFonts[fontFamily as keyof typeof fallbackFonts]) {\n return fallbackFonts[fontFamily as keyof typeof fallbackFonts];\n }\n /* istanbul ignore next */\n return fontMap[fontFamily] || false;\n };\n return new TRenderEngine({\n customizeHTMLModels,\n cssProcessorConfig: {\n isFontSupported,\n inlinePropertiesBlacklist: ignoredStyles,\n inlinePropertiesWhitelist: allowedStyles,\n rootFontSize: emSize\n },\n htmlParserOptions: {\n decodeEntities: true,\n ...htmlParserOptions\n },\n stylesConfig: {\n baseStyle,\n enableCSSInlineProcessing,\n enableUserAgentStyles,\n classesStyles,\n idsStyles,\n tagsStyles\n },\n ignoredDomTags,\n ignoreDomNode,\n domVisitors,\n setMarkersForTNode,\n selectDomRoot,\n dangerouslyDisableHoisting,\n dangerouslyDisableWhitespaceCollapsing\n });\n}\n","const defaultSystemFonts = [\n 'San Francisco',\n 'Arial',\n 'ArialHebrew',\n 'Avenir',\n 'Baskerville',\n 'Bodoni 72',\n 'Bradley Hand',\n 'Chalkboard SE',\n 'Cochin',\n 'Copperplate',\n 'Courier',\n 'Courier New',\n 'Damascus',\n 'Didot',\n 'Futura',\n 'Geeza Pro',\n 'Georgia',\n 'Gill Sans',\n 'Helvetica',\n 'Helvetica Neue',\n 'Hiragino Sans',\n 'Hoefler Text',\n 'Iowan Old Style',\n 'Kailasa',\n 'Khmer Sangam MN',\n 'Marker Felt',\n 'Menlo',\n 'Mishafi',\n 'Noteworthy',\n 'Optima',\n 'Palatino',\n 'Papyrus',\n 'Savoye LET',\n 'Symbol',\n 'Thonburi',\n 'Times New Roman',\n 'Trebuchet MS',\n 'Verdana',\n 'Zapf Dingbats',\n 'Zapfino'\n];\n\nexport default defaultSystemFonts;\n","import React, { PropsWithChildren, ReactElement, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport RenderersPropsProvider from './context/RenderersPropsProvider';\nimport SharedPropsProvider from './context/SharedPropsProvider';\nimport TChildrenRenderersContext from './context/TChildrenRendererContext';\nimport { RenderHTMLConfig } from './shared-types';\nimport TNodeChildrenRenderer from './TNodeChildrenRenderer';\nimport TChildrenRenderer from './TChildrenRenderer';\nimport sourceLoaderContext, {\n defaultRenderError,\n defaultRenderLoading\n} from './context/sourceLoaderContext';\nimport RenderRegistryProvider from './context/RenderRegistryProvider';\nimport { useAmbientTRenderEngine } from './TRenderEngineProvider';\nimport useProfiler from './hooks/useProfiler';\nimport ListStyleSpecsProvider from './context/ListStyleSpecsProvider';\n\nconst childrenRendererContext = {\n TChildrenRenderer,\n TNodeChildrenRenderer\n};\n\nexport type RenderHTMLConfigPropTypes = Record;\n\nexport const renderHTMLConfigPropTypes: RenderHTMLConfigPropTypes = {\n bypassAnonymousTPhrasingNodes: PropTypes.bool,\n defaultTextProps: PropTypes.object,\n defaultViewProps: PropTypes.object,\n enableExperimentalBRCollapsing: PropTypes.bool,\n enableExperimentalGhostLinesPrevention: PropTypes.bool,\n enableExperimentalMarginCollapsing: PropTypes.bool,\n remoteErrorView: PropTypes.func,\n remoteLoadingView: PropTypes.func,\n debug: PropTypes.bool,\n computeEmbeddedMaxWidth: PropTypes.func,\n renderersProps: PropTypes.object,\n WebView: PropTypes.any,\n GenericPressable: PropTypes.any,\n defaultWebViewProps: PropTypes.object,\n pressableHightlightColor: PropTypes.string,\n customListStyleSpecs: PropTypes.object,\n renderers: PropTypes.object,\n provideEmbeddedHeaders: PropTypes.func\n};\n\n/**\n * A component to provide configuration for {@link RenderHTMLSource}\n * descendants, to be used in conjunction with {@link TRenderEngineProvider}.\n */\nexport default function RenderHTMLConfigProvider(\n props: PropsWithChildren\n): ReactElement {\n const {\n remoteErrorView,\n remoteLoadingView,\n renderersProps,\n children,\n renderers,\n ...sharedProps\n } = props;\n const engine = useAmbientTRenderEngine();\n const profile = useProfiler({ prop: 'remoteErrorView or remoteLoadingView' });\n const sourceLoaderConfig = useMemo(() => {\n typeof __DEV__ === 'boolean' && __DEV__ && profile();\n return {\n remoteErrorView: remoteErrorView || defaultRenderError,\n remoteLoadingView: remoteLoadingView || defaultRenderLoading\n };\n }, [remoteErrorView, remoteLoadingView, profile]);\n return (\n \n \n \n \n \n \n {children}\n \n \n \n \n \n \n );\n}\n\n/**\n * @ignore\n */\nRenderHTMLConfigProvider.propTypes = renderHTMLConfigPropTypes;\n","import React from 'react';\nimport type TNodeChildrenRenderer from '../TNodeChildrenRenderer';\nimport type TChildrenRenderer from '../TChildrenRenderer';\n\n/**\n * This context allows dependency injection to avoid circular dependencies.\n */\nconst TChildrenRenderersContext = React.createContext<{\n TChildrenRenderer: typeof TChildrenRenderer;\n TNodeChildrenRenderer: typeof TNodeChildrenRenderer;\n}>({\n TChildrenRenderer: null as any,\n TNodeChildrenRenderer: null as any\n});\n\nexport function useTNodeChildrenRenderer() {\n return React.useContext(TChildrenRenderersContext).TNodeChildrenRenderer;\n}\n\nexport function useTChildrenRenderer() {\n return React.useContext(TChildrenRenderersContext).TChildrenRenderer;\n}\n\nexport default TChildrenRenderersContext;\n","import { ReactElement } from 'react';\nimport { TNode } from '@native-html/transient-render-engine';\nimport { useSharedProps } from './context/SharedPropsProvider';\nimport { tchildrenRendererDefaultProps } from './TChildrenRenderer';\nimport {\n TChildrenRendererProps,\n TNodeChildrenRendererProps\n} from './shared-types';\nimport renderChildren from './renderChildren';\n\nfunction isCollapsible(tnode: TNode) {\n return tnode.type === 'block' || tnode.type === 'phrasing';\n}\n\n/**\n * A hook especially useful when one need to tamper with children in a custom\n * renderer. Should be used with {@link TChildrenRenderer}.\n *\n * @example\n * For example, a custom renderer which inserts ads in an article:\n *\n * ```tsx\n * function ArticleRenderer(props) {\n * const { tnode, TDefaultRenderer, ...defaultRendererProps } = props;\n * const tchildrenProps = useTNodeChildrenProps(props);\n * const firstChildrenChunk = tnode.children.slice(0, 2);\n * const secondChildrenChunk = tnode.children.slice(2, 4);\n * const thirdChildrenChunk = tnode.children.slice(4, 5);\n * return (\n * \n * \n * {firstChildrenChunk.length === 2 ? : null}\n * \n * {secondChildrenChunk.length === 2 ? : null}\n * \n * \n * );\n * };\n * ```\n */\nexport function useTNodeChildrenProps({\n tnode,\n propsForChildren,\n disableMarginCollapsing = false,\n renderChild\n}: TNodeChildrenRendererProps): TChildrenRendererProps {\n const { enableExperimentalMarginCollapsing } = useSharedProps();\n const shouldCollapseChildren =\n enableExperimentalMarginCollapsing &&\n !disableMarginCollapsing &&\n isCollapsible(tnode);\n return {\n propsForChildren,\n disableMarginCollapsing: !shouldCollapseChildren,\n tchildren: tnode.children,\n renderChild\n };\n}\n\n/**\n * A component to render all children of a {@link TNode}.\n */\nfunction TNodeChildrenRenderer(\n props: TNodeChildrenRendererProps\n): ReactElement {\n if (props.tnode.type === 'text') {\n // see https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.tnode.data as unknown as ReactElement;\n }\n // A tnode type will never change. We can safely\n // ignore the non-conditional rule of hooks.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n return renderChildren(useTNodeChildrenProps(props));\n}\n\n/**\n * @ignore\n */\nTNodeChildrenRenderer.defaultProps = tchildrenRendererDefaultProps;\n\nexport default TNodeChildrenRenderer;\n","import React, { ReactElement } from 'react';\nimport { TNode } from '@native-html/transient-render-engine';\nimport TNodeRenderer from './TNodeRenderer';\nimport { TChildrenRendererProps } from './shared-types';\nimport collapseTopMarginForChild from './helpers/collapseTopMarginForChild';\n\nconst empty = {};\n\nconst mapCollapsibleChildren = (\n propsForChildren: TChildrenRendererProps['propsForChildren'],\n renderChild: TChildrenRendererProps['renderChild'],\n disableMarginCollapsing: boolean | undefined,\n childTnode: TNode,\n n: number,\n tchildren: readonly TNode[]\n) => {\n const collapsedMarginTop = disableMarginCollapsing\n ? null\n : collapseTopMarginForChild(n, tchildren);\n const propsFromParent = { ...propsForChildren, collapsedMarginTop };\n const key = childTnode.nodeIndex;\n const childElement = React.createElement(TNodeRenderer, {\n propsFromParent,\n tnode: childTnode,\n key,\n renderIndex: n,\n renderLength: tchildren.length\n });\n return typeof renderChild === 'function'\n ? renderChild({\n key,\n childElement,\n index: n,\n childTnode,\n propsFromParent\n })\n : childElement;\n};\n\nexport default function renderChildren({\n tchildren,\n propsForChildren = empty,\n disableMarginCollapsing,\n renderChild\n}: TChildrenRendererProps): ReactElement {\n const elements = tchildren.map(\n mapCollapsibleChildren.bind(\n null,\n propsForChildren,\n renderChild,\n disableMarginCollapsing\n )\n );\n return <>{elements};\n}\n","import React, { memo, ReactElement } from 'react';\nimport { TDefaultRenderer, TNodeRendererProps } from './shared-types';\nimport { useSharedProps } from './context/SharedPropsProvider';\nimport {\n TText,\n TBlock,\n TNode,\n TPhrasing\n} from '@native-html/transient-render-engine';\nimport useAssembledCommonProps from './hooks/useAssembledCommonProps';\nimport { useTNodeChildrenRenderer } from './context/TChildrenRendererContext';\nimport renderTextualContent from './renderTextualContent';\nimport { useRendererRegistry } from './context/RenderRegistryProvider';\nimport renderBlockContent from './renderBlockContent';\nimport renderEmptyContent from './renderEmptyContent';\n\nexport type { TNodeRendererProps } from './shared-types';\n\nconst TDefaultBlockRenderer: TDefaultRenderer =\n renderBlockContent.bind(null);\n\nTDefaultBlockRenderer.displayName = 'TDefaultBlockRenderer';\n\nconst TDefaultPhrasingRenderer: TDefaultRenderer =\n renderTextualContent.bind(null);\n\nTDefaultPhrasingRenderer.displayName = 'TDefaultPhrasingRenderer';\n\nconst TDefaultTextRenderer: TDefaultRenderer =\n renderTextualContent.bind(null);\n\nTDefaultTextRenderer.displayName = 'TDefaultTextRenderer';\n\nfunction isGhostTNode(tnode: TNode) {\n return (\n (tnode.type === 'text' && (tnode.data === '' || tnode.data === ' ')) ||\n tnode.type === 'empty'\n );\n}\n\n/**\n * A component to render any {@link TNode}.\n */\nconst TNodeRenderer = memo(function MemoizedTNodeRenderer(\n props: TNodeRendererProps\n): ReactElement | null {\n const { tnode } = props;\n const sharedProps = useSharedProps();\n const renderRegistry = useRendererRegistry();\n const TNodeChildrenRenderer = useTNodeChildrenRenderer();\n const tnodeProps = {\n ...props,\n TNodeChildrenRenderer,\n sharedProps\n };\n const renderer =\n tnode.type === 'block' || tnode.type === 'document'\n ? TDefaultBlockRenderer\n : tnode.type === 'text'\n ? TDefaultTextRenderer\n : tnode.type === 'phrasing'\n ? TDefaultPhrasingRenderer\n : renderEmptyContent;\n\n const { assembledProps, Renderer } = useAssembledCommonProps(\n tnodeProps,\n renderer as any\n );\n switch (tnode.type) {\n case 'empty':\n return renderEmptyContent(assembledProps);\n case 'text':\n const InternalTextRenderer = renderRegistry.getInternalTextRenderer(\n props.tnode.tagName\n );\n\n if (InternalTextRenderer) {\n return React.createElement(InternalTextRenderer, tnodeProps);\n }\n // If ghost line prevention is enabled and the text data is empty, render\n // nothing to avoid React Native painting a 20px height line.\n // See also https://git.io/JErwX\n if (\n tnodeProps.tnode.data === '' &&\n tnodeProps.sharedProps.enableExperimentalGhostLinesPrevention\n ) {\n return null;\n }\n break;\n case 'phrasing':\n // When a TPhrasing node is anonymous and has only one child, its\n // rendering amounts to rendering its only child.\n if (\n tnodeProps.sharedProps.bypassAnonymousTPhrasingNodes &&\n tnodeProps.tnode.tagName == null &&\n tnodeProps.tnode.children.length <= 1\n ) {\n return React.createElement(TNodeChildrenRenderer, {\n tnode: props.tnode\n });\n }\n // If ghost line prevention is enabled and the tnode is an anonymous empty\n // phrasing node, render nothing to avoid React Native painting a 20px\n // height line. See also https://git.io/JErwX\n if (\n tnodeProps.sharedProps.enableExperimentalGhostLinesPrevention &&\n tnodeProps.tnode.tagName == null &&\n tnodeProps.tnode.children.every(isGhostTNode)\n ) {\n return null;\n }\n break;\n }\n const renderFn =\n tnode.type === 'block' || tnode.type === 'document'\n ? renderBlockContent\n : renderTextualContent;\n return Renderer === null\n ? renderFn(assembledProps)\n : React.createElement(Renderer as any, assembledProps);\n});\n\nconst defaultProps: Required, 'propsFromParent'>> =\n {\n propsFromParent: {\n collapsedMarginTop: null\n }\n };\n\n// @ts-expect-error default props must be defined\nTNodeRenderer.defaultProps = defaultProps;\n\nexport {\n TDefaultBlockRenderer,\n TDefaultPhrasingRenderer,\n TDefaultTextRenderer\n};\n\nexport default TNodeRenderer;\n","import { TNode } from '@native-html/transient-render-engine';\nimport {\n CustomRenderer,\n CustomRendererProps,\n InternalRenderer,\n InternalRendererProps,\n TDefaultRenderer,\n TDefaultRendererProps\n} from '../shared-types';\nimport { TNodeSubRendererProps } from '../internal-types';\nimport mergeCollapsedMargins from '../helpers/mergeCollapsedMargins';\nimport { useRendererConfig } from '../context/RenderRegistryProvider';\nimport { useDefaultContainerProps } from '../context/SharedPropsProvider';\n\n/**\n * @internal\n */\nexport default function useAssembledCommonProps(\n {\n tnode,\n propsFromParent,\n sharedProps,\n renderIndex,\n renderLength,\n TNodeChildrenRenderer\n }: TNodeSubRendererProps,\n TDefault: TDefaultRenderer | null\n): {\n Renderer: CustomRenderer | InternalRenderer | null;\n assembledProps: CustomRendererProps &\n TDefaultRendererProps &\n InternalRendererProps;\n} {\n const { Default, Custom } = useRendererConfig(tnode);\n const containerProps = useDefaultContainerProps();\n const assembledProps: CustomRendererProps & TDefaultRendererProps = {\n tnode,\n propsFromParent,\n sharedProps,\n TDefaultRenderer: TDefault as TDefaultRenderer,\n TNodeChildrenRenderer,\n style: mergeCollapsedMargins(\n propsFromParent?.collapsedMarginTop,\n tnode.getNativeStyles()\n ) as any,\n type: tnode.type === 'text' || tnode.type === 'phrasing' ? 'text' : 'block',\n propsForChildren: tnode.tagName ? {} : propsFromParent,\n InternalRenderer: Default || (TDefault as any),\n renderIndex,\n renderLength,\n ...containerProps\n };\n return {\n assembledProps,\n Renderer: Custom || Default || null\n };\n}\n","import { TNodeShape, TNodeType } from '@native-html/transient-render-engine';\n\nexport default function mergeCollapsedMargins(\n collapsedMarginTop: number | null | undefined,\n nativeStyle: ReturnType['getNativeStyles']>\n): ReturnType['getNativeStyles']> {\n if (typeof collapsedMarginTop !== 'number') {\n return nativeStyle;\n }\n return {\n ...nativeStyle,\n marginTop: collapsedMarginTop\n };\n}\n","import { TNode, TText } from '@native-html/transient-render-engine';\nimport React, { PropsWithChildren, useMemo } from 'react';\nimport useProfiler from '../hooks/useProfiler';\nimport { CustomTagRendererRecord } from '../render/render-types';\nimport RenderRegistry from '../render/RenderRegistry';\nimport { HTMLElementModelRecord } from '../shared-types';\n\nexport const RenderRegistryContext = React.createContext(\n null as any\n);\n\nexport function useRendererRegistry() {\n return React.useContext(RenderRegistryContext);\n}\n\nexport function useRendererConfig(tnode: T) {\n return React.useContext(RenderRegistryContext).getRendererConfigForTNode(\n tnode\n );\n}\n\nexport function useInternalTextRenderer(tnode: TText) {\n return React.useContext(RenderRegistryContext).getInternalTextRenderer(\n tnode.tagName\n );\n}\n\nexport default function RenderRegistryProvider({\n children,\n elementModels,\n renderers\n}: PropsWithChildren<{\n elementModels: HTMLElementModelRecord;\n renderers?: CustomTagRendererRecord;\n}>) {\n const profile = useProfiler({ prop: 'renderers' });\n const registry = useMemo(() => {\n typeof __DEV__ === 'boolean' && __DEV__ && profile();\n return new RenderRegistry(renderers, elementModels);\n }, [renderers, elementModels, profile]);\n return (\n \n {children}\n \n );\n}\n","import { TNode } from '@native-html/transient-render-engine';\nimport { ComponentType } from 'react';\nimport { CustomRendererProps } from '..';\nimport lookupRecord from '../helpers/lookupRecord';\nimport BRRenderer from '../renderers/BRRenderer';\nimport WBRRenderer from '../renderers/WBRRenderer';\nimport {\n CustomRenderer,\n HTMLElementModelRecord,\n InternalRenderer\n} from '../shared-types';\nimport internalRenderers from './internalRenderers';\nimport {\n CustomTagRendererRecord,\n InternalTextContentRenderer\n} from './render-types';\n\nconst internalTextRenderers: Record = {\n br: BRRenderer,\n wbr: WBRRenderer\n};\n\nexport interface RendererConfig {\n Custom: CustomRenderer | null;\n Default: InternalRenderer | null;\n}\n\nexport default class RenderRegistry {\n constructor(\n customRenderers: CustomTagRendererRecord = {},\n elementModels: HTMLElementModelRecord\n ) {\n this.customRenderers = customRenderers;\n this.elementModels = elementModels;\n }\n\n private readonly customRenderers: CustomTagRendererRecord = {};\n private readonly elementModels: HTMLElementModelRecord;\n\n private getCustomRendererForTNode(\n tnode: T\n ): ComponentType> | null {\n if (tnode.tagName! in this.customRenderers) {\n const renderer = this.customRenderers[tnode.tagName!];\n /* istanbul ignore next */\n if (typeof __DEV__ === 'boolean' && __DEV__) {\n // In DEV, check for discrepancies.\n const elementModel = this.elementModels[tnode.tagName!];\n if (!elementModel) {\n console.warn(\n `You are attempting to render a ${tnode.tagName!} tag but you didn't provide an HTMLElementModel. Make sure you register a model for this tag in \"customHTMLElementModels\" prop. `\n );\n } else if (!tnode.matchContentModel(elementModel.contentModel)) {\n console.warn(\n `You are attempting to render \"${tnode.tagName}\" of type \"${tnode.displayName}\", but the registered renderer is of content model type ${elementModel?.contentModel} which is incompatible with \"${tnode.displayName}\".`\n );\n }\n }\n return renderer as any;\n }\n return null;\n }\n\n private getDefaultRendererForTNode(\n tnode: T\n ): InternalRenderer | null {\n if (tnode.tagName! in internalRenderers) {\n //@ts-expect-error we know that the tagName is in the map\n return internalRenderers[tnode.tagName!];\n }\n return null;\n }\n\n getInternalTextRenderer(tagName: string | null) {\n if (lookupRecord(internalTextRenderers, tagName)) {\n return internalTextRenderers[tagName];\n }\n return null;\n }\n\n getRendererConfigForTNode(tnode: T): RendererConfig {\n return {\n Custom: this.getCustomRendererForTNode(tnode),\n Default: this.getDefaultRendererForTNode(tnode)\n };\n }\n}\n","export default function lookupRecord>(\n record: T,\n key: any\n): key is keyof T {\n const value = record[key];\n return !!value;\n}\n","import { TNode } from '@native-html/transient-render-engine';\nimport React from 'react';\nimport { Platform, Text, View } from 'react-native';\nimport { InternalTextContentRenderer } from '../render/render-types';\n\nconst emptyProps = {\n testID: 'br'\n};\n\nconst isWeb = Platform.OS === 'web';\n\nfunction renderEmptyLineBreak(tnode: TNode) {\n const lineHeight =\n tnode.styles.nativeTextFlow.lineHeight ||\n tnode.styles.nativeTextFlow.fontSize! * 1.4;\n return ;\n}\n\nconst BRRenderer: InternalTextContentRenderer = function BRRenderer({\n renderIndex,\n renderLength,\n sharedProps,\n tnode\n}) {\n // If it is the last child and BR collapsing is enabled, render an empty\n // string to prevent inserting an undesired space to follow HTML specs,\n // unless the platform is web and it is also the first child.\n //\n // Note that we are taking advantage of the Ghost Line oddity in React\n // Native, where an empty element displays a line, since a\n // line break opening **and** closing an inline formatting context\n // should be printed as a one line-height item.\n const isFirst = renderIndex === 0;\n const isLast = renderIndex === renderLength - 1;\n const isLonelyBreak = isFirst && isLast;\n const shouldCollapse =\n sharedProps.enableExperimentalBRCollapsing &&\n (isFirst ? isLast && !isWeb : isLast);\n return isLonelyBreak && shouldCollapse\n ? renderEmptyLineBreak(tnode)\n : React.createElement(Text, emptyProps, shouldCollapse ? '' : '\\n');\n};\n\nBRRenderer.isNativeInternalTextRenderer = true;\n\nexport default BRRenderer;\n","import React from 'react';\nimport { Text } from 'react-native';\nimport { InternalTextContentRenderer } from '../render/render-types';\n\nconst emptyProps = {};\n\nconst WBRRenderer: InternalTextContentRenderer = function WordBreakRenderer() {\n return React.createElement(Text, emptyProps, '\\u200b');\n};\n\nWBRRenderer.isNativeInternalTextRenderer = true;\n\nexport default WBRRenderer;\n","import ARenderer from '../renderers/ARenderer';\nimport IMGRenderer from '../renderers/IMGRenderer';\nimport OLRenderer from '../renderers/OLRenderer';\nimport ULRenderer from '../renderers/ULRenderer';\n\nconst internalRenderers = {\n img: IMGRenderer,\n ul: ULRenderer,\n ol: OLRenderer,\n a: ARenderer\n};\n\nexport default internalRenderers;\n","import React from 'react';\nimport { InternalMixedRenderer } from '../render/render-types';\nimport { TNode, DocumentContext } from '@native-html/transient-render-engine';\nimport { InternalRendererProps, RenderersProps } from '../shared-types';\nimport { GestureResponderEvent } from 'react-native';\nimport useNormalizedUrl from '../hooks/useNormalizedUrl';\nimport { useDocumentMetadata } from '../context/DocumentMetadataProvider';\nimport { useRendererProps } from '../context/RenderersPropsProvider';\n\nfunction useAnchorOnLinkPress(\n tnode: TNode,\n onPress: RenderersProps['a']['onPress']\n) {\n const href: string = tnode.attributes.href;\n const normalizedHref = useNormalizedUrl(href);\n const { baseTarget } = useDocumentMetadata();\n const shouldHandleLinkPress =\n tnode.tagName === 'a' &&\n typeof normalizedHref === 'string' &&\n href.length > 0 &&\n typeof onPress === 'function';\n return shouldHandleLinkPress\n ? (e: GestureResponderEvent) =>\n onPress!(\n e,\n normalizedHref,\n tnode.attributes,\n (tnode.attributes.target as DocumentContext['baseTarget']) ||\n baseTarget\n )\n : undefined;\n}\n\nexport function useAElementProps(\n props: InternalRendererProps\n): InternalRendererProps {\n const { tnode } = props;\n const { onPress } = useRendererProps('a');\n const syntheticAnchorOnLinkPress = useAnchorOnLinkPress(tnode, onPress);\n if (typeof syntheticAnchorOnLinkPress !== 'function') {\n return props;\n }\n return {\n ...props,\n onPress: syntheticAnchorOnLinkPress\n };\n}\n\nconst ARenderer: InternalMixedRenderer = (props) => {\n return React.createElement(props.TDefaultRenderer, useAElementProps(props));\n};\n\nexport default ARenderer;\n","import React from 'react';\nimport { TBlock } from '@native-html/transient-render-engine';\nimport { InternalBlockRenderer } from '../render/render-types';\nimport {\n InternalRendererProps,\n DefaultSupportedListStyleType\n} from '../shared-types';\nimport OLElement, { OLElementProps } from '../elements/OLElement';\nimport { useRendererProps } from '../context/RenderersPropsProvider';\n\nfunction getFallbackListStyleTypeFromNestLevel(\n nestLevel: number\n): DefaultSupportedListStyleType {\n switch (nestLevel % 3) {\n case 0:\n return 'decimal';\n\n /* istanbul ignore next */\n case 1:\n return 'upper-alpha';\n\n /* istanbul ignore next */\n default:\n return 'lower-alpha';\n }\n}\n\nexport function useOLElementProps(\n props: InternalRendererProps\n): OLElementProps {\n const config = useRendererProps('ol');\n return {\n ...props,\n getFallbackListStyleTypeFromNestLevel,\n ...config\n };\n}\n\nconst OLRenderer: InternalBlockRenderer = (props) => {\n return React.createElement(OLElement, useOLElementProps(props));\n};\n\nexport default OLRenderer;\n","import React from 'react';\nimport ListElement, { ListElementProps } from './ListElement';\n\nexport type OLElementProps = Omit, 'listType'>;\nexport default function OLElement(props: OLElementProps) {\n return React.createElement(ListElement, { ...props, listType: 'ol' });\n}\n","import { StyleSheet, View } from 'react-native';\nimport React from 'react';\nimport { TBlock, TNode } from '@native-html/transient-render-engine';\nimport { MarkedListItem, useMarkedList } from '@jsamr/react-native-li';\nimport type {\n DefaultSupportedListStyleType,\n InternalRendererProps,\n ListElementConfig,\n TChildProps\n} from '../shared-types';\nimport { useTChildrenRenderer } from '../context/TChildrenRendererContext';\nimport { DEFAULT_TEXT_COLOR } from '../constants';\nimport pick from 'ramda/src/pick';\nimport { useListStyleSpecs } from '../context/ListStyleSpecsProvider';\n\nexport interface ListElementProps\n extends InternalRendererProps,\n ListElementConfig {\n listType: T;\n}\n\nfunction getStartIndex(tnode: TNode) {\n const parsedIndex = tnode.attributes.start\n ? Number(tnode.attributes.start)\n : Number.NaN;\n return Number.isNaN(parsedIndex) ? 1 : parsedIndex;\n}\n\nconst pickMarkerTextStyles = pick([\n 'fontStyle',\n 'fontSize',\n 'fontWeight',\n 'fontFamily',\n 'fontVariant',\n 'color',\n 'lineHeight'\n]);\n\nfunction extractMarkerTextStyle(tnode: TNode) {\n return Object.assign(\n {\n lineHeight: 14 * 1.3,\n fontSize: 14,\n color: DEFAULT_TEXT_COLOR\n },\n pickMarkerTextStyles(tnode.styles.nativeTextFlow)\n );\n}\n\nexport function getMarkerBoxStyle(\n markerWidth: number | false,\n paddingValue: string | number | undefined\n) {\n const markerBoxWidth =\n typeof markerWidth === 'number'\n ? typeof paddingValue === 'number'\n ? Math.max(paddingValue, markerWidth)\n : markerWidth\n : paddingValue;\n return { width: markerBoxWidth };\n}\n\nconst listStyleTypeFallbackRecord: Record<\n 'ol' | 'ul',\n DefaultSupportedListStyleType\n> = {\n ol: 'decimal',\n ul: 'disc'\n};\n\nexport default function ListElement({\n tnode,\n TDefaultRenderer,\n listType,\n style,\n getFallbackListStyleTypeFromNestLevel,\n markerBoxStyle,\n markerTextStyle: providedMarkerTextStyle,\n enableExperimentalRtl = false,\n enableRemoveTopMarginIfNested = true,\n enableRemoveBottomMarginIfNested = true,\n enableDynamicMarkerBoxWidth = false,\n ...props\n}: ListElementProps<'ol' | 'ul'>) {\n const listStyleSpecs = useListStyleSpecs();\n const markers = tnode.markers;\n const nestLevel =\n listType === 'ol' ? markers.olNestLevel : markers.ulNestLevel;\n const TChildrenRenderer = useTChildrenRenderer();\n const rtl =\n enableExperimentalRtl &&\n (style.direction === 'rtl' || markers.direction === 'rtl');\n const removeTopMarginStyle =\n enableRemoveTopMarginIfNested &&\n tnode.parent?.tagName === 'li' &&\n tnode.nodeIndex === 0\n ? styles.zeroMarginTop\n : null;\n const removeBottomMarginStyle =\n enableRemoveBottomMarginIfNested &&\n tnode.parent?.tagName === 'li' &&\n tnode.nodeIndex === tnode.parent?.children.length - 1\n ? styles.zeroMarginBottom\n : null;\n const ownListType = tnode.styles.webTextFlow.listStyleType as\n | DefaultSupportedListStyleType\n | undefined;\n const selectedListType =\n getFallbackListStyleTypeFromNestLevel!(nestLevel) ||\n ownListType ||\n listStyleTypeFallbackRecord[listType];\n const listStyleType = ownListType || selectedListType;\n if (\n typeof __DEV__ === 'boolean' &&\n __DEV__ &&\n !(listStyleType in listStyleSpecs)\n ) {\n if (listStyleType.match(/^(\"|')/)) {\n console.warn(\n \"This library doesn't support strings for list-style-type CSS properties.\"\n );\n } else {\n console.warn(\n `list-style-type \"${listStyleType}\" is not handled by react-native-render-html. ` +\n 'You can easily provide support for this style via \"customListStyleSpecs\" prop.'\n );\n }\n }\n const spec =\n listStyleType in listStyleSpecs\n ? listStyleSpecs[listStyleType]\n : listStyleSpecs[selectedListType];\n const counterRenderer = spec.counterStyleRenderer;\n const startIndex = getStartIndex(tnode);\n const markerTextStyle =\n typeof providedMarkerTextStyle === 'object' && providedMarkerTextStyle\n ? { ...extractMarkerTextStyle(tnode), ...providedMarkerTextStyle }\n : extractMarkerTextStyle(tnode);\n const itemProps = useMarkedList({\n counterRenderer,\n startIndex,\n markerTextStyle,\n markerBoxStyle,\n rtlLineReversed: rtl,\n rtlMarkerReversed: rtl,\n length: tnode.children.length,\n dynamicMarkerBoxWidth: enableDynamicMarkerBoxWidth,\n renderMarker: spec.renderMarker\n });\n const markerWidth = itemProps.markerTextWidth;\n const fixedPaddingRule = rtl\n ? ('paddingRight' as const)\n : ('paddingLeft' as const);\n // Fallback to padding-left value on RTL mode\n const paddingValue = style[fixedPaddingRule] ?? style.paddingLeft;\n const markerBoxWidthStyle = getMarkerBoxStyle(markerWidth, paddingValue);\n const renderChild = ({ childElement, key, index }: TChildProps) => (\n \n {childElement}\n \n );\n\n const dynamicPaddingStyle = {\n position: 'relative' as const,\n [fixedPaddingRule]: 0\n };\n return (\n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n zeroMarginTop: { marginTop: 0 },\n zeroMarginBottom: { marginBottom: 0 },\n shrink: { flexShrink: 1 }\n});\n","/* eslint-disable react-native/no-inline-styles */\nimport { MarkerBoxProps } from '@jsamr/react-native-li';\nimport { mapObjIndexed } from 'ramda';\nimport React, {\n createContext,\n PropsWithChildren,\n useContext,\n useMemo\n} from 'react';\nimport { Text, View } from 'react-native';\nimport defaultListStyleSpecs from '../elements/defaultListStyleSpecs';\nimport { ListStyleSpec, UnitaryListStyleSpec } from '../shared-types';\nimport { useSharedProps } from './SharedPropsProvider';\n\nconst listStyleSpecsContext = createContext<\n Record<\n string,\n ListStyleSpec & { renderMarker?: (props: MarkerBoxProps) => any }\n >\n>(defaultListStyleSpecs);\n\nexport function useListStyleSpecs() {\n return useContext(listStyleSpecsContext);\n}\n\nfunction createSymbolicMarkerRenderer({\n Component,\n counterStyleRenderer\n}: UnitaryListStyleSpec) {\n const prefix = counterStyleRenderer.renderPrefix();\n const suffix = counterStyleRenderer.renderSuffix();\n return ({\n style,\n markerTextStyle,\n counterIndex,\n rtlMarkerReversed\n }: MarkerBoxProps) => {\n return (\n \n {!!prefix && {prefix}}\n {React.createElement(Component, {\n ...(markerTextStyle as any),\n index: counterIndex\n })}\n {!!suffix && {suffix}}\n \n );\n };\n}\n\nconst makeMarkerRenderers = mapObjIndexed((value: ListStyleSpec) => {\n if (value.type === 'unitary') {\n return {\n ...value,\n renderMarker: createSymbolicMarkerRenderer(value)\n };\n }\n return value;\n});\n\nexport default function ListStyleSpecsProvider({\n children\n}: PropsWithChildren<{}>) {\n const { customListStyleSpecs } = useSharedProps();\n const mergedListStyleSpecs = useMemo(() => {\n return makeMarkerRenderers(\n customListStyleSpecs != null\n ? { ...defaultListStyleSpecs, ...customListStyleSpecs }\n : defaultListStyleSpecs\n );\n }, [customListStyleSpecs]);\n return (\n \n {children}\n \n );\n}\n","module.exports = {};\nmodule.exports.F =\n/*#__PURE__*/\nrequire(\"./F\");\nmodule.exports.T =\n/*#__PURE__*/\nrequire(\"./T\");\nmodule.exports.__ =\n/*#__PURE__*/\nrequire(\"./__\");\nmodule.exports.add =\n/*#__PURE__*/\nrequire(\"./add\");\nmodule.exports.addIndex =\n/*#__PURE__*/\nrequire(\"./addIndex\");\nmodule.exports.adjust =\n/*#__PURE__*/\nrequire(\"./adjust\");\nmodule.exports.all =\n/*#__PURE__*/\nrequire(\"./all\");\nmodule.exports.allPass =\n/*#__PURE__*/\nrequire(\"./allPass\");\nmodule.exports.always =\n/*#__PURE__*/\nrequire(\"./always\");\nmodule.exports.and =\n/*#__PURE__*/\nrequire(\"./and\");\nmodule.exports.any =\n/*#__PURE__*/\nrequire(\"./any\");\nmodule.exports.anyPass =\n/*#__PURE__*/\nrequire(\"./anyPass\");\nmodule.exports.ap =\n/*#__PURE__*/\nrequire(\"./ap\");\nmodule.exports.aperture =\n/*#__PURE__*/\nrequire(\"./aperture\");\nmodule.exports.append =\n/*#__PURE__*/\nrequire(\"./append\");\nmodule.exports.apply =\n/*#__PURE__*/\nrequire(\"./apply\");\nmodule.exports.applySpec =\n/*#__PURE__*/\nrequire(\"./applySpec\");\nmodule.exports.applyTo =\n/*#__PURE__*/\nrequire(\"./applyTo\");\nmodule.exports.ascend =\n/*#__PURE__*/\nrequire(\"./ascend\");\nmodule.exports.assoc =\n/*#__PURE__*/\nrequire(\"./assoc\");\nmodule.exports.assocPath =\n/*#__PURE__*/\nrequire(\"./assocPath\");\nmodule.exports.binary =\n/*#__PURE__*/\nrequire(\"./binary\");\nmodule.exports.bind =\n/*#__PURE__*/\nrequire(\"./bind\");\nmodule.exports.both =\n/*#__PURE__*/\nrequire(\"./both\");\nmodule.exports.call =\n/*#__PURE__*/\nrequire(\"./call\");\nmodule.exports.chain =\n/*#__PURE__*/\nrequire(\"./chain\");\nmodule.exports.clamp =\n/*#__PURE__*/\nrequire(\"./clamp\");\nmodule.exports.clone =\n/*#__PURE__*/\nrequire(\"./clone\");\nmodule.exports.comparator =\n/*#__PURE__*/\nrequire(\"./comparator\");\nmodule.exports.complement =\n/*#__PURE__*/\nrequire(\"./complement\");\nmodule.exports.compose =\n/*#__PURE__*/\nrequire(\"./compose\");\nmodule.exports.composeK =\n/*#__PURE__*/\nrequire(\"./composeK\");\nmodule.exports.composeP =\n/*#__PURE__*/\nrequire(\"./composeP\");\nmodule.exports.composeWith =\n/*#__PURE__*/\nrequire(\"./composeWith\");\nmodule.exports.concat =\n/*#__PURE__*/\nrequire(\"./concat\");\nmodule.exports.cond =\n/*#__PURE__*/\nrequire(\"./cond\");\nmodule.exports.construct =\n/*#__PURE__*/\nrequire(\"./construct\");\nmodule.exports.constructN =\n/*#__PURE__*/\nrequire(\"./constructN\");\nmodule.exports.contains =\n/*#__PURE__*/\nrequire(\"./contains\");\nmodule.exports.converge =\n/*#__PURE__*/\nrequire(\"./converge\");\nmodule.exports.countBy =\n/*#__PURE__*/\nrequire(\"./countBy\");\nmodule.exports.curry =\n/*#__PURE__*/\nrequire(\"./curry\");\nmodule.exports.curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\nmodule.exports.dec =\n/*#__PURE__*/\nrequire(\"./dec\");\nmodule.exports.defaultTo =\n/*#__PURE__*/\nrequire(\"./defaultTo\");\nmodule.exports.descend =\n/*#__PURE__*/\nrequire(\"./descend\");\nmodule.exports.difference =\n/*#__PURE__*/\nrequire(\"./difference\");\nmodule.exports.differenceWith =\n/*#__PURE__*/\nrequire(\"./differenceWith\");\nmodule.exports.dissoc =\n/*#__PURE__*/\nrequire(\"./dissoc\");\nmodule.exports.dissocPath =\n/*#__PURE__*/\nrequire(\"./dissocPath\");\nmodule.exports.divide =\n/*#__PURE__*/\nrequire(\"./divide\");\nmodule.exports.drop =\n/*#__PURE__*/\nrequire(\"./drop\");\nmodule.exports.dropLast =\n/*#__PURE__*/\nrequire(\"./dropLast\");\nmodule.exports.dropLastWhile =\n/*#__PURE__*/\nrequire(\"./dropLastWhile\");\nmodule.exports.dropRepeats =\n/*#__PURE__*/\nrequire(\"./dropRepeats\");\nmodule.exports.dropRepeatsWith =\n/*#__PURE__*/\nrequire(\"./dropRepeatsWith\");\nmodule.exports.dropWhile =\n/*#__PURE__*/\nrequire(\"./dropWhile\");\nmodule.exports.either =\n/*#__PURE__*/\nrequire(\"./either\");\nmodule.exports.empty =\n/*#__PURE__*/\nrequire(\"./empty\");\nmodule.exports.endsWith =\n/*#__PURE__*/\nrequire(\"./endsWith\");\nmodule.exports.eqBy =\n/*#__PURE__*/\nrequire(\"./eqBy\");\nmodule.exports.eqProps =\n/*#__PURE__*/\nrequire(\"./eqProps\");\nmodule.exports.equals =\n/*#__PURE__*/\nrequire(\"./equals\");\nmodule.exports.evolve =\n/*#__PURE__*/\nrequire(\"./evolve\");\nmodule.exports.filter =\n/*#__PURE__*/\nrequire(\"./filter\");\nmodule.exports.find =\n/*#__PURE__*/\nrequire(\"./find\");\nmodule.exports.findIndex =\n/*#__PURE__*/\nrequire(\"./findIndex\");\nmodule.exports.findLast =\n/*#__PURE__*/\nrequire(\"./findLast\");\nmodule.exports.findLastIndex =\n/*#__PURE__*/\nrequire(\"./findLastIndex\");\nmodule.exports.flatten =\n/*#__PURE__*/\nrequire(\"./flatten\");\nmodule.exports.flip =\n/*#__PURE__*/\nrequire(\"./flip\");\nmodule.exports.forEach =\n/*#__PURE__*/\nrequire(\"./forEach\");\nmodule.exports.forEachObjIndexed =\n/*#__PURE__*/\nrequire(\"./forEachObjIndexed\");\nmodule.exports.fromPairs =\n/*#__PURE__*/\nrequire(\"./fromPairs\");\nmodule.exports.groupBy =\n/*#__PURE__*/\nrequire(\"./groupBy\");\nmodule.exports.groupWith =\n/*#__PURE__*/\nrequire(\"./groupWith\");\nmodule.exports.gt =\n/*#__PURE__*/\nrequire(\"./gt\");\nmodule.exports.gte =\n/*#__PURE__*/\nrequire(\"./gte\");\nmodule.exports.has =\n/*#__PURE__*/\nrequire(\"./has\");\nmodule.exports.hasIn =\n/*#__PURE__*/\nrequire(\"./hasIn\");\nmodule.exports.hasPath =\n/*#__PURE__*/\nrequire(\"./hasPath\");\nmodule.exports.head =\n/*#__PURE__*/\nrequire(\"./head\");\nmodule.exports.identical =\n/*#__PURE__*/\nrequire(\"./identical\");\nmodule.exports.identity =\n/*#__PURE__*/\nrequire(\"./identity\");\nmodule.exports.ifElse =\n/*#__PURE__*/\nrequire(\"./ifElse\");\nmodule.exports.inc =\n/*#__PURE__*/\nrequire(\"./inc\");\nmodule.exports.includes =\n/*#__PURE__*/\nrequire(\"./includes\");\nmodule.exports.indexBy =\n/*#__PURE__*/\nrequire(\"./indexBy\");\nmodule.exports.indexOf =\n/*#__PURE__*/\nrequire(\"./indexOf\");\nmodule.exports.init =\n/*#__PURE__*/\nrequire(\"./init\");\nmodule.exports.innerJoin =\n/*#__PURE__*/\nrequire(\"./innerJoin\");\nmodule.exports.insert =\n/*#__PURE__*/\nrequire(\"./insert\");\nmodule.exports.insertAll =\n/*#__PURE__*/\nrequire(\"./insertAll\");\nmodule.exports.intersection =\n/*#__PURE__*/\nrequire(\"./intersection\");\nmodule.exports.intersperse =\n/*#__PURE__*/\nrequire(\"./intersperse\");\nmodule.exports.into =\n/*#__PURE__*/\nrequire(\"./into\");\nmodule.exports.invert =\n/*#__PURE__*/\nrequire(\"./invert\");\nmodule.exports.invertObj =\n/*#__PURE__*/\nrequire(\"./invertObj\");\nmodule.exports.invoker =\n/*#__PURE__*/\nrequire(\"./invoker\");\nmodule.exports.is =\n/*#__PURE__*/\nrequire(\"./is\");\nmodule.exports.isEmpty =\n/*#__PURE__*/\nrequire(\"./isEmpty\");\nmodule.exports.isNil =\n/*#__PURE__*/\nrequire(\"./isNil\");\nmodule.exports.join =\n/*#__PURE__*/\nrequire(\"./join\");\nmodule.exports.juxt =\n/*#__PURE__*/\nrequire(\"./juxt\");\nmodule.exports.keys =\n/*#__PURE__*/\nrequire(\"./keys\");\nmodule.exports.keysIn =\n/*#__PURE__*/\nrequire(\"./keysIn\");\nmodule.exports.last =\n/*#__PURE__*/\nrequire(\"./last\");\nmodule.exports.lastIndexOf =\n/*#__PURE__*/\nrequire(\"./lastIndexOf\");\nmodule.exports.length =\n/*#__PURE__*/\nrequire(\"./length\");\nmodule.exports.lens =\n/*#__PURE__*/\nrequire(\"./lens\");\nmodule.exports.lensIndex =\n/*#__PURE__*/\nrequire(\"./lensIndex\");\nmodule.exports.lensPath =\n/*#__PURE__*/\nrequire(\"./lensPath\");\nmodule.exports.lensProp =\n/*#__PURE__*/\nrequire(\"./lensProp\");\nmodule.exports.lift =\n/*#__PURE__*/\nrequire(\"./lift\");\nmodule.exports.liftN =\n/*#__PURE__*/\nrequire(\"./liftN\");\nmodule.exports.lt =\n/*#__PURE__*/\nrequire(\"./lt\");\nmodule.exports.lte =\n/*#__PURE__*/\nrequire(\"./lte\");\nmodule.exports.map =\n/*#__PURE__*/\nrequire(\"./map\");\nmodule.exports.mapAccum =\n/*#__PURE__*/\nrequire(\"./mapAccum\");\nmodule.exports.mapAccumRight =\n/*#__PURE__*/\nrequire(\"./mapAccumRight\");\nmodule.exports.mapObjIndexed =\n/*#__PURE__*/\nrequire(\"./mapObjIndexed\");\nmodule.exports.match =\n/*#__PURE__*/\nrequire(\"./match\");\nmodule.exports.mathMod =\n/*#__PURE__*/\nrequire(\"./mathMod\");\nmodule.exports.max =\n/*#__PURE__*/\nrequire(\"./max\");\nmodule.exports.maxBy =\n/*#__PURE__*/\nrequire(\"./maxBy\");\nmodule.exports.mean =\n/*#__PURE__*/\nrequire(\"./mean\");\nmodule.exports.median =\n/*#__PURE__*/\nrequire(\"./median\");\nmodule.exports.memoizeWith =\n/*#__PURE__*/\nrequire(\"./memoizeWith\");\nmodule.exports.merge =\n/*#__PURE__*/\nrequire(\"./merge\");\nmodule.exports.mergeAll =\n/*#__PURE__*/\nrequire(\"./mergeAll\");\nmodule.exports.mergeDeepLeft =\n/*#__PURE__*/\nrequire(\"./mergeDeepLeft\");\nmodule.exports.mergeDeepRight =\n/*#__PURE__*/\nrequire(\"./mergeDeepRight\");\nmodule.exports.mergeDeepWith =\n/*#__PURE__*/\nrequire(\"./mergeDeepWith\");\nmodule.exports.mergeDeepWithKey =\n/*#__PURE__*/\nrequire(\"./mergeDeepWithKey\");\nmodule.exports.mergeLeft =\n/*#__PURE__*/\nrequire(\"./mergeLeft\");\nmodule.exports.mergeRight =\n/*#__PURE__*/\nrequire(\"./mergeRight\");\nmodule.exports.mergeWith =\n/*#__PURE__*/\nrequire(\"./mergeWith\");\nmodule.exports.mergeWithKey =\n/*#__PURE__*/\nrequire(\"./mergeWithKey\");\nmodule.exports.min =\n/*#__PURE__*/\nrequire(\"./min\");\nmodule.exports.minBy =\n/*#__PURE__*/\nrequire(\"./minBy\");\nmodule.exports.modulo =\n/*#__PURE__*/\nrequire(\"./modulo\");\nmodule.exports.move =\n/*#__PURE__*/\nrequire(\"./move\");\nmodule.exports.multiply =\n/*#__PURE__*/\nrequire(\"./multiply\");\nmodule.exports.nAry =\n/*#__PURE__*/\nrequire(\"./nAry\");\nmodule.exports.negate =\n/*#__PURE__*/\nrequire(\"./negate\");\nmodule.exports.none =\n/*#__PURE__*/\nrequire(\"./none\");\nmodule.exports.not =\n/*#__PURE__*/\nrequire(\"./not\");\nmodule.exports.nth =\n/*#__PURE__*/\nrequire(\"./nth\");\nmodule.exports.nthArg =\n/*#__PURE__*/\nrequire(\"./nthArg\");\nmodule.exports.o =\n/*#__PURE__*/\nrequire(\"./o\");\nmodule.exports.objOf =\n/*#__PURE__*/\nrequire(\"./objOf\");\nmodule.exports.of =\n/*#__PURE__*/\nrequire(\"./of\");\nmodule.exports.omit =\n/*#__PURE__*/\nrequire(\"./omit\");\nmodule.exports.once =\n/*#__PURE__*/\nrequire(\"./once\");\nmodule.exports.or =\n/*#__PURE__*/\nrequire(\"./or\");\nmodule.exports.otherwise =\n/*#__PURE__*/\nrequire(\"./otherwise\");\nmodule.exports.over =\n/*#__PURE__*/\nrequire(\"./over\");\nmodule.exports.pair =\n/*#__PURE__*/\nrequire(\"./pair\");\nmodule.exports.partial =\n/*#__PURE__*/\nrequire(\"./partial\");\nmodule.exports.partialRight =\n/*#__PURE__*/\nrequire(\"./partialRight\");\nmodule.exports.partition =\n/*#__PURE__*/\nrequire(\"./partition\");\nmodule.exports.path =\n/*#__PURE__*/\nrequire(\"./path\");\nmodule.exports.paths =\n/*#__PURE__*/\nrequire(\"./paths\");\nmodule.exports.pathEq =\n/*#__PURE__*/\nrequire(\"./pathEq\");\nmodule.exports.pathOr =\n/*#__PURE__*/\nrequire(\"./pathOr\");\nmodule.exports.pathSatisfies =\n/*#__PURE__*/\nrequire(\"./pathSatisfies\");\nmodule.exports.pick =\n/*#__PURE__*/\nrequire(\"./pick\");\nmodule.exports.pickAll =\n/*#__PURE__*/\nrequire(\"./pickAll\");\nmodule.exports.pickBy =\n/*#__PURE__*/\nrequire(\"./pickBy\");\nmodule.exports.pipe =\n/*#__PURE__*/\nrequire(\"./pipe\");\nmodule.exports.pipeK =\n/*#__PURE__*/\nrequire(\"./pipeK\");\nmodule.exports.pipeP =\n/*#__PURE__*/\nrequire(\"./pipeP\");\nmodule.exports.pipeWith =\n/*#__PURE__*/\nrequire(\"./pipeWith\");\nmodule.exports.pluck =\n/*#__PURE__*/\nrequire(\"./pluck\");\nmodule.exports.prepend =\n/*#__PURE__*/\nrequire(\"./prepend\");\nmodule.exports.product =\n/*#__PURE__*/\nrequire(\"./product\");\nmodule.exports.project =\n/*#__PURE__*/\nrequire(\"./project\");\nmodule.exports.prop =\n/*#__PURE__*/\nrequire(\"./prop\");\nmodule.exports.propEq =\n/*#__PURE__*/\nrequire(\"./propEq\");\nmodule.exports.propIs =\n/*#__PURE__*/\nrequire(\"./propIs\");\nmodule.exports.propOr =\n/*#__PURE__*/\nrequire(\"./propOr\");\nmodule.exports.propSatisfies =\n/*#__PURE__*/\nrequire(\"./propSatisfies\");\nmodule.exports.props =\n/*#__PURE__*/\nrequire(\"./props\");\nmodule.exports.range =\n/*#__PURE__*/\nrequire(\"./range\");\nmodule.exports.reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\nmodule.exports.reduceBy =\n/*#__PURE__*/\nrequire(\"./reduceBy\");\nmodule.exports.reduceRight =\n/*#__PURE__*/\nrequire(\"./reduceRight\");\nmodule.exports.reduceWhile =\n/*#__PURE__*/\nrequire(\"./reduceWhile\");\nmodule.exports.reduced =\n/*#__PURE__*/\nrequire(\"./reduced\");\nmodule.exports.reject =\n/*#__PURE__*/\nrequire(\"./reject\");\nmodule.exports.remove =\n/*#__PURE__*/\nrequire(\"./remove\");\nmodule.exports.repeat =\n/*#__PURE__*/\nrequire(\"./repeat\");\nmodule.exports.replace =\n/*#__PURE__*/\nrequire(\"./replace\");\nmodule.exports.reverse =\n/*#__PURE__*/\nrequire(\"./reverse\");\nmodule.exports.scan =\n/*#__PURE__*/\nrequire(\"./scan\");\nmodule.exports.sequence =\n/*#__PURE__*/\nrequire(\"./sequence\");\nmodule.exports.set =\n/*#__PURE__*/\nrequire(\"./set\");\nmodule.exports.slice =\n/*#__PURE__*/\nrequire(\"./slice\");\nmodule.exports.sort =\n/*#__PURE__*/\nrequire(\"./sort\");\nmodule.exports.sortBy =\n/*#__PURE__*/\nrequire(\"./sortBy\");\nmodule.exports.sortWith =\n/*#__PURE__*/\nrequire(\"./sortWith\");\nmodule.exports.split =\n/*#__PURE__*/\nrequire(\"./split\");\nmodule.exports.splitAt =\n/*#__PURE__*/\nrequire(\"./splitAt\");\nmodule.exports.splitEvery =\n/*#__PURE__*/\nrequire(\"./splitEvery\");\nmodule.exports.splitWhen =\n/*#__PURE__*/\nrequire(\"./splitWhen\");\nmodule.exports.startsWith =\n/*#__PURE__*/\nrequire(\"./startsWith\");\nmodule.exports.subtract =\n/*#__PURE__*/\nrequire(\"./subtract\");\nmodule.exports.sum =\n/*#__PURE__*/\nrequire(\"./sum\");\nmodule.exports.symmetricDifference =\n/*#__PURE__*/\nrequire(\"./symmetricDifference\");\nmodule.exports.symmetricDifferenceWith =\n/*#__PURE__*/\nrequire(\"./symmetricDifferenceWith\");\nmodule.exports.tail =\n/*#__PURE__*/\nrequire(\"./tail\");\nmodule.exports.take =\n/*#__PURE__*/\nrequire(\"./take\");\nmodule.exports.takeLast =\n/*#__PURE__*/\nrequire(\"./takeLast\");\nmodule.exports.takeLastWhile =\n/*#__PURE__*/\nrequire(\"./takeLastWhile\");\nmodule.exports.takeWhile =\n/*#__PURE__*/\nrequire(\"./takeWhile\");\nmodule.exports.tap =\n/*#__PURE__*/\nrequire(\"./tap\");\nmodule.exports.test =\n/*#__PURE__*/\nrequire(\"./test\");\nmodule.exports.andThen =\n/*#__PURE__*/\nrequire(\"./andThen\");\nmodule.exports.times =\n/*#__PURE__*/\nrequire(\"./times\");\nmodule.exports.toLower =\n/*#__PURE__*/\nrequire(\"./toLower\");\nmodule.exports.toPairs =\n/*#__PURE__*/\nrequire(\"./toPairs\");\nmodule.exports.toPairsIn =\n/*#__PURE__*/\nrequire(\"./toPairsIn\");\nmodule.exports.toString =\n/*#__PURE__*/\nrequire(\"./toString\");\nmodule.exports.toUpper =\n/*#__PURE__*/\nrequire(\"./toUpper\");\nmodule.exports.transduce =\n/*#__PURE__*/\nrequire(\"./transduce\");\nmodule.exports.transpose =\n/*#__PURE__*/\nrequire(\"./transpose\");\nmodule.exports.traverse =\n/*#__PURE__*/\nrequire(\"./traverse\");\nmodule.exports.trim =\n/*#__PURE__*/\nrequire(\"./trim\");\nmodule.exports.tryCatch =\n/*#__PURE__*/\nrequire(\"./tryCatch\");\nmodule.exports.type =\n/*#__PURE__*/\nrequire(\"./type\");\nmodule.exports.unapply =\n/*#__PURE__*/\nrequire(\"./unapply\");\nmodule.exports.unary =\n/*#__PURE__*/\nrequire(\"./unary\");\nmodule.exports.uncurryN =\n/*#__PURE__*/\nrequire(\"./uncurryN\");\nmodule.exports.unfold =\n/*#__PURE__*/\nrequire(\"./unfold\");\nmodule.exports.union =\n/*#__PURE__*/\nrequire(\"./union\");\nmodule.exports.unionWith =\n/*#__PURE__*/\nrequire(\"./unionWith\");\nmodule.exports.uniq =\n/*#__PURE__*/\nrequire(\"./uniq\");\nmodule.exports.uniqBy =\n/*#__PURE__*/\nrequire(\"./uniqBy\");\nmodule.exports.uniqWith =\n/*#__PURE__*/\nrequire(\"./uniqWith\");\nmodule.exports.unless =\n/*#__PURE__*/\nrequire(\"./unless\");\nmodule.exports.unnest =\n/*#__PURE__*/\nrequire(\"./unnest\");\nmodule.exports.until =\n/*#__PURE__*/\nrequire(\"./until\");\nmodule.exports.update =\n/*#__PURE__*/\nrequire(\"./update\");\nmodule.exports.useWith =\n/*#__PURE__*/\nrequire(\"./useWith\");\nmodule.exports.values =\n/*#__PURE__*/\nrequire(\"./values\");\nmodule.exports.valuesIn =\n/*#__PURE__*/\nrequire(\"./valuesIn\");\nmodule.exports.view =\n/*#__PURE__*/\nrequire(\"./view\");\nmodule.exports.when =\n/*#__PURE__*/\nrequire(\"./when\");\nmodule.exports.where =\n/*#__PURE__*/\nrequire(\"./where\");\nmodule.exports.whereEq =\n/*#__PURE__*/\nrequire(\"./whereEq\");\nmodule.exports.without =\n/*#__PURE__*/\nrequire(\"./without\");\nmodule.exports.xor =\n/*#__PURE__*/\nrequire(\"./xor\");\nmodule.exports.xprod =\n/*#__PURE__*/\nrequire(\"./xprod\");\nmodule.exports.zip =\n/*#__PURE__*/\nrequire(\"./zip\");\nmodule.exports.zipObj =\n/*#__PURE__*/\nrequire(\"./zipObj\");\nmodule.exports.zipWith =\n/*#__PURE__*/\nrequire(\"./zipWith\");\nmodule.exports.thunkify =\n/*#__PURE__*/\nrequire(\"./thunkify\");","/**\n * A function that always returns `false`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.T\n * @example\n *\n * R.F(); //=> false\n */\nvar F = function () {\n return false;\n};\n\nmodule.exports = F;","/**\n * A function that always returns `true`. Any passed in parameters are ignored.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig * -> Boolean\n * @param {*}\n * @return {Boolean}\n * @see R.F\n * @example\n *\n * R.T(); //=> true\n */\nvar T = function () {\n return true;\n};\n\nmodule.exports = T;","/**\n * A special placeholder value used to specify \"gaps\" within curried functions,\n * allowing partial application of any combination of arguments, regardless of\n * their positions.\n *\n * If `g` is a curried ternary function and `_` is `R.__`, the following are\n * equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2, _)(1, 3)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @name __\n * @constant\n * @memberOf R\n * @since v0.6.0\n * @category Function\n * @example\n *\n * const greet = R.replace('{name}', R.__, 'Hello, {name}!');\n * greet('Alice'); //=> 'Hello, Alice!'\n */\nmodule.exports = {\n '@@functional/placeholder': true\n};","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Adds two values.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} a\n * @param {Number} b\n * @return {Number}\n * @see R.subtract\n * @example\n *\n * R.add(2, 3); //=> 5\n * R.add(7)(10); //=> 17\n */\n\n\nvar add =\n/*#__PURE__*/\n_curry2(function add(a, b) {\n return Number(a) + Number(b);\n});\n\nmodule.exports = add;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Creates a new list iteration function from an existing one by adding two new\n * parameters to its callback function: the current index, and the entire list.\n *\n * This would turn, for instance, [`R.map`](#map) function into one that\n * more closely resembles `Array.prototype.map`. Note that this will only work\n * for functions in which the iteration callback function is the first\n * parameter, and where the list is the last parameter. (This latter might be\n * unimportant if the list parameter is not used.)\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Function\n * @category List\n * @sig ((a ... -> b) ... -> [a] -> *) -> ((a ..., Int, [a] -> b) ... -> [a] -> *)\n * @param {Function} fn A list iteration function that does not pass index or list to its callback\n * @return {Function} An altered list iteration function that passes (item, index, list) to its callback\n * @example\n *\n * const mapIndexed = R.addIndex(R.map);\n * mapIndexed((val, idx) => idx + '-' + val, ['f', 'o', 'o', 'b', 'a', 'r']);\n * //=> ['0-f', '1-o', '2-o', '3-b', '4-a', '5-r']\n */\n\n\nvar addIndex =\n/*#__PURE__*/\n_curry1(function addIndex(fn) {\n return curryN(fn.length, function () {\n var idx = 0;\n var origFn = arguments[0];\n var list = arguments[arguments.length - 1];\n var args = Array.prototype.slice.call(arguments, 0);\n\n args[0] = function () {\n var result = origFn.apply(this, _concat(arguments, [idx, list]));\n idx += 1;\n return result;\n };\n\n return fn.apply(this, args);\n });\n});\n\nmodule.exports = addIndex;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _curryN =\n/*#__PURE__*/\nrequire(\"./internal/_curryN\");\n/**\n * Returns a curried equivalent of the provided function, with the specified\n * arity. The curried function has two unusual capabilities. First, its\n * arguments needn't be provided one at a time. If `g` is `R.curryN(3, f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.5.0\n * @category Function\n * @sig Number -> (* -> a) -> (* -> a)\n * @param {Number} length The arity for the returned function.\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curry\n * @example\n *\n * const sumArgs = (...args) => R.sum(args);\n *\n * const curriedAddFourNumbers = R.curryN(4, sumArgs);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\n\nvar curryN =\n/*#__PURE__*/\n_curry2(function curryN(length, fn) {\n if (length === 1) {\n return _curry1(fn);\n }\n\n return _arity(length, _curryN(length, [], fn));\n});\n\nmodule.exports = curryN;","var _arity =\n/*#__PURE__*/\nrequire(\"./_arity\");\n\nvar _isPlaceholder =\n/*#__PURE__*/\nrequire(\"./_isPlaceholder\");\n/**\n * Internal curryN function.\n *\n * @private\n * @category Function\n * @param {Number} length The arity of the curried function.\n * @param {Array} received An array of arguments received thus far.\n * @param {Function} fn The function to curry.\n * @return {Function} The curried function.\n */\n\n\nfunction _curryN(length, received, fn) {\n return function () {\n var combined = [];\n var argsIdx = 0;\n var left = length;\n var combinedIdx = 0;\n\n while (combinedIdx < received.length || argsIdx < arguments.length) {\n var result;\n\n if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {\n result = received[combinedIdx];\n } else {\n result = arguments[argsIdx];\n argsIdx += 1;\n }\n\n combined[combinedIdx] = result;\n\n if (!_isPlaceholder(result)) {\n left -= 1;\n }\n\n combinedIdx += 1;\n }\n\n return left <= 0 ? fn.apply(this, combined) : _arity(left, _curryN(length, combined, fn));\n };\n}\n\nmodule.exports = _curryN;","/**\n * Private `concat` function to merge two array-like objects.\n *\n * @private\n * @param {Array|Arguments} [set1=[]] An array-like object.\n * @param {Array|Arguments} [set2=[]] An array-like object.\n * @return {Array} A new, merged array.\n * @example\n *\n * _concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n */\nfunction _concat(set1, set2) {\n set1 = set1 || [];\n set2 = set2 || [];\n var idx;\n var len1 = set1.length;\n var len2 = set2.length;\n var result = [];\n idx = 0;\n\n while (idx < len1) {\n result[result.length] = set1[idx];\n idx += 1;\n }\n\n idx = 0;\n\n while (idx < len2) {\n result[result.length] = set2[idx];\n idx += 1;\n }\n\n return result;\n}\n\nmodule.exports = _concat;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Applies a function to the value at the given index of an array, returning a\n * new copy of the array with the element at the given index replaced with the\n * result of the function application.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category List\n * @sig Number -> (a -> a) -> [a] -> [a]\n * @param {Number} idx The index.\n * @param {Function} fn The function to apply.\n * @param {Array|Arguments} list An array-like object whose value\n * at the supplied index will be replaced.\n * @return {Array} A copy of the supplied array-like object with\n * the element at index `idx` replaced with the value\n * returned by applying `fn` to the existing element.\n * @see R.update\n * @example\n *\n * R.adjust(1, R.toUpper, ['a', 'b', 'c', 'd']); //=> ['a', 'B', 'c', 'd']\n * R.adjust(-1, R.toUpper, ['a', 'b', 'c', 'd']); //=> ['a', 'b', 'c', 'D']\n * @symb R.adjust(-1, f, [a, b]) = [a, f(b)]\n * @symb R.adjust(0, f, [a, b]) = [f(a), b]\n */\n\n\nvar adjust =\n/*#__PURE__*/\n_curry3(function adjust(idx, fn, list) {\n if (idx >= list.length || idx < -list.length) {\n return list;\n }\n\n var start = idx < 0 ? list.length : 0;\n\n var _idx = start + idx;\n\n var _list = _concat(list);\n\n _list[_idx] = fn(list[_idx]);\n return _list;\n});\n\nmodule.exports = adjust;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xall =\n/*#__PURE__*/\nrequire(\"./internal/_xall\");\n/**\n * Returns `true` if all elements of the list match the predicate, `false` if\n * there are any that don't.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is satisfied by every element, `false`\n * otherwise.\n * @see R.any, R.none, R.transduce\n * @example\n *\n * const equals3 = R.equals(3);\n * R.all(equals3)([3, 3, 3, 3]); //=> true\n * R.all(equals3)([3, 3, 1, 3]); //=> false\n */\n\n\nvar all =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['all'], _xall, function all(fn, list) {\n var idx = 0;\n\n while (idx < list.length) {\n if (!fn(list[idx])) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n}));\n\nmodule.exports = all;","var _isArray =\n/*#__PURE__*/\nrequire(\"./_isArray\");\n\nvar _isTransformer =\n/*#__PURE__*/\nrequire(\"./_isTransformer\");\n/**\n * Returns a function that dispatches with different strategies based on the\n * object in list position (last argument). If it is an array, executes [fn].\n * Otherwise, if it has a function with one of the given method names, it will\n * execute that function (functor case). Otherwise, if it is a transformer,\n * uses transducer [xf] to return a new transformer (transducer case).\n * Otherwise, it will default to executing [fn].\n *\n * @private\n * @param {Array} methodNames properties to check for a custom implementation\n * @param {Function} xf transducer to initialize if object is transformer\n * @param {Function} fn default ramda implementation\n * @return {Function} A function that dispatches on object in list position\n */\n\n\nfunction _dispatchable(methodNames, xf, fn) {\n return function () {\n if (arguments.length === 0) {\n return fn();\n }\n\n var args = Array.prototype.slice.call(arguments, 0);\n var obj = args.pop();\n\n if (!_isArray(obj)) {\n var idx = 0;\n\n while (idx < methodNames.length) {\n if (typeof obj[methodNames[idx]] === 'function') {\n return obj[methodNames[idx]].apply(obj, args);\n }\n\n idx += 1;\n }\n\n if (_isTransformer(obj)) {\n var transducer = xf.apply(null, args);\n return transducer(obj);\n }\n }\n\n return fn.apply(this, arguments);\n };\n}\n\nmodule.exports = _dispatchable;","function _isTransformer(obj) {\n return obj != null && typeof obj['@@transducer/step'] === 'function';\n}\n\nmodule.exports = _isTransformer;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XAll =\n/*#__PURE__*/\nfunction () {\n function XAll(f, xf) {\n this.xf = xf;\n this.f = f;\n this.all = true;\n }\n\n XAll.prototype['@@transducer/init'] = _xfBase.init;\n\n XAll.prototype['@@transducer/result'] = function (result) {\n if (this.all) {\n result = this.xf['@@transducer/step'](result, true);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XAll.prototype['@@transducer/step'] = function (result, input) {\n if (!this.f(input)) {\n this.all = false;\n result = _reduced(this.xf['@@transducer/step'](result, false));\n }\n\n return result;\n };\n\n return XAll;\n}();\n\nvar _xall =\n/*#__PURE__*/\n_curry2(function _xall(f, xf) {\n return new XAll(f, xf);\n});\n\nmodule.exports = _xall;","module.exports = {\n init: function () {\n return this.xf['@@transducer/init']();\n },\n result: function (result) {\n return this.xf['@@transducer/result'](result);\n }\n};","function _reduced(x) {\n return x && x['@@transducer/reduced'] ? x : {\n '@@transducer/value': x,\n '@@transducer/reduced': true\n };\n}\n\nmodule.exports = _reduced;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar max =\n/*#__PURE__*/\nrequire(\"./max\");\n\nvar pluck =\n/*#__PURE__*/\nrequire(\"./pluck\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if every one of the provided predicates is satisfied\n * by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.anyPass\n * @example\n *\n * const isQueen = R.propEq('rank', 'Q');\n * const isSpade = R.propEq('suit', '♠︎');\n * const isQueenOfSpades = R.allPass([isQueen, isSpade]);\n *\n * isQueenOfSpades({rank: 'Q', suit: '♣︎'}); //=> false\n * isQueenOfSpades({rank: 'Q', suit: '♠︎'}); //=> true\n */\n\n\nvar allPass =\n/*#__PURE__*/\n_curry1(function allPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (!preds[idx].apply(this, arguments)) {\n return false;\n }\n\n idx += 1;\n }\n\n return true;\n });\n});\n\nmodule.exports = allPass;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns the larger of its two arguments.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> a\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.maxBy, R.min\n * @example\n *\n * R.max(789, 123); //=> 789\n * R.max('a', 'b'); //=> 'b'\n */\n\n\nvar max =\n/*#__PURE__*/\n_curry2(function max(a, b) {\n return b > a ? b : a;\n});\n\nmodule.exports = max;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n\nvar prop =\n/*#__PURE__*/\nrequire(\"./prop\");\n/**\n * Returns a new list by plucking the same named property off all objects in\n * the list supplied.\n *\n * `pluck` will work on\n * any [functor](https://github.com/fantasyland/fantasy-land#functor) in\n * addition to arrays, as it is equivalent to `R.map(R.prop(k), f)`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => k -> f {k: v} -> f v\n * @param {Number|String} key The key name to pluck off of each object.\n * @param {Array} f The array or functor to consider.\n * @return {Array} The list of values for the given key.\n * @see R.props\n * @example\n *\n * var getAges = R.pluck('age');\n * getAges([{name: 'fred', age: 29}, {name: 'wilma', age: 27}]); //=> [29, 27]\n *\n * R.pluck(0, [[1, 2], [3, 4]]); //=> [1, 3]\n * R.pluck('val', {a: {val: 3}, b: {val: 5}}); //=> {a: 3, b: 5}\n * @symb R.pluck('x', [{x: 1, y: 2}, {x: 3, y: 4}, {x: 5, y: 6}]) = [1, 3, 5]\n * @symb R.pluck(0, [[1, 2], [3, 4], [5, 6]]) = [1, 3, 5]\n */\n\n\nvar pluck =\n/*#__PURE__*/\n_curry2(function pluck(p, list) {\n return map(prop(p), list);\n});\n\nmodule.exports = pluck;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _map =\n/*#__PURE__*/\nrequire(\"./internal/_map\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _xmap =\n/*#__PURE__*/\nrequire(\"./internal/_xmap\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Takes a function and\n * a [functor](https://github.com/fantasyland/fantasy-land#functor),\n * applies the function to each of the functor's values, and returns\n * a functor of the same shape.\n *\n * Ramda provides suitable `map` implementations for `Array` and `Object`,\n * so this function may be applied to `[1, 2, 3]` or `{x: 1, y: 2, z: 3}`.\n *\n * Dispatches to the `map` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * Also treats functions as functors and will compose them together.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Functor f => (a -> b) -> f a -> f b\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {Array} list The list to be iterated over.\n * @return {Array} The new list.\n * @see R.transduce, R.addIndex\n * @example\n *\n * const double = x => x * 2;\n *\n * R.map(double, [1, 2, 3]); //=> [2, 4, 6]\n *\n * R.map(double, {x: 1, y: 2, z: 3}); //=> {x: 2, y: 4, z: 6}\n * @symb R.map(f, [a, b]) = [f(a), f(b)]\n * @symb R.map(f, { x: a, y: b }) = { x: f(a), y: f(b) }\n * @symb R.map(f, functor_o) = functor_o.map(f)\n */\n\n\nvar map =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/map', 'map'], _xmap, function map(fn, functor) {\n switch (Object.prototype.toString.call(functor)) {\n case '[object Function]':\n return curryN(functor.length, function () {\n return fn.call(this, functor.apply(this, arguments));\n });\n\n case '[object Object]':\n return _reduce(function (acc, key) {\n acc[key] = fn(functor[key]);\n return acc;\n }, {}, keys(functor));\n\n default:\n return _map(fn, functor);\n }\n}));\n\nmodule.exports = map;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XMap =\n/*#__PURE__*/\nfunction () {\n function XMap(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XMap.prototype['@@transducer/init'] = _xfBase.init;\n XMap.prototype['@@transducer/result'] = _xfBase.result;\n\n XMap.prototype['@@transducer/step'] = function (result, input) {\n return this.xf['@@transducer/step'](result, this.f(input));\n };\n\n return XMap;\n}();\n\nvar _xmap =\n/*#__PURE__*/\n_curry2(function _xmap(f, xf) {\n return new XMap(f, xf);\n});\n\nmodule.exports = _xmap;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n\nvar _isArguments =\n/*#__PURE__*/\nrequire(\"./internal/_isArguments\"); // cover IE < 9 keys issues\n\n\nvar hasEnumBug = !\n/*#__PURE__*/\n{\n toString: null\n}.propertyIsEnumerable('toString');\nvar nonEnumerableProps = ['constructor', 'valueOf', 'isPrototypeOf', 'toString', 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; // Safari bug\n\nvar hasArgsEnumBug =\n/*#__PURE__*/\nfunction () {\n 'use strict';\n\n return arguments.propertyIsEnumerable('length');\n}();\n\nvar contains = function contains(list, item) {\n var idx = 0;\n\n while (idx < list.length) {\n if (list[idx] === item) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n};\n/**\n * Returns a list containing the names of all the enumerable own properties of\n * the supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own properties.\n * @see R.keysIn, R.values\n * @example\n *\n * R.keys({a: 1, b: 2, c: 3}); //=> ['a', 'b', 'c']\n */\n\n\nvar keys = typeof Object.keys === 'function' && !hasArgsEnumBug ?\n/*#__PURE__*/\n_curry1(function keys(obj) {\n return Object(obj) !== obj ? [] : Object.keys(obj);\n}) :\n/*#__PURE__*/\n_curry1(function keys(obj) {\n if (Object(obj) !== obj) {\n return [];\n }\n\n var prop, nIdx;\n var ks = [];\n\n var checkArgsLength = hasArgsEnumBug && _isArguments(obj);\n\n for (prop in obj) {\n if (_has(prop, obj) && (!checkArgsLength || prop !== 'length')) {\n ks[ks.length] = prop;\n }\n }\n\n if (hasEnumBug) {\n nIdx = nonEnumerableProps.length - 1;\n\n while (nIdx >= 0) {\n prop = nonEnumerableProps[nIdx];\n\n if (_has(prop, obj) && !contains(ks, prop)) {\n ks[ks.length] = prop;\n }\n\n nIdx -= 1;\n }\n }\n\n return ks;\n});\nmodule.exports = keys;","var _has =\n/*#__PURE__*/\nrequire(\"./_has\");\n\nvar toString = Object.prototype.toString;\n\nvar _isArguments =\n/*#__PURE__*/\nfunction () {\n return toString.call(arguments) === '[object Arguments]' ? function _isArguments(x) {\n return toString.call(x) === '[object Arguments]';\n } : function _isArguments(x) {\n return _has('callee', x);\n };\n}();\n\nmodule.exports = _isArguments;","function _map(fn, functor) {\n var idx = 0;\n var len = functor.length;\n var result = Array(len);\n\n while (idx < len) {\n result[idx] = fn(functor[idx]);\n idx += 1;\n }\n\n return result;\n}\n\nmodule.exports = _map;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * Returns a function that when supplied an object returns the indicated\n * property of that object, if it exists.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig Idx -> {s: a} -> a | Undefined\n * @param {String|Number} p The property name or array index\n * @param {Object} obj The object to query\n * @return {*} The value at `obj.p`.\n * @see R.path, R.nth\n * @example\n *\n * R.prop('x', {x: 100}); //=> 100\n * R.prop('x', {}); //=> undefined\n * R.prop(0, [100]); //=> 100\n * R.compose(R.inc, R.prop('x'))({ x: 3 }) //=> 4\n */\n\n\nvar prop =\n/*#__PURE__*/\n_curry2(function prop(p, obj) {\n return path([p], obj);\n});\n\nmodule.exports = prop;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar paths =\n/*#__PURE__*/\nrequire(\"./paths\");\n/**\n * Retrieve the value at a given path.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> {a} -> a | Undefined\n * @param {Array} path The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path`.\n * @see R.prop, R.nth\n * @example\n *\n * R.path(['a', 'b'], {a: {b: 2}}); //=> 2\n * R.path(['a', 'b'], {c: {b: 2}}); //=> undefined\n * R.path(['a', 'b', 0], {a: {b: [1, 2, 3]}}); //=> 1\n * R.path(['a', 'b', -2], {a: {b: [1, 2, 3]}}); //=> 2\n */\n\n\nvar path =\n/*#__PURE__*/\n_curry2(function path(pathAr, obj) {\n return paths([pathAr], obj)[0];\n});\n\nmodule.exports = path;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isInteger =\n/*#__PURE__*/\nrequire(\"./internal/_isInteger\");\n\nvar nth =\n/*#__PURE__*/\nrequire(\"./nth\");\n/**\n * Retrieves the values at given paths of an object.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category Object\n * @typedefn Idx = [String | Int]\n * @sig [Idx] -> {a} -> [a | Undefined]\n * @param {Array} pathsArray The array of paths to be fetched.\n * @param {Object} obj The object to retrieve the nested properties from.\n * @return {Array} A list consisting of values at paths specified by \"pathsArray\".\n * @see R.path\n * @example\n *\n * R.paths([['a', 'b'], ['p', 0, 'q']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, 3]\n * R.paths([['a', 'b'], ['p', 'r']], {a: {b: 2}, p: [{q: 3}]}); //=> [2, undefined]\n */\n\n\nvar paths =\n/*#__PURE__*/\n_curry2(function paths(pathsArray, obj) {\n return pathsArray.map(function (paths) {\n var val = obj;\n var idx = 0;\n var p;\n\n while (idx < paths.length) {\n if (val == null) {\n return;\n }\n\n p = paths[idx];\n val = _isInteger(p) ? nth(p, val) : val[p];\n idx += 1;\n }\n\n return val;\n });\n});\n\nmodule.exports = paths;","/**\n * Determine if the passed argument is an integer.\n *\n * @private\n * @param {*} n\n * @category Type\n * @return {Boolean}\n */\nmodule.exports = Number.isInteger || function _isInteger(n) {\n return n << 0 === n;\n};","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isString =\n/*#__PURE__*/\nrequire(\"./internal/_isString\");\n/**\n * Returns the nth element of the given list or string. If n is negative the\n * element at index length + n is returned.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> a | Undefined\n * @sig Number -> String -> String\n * @param {Number} offset\n * @param {*} list\n * @return {*}\n * @example\n *\n * const list = ['foo', 'bar', 'baz', 'quux'];\n * R.nth(1, list); //=> 'bar'\n * R.nth(-1, list); //=> 'quux'\n * R.nth(-99, list); //=> undefined\n *\n * R.nth(2, 'abc'); //=> 'c'\n * R.nth(3, 'abc'); //=> ''\n * @symb R.nth(-1, [a, b, c]) = c\n * @symb R.nth(0, [a, b, c]) = a\n * @symb R.nth(1, [a, b, c]) = b\n */\n\n\nvar nth =\n/*#__PURE__*/\n_curry2(function nth(offset, list) {\n var idx = offset < 0 ? list.length + offset : offset;\n return _isString(list) ? list.charAt(idx) : list[idx];\n});\n\nmodule.exports = nth;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Returns a function that always returns the given value. Note that for\n * non-primitives the value returned is a reference to the original value.\n *\n * This function is known as `const`, `constant`, or `K` (for K combinator) in\n * other languages and libraries.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig a -> (* -> a)\n * @param {*} val The value to wrap in a function\n * @return {Function} A Function :: * -> val.\n * @example\n *\n * const t = R.always('Tee');\n * t(); //=> 'Tee'\n */\n\n\nvar always =\n/*#__PURE__*/\n_curry1(function always(val) {\n return function () {\n return val;\n };\n});\n\nmodule.exports = always;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if both arguments are `true`; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any} the first argument if it is falsy, otherwise the second argument.\n * @see R.both, R.xor\n * @example\n *\n * R.and(true, true); //=> true\n * R.and(true, false); //=> false\n * R.and(false, true); //=> false\n * R.and(false, false); //=> false\n */\n\n\nvar and =\n/*#__PURE__*/\n_curry2(function and(a, b) {\n return a && b;\n});\n\nmodule.exports = and;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xany =\n/*#__PURE__*/\nrequire(\"./internal/_xany\");\n/**\n * Returns `true` if at least one of the elements of the list match the predicate,\n * `false` otherwise.\n *\n * Dispatches to the `any` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is satisfied by at least one element, `false`\n * otherwise.\n * @see R.all, R.none, R.transduce\n * @example\n *\n * const lessThan0 = R.flip(R.lt)(0);\n * const lessThan2 = R.flip(R.lt)(2);\n * R.any(lessThan0)([1, 2]); //=> false\n * R.any(lessThan2)([1, 2]); //=> true\n */\n\n\nvar any =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['any'], _xany, function any(fn, list) {\n var idx = 0;\n\n while (idx < list.length) {\n if (fn(list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}));\n\nmodule.exports = any;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XAny =\n/*#__PURE__*/\nfunction () {\n function XAny(f, xf) {\n this.xf = xf;\n this.f = f;\n this.any = false;\n }\n\n XAny.prototype['@@transducer/init'] = _xfBase.init;\n\n XAny.prototype['@@transducer/result'] = function (result) {\n if (!this.any) {\n result = this.xf['@@transducer/step'](result, false);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XAny.prototype['@@transducer/step'] = function (result, input) {\n if (this.f(input)) {\n this.any = true;\n result = _reduced(this.xf['@@transducer/step'](result, true));\n }\n\n return result;\n };\n\n return XAny;\n}();\n\nvar _xany =\n/*#__PURE__*/\n_curry2(function _xany(f, xf) {\n return new XAny(f, xf);\n});\n\nmodule.exports = _xany;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar max =\n/*#__PURE__*/\nrequire(\"./max\");\n\nvar pluck =\n/*#__PURE__*/\nrequire(\"./pluck\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Takes a list of predicates and returns a predicate that returns true for a\n * given list of arguments if at least one of the provided predicates is\n * satisfied by those arguments.\n *\n * The function returned is a curried function whose arity matches that of the\n * highest-arity predicate.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Logic\n * @sig [(*... -> Boolean)] -> (*... -> Boolean)\n * @param {Array} predicates An array of predicates to check\n * @return {Function} The combined predicate\n * @see R.allPass\n * @example\n *\n * const isClub = R.propEq('suit', '♣');\n * const isSpade = R.propEq('suit', '♠');\n * const isBlackCard = R.anyPass([isClub, isSpade]);\n *\n * isBlackCard({rank: '10', suit: '♣'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♠'}); //=> true\n * isBlackCard({rank: 'Q', suit: '♦'}); //=> false\n */\n\n\nvar anyPass =\n/*#__PURE__*/\n_curry1(function anyPass(preds) {\n return curryN(reduce(max, 0, pluck('length', preds)), function () {\n var idx = 0;\n var len = preds.length;\n\n while (idx < len) {\n if (preds[idx].apply(this, arguments)) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n });\n});\n\nmodule.exports = anyPass;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n/**\n * ap applies a list of functions to a list of values.\n *\n * Dispatches to the `ap` method of the second argument, if present. Also\n * treats curried functions as applicatives.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig [a -> b] -> [a] -> [b]\n * @sig Apply f => f (a -> b) -> f a -> f b\n * @sig (r -> a -> b) -> (r -> a) -> (r -> b)\n * @param {*} applyF\n * @param {*} applyX\n * @return {*}\n * @example\n *\n * R.ap([R.multiply(2), R.add(3)], [1,2,3]); //=> [2, 4, 6, 4, 5, 6]\n * R.ap([R.concat('tasty '), R.toUpper], ['pizza', 'salad']); //=> [\"tasty pizza\", \"tasty salad\", \"PIZZA\", \"SALAD\"]\n *\n * // R.ap can also be used as S combinator\n * // when only two functions are passed\n * R.ap(R.concat, R.toUpper)('Ramda') //=> 'RamdaRAMDA'\n * @symb R.ap([f, g], [a, b]) = [f(a), f(b), g(a), g(b)]\n */\n\n\nvar ap =\n/*#__PURE__*/\n_curry2(function ap(applyF, applyX) {\n return typeof applyX['fantasy-land/ap'] === 'function' ? applyX['fantasy-land/ap'](applyF) : typeof applyF.ap === 'function' ? applyF.ap(applyX) : typeof applyF === 'function' ? function (x) {\n return applyF(x)(applyX(x));\n } : _reduce(function (acc, f) {\n return _concat(acc, map(f, applyX));\n }, [], applyF);\n});\n\nmodule.exports = ap;","var _aperture =\n/*#__PURE__*/\nrequire(\"./internal/_aperture\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xaperture =\n/*#__PURE__*/\nrequire(\"./internal/_xaperture\");\n/**\n * Returns a new list, composed of n-tuples of consecutive elements. If `n` is\n * greater than the length of the list, an empty list is returned.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig Number -> [a] -> [[a]]\n * @param {Number} n The size of the tuples to create\n * @param {Array} list The list to split into `n`-length tuples\n * @return {Array} The resulting list of `n`-length tuples\n * @see R.transduce\n * @example\n *\n * R.aperture(2, [1, 2, 3, 4, 5]); //=> [[1, 2], [2, 3], [3, 4], [4, 5]]\n * R.aperture(3, [1, 2, 3, 4, 5]); //=> [[1, 2, 3], [2, 3, 4], [3, 4, 5]]\n * R.aperture(7, [1, 2, 3, 4, 5]); //=> []\n */\n\n\nvar aperture =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xaperture, _aperture));\n\nmodule.exports = aperture;","var _concat =\n/*#__PURE__*/\nrequire(\"./_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XAperture =\n/*#__PURE__*/\nfunction () {\n function XAperture(n, xf) {\n this.xf = xf;\n this.pos = 0;\n this.full = false;\n this.acc = new Array(n);\n }\n\n XAperture.prototype['@@transducer/init'] = _xfBase.init;\n\n XAperture.prototype['@@transducer/result'] = function (result) {\n this.acc = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XAperture.prototype['@@transducer/step'] = function (result, input) {\n this.store(input);\n return this.full ? this.xf['@@transducer/step'](result, this.getCopy()) : result;\n };\n\n XAperture.prototype.store = function (input) {\n this.acc[this.pos] = input;\n this.pos += 1;\n\n if (this.pos === this.acc.length) {\n this.pos = 0;\n this.full = true;\n }\n };\n\n XAperture.prototype.getCopy = function () {\n return _concat(Array.prototype.slice.call(this.acc, this.pos), Array.prototype.slice.call(this.acc, 0, this.pos));\n };\n\n return XAperture;\n}();\n\nvar _xaperture =\n/*#__PURE__*/\n_curry2(function _xaperture(n, xf) {\n return new XAperture(n, xf);\n});\n\nmodule.exports = _xaperture;","function _aperture(n, list) {\n var idx = 0;\n var limit = list.length - (n - 1);\n var acc = new Array(limit >= 0 ? limit : 0);\n\n while (idx < limit) {\n acc[idx] = Array.prototype.slice.call(list, idx, idx + n);\n idx += 1;\n }\n\n return acc;\n}\n\nmodule.exports = _aperture;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a new list containing the contents of the given list, followed by\n * the given element.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> [a]\n * @param {*} el The element to add to the end of the new list.\n * @param {Array} list The list of elements to add a new item to.\n * list.\n * @return {Array} A new list containing the elements of the old list followed by `el`.\n * @see R.prepend\n * @example\n *\n * R.append('tests', ['write', 'more']); //=> ['write', 'more', 'tests']\n * R.append('tests', []); //=> ['tests']\n * R.append(['tests'], ['write', 'more']); //=> ['write', 'more', ['tests']]\n */\n\n\nvar append =\n/*#__PURE__*/\n_curry2(function append(el, list) {\n return _concat(list, [el]);\n});\n\nmodule.exports = append;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Applies function `fn` to the argument list `args`. This is useful for\n * creating a fixed-arity function from a variadic function. `fn` should be a\n * bound function if context is significant.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> a) -> [*] -> a\n * @param {Function} fn The function which will be called with `args`\n * @param {Array} args The arguments to call `fn` with\n * @return {*} result The result, equivalent to `fn(...args)`\n * @see R.call, R.unapply\n * @example\n *\n * const nums = [1, 2, 3, -99, 42, 6, 7];\n * R.apply(Math.max, nums); //=> 42\n * @symb R.apply(f, [a, b, c]) = f(a, b, c)\n */\n\n\nvar apply =\n/*#__PURE__*/\n_curry2(function apply(fn, args) {\n return fn.apply(this, args);\n});\n\nmodule.exports = apply;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar apply =\n/*#__PURE__*/\nrequire(\"./apply\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar max =\n/*#__PURE__*/\nrequire(\"./max\");\n\nvar pluck =\n/*#__PURE__*/\nrequire(\"./pluck\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n\nvar values =\n/*#__PURE__*/\nrequire(\"./values\"); // Use custom mapValues function to avoid issues with specs that include a \"map\" key and R.map\n// delegating calls to .map\n\n\nfunction mapValues(fn, obj) {\n return keys(obj).reduce(function (acc, key) {\n acc[key] = fn(obj[key]);\n return acc;\n }, {});\n}\n/**\n * Given a spec object recursively mapping properties to functions, creates a\n * function producing an object of the same structure, by mapping each property\n * to the result of calling its associated function with the supplied arguments.\n *\n * @func\n * @memberOf R\n * @since v0.20.0\n * @category Function\n * @sig {k: ((a, b, ..., m) -> v)} -> ((a, b, ..., m) -> {k: v})\n * @param {Object} spec an object recursively mapping properties to functions for\n * producing the values for these properties.\n * @return {Function} A function that returns an object of the same structure\n * as `spec', with each property set to the value returned by calling its\n * associated function with the supplied arguments.\n * @see R.converge, R.juxt\n * @example\n *\n * const getMetrics = R.applySpec({\n * sum: R.add,\n * nested: { mul: R.multiply }\n * });\n * getMetrics(2, 4); // => { sum: 6, nested: { mul: 8 } }\n * @symb R.applySpec({ x: f, y: { z: g } })(a, b) = { x: f(a, b), y: { z: g(a, b) } }\n */\n\n\nvar applySpec =\n/*#__PURE__*/\n_curry1(function applySpec(spec) {\n spec = mapValues(function (v) {\n return typeof v == 'function' ? v : applySpec(v);\n }, spec);\n return curryN(reduce(max, 0, pluck('length', values(spec))), function () {\n var args = arguments;\n return mapValues(function (f) {\n return apply(f, args);\n }, spec);\n });\n});\n\nmodule.exports = applySpec;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Returns a list of all the enumerable own properties of the supplied object.\n * Note that the order of the output array is not guaranteed across different\n * JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> [v]\n * @param {Object} obj The object to extract values from\n * @return {Array} An array of the values of the object's own properties.\n * @see R.valuesIn, R.keys\n * @example\n *\n * R.values({a: 1, b: 2, c: 3}); //=> [1, 2, 3]\n */\n\n\nvar values =\n/*#__PURE__*/\n_curry1(function values(obj) {\n var props = keys(obj);\n var len = props.length;\n var vals = [];\n var idx = 0;\n\n while (idx < len) {\n vals[idx] = obj[props[idx]];\n idx += 1;\n }\n\n return vals;\n});\n\nmodule.exports = values;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Takes a value and applies a function to it.\n *\n * This function is also known as the `thrush` combinator.\n *\n * @func\n * @memberOf R\n * @since v0.25.0\n * @category Function\n * @sig a -> (a -> b) -> b\n * @param {*} x The value\n * @param {Function} f The function to apply\n * @return {*} The result of applying `f` to `x`\n * @example\n *\n * const t42 = R.applyTo(42);\n * t42(R.identity); //=> 42\n * t42(R.add(1)); //=> 43\n */\n\n\nvar applyTo =\n/*#__PURE__*/\n_curry2(function applyTo(x, f) {\n return f(x);\n});\n\nmodule.exports = applyTo;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Makes an ascending comparator function out of a function that returns a value\n * that can be compared with `<` and `>`.\n *\n * @func\n * @memberOf R\n * @since v0.23.0\n * @category Function\n * @sig Ord b => (a -> b) -> a -> a -> Number\n * @param {Function} fn A function of arity one that returns a value that can be compared\n * @param {*} a The first item to be compared.\n * @param {*} b The second item to be compared.\n * @return {Number} `-1` if fn(a) < fn(b), `1` if fn(b) < fn(a), otherwise `0`\n * @see R.descend\n * @example\n *\n * const byAge = R.ascend(R.prop('age'));\n * const people = [\n * { name: 'Emma', age: 70 },\n * { name: 'Peter', age: 78 },\n * { name: 'Mikhail', age: 62 },\n * ];\n * const peopleByYoungestFirst = R.sort(byAge, people);\n * //=> [{ name: 'Mikhail', age: 62 },{ name: 'Emma', age: 70 }, { name: 'Peter', age: 78 }]\n */\n\n\nvar ascend =\n/*#__PURE__*/\n_curry3(function ascend(fn, a, b) {\n var aa = fn(a);\n var bb = fn(b);\n return aa < bb ? -1 : aa > bb ? 1 : 0;\n});\n\nmodule.exports = ascend;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Makes a shallow clone of an object, setting or overriding the specified\n * property with the given value. Note that this copies and flattens prototype\n * properties onto the new object as well. All non-primitive properties are\n * copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @sig String -> a -> {k: v} -> {k: v}\n * @param {String} prop The property name to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except for the changed property.\n * @see R.dissoc, R.pick\n * @example\n *\n * R.assoc('c', 3, {a: 1, b: 2}); //=> {a: 1, b: 2, c: 3}\n */\n\n\nvar assoc =\n/*#__PURE__*/\n_curry3(function assoc(prop, val, obj) {\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n result[prop] = val;\n return result;\n});\n\nmodule.exports = assoc;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n\nvar _isInteger =\n/*#__PURE__*/\nrequire(\"./internal/_isInteger\");\n\nvar assoc =\n/*#__PURE__*/\nrequire(\"./assoc\");\n\nvar isNil =\n/*#__PURE__*/\nrequire(\"./isNil\");\n/**\n * Makes a shallow clone of an object, setting or overriding the nodes required\n * to create the given path, and placing the specific value at the tail end of\n * that path. Note that this copies and flattens prototype properties onto the\n * new object as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> a -> {a} -> {a}\n * @param {Array} path the path to set\n * @param {*} val The new value\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original except along the specified path.\n * @see R.dissocPath\n * @example\n *\n * R.assocPath(['a', 'b', 'c'], 42, {a: {b: {c: 0}}}); //=> {a: {b: {c: 42}}}\n *\n * // Any missing or non-object keys in path will be overridden\n * R.assocPath(['a', 'b', 'c'], 42, {a: 5}); //=> {a: {b: {c: 42}}}\n */\n\n\nvar assocPath =\n/*#__PURE__*/\n_curry3(function assocPath(path, val, obj) {\n if (path.length === 0) {\n return val;\n }\n\n var idx = path[0];\n\n if (path.length > 1) {\n var nextObj = !isNil(obj) && _has(idx, obj) ? obj[idx] : _isInteger(path[1]) ? [] : {};\n val = assocPath(Array.prototype.slice.call(path, 1), val, nextObj);\n }\n\n if (_isInteger(idx) && _isArray(obj)) {\n var arr = [].concat(obj);\n arr[idx] = val;\n return arr;\n } else {\n return assoc(idx, val, obj);\n }\n});\n\nmodule.exports = assocPath;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar nAry =\n/*#__PURE__*/\nrequire(\"./nAry\");\n/**\n * Wraps a function of any arity (including nullary) in a function that accepts\n * exactly 2 parameters. Any extraneous parameters will not be passed to the\n * supplied function.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Function\n * @sig (* -> c) -> (a, b -> c)\n * @param {Function} fn The function to wrap.\n * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of\n * arity 2.\n * @see R.nAry, R.unary\n * @example\n *\n * const takesThreeArgs = function(a, b, c) {\n * return [a, b, c];\n * };\n * takesThreeArgs.length; //=> 3\n * takesThreeArgs(1, 2, 3); //=> [1, 2, 3]\n *\n * const takesTwoArgs = R.binary(takesThreeArgs);\n * takesTwoArgs.length; //=> 2\n * // Only 2 arguments are passed to the wrapped function\n * takesTwoArgs(1, 2, 3); //=> [1, 2, undefined]\n * @symb R.binary(f)(a, b, c) = f(a, b)\n */\n\n\nvar binary =\n/*#__PURE__*/\n_curry1(function binary(fn) {\n return nAry(2, fn);\n});\n\nmodule.exports = binary;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Wraps a function of any arity (including nullary) in a function that accepts\n * exactly `n` parameters. Any extraneous parameters will not be passed to the\n * supplied function.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig Number -> (* -> a) -> (* -> a)\n * @param {Number} n The desired arity of the new function.\n * @param {Function} fn The function to wrap.\n * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of\n * arity `n`.\n * @see R.binary, R.unary\n * @example\n *\n * const takesTwoArgs = (a, b) => [a, b];\n *\n * takesTwoArgs.length; //=> 2\n * takesTwoArgs(1, 2); //=> [1, 2]\n *\n * const takesOneArg = R.nAry(1, takesTwoArgs);\n * takesOneArg.length; //=> 1\n * // Only `n` arguments are passed to the wrapped function\n * takesOneArg(1, 2); //=> [1, undefined]\n * @symb R.nAry(0, f)(a, b) = f()\n * @symb R.nAry(1, f)(a, b) = f(a)\n * @symb R.nAry(2, f)(a, b) = f(a, b)\n */\n\n\nvar nAry =\n/*#__PURE__*/\n_curry2(function nAry(n, fn) {\n switch (n) {\n case 0:\n return function () {\n return fn.call(this);\n };\n\n case 1:\n return function (a0) {\n return fn.call(this, a0);\n };\n\n case 2:\n return function (a0, a1) {\n return fn.call(this, a0, a1);\n };\n\n case 3:\n return function (a0, a1, a2) {\n return fn.call(this, a0, a1, a2);\n };\n\n case 4:\n return function (a0, a1, a2, a3) {\n return fn.call(this, a0, a1, a2, a3);\n };\n\n case 5:\n return function (a0, a1, a2, a3, a4) {\n return fn.call(this, a0, a1, a2, a3, a4);\n };\n\n case 6:\n return function (a0, a1, a2, a3, a4, a5) {\n return fn.call(this, a0, a1, a2, a3, a4, a5);\n };\n\n case 7:\n return function (a0, a1, a2, a3, a4, a5, a6) {\n return fn.call(this, a0, a1, a2, a3, a4, a5, a6);\n };\n\n case 8:\n return function (a0, a1, a2, a3, a4, a5, a6, a7) {\n return fn.call(this, a0, a1, a2, a3, a4, a5, a6, a7);\n };\n\n case 9:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8) {\n return fn.call(this, a0, a1, a2, a3, a4, a5, a6, a7, a8);\n };\n\n case 10:\n return function (a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return fn.call(this, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);\n };\n\n default:\n throw new Error('First argument to nAry must be a non-negative integer no greater than ten');\n }\n});\n\nmodule.exports = nAry;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isFunction =\n/*#__PURE__*/\nrequire(\"./internal/_isFunction\");\n\nvar and =\n/*#__PURE__*/\nrequire(\"./and\");\n\nvar lift =\n/*#__PURE__*/\nrequire(\"./lift\");\n/**\n * A function which calls the two provided functions and returns the `&&`\n * of the results.\n * It returns the result of the first function if it is false-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * false-y value.\n *\n * In addition to functions, `R.both` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f A predicate\n * @param {Function} g Another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `&&`s their outputs together.\n * @see R.and\n * @example\n *\n * const gt10 = R.gt(R.__, 10)\n * const lt20 = R.lt(R.__, 20)\n * const f = R.both(gt10, lt20);\n * f(15); //=> true\n * f(30); //=> false\n *\n * R.both(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(false)\n * R.both([false, false, 'a'], [11]); //=> [false, false, 11]\n */\n\n\nvar both =\n/*#__PURE__*/\n_curry2(function both(f, g) {\n return _isFunction(f) ? function _both() {\n return f.apply(this, arguments) && g.apply(this, arguments);\n } : lift(and)(f, g);\n});\n\nmodule.exports = both;","function _isFunction(x) {\n var type = Object.prototype.toString.call(x);\n return type === '[object Function]' || type === '[object AsyncFunction]' || type === '[object GeneratorFunction]' || type === '[object AsyncGeneratorFunction]';\n}\n\nmodule.exports = _isFunction;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar liftN =\n/*#__PURE__*/\nrequire(\"./liftN\");\n/**\n * \"lifts\" a function of arity > 1 so that it may \"map over\" a list, Function or other\n * object that satisfies the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.liftN\n * @example\n *\n * const madd3 = R.lift((a, b, c) => a + b + c);\n *\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n *\n * const madd5 = R.lift((a, b, c, d, e) => a + b + c + d + e);\n *\n * madd5([1,2], [3], [4, 5], [6], [7, 8]); //=> [21, 22, 22, 23, 22, 23, 23, 24]\n */\n\n\nvar lift =\n/*#__PURE__*/\n_curry1(function lift(fn) {\n return liftN(fn.length, fn);\n});\n\nmodule.exports = lift;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar ap =\n/*#__PURE__*/\nrequire(\"./ap\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n/**\n * \"lifts\" a function to be the specified arity, so that it may \"map over\" that\n * many lists, Functions or other objects that satisfy the [FantasyLand Apply spec](https://github.com/fantasyland/fantasy-land#apply).\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Function\n * @sig Number -> (*... -> *) -> ([*]... -> [*])\n * @param {Function} fn The function to lift into higher context\n * @return {Function} The lifted function.\n * @see R.lift, R.ap\n * @example\n *\n * const madd3 = R.liftN(3, (...args) => R.sum(args));\n * madd3([1,2,3], [1,2,3], [1]); //=> [3, 4, 5, 4, 5, 6, 5, 6, 7]\n */\n\n\nvar liftN =\n/*#__PURE__*/\n_curry2(function liftN(arity, fn) {\n var lifted = curryN(arity, fn);\n return curryN(arity, function () {\n return _reduce(ap, map(lifted, arguments[0]), Array.prototype.slice.call(arguments, 1));\n });\n});\n\nmodule.exports = liftN;","var curry =\n/*#__PURE__*/\nrequire(\"./curry\");\n/**\n * Returns the result of calling its first argument with the remaining\n * arguments. This is occasionally useful as a converging function for\n * [`R.converge`](#converge): the first branch can produce a function while the\n * remaining branches produce values to be passed to that function as its\n * arguments.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig (*... -> a),*... -> a\n * @param {Function} fn The function to apply to the remaining arguments.\n * @param {...*} args Any number of positional arguments.\n * @return {*}\n * @see R.apply\n * @example\n *\n * R.call(R.add, 1, 2); //=> 3\n *\n * const indentN = R.pipe(R.repeat(' '),\n * R.join(''),\n * R.replace(/^(?!$)/gm));\n *\n * const format = R.converge(R.call, [\n * R.pipe(R.prop('indent'), indentN),\n * R.prop('value')\n * ]);\n *\n * format({indent: 2, value: 'foo\\nbar\\nbaz\\n'}); //=> ' foo\\n bar\\n baz\\n'\n * @symb R.call(f, a, b) = f(a, b)\n */\n\n\nvar call =\n/*#__PURE__*/\ncurry(function call(fn) {\n return fn.apply(this, Array.prototype.slice.call(arguments, 1));\n});\nmodule.exports = call;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Returns a curried equivalent of the provided function. The curried function\n * has two unusual capabilities. First, its arguments needn't be provided one\n * at a time. If `f` is a ternary function and `g` is `R.curry(f)`, the\n * following are equivalent:\n *\n * - `g(1)(2)(3)`\n * - `g(1)(2, 3)`\n * - `g(1, 2)(3)`\n * - `g(1, 2, 3)`\n *\n * Secondly, the special placeholder value [`R.__`](#__) may be used to specify\n * \"gaps\", allowing partial application of any combination of arguments,\n * regardless of their positions. If `g` is as above and `_` is [`R.__`](#__),\n * the following are equivalent:\n *\n * - `g(1, 2, 3)`\n * - `g(_, 2, 3)(1)`\n * - `g(_, _, 3)(1)(2)`\n * - `g(_, _, 3)(1, 2)`\n * - `g(_, 2)(1)(3)`\n * - `g(_, 2)(1, 3)`\n * - `g(_, 2)(_, 3)(1)`\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (* -> a) -> (* -> a)\n * @param {Function} fn The function to curry.\n * @return {Function} A new, curried function.\n * @see R.curryN, R.partial\n * @example\n *\n * const addFourNumbers = (a, b, c, d) => a + b + c + d;\n *\n * const curriedAddFourNumbers = R.curry(addFourNumbers);\n * const f = curriedAddFourNumbers(1, 2);\n * const g = f(3);\n * g(4); //=> 10\n */\n\n\nvar curry =\n/*#__PURE__*/\n_curry1(function curry(fn) {\n return curryN(fn.length, fn);\n});\n\nmodule.exports = curry;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _makeFlat =\n/*#__PURE__*/\nrequire(\"./internal/_makeFlat\");\n\nvar _xchain =\n/*#__PURE__*/\nrequire(\"./internal/_xchain\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n/**\n * `chain` maps a function over a list and concatenates the results. `chain`\n * is also known as `flatMap` in some libraries.\n *\n * Dispatches to the `chain` method of the second argument, if present,\n * according to the [FantasyLand Chain spec](https://github.com/fantasyland/fantasy-land#chain).\n *\n * If second argument is a function, `chain(f, g)(x)` is equivalent to `f(g(x), x)`.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category List\n * @sig Chain m => (a -> m b) -> m a -> m b\n * @param {Function} fn The function to map with\n * @param {Array} list The list to map over\n * @return {Array} The result of flat-mapping `list` with `fn`\n * @example\n *\n * const duplicate = n => [n, n];\n * R.chain(duplicate, [1, 2, 3]); //=> [1, 1, 2, 2, 3, 3]\n *\n * R.chain(R.append, R.head)([1, 2, 3]); //=> [1, 2, 3, 1]\n */\n\n\nvar chain =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['fantasy-land/chain', 'chain'], _xchain, function chain(fn, monad) {\n if (typeof monad === 'function') {\n return function (x) {\n return fn(monad(x))(x);\n };\n }\n\n return _makeFlat(false)(map(fn, monad));\n}));\n\nmodule.exports = chain;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _flatCat =\n/*#__PURE__*/\nrequire(\"./_flatCat\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"../map\");\n\nvar _xchain =\n/*#__PURE__*/\n_curry2(function _xchain(f, xf) {\n return map(f, _flatCat(xf));\n});\n\nmodule.exports = _xchain;","var _forceReduced =\n/*#__PURE__*/\nrequire(\"./_forceReduced\");\n\nvar _isArrayLike =\n/*#__PURE__*/\nrequire(\"./_isArrayLike\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./_reduce\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar preservingReduced = function (xf) {\n return {\n '@@transducer/init': _xfBase.init,\n '@@transducer/result': function (result) {\n return xf['@@transducer/result'](result);\n },\n '@@transducer/step': function (result, input) {\n var ret = xf['@@transducer/step'](result, input);\n return ret['@@transducer/reduced'] ? _forceReduced(ret) : ret;\n }\n };\n};\n\nvar _flatCat = function _xcat(xf) {\n var rxf = preservingReduced(xf);\n return {\n '@@transducer/init': _xfBase.init,\n '@@transducer/result': function (result) {\n return rxf['@@transducer/result'](result);\n },\n '@@transducer/step': function (result, input) {\n return !_isArrayLike(input) ? _reduce(rxf, result, [input]) : _reduce(rxf, result, input);\n }\n };\n};\n\nmodule.exports = _flatCat;","function _forceReduced(x) {\n return {\n '@@transducer/value': x,\n '@@transducer/reduced': true\n };\n}\n\nmodule.exports = _forceReduced;","var _isArrayLike =\n/*#__PURE__*/\nrequire(\"./_isArrayLike\");\n/**\n * `_makeFlat` is a helper function that returns a one-level or fully recursive\n * function based on the flag passed in.\n *\n * @private\n */\n\n\nfunction _makeFlat(recursive) {\n return function flatt(list) {\n var value, jlen, j;\n var result = [];\n var idx = 0;\n var ilen = list.length;\n\n while (idx < ilen) {\n if (_isArrayLike(list[idx])) {\n value = recursive ? flatt(list[idx]) : list[idx];\n j = 0;\n jlen = value.length;\n\n while (j < jlen) {\n result[result.length] = value[j];\n j += 1;\n }\n } else {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n };\n}\n\nmodule.exports = _makeFlat;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Restricts a number to be within a range.\n *\n * Also works for other ordered types such as Strings and Dates.\n *\n * @func\n * @memberOf R\n * @since v0.20.0\n * @category Relation\n * @sig Ord a => a -> a -> a -> a\n * @param {Number} minimum The lower limit of the clamp (inclusive)\n * @param {Number} maximum The upper limit of the clamp (inclusive)\n * @param {Number} value Value to be clamped\n * @return {Number} Returns `minimum` when `val < minimum`, `maximum` when `val > maximum`, returns `val` otherwise\n * @example\n *\n * R.clamp(1, 10, -5) // => 1\n * R.clamp(1, 10, 15) // => 10\n * R.clamp(1, 10, 4) // => 4\n */\n\n\nvar clamp =\n/*#__PURE__*/\n_curry3(function clamp(min, max, value) {\n if (min > max) {\n throw new Error('min must not be greater than max in clamp(min, max, value)');\n }\n\n return value < min ? min : value > max ? max : value;\n});\n\nmodule.exports = clamp;","var _clone =\n/*#__PURE__*/\nrequire(\"./internal/_clone\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Creates a deep copy of the value which may contain (nested) `Array`s and\n * `Object`s, `Number`s, `String`s, `Boolean`s and `Date`s. `Function`s are\n * assigned by reference rather than copied\n *\n * Dispatches to a `clone` method if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {*} -> {*}\n * @param {*} value The object or array to clone\n * @return {*} A deeply cloned copy of `val`\n * @example\n *\n * const objects = [{}, {}, {}];\n * const objectsClone = R.clone(objects);\n * objects === objectsClone; //=> false\n * objects[0] === objectsClone[0]; //=> false\n */\n\n\nvar clone =\n/*#__PURE__*/\n_curry1(function clone(value) {\n return value != null && typeof value.clone === 'function' ? value.clone() : _clone(value, [], [], true);\n});\n\nmodule.exports = clone;","var _cloneRegExp =\n/*#__PURE__*/\nrequire(\"./_cloneRegExp\");\n\nvar type =\n/*#__PURE__*/\nrequire(\"../type\");\n/**\n * Copies an object.\n *\n * @private\n * @param {*} value The value to be copied\n * @param {Array} refFrom Array containing the source references\n * @param {Array} refTo Array containing the copied source references\n * @param {Boolean} deep Whether or not to perform deep cloning.\n * @return {*} The copied value.\n */\n\n\nfunction _clone(value, refFrom, refTo, deep) {\n var copy = function copy(copiedValue) {\n var len = refFrom.length;\n var idx = 0;\n\n while (idx < len) {\n if (value === refFrom[idx]) {\n return refTo[idx];\n }\n\n idx += 1;\n }\n\n refFrom[idx + 1] = value;\n refTo[idx + 1] = copiedValue;\n\n for (var key in value) {\n copiedValue[key] = deep ? _clone(value[key], refFrom, refTo, true) : value[key];\n }\n\n return copiedValue;\n };\n\n switch (type(value)) {\n case 'Object':\n return copy({});\n\n case 'Array':\n return copy([]);\n\n case 'Date':\n return new Date(value.valueOf());\n\n case 'RegExp':\n return _cloneRegExp(value);\n\n default:\n return value;\n }\n}\n\nmodule.exports = _clone;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Gives a single-word string description of the (native) type of a value,\n * returning such answers as 'Object', 'Number', 'Array', or 'Null'. Does not\n * attempt to distinguish user Object types any further, reporting them all as\n * 'Object'.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Type\n * @sig (* -> {*}) -> String\n * @param {*} val The value to test\n * @return {String}\n * @example\n *\n * R.type({}); //=> \"Object\"\n * R.type(1); //=> \"Number\"\n * R.type(false); //=> \"Boolean\"\n * R.type('s'); //=> \"String\"\n * R.type(null); //=> \"Null\"\n * R.type([]); //=> \"Array\"\n * R.type(/[A-z]/); //=> \"RegExp\"\n * R.type(() => {}); //=> \"Function\"\n * R.type(undefined); //=> \"Undefined\"\n */\n\n\nvar type =\n/*#__PURE__*/\n_curry1(function type(val) {\n return val === null ? 'Null' : val === undefined ? 'Undefined' : Object.prototype.toString.call(val).slice(8, -1);\n});\n\nmodule.exports = type;","function _cloneRegExp(pattern) {\n return new RegExp(pattern.source, (pattern.global ? 'g' : '') + (pattern.ignoreCase ? 'i' : '') + (pattern.multiline ? 'm' : '') + (pattern.sticky ? 'y' : '') + (pattern.unicode ? 'u' : ''));\n}\n\nmodule.exports = _cloneRegExp;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Makes a comparator function out of a function that reports whether the first\n * element is less than the second.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b) -> Boolean) -> ((a, b) -> Number)\n * @param {Function} pred A predicate function of arity two which will return `true` if the first argument\n * is less than the second, `false` otherwise\n * @return {Function} A Function :: a -> b -> Int that returns `-1` if a < b, `1` if b < a, otherwise `0`\n * @example\n *\n * const byAge = R.comparator((a, b) => a.age < b.age);\n * const people = [\n * { name: 'Emma', age: 70 },\n * { name: 'Peter', age: 78 },\n * { name: 'Mikhail', age: 62 },\n * ];\n * const peopleByIncreasingAge = R.sort(byAge, people);\n * //=> [{ name: 'Mikhail', age: 62 },{ name: 'Emma', age: 70 }, { name: 'Peter', age: 78 }]\n */\n\n\nvar comparator =\n/*#__PURE__*/\n_curry1(function comparator(pred) {\n return function (a, b) {\n return pred(a, b) ? -1 : pred(b, a) ? 1 : 0;\n };\n});\n\nmodule.exports = comparator;","var lift =\n/*#__PURE__*/\nrequire(\"./lift\");\n\nvar not =\n/*#__PURE__*/\nrequire(\"./not\");\n/**\n * Takes a function `f` and returns a function `g` such that if called with the same arguments\n * when `f` returns a \"truthy\" value, `g` returns `false` and when `f` returns a \"falsy\" value `g` returns `true`.\n *\n * `R.complement` may be applied to any functor\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> *) -> (*... -> Boolean)\n * @param {Function} f\n * @return {Function}\n * @see R.not\n * @example\n *\n * const isNotNil = R.complement(R.isNil);\n * isNil(null); //=> true\n * isNotNil(null); //=> false\n * isNil(7); //=> false\n * isNotNil(7); //=> true\n */\n\n\nvar complement =\n/*#__PURE__*/\nlift(not);\nmodule.exports = complement;","var chain =\n/*#__PURE__*/\nrequire(\"./chain\");\n\nvar compose =\n/*#__PURE__*/\nrequire(\"./compose\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n/**\n * Returns the right-to-left Kleisli composition of the provided functions,\n * each of which must return a value of a type supported by [`chain`](#chain).\n *\n * `R.composeK(h, g, f)` is equivalent to `R.compose(R.chain(h), R.chain(g), f)`.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Function\n * @sig Chain m => ((y -> m z), (x -> m y), ..., (a -> m b)) -> (a -> m z)\n * @param {...Function} ...functions The functions to compose\n * @return {Function}\n * @see R.pipeK\n * @deprecated since v0.26.0\n * @example\n *\n * // get :: String -> Object -> Maybe *\n * const get = R.curry((propName, obj) => Maybe(obj[propName]))\n *\n * // getStateCode :: Maybe String -> Maybe String\n * const getStateCode = R.composeK(\n * R.compose(Maybe.of, R.toUpper),\n * get('state'),\n * get('address'),\n * get('user'),\n * );\n * getStateCode({\"user\":{\"address\":{\"state\":\"ny\"}}}); //=> Maybe.Just(\"NY\")\n * getStateCode({}); //=> Maybe.Nothing()\n * @symb R.composeK(f, g, h)(a) = R.chain(f, R.chain(g, h(a)))\n */\n\n\nfunction composeK() {\n if (arguments.length === 0) {\n throw new Error('composeK requires at least one argument');\n }\n\n var init = Array.prototype.slice.call(arguments);\n var last = init.pop();\n return compose(compose.apply(this, map(chain, init)), last);\n}\n\nmodule.exports = composeK;","var pipeP =\n/*#__PURE__*/\nrequire(\"./pipeP\");\n\nvar reverse =\n/*#__PURE__*/\nrequire(\"./reverse\");\n/**\n * Performs right-to-left composition of one or more Promise-returning\n * functions. The last arguments may have any arity; the remaining\n * arguments must be unary.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Function\n * @sig ((y -> Promise z), (x -> Promise y), ..., (a -> Promise b)) -> (a -> Promise z)\n * @param {...Function} functions The functions to compose\n * @return {Function}\n * @see R.pipeP\n * @deprecated since v0.26.0\n * @example\n *\n * const db = {\n * users: {\n * JOE: {\n * name: 'Joe',\n * followers: ['STEVE', 'SUZY']\n * }\n * }\n * }\n *\n * // We'll pretend to do a db lookup which returns a promise\n * const lookupUser = (userId) => Promise.resolve(db.users[userId])\n * const lookupFollowers = (user) => Promise.resolve(user.followers)\n * lookupUser('JOE').then(lookupFollowers)\n *\n * // followersForUser :: String -> Promise [UserId]\n * const followersForUser = R.composeP(lookupFollowers, lookupUser);\n * followersForUser('JOE').then(followers => console.log('Followers:', followers))\n * // Followers: [\"STEVE\",\"SUZY\"]\n */\n\n\nfunction composeP() {\n if (arguments.length === 0) {\n throw new Error('composeP requires at least one argument');\n }\n\n return pipeP.apply(this, reverse(arguments));\n}\n\nmodule.exports = composeP;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _pipeP =\n/*#__PURE__*/\nrequire(\"./internal/_pipeP\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n\nvar tail =\n/*#__PURE__*/\nrequire(\"./tail\");\n/**\n * Performs left-to-right composition of one or more Promise-returning\n * functions. The first argument may have any arity; the remaining arguments\n * must be unary.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Function\n * @sig ((a -> Promise b), (b -> Promise c), ..., (y -> Promise z)) -> (a -> Promise z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.composeP\n * @deprecated since v0.26.0\n * @example\n *\n * // followersForUser :: String -> Promise [User]\n * const followersForUser = R.pipeP(db.getUserById, db.getFollowers);\n */\n\n\nfunction pipeP() {\n if (arguments.length === 0) {\n throw new Error('pipeP requires at least one argument');\n }\n\n return _arity(arguments[0].length, reduce(_pipeP, arguments[0], tail(arguments)));\n}\n\nmodule.exports = pipeP;","function _pipeP(f, g) {\n return function () {\n var ctx = this;\n return f.apply(ctx, arguments).then(function (x) {\n return g.call(ctx, x);\n });\n };\n}\n\nmodule.exports = _pipeP;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar pipeWith =\n/*#__PURE__*/\nrequire(\"./pipeWith\");\n\nvar reverse =\n/*#__PURE__*/\nrequire(\"./reverse\");\n/**\n * Performs right-to-left function composition using transforming function. The last argument may have\n * any arity; the remaining arguments must be unary.\n *\n * **Note:** The result of compose is not automatically curried. Transforming function is not used on the\n * last argument.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Function\n * @sig ((* -> *), [(y -> z), (x -> y), ..., (o -> p), ((a, b, ..., n) -> o)]) -> ((a, b, ..., n) -> z)\n * @param {...Function} ...functions The functions to compose\n * @return {Function}\n * @see R.compose, R.pipeWith\n * @example\n *\n * const composeWhileNotNil = R.composeWith((f, res) => R.isNil(res) ? res : f(res));\n *\n * composeWhileNotNil([R.inc, R.prop('age')])({age: 1}) //=> 2\n * composeWhileNotNil([R.inc, R.prop('age')])({}) //=> undefined\n *\n * @symb R.composeWith(f)([g, h, i])(...args) = f(g, f(h, i(...args)))\n */\n\n\nvar composeWith =\n/*#__PURE__*/\n_curry2(function composeWith(xf, list) {\n return pipeWith.apply(this, [xf, reverse(list)]);\n});\n\nmodule.exports = composeWith;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar head =\n/*#__PURE__*/\nrequire(\"./head\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar tail =\n/*#__PURE__*/\nrequire(\"./tail\");\n\nvar identity =\n/*#__PURE__*/\nrequire(\"./identity\");\n/**\n * Performs left-to-right function composition using transforming function. The first argument may have\n * any arity; the remaining arguments must be unary.\n *\n * **Note:** The result of pipeWith is not automatically curried. Transforming function is not used on the\n * first argument.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Function\n * @sig ((* -> *), [((a, b, ..., n) -> o), (o -> p), ..., (x -> y), (y -> z)]) -> ((a, b, ..., n) -> z)\n * @param {...Function} functions\n * @return {Function}\n * @see R.composeWith, R.pipe\n * @example\n *\n * const pipeWhileNotNil = R.pipeWith((f, res) => R.isNil(res) ? res : f(res));\n * const f = pipeWhileNotNil([Math.pow, R.negate, R.inc])\n *\n * f(3, 4); // -(3^4) + 1\n * @symb R.pipeWith(f)([g, h, i])(...args) = f(i, f(h, g(...args)))\n */\n\n\nvar pipeWith =\n/*#__PURE__*/\n_curry2(function pipeWith(xf, list) {\n if (list.length <= 0) {\n return identity;\n }\n\n var headList = head(list);\n var tailList = tail(list);\n return _arity(headList.length, function () {\n return _reduce(function (result, f) {\n return xf.call(this, f, result);\n }, headList.apply(this, arguments), tailList);\n });\n});\n\nmodule.exports = pipeWith;","var nth =\n/*#__PURE__*/\nrequire(\"./nth\");\n/**\n * Returns the first element of the given list or string. In some libraries\n * this function is named `first`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {Array|String} list\n * @return {*}\n * @see R.tail, R.init, R.last\n * @example\n *\n * R.head(['fi', 'fo', 'fum']); //=> 'fi'\n * R.head([]); //=> undefined\n *\n * R.head('abc'); //=> 'a'\n * R.head(''); //=> ''\n */\n\n\nvar head =\n/*#__PURE__*/\nnth(0);\nmodule.exports = head;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n\nvar _isFunction =\n/*#__PURE__*/\nrequire(\"./internal/_isFunction\");\n\nvar _isString =\n/*#__PURE__*/\nrequire(\"./internal/_isString\");\n\nvar toString =\n/*#__PURE__*/\nrequire(\"./toString\");\n/**\n * Returns the result of concatenating the given lists or strings.\n *\n * Note: `R.concat` expects both arguments to be of the same type,\n * unlike the native `Array.prototype.concat` method. It will throw\n * an error if you `concat` an Array with a non-Array value.\n *\n * Dispatches to the `concat` method of the first argument, if present.\n * Can also concatenate two members of a [fantasy-land\n * compatible semigroup](https://github.com/fantasyland/fantasy-land#semigroup).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a] -> [a]\n * @sig String -> String -> String\n * @param {Array|String} firstList The first list\n * @param {Array|String} secondList The second list\n * @return {Array|String} A list consisting of the elements of `firstList` followed by the elements of\n * `secondList`.\n *\n * @example\n *\n * R.concat('ABC', 'DEF'); // 'ABCDEF'\n * R.concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]\n * R.concat([], []); //=> []\n */\n\n\nvar concat =\n/*#__PURE__*/\n_curry2(function concat(a, b) {\n if (_isArray(a)) {\n if (_isArray(b)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(b) + ' is not an array');\n }\n\n if (_isString(a)) {\n if (_isString(b)) {\n return a + b;\n }\n\n throw new TypeError(toString(b) + ' is not a string');\n }\n\n if (a != null && _isFunction(a['fantasy-land/concat'])) {\n return a['fantasy-land/concat'](b);\n }\n\n if (a != null && _isFunction(a.concat)) {\n return a.concat(b);\n }\n\n throw new TypeError(toString(a) + ' does not have a method named \"concat\" or \"fantasy-land/concat\"');\n});\n\nmodule.exports = concat;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _toString =\n/*#__PURE__*/\nrequire(\"./internal/_toString\");\n/**\n * Returns the string representation of the given value. `eval`'ing the output\n * should result in a value equivalent to the input value. Many of the built-in\n * `toString` methods do not satisfy this requirement.\n *\n * If the given value is an `[object Object]` with a `toString` method other\n * than `Object.prototype.toString`, this method is invoked with no arguments\n * to produce the return value. This means user-defined constructor functions\n * can provide a suitable `toString` method. For example:\n *\n * function Point(x, y) {\n * this.x = x;\n * this.y = y;\n * }\n *\n * Point.prototype.toString = function() {\n * return 'new Point(' + this.x + ', ' + this.y + ')';\n * };\n *\n * R.toString(new Point(1, 2)); //=> 'new Point(1, 2)'\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category String\n * @sig * -> String\n * @param {*} val\n * @return {String}\n * @example\n *\n * R.toString(42); //=> '42'\n * R.toString('abc'); //=> '\"abc\"'\n * R.toString([1, 2, 3]); //=> '[1, 2, 3]'\n * R.toString({foo: 1, bar: 2, baz: 3}); //=> '{\"bar\": 2, \"baz\": 3, \"foo\": 1}'\n * R.toString(new Date('2001-02-03T04:05:06Z')); //=> 'new Date(\"2001-02-03T04:05:06.000Z\")'\n */\n\n\nvar toString =\n/*#__PURE__*/\n_curry1(function toString(val) {\n return _toString(val, []);\n});\n\nmodule.exports = toString;","var _includes =\n/*#__PURE__*/\nrequire(\"./_includes\");\n\nvar _map =\n/*#__PURE__*/\nrequire(\"./_map\");\n\nvar _quote =\n/*#__PURE__*/\nrequire(\"./_quote\");\n\nvar _toISOString =\n/*#__PURE__*/\nrequire(\"./_toISOString\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"../keys\");\n\nvar reject =\n/*#__PURE__*/\nrequire(\"../reject\");\n\nfunction _toString(x, seen) {\n var recur = function recur(y) {\n var xs = seen.concat([x]);\n return _includes(y, xs) ? '' : _toString(y, xs);\n }; // mapPairs :: (Object, [String]) -> [String]\n\n\n var mapPairs = function (obj, keys) {\n return _map(function (k) {\n return _quote(k) + ': ' + recur(obj[k]);\n }, keys.slice().sort());\n };\n\n switch (Object.prototype.toString.call(x)) {\n case '[object Arguments]':\n return '(function() { return arguments; }(' + _map(recur, x).join(', ') + '))';\n\n case '[object Array]':\n return '[' + _map(recur, x).concat(mapPairs(x, reject(function (k) {\n return /^\\d+$/.test(k);\n }, keys(x)))).join(', ') + ']';\n\n case '[object Boolean]':\n return typeof x === 'object' ? 'new Boolean(' + recur(x.valueOf()) + ')' : x.toString();\n\n case '[object Date]':\n return 'new Date(' + (isNaN(x.valueOf()) ? recur(NaN) : _quote(_toISOString(x))) + ')';\n\n case '[object Null]':\n return 'null';\n\n case '[object Number]':\n return typeof x === 'object' ? 'new Number(' + recur(x.valueOf()) + ')' : 1 / x === -Infinity ? '-0' : x.toString(10);\n\n case '[object String]':\n return typeof x === 'object' ? 'new String(' + recur(x.valueOf()) + ')' : _quote(x);\n\n case '[object Undefined]':\n return 'undefined';\n\n default:\n if (typeof x.toString === 'function') {\n var repr = x.toString();\n\n if (repr !== '[object Object]') {\n return repr;\n }\n }\n\n return '{' + mapPairs(x, keys(x)).join(', ') + '}';\n }\n}\n\nmodule.exports = _toString;","var _indexOf =\n/*#__PURE__*/\nrequire(\"./_indexOf\");\n\nfunction _includes(a, list) {\n return _indexOf(list, a, 0) >= 0;\n}\n\nmodule.exports = _includes;","var equals =\n/*#__PURE__*/\nrequire(\"../equals\");\n\nfunction _indexOf(list, a, idx) {\n var inf, item; // Array.prototype.indexOf doesn't exist below IE9\n\n if (typeof list.indexOf === 'function') {\n switch (typeof a) {\n case 'number':\n if (a === 0) {\n // manually crawl the list to distinguish between +0 and -0\n inf = 1 / a;\n\n while (idx < list.length) {\n item = list[idx];\n\n if (item === 0 && 1 / item === inf) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } else if (a !== a) {\n // NaN\n while (idx < list.length) {\n item = list[idx];\n\n if (typeof item === 'number' && item !== item) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n } // non-zero numbers can utilise Set\n\n\n return list.indexOf(a, idx);\n // all these types can utilise Set\n\n case 'string':\n case 'boolean':\n case 'function':\n case 'undefined':\n return list.indexOf(a, idx);\n\n case 'object':\n if (a === null) {\n // null can utilise Set\n return list.indexOf(a, idx);\n }\n\n }\n } // anything else not covered above, defer to R.equals\n\n\n while (idx < list.length) {\n if (equals(list[idx], a)) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n}\n\nmodule.exports = _indexOf;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _equals =\n/*#__PURE__*/\nrequire(\"./internal/_equals\");\n/**\n * Returns `true` if its arguments are equivalent, `false` otherwise. Handles\n * cyclical data structures.\n *\n * Dispatches symmetrically to the `equals` methods of both arguments, if\n * present.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> b -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * R.equals(1, 1); //=> true\n * R.equals(1, '1'); //=> false\n * R.equals([1, 2, 3], [1, 2, 3]); //=> true\n *\n * const a = {}; a.v = a;\n * const b = {}; b.v = b;\n * R.equals(a, b); //=> true\n */\n\n\nvar equals =\n/*#__PURE__*/\n_curry2(function equals(a, b) {\n return _equals(a, b, [], []);\n});\n\nmodule.exports = equals;","var _arrayFromIterator =\n/*#__PURE__*/\nrequire(\"./_arrayFromIterator\");\n\nvar _includesWith =\n/*#__PURE__*/\nrequire(\"./_includesWith\");\n\nvar _functionName =\n/*#__PURE__*/\nrequire(\"./_functionName\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./_has\");\n\nvar _objectIs =\n/*#__PURE__*/\nrequire(\"./_objectIs\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"../keys\");\n\nvar type =\n/*#__PURE__*/\nrequire(\"../type\");\n/**\n * private _uniqContentEquals function.\n * That function is checking equality of 2 iterator contents with 2 assumptions\n * - iterators lengths are the same\n * - iterators values are unique\n *\n * false-positive result will be returned for comparision of, e.g.\n * - [1,2,3] and [1,2,3,4]\n * - [1,1,1] and [1,2,3]\n * */\n\n\nfunction _uniqContentEquals(aIterator, bIterator, stackA, stackB) {\n var a = _arrayFromIterator(aIterator);\n\n var b = _arrayFromIterator(bIterator);\n\n function eq(_a, _b) {\n return _equals(_a, _b, stackA.slice(), stackB.slice());\n } // if *a* array contains any element that is not included in *b*\n\n\n return !_includesWith(function (b, aItem) {\n return !_includesWith(eq, aItem, b);\n }, b, a);\n}\n\nfunction _equals(a, b, stackA, stackB) {\n if (_objectIs(a, b)) {\n return true;\n }\n\n var typeA = type(a);\n\n if (typeA !== type(b)) {\n return false;\n }\n\n if (a == null || b == null) {\n return false;\n }\n\n if (typeof a['fantasy-land/equals'] === 'function' || typeof b['fantasy-land/equals'] === 'function') {\n return typeof a['fantasy-land/equals'] === 'function' && a['fantasy-land/equals'](b) && typeof b['fantasy-land/equals'] === 'function' && b['fantasy-land/equals'](a);\n }\n\n if (typeof a.equals === 'function' || typeof b.equals === 'function') {\n return typeof a.equals === 'function' && a.equals(b) && typeof b.equals === 'function' && b.equals(a);\n }\n\n switch (typeA) {\n case 'Arguments':\n case 'Array':\n case 'Object':\n if (typeof a.constructor === 'function' && _functionName(a.constructor) === 'Promise') {\n return a === b;\n }\n\n break;\n\n case 'Boolean':\n case 'Number':\n case 'String':\n if (!(typeof a === typeof b && _objectIs(a.valueOf(), b.valueOf()))) {\n return false;\n }\n\n break;\n\n case 'Date':\n if (!_objectIs(a.valueOf(), b.valueOf())) {\n return false;\n }\n\n break;\n\n case 'Error':\n return a.name === b.name && a.message === b.message;\n\n case 'RegExp':\n if (!(a.source === b.source && a.global === b.global && a.ignoreCase === b.ignoreCase && a.multiline === b.multiline && a.sticky === b.sticky && a.unicode === b.unicode)) {\n return false;\n }\n\n break;\n }\n\n var idx = stackA.length - 1;\n\n while (idx >= 0) {\n if (stackA[idx] === a) {\n return stackB[idx] === b;\n }\n\n idx -= 1;\n }\n\n switch (typeA) {\n case 'Map':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.entries(), b.entries(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Set':\n if (a.size !== b.size) {\n return false;\n }\n\n return _uniqContentEquals(a.values(), b.values(), stackA.concat([a]), stackB.concat([b]));\n\n case 'Arguments':\n case 'Array':\n case 'Object':\n case 'Boolean':\n case 'Number':\n case 'String':\n case 'Date':\n case 'Error':\n case 'RegExp':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'ArrayBuffer':\n break;\n\n default:\n // Values of other types are only equal if identical.\n return false;\n }\n\n var keysA = keys(a);\n\n if (keysA.length !== keys(b).length) {\n return false;\n }\n\n var extendedStackA = stackA.concat([a]);\n var extendedStackB = stackB.concat([b]);\n idx = keysA.length - 1;\n\n while (idx >= 0) {\n var key = keysA[idx];\n\n if (!(_has(key, b) && _equals(b[key], a[key], extendedStackA, extendedStackB))) {\n return false;\n }\n\n idx -= 1;\n }\n\n return true;\n}\n\nmodule.exports = _equals;","function _arrayFromIterator(iter) {\n var list = [];\n var next;\n\n while (!(next = iter.next()).done) {\n list.push(next.value);\n }\n\n return list;\n}\n\nmodule.exports = _arrayFromIterator;","function _includesWith(pred, x, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (pred(x, list[idx])) {\n return true;\n }\n\n idx += 1;\n }\n\n return false;\n}\n\nmodule.exports = _includesWith;","// Based on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\nfunction _objectIs(a, b) {\n // SameValue algorithm\n if (a === b) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return a !== 0 || 1 / a === 1 / b;\n } else {\n // Step 6.a: NaN == NaN\n return a !== a && b !== b;\n }\n}\n\nmodule.exports = typeof Object.is === 'function' ? Object.is : _objectIs;","function _functionName(f) {\n // String(x => x) evaluates to \"x => x\", so the pattern may not match.\n var match = String(f).match(/^function (\\w*)/);\n return match == null ? '' : match[1];\n}\n\nmodule.exports = _functionName;","function _quote(s) {\n var escaped = s.replace(/\\\\/g, '\\\\\\\\').replace(/[\\b]/g, '\\\\b') // \\b matches word boundary; [\\b] matches backspace\n .replace(/\\f/g, '\\\\f').replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r').replace(/\\t/g, '\\\\t').replace(/\\v/g, '\\\\v').replace(/\\0/g, '\\\\0');\n return '\"' + escaped.replace(/\"/g, '\\\\\"') + '\"';\n}\n\nmodule.exports = _quote;","var _complement =\n/*#__PURE__*/\nrequire(\"./internal/_complement\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar filter =\n/*#__PURE__*/\nrequire(\"./filter\");\n/**\n * The complement of [`filter`](#filter).\n *\n * Acts as a transducer if a transformer is given in list position. Filterable\n * objects include plain objects or any object that has a filter method such\n * as `Array`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array}\n * @see R.filter, R.transduce, R.addIndex\n * @example\n *\n * const isOdd = (n) => n % 2 === 1;\n *\n * R.reject(isOdd, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.reject(isOdd, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\n\nvar reject =\n/*#__PURE__*/\n_curry2(function reject(pred, filterable) {\n return filter(_complement(pred), filterable);\n});\n\nmodule.exports = reject;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _filter =\n/*#__PURE__*/\nrequire(\"./internal/_filter\");\n\nvar _isObject =\n/*#__PURE__*/\nrequire(\"./internal/_isObject\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _xfilter =\n/*#__PURE__*/\nrequire(\"./internal/_xfilter\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Takes a predicate and a `Filterable`, and returns a new filterable of the\n * same type containing the members of the given filterable which satisfy the\n * given predicate. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * Dispatches to the `filter` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> f a\n * @param {Function} pred\n * @param {Array} filterable\n * @return {Array} Filterable\n * @see R.reject, R.transduce, R.addIndex\n * @example\n *\n * const isEven = n => n % 2 === 0;\n *\n * R.filter(isEven, [1, 2, 3, 4]); //=> [2, 4]\n *\n * R.filter(isEven, {a: 1, b: 2, c: 3, d: 4}); //=> {b: 2, d: 4}\n */\n\n\nvar filter =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['filter'], _xfilter, function (pred, filterable) {\n return _isObject(filterable) ? _reduce(function (acc, key) {\n if (pred(filterable[key])) {\n acc[key] = filterable[key];\n }\n\n return acc;\n }, {}, keys(filterable)) : // else\n _filter(pred, filterable);\n}));\n\nmodule.exports = filter;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XFilter =\n/*#__PURE__*/\nfunction () {\n function XFilter(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XFilter.prototype['@@transducer/init'] = _xfBase.init;\n XFilter.prototype['@@transducer/result'] = _xfBase.result;\n\n XFilter.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.xf['@@transducer/step'](result, input) : result;\n };\n\n return XFilter;\n}();\n\nvar _xfilter =\n/*#__PURE__*/\n_curry2(function _xfilter(f, xf) {\n return new XFilter(f, xf);\n});\n\nmodule.exports = _xfilter;","function _filter(fn, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n\n while (idx < len) {\n if (fn(list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n\n return result;\n}\n\nmodule.exports = _filter;","function _complement(f) {\n return function () {\n return !f.apply(this, arguments);\n };\n}\n\nmodule.exports = _complement;","/**\n * Polyfill from .\n */\nvar pad = function pad(n) {\n return (n < 10 ? '0' : '') + n;\n};\n\nvar _toISOString = typeof Date.prototype.toISOString === 'function' ? function _toISOString(d) {\n return d.toISOString();\n} : function _toISOString(d) {\n return d.getUTCFullYear() + '-' + pad(d.getUTCMonth() + 1) + '-' + pad(d.getUTCDate()) + 'T' + pad(d.getUTCHours()) + ':' + pad(d.getUTCMinutes()) + ':' + pad(d.getUTCSeconds()) + '.' + (d.getUTCMilliseconds() / 1000).toFixed(3).slice(2, 5) + 'Z';\n};\n\nmodule.exports = _toISOString;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n\nvar max =\n/*#__PURE__*/\nrequire(\"./max\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Returns a function, `fn`, which encapsulates `if/else, if/else, ...` logic.\n * `R.cond` takes a list of [predicate, transformer] pairs. All of the arguments\n * to `fn` are applied to each of the predicates in turn until one returns a\n * \"truthy\" value, at which point `fn` returns the result of applying its\n * arguments to the corresponding transformer. If none of the predicates\n * matches, `fn` returns undefined.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Logic\n * @sig [[(*... -> Boolean),(*... -> *)]] -> (*... -> *)\n * @param {Array} pairs A list of [predicate, transformer]\n * @return {Function}\n * @see R.ifElse, R.unless, R.when\n * @example\n *\n * const fn = R.cond([\n * [R.equals(0), R.always('water freezes at 0°C')],\n * [R.equals(100), R.always('water boils at 100°C')],\n * [R.T, temp => 'nothing special happens at ' + temp + '°C']\n * ]);\n * fn(0); //=> 'water freezes at 0°C'\n * fn(50); //=> 'nothing special happens at 50°C'\n * fn(100); //=> 'water boils at 100°C'\n */\n\n\nvar cond =\n/*#__PURE__*/\n_curry1(function cond(pairs) {\n var arity = reduce(max, 0, map(function (pair) {\n return pair[0].length;\n }, pairs));\n return _arity(arity, function () {\n var idx = 0;\n\n while (idx < pairs.length) {\n if (pairs[idx][0].apply(this, arguments)) {\n return pairs[idx][1].apply(this, arguments);\n }\n\n idx += 1;\n }\n });\n});\n\nmodule.exports = cond;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar constructN =\n/*#__PURE__*/\nrequire(\"./constructN\");\n/**\n * Wraps a constructor function inside a curried function that can be called\n * with the same arguments and returns the same type.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (* -> {*}) -> (* -> {*})\n * @param {Function} fn The constructor function to wrap.\n * @return {Function} A wrapped, curried constructor function.\n * @see R.invoker\n * @example\n *\n * // Constructor function\n * function Animal(kind) {\n * this.kind = kind;\n * };\n * Animal.prototype.sighting = function() {\n * return \"It's a \" + this.kind + \"!\";\n * }\n *\n * const AnimalConstructor = R.construct(Animal)\n *\n * // Notice we no longer need the 'new' keyword:\n * AnimalConstructor('Pig'); //=> {\"kind\": \"Pig\", \"sighting\": function (){...}};\n *\n * const animalTypes = [\"Lion\", \"Tiger\", \"Bear\"];\n * const animalSighting = R.invoker(0, 'sighting');\n * const sightNewAnimal = R.compose(animalSighting, AnimalConstructor);\n * R.map(sightNewAnimal, animalTypes); //=> [\"It's a Lion!\", \"It's a Tiger!\", \"It's a Bear!\"]\n */\n\n\nvar construct =\n/*#__PURE__*/\n_curry1(function construct(Fn) {\n return constructN(Fn.length, Fn);\n});\n\nmodule.exports = construct;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar curry =\n/*#__PURE__*/\nrequire(\"./curry\");\n\nvar nAry =\n/*#__PURE__*/\nrequire(\"./nAry\");\n/**\n * Wraps a constructor function inside a curried function that can be called\n * with the same arguments and returns the same type. The arity of the function\n * returned is specified to allow using variadic constructor functions.\n *\n * @func\n * @memberOf R\n * @since v0.4.0\n * @category Function\n * @sig Number -> (* -> {*}) -> (* -> {*})\n * @param {Number} n The arity of the constructor function.\n * @param {Function} Fn The constructor function to wrap.\n * @return {Function} A wrapped, curried constructor function.\n * @example\n *\n * // Variadic Constructor function\n * function Salad() {\n * this.ingredients = arguments;\n * }\n *\n * Salad.prototype.recipe = function() {\n * const instructions = R.map(ingredient => 'Add a dollop of ' + ingredient, this.ingredients);\n * return R.join('\\n', instructions);\n * };\n *\n * const ThreeLayerSalad = R.constructN(3, Salad);\n *\n * // Notice we no longer need the 'new' keyword, and the constructor is curried for 3 arguments.\n * const salad = ThreeLayerSalad('Mayonnaise')('Potato Chips')('Ketchup');\n *\n * console.log(salad.recipe());\n * // Add a dollop of Mayonnaise\n * // Add a dollop of Potato Chips\n * // Add a dollop of Ketchup\n */\n\n\nvar constructN =\n/*#__PURE__*/\n_curry2(function constructN(n, Fn) {\n if (n > 10) {\n throw new Error('Constructor with greater than ten arguments');\n }\n\n if (n === 0) {\n return function () {\n return new Fn();\n };\n }\n\n return curry(nAry(n, function ($0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {\n switch (arguments.length) {\n case 1:\n return new Fn($0);\n\n case 2:\n return new Fn($0, $1);\n\n case 3:\n return new Fn($0, $1, $2);\n\n case 4:\n return new Fn($0, $1, $2, $3);\n\n case 5:\n return new Fn($0, $1, $2, $3, $4);\n\n case 6:\n return new Fn($0, $1, $2, $3, $4, $5);\n\n case 7:\n return new Fn($0, $1, $2, $3, $4, $5, $6);\n\n case 8:\n return new Fn($0, $1, $2, $3, $4, $5, $6, $7);\n\n case 9:\n return new Fn($0, $1, $2, $3, $4, $5, $6, $7, $8);\n\n case 10:\n return new Fn($0, $1, $2, $3, $4, $5, $6, $7, $8, $9);\n }\n }));\n});\n\nmodule.exports = constructN;","var _includes =\n/*#__PURE__*/\nrequire(\"./internal/_includes\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the specified value is equal, in [`R.equals`](#equals)\n * terms, to at least one element of the given list; `false` otherwise.\n * Works also with strings.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> Boolean\n * @param {Object} a The item to compare against.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.\n * @see R.includes\n * @deprecated since v0.26.0\n * @example\n *\n * R.contains(3, [1, 2, 3]); //=> true\n * R.contains(4, [1, 2, 3]); //=> false\n * R.contains({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true\n * R.contains([42], [[42]]); //=> true\n * R.contains('ba', 'banana'); //=>true\n */\n\n\nvar contains =\n/*#__PURE__*/\n_curry2(_includes);\n\nmodule.exports = contains;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _map =\n/*#__PURE__*/\nrequire(\"./internal/_map\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar max =\n/*#__PURE__*/\nrequire(\"./max\");\n\nvar pluck =\n/*#__PURE__*/\nrequire(\"./pluck\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Accepts a converging function and a list of branching functions and returns\n * a new function. The arity of the new function is the same as the arity of\n * the longest branching function. When invoked, this new function is applied\n * to some arguments, and each branching function is applied to those same\n * arguments. The results of each branching function are passed as arguments\n * to the converging function to produce the return value.\n *\n * @func\n * @memberOf R\n * @since v0.4.2\n * @category Function\n * @sig ((x1, x2, ...) -> z) -> [((a, b, ...) -> x1), ((a, b, ...) -> x2), ...] -> (a -> b -> ... -> z)\n * @param {Function} after A function. `after` will be invoked with the return values of\n * `fn1` and `fn2` as its arguments.\n * @param {Array} functions A list of functions.\n * @return {Function} A new function.\n * @see R.useWith\n * @example\n *\n * const average = R.converge(R.divide, [R.sum, R.length])\n * average([1, 2, 3, 4, 5, 6, 7]) //=> 4\n *\n * const strangeConcat = R.converge(R.concat, [R.toUpper, R.toLower])\n * strangeConcat(\"Yodel\") //=> \"YODELyodel\"\n *\n * @symb R.converge(f, [g, h])(a, b) = f(g(a, b), h(a, b))\n */\n\n\nvar converge =\n/*#__PURE__*/\n_curry2(function converge(after, fns) {\n return curryN(reduce(max, 0, pluck('length', fns)), function () {\n var args = arguments;\n var context = this;\n return after.apply(context, _map(function (fn) {\n return fn.apply(context, args);\n }, fns));\n });\n});\n\nmodule.exports = converge;","var reduceBy =\n/*#__PURE__*/\nrequire(\"./reduceBy\");\n/**\n * Counts the elements of a list according to how many match each value of a\n * key generated by the supplied function. Returns an object mapping the keys\n * produced by `fn` to the number of occurrences in the list. Note that all\n * keys are coerced to strings because of how JavaScript objects work.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig (a -> String) -> [a] -> {*}\n * @param {Function} fn The function used to map values to keys.\n * @param {Array} list The list to count elements from.\n * @return {Object} An object mapping keys to number of occurrences in the list.\n * @example\n *\n * const numbers = [1.0, 1.1, 1.2, 2.0, 3.0, 2.2];\n * R.countBy(Math.floor)(numbers); //=> {'1': 3, '2': 2, '3': 1}\n *\n * const letters = ['a', 'b', 'A', 'a', 'B', 'c'];\n * R.countBy(R.toLower)(letters); //=> {'a': 3, 'b': 2, 'c': 1}\n */\n\n\nvar countBy =\n/*#__PURE__*/\nreduceBy(function (acc, elem) {\n return acc + 1;\n}, 0);\nmodule.exports = countBy;","var _clone =\n/*#__PURE__*/\nrequire(\"./internal/_clone\");\n\nvar _curryN =\n/*#__PURE__*/\nrequire(\"./internal/_curryN\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _xreduceBy =\n/*#__PURE__*/\nrequire(\"./internal/_xreduceBy\");\n/**\n * Groups the elements of the list according to the result of calling\n * the String-returning function `keyFn` on each element and reduces the elements\n * of each group to a single value via the reducer function `valueFn`.\n *\n * This function is basically a more general [`groupBy`](#groupBy) function.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.20.0\n * @category List\n * @sig ((a, b) -> a) -> a -> (b -> String) -> [b] -> {String: a}\n * @param {Function} valueFn The function that reduces the elements of each group to a single\n * value. Receives two values, accumulator for a particular group and the current element.\n * @param {*} acc The (initial) accumulator value for each group.\n * @param {Function} keyFn The function that maps the list's element into a key.\n * @param {Array} list The array to group.\n * @return {Object} An object with the output of `keyFn` for keys, mapped to the output of\n * `valueFn` for elements which produced that key when passed to `keyFn`.\n * @see R.groupBy, R.reduce\n * @example\n *\n * const groupNames = (acc, {name}) => acc.concat(name)\n * const toGrade = ({score}) =>\n * score < 65 ? 'F' :\n * score < 70 ? 'D' :\n * score < 80 ? 'C' :\n * score < 90 ? 'B' : 'A'\n *\n * var students = [\n * {name: 'Abby', score: 83},\n * {name: 'Bart', score: 62},\n * {name: 'Curt', score: 88},\n * {name: 'Dora', score: 92},\n * ]\n *\n * reduceBy(groupNames, [], toGrade, students)\n * //=> {\"A\": [\"Dora\"], \"B\": [\"Abby\", \"Curt\"], \"F\": [\"Bart\"]}\n */\n\n\nvar reduceBy =\n/*#__PURE__*/\n_curryN(4, [],\n/*#__PURE__*/\n_dispatchable([], _xreduceBy, function reduceBy(valueFn, valueAcc, keyFn, list) {\n return _reduce(function (acc, elt) {\n var key = keyFn(elt);\n acc[key] = valueFn(_has(key, acc) ? acc[key] : _clone(valueAcc, [], [], false), elt);\n return acc;\n }, {}, list);\n}));\n\nmodule.exports = reduceBy;","var _curryN =\n/*#__PURE__*/\nrequire(\"./_curryN\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./_has\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XReduceBy =\n/*#__PURE__*/\nfunction () {\n function XReduceBy(valueFn, valueAcc, keyFn, xf) {\n this.valueFn = valueFn;\n this.valueAcc = valueAcc;\n this.keyFn = keyFn;\n this.xf = xf;\n this.inputs = {};\n }\n\n XReduceBy.prototype['@@transducer/init'] = _xfBase.init;\n\n XReduceBy.prototype['@@transducer/result'] = function (result) {\n var key;\n\n for (key in this.inputs) {\n if (_has(key, this.inputs)) {\n result = this.xf['@@transducer/step'](result, this.inputs[key]);\n\n if (result['@@transducer/reduced']) {\n result = result['@@transducer/value'];\n break;\n }\n }\n }\n\n this.inputs = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XReduceBy.prototype['@@transducer/step'] = function (result, input) {\n var key = this.keyFn(input);\n this.inputs[key] = this.inputs[key] || [key, this.valueAcc];\n this.inputs[key][1] = this.valueFn(this.inputs[key][1], input);\n return result;\n };\n\n return XReduceBy;\n}();\n\nvar _xreduceBy =\n/*#__PURE__*/\n_curryN(4, [], function _xreduceBy(valueFn, valueAcc, keyFn, xf) {\n return new XReduceBy(valueFn, valueAcc, keyFn, xf);\n});\n\nmodule.exports = _xreduceBy;","var add =\n/*#__PURE__*/\nrequire(\"./add\");\n/**\n * Decrements its argument.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Math\n * @sig Number -> Number\n * @param {Number} n\n * @return {Number} n - 1\n * @see R.inc\n * @example\n *\n * R.dec(42); //=> 41\n */\n\n\nvar dec =\n/*#__PURE__*/\nadd(-1);\nmodule.exports = dec;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns the second argument if it is not `null`, `undefined` or `NaN`;\n * otherwise the first argument is returned.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {a} default The default value.\n * @param {b} val `val` will be returned instead of `default` unless `val` is `null`, `undefined` or `NaN`.\n * @return {*} The second value if it is not `null`, `undefined` or `NaN`, otherwise the default value\n * @example\n *\n * const defaultTo42 = R.defaultTo(42);\n *\n * defaultTo42(null); //=> 42\n * defaultTo42(undefined); //=> 42\n * defaultTo42(false); //=> false\n * defaultTo42('Ramda'); //=> 'Ramda'\n * // parseInt('string') results in NaN\n * defaultTo42(parseInt('string')); //=> 42\n */\n\n\nvar defaultTo =\n/*#__PURE__*/\n_curry2(function defaultTo(d, v) {\n return v == null || v !== v ? d : v;\n});\n\nmodule.exports = defaultTo;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Makes a descending comparator function out of a function that returns a value\n * that can be compared with `<` and `>`.\n *\n * @func\n * @memberOf R\n * @since v0.23.0\n * @category Function\n * @sig Ord b => (a -> b) -> a -> a -> Number\n * @param {Function} fn A function of arity one that returns a value that can be compared\n * @param {*} a The first item to be compared.\n * @param {*} b The second item to be compared.\n * @return {Number} `-1` if fn(a) > fn(b), `1` if fn(b) > fn(a), otherwise `0`\n * @see R.ascend\n * @example\n *\n * const byAge = R.descend(R.prop('age'));\n * const people = [\n * { name: 'Emma', age: 70 },\n * { name: 'Peter', age: 78 },\n * { name: 'Mikhail', age: 62 },\n * ];\n * const peopleByOldestFirst = R.sort(byAge, people);\n * //=> [{ name: 'Peter', age: 78 }, { name: 'Emma', age: 70 }, { name: 'Mikhail', age: 62 }]\n */\n\n\nvar descend =\n/*#__PURE__*/\n_curry3(function descend(fn, a, b) {\n var aa = fn(a);\n var bb = fn(b);\n return aa > bb ? -1 : aa < bb ? 1 : 0;\n});\n\nmodule.exports = descend;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _Set =\n/*#__PURE__*/\nrequire(\"./internal/_Set\");\n/**\n * Finds the set (i.e. no duplicates) of all elements in the first list not\n * contained in the second list. Objects and Arrays are compared in terms of\n * value equality, not reference equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` that are not in `list2`.\n * @see R.differenceWith, R.symmetricDifference, R.symmetricDifferenceWith, R.without\n * @example\n *\n * R.difference([1,2,3,4], [7,6,5,4,3]); //=> [1,2]\n * R.difference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5]\n * R.difference([{a: 1}, {b: 2}], [{a: 1}, {c: 3}]) //=> [{b: 2}]\n */\n\n\nvar difference =\n/*#__PURE__*/\n_curry2(function difference(first, second) {\n var out = [];\n var idx = 0;\n var firstLen = first.length;\n var secondLen = second.length;\n var toFilterOut = new _Set();\n\n for (var i = 0; i < secondLen; i += 1) {\n toFilterOut.add(second[i]);\n }\n\n while (idx < firstLen) {\n if (toFilterOut.add(first[idx])) {\n out[out.length] = first[idx];\n }\n\n idx += 1;\n }\n\n return out;\n});\n\nmodule.exports = difference;","var _includes =\n/*#__PURE__*/\nrequire(\"./_includes\");\n\nvar _Set =\n/*#__PURE__*/\nfunction () {\n function _Set() {\n /* globals Set */\n this._nativeSet = typeof Set === 'function' ? new Set() : null;\n this._items = {};\n }\n\n // until we figure out why jsdoc chokes on this\n // @param item The item to add to the Set\n // @returns {boolean} true if the item did not exist prior, otherwise false\n //\n _Set.prototype.add = function (item) {\n return !hasOrAdd(item, true, this);\n }; //\n // @param item The item to check for existence in the Set\n // @returns {boolean} true if the item exists in the Set, otherwise false\n //\n\n\n _Set.prototype.has = function (item) {\n return hasOrAdd(item, false, this);\n }; //\n // Combines the logic for checking whether an item is a member of the set and\n // for adding a new item to the set.\n //\n // @param item The item to check or add to the Set instance.\n // @param shouldAdd If true, the item will be added to the set if it doesn't\n // already exist.\n // @param set The set instance to check or add to.\n // @return {boolean} true if the item already existed, otherwise false.\n //\n\n\n return _Set;\n}();\n\nfunction hasOrAdd(item, shouldAdd, set) {\n var type = typeof item;\n var prevSize, newSize;\n\n switch (type) {\n case 'string':\n case 'number':\n // distinguish between +0 and -0\n if (item === 0 && 1 / item === -Infinity) {\n if (set._items['-0']) {\n return true;\n } else {\n if (shouldAdd) {\n set._items['-0'] = true;\n }\n\n return false;\n }\n } // these types can all utilise the native Set\n\n\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = {};\n set._items[type][item] = true;\n }\n\n return false;\n } else if (item in set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][item] = true;\n }\n\n return false;\n }\n }\n\n case 'boolean':\n // set._items['boolean'] holds a two element array\n // representing [ falseExists, trueExists ]\n if (type in set._items) {\n var bIdx = item ? 1 : 0;\n\n if (set._items[type][bIdx]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type][bIdx] = true;\n }\n\n return false;\n }\n } else {\n if (shouldAdd) {\n set._items[type] = item ? [false, true] : [true, false];\n }\n\n return false;\n }\n\n case 'function':\n // compare functions for reference equality\n if (set._nativeSet !== null) {\n if (shouldAdd) {\n prevSize = set._nativeSet.size;\n\n set._nativeSet.add(item);\n\n newSize = set._nativeSet.size;\n return newSize === prevSize;\n } else {\n return set._nativeSet.has(item);\n }\n } else {\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n }\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n\n case 'undefined':\n if (set._items[type]) {\n return true;\n } else {\n if (shouldAdd) {\n set._items[type] = true;\n }\n\n return false;\n }\n\n case 'object':\n if (item === null) {\n if (!set._items['null']) {\n if (shouldAdd) {\n set._items['null'] = true;\n }\n\n return false;\n }\n\n return true;\n }\n\n /* falls through */\n\n default:\n // reduce the search size of heterogeneous sets by creating buckets\n // for each type.\n type = Object.prototype.toString.call(item);\n\n if (!(type in set._items)) {\n if (shouldAdd) {\n set._items[type] = [item];\n }\n\n return false;\n } // scan through all previously applied items\n\n\n if (!_includes(item, set._items[type])) {\n if (shouldAdd) {\n set._items[type].push(item);\n }\n\n return false;\n }\n\n return true;\n }\n} // A simple Set type that honours R.equals semantics\n\n\nmodule.exports = _Set;","var _includesWith =\n/*#__PURE__*/\nrequire(\"./internal/_includesWith\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Finds the set (i.e. no duplicates) of all elements in the first list not\n * contained in the second list. Duplication is determined according to the\n * value returned by applying the supplied predicate to two list elements.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig ((a, a) -> Boolean) -> [a] -> [a] -> [a]\n * @param {Function} pred A predicate used to test whether two items are equal.\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` that are not in `list2`.\n * @see R.difference, R.symmetricDifference, R.symmetricDifferenceWith\n * @example\n *\n * const cmp = (x, y) => x.a === y.a;\n * const l1 = [{a: 1}, {a: 2}, {a: 3}];\n * const l2 = [{a: 3}, {a: 4}];\n * R.differenceWith(cmp, l1, l2); //=> [{a: 1}, {a: 2}]\n */\n\n\nvar differenceWith =\n/*#__PURE__*/\n_curry3(function differenceWith(pred, first, second) {\n var out = [];\n var idx = 0;\n var firstLen = first.length;\n\n while (idx < firstLen) {\n if (!_includesWith(pred, first[idx], second) && !_includesWith(pred, first[idx], out)) {\n out.push(first[idx]);\n }\n\n idx += 1;\n }\n\n return out;\n});\n\nmodule.exports = differenceWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a new object that does not contain a `prop` property.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Object\n * @sig String -> {k: v} -> {k: v}\n * @param {String} prop The name of the property to dissociate\n * @param {Object} obj The object to clone\n * @return {Object} A new object equivalent to the original but without the specified property\n * @see R.assoc, R.omit\n * @example\n *\n * R.dissoc('b', {a: 1, b: 2, c: 3}); //=> {a: 1, c: 3}\n */\n\n\nvar dissoc =\n/*#__PURE__*/\n_curry2(function dissoc(prop, obj) {\n var result = {};\n\n for (var p in obj) {\n result[p] = obj[p];\n }\n\n delete result[prop];\n return result;\n});\n\nmodule.exports = dissoc;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isInteger =\n/*#__PURE__*/\nrequire(\"./internal/_isInteger\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n\nvar assoc =\n/*#__PURE__*/\nrequire(\"./assoc\");\n\nvar dissoc =\n/*#__PURE__*/\nrequire(\"./dissoc\");\n\nvar remove =\n/*#__PURE__*/\nrequire(\"./remove\");\n\nvar update =\n/*#__PURE__*/\nrequire(\"./update\");\n/**\n * Makes a shallow clone of an object, omitting the property at the given path.\n * Note that this copies and flattens prototype properties onto the new object\n * as well. All non-primitive properties are copied by reference.\n *\n * @func\n * @memberOf R\n * @since v0.11.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> {k: v} -> {k: v}\n * @param {Array} path The path to the value to omit\n * @param {Object} obj The object to clone\n * @return {Object} A new object without the property at path\n * @see R.assocPath\n * @example\n *\n * R.dissocPath(['a', 'b', 'c'], {a: {b: {c: 42}}}); //=> {a: {b: {}}}\n */\n\n\nvar dissocPath =\n/*#__PURE__*/\n_curry2(function dissocPath(path, obj) {\n switch (path.length) {\n case 0:\n return obj;\n\n case 1:\n return _isInteger(path[0]) && _isArray(obj) ? remove(path[0], 1, obj) : dissoc(path[0], obj);\n\n default:\n var head = path[0];\n var tail = Array.prototype.slice.call(path, 1);\n\n if (obj[head] == null) {\n return obj;\n } else if (_isInteger(head) && _isArray(obj)) {\n return update(head, dissocPath(tail, obj[head]), obj);\n } else {\n return assoc(head, dissocPath(tail, obj[head]), obj);\n }\n\n }\n});\n\nmodule.exports = dissocPath;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Removes the sub-list of `list` starting at index `start` and containing\n * `count` elements. _Note that this is not destructive_: it returns a copy of\n * the list with the changes.\n * No lists have been harmed in the application of this function.\n *\n * @func\n * @memberOf R\n * @since v0.2.2\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @param {Number} start The position to start removing elements\n * @param {Number} count The number of elements to remove\n * @param {Array} list The list to remove from\n * @return {Array} A new Array with `count` elements from `start` removed.\n * @see R.without\n * @example\n *\n * R.remove(2, 3, [1,2,3,4,5,6,7,8]); //=> [1,2,6,7,8]\n */\n\n\nvar remove =\n/*#__PURE__*/\n_curry3(function remove(start, count, list) {\n var result = Array.prototype.slice.call(list, 0);\n result.splice(start, count);\n return result;\n});\n\nmodule.exports = remove;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar adjust =\n/*#__PURE__*/\nrequire(\"./adjust\");\n\nvar always =\n/*#__PURE__*/\nrequire(\"./always\");\n/**\n * Returns a new copy of the array with the element at the provided index\n * replaced with the given value.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category List\n * @sig Number -> a -> [a] -> [a]\n * @param {Number} idx The index to update.\n * @param {*} x The value to exist at the given index of the returned array.\n * @param {Array|Arguments} list The source array-like object to be updated.\n * @return {Array} A copy of `list` with the value at index `idx` replaced with `x`.\n * @see R.adjust\n * @example\n *\n * R.update(1, '_', ['a', 'b', 'c']); //=> ['a', '_', 'c']\n * R.update(-1, '_', ['a', 'b', 'c']); //=> ['a', 'b', '_']\n * @symb R.update(-1, a, [b, c]) = [b, a]\n * @symb R.update(0, a, [b, c]) = [a, c]\n * @symb R.update(1, a, [b, c]) = [b, a]\n */\n\n\nvar update =\n/*#__PURE__*/\n_curry3(function update(idx, x, list) {\n return adjust(idx, always(x), list);\n});\n\nmodule.exports = update;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Divides two numbers. Equivalent to `a / b`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} a The first value.\n * @param {Number} b The second value.\n * @return {Number} The result of `a / b`.\n * @see R.multiply\n * @example\n *\n * R.divide(71, 100); //=> 0.71\n *\n * const half = R.divide(R.__, 2);\n * half(42); //=> 21\n *\n * const reciprocal = R.divide(1);\n * reciprocal(4); //=> 0.25\n */\n\n\nvar divide =\n/*#__PURE__*/\n_curry2(function divide(a, b) {\n return a / b;\n});\n\nmodule.exports = divide;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xdrop =\n/*#__PURE__*/\nrequire(\"./internal/_xdrop\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns all but the first `n` elements of the given list, string, or\n * transducer/transformer (or object with a `drop` method).\n *\n * Dispatches to the `drop` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n\n * @param {*} list\n * @return {*} A copy of list without the first `n` elements\n * @see R.take, R.transduce, R.dropLast, R.dropWhile\n * @example\n *\n * R.drop(1, ['foo', 'bar', 'baz']); //=> ['bar', 'baz']\n * R.drop(2, ['foo', 'bar', 'baz']); //=> ['baz']\n * R.drop(3, ['foo', 'bar', 'baz']); //=> []\n * R.drop(4, ['foo', 'bar', 'baz']); //=> []\n * R.drop(3, 'ramda'); //=> 'da'\n */\n\n\nvar drop =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['drop'], _xdrop, function drop(n, xs) {\n return slice(Math.max(0, n), Infinity, xs);\n}));\n\nmodule.exports = drop;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XDrop =\n/*#__PURE__*/\nfunction () {\n function XDrop(n, xf) {\n this.xf = xf;\n this.n = n;\n }\n\n XDrop.prototype['@@transducer/init'] = _xfBase.init;\n XDrop.prototype['@@transducer/result'] = _xfBase.result;\n\n XDrop.prototype['@@transducer/step'] = function (result, input) {\n if (this.n > 0) {\n this.n -= 1;\n return result;\n }\n\n return this.xf['@@transducer/step'](result, input);\n };\n\n return XDrop;\n}();\n\nvar _xdrop =\n/*#__PURE__*/\n_curry2(function _xdrop(n, xf) {\n return new XDrop(n, xf);\n});\n\nmodule.exports = _xdrop;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _dropLast =\n/*#__PURE__*/\nrequire(\"./internal/_dropLast\");\n\nvar _xdropLast =\n/*#__PURE__*/\nrequire(\"./internal/_xdropLast\");\n/**\n * Returns a list containing all but the last `n` elements of the given `list`.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n The number of elements of `list` to skip.\n * @param {Array} list The list of elements to consider.\n * @return {Array} A copy of the list with only the first `list.length - n` elements\n * @see R.takeLast, R.drop, R.dropWhile, R.dropLastWhile\n * @example\n *\n * R.dropLast(1, ['foo', 'bar', 'baz']); //=> ['foo', 'bar']\n * R.dropLast(2, ['foo', 'bar', 'baz']); //=> ['foo']\n * R.dropLast(3, ['foo', 'bar', 'baz']); //=> []\n * R.dropLast(4, ['foo', 'bar', 'baz']); //=> []\n * R.dropLast(3, 'ramda'); //=> 'ra'\n */\n\n\nvar dropLast =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xdropLast, _dropLast));\n\nmodule.exports = dropLast;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XDropLast =\n/*#__PURE__*/\nfunction () {\n function XDropLast(n, xf) {\n this.xf = xf;\n this.pos = 0;\n this.full = false;\n this.acc = new Array(n);\n }\n\n XDropLast.prototype['@@transducer/init'] = _xfBase.init;\n\n XDropLast.prototype['@@transducer/result'] = function (result) {\n this.acc = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XDropLast.prototype['@@transducer/step'] = function (result, input) {\n if (this.full) {\n result = this.xf['@@transducer/step'](result, this.acc[this.pos]);\n }\n\n this.store(input);\n return result;\n };\n\n XDropLast.prototype.store = function (input) {\n this.acc[this.pos] = input;\n this.pos += 1;\n\n if (this.pos === this.acc.length) {\n this.pos = 0;\n this.full = true;\n }\n };\n\n return XDropLast;\n}();\n\nvar _xdropLast =\n/*#__PURE__*/\n_curry2(function _xdropLast(n, xf) {\n return new XDropLast(n, xf);\n});\n\nmodule.exports = _xdropLast;","var take =\n/*#__PURE__*/\nrequire(\"../take\");\n\nfunction dropLast(n, xs) {\n return take(n < xs.length ? xs.length - n : 0, xs);\n}\n\nmodule.exports = dropLast;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xtake =\n/*#__PURE__*/\nrequire(\"./internal/_xtake\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns the first `n` elements of the given list, string, or\n * transducer/transformer (or object with a `take` method).\n *\n * Dispatches to the `take` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n\n * @param {*} list\n * @return {*}\n * @see R.drop\n * @example\n *\n * R.take(1, ['foo', 'bar', 'baz']); //=> ['foo']\n * R.take(2, ['foo', 'bar', 'baz']); //=> ['foo', 'bar']\n * R.take(3, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(4, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.take(3, 'ramda'); //=> 'ram'\n *\n * const personnel = [\n * 'Dave Brubeck',\n * 'Paul Desmond',\n * 'Eugene Wright',\n * 'Joe Morello',\n * 'Gerry Mulligan',\n * 'Bob Bates',\n * 'Joe Dodge',\n * 'Ron Crotty'\n * ];\n *\n * const takeFive = R.take(5);\n * takeFive(personnel);\n * //=> ['Dave Brubeck', 'Paul Desmond', 'Eugene Wright', 'Joe Morello', 'Gerry Mulligan']\n * @symb R.take(-1, [a, b]) = [a, b]\n * @symb R.take(0, [a, b]) = []\n * @symb R.take(1, [a, b]) = [a]\n * @symb R.take(2, [a, b]) = [a, b]\n */\n\n\nvar take =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['take'], _xtake, function take(n, xs) {\n return slice(0, n < 0 ? Infinity : n, xs);\n}));\n\nmodule.exports = take;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XTake =\n/*#__PURE__*/\nfunction () {\n function XTake(n, xf) {\n this.xf = xf;\n this.n = n;\n this.i = 0;\n }\n\n XTake.prototype['@@transducer/init'] = _xfBase.init;\n XTake.prototype['@@transducer/result'] = _xfBase.result;\n\n XTake.prototype['@@transducer/step'] = function (result, input) {\n this.i += 1;\n var ret = this.n === 0 ? result : this.xf['@@transducer/step'](result, input);\n return this.n >= 0 && this.i >= this.n ? _reduced(ret) : ret;\n };\n\n return XTake;\n}();\n\nvar _xtake =\n/*#__PURE__*/\n_curry2(function _xtake(n, xf) {\n return new XTake(n, xf);\n});\n\nmodule.exports = _xtake;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _dropLastWhile =\n/*#__PURE__*/\nrequire(\"./internal/_dropLastWhile\");\n\nvar _xdropLastWhile =\n/*#__PURE__*/\nrequire(\"./internal/_xdropLastWhile\");\n/**\n * Returns a new list excluding all the tailing elements of a given list which\n * satisfy the supplied predicate function. It passes each value from the right\n * to the supplied predicate function, skipping elements until the predicate\n * function returns a `falsy` value. The predicate function is applied to one argument:\n * *(value)*.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} predicate The function to be called on each element\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array without any trailing elements that return `falsy` values from the `predicate`.\n * @see R.takeLastWhile, R.addIndex, R.drop, R.dropWhile\n * @example\n *\n * const lteThree = x => x <= 3;\n *\n * R.dropLastWhile(lteThree, [1, 2, 3, 4, 3, 2, 1]); //=> [1, 2, 3, 4]\n *\n * R.dropLastWhile(x => x !== 'd' , 'Ramda'); //=> 'Ramd'\n */\n\n\nvar dropLastWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xdropLastWhile, _dropLastWhile));\n\nmodule.exports = dropLastWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./_reduce\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XDropLastWhile =\n/*#__PURE__*/\nfunction () {\n function XDropLastWhile(fn, xf) {\n this.f = fn;\n this.retained = [];\n this.xf = xf;\n }\n\n XDropLastWhile.prototype['@@transducer/init'] = _xfBase.init;\n\n XDropLastWhile.prototype['@@transducer/result'] = function (result) {\n this.retained = null;\n return this.xf['@@transducer/result'](result);\n };\n\n XDropLastWhile.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.retain(result, input) : this.flush(result, input);\n };\n\n XDropLastWhile.prototype.flush = function (result, input) {\n result = _reduce(this.xf['@@transducer/step'], result, this.retained);\n this.retained = [];\n return this.xf['@@transducer/step'](result, input);\n };\n\n XDropLastWhile.prototype.retain = function (result, input) {\n this.retained.push(input);\n return result;\n };\n\n return XDropLastWhile;\n}();\n\nvar _xdropLastWhile =\n/*#__PURE__*/\n_curry2(function _xdropLastWhile(fn, xf) {\n return new XDropLastWhile(fn, xf);\n});\n\nmodule.exports = _xdropLastWhile;","var slice =\n/*#__PURE__*/\nrequire(\"../slice\");\n\nfunction dropLastWhile(pred, xs) {\n var idx = xs.length - 1;\n\n while (idx >= 0 && pred(xs[idx])) {\n idx -= 1;\n }\n\n return slice(0, idx + 1, xs);\n}\n\nmodule.exports = dropLastWhile;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xdropRepeatsWith =\n/*#__PURE__*/\nrequire(\"./internal/_xdropRepeatsWith\");\n\nvar dropRepeatsWith =\n/*#__PURE__*/\nrequire(\"./dropRepeatsWith\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Returns a new list without any consecutively repeating elements.\n * [`R.equals`](#equals) is used to determine equality.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category List\n * @sig [a] -> [a]\n * @param {Array} list The array to consider.\n * @return {Array} `list` without repeating elements.\n * @see R.transduce\n * @example\n *\n * R.dropRepeats([1, 1, 1, 2, 3, 4, 4, 2, 2]); //=> [1, 2, 3, 4, 2]\n */\n\n\nvar dropRepeats =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_dispatchable([],\n/*#__PURE__*/\n_xdropRepeatsWith(equals),\n/*#__PURE__*/\ndropRepeatsWith(equals)));\n\nmodule.exports = dropRepeats;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XDropRepeatsWith =\n/*#__PURE__*/\nfunction () {\n function XDropRepeatsWith(pred, xf) {\n this.xf = xf;\n this.pred = pred;\n this.lastValue = undefined;\n this.seenFirstValue = false;\n }\n\n XDropRepeatsWith.prototype['@@transducer/init'] = _xfBase.init;\n XDropRepeatsWith.prototype['@@transducer/result'] = _xfBase.result;\n\n XDropRepeatsWith.prototype['@@transducer/step'] = function (result, input) {\n var sameAsLast = false;\n\n if (!this.seenFirstValue) {\n this.seenFirstValue = true;\n } else if (this.pred(this.lastValue, input)) {\n sameAsLast = true;\n }\n\n this.lastValue = input;\n return sameAsLast ? result : this.xf['@@transducer/step'](result, input);\n };\n\n return XDropRepeatsWith;\n}();\n\nvar _xdropRepeatsWith =\n/*#__PURE__*/\n_curry2(function _xdropRepeatsWith(pred, xf) {\n return new XDropRepeatsWith(pred, xf);\n});\n\nmodule.exports = _xdropRepeatsWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xdropRepeatsWith =\n/*#__PURE__*/\nrequire(\"./internal/_xdropRepeatsWith\");\n\nvar last =\n/*#__PURE__*/\nrequire(\"./last\");\n/**\n * Returns a new list without any consecutively repeating elements. Equality is\n * determined by applying the supplied predicate to each pair of consecutive elements. The\n * first element in a series of equal elements will be preserved.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category List\n * @sig ((a, a) -> Boolean) -> [a] -> [a]\n * @param {Function} pred A predicate used to test whether two items are equal.\n * @param {Array} list The array to consider.\n * @return {Array} `list` without repeating elements.\n * @see R.transduce\n * @example\n *\n * const l = [1, -1, 1, 3, 4, -4, -4, -5, 5, 3, 3];\n * R.dropRepeatsWith(R.eqBy(Math.abs), l); //=> [1, 3, 4, -5, 3]\n */\n\n\nvar dropRepeatsWith =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xdropRepeatsWith, function dropRepeatsWith(pred, list) {\n var result = [];\n var idx = 1;\n var len = list.length;\n\n if (len !== 0) {\n result[0] = list[0];\n\n while (idx < len) {\n if (!pred(last(result), list[idx])) {\n result[result.length] = list[idx];\n }\n\n idx += 1;\n }\n }\n\n return result;\n}));\n\nmodule.exports = dropRepeatsWith;","var nth =\n/*#__PURE__*/\nrequire(\"./nth\");\n/**\n * Returns the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig [a] -> a | Undefined\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.init, R.head, R.tail\n * @example\n *\n * R.last(['fi', 'fo', 'fum']); //=> 'fum'\n * R.last([]); //=> undefined\n *\n * R.last('abc'); //=> 'c'\n * R.last(''); //=> ''\n */\n\n\nvar last =\n/*#__PURE__*/\nnth(-1);\nmodule.exports = last;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xdropWhile =\n/*#__PURE__*/\nrequire(\"./internal/_xdropWhile\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns a new list excluding the leading elements of a given list which\n * satisfy the supplied predicate function. It passes each value to the supplied\n * predicate function, skipping elements while the predicate function returns\n * `true`. The predicate function is applied to one argument: *(value)*.\n *\n * Dispatches to the `dropWhile` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} fn The function called per iteration.\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array.\n * @see R.takeWhile, R.transduce, R.addIndex\n * @example\n *\n * const lteTwo = x => x <= 2;\n *\n * R.dropWhile(lteTwo, [1, 2, 3, 4, 3, 2, 1]); //=> [3, 4, 3, 2, 1]\n *\n * R.dropWhile(x => x !== 'd' , 'Ramda'); //=> 'da'\n */\n\n\nvar dropWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['dropWhile'], _xdropWhile, function dropWhile(pred, xs) {\n var idx = 0;\n var len = xs.length;\n\n while (idx < len && pred(xs[idx])) {\n idx += 1;\n }\n\n return slice(idx, Infinity, xs);\n}));\n\nmodule.exports = dropWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XDropWhile =\n/*#__PURE__*/\nfunction () {\n function XDropWhile(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XDropWhile.prototype['@@transducer/init'] = _xfBase.init;\n XDropWhile.prototype['@@transducer/result'] = _xfBase.result;\n\n XDropWhile.prototype['@@transducer/step'] = function (result, input) {\n if (this.f) {\n if (this.f(input)) {\n return result;\n }\n\n this.f = null;\n }\n\n return this.xf['@@transducer/step'](result, input);\n };\n\n return XDropWhile;\n}();\n\nvar _xdropWhile =\n/*#__PURE__*/\n_curry2(function _xdropWhile(f, xf) {\n return new XDropWhile(f, xf);\n});\n\nmodule.exports = _xdropWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isFunction =\n/*#__PURE__*/\nrequire(\"./internal/_isFunction\");\n\nvar lift =\n/*#__PURE__*/\nrequire(\"./lift\");\n\nvar or =\n/*#__PURE__*/\nrequire(\"./or\");\n/**\n * A function wrapping calls to the two functions in an `||` operation,\n * returning the result of the first function if it is truth-y and the result\n * of the second function otherwise. Note that this is short-circuited,\n * meaning that the second function will not be invoked if the first returns a\n * truth-y value.\n *\n * In addition to functions, `R.either` also accepts any fantasy-land compatible\n * applicative functor.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> Boolean) -> (*... -> Boolean)\n * @param {Function} f a predicate\n * @param {Function} g another predicate\n * @return {Function} a function that applies its arguments to `f` and `g` and `||`s their outputs together.\n * @see R.or\n * @example\n *\n * const gt10 = x => x > 10;\n * const even = x => x % 2 === 0;\n * const f = R.either(gt10, even);\n * f(101); //=> true\n * f(8); //=> true\n *\n * R.either(Maybe.Just(false), Maybe.Just(55)); // => Maybe.Just(55)\n * R.either([false, false, 'a'], [11]) // => [11, 11, \"a\"]\n */\n\n\nvar either =\n/*#__PURE__*/\n_curry2(function either(f, g) {\n return _isFunction(f) ? function _either() {\n return f.apply(this, arguments) || g.apply(this, arguments);\n } : lift(or)(f, g);\n});\n\nmodule.exports = either;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if one or both of its arguments are `true`. Returns `false`\n * if both arguments are `false`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> b -> a | b\n * @param {Any} a\n * @param {Any} b\n * @return {Any} the first argument if truthy, otherwise the second argument.\n * @see R.either, R.xor\n * @example\n *\n * R.or(true, true); //=> true\n * R.or(true, false); //=> true\n * R.or(false, true); //=> true\n * R.or(false, false); //=> false\n */\n\n\nvar or =\n/*#__PURE__*/\n_curry2(function or(a, b) {\n return a || b;\n});\n\nmodule.exports = or;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _isArguments =\n/*#__PURE__*/\nrequire(\"./internal/_isArguments\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n\nvar _isObject =\n/*#__PURE__*/\nrequire(\"./internal/_isObject\");\n\nvar _isString =\n/*#__PURE__*/\nrequire(\"./internal/_isString\");\n/**\n * Returns the empty value of its argument's type. Ramda defines the empty\n * value of Array (`[]`), Object (`{}`), String (`''`), and Arguments. Other\n * types are supported if they define `.empty`,\n * `.prototype.empty` or implement the\n * [FantasyLand Monoid spec](https://github.com/fantasyland/fantasy-land#monoid).\n *\n * Dispatches to the `empty` method of the first argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> a\n * @param {*} x\n * @return {*}\n * @example\n *\n * R.empty(Just(42)); //=> Nothing()\n * R.empty([1, 2, 3]); //=> []\n * R.empty('unicorns'); //=> ''\n * R.empty({x: 1, y: 2}); //=> {}\n */\n\n\nvar empty =\n/*#__PURE__*/\n_curry1(function empty(x) {\n return x != null && typeof x['fantasy-land/empty'] === 'function' ? x['fantasy-land/empty']() : x != null && x.constructor != null && typeof x.constructor['fantasy-land/empty'] === 'function' ? x.constructor['fantasy-land/empty']() : x != null && typeof x.empty === 'function' ? x.empty() : x != null && x.constructor != null && typeof x.constructor.empty === 'function' ? x.constructor.empty() : _isArray(x) ? [] : _isString(x) ? '' : _isObject(x) ? {} : _isArguments(x) ? function () {\n return arguments;\n }() : void 0 // else\n ;\n});\n\nmodule.exports = empty;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n\nvar takeLast =\n/*#__PURE__*/\nrequire(\"./takeLast\");\n/**\n * Checks if a list ends with the provided sublist.\n *\n * Similarly, checks if a string ends with the provided substring.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category List\n * @sig [a] -> [a] -> Boolean\n * @sig String -> String -> Boolean\n * @param {*} suffix\n * @param {*} list\n * @return {Boolean}\n * @see R.startsWith\n * @example\n *\n * R.endsWith('c', 'abc') //=> true\n * R.endsWith('b', 'abc') //=> false\n * R.endsWith(['c'], ['a', 'b', 'c']) //=> true\n * R.endsWith(['b'], ['a', 'b', 'c']) //=> false\n */\n\n\nvar endsWith =\n/*#__PURE__*/\n_curry2(function (suffix, list) {\n return equals(takeLast(suffix.length, list), suffix);\n});\n\nmodule.exports = endsWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar drop =\n/*#__PURE__*/\nrequire(\"./drop\");\n/**\n * Returns a new list containing the last `n` elements of the given list.\n * If `n > list.length`, returns a list of `list.length` elements.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig Number -> [a] -> [a]\n * @sig Number -> String -> String\n * @param {Number} n The number of elements to return.\n * @param {Array} xs The collection to consider.\n * @return {Array}\n * @see R.dropLast\n * @example\n *\n * R.takeLast(1, ['foo', 'bar', 'baz']); //=> ['baz']\n * R.takeLast(2, ['foo', 'bar', 'baz']); //=> ['bar', 'baz']\n * R.takeLast(3, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.takeLast(4, ['foo', 'bar', 'baz']); //=> ['foo', 'bar', 'baz']\n * R.takeLast(3, 'ramda'); //=> 'mda'\n */\n\n\nvar takeLast =\n/*#__PURE__*/\n_curry2(function takeLast(n, xs) {\n return drop(n >= 0 ? xs.length - n : 0, xs);\n});\n\nmodule.exports = takeLast;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Takes a function and two values in its domain and returns `true` if the\n * values map to the same value in the codomain; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Relation\n * @sig (a -> b) -> a -> a -> Boolean\n * @param {Function} f\n * @param {*} x\n * @param {*} y\n * @return {Boolean}\n * @example\n *\n * R.eqBy(Math.abs, 5, -5); //=> true\n */\n\n\nvar eqBy =\n/*#__PURE__*/\n_curry3(function eqBy(f, x, y) {\n return equals(f(x), f(y));\n});\n\nmodule.exports = eqBy;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Reports whether two objects have the same value, in [`R.equals`](#equals)\n * terms, for the specified property. Useful as a curried predicate.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig k -> {k: v} -> {k: v} -> Boolean\n * @param {String} prop The name of the property to compare\n * @param {Object} obj1\n * @param {Object} obj2\n * @return {Boolean}\n *\n * @example\n *\n * const o1 = { a: 1, b: 2, c: 3, d: 4 };\n * const o2 = { a: 10, b: 20, c: 3, d: 40 };\n * R.eqProps('a', o1, o2); //=> false\n * R.eqProps('c', o1, o2); //=> true\n */\n\n\nvar eqProps =\n/*#__PURE__*/\n_curry3(function eqProps(prop, obj1, obj2) {\n return equals(obj1[prop], obj2[prop]);\n});\n\nmodule.exports = eqProps;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a new object by recursively evolving a shallow copy of `object`,\n * according to the `transformation` functions. All non-primitive properties\n * are copied by reference.\n *\n * A `transformation` function will not be invoked if its corresponding key\n * does not exist in the evolved object.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig {k: (v -> v)} -> {k: v} -> {k: v}\n * @param {Object} transformations The object specifying transformation functions to apply\n * to the object.\n * @param {Object} object The object to be transformed.\n * @return {Object} The transformed object.\n * @example\n *\n * const tomato = {firstName: ' Tomato ', data: {elapsed: 100, remaining: 1400}, id:123};\n * const transformations = {\n * firstName: R.trim,\n * lastName: R.trim, // Will not get invoked.\n * data: {elapsed: R.add(1), remaining: R.add(-1)}\n * };\n * R.evolve(transformations, tomato); //=> {firstName: 'Tomato', data: {elapsed: 101, remaining: 1399}, id:123}\n */\n\n\nvar evolve =\n/*#__PURE__*/\n_curry2(function evolve(transformations, object) {\n var result = object instanceof Array ? [] : {};\n var transformation, key, type;\n\n for (key in object) {\n transformation = transformations[key];\n type = typeof transformation;\n result[key] = type === 'function' ? transformation(object[key]) : transformation && type === 'object' ? evolve(transformation, object[key]) : object[key];\n }\n\n return result;\n});\n\nmodule.exports = evolve;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xfind =\n/*#__PURE__*/\nrequire(\"./internal/_xfind\");\n/**\n * Returns the first element of the list which matches the predicate, or\n * `undefined` if no element matches.\n *\n * Dispatches to the `find` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> a | undefined\n * @param {Function} fn The predicate function used to determine if the element is the\n * desired one.\n * @param {Array} list The array to consider.\n * @return {Object} The element found, or `undefined`.\n * @see R.transduce\n * @example\n *\n * const xs = [{a: 1}, {a: 2}, {a: 3}];\n * R.find(R.propEq('a', 2))(xs); //=> {a: 2}\n * R.find(R.propEq('a', 4))(xs); //=> undefined\n */\n\n\nvar find =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['find'], _xfind, function find(fn, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (fn(list[idx])) {\n return list[idx];\n }\n\n idx += 1;\n }\n}));\n\nmodule.exports = find;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XFind =\n/*#__PURE__*/\nfunction () {\n function XFind(f, xf) {\n this.xf = xf;\n this.f = f;\n this.found = false;\n }\n\n XFind.prototype['@@transducer/init'] = _xfBase.init;\n\n XFind.prototype['@@transducer/result'] = function (result) {\n if (!this.found) {\n result = this.xf['@@transducer/step'](result, void 0);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XFind.prototype['@@transducer/step'] = function (result, input) {\n if (this.f(input)) {\n this.found = true;\n result = _reduced(this.xf['@@transducer/step'](result, input));\n }\n\n return result;\n };\n\n return XFind;\n}();\n\nvar _xfind =\n/*#__PURE__*/\n_curry2(function _xfind(f, xf) {\n return new XFind(f, xf);\n});\n\nmodule.exports = _xfind;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xfindIndex =\n/*#__PURE__*/\nrequire(\"./internal/_xfindIndex\");\n/**\n * Returns the index of the first element of the list which matches the\n * predicate, or `-1` if no element matches.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category List\n * @sig (a -> Boolean) -> [a] -> Number\n * @param {Function} fn The predicate function used to determine if the element is the\n * desired one.\n * @param {Array} list The array to consider.\n * @return {Number} The index of the element found, or `-1`.\n * @see R.transduce\n * @example\n *\n * const xs = [{a: 1}, {a: 2}, {a: 3}];\n * R.findIndex(R.propEq('a', 2))(xs); //=> 1\n * R.findIndex(R.propEq('a', 4))(xs); //=> -1\n */\n\n\nvar findIndex =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xfindIndex, function findIndex(fn, list) {\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n if (fn(list[idx])) {\n return idx;\n }\n\n idx += 1;\n }\n\n return -1;\n}));\n\nmodule.exports = findIndex;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XFindIndex =\n/*#__PURE__*/\nfunction () {\n function XFindIndex(f, xf) {\n this.xf = xf;\n this.f = f;\n this.idx = -1;\n this.found = false;\n }\n\n XFindIndex.prototype['@@transducer/init'] = _xfBase.init;\n\n XFindIndex.prototype['@@transducer/result'] = function (result) {\n if (!this.found) {\n result = this.xf['@@transducer/step'](result, -1);\n }\n\n return this.xf['@@transducer/result'](result);\n };\n\n XFindIndex.prototype['@@transducer/step'] = function (result, input) {\n this.idx += 1;\n\n if (this.f(input)) {\n this.found = true;\n result = _reduced(this.xf['@@transducer/step'](result, this.idx));\n }\n\n return result;\n };\n\n return XFindIndex;\n}();\n\nvar _xfindIndex =\n/*#__PURE__*/\n_curry2(function _xfindIndex(f, xf) {\n return new XFindIndex(f, xf);\n});\n\nmodule.exports = _xfindIndex;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xfindLast =\n/*#__PURE__*/\nrequire(\"./internal/_xfindLast\");\n/**\n * Returns the last element of the list which matches the predicate, or\n * `undefined` if no element matches.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category List\n * @sig (a -> Boolean) -> [a] -> a | undefined\n * @param {Function} fn The predicate function used to determine if the element is the\n * desired one.\n * @param {Array} list The array to consider.\n * @return {Object} The element found, or `undefined`.\n * @see R.transduce\n * @example\n *\n * const xs = [{a: 1, b: 0}, {a:1, b: 1}];\n * R.findLast(R.propEq('a', 1))(xs); //=> {a: 1, b: 1}\n * R.findLast(R.propEq('a', 4))(xs); //=> undefined\n */\n\n\nvar findLast =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xfindLast, function findLast(fn, list) {\n var idx = list.length - 1;\n\n while (idx >= 0) {\n if (fn(list[idx])) {\n return list[idx];\n }\n\n idx -= 1;\n }\n}));\n\nmodule.exports = findLast;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XFindLast =\n/*#__PURE__*/\nfunction () {\n function XFindLast(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XFindLast.prototype['@@transducer/init'] = _xfBase.init;\n\n XFindLast.prototype['@@transducer/result'] = function (result) {\n return this.xf['@@transducer/result'](this.xf['@@transducer/step'](result, this.last));\n };\n\n XFindLast.prototype['@@transducer/step'] = function (result, input) {\n if (this.f(input)) {\n this.last = input;\n }\n\n return result;\n };\n\n return XFindLast;\n}();\n\nvar _xfindLast =\n/*#__PURE__*/\n_curry2(function _xfindLast(f, xf) {\n return new XFindLast(f, xf);\n});\n\nmodule.exports = _xfindLast;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xfindLastIndex =\n/*#__PURE__*/\nrequire(\"./internal/_xfindLastIndex\");\n/**\n * Returns the index of the last element of the list which matches the\n * predicate, or `-1` if no element matches.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category List\n * @sig (a -> Boolean) -> [a] -> Number\n * @param {Function} fn The predicate function used to determine if the element is the\n * desired one.\n * @param {Array} list The array to consider.\n * @return {Number} The index of the element found, or `-1`.\n * @see R.transduce\n * @example\n *\n * const xs = [{a: 1, b: 0}, {a:1, b: 1}];\n * R.findLastIndex(R.propEq('a', 1))(xs); //=> 1\n * R.findLastIndex(R.propEq('a', 4))(xs); //=> -1\n */\n\n\nvar findLastIndex =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xfindLastIndex, function findLastIndex(fn, list) {\n var idx = list.length - 1;\n\n while (idx >= 0) {\n if (fn(list[idx])) {\n return idx;\n }\n\n idx -= 1;\n }\n\n return -1;\n}));\n\nmodule.exports = findLastIndex;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XFindLastIndex =\n/*#__PURE__*/\nfunction () {\n function XFindLastIndex(f, xf) {\n this.xf = xf;\n this.f = f;\n this.idx = -1;\n this.lastIdx = -1;\n }\n\n XFindLastIndex.prototype['@@transducer/init'] = _xfBase.init;\n\n XFindLastIndex.prototype['@@transducer/result'] = function (result) {\n return this.xf['@@transducer/result'](this.xf['@@transducer/step'](result, this.lastIdx));\n };\n\n XFindLastIndex.prototype['@@transducer/step'] = function (result, input) {\n this.idx += 1;\n\n if (this.f(input)) {\n this.lastIdx = this.idx;\n }\n\n return result;\n };\n\n return XFindLastIndex;\n}();\n\nvar _xfindLastIndex =\n/*#__PURE__*/\n_curry2(function _xfindLastIndex(f, xf) {\n return new XFindLastIndex(f, xf);\n});\n\nmodule.exports = _xfindLastIndex;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _makeFlat =\n/*#__PURE__*/\nrequire(\"./internal/_makeFlat\");\n/**\n * Returns a new list by pulling every item out of it (and all its sub-arrays)\n * and putting them in a new array, depth-first.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [b]\n * @param {Array} list The array to consider.\n * @return {Array} The flattened list.\n * @see R.unnest\n * @example\n *\n * R.flatten([1, 2, [3, 4], 5, [6, [7, 8, [9, [10, 11], 12]]]]);\n * //=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]\n */\n\n\nvar flatten =\n/*#__PURE__*/\n_curry1(\n/*#__PURE__*/\n_makeFlat(true));\n\nmodule.exports = flatten;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Returns a new function much like the supplied one, except that the first two\n * arguments' order is reversed.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((a, b, c, ...) -> z) -> (b -> a -> c -> ... -> z)\n * @param {Function} fn The function to invoke with its first two parameters reversed.\n * @return {*} The result of invoking `fn` with its first two parameters' order reversed.\n * @example\n *\n * const mergeThree = (a, b, c) => [].concat(a, b, c);\n *\n * mergeThree(1, 2, 3); //=> [1, 2, 3]\n *\n * R.flip(mergeThree)(1, 2, 3); //=> [2, 1, 3]\n * @symb R.flip(f)(a, b, c) = f(b, a, c)\n */\n\n\nvar flip =\n/*#__PURE__*/\n_curry1(function flip(fn) {\n return curryN(fn.length, function (a, b) {\n var args = Array.prototype.slice.call(arguments, 0);\n args[0] = b;\n args[1] = a;\n return fn.apply(this, args);\n });\n});\n\nmodule.exports = flip;","var _checkForMethod =\n/*#__PURE__*/\nrequire(\"./internal/_checkForMethod\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Iterate over an input `list`, calling a provided function `fn` for each\n * element in the list.\n *\n * `fn` receives one argument: *(value)*.\n *\n * Note: `R.forEach` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.forEach` method. For more\n * details on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach#Description\n *\n * Also note that, unlike `Array.prototype.forEach`, Ramda's `forEach` returns\n * the original array. In some libraries this function is named `each`.\n *\n * Dispatches to the `forEach` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category List\n * @sig (a -> *) -> [a] -> [a]\n * @param {Function} fn The function to invoke. Receives one argument, `value`.\n * @param {Array} list The list to iterate over.\n * @return {Array} The original list.\n * @see R.addIndex\n * @example\n *\n * const printXPlusFive = x => console.log(x + 5);\n * R.forEach(printXPlusFive, [1, 2, 3]); //=> [1, 2, 3]\n * // logs 6\n * // logs 7\n * // logs 8\n * @symb R.forEach(f, [a, b, c]) = [a, b, c]\n */\n\n\nvar forEach =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_checkForMethod('forEach', function forEach(fn, list) {\n var len = list.length;\n var idx = 0;\n\n while (idx < len) {\n fn(list[idx]);\n idx += 1;\n }\n\n return list;\n}));\n\nmodule.exports = forEach;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Iterate over an input `object`, calling a provided function `fn` for each\n * key and value in the object.\n *\n * `fn` receives three argument: *(value, key, obj)*.\n *\n * @func\n * @memberOf R\n * @since v0.23.0\n * @category Object\n * @sig ((a, String, StrMap a) -> Any) -> StrMap a -> StrMap a\n * @param {Function} fn The function to invoke. Receives three argument, `value`, `key`, `obj`.\n * @param {Object} obj The object to iterate over.\n * @return {Object} The original object.\n * @example\n *\n * const printKeyConcatValue = (value, key) => console.log(key + ':' + value);\n * R.forEachObjIndexed(printKeyConcatValue, {x: 1, y: 2}); //=> {x: 1, y: 2}\n * // logs x:1\n * // logs y:2\n * @symb R.forEachObjIndexed(f, {x: a, y: b}) = {x: a, y: b}\n */\n\n\nvar forEachObjIndexed =\n/*#__PURE__*/\n_curry2(function forEachObjIndexed(fn, obj) {\n var keyList = keys(obj);\n var idx = 0;\n\n while (idx < keyList.length) {\n var key = keyList[idx];\n fn(obj[key], key, obj);\n idx += 1;\n }\n\n return obj;\n});\n\nmodule.exports = forEachObjIndexed;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Creates a new object from a list key-value pairs. If a key appears in\n * multiple pairs, the rightmost pair is included in the object.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category List\n * @sig [[k,v]] -> {k: v}\n * @param {Array} pairs An array of two-element arrays that will be the keys and values of the output object.\n * @return {Object} The object made by pairing up `keys` and `values`.\n * @see R.toPairs, R.pair\n * @example\n *\n * R.fromPairs([['a', 1], ['b', 2], ['c', 3]]); //=> {a: 1, b: 2, c: 3}\n */\n\n\nvar fromPairs =\n/*#__PURE__*/\n_curry1(function fromPairs(pairs) {\n var result = {};\n var idx = 0;\n\n while (idx < pairs.length) {\n result[pairs[idx][0]] = pairs[idx][1];\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = fromPairs;","var _checkForMethod =\n/*#__PURE__*/\nrequire(\"./internal/_checkForMethod\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar reduceBy =\n/*#__PURE__*/\nrequire(\"./reduceBy\");\n/**\n * Splits a list into sub-lists stored in an object, based on the result of\n * calling a String-returning function on each element, and grouping the\n * results according to values returned.\n *\n * Dispatches to the `groupBy` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> String) -> [a] -> {String: [a]}\n * @param {Function} fn Function :: a -> String\n * @param {Array} list The array to group\n * @return {Object} An object with the output of `fn` for keys, mapped to arrays of elements\n * that produced that key when passed to `fn`.\n * @see R.reduceBy, R.transduce\n * @example\n *\n * const byGrade = R.groupBy(function(student) {\n * const score = student.score;\n * return score < 65 ? 'F' :\n * score < 70 ? 'D' :\n * score < 80 ? 'C' :\n * score < 90 ? 'B' : 'A';\n * });\n * const students = [{name: 'Abby', score: 84},\n * {name: 'Eddy', score: 58},\n * // ...\n * {name: 'Jack', score: 69}];\n * byGrade(students);\n * // {\n * // 'A': [{name: 'Dianne', score: 99}],\n * // 'B': [{name: 'Abby', score: 84}]\n * // // ...,\n * // 'F': [{name: 'Eddy', score: 58}]\n * // }\n */\n\n\nvar groupBy =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_checkForMethod('groupBy',\n/*#__PURE__*/\nreduceBy(function (acc, item) {\n if (acc == null) {\n acc = [];\n }\n\n acc.push(item);\n return acc;\n}, null)));\n\nmodule.exports = groupBy;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Takes a list and returns a list of lists where each sublist's elements are\n * all satisfied pairwise comparison according to the provided function.\n * Only adjacent elements are passed to the comparison function.\n *\n * @func\n * @memberOf R\n * @since v0.21.0\n * @category List\n * @sig ((a, a) → Boolean) → [a] → [[a]]\n * @param {Function} fn Function for determining whether two given (adjacent)\n * elements should be in the same group\n * @param {Array} list The array to group. Also accepts a string, which will be\n * treated as a list of characters.\n * @return {List} A list that contains sublists of elements,\n * whose concatenations are equal to the original list.\n * @example\n *\n * R.groupWith(R.equals, [0, 1, 1, 2, 3, 5, 8, 13, 21])\n * //=> [[0], [1, 1], [2], [3], [5], [8], [13], [21]]\n *\n * R.groupWith((a, b) => a + 1 === b, [0, 1, 1, 2, 3, 5, 8, 13, 21])\n * //=> [[0, 1], [1, 2, 3], [5], [8], [13], [21]]\n *\n * R.groupWith((a, b) => a % 2 === b % 2, [0, 1, 1, 2, 3, 5, 8, 13, 21])\n * //=> [[0], [1, 1], [2], [3, 5], [8], [13, 21]]\n *\n * R.groupWith(R.eqBy(isVowel), 'aestiou')\n * //=> ['ae', 'st', 'iou']\n */\n\n\nvar groupWith =\n/*#__PURE__*/\n_curry2(function (fn, list) {\n var res = [];\n var idx = 0;\n var len = list.length;\n\n while (idx < len) {\n var nextidx = idx + 1;\n\n while (nextidx < len && fn(list[nextidx - 1], list[nextidx])) {\n nextidx += 1;\n }\n\n res.push(list.slice(idx, nextidx));\n idx = nextidx;\n }\n\n return res;\n});\n\nmodule.exports = groupWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the first argument is greater than the second; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @see R.lt\n * @example\n *\n * R.gt(2, 1); //=> true\n * R.gt(2, 2); //=> false\n * R.gt(2, 3); //=> false\n * R.gt('a', 'z'); //=> false\n * R.gt('z', 'a'); //=> true\n */\n\n\nvar gt =\n/*#__PURE__*/\n_curry2(function gt(a, b) {\n return a > b;\n});\n\nmodule.exports = gt;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the first argument is greater than or equal to the second;\n * `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {Number} a\n * @param {Number} b\n * @return {Boolean}\n * @see R.lte\n * @example\n *\n * R.gte(2, 1); //=> true\n * R.gte(2, 2); //=> true\n * R.gte(2, 3); //=> false\n * R.gte('a', 'z'); //=> false\n * R.gte('z', 'a'); //=> true\n */\n\n\nvar gte =\n/*#__PURE__*/\n_curry2(function gte(a, b) {\n return a >= b;\n});\n\nmodule.exports = gte;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar hasPath =\n/*#__PURE__*/\nrequire(\"./hasPath\");\n/**\n * Returns whether or not an object has an own property with the specified name\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Object\n * @sig s -> {s: x} -> Boolean\n * @param {String} prop The name of the property to check for.\n * @param {Object} obj The object to query.\n * @return {Boolean} Whether the property exists.\n * @example\n *\n * const hasName = R.has('name');\n * hasName({name: 'alice'}); //=> true\n * hasName({name: 'bob'}); //=> true\n * hasName({}); //=> false\n *\n * const point = {x: 0, y: 0};\n * const pointHas = R.has(R.__, point);\n * pointHas('x'); //=> true\n * pointHas('y'); //=> true\n * pointHas('z'); //=> false\n */\n\n\nvar has =\n/*#__PURE__*/\n_curry2(function has(prop, obj) {\n return hasPath([prop], obj);\n});\n\nmodule.exports = has;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n\nvar isNil =\n/*#__PURE__*/\nrequire(\"./isNil\");\n/**\n * Returns whether or not a path exists in an object. Only the object's\n * own properties are checked.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig [Idx] -> {a} -> Boolean\n * @param {Array} path The path to use.\n * @param {Object} obj The object to check the path in.\n * @return {Boolean} Whether the path exists.\n * @see R.has\n * @example\n *\n * R.hasPath(['a', 'b'], {a: {b: 2}}); // => true\n * R.hasPath(['a', 'b'], {a: {b: undefined}}); // => true\n * R.hasPath(['a', 'b'], {a: {c: 2}}); // => false\n * R.hasPath(['a', 'b'], {}); // => false\n */\n\n\nvar hasPath =\n/*#__PURE__*/\n_curry2(function hasPath(_path, obj) {\n if (_path.length === 0 || isNil(obj)) {\n return false;\n }\n\n var val = obj;\n var idx = 0;\n\n while (idx < _path.length) {\n if (!isNil(val) && _has(_path[idx], val)) {\n val = val[_path[idx]];\n idx += 1;\n } else {\n return false;\n }\n }\n\n return true;\n});\n\nmodule.exports = hasPath;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns whether or not an object or its prototype chain has a property with\n * the specified name\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Object\n * @sig s -> {s: x} -> Boolean\n * @param {String} prop The name of the property to check for.\n * @param {Object} obj The object to query.\n * @return {Boolean} Whether the property exists.\n * @example\n *\n * function Rectangle(width, height) {\n * this.width = width;\n * this.height = height;\n * }\n * Rectangle.prototype.area = function() {\n * return this.width * this.height;\n * };\n *\n * const square = new Rectangle(2, 2);\n * R.hasIn('width', square); //=> true\n * R.hasIn('area', square); //=> true\n */\n\n\nvar hasIn =\n/*#__PURE__*/\n_curry2(function hasIn(prop, obj) {\n return prop in obj;\n});\n\nmodule.exports = hasIn;","var _objectIs =\n/*#__PURE__*/\nrequire(\"./internal/_objectIs\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns true if its arguments are identical, false otherwise. Values are\n * identical if they reference the same memory. `NaN` is identical to `NaN`;\n * `0` and `-0` are not identical.\n *\n * Note this is merely a curried version of ES6 `Object.is`.\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category Relation\n * @sig a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @example\n *\n * const o = {};\n * R.identical(o, o); //=> true\n * R.identical(1, 1); //=> true\n * R.identical(1, '1'); //=> false\n * R.identical([], []); //=> false\n * R.identical(0, -0); //=> false\n * R.identical(NaN, NaN); //=> true\n */\n\n\nvar identical =\n/*#__PURE__*/\n_curry2(_objectIs);\n\nmodule.exports = identical;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Creates a function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Logic\n * @sig (*... -> Boolean) -> (*... -> *) -> (*... -> *) -> (*... -> *)\n * @param {Function} condition A predicate function\n * @param {Function} onTrue A function to invoke when the `condition` evaluates to a truthy value.\n * @param {Function} onFalse A function to invoke when the `condition` evaluates to a falsy value.\n * @return {Function} A new function that will process either the `onTrue` or the `onFalse`\n * function depending upon the result of the `condition` predicate.\n * @see R.unless, R.when, R.cond\n * @example\n *\n * const incCount = R.ifElse(\n * R.has('count'),\n * R.over(R.lensProp('count'), R.inc),\n * R.assoc('count', 1)\n * );\n * incCount({}); //=> { count: 1 }\n * incCount({ count: 1 }); //=> { count: 2 }\n */\n\n\nvar ifElse =\n/*#__PURE__*/\n_curry3(function ifElse(condition, onTrue, onFalse) {\n return curryN(Math.max(condition.length, onTrue.length, onFalse.length), function _ifElse() {\n return condition.apply(this, arguments) ? onTrue.apply(this, arguments) : onFalse.apply(this, arguments);\n });\n});\n\nmodule.exports = ifElse;","var add =\n/*#__PURE__*/\nrequire(\"./add\");\n/**\n * Increments its argument.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Math\n * @sig Number -> Number\n * @param {Number} n\n * @return {Number} n + 1\n * @see R.dec\n * @example\n *\n * R.inc(42); //=> 43\n */\n\n\nvar inc =\n/*#__PURE__*/\nadd(1);\nmodule.exports = inc;","var _includes =\n/*#__PURE__*/\nrequire(\"./internal/_includes\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the specified value is equal, in [`R.equals`](#equals)\n * terms, to at least one element of the given list; `false` otherwise.\n * Works also with strings.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category List\n * @sig a -> [a] -> Boolean\n * @param {Object} a The item to compare against.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if an equivalent item is in the list, `false` otherwise.\n * @see R.any\n * @example\n *\n * R.includes(3, [1, 2, 3]); //=> true\n * R.includes(4, [1, 2, 3]); //=> false\n * R.includes({ name: 'Fred' }, [{ name: 'Fred' }]); //=> true\n * R.includes([42], [[42]]); //=> true\n * R.includes('ba', 'banana'); //=>true\n */\n\n\nvar includes =\n/*#__PURE__*/\n_curry2(_includes);\n\nmodule.exports = includes;","var reduceBy =\n/*#__PURE__*/\nrequire(\"./reduceBy\");\n/**\n * Given a function that generates a key, turns a list of objects into an\n * object indexing the objects by the given key. Note that if multiple\n * objects generate the same value for the indexing key only the last value\n * will be included in the generated object.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig (a -> String) -> [{k: v}] -> {k: {k: v}}\n * @param {Function} fn Function :: a -> String\n * @param {Array} array The array of objects to index\n * @return {Object} An object indexing each array element by the given property.\n * @example\n *\n * const list = [{id: 'xyz', title: 'A'}, {id: 'abc', title: 'B'}];\n * R.indexBy(R.prop('id'), list);\n * //=> {abc: {id: 'abc', title: 'B'}, xyz: {id: 'xyz', title: 'A'}}\n */\n\n\nvar indexBy =\n/*#__PURE__*/\nreduceBy(function (acc, elem) {\n return elem;\n}, null);\nmodule.exports = indexBy;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _indexOf =\n/*#__PURE__*/\nrequire(\"./internal/_indexOf\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n/**\n * Returns the position of the first occurrence of an item in an array, or -1\n * if the item is not included in the array. [`R.equals`](#equals) is used to\n * determine equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> Number\n * @param {*} target The item to find.\n * @param {Array} xs The array to search in.\n * @return {Number} the index of the target, or -1 if the target is not found.\n * @see R.lastIndexOf\n * @example\n *\n * R.indexOf(3, [1,2,3,4]); //=> 2\n * R.indexOf(10, [1,2,3,4]); //=> -1\n */\n\n\nvar indexOf =\n/*#__PURE__*/\n_curry2(function indexOf(target, xs) {\n return typeof xs.indexOf === 'function' && !_isArray(xs) ? xs.indexOf(target) : _indexOf(xs, target, 0);\n});\n\nmodule.exports = indexOf;","var slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns all but the last element of the given list or string.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig [a] -> [a]\n * @sig String -> String\n * @param {*} list\n * @return {*}\n * @see R.last, R.head, R.tail\n * @example\n *\n * R.init([1, 2, 3]); //=> [1, 2]\n * R.init([1, 2]); //=> [1]\n * R.init([1]); //=> []\n * R.init([]); //=> []\n *\n * R.init('abc'); //=> 'ab'\n * R.init('ab'); //=> 'a'\n * R.init('a'); //=> ''\n * R.init(''); //=> ''\n */\n\n\nvar init =\n/*#__PURE__*/\nslice(0, -1);\nmodule.exports = init;","var _includesWith =\n/*#__PURE__*/\nrequire(\"./internal/_includesWith\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _filter =\n/*#__PURE__*/\nrequire(\"./internal/_filter\");\n/**\n * Takes a predicate `pred`, a list `xs`, and a list `ys`, and returns a list\n * `xs'` comprising each of the elements of `xs` which is equal to one or more\n * elements of `ys` according to `pred`.\n *\n * `pred` must be a binary function expecting an element from each list.\n *\n * `xs`, `ys`, and `xs'` are treated as sets, semantically, so ordering should\n * not be significant, but since `xs'` is ordered the implementation guarantees\n * that its values are in the same order as they appear in `xs`. Duplicates are\n * not removed, so `xs'` may contain duplicates if `xs` contains duplicates.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Relation\n * @sig ((a, b) -> Boolean) -> [a] -> [b] -> [a]\n * @param {Function} pred\n * @param {Array} xs\n * @param {Array} ys\n * @return {Array}\n * @see R.intersection\n * @example\n *\n * R.innerJoin(\n * (record, id) => record.id === id,\n * [{id: 824, name: 'Richie Furay'},\n * {id: 956, name: 'Dewey Martin'},\n * {id: 313, name: 'Bruce Palmer'},\n * {id: 456, name: 'Stephen Stills'},\n * {id: 177, name: 'Neil Young'}],\n * [177, 456, 999]\n * );\n * //=> [{id: 456, name: 'Stephen Stills'}, {id: 177, name: 'Neil Young'}]\n */\n\n\nvar innerJoin =\n/*#__PURE__*/\n_curry3(function innerJoin(pred, xs, ys) {\n return _filter(function (x) {\n return _includesWith(pred, x, ys);\n }, xs);\n});\n\nmodule.exports = innerJoin;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Inserts the supplied element into the list, at the specified `index`. _Note that\n\n * this is not destructive_: it returns a copy of the list with the changes.\n * No lists have been harmed in the application of this function.\n *\n * @func\n * @memberOf R\n * @since v0.2.2\n * @category List\n * @sig Number -> a -> [a] -> [a]\n * @param {Number} index The position to insert the element\n * @param {*} elt The element to insert into the Array\n * @param {Array} list The list to insert into\n * @return {Array} A new Array with `elt` inserted at `index`.\n * @example\n *\n * R.insert(2, 'x', [1,2,3,4]); //=> [1,2,'x',3,4]\n */\n\n\nvar insert =\n/*#__PURE__*/\n_curry3(function insert(idx, elt, list) {\n idx = idx < list.length && idx >= 0 ? idx : list.length;\n var result = Array.prototype.slice.call(list, 0);\n result.splice(idx, 0, elt);\n return result;\n});\n\nmodule.exports = insert;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Inserts the sub-list into the list, at the specified `index`. _Note that this is not\n * destructive_: it returns a copy of the list with the changes.\n * No lists have been harmed in the application of this function.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category List\n * @sig Number -> [a] -> [a] -> [a]\n * @param {Number} index The position to insert the sub-list\n * @param {Array} elts The sub-list to insert into the Array\n * @param {Array} list The list to insert the sub-list into\n * @return {Array} A new Array with `elts` inserted starting at `index`.\n * @example\n *\n * R.insertAll(2, ['x','y','z'], [1,2,3,4]); //=> [1,2,'x','y','z',3,4]\n */\n\n\nvar insertAll =\n/*#__PURE__*/\n_curry3(function insertAll(idx, elts, list) {\n idx = idx < list.length && idx >= 0 ? idx : list.length;\n return [].concat(Array.prototype.slice.call(list, 0, idx), elts, Array.prototype.slice.call(list, idx));\n});\n\nmodule.exports = insertAll;","var _includes =\n/*#__PURE__*/\nrequire(\"./internal/_includes\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _filter =\n/*#__PURE__*/\nrequire(\"./internal/_filter\");\n\nvar flip =\n/*#__PURE__*/\nrequire(\"./flip\");\n\nvar uniq =\n/*#__PURE__*/\nrequire(\"./uniq\");\n/**\n * Combines two lists into a set (i.e. no duplicates) composed of those\n * elements common to both lists.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The list of elements found in both `list1` and `list2`.\n * @see R.innerJoin\n * @example\n *\n * R.intersection([1,2,3,4], [7,6,5,4,3]); //=> [4, 3]\n */\n\n\nvar intersection =\n/*#__PURE__*/\n_curry2(function intersection(list1, list2) {\n var lookupList, filteredList;\n\n if (list1.length > list2.length) {\n lookupList = list1;\n filteredList = list2;\n } else {\n lookupList = list2;\n filteredList = list1;\n }\n\n return uniq(_filter(flip(_includes)(lookupList), filteredList));\n});\n\nmodule.exports = intersection;","var identity =\n/*#__PURE__*/\nrequire(\"./identity\");\n\nvar uniqBy =\n/*#__PURE__*/\nrequire(\"./uniqBy\");\n/**\n * Returns a new list containing only one copy of each element in the original\n * list. [`R.equals`](#equals) is used to determine equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [a]\n * @param {Array} list The array to consider.\n * @return {Array} The list of unique items.\n * @example\n *\n * R.uniq([1, 1, 2, 1]); //=> [1, 2]\n * R.uniq([1, '1']); //=> [1, '1']\n * R.uniq([[42], [42]]); //=> [[42]]\n */\n\n\nvar uniq =\n/*#__PURE__*/\nuniqBy(identity);\nmodule.exports = uniq;","var _Set =\n/*#__PURE__*/\nrequire(\"./internal/_Set\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a new list containing only one copy of each element in the original\n * list, based upon the value returned by applying the supplied function to\n * each list element. Prefers the first item if the supplied function produces\n * the same value on two items. [`R.equals`](#equals) is used for comparison.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig (a -> b) -> [a] -> [a]\n * @param {Function} fn A function used to produce a value to use during comparisons.\n * @param {Array} list The array to consider.\n * @return {Array} The list of unique items.\n * @example\n *\n * R.uniqBy(Math.abs, [-1, -5, 2, 10, 1, 2]); //=> [-1, -5, 2, 10]\n */\n\n\nvar uniqBy =\n/*#__PURE__*/\n_curry2(function uniqBy(fn, list) {\n var set = new _Set();\n var result = [];\n var idx = 0;\n var appliedItem, item;\n\n while (idx < list.length) {\n item = list[idx];\n appliedItem = fn(item);\n\n if (set.add(appliedItem)) {\n result.push(item);\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = uniqBy;","var _checkForMethod =\n/*#__PURE__*/\nrequire(\"./internal/_checkForMethod\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a new list with the separator interposed between elements.\n *\n * Dispatches to the `intersperse` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category List\n * @sig a -> [a] -> [a]\n * @param {*} separator The element to add to the list.\n * @param {Array} list The list to be interposed.\n * @return {Array} The new list.\n * @example\n *\n * R.intersperse('a', ['b', 'n', 'n', 's']); //=> ['b', 'a', 'n', 'a', 'n', 'a', 's']\n */\n\n\nvar intersperse =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_checkForMethod('intersperse', function intersperse(separator, list) {\n var out = [];\n var idx = 0;\n var length = list.length;\n\n while (idx < length) {\n if (idx === length - 1) {\n out.push(list[idx]);\n } else {\n out.push(list[idx], separator);\n }\n\n idx += 1;\n }\n\n return out;\n}));\n\nmodule.exports = intersperse;","var _clone =\n/*#__PURE__*/\nrequire(\"./internal/_clone\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar _isTransformer =\n/*#__PURE__*/\nrequire(\"./internal/_isTransformer\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _stepCat =\n/*#__PURE__*/\nrequire(\"./internal/_stepCat\");\n/**\n * Transforms the items of the list with the transducer and appends the\n * transformed items to the accumulator using an appropriate iterator function\n * based on the accumulator type.\n *\n * The accumulator can be an array, string, object or a transformer. Iterated\n * items will be appended to arrays and concatenated to strings. Objects will\n * be merged directly or 2-item arrays will be merged as key, value pairs.\n *\n * The accumulator can also be a transformer object that provides a 2-arity\n * reducing iterator function, step, 0-arity initial value function, init, and\n * 1-arity result extraction function result. The step function is used as the\n * iterator function in reduce. The result function is used to convert the\n * final accumulator into the return type and in most cases is R.identity. The\n * init function is used to provide the initial accumulator.\n *\n * The iteration is performed with [`R.reduce`](#reduce) after initializing the\n * transducer.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig a -> (b -> b) -> [c] -> a\n * @param {*} acc The initial accumulator value.\n * @param {Function} xf The transducer function. Receives a transformer and returns a transformer.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.transduce\n * @example\n *\n * const numbers = [1, 2, 3, 4];\n * const transducer = R.compose(R.map(R.add(1)), R.take(2));\n *\n * R.into([], transducer, numbers); //=> [2, 3]\n *\n * const intoArray = R.into([]);\n * intoArray(transducer, numbers); //=> [2, 3]\n */\n\n\nvar into =\n/*#__PURE__*/\n_curry3(function into(acc, xf, list) {\n return _isTransformer(acc) ? _reduce(xf(acc), acc['@@transducer/init'](), list) : _reduce(xf(_stepCat(acc)), _clone(acc, [], [], false), list);\n});\n\nmodule.exports = into;","var _objectAssign =\n/*#__PURE__*/\nrequire(\"./_objectAssign\");\n\nvar _identity =\n/*#__PURE__*/\nrequire(\"./_identity\");\n\nvar _isArrayLike =\n/*#__PURE__*/\nrequire(\"./_isArrayLike\");\n\nvar _isTransformer =\n/*#__PURE__*/\nrequire(\"./_isTransformer\");\n\nvar objOf =\n/*#__PURE__*/\nrequire(\"../objOf\");\n\nvar _stepCatArray = {\n '@@transducer/init': Array,\n '@@transducer/step': function (xs, x) {\n xs.push(x);\n return xs;\n },\n '@@transducer/result': _identity\n};\nvar _stepCatString = {\n '@@transducer/init': String,\n '@@transducer/step': function (a, b) {\n return a + b;\n },\n '@@transducer/result': _identity\n};\nvar _stepCatObject = {\n '@@transducer/init': Object,\n '@@transducer/step': function (result, input) {\n return _objectAssign(result, _isArrayLike(input) ? objOf(input[0], input[1]) : input);\n },\n '@@transducer/result': _identity\n};\n\nfunction _stepCat(obj) {\n if (_isTransformer(obj)) {\n return obj;\n }\n\n if (_isArrayLike(obj)) {\n return _stepCatArray;\n }\n\n if (typeof obj === 'string') {\n return _stepCatString;\n }\n\n if (typeof obj === 'object') {\n return _stepCatObject;\n }\n\n throw new Error('Cannot create transformer for ' + obj);\n}\n\nmodule.exports = _stepCat;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates an object containing a single key:value pair.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Object\n * @sig String -> a -> {String:a}\n * @param {String} key\n * @param {*} val\n * @return {Object}\n * @see R.pair\n * @example\n *\n * const matchPhrases = R.compose(\n * R.objOf('must'),\n * R.map(R.objOf('match_phrase'))\n * );\n * matchPhrases(['foo', 'bar', 'baz']); //=> {must: [{match_phrase: 'foo'}, {match_phrase: 'bar'}, {match_phrase: 'baz'}]}\n */\n\n\nvar objOf =\n/*#__PURE__*/\n_curry2(function objOf(key, val) {\n var obj = {};\n obj[key] = val;\n return obj;\n});\n\nmodule.exports = objOf;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Same as [`R.invertObj`](#invertObj), however this accounts for objects with\n * duplicate values by putting the values into an array.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig {s: x} -> {x: [ s, ... ]}\n * @param {Object} obj The object or array to invert\n * @return {Object} out A new object with keys in an array.\n * @see R.invertObj\n * @example\n *\n * const raceResultsByFirstName = {\n * first: 'alice',\n * second: 'jake',\n * third: 'alice',\n * };\n * R.invert(raceResultsByFirstName);\n * //=> { 'alice': ['first', 'third'], 'jake':['second'] }\n */\n\n\nvar invert =\n/*#__PURE__*/\n_curry1(function invert(obj) {\n var props = keys(obj);\n var len = props.length;\n var idx = 0;\n var out = {};\n\n while (idx < len) {\n var key = props[idx];\n var val = obj[key];\n var list = _has(val, out) ? out[val] : out[val] = [];\n list[list.length] = key;\n idx += 1;\n }\n\n return out;\n});\n\nmodule.exports = invert;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * Returns a new object with the keys of the given object as values, and the\n * values of the given object, which are coerced to strings, as keys. Note\n * that the last key found is preferred when handling the same value.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig {s: x} -> {x: s}\n * @param {Object} obj The object or array to invert\n * @return {Object} out A new object\n * @see R.invert\n * @example\n *\n * const raceResults = {\n * first: 'alice',\n * second: 'jake'\n * };\n * R.invertObj(raceResults);\n * //=> { 'alice': 'first', 'jake':'second' }\n *\n * // Alternatively:\n * const raceResults = ['alice', 'jake'];\n * R.invertObj(raceResults);\n * //=> { 'alice': '0', 'jake':'1' }\n */\n\n\nvar invertObj =\n/*#__PURE__*/\n_curry1(function invertObj(obj) {\n var props = keys(obj);\n var len = props.length;\n var idx = 0;\n var out = {};\n\n while (idx < len) {\n var key = props[idx];\n out[obj[key]] = key;\n idx += 1;\n }\n\n return out;\n});\n\nmodule.exports = invertObj;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isFunction =\n/*#__PURE__*/\nrequire(\"./internal/_isFunction\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar toString =\n/*#__PURE__*/\nrequire(\"./toString\");\n/**\n * Turns a named method with a specified arity into a function that can be\n * called directly supplied with arguments and a target object.\n *\n * The returned function is curried and accepts `arity + 1` parameters where\n * the final parameter is the target object.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig Number -> String -> (a -> b -> ... -> n -> Object -> *)\n * @param {Number} arity Number of arguments the returned function should take\n * before the target object.\n * @param {String} method Name of any of the target object's methods to call.\n * @return {Function} A new curried function.\n * @see R.construct\n * @example\n *\n * const sliceFrom = R.invoker(1, 'slice');\n * sliceFrom(6, 'abcdefghijklm'); //=> 'ghijklm'\n * const sliceFrom6 = R.invoker(2, 'slice')(6);\n * sliceFrom6(8, 'abcdefghijklm'); //=> 'gh'\n *\n * const dog = {\n * speak: async () => 'Woof!'\n * };\n * const speak = R.invoker(0, 'speak');\n * speak(dog).then(console.log) //~> 'Woof!'\n *\n * @symb R.invoker(0, 'method')(o) = o['method']()\n * @symb R.invoker(1, 'method')(a, o) = o['method'](a)\n * @symb R.invoker(2, 'method')(a, b, o) = o['method'](a, b)\n */\n\n\nvar invoker =\n/*#__PURE__*/\n_curry2(function invoker(arity, method) {\n return curryN(arity + 1, function () {\n var target = arguments[arity];\n\n if (target != null && _isFunction(target[method])) {\n return target[method].apply(target, Array.prototype.slice.call(arguments, 0, arity));\n }\n\n throw new TypeError(toString(target) + ' does not have a method named \"' + method + '\"');\n });\n});\n\nmodule.exports = invoker;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * See if an object (`val`) is an instance of the supplied constructor. This\n * function will check up the inheritance chain, if any.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Type\n * @sig (* -> {*}) -> a -> Boolean\n * @param {Object} ctor A constructor\n * @param {*} val The value to test\n * @return {Boolean}\n * @example\n *\n * R.is(Object, {}); //=> true\n * R.is(Number, 1); //=> true\n * R.is(Object, 1); //=> false\n * R.is(String, 's'); //=> true\n * R.is(String, new String('')); //=> true\n * R.is(Object, new String('')); //=> true\n * R.is(Object, 's'); //=> false\n * R.is(Number, {}); //=> false\n */\n\n\nvar is =\n/*#__PURE__*/\n_curry2(function is(Ctor, val) {\n return val != null && val.constructor === Ctor || val instanceof Ctor;\n});\n\nmodule.exports = is;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar empty =\n/*#__PURE__*/\nrequire(\"./empty\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Returns `true` if the given value is its type's empty value; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Logic\n * @sig a -> Boolean\n * @param {*} x\n * @return {Boolean}\n * @see R.empty\n * @example\n *\n * R.isEmpty([1, 2, 3]); //=> false\n * R.isEmpty([]); //=> true\n * R.isEmpty(''); //=> true\n * R.isEmpty(null); //=> false\n * R.isEmpty({}); //=> true\n * R.isEmpty({length: 0}); //=> false\n */\n\n\nvar isEmpty =\n/*#__PURE__*/\n_curry1(function isEmpty(x) {\n return x != null && equals(x, empty(x));\n});\n\nmodule.exports = isEmpty;","var invoker =\n/*#__PURE__*/\nrequire(\"./invoker\");\n/**\n * Returns a string made by inserting the `separator` between each element and\n * concatenating all the elements into a single string.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig String -> [a] -> String\n * @param {Number|String} separator The string used to separate the elements.\n * @param {Array} xs The elements to join into a string.\n * @return {String} str The string made by concatenating `xs` with `separator`.\n * @see R.split\n * @example\n *\n * const spacer = R.join(' ');\n * spacer(['a', 2, 3.4]); //=> 'a 2 3.4'\n * R.join('|', [1, 2, 3]); //=> '1|2|3'\n */\n\n\nvar join =\n/*#__PURE__*/\ninvoker(1, 'join');\nmodule.exports = join;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar converge =\n/*#__PURE__*/\nrequire(\"./converge\");\n/**\n * juxt applies a list of functions to a list of values.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Function\n * @sig [(a, b, ..., m) -> n] -> ((a, b, ..., m) -> [n])\n * @param {Array} fns An array of functions\n * @return {Function} A function that returns a list of values after applying each of the original `fns` to its parameters.\n * @see R.applySpec\n * @example\n *\n * const getRange = R.juxt([Math.min, Math.max]);\n * getRange(3, 4, 9, -3); //=> [-3, 9]\n * @symb R.juxt([f, g, h])(a, b) = [f(a, b), g(a, b), h(a, b)]\n */\n\n\nvar juxt =\n/*#__PURE__*/\n_curry1(function juxt(fns) {\n return converge(function () {\n return Array.prototype.slice.call(arguments, 0);\n }, fns);\n});\n\nmodule.exports = juxt;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Returns a list containing the names of all the properties of the supplied\n * object, including prototype properties.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @sig {k: v} -> [k]\n * @param {Object} obj The object to extract properties from\n * @return {Array} An array of the object's own and prototype properties.\n * @see R.keys, R.valuesIn\n * @example\n *\n * const F = function() { this.x = 'X'; };\n * F.prototype.y = 'Y';\n * const f = new F();\n * R.keysIn(f); //=> ['x', 'y']\n */\n\n\nvar keysIn =\n/*#__PURE__*/\n_curry1(function keysIn(obj) {\n var prop;\n var ks = [];\n\n for (prop in obj) {\n ks[ks.length] = prop;\n }\n\n return ks;\n});\n\nmodule.exports = keysIn;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isArray =\n/*#__PURE__*/\nrequire(\"./internal/_isArray\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Returns the position of the last occurrence of an item in an array, or -1 if\n * the item is not included in the array. [`R.equals`](#equals) is used to\n * determine equality.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> Number\n * @param {*} target The item to find.\n * @param {Array} xs The array to search in.\n * @return {Number} the index of the target, or -1 if the target is not found.\n * @see R.indexOf\n * @example\n *\n * R.lastIndexOf(3, [-1,3,3,0,1,2,3,4]); //=> 6\n * R.lastIndexOf(10, [1,2,3,4]); //=> -1\n */\n\n\nvar lastIndexOf =\n/*#__PURE__*/\n_curry2(function lastIndexOf(target, xs) {\n if (typeof xs.lastIndexOf === 'function' && !_isArray(xs)) {\n return xs.lastIndexOf(target);\n } else {\n var idx = xs.length - 1;\n\n while (idx >= 0) {\n if (equals(xs[idx], target)) {\n return idx;\n }\n\n idx -= 1;\n }\n\n return -1;\n }\n});\n\nmodule.exports = lastIndexOf;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _isNumber =\n/*#__PURE__*/\nrequire(\"./internal/_isNumber\");\n/**\n * Returns the number of elements in the array by returning `list.length`.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category List\n * @sig [a] -> Number\n * @param {Array} list The array to inspect.\n * @return {Number} The length of the array.\n * @example\n *\n * R.length([]); //=> 0\n * R.length([1, 2, 3]); //=> 3\n */\n\n\nvar length =\n/*#__PURE__*/\n_curry1(function length(list) {\n return list != null && _isNumber(list.length) ? list.length : NaN;\n});\n\nmodule.exports = length;","function _isNumber(x) {\n return Object.prototype.toString.call(x) === '[object Number]';\n}\n\nmodule.exports = _isNumber;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n/**\n * Returns a lens for the given getter and setter functions. The getter \"gets\"\n * the value of the focus; the setter \"sets\" the value of the focus. The setter\n * should not mutate the data structure.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig (s -> a) -> ((a, s) -> s) -> Lens s a\n * @param {Function} getter\n * @param {Function} setter\n * @return {Lens}\n * @see R.view, R.set, R.over, R.lensIndex, R.lensProp\n * @example\n *\n * const xLens = R.lens(R.prop('x'), R.assoc('x'));\n *\n * R.view(xLens, {x: 1, y: 2}); //=> 1\n * R.set(xLens, 4, {x: 1, y: 2}); //=> {x: 4, y: 2}\n * R.over(xLens, R.negate, {x: 1, y: 2}); //=> {x: -1, y: 2}\n */\n\n\nvar lens =\n/*#__PURE__*/\n_curry2(function lens(getter, setter) {\n return function (toFunctorFn) {\n return function (target) {\n return map(function (focus) {\n return setter(focus, target);\n }, toFunctorFn(getter(target)));\n };\n };\n});\n\nmodule.exports = lens;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar lens =\n/*#__PURE__*/\nrequire(\"./lens\");\n\nvar nth =\n/*#__PURE__*/\nrequire(\"./nth\");\n\nvar update =\n/*#__PURE__*/\nrequire(\"./update\");\n/**\n * Returns a lens whose focus is the specified index.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Number -> Lens s a\n * @param {Number} n\n * @return {Lens}\n * @see R.view, R.set, R.over, R.nth\n * @example\n *\n * const headLens = R.lensIndex(0);\n *\n * R.view(headLens, ['a', 'b', 'c']); //=> 'a'\n * R.set(headLens, 'x', ['a', 'b', 'c']); //=> ['x', 'b', 'c']\n * R.over(headLens, R.toUpper, ['a', 'b', 'c']); //=> ['A', 'b', 'c']\n */\n\n\nvar lensIndex =\n/*#__PURE__*/\n_curry1(function lensIndex(n) {\n return lens(nth(n), update(n));\n});\n\nmodule.exports = lensIndex;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar assocPath =\n/*#__PURE__*/\nrequire(\"./assocPath\");\n\nvar lens =\n/*#__PURE__*/\nrequire(\"./lens\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * Returns a lens whose focus is the specified path.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Object\n * @typedefn Idx = String | Int\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig [Idx] -> Lens s a\n * @param {Array} path The path to use.\n * @return {Lens}\n * @see R.view, R.set, R.over\n * @example\n *\n * const xHeadYLens = R.lensPath(['x', 0, 'y']);\n *\n * R.view(xHeadYLens, {x: [{y: 2, z: 3}, {y: 4, z: 5}]});\n * //=> 2\n * R.set(xHeadYLens, 1, {x: [{y: 2, z: 3}, {y: 4, z: 5}]});\n * //=> {x: [{y: 1, z: 3}, {y: 4, z: 5}]}\n * R.over(xHeadYLens, R.negate, {x: [{y: 2, z: 3}, {y: 4, z: 5}]});\n * //=> {x: [{y: -2, z: 3}, {y: 4, z: 5}]}\n */\n\n\nvar lensPath =\n/*#__PURE__*/\n_curry1(function lensPath(p) {\n return lens(path(p), assocPath(p));\n});\n\nmodule.exports = lensPath;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar assoc =\n/*#__PURE__*/\nrequire(\"./assoc\");\n\nvar lens =\n/*#__PURE__*/\nrequire(\"./lens\");\n\nvar prop =\n/*#__PURE__*/\nrequire(\"./prop\");\n/**\n * Returns a lens whose focus is the specified property.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig String -> Lens s a\n * @param {String} k\n * @return {Lens}\n * @see R.view, R.set, R.over\n * @example\n *\n * const xLens = R.lensProp('x');\n *\n * R.view(xLens, {x: 1, y: 2}); //=> 1\n * R.set(xLens, 4, {x: 1, y: 2}); //=> {x: 4, y: 2}\n * R.over(xLens, R.negate, {x: 1, y: 2}); //=> {x: -1, y: 2}\n */\n\n\nvar lensProp =\n/*#__PURE__*/\n_curry1(function lensProp(k) {\n return lens(prop(k), assoc(k));\n});\n\nmodule.exports = lensProp;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the first argument is less than the second; `false`\n * otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {*} a\n * @param {*} b\n * @return {Boolean}\n * @see R.gt\n * @example\n *\n * R.lt(2, 1); //=> false\n * R.lt(2, 2); //=> false\n * R.lt(2, 3); //=> true\n * R.lt('a', 'z'); //=> true\n * R.lt('z', 'a'); //=> false\n */\n\n\nvar lt =\n/*#__PURE__*/\n_curry2(function lt(a, b) {\n return a < b;\n});\n\nmodule.exports = lt;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns `true` if the first argument is less than or equal to the second;\n * `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> Boolean\n * @param {Number} a\n * @param {Number} b\n * @return {Boolean}\n * @see R.gte\n * @example\n *\n * R.lte(2, 1); //=> false\n * R.lte(2, 2); //=> true\n * R.lte(2, 3); //=> true\n * R.lte('a', 'z'); //=> true\n * R.lte('z', 'a'); //=> false\n */\n\n\nvar lte =\n/*#__PURE__*/\n_curry2(function lte(a, b) {\n return a <= b;\n});\n\nmodule.exports = lte;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * The `mapAccum` function behaves like a combination of map and reduce; it\n * applies a function to each element of a list, passing an accumulating\n * parameter from left to right, and returning a final value of this\n * accumulator together with the new list.\n *\n * The iterator function receives two arguments, *acc* and *value*, and should\n * return a tuple *[acc, value]*.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category List\n * @sig ((acc, x) -> (acc, y)) -> acc -> [x] -> (acc, [y])\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.scan, R.addIndex, R.mapAccumRight\n * @example\n *\n * const digits = ['1', '2', '3', '4'];\n * const appender = (a, b) => [a + b, a + b];\n *\n * R.mapAccum(appender, 0, digits); //=> ['01234', ['01', '012', '0123', '01234']]\n * @symb R.mapAccum(f, a, [b, c, d]) = [\n * f(f(f(a, b)[0], c)[0], d)[0],\n * [\n * f(a, b)[1],\n * f(f(a, b)[0], c)[1],\n * f(f(f(a, b)[0], c)[0], d)[1]\n * ]\n * ]\n */\n\n\nvar mapAccum =\n/*#__PURE__*/\n_curry3(function mapAccum(fn, acc, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n var tuple = [acc];\n\n while (idx < len) {\n tuple = fn(tuple[0], list[idx]);\n result[idx] = tuple[1];\n idx += 1;\n }\n\n return [tuple[0], result];\n});\n\nmodule.exports = mapAccum;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * The `mapAccumRight` function behaves like a combination of map and reduce; it\n * applies a function to each element of a list, passing an accumulating\n * parameter from right to left, and returning a final value of this\n * accumulator together with the new list.\n *\n * Similar to [`mapAccum`](#mapAccum), except moves through the input list from\n * the right to the left.\n *\n * The iterator function receives two arguments, *acc* and *value*, and should\n * return a tuple *[acc, value]*.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category List\n * @sig ((acc, x) -> (acc, y)) -> acc -> [x] -> (acc, [y])\n * @param {Function} fn The function to be called on every element of the input `list`.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.addIndex, R.mapAccum\n * @example\n *\n * const digits = ['1', '2', '3', '4'];\n * const appender = (a, b) => [b + a, b + a];\n *\n * R.mapAccumRight(appender, 5, digits); //=> ['12345', ['12345', '2345', '345', '45']]\n * @symb R.mapAccumRight(f, a, [b, c, d]) = [\n * f(f(f(a, d)[0], c)[0], b)[0],\n * [\n * f(a, d)[1],\n * f(f(a, d)[0], c)[1],\n * f(f(f(a, d)[0], c)[0], b)[1]\n * ]\n * ]\n */\n\n\nvar mapAccumRight =\n/*#__PURE__*/\n_curry3(function mapAccumRight(fn, acc, list) {\n var idx = list.length - 1;\n var result = [];\n var tuple = [acc];\n\n while (idx >= 0) {\n tuple = fn(tuple[0], list[idx]);\n result[idx] = tuple[1];\n idx -= 1;\n }\n\n return [tuple[0], result];\n});\n\nmodule.exports = mapAccumRight;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar keys =\n/*#__PURE__*/\nrequire(\"./keys\");\n/**\n * An Object-specific version of [`map`](#map). The function is applied to three\n * arguments: *(value, key, obj)*. If only the value is significant, use\n * [`map`](#map) instead.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Object\n * @sig ((*, String, Object) -> *) -> Object -> Object\n * @param {Function} fn\n * @param {Object} obj\n * @return {Object}\n * @see R.map\n * @example\n *\n * const xyz = { x: 1, y: 2, z: 3 };\n * const prependKeyAndDouble = (num, key, obj) => key + (num * 2);\n *\n * R.mapObjIndexed(prependKeyAndDouble, xyz); //=> { x: 'x2', y: 'y4', z: 'z6' }\n */\n\n\nvar mapObjIndexed =\n/*#__PURE__*/\n_curry2(function mapObjIndexed(fn, obj) {\n return _reduce(function (acc, key) {\n acc[key] = fn(obj[key], key, obj);\n return acc;\n }, {}, keys(obj));\n});\n\nmodule.exports = mapObjIndexed;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Tests a regular expression against a String. Note that this function will\n * return an empty array when there are no matches. This differs from\n * [`String.prototype.match`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match)\n * which returns `null` when there are no matches.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category String\n * @sig RegExp -> String -> [String | Undefined]\n * @param {RegExp} rx A regular expression.\n * @param {String} str The string to match against\n * @return {Array} The list of matches or empty array.\n * @see R.test\n * @example\n *\n * R.match(/([a-z]a)/g, 'bananas'); //=> ['ba', 'na', 'na']\n * R.match(/a/, 'b'); //=> []\n * R.match(/a/, null); //=> TypeError: null does not have a method named \"match\"\n */\n\n\nvar match =\n/*#__PURE__*/\n_curry2(function match(rx, str) {\n return str.match(rx) || [];\n});\n\nmodule.exports = match;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isInteger =\n/*#__PURE__*/\nrequire(\"./internal/_isInteger\");\n/**\n * `mathMod` behaves like the modulo operator should mathematically, unlike the\n * `%` operator (and by extension, [`R.modulo`](#modulo)). So while\n * `-17 % 5` is `-2`, `mathMod(-17, 5)` is `3`. `mathMod` requires Integer\n * arguments, and returns NaN when the modulus is zero or negative.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} m The dividend.\n * @param {Number} p the modulus.\n * @return {Number} The result of `b mod a`.\n * @see R.modulo\n * @example\n *\n * R.mathMod(-17, 5); //=> 3\n * R.mathMod(17, 5); //=> 2\n * R.mathMod(17, -5); //=> NaN\n * R.mathMod(17, 0); //=> NaN\n * R.mathMod(17.2, 5); //=> NaN\n * R.mathMod(17, 5.3); //=> NaN\n *\n * const clock = R.mathMod(R.__, 12);\n * clock(15); //=> 3\n * clock(24); //=> 0\n *\n * const seventeenMod = R.mathMod(17);\n * seventeenMod(3); //=> 2\n * seventeenMod(4); //=> 1\n * seventeenMod(10); //=> 7\n */\n\n\nvar mathMod =\n/*#__PURE__*/\n_curry2(function mathMod(m, p) {\n if (!_isInteger(m)) {\n return NaN;\n }\n\n if (!_isInteger(p) || p < 1) {\n return NaN;\n }\n\n return (m % p + p) % p;\n});\n\nmodule.exports = mathMod;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Takes a function and two values, and returns whichever value produces the\n * larger result when passed to the provided function.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Relation\n * @sig Ord b => (a -> b) -> a -> a -> a\n * @param {Function} f\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.max, R.minBy\n * @example\n *\n * // square :: Number -> Number\n * const square = n => n * n;\n *\n * R.maxBy(square, -3, 2); //=> -3\n *\n * R.reduce(R.maxBy(square), 0, [3, -5, 4, 1, -2]); //=> -5\n * R.reduce(R.maxBy(square), 0, []); //=> 0\n */\n\n\nvar maxBy =\n/*#__PURE__*/\n_curry3(function maxBy(f, a, b) {\n return f(b) > f(a) ? b : a;\n});\n\nmodule.exports = maxBy;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar sum =\n/*#__PURE__*/\nrequire(\"./sum\");\n/**\n * Returns the mean of the given list of numbers.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Math\n * @sig [Number] -> Number\n * @param {Array} list\n * @return {Number}\n * @see R.median\n * @example\n *\n * R.mean([2, 7, 9]); //=> 6\n * R.mean([]); //=> NaN\n */\n\n\nvar mean =\n/*#__PURE__*/\n_curry1(function mean(list) {\n return sum(list) / list.length;\n});\n\nmodule.exports = mean;","var add =\n/*#__PURE__*/\nrequire(\"./add\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Adds together all the elements of a list.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig [Number] -> Number\n * @param {Array} list An array of numbers\n * @return {Number} The sum of all the numbers in the list.\n * @see R.reduce\n * @example\n *\n * R.sum([2,4,6,8,100,1]); //=> 121\n */\n\n\nvar sum =\n/*#__PURE__*/\nreduce(add, 0);\nmodule.exports = sum;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar mean =\n/*#__PURE__*/\nrequire(\"./mean\");\n/**\n * Returns the median of the given list of numbers.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Math\n * @sig [Number] -> Number\n * @param {Array} list\n * @return {Number}\n * @see R.mean\n * @example\n *\n * R.median([2, 9, 7]); //=> 7\n * R.median([7, 2, 10, 9]); //=> 8\n * R.median([]); //=> NaN\n */\n\n\nvar median =\n/*#__PURE__*/\n_curry1(function median(list) {\n var len = list.length;\n\n if (len === 0) {\n return NaN;\n }\n\n var width = 2 - len % 2;\n var idx = (len - width) / 2;\n return mean(Array.prototype.slice.call(list, 0).sort(function (a, b) {\n return a < b ? -1 : a > b ? 1 : 0;\n }).slice(idx, idx + width));\n});\n\nmodule.exports = median;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n/**\n * Creates a new function that, when invoked, caches the result of calling `fn`\n * for a given argument set and returns the result. Subsequent calls to the\n * memoized `fn` with the same argument set will not result in an additional\n * call to `fn`; instead, the cached result for that set of arguments will be\n * returned.\n *\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Function\n * @sig (*... -> String) -> (*... -> a) -> (*... -> a)\n * @param {Function} fn The function to generate the cache key.\n * @param {Function} fn The function to memoize.\n * @return {Function} Memoized version of `fn`.\n * @example\n *\n * let count = 0;\n * const factorial = R.memoizeWith(R.identity, n => {\n * count += 1;\n * return R.product(R.range(1, n + 1));\n * });\n * factorial(5); //=> 120\n * factorial(5); //=> 120\n * factorial(5); //=> 120\n * count; //=> 1\n */\n\n\nvar memoizeWith =\n/*#__PURE__*/\n_curry2(function memoizeWith(mFn, fn) {\n var cache = {};\n return _arity(fn.length, function () {\n var key = mFn.apply(this, arguments);\n\n if (!_has(key, cache)) {\n cache[key] = fn.apply(this, arguments);\n }\n\n return cache[key];\n });\n});\n\nmodule.exports = memoizeWith;","var _objectAssign =\n/*#__PURE__*/\nrequire(\"./internal/_objectAssign\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Create a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects,\n * the value from the second object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig {k: v} -> {k: v} -> {k: v}\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeRight, R.mergeDeepRight, R.mergeWith, R.mergeWithKey\n * @deprecated since v0.26.0\n * @example\n *\n * R.merge({ 'name': 'fred', 'age': 10 }, { 'age': 40 });\n * //=> { 'name': 'fred', 'age': 40 }\n *\n * const withDefaults = R.merge({x: 0, y: 0});\n * withDefaults({y: 2}); //=> {x: 0, y: 2}\n * @symb R.merge(a, b) = {...a, ...b}\n */\n\n\nvar merge =\n/*#__PURE__*/\n_curry2(function merge(l, r) {\n return _objectAssign({}, l, r);\n});\n\nmodule.exports = merge;","var _objectAssign =\n/*#__PURE__*/\nrequire(\"./internal/_objectAssign\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Merges a list of objects together into one object.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category List\n * @sig [{k: v}] -> {k: v}\n * @param {Array} list An array of objects\n * @return {Object} A merged object.\n * @see R.reduce\n * @example\n *\n * R.mergeAll([{foo:1},{bar:2},{baz:3}]); //=> {foo:1,bar:2,baz:3}\n * R.mergeAll([{foo:1},{foo:2},{bar:2}]); //=> {foo:2,bar:2}\n * @symb R.mergeAll([{ x: 1 }, { y: 2 }, { z: 3 }]) = { x: 1, y: 2, z: 3 }\n */\n\n\nvar mergeAll =\n/*#__PURE__*/\n_curry1(function mergeAll(list) {\n return _objectAssign.apply(null, [{}].concat(list));\n});\n\nmodule.exports = mergeAll;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\nrequire(\"./mergeDeepWithKey\");\n/**\n * Creates a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects:\n * - and both values are objects, the two values will be recursively merged\n * - otherwise the value from the first object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig {a} -> {a} -> {a}\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.merge, R.mergeDeepRight, R.mergeDeepWith, R.mergeDeepWithKey\n * @example\n *\n * R.mergeDeepLeft({ name: 'fred', age: 10, contact: { email: 'moo@example.com' }},\n * { age: 40, contact: { email: 'baa@example.com' }});\n * //=> { name: 'fred', age: 10, contact: { email: 'moo@example.com' }}\n */\n\n\nvar mergeDeepLeft =\n/*#__PURE__*/\n_curry2(function mergeDeepLeft(lObj, rObj) {\n return mergeDeepWithKey(function (k, lVal, rVal) {\n return lVal;\n }, lObj, rObj);\n});\n\nmodule.exports = mergeDeepLeft;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar mergeDeepWithKey =\n/*#__PURE__*/\nrequire(\"./mergeDeepWithKey\");\n/**\n * Creates a new object with the own properties of the two provided objects.\n * If a key exists in both objects:\n * - and both associated values are also objects then the values will be\n * recursively merged.\n * - otherwise the provided function is applied to associated values using the\n * resulting value as the new value associated with the key.\n * If a key only exists in one object, the value will be associated with the key\n * of the resulting object.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Object\n * @sig ((a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} lObj\n * @param {Object} rObj\n * @return {Object}\n * @see R.mergeWith, R.mergeDeepWithKey\n * @example\n *\n * R.mergeDeepWith(R.concat,\n * { a: true, c: { values: [10, 20] }},\n * { b: true, c: { values: [15, 35] }});\n * //=> { a: true, b: true, c: { values: [10, 20, 15, 35] }}\n */\n\n\nvar mergeDeepWith =\n/*#__PURE__*/\n_curry3(function mergeDeepWith(fn, lObj, rObj) {\n return mergeDeepWithKey(function (k, lVal, rVal) {\n return fn(lVal, rVal);\n }, lObj, rObj);\n});\n\nmodule.exports = mergeDeepWith;","var _objectAssign =\n/*#__PURE__*/\nrequire(\"./internal/_objectAssign\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Create a new object with the own properties of the first object merged with\n * the own properties of the second object. If a key exists in both objects,\n * the value from the first object will be used.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Object\n * @sig {k: v} -> {k: v} -> {k: v}\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeRight, R.mergeDeepLeft, R.mergeWith, R.mergeWithKey\n * @example\n *\n * R.mergeLeft({ 'age': 40 }, { 'name': 'fred', 'age': 10 });\n * //=> { 'name': 'fred', 'age': 40 }\n *\n * const resetToDefault = R.mergeLeft({x: 0});\n * resetToDefault({x: 5, y: 2}); //=> {x: 0, y: 2}\n * @symb R.mergeLeft(a, b) = {...b, ...a}\n */\n\n\nvar mergeLeft =\n/*#__PURE__*/\n_curry2(function mergeLeft(l, r) {\n return _objectAssign({}, r, l);\n});\n\nmodule.exports = mergeLeft;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar mergeWithKey =\n/*#__PURE__*/\nrequire(\"./mergeWithKey\");\n/**\n * Creates a new object with the own properties of the two provided objects. If\n * a key exists in both objects, the provided function is applied to the values\n * associated with the key in each object, with the result being used as the\n * value associated with the key in the returned object.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Object\n * @sig ((a, a) -> a) -> {a} -> {a} -> {a}\n * @param {Function} fn\n * @param {Object} l\n * @param {Object} r\n * @return {Object}\n * @see R.mergeDeepWith, R.merge, R.mergeWithKey\n * @example\n *\n * R.mergeWith(R.concat,\n * { a: true, values: [10, 20] },\n * { b: true, values: [15, 35] });\n * //=> { a: true, b: true, values: [10, 20, 15, 35] }\n */\n\n\nvar mergeWith =\n/*#__PURE__*/\n_curry3(function mergeWith(fn, l, r) {\n return mergeWithKey(function (_, _l, _r) {\n return fn(_l, _r);\n }, l, r);\n});\n\nmodule.exports = mergeWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns the smaller of its two arguments.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord a => a -> a -> a\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.minBy, R.max\n * @example\n *\n * R.min(789, 123); //=> 123\n * R.min('a', 'b'); //=> 'a'\n */\n\n\nvar min =\n/*#__PURE__*/\n_curry2(function min(a, b) {\n return b < a ? b : a;\n});\n\nmodule.exports = min;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Takes a function and two values, and returns whichever value produces the\n * smaller result when passed to the provided function.\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Relation\n * @sig Ord b => (a -> b) -> a -> a -> a\n * @param {Function} f\n * @param {*} a\n * @param {*} b\n * @return {*}\n * @see R.min, R.maxBy\n * @example\n *\n * // square :: Number -> Number\n * const square = n => n * n;\n *\n * R.minBy(square, -3, 2); //=> 2\n *\n * R.reduce(R.minBy(square), Infinity, [3, -5, 4, 1, -2]); //=> 1\n * R.reduce(R.minBy(square), Infinity, []); //=> Infinity\n */\n\n\nvar minBy =\n/*#__PURE__*/\n_curry3(function minBy(f, a, b) {\n return f(b) < f(a) ? b : a;\n});\n\nmodule.exports = minBy;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Divides the first parameter by the second and returns the remainder. Note\n * that this function preserves the JavaScript-style behavior for modulo. For\n * mathematical modulo see [`mathMod`](#mathMod).\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} a The value to the divide.\n * @param {Number} b The pseudo-modulus\n * @return {Number} The result of `b % a`.\n * @see R.mathMod\n * @example\n *\n * R.modulo(17, 3); //=> 2\n * // JS behavior:\n * R.modulo(-17, 3); //=> -2\n * R.modulo(17, -3); //=> 2\n *\n * const isOdd = R.modulo(R.__, 2);\n * isOdd(42); //=> 0\n * isOdd(21); //=> 1\n */\n\n\nvar modulo =\n/*#__PURE__*/\n_curry2(function modulo(a, b) {\n return a % b;\n});\n\nmodule.exports = modulo;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Move an item, at index `from`, to index `to`, in a list of elements.\n * A new list will be created containing the new elements order.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category List\n * @sig Number -> Number -> [a] -> [a]\n * @param {Number} from The source index\n * @param {Number} to The destination index\n * @param {Array} list The list which will serve to realise the move\n * @return {Array} The new list reordered\n * @example\n *\n * R.move(0, 2, ['a', 'b', 'c', 'd', 'e', 'f']); //=> ['b', 'c', 'a', 'd', 'e', 'f']\n * R.move(-1, 0, ['a', 'b', 'c', 'd', 'e', 'f']); //=> ['f', 'a', 'b', 'c', 'd', 'e'] list rotation\n */\n\n\nvar move =\n/*#__PURE__*/\n_curry3(function (from, to, list) {\n var length = list.length;\n var result = list.slice();\n var positiveFrom = from < 0 ? length + from : from;\n var positiveTo = to < 0 ? length + to : to;\n var item = result.splice(positiveFrom, 1);\n return positiveFrom < 0 || positiveFrom >= list.length || positiveTo < 0 || positiveTo >= list.length ? list : [].concat(result.slice(0, positiveTo)).concat(item).concat(result.slice(positiveTo, list.length));\n});\n\nmodule.exports = move;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Multiplies two numbers. Equivalent to `a * b` but curried.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} a The first value.\n * @param {Number} b The second value.\n * @return {Number} The result of `a * b`.\n * @see R.divide\n * @example\n *\n * const double = R.multiply(2);\n * const triple = R.multiply(3);\n * double(3); //=> 6\n * triple(4); //=> 12\n * R.multiply(2, 5); //=> 10\n */\n\n\nvar multiply =\n/*#__PURE__*/\n_curry2(function multiply(a, b) {\n return a * b;\n});\n\nmodule.exports = multiply;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Negates its argument.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Math\n * @sig Number -> Number\n * @param {Number} n\n * @return {Number}\n * @example\n *\n * R.negate(42); //=> -42\n */\n\n\nvar negate =\n/*#__PURE__*/\n_curry1(function negate(n) {\n return -n;\n});\n\nmodule.exports = negate;","var _complement =\n/*#__PURE__*/\nrequire(\"./internal/_complement\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar all =\n/*#__PURE__*/\nrequire(\"./all\");\n/**\n * Returns `true` if no elements of the list match the predicate, `false`\n * otherwise.\n *\n * Dispatches to the `all` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> Boolean\n * @param {Function} fn The predicate function.\n * @param {Array} list The array to consider.\n * @return {Boolean} `true` if the predicate is not satisfied by every element, `false` otherwise.\n * @see R.all, R.any\n * @example\n *\n * const isEven = n => n % 2 === 0;\n * const isOdd = n => n % 2 === 1;\n *\n * R.none(isEven, [1, 3, 5, 7, 9, 11]); //=> true\n * R.none(isOdd, [1, 3, 5, 7, 8, 11]); //=> false\n */\n\n\nvar none =\n/*#__PURE__*/\n_curry2(function none(fn, input) {\n return all(_complement(fn), input);\n});\n\nmodule.exports = none;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar nth =\n/*#__PURE__*/\nrequire(\"./nth\");\n/**\n * Returns a function which returns its nth argument.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category Function\n * @sig Number -> *... -> *\n * @param {Number} n\n * @return {Function}\n * @example\n *\n * R.nthArg(1)('a', 'b', 'c'); //=> 'b'\n * R.nthArg(-1)('a', 'b', 'c'); //=> 'c'\n * @symb R.nthArg(-1)(a, b, c) = c\n * @symb R.nthArg(0)(a, b, c) = a\n * @symb R.nthArg(1)(a, b, c) = b\n */\n\n\nvar nthArg =\n/*#__PURE__*/\n_curry1(function nthArg(n) {\n var arity = n < 0 ? 1 : n + 1;\n return curryN(arity, function () {\n return nth(n, arguments);\n });\n});\n\nmodule.exports = nthArg;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * `o` is a curried composition function that returns a unary function.\n * Like [`compose`](#compose), `o` performs right-to-left function composition.\n * Unlike [`compose`](#compose), the rightmost function passed to `o` will be\n * invoked with only one argument. Also, unlike [`compose`](#compose), `o` is\n * limited to accepting only 2 unary functions. The name o was chosen because\n * of its similarity to the mathematical composition operator ∘.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category Function\n * @sig (b -> c) -> (a -> b) -> a -> c\n * @param {Function} f\n * @param {Function} g\n * @return {Function}\n * @see R.compose, R.pipe\n * @example\n *\n * const classyGreeting = name => \"The name's \" + name.last + \", \" + name.first + \" \" + name.last\n * const yellGreeting = R.o(R.toUpper, classyGreeting);\n * yellGreeting({first: 'James', last: 'Bond'}); //=> \"THE NAME'S BOND, JAMES BOND\"\n *\n * R.o(R.multiply(10), R.add(10))(-4) //=> 60\n *\n * @symb R.o(f, g, x) = f(g(x))\n */\n\n\nvar o =\n/*#__PURE__*/\n_curry3(function o(f, g, x) {\n return f(g(x));\n});\n\nmodule.exports = o;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _of =\n/*#__PURE__*/\nrequire(\"./internal/_of\");\n/**\n * Returns a singleton array containing the value provided.\n *\n * Note this `of` is different from the ES6 `of`; See\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category Function\n * @sig a -> [a]\n * @param {*} x any value\n * @return {Array} An array wrapping `x`.\n * @example\n *\n * R.of(null); //=> [null]\n * R.of([42]); //=> [[42]]\n */\n\n\nvar of =\n/*#__PURE__*/\n_curry1(_of);\n\nmodule.exports = of;","function _of(x) {\n return [x];\n}\n\nmodule.exports = _of;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Accepts a function `fn` and returns a function that guards invocation of\n * `fn` such that `fn` can only ever be called once, no matter how many times\n * the returned function is invoked. The first value calculated is returned in\n * subsequent invocations.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (a... -> b) -> (a... -> b)\n * @param {Function} fn The function to wrap in a call-only-once wrapper.\n * @return {Function} The wrapped function.\n * @example\n *\n * const addOneOnce = R.once(x => x + 1);\n * addOneOnce(10); //=> 11\n * addOneOnce(addOneOnce(50)); //=> 11\n */\n\n\nvar once =\n/*#__PURE__*/\n_curry1(function once(fn) {\n var called = false;\n var result;\n return _arity(fn.length, function () {\n if (called) {\n return result;\n }\n\n called = true;\n result = fn.apply(this, arguments);\n return result;\n });\n});\n\nmodule.exports = once;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _assertPromise =\n/*#__PURE__*/\nrequire(\"./internal/_assertPromise\");\n/**\n * Returns the result of applying the onFailure function to the value inside\n * a failed promise. This is useful for handling rejected promises\n * inside function compositions.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Function\n * @sig (e -> b) -> (Promise e a) -> (Promise e b)\n * @sig (e -> (Promise f b)) -> (Promise e a) -> (Promise f b)\n * @param {Function} onFailure The function to apply. Can return a value or a promise of a value.\n * @param {Promise} p\n * @return {Promise} The result of calling `p.then(null, onFailure)`\n * @see R.then\n * @example\n *\n * var failedFetch = (id) => Promise.reject('bad ID');\n * var useDefault = () => ({ firstName: 'Bob', lastName: 'Loblaw' })\n *\n * //recoverFromFailure :: String -> Promise ({firstName, lastName})\n * var recoverFromFailure = R.pipe(\n * failedFetch,\n * R.otherwise(useDefault),\n * R.then(R.pick(['firstName', 'lastName'])),\n * );\n * recoverFromFailure(12345).then(console.log)\n */\n\n\nvar otherwise =\n/*#__PURE__*/\n_curry2(function otherwise(f, p) {\n _assertPromise('otherwise', p);\n\n return p.then(null, f);\n});\n\nmodule.exports = otherwise;","var _isFunction =\n/*#__PURE__*/\nrequire(\"./_isFunction\");\n\nvar _toString =\n/*#__PURE__*/\nrequire(\"./_toString\");\n\nfunction _assertPromise(name, p) {\n if (p == null || !_isFunction(p.then)) {\n throw new TypeError('`' + name + '` expected a Promise, received ' + _toString(p, []));\n }\n}\n\nmodule.exports = _assertPromise;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\"); // `Identity` is a functor that holds a single value, where `map` simply\n// transforms the held value with the provided function.\n\n\nvar Identity = function (x) {\n return {\n value: x,\n map: function (f) {\n return Identity(f(x));\n }\n };\n};\n/**\n * Returns the result of \"setting\" the portion of the given data structure\n * focused by the given lens to the result of applying the given function to\n * the focused value.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Lens s a -> (a -> a) -> s -> s\n * @param {Lens} lens\n * @param {*} v\n * @param {*} x\n * @return {*}\n * @see R.prop, R.lensIndex, R.lensProp\n * @example\n *\n * const headLens = R.lensIndex(0);\n *\n * R.over(headLens, R.toUpper, ['foo', 'bar', 'baz']); //=> ['FOO', 'bar', 'baz']\n */\n\n\nvar over =\n/*#__PURE__*/\n_curry3(function over(lens, f, x) {\n // The value returned by the getter function is first transformed with `f`,\n // then set as the value of an `Identity`. This is then mapped over with the\n // setter function of the lens.\n return lens(function (y) {\n return Identity(f(y));\n })(x).value;\n});\n\nmodule.exports = over;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Takes two arguments, `fst` and `snd`, and returns `[fst, snd]`.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category List\n * @sig a -> b -> (a,b)\n * @param {*} fst\n * @param {*} snd\n * @return {Array}\n * @see R.objOf, R.of\n * @example\n *\n * R.pair('foo', 'bar'); //=> ['foo', 'bar']\n */\n\n\nvar pair =\n/*#__PURE__*/\n_curry2(function pair(fst, snd) {\n return [fst, snd];\n});\n\nmodule.exports = pair;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _createPartialApplicator =\n/*#__PURE__*/\nrequire(\"./internal/_createPartialApplicator\");\n/**\n * Takes a function `f` and a list of arguments, and returns a function `g`.\n * When applied, `g` returns the result of applying `f` to the arguments\n * provided initially followed by the arguments provided to `g`.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Function\n * @sig ((a, b, c, ..., n) -> x) -> [a, b, c, ...] -> ((d, e, f, ..., n) -> x)\n * @param {Function} f\n * @param {Array} args\n * @return {Function}\n * @see R.partialRight, R.curry\n * @example\n *\n * const multiply2 = (a, b) => a * b;\n * const double = R.partial(multiply2, [2]);\n * double(2); //=> 4\n *\n * const greet = (salutation, title, firstName, lastName) =>\n * salutation + ', ' + title + ' ' + firstName + ' ' + lastName + '!';\n *\n * const sayHello = R.partial(greet, ['Hello']);\n * const sayHelloToMs = R.partial(sayHello, ['Ms.']);\n * sayHelloToMs('Jane', 'Jones'); //=> 'Hello, Ms. Jane Jones!'\n * @symb R.partial(f, [a, b])(c, d) = f(a, b, c, d)\n */\n\n\nvar partial =\n/*#__PURE__*/\n_createPartialApplicator(_concat);\n\nmodule.exports = partial;","var _arity =\n/*#__PURE__*/\nrequire(\"./_arity\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nfunction _createPartialApplicator(concat) {\n return _curry2(function (fn, args) {\n return _arity(Math.max(0, fn.length - args.length), function () {\n return fn.apply(this, concat(args, arguments));\n });\n });\n}\n\nmodule.exports = _createPartialApplicator;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _createPartialApplicator =\n/*#__PURE__*/\nrequire(\"./internal/_createPartialApplicator\");\n\nvar flip =\n/*#__PURE__*/\nrequire(\"./flip\");\n/**\n * Takes a function `f` and a list of arguments, and returns a function `g`.\n * When applied, `g` returns the result of applying `f` to the arguments\n * provided to `g` followed by the arguments provided initially.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category Function\n * @sig ((a, b, c, ..., n) -> x) -> [d, e, f, ..., n] -> ((a, b, c, ...) -> x)\n * @param {Function} f\n * @param {Array} args\n * @return {Function}\n * @see R.partial\n * @example\n *\n * const greet = (salutation, title, firstName, lastName) =>\n * salutation + ', ' + title + ' ' + firstName + ' ' + lastName + '!';\n *\n * const greetMsJaneJones = R.partialRight(greet, ['Ms.', 'Jane', 'Jones']);\n *\n * greetMsJaneJones('Hello'); //=> 'Hello, Ms. Jane Jones!'\n * @symb R.partialRight(f, [a, b])(c, d) = f(c, d, a, b)\n */\n\n\nvar partialRight =\n/*#__PURE__*/\n_createPartialApplicator(\n/*#__PURE__*/\nflip(_concat));\n\nmodule.exports = partialRight;","var filter =\n/*#__PURE__*/\nrequire(\"./filter\");\n\nvar juxt =\n/*#__PURE__*/\nrequire(\"./juxt\");\n\nvar reject =\n/*#__PURE__*/\nrequire(\"./reject\");\n/**\n * Takes a predicate and a list or other `Filterable` object and returns the\n * pair of filterable objects of the same type of elements which do and do not\n * satisfy, the predicate, respectively. Filterable objects include plain objects or any object\n * that has a filter method such as `Array`.\n *\n * @func\n * @memberOf R\n * @since v0.1.4\n * @category List\n * @sig Filterable f => (a -> Boolean) -> f a -> [f a, f a]\n * @param {Function} pred A predicate to determine which side the element belongs to.\n * @param {Array} filterable the list (or other filterable) to partition.\n * @return {Array} An array, containing first the subset of elements that satisfy the\n * predicate, and second the subset of elements that do not satisfy.\n * @see R.filter, R.reject\n * @example\n *\n * R.partition(R.includes('s'), ['sss', 'ttt', 'foo', 'bars']);\n * // => [ [ 'sss', 'bars' ], [ 'ttt', 'foo' ] ]\n *\n * R.partition(R.includes('s'), { a: 'sss', b: 'ttt', foo: 'bars' });\n * // => [ { a: 'sss', foo: 'bars' }, { b: 'ttt' } ]\n */\n\n\nvar partition =\n/*#__PURE__*/\njuxt([filter, reject]);\nmodule.exports = partition;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * Determines whether a nested path on an object has a specific value, in\n * [`R.equals`](#equals) terms. Most likely used to filter a list.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category Relation\n * @typedefn Idx = String | Int\n * @sig [Idx] -> a -> {a} -> Boolean\n * @param {Array} path The path of the nested property to use\n * @param {*} val The value to compare the nested property with\n * @param {Object} obj The object to check the nested property in\n * @return {Boolean} `true` if the value equals the nested object property,\n * `false` otherwise.\n * @example\n *\n * const user1 = { address: { zipCode: 90210 } };\n * const user2 = { address: { zipCode: 55555 } };\n * const user3 = { name: 'Bob' };\n * const users = [ user1, user2, user3 ];\n * const isFamous = R.pathEq(['address', 'zipCode'], 90210);\n * R.filter(isFamous, users); //=> [ user1 ]\n */\n\n\nvar pathEq =\n/*#__PURE__*/\n_curry3(function pathEq(_path, val, obj) {\n return equals(path(_path, obj), val);\n});\n\nmodule.exports = pathEq;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar defaultTo =\n/*#__PURE__*/\nrequire(\"./defaultTo\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * If the given, non-null object has a value at the given path, returns the\n * value at that path. Otherwise returns the provided default value.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Object\n * @typedefn Idx = String | Int\n * @sig a -> [Idx] -> {a} -> a\n * @param {*} d The default value.\n * @param {Array} p The path to use.\n * @param {Object} obj The object to retrieve the nested property from.\n * @return {*} The data at `path` of the supplied object or the default value.\n * @example\n *\n * R.pathOr('N/A', ['a', 'b'], {a: {b: 2}}); //=> 2\n * R.pathOr('N/A', ['a', 'b'], {c: {b: 2}}); //=> \"N/A\"\n */\n\n\nvar pathOr =\n/*#__PURE__*/\n_curry3(function pathOr(d, p, obj) {\n return defaultTo(d, path(p, obj));\n});\n\nmodule.exports = pathOr;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * Returns `true` if the specified object property at given path satisfies the\n * given predicate; `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Logic\n * @typedefn Idx = String | Int\n * @sig (a -> Boolean) -> [Idx] -> {a} -> Boolean\n * @param {Function} pred\n * @param {Array} propPath\n * @param {*} obj\n * @return {Boolean}\n * @see R.propSatisfies, R.path\n * @example\n *\n * R.pathSatisfies(y => y > 0, ['x', 'y'], {x: {y: 2}}); //=> true\n * R.pathSatisfies(R.is(Object), [], {x: {y: 2}}); //=> true\n */\n\n\nvar pathSatisfies =\n/*#__PURE__*/\n_curry3(function pathSatisfies(pred, propPath, obj) {\n return pred(path(propPath, obj));\n});\n\nmodule.exports = pathSatisfies;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Similar to `pick` except that this one includes a `key: undefined` pair for\n * properties that don't exist.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> {k: v}\n * @param {Array} names an array of String property names to copy onto a new object\n * @param {Object} obj The object to copy from\n * @return {Object} A new object with only properties from `names` on it.\n * @see R.pick\n * @example\n *\n * R.pickAll(['a', 'd'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, d: 4}\n * R.pickAll(['a', 'e', 'f'], {a: 1, b: 2, c: 3, d: 4}); //=> {a: 1, e: undefined, f: undefined}\n */\n\n\nvar pickAll =\n/*#__PURE__*/\n_curry2(function pickAll(names, obj) {\n var result = {};\n var idx = 0;\n var len = names.length;\n\n while (idx < len) {\n var name = names[idx];\n result[name] = obj[name];\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = pickAll;","var composeK =\n/*#__PURE__*/\nrequire(\"./composeK\");\n\nvar reverse =\n/*#__PURE__*/\nrequire(\"./reverse\");\n/**\n * Returns the left-to-right Kleisli composition of the provided functions,\n * each of which must return a value of a type supported by [`chain`](#chain).\n *\n * `R.pipeK(f, g, h)` is equivalent to `R.pipe(f, R.chain(g), R.chain(h))`.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Function\n * @sig Chain m => ((a -> m b), (b -> m c), ..., (y -> m z)) -> (a -> m z)\n * @param {...Function}\n * @return {Function}\n * @see R.composeK\n * @deprecated since v0.26.0\n * @example\n *\n * // parseJson :: String -> Maybe *\n * // get :: String -> Object -> Maybe *\n *\n * // getStateCode :: Maybe String -> Maybe String\n * const getStateCode = R.pipeK(\n * parseJson,\n * get('user'),\n * get('address'),\n * get('state'),\n * R.compose(Maybe.of, R.toUpper)\n * );\n *\n * getStateCode('{\"user\":{\"address\":{\"state\":\"ny\"}}}');\n * //=> Just('NY')\n * getStateCode('[Invalid JSON]');\n * //=> Nothing()\n * @symb R.pipeK(f, g, h)(a) = R.chain(h, R.chain(g, f(a)))\n */\n\n\nfunction pipeK() {\n if (arguments.length === 0) {\n throw new Error('pipeK requires at least one argument');\n }\n\n return composeK.apply(this, reverse(arguments));\n}\n\nmodule.exports = pipeK;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a new list with the given element at the front, followed by the\n * contents of the list.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig a -> [a] -> [a]\n * @param {*} el The item to add to the head of the output list.\n * @param {Array} list The array to add to the tail of the output list.\n * @return {Array} A new array.\n * @see R.append\n * @example\n *\n * R.prepend('fee', ['fi', 'fo', 'fum']); //=> ['fee', 'fi', 'fo', 'fum']\n */\n\n\nvar prepend =\n/*#__PURE__*/\n_curry2(function prepend(el, list) {\n return _concat([el], list);\n});\n\nmodule.exports = prepend;","var multiply =\n/*#__PURE__*/\nrequire(\"./multiply\");\n\nvar reduce =\n/*#__PURE__*/\nrequire(\"./reduce\");\n/**\n * Multiplies together all the elements of a list.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig [Number] -> Number\n * @param {Array} list An array of numbers\n * @return {Number} The product of all the numbers in the list.\n * @see R.reduce\n * @example\n *\n * R.product([2,4,6,8,100,1]); //=> 38400\n */\n\n\nvar product =\n/*#__PURE__*/\nreduce(multiply, 1);\nmodule.exports = product;","var _map =\n/*#__PURE__*/\nrequire(\"./internal/_map\");\n\nvar identity =\n/*#__PURE__*/\nrequire(\"./identity\");\n\nvar pickAll =\n/*#__PURE__*/\nrequire(\"./pickAll\");\n\nvar useWith =\n/*#__PURE__*/\nrequire(\"./useWith\");\n/**\n * Reasonable analog to SQL `select` statement.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @category Relation\n * @sig [k] -> [{k: v}] -> [{k: v}]\n * @param {Array} props The property names to project\n * @param {Array} objs The objects to query\n * @return {Array} An array of objects with just the `props` properties.\n * @example\n *\n * const abby = {name: 'Abby', age: 7, hair: 'blond', grade: 2};\n * const fred = {name: 'Fred', age: 12, hair: 'brown', grade: 7};\n * const kids = [abby, fred];\n * R.project(['name', 'grade'], kids); //=> [{name: 'Abby', grade: 2}, {name: 'Fred', grade: 7}]\n */\n\n\nvar project =\n/*#__PURE__*/\nuseWith(_map, [pickAll, identity]); // passing `identity` gives correct arity\n\nmodule.exports = project;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Accepts a function `fn` and a list of transformer functions and returns a\n * new curried function. When the new function is invoked, it calls the\n * function `fn` with parameters consisting of the result of calling each\n * supplied handler on successive arguments to the new function.\n *\n * If more arguments are passed to the returned function than transformer\n * functions, those arguments are passed directly to `fn` as additional\n * parameters. If you expect additional arguments that don't need to be\n * transformed, although you can ignore them, it's best to pass an identity\n * function so that the new function reports the correct arity.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig ((x1, x2, ...) -> z) -> [(a -> x1), (b -> x2), ...] -> (a -> b -> ... -> z)\n * @param {Function} fn The function to wrap.\n * @param {Array} transformers A list of transformer functions\n * @return {Function} The wrapped function.\n * @see R.converge\n * @example\n *\n * R.useWith(Math.pow, [R.identity, R.identity])(3, 4); //=> 81\n * R.useWith(Math.pow, [R.identity, R.identity])(3)(4); //=> 81\n * R.useWith(Math.pow, [R.dec, R.inc])(3, 4); //=> 32\n * R.useWith(Math.pow, [R.dec, R.inc])(3)(4); //=> 32\n * @symb R.useWith(f, [g, h])(a, b) = f(g(a), h(b))\n */\n\n\nvar useWith =\n/*#__PURE__*/\n_curry2(function useWith(fn, transformers) {\n return curryN(transformers.length, function () {\n var args = [];\n var idx = 0;\n\n while (idx < transformers.length) {\n args.push(transformers[idx].call(this, arguments[idx]));\n idx += 1;\n }\n\n return fn.apply(this, args.concat(Array.prototype.slice.call(arguments, transformers.length)));\n });\n});\n\nmodule.exports = useWith;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n/**\n * Returns `true` if the specified object property is equal, in\n * [`R.equals`](#equals) terms, to the given value; `false` otherwise.\n * You can test multiple properties with [`R.whereEq`](#whereEq).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig String -> a -> Object -> Boolean\n * @param {String} name\n * @param {*} val\n * @param {*} obj\n * @return {Boolean}\n * @see R.whereEq, R.propSatisfies, R.equals\n * @example\n *\n * const abby = {name: 'Abby', age: 7, hair: 'blond'};\n * const fred = {name: 'Fred', age: 12, hair: 'brown'};\n * const rusty = {name: 'Rusty', age: 10, hair: 'brown'};\n * const alois = {name: 'Alois', age: 15, disposition: 'surly'};\n * const kids = [abby, fred, rusty, alois];\n * const hasBrownHair = R.propEq('hair', 'brown');\n * R.filter(hasBrownHair, kids); //=> [fred, rusty]\n */\n\n\nvar propEq =\n/*#__PURE__*/\n_curry3(function propEq(name, val, obj) {\n return equals(val, obj[name]);\n});\n\nmodule.exports = propEq;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar is =\n/*#__PURE__*/\nrequire(\"./is\");\n/**\n * Returns `true` if the specified object property is of the given type;\n * `false` otherwise.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Type\n * @sig Type -> String -> Object -> Boolean\n * @param {Function} type\n * @param {String} name\n * @param {*} obj\n * @return {Boolean}\n * @see R.is, R.propSatisfies\n * @example\n *\n * R.propIs(Number, 'x', {x: 1, y: 2}); //=> true\n * R.propIs(Number, 'x', {x: 'foo'}); //=> false\n * R.propIs(Number, 'x', {}); //=> false\n */\n\n\nvar propIs =\n/*#__PURE__*/\n_curry3(function propIs(type, name, obj) {\n return is(type, obj[name]);\n});\n\nmodule.exports = propIs;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar pathOr =\n/*#__PURE__*/\nrequire(\"./pathOr\");\n/**\n * If the given, non-null object has an own property with the specified name,\n * returns the value of that property. Otherwise returns the provided default\n * value.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category Object\n * @sig a -> String -> Object -> a\n * @param {*} val The default value.\n * @param {String} p The name of the property to return.\n * @param {Object} obj The object to query.\n * @return {*} The value of given property of the supplied object or the default value.\n * @example\n *\n * const alice = {\n * name: 'ALICE',\n * age: 101\n * };\n * const favorite = R.prop('favoriteLibrary');\n * const favoriteWithDefault = R.propOr('Ramda', 'favoriteLibrary');\n *\n * favorite(alice); //=> undefined\n * favoriteWithDefault(alice); //=> 'Ramda'\n */\n\n\nvar propOr =\n/*#__PURE__*/\n_curry3(function propOr(val, p, obj) {\n return pathOr(val, [p], obj);\n});\n\nmodule.exports = propOr;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Returns `true` if the specified object property satisfies the given\n * predicate; `false` otherwise. You can test multiple properties with\n * [`R.where`](#where).\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Logic\n * @sig (a -> Boolean) -> String -> {String: a} -> Boolean\n * @param {Function} pred\n * @param {String} name\n * @param {*} obj\n * @return {Boolean}\n * @see R.where, R.propEq, R.propIs\n * @example\n *\n * R.propSatisfies(x => x > 0, 'x', {x: 1, y: 2}); //=> true\n */\n\n\nvar propSatisfies =\n/*#__PURE__*/\n_curry3(function propSatisfies(pred, name, obj) {\n return pred(obj[name]);\n});\n\nmodule.exports = propSatisfies;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar path =\n/*#__PURE__*/\nrequire(\"./path\");\n/**\n * Acts as multiple `prop`: array of keys in, array of values out. Preserves\n * order.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Object\n * @sig [k] -> {k: v} -> [v]\n * @param {Array} ps The property names to fetch\n * @param {Object} obj The object to query\n * @return {Array} The corresponding values or partially applied function.\n * @example\n *\n * R.props(['x', 'y'], {x: 1, y: 2}); //=> [1, 2]\n * R.props(['c', 'a', 'b'], {b: 2, a: 1}); //=> [undefined, 1, 2]\n *\n * const fullName = R.compose(R.join(' '), R.props(['first', 'last']));\n * fullName({last: 'Bullet-Tooth', age: 33, first: 'Tony'}); //=> 'Tony Bullet-Tooth'\n */\n\n\nvar props =\n/*#__PURE__*/\n_curry2(function props(ps, obj) {\n return ps.map(function (p) {\n return path([p], obj);\n });\n});\n\nmodule.exports = props;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isNumber =\n/*#__PURE__*/\nrequire(\"./internal/_isNumber\");\n/**\n * Returns a list of numbers from `from` (inclusive) to `to` (exclusive).\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig Number -> Number -> [Number]\n * @param {Number} from The first number in the list.\n * @param {Number} to One more than the last number in the list.\n * @return {Array} The list of numbers in the set `[a, b)`.\n * @example\n *\n * R.range(1, 5); //=> [1, 2, 3, 4]\n * R.range(50, 53); //=> [50, 51, 52]\n */\n\n\nvar range =\n/*#__PURE__*/\n_curry2(function range(from, to) {\n if (!(_isNumber(from) && _isNumber(to))) {\n throw new TypeError('Both arguments to range must be numbers');\n }\n\n var result = [];\n var n = from;\n\n while (n < to) {\n result.push(n);\n n += 1;\n }\n\n return result;\n});\n\nmodule.exports = range;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Returns a single item by iterating through the list, successively calling\n * the iterator function and passing it an accumulator value and the current\n * value from the array, and then passing the result to the next call.\n *\n * Similar to [`reduce`](#reduce), except moves through the input list from the\n * right to the left.\n *\n * The iterator function receives two values: *(value, acc)*, while the arguments'\n * order of `reduce`'s iterator function is *(acc, value)*.\n *\n * Note: `R.reduceRight` does not skip deleted or unassigned indices (sparse\n * arrays), unlike the native `Array.prototype.reduceRight` method. For more details\n * on this behavior, see:\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduceRight#Description\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> b) -> b -> [a] -> b\n * @param {Function} fn The iterator function. Receives two values, the current element from the array\n * and the accumulator.\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduce, R.addIndex\n * @example\n *\n * R.reduceRight(R.subtract, 0, [1, 2, 3, 4]) // => (1 - (2 - (3 - (4 - 0)))) = -2\n * // - -2\n * // / \\ / \\\n * // 1 - 1 3\n * // / \\ / \\\n * // 2 - ==> 2 -1\n * // / \\ / \\\n * // 3 - 3 4\n * // / \\ / \\\n * // 4 0 4 0\n *\n * @symb R.reduceRight(f, a, [b, c, d]) = f(b, f(c, f(d, a)))\n */\n\n\nvar reduceRight =\n/*#__PURE__*/\n_curry3(function reduceRight(fn, acc, list) {\n var idx = list.length - 1;\n\n while (idx >= 0) {\n acc = fn(list[idx], acc);\n idx -= 1;\n }\n\n return acc;\n});\n\nmodule.exports = reduceRight;","var _curryN =\n/*#__PURE__*/\nrequire(\"./internal/_curryN\");\n\nvar _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./internal/_reduced\");\n/**\n * Like [`reduce`](#reduce), `reduceWhile` returns a single item by iterating\n * through the list, successively calling the iterator function. `reduceWhile`\n * also takes a predicate that is evaluated before each step. If the predicate\n * returns `false`, it \"short-circuits\" the iteration and returns the current\n * value of the accumulator.\n *\n * @func\n * @memberOf R\n * @since v0.22.0\n * @category List\n * @sig ((a, b) -> Boolean) -> ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} pred The predicate. It is passed the accumulator and the\n * current element.\n * @param {Function} fn The iterator function. Receives two values, the\n * accumulator and the current element.\n * @param {*} a The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduce, R.reduced\n * @example\n *\n * const isOdd = (acc, x) => x % 2 === 1;\n * const xs = [1, 3, 5, 60, 777, 800];\n * R.reduceWhile(isOdd, R.add, 0, xs); //=> 9\n *\n * const ys = [2, 4, 6]\n * R.reduceWhile(isOdd, R.add, 111, ys); //=> 111\n */\n\n\nvar reduceWhile =\n/*#__PURE__*/\n_curryN(4, [], function _reduceWhile(pred, fn, a, list) {\n return _reduce(function (acc, x) {\n return pred(acc, x) ? fn(acc, x) : _reduced(acc);\n }, a, list);\n});\n\nmodule.exports = reduceWhile;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./internal/_reduced\");\n/**\n * Returns a value wrapped to indicate that it is the final value of the reduce\n * and transduce functions. The returned value should be considered a black\n * box: the internal structure is not guaranteed to be stable.\n *\n * Note: this optimization is only available to the below functions:\n * - [`reduce`](#reduce)\n * - [`reduceWhile`](#reduceWhile)\n * - [`transduce`](#transduce)\n *\n * @func\n * @memberOf R\n * @since v0.15.0\n * @category List\n * @sig a -> *\n * @param {*} x The final value of the reduce.\n * @return {*} The wrapped value.\n * @see R.reduce, R.reduceWhile, R.transduce\n * @example\n *\n * R.reduce(\n * (acc, item) => item > 3 ? R.reduced(acc) : acc.concat(item),\n * [],\n * [1, 2, 3, 4, 5]) // [1, 2, 3]\n */\n\n\nvar reduced =\n/*#__PURE__*/\n_curry1(_reduced);\n\nmodule.exports = reduced;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar always =\n/*#__PURE__*/\nrequire(\"./always\");\n\nvar times =\n/*#__PURE__*/\nrequire(\"./times\");\n/**\n * Returns a fixed list of size `n` containing a specified identical value.\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category List\n * @sig a -> n -> [a]\n * @param {*} value The value to repeat.\n * @param {Number} n The desired size of the output list.\n * @return {Array} A new array containing `n` `value`s.\n * @see R.times\n * @example\n *\n * R.repeat('hi', 5); //=> ['hi', 'hi', 'hi', 'hi', 'hi']\n *\n * const obj = {};\n * const repeatedObjs = R.repeat(obj, 5); //=> [{}, {}, {}, {}, {}]\n * repeatedObjs[0] === repeatedObjs[1]; //=> true\n * @symb R.repeat(a, 0) = []\n * @symb R.repeat(a, 1) = [a]\n * @symb R.repeat(a, 2) = [a, a]\n */\n\n\nvar repeat =\n/*#__PURE__*/\n_curry2(function repeat(value, n) {\n return times(always(value), n);\n});\n\nmodule.exports = repeat;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Calls an input function `n` times, returning an array containing the results\n * of those function calls.\n *\n * `fn` is passed one argument: The current value of `n`, which begins at `0`\n * and is gradually incremented to `n - 1`.\n *\n * @func\n * @memberOf R\n * @since v0.2.3\n * @category List\n * @sig (Number -> a) -> Number -> [a]\n * @param {Function} fn The function to invoke. Passed one argument, the current value of `n`.\n * @param {Number} n A value between `0` and `n - 1`. Increments after each function call.\n * @return {Array} An array containing the return values of all calls to `fn`.\n * @see R.repeat\n * @example\n *\n * R.times(R.identity, 5); //=> [0, 1, 2, 3, 4]\n * @symb R.times(f, 0) = []\n * @symb R.times(f, 1) = [f(0)]\n * @symb R.times(f, 2) = [f(0), f(1)]\n */\n\n\nvar times =\n/*#__PURE__*/\n_curry2(function times(fn, n) {\n var len = Number(n);\n var idx = 0;\n var list;\n\n if (len < 0 || isNaN(len)) {\n throw new RangeError('n must be a non-negative number');\n }\n\n list = new Array(len);\n\n while (idx < len) {\n list[idx] = fn(idx);\n idx += 1;\n }\n\n return list;\n});\n\nmodule.exports = times;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Replace a substring or regex match in a string with a replacement.\n *\n * The first two parameters correspond to the parameters of the\n * `String.prototype.replace()` function, so the second parameter can also be a\n * function.\n *\n * @func\n * @memberOf R\n * @since v0.7.0\n * @category String\n * @sig RegExp|String -> String -> String -> String\n * @param {RegExp|String} pattern A regular expression or a substring to match.\n * @param {String} replacement The string to replace the matches with.\n * @param {String} str The String to do the search and replacement in.\n * @return {String} The result.\n * @example\n *\n * R.replace('foo', 'bar', 'foo foo foo'); //=> 'bar foo foo'\n * R.replace(/foo/, 'bar', 'foo foo foo'); //=> 'bar foo foo'\n *\n * // Use the \"g\" (global) flag to replace all occurrences:\n * R.replace(/foo/g, 'bar', 'foo foo foo'); //=> 'bar bar bar'\n */\n\n\nvar replace =\n/*#__PURE__*/\n_curry3(function replace(regex, replacement, str) {\n return str.replace(regex, replacement);\n});\n\nmodule.exports = replace;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Scan is similar to [`reduce`](#reduce), but returns a list of successively\n * reduced values from the left\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category List\n * @sig ((a, b) -> a) -> a -> [b] -> [a]\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array\n * @param {*} acc The accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {Array} A list of all intermediately reduced values.\n * @see R.reduce, R.mapAccum\n * @example\n *\n * const numbers = [1, 2, 3, 4];\n * const factorials = R.scan(R.multiply, 1, numbers); //=> [1, 1, 2, 6, 24]\n * @symb R.scan(f, a, [b, c]) = [a, f(a, b), f(f(a, b), c)]\n */\n\n\nvar scan =\n/*#__PURE__*/\n_curry3(function scan(fn, acc, list) {\n var idx = 0;\n var len = list.length;\n var result = [acc];\n\n while (idx < len) {\n acc = fn(acc, list[idx]);\n result[idx + 1] = acc;\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = scan;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar ap =\n/*#__PURE__*/\nrequire(\"./ap\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n\nvar prepend =\n/*#__PURE__*/\nrequire(\"./prepend\");\n\nvar reduceRight =\n/*#__PURE__*/\nrequire(\"./reduceRight\");\n/**\n * Transforms a [Traversable](https://github.com/fantasyland/fantasy-land#traversable)\n * of [Applicative](https://github.com/fantasyland/fantasy-land#applicative) into an\n * Applicative of Traversable.\n *\n * Dispatches to the `sequence` method of the second argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig (Applicative f, Traversable t) => (a -> f a) -> t (f a) -> f (t a)\n * @param {Function} of\n * @param {*} traversable\n * @return {*}\n * @see R.traverse\n * @example\n *\n * R.sequence(Maybe.of, [Just(1), Just(2), Just(3)]); //=> Just([1, 2, 3])\n * R.sequence(Maybe.of, [Just(1), Just(2), Nothing()]); //=> Nothing()\n *\n * R.sequence(R.of, Just([1, 2, 3])); //=> [Just(1), Just(2), Just(3)]\n * R.sequence(R.of, Nothing()); //=> [Nothing()]\n */\n\n\nvar sequence =\n/*#__PURE__*/\n_curry2(function sequence(of, traversable) {\n return typeof traversable.sequence === 'function' ? traversable.sequence(of) : reduceRight(function (x, acc) {\n return ap(map(prepend, x), acc);\n }, of([]), traversable);\n});\n\nmodule.exports = sequence;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar always =\n/*#__PURE__*/\nrequire(\"./always\");\n\nvar over =\n/*#__PURE__*/\nrequire(\"./over\");\n/**\n * Returns the result of \"setting\" the portion of the given data structure\n * focused by the given lens to the given value.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Lens s a -> a -> s -> s\n * @param {Lens} lens\n * @param {*} v\n * @param {*} x\n * @return {*}\n * @see R.prop, R.lensIndex, R.lensProp\n * @example\n *\n * const xLens = R.lensProp('x');\n *\n * R.set(xLens, 4, {x: 1, y: 2}); //=> {x: 4, y: 2}\n * R.set(xLens, 8, {x: 1, y: 2}); //=> {x: 8, y: 2}\n */\n\n\nvar set =\n/*#__PURE__*/\n_curry3(function set(lens, v, x) {\n return over(lens, always(v), x);\n});\n\nmodule.exports = set;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a copy of the list, sorted according to the comparator function,\n * which should accept two values at a time and return a negative number if the\n * first value is smaller, a positive number if it's larger, and zero if they\n * are equal. Please note that this is a **copy** of the list. It does not\n * modify the original.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, a) -> Number) -> [a] -> [a]\n * @param {Function} comparator A sorting function :: a -> b -> Int\n * @param {Array} list The list to sort\n * @return {Array} a new array with its elements sorted by the comparator function.\n * @example\n *\n * const diff = function(a, b) { return a - b; };\n * R.sort(diff, [4,2,7,5]); //=> [2, 4, 5, 7]\n */\n\n\nvar sort =\n/*#__PURE__*/\n_curry2(function sort(comparator, list) {\n return Array.prototype.slice.call(list, 0).sort(comparator);\n});\n\nmodule.exports = sort;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Sorts the list according to the supplied function.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig Ord b => (a -> b) -> [a] -> [a]\n * @param {Function} fn\n * @param {Array} list The list to sort.\n * @return {Array} A new list sorted by the keys generated by `fn`.\n * @example\n *\n * const sortByFirstItem = R.sortBy(R.prop(0));\n * const pairs = [[-1, 1], [-2, 2], [-3, 3]];\n * sortByFirstItem(pairs); //=> [[-3, 3], [-2, 2], [-1, 1]]\n *\n * const sortByNameCaseInsensitive = R.sortBy(R.compose(R.toLower, R.prop('name')));\n * const alice = {\n * name: 'ALICE',\n * age: 101\n * };\n * const bob = {\n * name: 'Bob',\n * age: -10\n * };\n * const clara = {\n * name: 'clara',\n * age: 314.159\n * };\n * const people = [clara, bob, alice];\n * sortByNameCaseInsensitive(people); //=> [alice, bob, clara]\n */\n\n\nvar sortBy =\n/*#__PURE__*/\n_curry2(function sortBy(fn, list) {\n return Array.prototype.slice.call(list, 0).sort(function (a, b) {\n var aa = fn(a);\n var bb = fn(b);\n return aa < bb ? -1 : aa > bb ? 1 : 0;\n });\n});\n\nmodule.exports = sortBy;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Sorts a list according to a list of comparators.\n *\n * @func\n * @memberOf R\n * @since v0.23.0\n * @category Relation\n * @sig [(a, a) -> Number] -> [a] -> [a]\n * @param {Array} functions A list of comparator functions.\n * @param {Array} list The list to sort.\n * @return {Array} A new list sorted according to the comarator functions.\n * @example\n *\n * const alice = {\n * name: 'alice',\n * age: 40\n * };\n * const bob = {\n * name: 'bob',\n * age: 30\n * };\n * const clara = {\n * name: 'clara',\n * age: 40\n * };\n * const people = [clara, bob, alice];\n * const ageNameSort = R.sortWith([\n * R.descend(R.prop('age')),\n * R.ascend(R.prop('name'))\n * ]);\n * ageNameSort(people); //=> [alice, clara, bob]\n */\n\n\nvar sortWith =\n/*#__PURE__*/\n_curry2(function sortWith(fns, list) {\n return Array.prototype.slice.call(list, 0).sort(function (a, b) {\n var result = 0;\n var i = 0;\n\n while (result === 0 && i < fns.length) {\n result = fns[i](a, b);\n i += 1;\n }\n\n return result;\n });\n});\n\nmodule.exports = sortWith;","var invoker =\n/*#__PURE__*/\nrequire(\"./invoker\");\n/**\n * Splits a string into an array of strings based on the given\n * separator.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category String\n * @sig (String | RegExp) -> String -> [String]\n * @param {String|RegExp} sep The pattern.\n * @param {String} str The string to separate into an array.\n * @return {Array} The array of strings from `str` separated by `sep`.\n * @see R.join\n * @example\n *\n * const pathComponents = R.split('/');\n * R.tail(pathComponents('/usr/local/bin/node')); //=> ['usr', 'local', 'bin', 'node']\n *\n * R.split('.', 'a.b.c.xyz.d'); //=> ['a', 'b', 'c', 'xyz', 'd']\n */\n\n\nvar split =\n/*#__PURE__*/\ninvoker(1, 'split');\nmodule.exports = split;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar length =\n/*#__PURE__*/\nrequire(\"./length\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Splits a given list or string at a given index.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig Number -> [a] -> [[a], [a]]\n * @sig Number -> String -> [String, String]\n * @param {Number} index The index where the array/string is split.\n * @param {Array|String} array The array/string to be split.\n * @return {Array}\n * @example\n *\n * R.splitAt(1, [1, 2, 3]); //=> [[1], [2, 3]]\n * R.splitAt(5, 'hello world'); //=> ['hello', ' world']\n * R.splitAt(-1, 'foobar'); //=> ['fooba', 'r']\n */\n\n\nvar splitAt =\n/*#__PURE__*/\n_curry2(function splitAt(index, array) {\n return [slice(0, index, array), slice(index, length(array), array)];\n});\n\nmodule.exports = splitAt;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Splits a collection into slices of the specified length.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig Number -> [a] -> [[a]]\n * @sig Number -> String -> [String]\n * @param {Number} n\n * @param {Array} list\n * @return {Array}\n * @example\n *\n * R.splitEvery(3, [1, 2, 3, 4, 5, 6, 7]); //=> [[1, 2, 3], [4, 5, 6], [7]]\n * R.splitEvery(3, 'foobarbaz'); //=> ['foo', 'bar', 'baz']\n */\n\n\nvar splitEvery =\n/*#__PURE__*/\n_curry2(function splitEvery(n, list) {\n if (n <= 0) {\n throw new Error('First argument to splitEvery must be a positive integer');\n }\n\n var result = [];\n var idx = 0;\n\n while (idx < list.length) {\n result.push(slice(idx, idx += n, list));\n }\n\n return result;\n});\n\nmodule.exports = splitEvery;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Takes a list and a predicate and returns a pair of lists with the following properties:\n *\n * - the result of concatenating the two output lists is equivalent to the input list;\n * - none of the elements of the first output list satisfies the predicate; and\n * - if the second output list is non-empty, its first element satisfies the predicate.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [[a], [a]]\n * @param {Function} pred The predicate that determines where the array is split.\n * @param {Array} list The array to be split.\n * @return {Array}\n * @example\n *\n * R.splitWhen(R.equals(2), [1, 2, 3, 1, 2, 3]); //=> [[1], [2, 3, 1, 2, 3]]\n */\n\n\nvar splitWhen =\n/*#__PURE__*/\n_curry2(function splitWhen(pred, list) {\n var idx = 0;\n var len = list.length;\n var prefix = [];\n\n while (idx < len && !pred(list[idx])) {\n prefix.push(list[idx]);\n idx += 1;\n }\n\n return [prefix, Array.prototype.slice.call(list, idx)];\n});\n\nmodule.exports = splitWhen;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n\nvar take =\n/*#__PURE__*/\nrequire(\"./take\");\n/**\n * Checks if a list starts with the provided sublist.\n *\n * Similarly, checks if a string starts with the provided substring.\n *\n * @func\n * @memberOf R\n * @since v0.24.0\n * @category List\n * @sig [a] -> [a] -> Boolean\n * @sig String -> String -> Boolean\n * @param {*} prefix\n * @param {*} list\n * @return {Boolean}\n * @see R.endsWith\n * @example\n *\n * R.startsWith('a', 'abc') //=> true\n * R.startsWith('b', 'abc') //=> false\n * R.startsWith(['a'], ['a', 'b', 'c']) //=> true\n * R.startsWith(['b'], ['a', 'b', 'c']) //=> false\n */\n\n\nvar startsWith =\n/*#__PURE__*/\n_curry2(function (prefix, list) {\n return equals(take(prefix.length, list), prefix);\n});\n\nmodule.exports = startsWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Subtracts its second argument from its first argument.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Math\n * @sig Number -> Number -> Number\n * @param {Number} a The first value.\n * @param {Number} b The second value.\n * @return {Number} The result of `a - b`.\n * @see R.add\n * @example\n *\n * R.subtract(10, 8); //=> 2\n *\n * const minus5 = R.subtract(R.__, 5);\n * minus5(17); //=> 12\n *\n * const complementaryAngle = R.subtract(90);\n * complementaryAngle(30); //=> 60\n * complementaryAngle(72); //=> 18\n */\n\n\nvar subtract =\n/*#__PURE__*/\n_curry2(function subtract(a, b) {\n return Number(a) - Number(b);\n});\n\nmodule.exports = subtract;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar concat =\n/*#__PURE__*/\nrequire(\"./concat\");\n\nvar difference =\n/*#__PURE__*/\nrequire(\"./difference\");\n/**\n * Finds the set (i.e. no duplicates) of all elements contained in the first or\n * second list, but not both.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` or `list2`, but not both.\n * @see R.symmetricDifferenceWith, R.difference, R.differenceWith\n * @example\n *\n * R.symmetricDifference([1,2,3,4], [7,6,5,4,3]); //=> [1,2,7,6,5]\n * R.symmetricDifference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5,1,2]\n */\n\n\nvar symmetricDifference =\n/*#__PURE__*/\n_curry2(function symmetricDifference(list1, list2) {\n return concat(difference(list1, list2), difference(list2, list1));\n});\n\nmodule.exports = symmetricDifference;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar concat =\n/*#__PURE__*/\nrequire(\"./concat\");\n\nvar differenceWith =\n/*#__PURE__*/\nrequire(\"./differenceWith\");\n/**\n * Finds the set (i.e. no duplicates) of all elements contained in the first or\n * second list, but not both. Duplication is determined according to the value\n * returned by applying the supplied predicate to two list elements.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category Relation\n * @sig ((a, a) -> Boolean) -> [a] -> [a] -> [a]\n * @param {Function} pred A predicate used to test whether two items are equal.\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The elements in `list1` or `list2`, but not both.\n * @see R.symmetricDifference, R.difference, R.differenceWith\n * @example\n *\n * const eqA = R.eqBy(R.prop('a'));\n * const l1 = [{a: 1}, {a: 2}, {a: 3}, {a: 4}];\n * const l2 = [{a: 3}, {a: 4}, {a: 5}, {a: 6}];\n * R.symmetricDifferenceWith(eqA, l1, l2); //=> [{a: 1}, {a: 2}, {a: 5}, {a: 6}]\n */\n\n\nvar symmetricDifferenceWith =\n/*#__PURE__*/\n_curry3(function symmetricDifferenceWith(pred, list1, list2) {\n return concat(differenceWith(pred, list1, list2), differenceWith(pred, list2, list1));\n});\n\nmodule.exports = symmetricDifferenceWith;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns a new list containing the last `n` elements of a given list, passing\n * each value to the supplied predicate function, and terminating when the\n * predicate function returns `false`. Excludes the element that caused the\n * predicate function to fail. The predicate function is passed one argument:\n * *(value)*.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} fn The function called per iteration.\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array.\n * @see R.dropLastWhile, R.addIndex\n * @example\n *\n * const isNotOne = x => x !== 1;\n *\n * R.takeLastWhile(isNotOne, [1, 2, 3, 4]); //=> [2, 3, 4]\n *\n * R.takeLastWhile(x => x !== 'R' , 'Ramda'); //=> 'amda'\n */\n\n\nvar takeLastWhile =\n/*#__PURE__*/\n_curry2(function takeLastWhile(fn, xs) {\n var idx = xs.length - 1;\n\n while (idx >= 0 && fn(xs[idx])) {\n idx -= 1;\n }\n\n return slice(idx + 1, Infinity, xs);\n});\n\nmodule.exports = takeLastWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xtakeWhile =\n/*#__PURE__*/\nrequire(\"./internal/_xtakeWhile\");\n\nvar slice =\n/*#__PURE__*/\nrequire(\"./slice\");\n/**\n * Returns a new list containing the first `n` elements of a given list,\n * passing each value to the supplied predicate function, and terminating when\n * the predicate function returns `false`. Excludes the element that caused the\n * predicate function to fail. The predicate function is passed one argument:\n * *(value)*.\n *\n * Dispatches to the `takeWhile` method of the second argument, if present.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig (a -> Boolean) -> [a] -> [a]\n * @sig (a -> Boolean) -> String -> String\n * @param {Function} fn The function called per iteration.\n * @param {Array} xs The collection to iterate over.\n * @return {Array} A new array.\n * @see R.dropWhile, R.transduce, R.addIndex\n * @example\n *\n * const isNotFour = x => x !== 4;\n *\n * R.takeWhile(isNotFour, [1, 2, 3, 4, 3, 2, 1]); //=> [1, 2, 3]\n *\n * R.takeWhile(x => x !== 'd' , 'Ramda'); //=> 'Ram'\n */\n\n\nvar takeWhile =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable(['takeWhile'], _xtakeWhile, function takeWhile(fn, xs) {\n var idx = 0;\n var len = xs.length;\n\n while (idx < len && fn(xs[idx])) {\n idx += 1;\n }\n\n return slice(0, idx, xs);\n}));\n\nmodule.exports = takeWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _reduced =\n/*#__PURE__*/\nrequire(\"./_reduced\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XTakeWhile =\n/*#__PURE__*/\nfunction () {\n function XTakeWhile(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XTakeWhile.prototype['@@transducer/init'] = _xfBase.init;\n XTakeWhile.prototype['@@transducer/result'] = _xfBase.result;\n\n XTakeWhile.prototype['@@transducer/step'] = function (result, input) {\n return this.f(input) ? this.xf['@@transducer/step'](result, input) : _reduced(result);\n };\n\n return XTakeWhile;\n}();\n\nvar _xtakeWhile =\n/*#__PURE__*/\n_curry2(function _xtakeWhile(f, xf) {\n return new XTakeWhile(f, xf);\n});\n\nmodule.exports = _xtakeWhile;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _dispatchable =\n/*#__PURE__*/\nrequire(\"./internal/_dispatchable\");\n\nvar _xtap =\n/*#__PURE__*/\nrequire(\"./internal/_xtap\");\n/**\n * Runs the given function with the supplied object, then returns the object.\n *\n * Acts as a transducer if a transformer is given as second parameter.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Function\n * @sig (a -> *) -> a -> a\n * @param {Function} fn The function to call with `x`. The return value of `fn` will be thrown away.\n * @param {*} x\n * @return {*} `x`.\n * @example\n *\n * const sayX = x => console.log('x is ' + x);\n * R.tap(sayX, 100); //=> 100\n * // logs 'x is 100'\n * @symb R.tap(f, a) = a\n */\n\n\nvar tap =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\n_dispatchable([], _xtap, function tap(fn, x) {\n fn(x);\n return x;\n}));\n\nmodule.exports = tap;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./_curry2\");\n\nvar _xfBase =\n/*#__PURE__*/\nrequire(\"./_xfBase\");\n\nvar XTap =\n/*#__PURE__*/\nfunction () {\n function XTap(f, xf) {\n this.xf = xf;\n this.f = f;\n }\n\n XTap.prototype['@@transducer/init'] = _xfBase.init;\n XTap.prototype['@@transducer/result'] = _xfBase.result;\n\n XTap.prototype['@@transducer/step'] = function (result, input) {\n this.f(input);\n return this.xf['@@transducer/step'](result, input);\n };\n\n return XTap;\n}();\n\nvar _xtap =\n/*#__PURE__*/\n_curry2(function _xtap(f, xf) {\n return new XTap(f, xf);\n});\n\nmodule.exports = _xtap;","var _cloneRegExp =\n/*#__PURE__*/\nrequire(\"./internal/_cloneRegExp\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _isRegExp =\n/*#__PURE__*/\nrequire(\"./internal/_isRegExp\");\n\nvar toString =\n/*#__PURE__*/\nrequire(\"./toString\");\n/**\n * Determines whether a given string matches a given regular expression.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category String\n * @sig RegExp -> String -> Boolean\n * @param {RegExp} pattern\n * @param {String} str\n * @return {Boolean}\n * @see R.match\n * @example\n *\n * R.test(/^x/, 'xyz'); //=> true\n * R.test(/^y/, 'xyz'); //=> false\n */\n\n\nvar test =\n/*#__PURE__*/\n_curry2(function test(pattern, str) {\n if (!_isRegExp(pattern)) {\n throw new TypeError('‘test’ requires a value of type RegExp as its first argument; received ' + toString(pattern));\n }\n\n return _cloneRegExp(pattern).test(str);\n});\n\nmodule.exports = test;","function _isRegExp(x) {\n return Object.prototype.toString.call(x) === '[object RegExp]';\n}\n\nmodule.exports = _isRegExp;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _assertPromise =\n/*#__PURE__*/\nrequire(\"./internal/_assertPromise\");\n/**\n * Returns the result of applying the onSuccess function to the value inside\n * a successfully resolved promise. This is useful for working with promises\n * inside function compositions.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category Function\n * @sig (a -> b) -> (Promise e a) -> (Promise e b)\n * @sig (a -> (Promise e b)) -> (Promise e a) -> (Promise e b)\n * @param {Function} onSuccess The function to apply. Can return a value or a promise of a value.\n * @param {Promise} p\n * @return {Promise} The result of calling `p.then(onSuccess)`\n * @see R.otherwise\n * @example\n *\n * var makeQuery = (email) => ({ query: { email }});\n *\n * //getMemberName :: String -> Promise ({firstName, lastName})\n * var getMemberName = R.pipe(\n * makeQuery,\n * fetchMember,\n * R.andThen(R.pick(['firstName', 'lastName']))\n * );\n */\n\n\nvar andThen =\n/*#__PURE__*/\n_curry2(function andThen(f, p) {\n _assertPromise('andThen', p);\n\n return p.then(f);\n});\n\nmodule.exports = andThen;","var invoker =\n/*#__PURE__*/\nrequire(\"./invoker\");\n/**\n * The lower case version of a string.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to lower case.\n * @return {String} The lower case version of `str`.\n * @see R.toUpper\n * @example\n *\n * R.toLower('XYZ'); //=> 'xyz'\n */\n\n\nvar toLower =\n/*#__PURE__*/\ninvoker(0, 'toLowerCase');\nmodule.exports = toLower;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n/**\n * Converts an object into an array of key, value arrays. Only the object's\n * own properties are used.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.4.0\n * @category Object\n * @sig {String: *} -> [[String,*]]\n * @param {Object} obj The object to extract from\n * @return {Array} An array of key, value arrays from the object's own properties.\n * @see R.fromPairs\n * @example\n *\n * R.toPairs({a: 1, b: 2, c: 3}); //=> [['a', 1], ['b', 2], ['c', 3]]\n */\n\n\nvar toPairs =\n/*#__PURE__*/\n_curry1(function toPairs(obj) {\n var pairs = [];\n\n for (var prop in obj) {\n if (_has(prop, obj)) {\n pairs[pairs.length] = [prop, obj[prop]];\n }\n }\n\n return pairs;\n});\n\nmodule.exports = toPairs;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Converts an object into an array of key, value arrays. The object's own\n * properties and prototype properties are used. Note that the order of the\n * output array is not guaranteed to be consistent across different JS\n * platforms.\n *\n * @func\n * @memberOf R\n * @since v0.4.0\n * @category Object\n * @sig {String: *} -> [[String,*]]\n * @param {Object} obj The object to extract from\n * @return {Array} An array of key, value arrays from the object's own\n * and prototype properties.\n * @example\n *\n * const F = function() { this.x = 'X'; };\n * F.prototype.y = 'Y';\n * const f = new F();\n * R.toPairsIn(f); //=> [['x','X'], ['y','Y']]\n */\n\n\nvar toPairsIn =\n/*#__PURE__*/\n_curry1(function toPairsIn(obj) {\n var pairs = [];\n\n for (var prop in obj) {\n pairs[pairs.length] = [prop, obj[prop]];\n }\n\n return pairs;\n});\n\nmodule.exports = toPairsIn;","var invoker =\n/*#__PURE__*/\nrequire(\"./invoker\");\n/**\n * The upper case version of a string.\n *\n * @func\n * @memberOf R\n * @since v0.9.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to upper case.\n * @return {String} The upper case version of `str`.\n * @see R.toLower\n * @example\n *\n * R.toUpper('abc'); //=> 'ABC'\n */\n\n\nvar toUpper =\n/*#__PURE__*/\ninvoker(0, 'toUpperCase');\nmodule.exports = toUpper;","var _reduce =\n/*#__PURE__*/\nrequire(\"./internal/_reduce\");\n\nvar _xwrap =\n/*#__PURE__*/\nrequire(\"./internal/_xwrap\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Initializes a transducer using supplied iterator function. Returns a single\n * item by iterating through the list, successively calling the transformed\n * iterator function and passing it an accumulator value and the current value\n * from the array, and then passing the result to the next call.\n *\n * The iterator function receives two values: *(acc, value)*. It will be\n * wrapped as a transformer to initialize the transducer. A transformer can be\n * passed directly in place of an iterator function. In both cases, iteration\n * may be stopped early with the [`R.reduced`](#reduced) function.\n *\n * A transducer is a function that accepts a transformer and returns a\n * transformer and can be composed directly.\n *\n * A transformer is an an object that provides a 2-arity reducing iterator\n * function, step, 0-arity initial value function, init, and 1-arity result\n * extraction function, result. The step function is used as the iterator\n * function in reduce. The result function is used to convert the final\n * accumulator into the return type and in most cases is\n * [`R.identity`](#identity). The init function can be used to provide an\n * initial accumulator, but is ignored by transduce.\n *\n * The iteration is performed with [`R.reduce`](#reduce) after initializing the transducer.\n *\n * @func\n * @memberOf R\n * @since v0.12.0\n * @category List\n * @sig (c -> c) -> ((a, b) -> a) -> a -> [b] -> a\n * @param {Function} xf The transducer function. Receives a transformer and returns a transformer.\n * @param {Function} fn The iterator function. Receives two values, the accumulator and the\n * current element from the array. Wrapped as transformer, if necessary, and used to\n * initialize the transducer\n * @param {*} acc The initial accumulator value.\n * @param {Array} list The list to iterate over.\n * @return {*} The final, accumulated value.\n * @see R.reduce, R.reduced, R.into\n * @example\n *\n * const numbers = [1, 2, 3, 4];\n * const transducer = R.compose(R.map(R.add(1)), R.take(2));\n * R.transduce(transducer, R.flip(R.append), [], numbers); //=> [2, 3]\n *\n * const isOdd = (x) => x % 2 === 1;\n * const firstOddTransducer = R.compose(R.filter(isOdd), R.take(1));\n * R.transduce(firstOddTransducer, R.flip(R.append), [], R.range(0, 100)); //=> [1]\n */\n\n\nvar transduce =\n/*#__PURE__*/\ncurryN(4, function transduce(xf, fn, acc, list) {\n return _reduce(xf(typeof fn === 'function' ? _xwrap(fn) : fn), acc, list);\n});\nmodule.exports = transduce;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Transposes the rows and columns of a 2D list.\n * When passed a list of `n` lists of length `x`,\n * returns a list of `x` lists of length `n`.\n *\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig [[a]] -> [[a]]\n * @param {Array} list A 2D list\n * @return {Array} A 2D list\n * @example\n *\n * R.transpose([[1, 'a'], [2, 'b'], [3, 'c']]) //=> [[1, 2, 3], ['a', 'b', 'c']]\n * R.transpose([[1, 2, 3], ['a', 'b', 'c']]) //=> [[1, 'a'], [2, 'b'], [3, 'c']]\n *\n * // If some of the rows are shorter than the following rows, their elements are skipped:\n * R.transpose([[10, 11], [20], [], [30, 31, 32]]) //=> [[10, 20, 30], [11, 31], [32]]\n * @symb R.transpose([[a], [b], [c]]) = [a, b, c]\n * @symb R.transpose([[a, b], [c, d]]) = [[a, c], [b, d]]\n * @symb R.transpose([[a, b], [c]]) = [[a, c], [b]]\n */\n\n\nvar transpose =\n/*#__PURE__*/\n_curry1(function transpose(outerlist) {\n var i = 0;\n var result = [];\n\n while (i < outerlist.length) {\n var innerlist = outerlist[i];\n var j = 0;\n\n while (j < innerlist.length) {\n if (typeof result[j] === 'undefined') {\n result[j] = [];\n }\n\n result[j].push(innerlist[j]);\n j += 1;\n }\n\n i += 1;\n }\n\n return result;\n});\n\nmodule.exports = transpose;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n\nvar sequence =\n/*#__PURE__*/\nrequire(\"./sequence\");\n/**\n * Maps an [Applicative](https://github.com/fantasyland/fantasy-land#applicative)-returning\n * function over a [Traversable](https://github.com/fantasyland/fantasy-land#traversable),\n * then uses [`sequence`](#sequence) to transform the resulting Traversable of Applicative\n * into an Applicative of Traversable.\n *\n * Dispatches to the `traverse` method of the third argument, if present.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig (Applicative f, Traversable t) => (a -> f a) -> (a -> f b) -> t a -> f (t b)\n * @param {Function} of\n * @param {Function} f\n * @param {*} traversable\n * @return {*}\n * @see R.sequence\n * @example\n *\n * // Returns `Maybe.Nothing` if the given divisor is `0`\n * const safeDiv = n => d => d === 0 ? Maybe.Nothing() : Maybe.Just(n / d)\n *\n * R.traverse(Maybe.of, safeDiv(10), [2, 4, 5]); //=> Maybe.Just([5, 2.5, 2])\n * R.traverse(Maybe.of, safeDiv(10), [2, 0, 5]); //=> Maybe.Nothing\n */\n\n\nvar traverse =\n/*#__PURE__*/\n_curry3(function traverse(of, f, traversable) {\n return typeof traversable['fantasy-land/traverse'] === 'function' ? traversable['fantasy-land/traverse'](f, of) : sequence(of, map(f, traversable));\n});\n\nmodule.exports = traverse;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar ws = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u2000\\u2001\\u2002\\u2003' + '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028' + '\\u2029\\uFEFF';\nvar zeroWidth = '\\u200b';\nvar hasProtoTrim = typeof String.prototype.trim === 'function';\n/**\n * Removes (strips) whitespace from both ends of the string.\n *\n * @func\n * @memberOf R\n * @since v0.6.0\n * @category String\n * @sig String -> String\n * @param {String} str The string to trim.\n * @return {String} Trimmed version of `str`.\n * @example\n *\n * R.trim(' xyz '); //=> 'xyz'\n * R.map(R.trim, R.split(',', 'x, y, z')); //=> ['x', 'y', 'z']\n */\n\nvar trim = !hasProtoTrim ||\n/*#__PURE__*/\nws.trim() || !\n/*#__PURE__*/\nzeroWidth.trim() ?\n/*#__PURE__*/\n_curry1(function trim(str) {\n var beginRx = new RegExp('^[' + ws + '][' + ws + ']*');\n var endRx = new RegExp('[' + ws + '][' + ws + ']*$');\n return str.replace(beginRx, '').replace(endRx, '');\n}) :\n/*#__PURE__*/\n_curry1(function trim(str) {\n return str.trim();\n});\nmodule.exports = trim;","var _arity =\n/*#__PURE__*/\nrequire(\"./internal/_arity\");\n\nvar _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * `tryCatch` takes two functions, a `tryer` and a `catcher`. The returned\n * function evaluates the `tryer`; if it does not throw, it simply returns the\n * result. If the `tryer` *does* throw, the returned function evaluates the\n * `catcher` function and returns its result. Note that for effective\n * composition with this function, both the `tryer` and `catcher` functions\n * must return the same type of results.\n *\n * @func\n * @memberOf R\n * @since v0.20.0\n * @category Function\n * @sig (...x -> a) -> ((e, ...x) -> a) -> (...x -> a)\n * @param {Function} tryer The function that may throw.\n * @param {Function} catcher The function that will be evaluated if `tryer` throws.\n * @return {Function} A new function that will catch exceptions and send then to the catcher.\n * @example\n *\n * R.tryCatch(R.prop('x'), R.F)({x: true}); //=> true\n * R.tryCatch(() => { throw 'foo'}, R.always('catched'))('bar') // => 'catched'\n * R.tryCatch(R.times(R.identity), R.always([]))('s') // => []\n * R.tryCatch(() => { throw 'this is not a valid value'}, (err, value)=>({error : err, value }))('bar') // => {'error': 'this is not a valid value', 'value': 'bar'}\n */\n\n\nvar tryCatch =\n/*#__PURE__*/\n_curry2(function _tryCatch(tryer, catcher) {\n return _arity(tryer.length, function () {\n try {\n return tryer.apply(this, arguments);\n } catch (e) {\n return catcher.apply(this, _concat([e], arguments));\n }\n });\n});\n\nmodule.exports = tryCatch;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Takes a function `fn`, which takes a single array argument, and returns a\n * function which:\n *\n * - takes any number of positional arguments;\n * - passes these arguments to `fn` as an array; and\n * - returns the result.\n *\n * In other words, `R.unapply` derives a variadic function from a function which\n * takes an array. `R.unapply` is the inverse of [`R.apply`](#apply).\n *\n * @func\n * @memberOf R\n * @since v0.8.0\n * @category Function\n * @sig ([*...] -> a) -> (*... -> a)\n * @param {Function} fn\n * @return {Function}\n * @see R.apply\n * @example\n *\n * R.unapply(JSON.stringify)(1, 2, 3); //=> '[1,2,3]'\n * @symb R.unapply(f)(a, b) = f([a, b])\n */\n\n\nvar unapply =\n/*#__PURE__*/\n_curry1(function unapply(fn) {\n return function () {\n return fn(Array.prototype.slice.call(arguments, 0));\n };\n});\n\nmodule.exports = unapply;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n\nvar nAry =\n/*#__PURE__*/\nrequire(\"./nAry\");\n/**\n * Wraps a function of any arity (including nullary) in a function that accepts\n * exactly 1 parameter. Any extraneous parameters will not be passed to the\n * supplied function.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Function\n * @sig (* -> b) -> (a -> b)\n * @param {Function} fn The function to wrap.\n * @return {Function} A new function wrapping `fn`. The new function is guaranteed to be of\n * arity 1.\n * @see R.binary, R.nAry\n * @example\n *\n * const takesTwoArgs = function(a, b) {\n * return [a, b];\n * };\n * takesTwoArgs.length; //=> 2\n * takesTwoArgs(1, 2); //=> [1, 2]\n *\n * const takesOneArg = R.unary(takesTwoArgs);\n * takesOneArg.length; //=> 1\n * // Only 1 argument is passed to the wrapped function\n * takesOneArg(1, 2); //=> [1, undefined]\n * @symb R.unary(f)(a, b, c) = f(a)\n */\n\n\nvar unary =\n/*#__PURE__*/\n_curry1(function unary(fn) {\n return nAry(1, fn);\n});\n\nmodule.exports = unary;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n/**\n * Returns a function of arity `n` from a (manually) curried function.\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Function\n * @sig Number -> (a -> b) -> (a -> c)\n * @param {Number} length The arity for the returned function.\n * @param {Function} fn The function to uncurry.\n * @return {Function} A new function.\n * @see R.curry\n * @example\n *\n * const addFour = a => b => c => d => a + b + c + d;\n *\n * const uncurriedAddFour = R.uncurryN(4, addFour);\n * uncurriedAddFour(1, 2, 3, 4); //=> 10\n */\n\n\nvar uncurryN =\n/*#__PURE__*/\n_curry2(function uncurryN(depth, fn) {\n return curryN(depth, function () {\n var currentDepth = 1;\n var value = fn;\n var idx = 0;\n var endIdx;\n\n while (currentDepth <= depth && typeof value === 'function') {\n endIdx = currentDepth === depth ? arguments.length : idx + value.length;\n value = value.apply(this, Array.prototype.slice.call(arguments, idx, endIdx));\n currentDepth += 1;\n idx = endIdx;\n }\n\n return value;\n });\n});\n\nmodule.exports = uncurryN;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Builds a list from a seed value. Accepts an iterator function, which returns\n * either false to stop iteration or an array of length 2 containing the value\n * to add to the resulting list and the seed to be used in the next call to the\n * iterator function.\n *\n * The iterator function receives one argument: *(seed)*.\n *\n * @func\n * @memberOf R\n * @since v0.10.0\n * @category List\n * @sig (a -> [b]) -> * -> [b]\n * @param {Function} fn The iterator function. receives one argument, `seed`, and returns\n * either false to quit iteration or an array of length two to proceed. The element\n * at index 0 of this array will be added to the resulting array, and the element\n * at index 1 will be passed to the next call to `fn`.\n * @param {*} seed The seed value.\n * @return {Array} The final list.\n * @example\n *\n * const f = n => n > 50 ? false : [-n, n + 10];\n * R.unfold(f, 10); //=> [-10, -20, -30, -40, -50]\n * @symb R.unfold(f, x) = [f(x)[0], f(f(x)[1])[0], f(f(f(x)[1])[1])[0], ...]\n */\n\n\nvar unfold =\n/*#__PURE__*/\n_curry2(function unfold(fn, seed) {\n var pair = fn(seed);\n var result = [];\n\n while (pair && pair.length) {\n result[result.length] = pair[0];\n pair = fn(pair[1]);\n }\n\n return result;\n});\n\nmodule.exports = unfold;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar compose =\n/*#__PURE__*/\nrequire(\"./compose\");\n\nvar uniq =\n/*#__PURE__*/\nrequire(\"./uniq\");\n/**\n * Combines two lists into a set (i.e. no duplicates) composed of the elements\n * of each list.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig [*] -> [*] -> [*]\n * @param {Array} as The first list.\n * @param {Array} bs The second list.\n * @return {Array} The first and second lists concatenated, with\n * duplicates removed.\n * @example\n *\n * R.union([1, 2, 3], [2, 3, 4]); //=> [1, 2, 3, 4]\n */\n\n\nvar union =\n/*#__PURE__*/\n_curry2(\n/*#__PURE__*/\ncompose(uniq, _concat));\n\nmodule.exports = union;","var _concat =\n/*#__PURE__*/\nrequire(\"./internal/_concat\");\n\nvar _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n\nvar uniqWith =\n/*#__PURE__*/\nrequire(\"./uniqWith\");\n/**\n * Combines two lists into a set (i.e. no duplicates) composed of the elements\n * of each list. Duplication is determined according to the value returned by\n * applying the supplied predicate to two list elements.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category Relation\n * @sig ((a, a) -> Boolean) -> [*] -> [*] -> [*]\n * @param {Function} pred A predicate used to test whether two items are equal.\n * @param {Array} list1 The first list.\n * @param {Array} list2 The second list.\n * @return {Array} The first and second lists concatenated, with\n * duplicates removed.\n * @see R.union\n * @example\n *\n * const l1 = [{a: 1}, {a: 2}];\n * const l2 = [{a: 1}, {a: 4}];\n * R.unionWith(R.eqBy(R.prop('a')), l1, l2); //=> [{a: 1}, {a: 2}, {a: 4}]\n */\n\n\nvar unionWith =\n/*#__PURE__*/\n_curry3(function unionWith(pred, list1, list2) {\n return uniqWith(pred, _concat(list1, list2));\n});\n\nmodule.exports = unionWith;","var _includesWith =\n/*#__PURE__*/\nrequire(\"./internal/_includesWith\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Returns a new list containing only one copy of each element in the original\n * list, based upon the value returned by applying the supplied predicate to\n * two list elements. Prefers the first item if two items compare equal based\n * on the predicate.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category List\n * @sig ((a, a) -> Boolean) -> [a] -> [a]\n * @param {Function} pred A predicate used to test whether two items are equal.\n * @param {Array} list The array to consider.\n * @return {Array} The list of unique items.\n * @example\n *\n * const strEq = R.eqBy(String);\n * R.uniqWith(strEq)([1, '1', 2, 1]); //=> [1, 2]\n * R.uniqWith(strEq)([{}, {}]); //=> [{}]\n * R.uniqWith(strEq)([1, '1', 1]); //=> [1]\n * R.uniqWith(strEq)(['1', 1, 1]); //=> ['1']\n */\n\n\nvar uniqWith =\n/*#__PURE__*/\n_curry2(function uniqWith(pred, list) {\n var idx = 0;\n var len = list.length;\n var result = [];\n var item;\n\n while (idx < len) {\n item = list[idx];\n\n if (!_includesWith(pred, item, result)) {\n result[result.length] = item;\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = uniqWith;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Tests the final argument by passing it to the given predicate function. If\n * the predicate is not satisfied, the function will return the result of\n * calling the `whenFalseFn` function with the same argument. If the predicate\n * is satisfied, the argument is returned as is.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> a) -> a -> a\n * @param {Function} pred A predicate function\n * @param {Function} whenFalseFn A function to invoke when the `pred` evaluates\n * to a falsy value.\n * @param {*} x An object to test with the `pred` function and\n * pass to `whenFalseFn` if necessary.\n * @return {*} Either `x` or the result of applying `x` to `whenFalseFn`.\n * @see R.ifElse, R.when, R.cond\n * @example\n *\n * let safeInc = R.unless(R.isNil, R.inc);\n * safeInc(null); //=> null\n * safeInc(1); //=> 2\n */\n\n\nvar unless =\n/*#__PURE__*/\n_curry3(function unless(pred, whenFalseFn, x) {\n return pred(x) ? x : whenFalseFn(x);\n});\n\nmodule.exports = unless;","var _identity =\n/*#__PURE__*/\nrequire(\"./internal/_identity\");\n\nvar chain =\n/*#__PURE__*/\nrequire(\"./chain\");\n/**\n * Shorthand for `R.chain(R.identity)`, which removes one level of nesting from\n * any [Chain](https://github.com/fantasyland/fantasy-land#chain).\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category List\n * @sig Chain c => c (c a) -> c a\n * @param {*} list\n * @return {*}\n * @see R.flatten, R.chain\n * @example\n *\n * R.unnest([1, [2], [[3]]]); //=> [1, 2, [3]]\n * R.unnest([[1, 2], [3, 4], [5, 6]]); //=> [1, 2, 3, 4, 5, 6]\n */\n\n\nvar unnest =\n/*#__PURE__*/\nchain(_identity);\nmodule.exports = unnest;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Takes a predicate, a transformation function, and an initial value,\n * and returns a value of the same type as the initial value.\n * It does so by applying the transformation until the predicate is satisfied,\n * at which point it returns the satisfactory value.\n *\n * @func\n * @memberOf R\n * @since v0.20.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> a) -> a -> a\n * @param {Function} pred A predicate function\n * @param {Function} fn The iterator function\n * @param {*} init Initial value\n * @return {*} Final value that satisfies predicate\n * @example\n *\n * R.until(R.gt(R.__, 100), R.multiply(2))(1) // => 128\n */\n\n\nvar until =\n/*#__PURE__*/\n_curry3(function until(pred, fn, init) {\n var val = init;\n\n while (!pred(val)) {\n val = fn(val);\n }\n\n return val;\n});\n\nmodule.exports = until;","var _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Returns a list of all the properties, including prototype properties, of the\n * supplied object.\n * Note that the order of the output array is not guaranteed to be consistent\n * across different JS platforms.\n *\n * @func\n * @memberOf R\n * @since v0.2.0\n * @category Object\n * @sig {k: v} -> [v]\n * @param {Object} obj The object to extract values from\n * @return {Array} An array of the values of the object's own and prototype properties.\n * @see R.values, R.keysIn\n * @example\n *\n * const F = function() { this.x = 'X'; };\n * F.prototype.y = 'Y';\n * const f = new F();\n * R.valuesIn(f); //=> ['X', 'Y']\n */\n\n\nvar valuesIn =\n/*#__PURE__*/\n_curry1(function valuesIn(obj) {\n var prop;\n var vs = [];\n\n for (prop in obj) {\n vs[vs.length] = obj[prop];\n }\n\n return vs;\n});\n\nmodule.exports = valuesIn;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\"); // `Const` is a functor that effectively ignores the function given to `map`.\n\n\nvar Const = function (x) {\n return {\n value: x,\n 'fantasy-land/map': function () {\n return this;\n }\n };\n};\n/**\n * Returns a \"view\" of the given data structure, determined by the given lens.\n * The lens's focus determines which portion of the data structure is visible.\n *\n * @func\n * @memberOf R\n * @since v0.16.0\n * @category Object\n * @typedefn Lens s a = Functor f => (a -> f a) -> s -> f s\n * @sig Lens s a -> s -> a\n * @param {Lens} lens\n * @param {*} x\n * @return {*}\n * @see R.prop, R.lensIndex, R.lensProp\n * @example\n *\n * const xLens = R.lensProp('x');\n *\n * R.view(xLens, {x: 1, y: 2}); //=> 1\n * R.view(xLens, {x: 4, y: 2}); //=> 4\n */\n\n\nvar view =\n/*#__PURE__*/\n_curry2(function view(lens, x) {\n // Using `Const` effectively ignores the setter function of the `lens`,\n // leaving the value returned by the getter function unmodified.\n return lens(Const)(x).value;\n});\n\nmodule.exports = view;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Tests the final argument by passing it to the given predicate function. If\n * the predicate is satisfied, the function will return the result of calling\n * the `whenTrueFn` function with the same argument. If the predicate is not\n * satisfied, the argument is returned as is.\n *\n * @func\n * @memberOf R\n * @since v0.18.0\n * @category Logic\n * @sig (a -> Boolean) -> (a -> a) -> a -> a\n * @param {Function} pred A predicate function\n * @param {Function} whenTrueFn A function to invoke when the `condition`\n * evaluates to a truthy value.\n * @param {*} x An object to test with the `pred` function and\n * pass to `whenTrueFn` if necessary.\n * @return {*} Either `x` or the result of applying `x` to `whenTrueFn`.\n * @see R.ifElse, R.unless, R.cond\n * @example\n *\n * // truncate :: String -> String\n * const truncate = R.when(\n * R.propSatisfies(R.gt(R.__, 10), 'length'),\n * R.pipe(R.take(10), R.append('…'), R.join(''))\n * );\n * truncate('12345'); //=> '12345'\n * truncate('0123456789ABC'); //=> '0123456789…'\n */\n\n\nvar when =\n/*#__PURE__*/\n_curry3(function when(pred, whenTrueFn, x) {\n return pred(x) ? whenTrueFn(x) : x;\n});\n\nmodule.exports = when;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar _has =\n/*#__PURE__*/\nrequire(\"./internal/_has\");\n/**\n * Takes a spec object and a test object; returns true if the test satisfies\n * the spec. Each of the spec's own properties must be a predicate function.\n * Each predicate is applied to the value of the corresponding property of the\n * test object. `where` returns true if all the predicates return true, false\n * otherwise.\n *\n * `where` is well suited to declaratively expressing constraints for other\n * functions such as [`filter`](#filter) and [`find`](#find).\n *\n * @func\n * @memberOf R\n * @since v0.1.1\n * @category Object\n * @sig {String: (* -> Boolean)} -> {String: *} -> Boolean\n * @param {Object} spec\n * @param {Object} testObj\n * @return {Boolean}\n * @see R.propSatisfies, R.whereEq\n * @example\n *\n * // pred :: Object -> Boolean\n * const pred = R.where({\n * a: R.equals('foo'),\n * b: R.complement(R.equals('bar')),\n * x: R.gt(R.__, 10),\n * y: R.lt(R.__, 20)\n * });\n *\n * pred({a: 'foo', b: 'xxx', x: 11, y: 19}); //=> true\n * pred({a: 'xxx', b: 'xxx', x: 11, y: 19}); //=> false\n * pred({a: 'foo', b: 'bar', x: 11, y: 19}); //=> false\n * pred({a: 'foo', b: 'xxx', x: 10, y: 19}); //=> false\n * pred({a: 'foo', b: 'xxx', x: 11, y: 20}); //=> false\n */\n\n\nvar where =\n/*#__PURE__*/\n_curry2(function where(spec, testObj) {\n for (var prop in spec) {\n if (_has(prop, spec) && !spec[prop](testObj[prop])) {\n return false;\n }\n }\n\n return true;\n});\n\nmodule.exports = where;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar equals =\n/*#__PURE__*/\nrequire(\"./equals\");\n\nvar map =\n/*#__PURE__*/\nrequire(\"./map\");\n\nvar where =\n/*#__PURE__*/\nrequire(\"./where\");\n/**\n * Takes a spec object and a test object; returns true if the test satisfies\n * the spec, false otherwise. An object satisfies the spec if, for each of the\n * spec's own properties, accessing that property of the object gives the same\n * value (in [`R.equals`](#equals) terms) as accessing that property of the\n * spec.\n *\n * `whereEq` is a specialization of [`where`](#where).\n *\n * @func\n * @memberOf R\n * @since v0.14.0\n * @category Object\n * @sig {String: *} -> {String: *} -> Boolean\n * @param {Object} spec\n * @param {Object} testObj\n * @return {Boolean}\n * @see R.propEq, R.where\n * @example\n *\n * // pred :: Object -> Boolean\n * const pred = R.whereEq({a: 1, b: 2});\n *\n * pred({a: 1}); //=> false\n * pred({a: 1, b: 2}); //=> true\n * pred({a: 1, b: 2, c: 3}); //=> true\n * pred({a: 1, b: 1}); //=> false\n */\n\n\nvar whereEq =\n/*#__PURE__*/\n_curry2(function whereEq(spec, testObj) {\n return where(map(equals, spec), testObj);\n});\n\nmodule.exports = whereEq;","var _includes =\n/*#__PURE__*/\nrequire(\"./internal/_includes\");\n\nvar _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n\nvar flip =\n/*#__PURE__*/\nrequire(\"./flip\");\n\nvar reject =\n/*#__PURE__*/\nrequire(\"./reject\");\n/**\n * Returns a new list without values in the first argument.\n * [`R.equals`](#equals) is used to determine equality.\n *\n * Acts as a transducer if a transformer is given in list position.\n *\n * @func\n * @memberOf R\n * @since v0.19.0\n * @category List\n * @sig [a] -> [a] -> [a]\n * @param {Array} list1 The values to be removed from `list2`.\n * @param {Array} list2 The array to remove values from.\n * @return {Array} The new array without values in `list1`.\n * @see R.transduce, R.difference, R.remove\n * @example\n *\n * R.without([1, 2], [1, 2, 1, 3, 4]); //=> [3, 4]\n */\n\n\nvar without =\n/*#__PURE__*/\n_curry2(function (xs, list) {\n return reject(flip(_includes)(xs), list);\n});\n\nmodule.exports = without;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Exclusive disjunction logical operation.\n * Returns `true` if one of the arguments is truthy and the other is falsy.\n * Otherwise, it returns `false`.\n *\n * @func\n * @memberOf R\n * @since v0.27.1\n * @category Logic\n * @sig a -> b -> Boolean\n * @param {Any} a\n * @param {Any} b\n * @return {Boolean} true if one of the arguments is truthy and the other is falsy\n * @see R.or, R.and\n * @example\n *\n * R.xor(true, true); //=> false\n * R.xor(true, false); //=> true\n * R.xor(false, true); //=> true\n * R.xor(false, false); //=> false\n */\n\n\nvar xor =\n/*#__PURE__*/\n_curry2(function xor(a, b) {\n return Boolean(!a ^ !b);\n});\n\nmodule.exports = xor;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a new list out of the two supplied by creating each possible pair\n * from the lists.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [b] -> [[a,b]]\n * @param {Array} as The first list.\n * @param {Array} bs The second list.\n * @return {Array} The list made by combining each possible pair from\n * `as` and `bs` into pairs (`[a, b]`).\n * @example\n *\n * R.xprod([1, 2], ['a', 'b']); //=> [[1, 'a'], [1, 'b'], [2, 'a'], [2, 'b']]\n * @symb R.xprod([a, b], [c, d]) = [[a, c], [a, d], [b, c], [b, d]]\n */\n\n\nvar xprod =\n/*#__PURE__*/\n_curry2(function xprod(a, b) {\n // = xprodWith(prepend); (takes about 3 times as long...)\n var idx = 0;\n var ilen = a.length;\n var j;\n var jlen = b.length;\n var result = [];\n\n while (idx < ilen) {\n j = 0;\n\n while (j < jlen) {\n result[result.length] = [a[idx], b[j]];\n j += 1;\n }\n\n idx += 1;\n }\n\n return result;\n});\n\nmodule.exports = xprod;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a new list out of the two supplied by pairing up equally-positioned\n * items from both lists. The returned list is truncated to the length of the\n * shorter of the two input lists.\n * Note: `zip` is equivalent to `zipWith(function(a, b) { return [a, b] })`.\n *\n * @func\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig [a] -> [b] -> [[a,b]]\n * @param {Array} list1 The first array to consider.\n * @param {Array} list2 The second array to consider.\n * @return {Array} The list made by pairing up same-indexed elements of `list1` and `list2`.\n * @example\n *\n * R.zip([1, 2, 3], ['a', 'b', 'c']); //=> [[1, 'a'], [2, 'b'], [3, 'c']]\n * @symb R.zip([a, b, c], [d, e, f]) = [[a, d], [b, e], [c, f]]\n */\n\n\nvar zip =\n/*#__PURE__*/\n_curry2(function zip(a, b) {\n var rv = [];\n var idx = 0;\n var len = Math.min(a.length, b.length);\n\n while (idx < len) {\n rv[idx] = [a[idx], b[idx]];\n idx += 1;\n }\n\n return rv;\n});\n\nmodule.exports = zip;","var _curry2 =\n/*#__PURE__*/\nrequire(\"./internal/_curry2\");\n/**\n * Creates a new object out of a list of keys and a list of values.\n * Key/value pairing is truncated to the length of the shorter of the two lists.\n * Note: `zipObj` is equivalent to `pipe(zip, fromPairs)`.\n *\n * @func\n * @memberOf R\n * @since v0.3.0\n * @category List\n * @sig [String] -> [*] -> {String: *}\n * @param {Array} keys The array that will be properties on the output object.\n * @param {Array} values The list of values on the output object.\n * @return {Object} The object made by pairing up same-indexed elements of `keys` and `values`.\n * @example\n *\n * R.zipObj(['a', 'b', 'c'], [1, 2, 3]); //=> {a: 1, b: 2, c: 3}\n */\n\n\nvar zipObj =\n/*#__PURE__*/\n_curry2(function zipObj(keys, values) {\n var idx = 0;\n var len = Math.min(keys.length, values.length);\n var out = {};\n\n while (idx < len) {\n out[keys[idx]] = values[idx];\n idx += 1;\n }\n\n return out;\n});\n\nmodule.exports = zipObj;","var _curry3 =\n/*#__PURE__*/\nrequire(\"./internal/_curry3\");\n/**\n * Creates a new list out of the two supplied by applying the function to each\n * equally-positioned pair in the lists. The returned list is truncated to the\n * length of the shorter of the two input lists.\n *\n * @function\n * @memberOf R\n * @since v0.1.0\n * @category List\n * @sig ((a, b) -> c) -> [a] -> [b] -> [c]\n * @param {Function} fn The function used to combine the two elements into one value.\n * @param {Array} list1 The first array to consider.\n * @param {Array} list2 The second array to consider.\n * @return {Array} The list made by combining same-indexed elements of `list1` and `list2`\n * using `fn`.\n * @example\n *\n * const f = (x, y) => {\n * // ...\n * };\n * R.zipWith(f, [1, 2, 3], ['a', 'b', 'c']);\n * //=> [f(1, 'a'), f(2, 'b'), f(3, 'c')]\n * @symb R.zipWith(fn, [a, b, c], [d, e, f]) = [fn(a, d), fn(b, e), fn(c, f)]\n */\n\n\nvar zipWith =\n/*#__PURE__*/\n_curry3(function zipWith(fn, a, b) {\n var rv = [];\n var idx = 0;\n var len = Math.min(a.length, b.length);\n\n while (idx < len) {\n rv[idx] = fn(a[idx], b[idx]);\n idx += 1;\n }\n\n return rv;\n});\n\nmodule.exports = zipWith;","var curryN =\n/*#__PURE__*/\nrequire(\"./curryN\");\n\nvar _curry1 =\n/*#__PURE__*/\nrequire(\"./internal/_curry1\");\n/**\n * Creates a thunk out of a function. A thunk delays a calculation until\n * its result is needed, providing lazy evaluation of arguments.\n *\n * @func\n * @memberOf R\n * @since v0.26.0\n * @category Function\n * @sig ((a, b, ..., j) -> k) -> (a, b, ..., j) -> (() -> k)\n * @param {Function} fn A function to wrap in a thunk\n * @return {Function} Expects arguments for `fn` and returns a new function\n * that, when called, applies those arguments to `fn`.\n * @see R.partial, R.partialRight\n * @example\n *\n * R.thunkify(R.identity)(42)(); //=> 42\n * R.thunkify((a, b) => a + b)(25, 17)(); //=> 42\n */\n\n\nvar thunkify =\n/*#__PURE__*/\n_curry1(function thunkify(fn) {\n return curryN(fn.length, function createThunk() {\n var fnArgs = arguments;\n return function invokeThunk() {\n return fn.apply(this, fnArgs);\n };\n });\n});\n\nmodule.exports = thunkify;","import MarkedList from './MarkedList';\n\nexport * from './shared-types';\nexport * from './MarkerBox';\nexport * from './MarkedList';\nexport * from './MarkedListItem';\nexport { default as MarkerBox } from './MarkerBox';\nexport { default as MarkedListItem } from './MarkedListItem';\nexport { default as useMarkedList } from './useMarkedList';\nexport { MarkedList };\nexport default MarkedList;\n","import React, { Children, Fragment, PropsWithChildren } from 'react';\nimport MarkedListItem from './MarkedListItem';\nimport { MarkedListProps } from './shared-types';\nimport useMarkedList from './useMarkedList';\n\n/**\n * A component which given a counter style, wraps each of its children with a\n * {@link MarkedListItem}. The latter prepends the child with a marker\n * box containing a marker string representation for this child index.\n *\n * See {@link https://www.w3.org/TR/css-lists-3/#markers | CSS Lists and Counters Module Level 3, Markers}.\n *\n * @public\n */\nexport default function MarkedList({\n children,\n Container = Fragment,\n ...props\n}: PropsWithChildren) {\n const normalChildren = Children.toArray(children);\n const listProps = useMarkedList({ ...props, length: normalChildren.length });\n return React.createElement(\n Container,\n {},\n normalChildren.map((child, index) => {\n return (\n \n {child}\n \n );\n })\n );\n}\n","import React, { PropsWithChildren } from 'react';\nimport { StyleProp, StyleSheet, View, ViewStyle } from 'react-native';\nimport { MarkedListProps } from './shared-types';\n\n/**\n * Props for the {@link MarkedListItem} component.\n *\n * @public\n */\nexport type MarkedListItemProps = Required<\n Pick<\n MarkedListProps,\n | 'counterRenderer'\n | 'renderMarker'\n | 'markerTextStyle'\n | 'markerBoxStyle'\n | 'rtlLineReversed'\n | 'rtlMarkerReversed'\n | 'startIndex'\n >\n> & {\n index: number;\n markerTextWidth: number | false;\n maxNumOfCodepoints: number;\n enableMarkerClipping: boolean;\n style: StyleProp;\n};\n\n/**\n * A component which reproduces CSS3 `display: list-item;` behavior. It\n * prepends its child with a marker box containing a marker string\n * representation for this child index.\n *\n * See {@link https://www.w3.org/TR/css-lists-3/#markers | CSS Lists and Counters Module Level 3, Markers}.\n *\n * @public\n */\nexport default function MarkedListItem({\n counterRenderer,\n index,\n startIndex,\n rtlLineReversed,\n rtlMarkerReversed,\n markerTextStyle,\n markerBoxStyle,\n maxNumOfCodepoints,\n markerTextWidth,\n style,\n renderMarker,\n enableMarkerClipping,\n children\n}: PropsWithChildren) {\n return (\n \n {renderMarker({\n counterRenderer,\n rtlMarkerReversed:\n typeof rtlMarkerReversed === 'boolean' ? rtlMarkerReversed : true,\n counterIndex: index + startIndex,\n maxNumOfCodepoints,\n style: markerBoxStyle,\n markerTextStyle,\n markerTextWidth,\n enableMarkerClipping\n })}\n {children}\n \n );\n}\n\nconst styles = StyleSheet.create({\n lineLtr: { flexWrap: 'nowrap', alignSelf: 'stretch', flexDirection: 'row' },\n lineRtl: {\n flexWrap: 'nowrap',\n alignSelf: 'stretch',\n flexDirection: 'row-reverse'\n }\n});\n","import React, { useMemo } from 'react';\nimport { I18nManager } from 'react-native';\nimport MarkerBox from './MarkerBox';\nimport { MarkedListItemProps } from './MarkedListItem';\nimport { MarkedListProps } from './shared-types';\n\nconst defaultRenderMarker: NonNullable = (\n props\n) => React.createElement(MarkerBox, props);\n\nconst defaultComputeMarkerBoxWidth: NonNullable<\n MarkedListProps['computeMarkerBoxWidth']\n> = (maxNumOfCodepoints, fontSize) => maxNumOfCodepoints * fontSize * 0.6;\n\nconst DEFAULT_FONT_SIZE = 14;\n\n/**\n * A hook to reuse MarkedList logic to render custom lists components in\n * combination with {@link MarkedListItem}.\n *\n * @public\n */\nexport default function useMarkedList({\n counterRenderer,\n startIndex = 1,\n lineStyle,\n rtlLineReversed = false,\n rtlMarkerReversed = false,\n markerTextStyle,\n markerBoxStyle,\n dynamicMarkerBoxWidth = true,\n length = 0,\n renderMarker = defaultRenderMarker,\n enableMarkerClipping = false,\n computeMarkerBoxWidth = defaultComputeMarkerBoxWidth\n}: MarkedListProps & { length: number }): Omit {\n const maxNumOfCodepoints = useMemo(\n () =>\n counterRenderer.maxMarkerLenInRange(startIndex, startIndex + length - 1),\n [counterRenderer, length, startIndex]\n );\n const syntheticRtlLineReversed = !I18nManager.isRTL && rtlLineReversed;\n const markerTextWidth = useMemo(\n () =>\n dynamicMarkerBoxWidth &&\n computeMarkerBoxWidth(\n maxNumOfCodepoints,\n markerTextStyle?.fontSize ?? DEFAULT_FONT_SIZE\n ),\n [\n computeMarkerBoxWidth,\n markerTextStyle?.fontSize,\n maxNumOfCodepoints,\n dynamicMarkerBoxWidth\n ]\n );\n const renderer = useMemo(\n () =>\n rtlMarkerReversed\n ? counterRenderer.withRtl(\n rtlMarkerReversed === true ? undefined : rtlMarkerReversed\n )\n : counterRenderer,\n [counterRenderer, rtlMarkerReversed]\n );\n const syntheticMarkerTextStyle = useMemo(\n () =>\n ({\n flexGrow: 0,\n flexShrink: 0,\n fontSize: DEFAULT_FONT_SIZE,\n textAlign: syntheticRtlLineReversed ? 'left' : 'right',\n alignSelf: syntheticRtlLineReversed ? 'flex-start' : 'flex-end',\n ...markerTextStyle\n } as const),\n [markerTextStyle, syntheticRtlLineReversed]\n );\n return {\n maxNumOfCodepoints,\n rtlMarkerReversed,\n markerTextWidth,\n renderMarker,\n startIndex,\n rtlLineReversed: syntheticRtlLineReversed,\n markerTextStyle: syntheticMarkerTextStyle,\n markerBoxStyle: markerBoxStyle as any,\n counterRenderer: renderer,\n style: lineStyle,\n enableMarkerClipping\n };\n}\n","import React from 'react';\nimport { Text, TextProps, View } from 'react-native';\nimport { MarkerBoxProps } from './shared-types';\n\nconst markerClipConfig: Partial = {\n numberOfLines: 1,\n ellipsizeMode: 'clip'\n};\n\n/**\n * Default component to render the list marker.\n *\n * See {@link https://www.w3.org/TR/css-lists-3/#marker-pseudo | CSS Lists and Counters Module Level 3, Markers}\n *\n * @public\n */\nexport default function MarkerBox({\n style,\n counterRenderer,\n counterIndex,\n markerTextStyle,\n markerTextWidth,\n enableMarkerClipping\n}: MarkerBoxProps) {\n const markerStyle =\n typeof markerTextWidth === 'number'\n ? [markerTextStyle, { width: markerTextWidth }]\n : markerTextStyle;\n return (\n \n \n {counterRenderer.renderMarker(counterIndex)}\n \n \n );\n}\n","import type { CounterStyleRenderer, RtlOptions } from '@jsamr/counter-style';\nimport type { ComponentType, ReactNode } from 'react';\nimport type { StyleProp, ViewStyle, TextStyle } from 'react-native';\n\n/**\n * Props for the {@link MarkerBox} component.\n *\n * @public\n */\nexport interface MarkerBoxProps {\n /**\n * Style for the container `Text` element.\n */\n style: StyleProp;\n /**\n * Style for any text element. Should not contain CSS box model properties.\n */\n markerTextStyle: TextStyle;\n /**\n * The width for the marker text element.\n */\n markerTextWidth: number | false;\n /**\n * The renderer to generate the marker string.\n */\n counterRenderer: CounterStyleRenderer;\n /**\n * The index to render.\n */\n counterIndex: number;\n /**\n * The maximum length of the `markerString` in range.\n */\n maxNumOfCodepoints: number;\n /**\n * Whether to reverse or not the order of elements in marker (prefix,\n * counter, suffix).\n */\n rtlMarkerReversed: boolean;\n /**\n * Clip the marker text when it overflows the marker box.\n */\n enableMarkerClipping: boolean;\n}\n\n/**\n * Props for the {@link MarkedList} component.\n *\n * @public\n */\nexport interface MarkedListProps {\n /**\n * The counter renderer for this list.\n */\n counterRenderer: CounterStyleRenderer;\n /**\n * Set the line layout in `flexDirection: 'row-reverse'` and left-align the\n * marker box.\n *\n * @remarks Will be ignored if `I18nManager.isRTL` is `true`.\n *\n * @defaultValue false\n */\n rtlLineReversed?: boolean;\n /**\n * Should the marker string be rendered in reverse order?\n *\n * @remarks Fine-grained options are available when you provide an option\n * object. See `@jsamr/counter-style` documentation.\n *\n * @defaultValue false\n */\n rtlMarkerReversed?: true | false | RtlOptions;\n /**\n * Should the width of the marker box be computed dynamically, e.g. depend on\n * the longest marker in the list?\n *\n * @defaultValue true\n */\n dynamicMarkerBoxWidth?: boolean;\n /**\n * The index for the first item in the list. Negative indexes are supported.\n *\n * @defaultValue 1\n */\n startIndex?: number;\n /**\n * Style for the line wrapper.\n */\n lineStyle?: StyleProp;\n /**\n * A plain JavaScript object text style for the marker string. It is\n * advised to pass the same `fontSize` and `lineHeight` as the list content\n * for perfect horizontal alignment.\n *\n * @remarks It should not contain CSS box model properties and it should be a\n * plain JavaScript object. **Do not** use StyleSheet or array styles.\n */\n markerTextStyle?: TextStyle;\n /**\n * Style for the marker box container.\n *\n * @remarks It is discouraged to set\n * `(min,max)width` when {@link MarkedListProps.dynamicMarkerBoxWidth} is set\n * to `true`. In that case, use {@link MarkedListProps.computeMarkerBoxWidth}\n * instead.\n */\n markerBoxStyle?: StyleProp;\n /**\n * A function to compute marker box width depending on the maximum length of\n * the marker string in range.\n *\n * @remarks\n * - Font size is derived from `markerStyle` prop.\n * - Will be ignored when {@link MarkedListProps.dynamicMarkerBoxWidth} is\n * set to `false`.\n */\n computeMarkerBoxWidth?: (\n maxCodepointsLengthInRange: number,\n fontSize: number\n ) => number;\n /**\n * A custom Marker render function.\n *\n * @remarks You are advised to use {@link MarkerBox} component.\n */\n renderMarker?: (props: MarkerBoxProps) => ReactNode;\n /**\n * The component used to wrap list elements.\n *\n * @defaultValue Fragment\n */\n Container?: ComponentType;\n /**\n * Clip the marker text when it overflows the marker box.\n *\n * @defaultValue false\n */\n enableMarkerClipping?: boolean;\n}\n","import React from 'react';\nimport { InternalBlockRenderer } from '../render/render-types';\nimport {\n InternalRendererProps,\n DefaultSupportedListStyleType\n} from '../shared-types';\nimport { TBlock } from '@native-html/transient-render-engine';\nimport ULElement, { ULElementProps } from '../elements/ULElement';\nimport { useRendererProps } from '../context/RenderersPropsProvider';\n\nfunction getFallbackListStyleTypeFromNestLevel(\n nestLevel: number\n): DefaultSupportedListStyleType {\n switch (nestLevel % 3) {\n case 0:\n return 'disc';\n\n /* istanbul ignore next */\n case 1:\n return 'circle';\n\n /* istanbul ignore next */\n default:\n return 'square';\n }\n}\n\nexport function useULElementProps(\n props: InternalRendererProps\n): ULElementProps {\n const config = useRendererProps('ul');\n return {\n ...props,\n getFallbackListStyleTypeFromNestLevel,\n ...config\n };\n}\n\nconst ULRenderer: InternalBlockRenderer = (props) => {\n return React.createElement(ULElement, useULElementProps(props));\n};\n\nexport default ULRenderer;\n","import React from 'react';\nimport ListElement, { ListElementProps } from './ListElement';\n\nexport type ULElementProps = Omit, 'listType'>;\n\nexport default function ULElement(props: ULElementProps) {\n return React.createElement(ListElement, {\n ...props,\n listType: 'ul'\n });\n}\n","import React from 'react';\nimport { Text } from 'react-native';\nimport { TPhrasing, TText } from '@native-html/transient-render-engine';\nimport { TDefaultRendererProps } from './shared-types';\nimport getNativePropsForTNode from './helpers/getNativePropsForTNode';\n\nconst renderTextualContent = (\n props: TDefaultRendererProps\n) => {\n return React.createElement(Text, getNativePropsForTNode(props));\n};\n\nexport default renderTextualContent;\n","import React from 'react';\nimport { TDefaultRendererProps } from './shared-types';\nimport GenericPressable from './GenericPressable';\nimport getNativePropsForTNode from './helpers/getNativePropsForTNode';\nimport { View } from 'react-native';\nimport { TBlock } from '@native-html/transient-render-engine';\n\nfunction renderBlockContent(props: TDefaultRendererProps) {\n const nativeProps = getNativePropsForTNode(props);\n return React.createElement(\n typeof nativeProps.onPress === 'function' ? GenericPressable : View,\n nativeProps\n );\n}\nexport default renderBlockContent;\n","import { TNode } from '@native-html/transient-render-engine';\nimport { TNodeSubRendererProps } from './internal-types';\n\nfunction renderEmptyContent({ tnode }: TNodeSubRendererProps) {\n if (typeof __DEV__ !== 'undefined' && __DEV__) {\n if (tnode.isUnregistered) {\n console.warn(\n `There is no custom renderer registered for tag \"${tnode.tagName}\" which is not part of the HTML5 standard. The tag will not be rendered.` +\n ' If you don\\'t want this tag to be rendered, add it to \"ignoredDomTags\" prop array. If you do, register an HTMLElementModel for this tag with \"customHTMLElementModels\" prop.'\n );\n } else if (tnode.tagName !== 'head') {\n console.warn(\n `The \"${tnode.tagName}\" tag is a valid HTML element but is not handled by this library. You must extend the default HTMLElementModel for this tag with \"customHTMLElementModels\" prop and make sure its content model is not set to \"none\".` +\n ' If you don\\'t want this tag to be rendered, add it to \"ignoredDomTags\" prop array.'\n );\n }\n }\n return null;\n}\n\nexport default renderEmptyContent;\n","import { TNode } from '@native-html/transient-render-engine';\nimport getCollapsedMarginTop from './getCollapsedMarginTop';\n\nfunction isCollapsible(tnode: TNode) {\n return tnode.type === 'block' || tnode.type === 'phrasing';\n}\n\n/**\n * Compute top collapsed margin for the nth {@link TNode}-child of a list of\n * TNodes.\n *\n * @param n - The index for which the top margin should be collapsed.\n * @param tchildren - The list of {@link TNode} children.\n * @returns `null` when no margin collapsing should apply, a number otherwise.\n * @public\n */\nexport default function collapseTopMarginForChild(\n n: number,\n tchildren: readonly TNode[]\n): number | null {\n const childTnode = tchildren[n];\n if (isCollapsible(childTnode) && n > 0 && isCollapsible(tchildren[n - 1])) {\n return getCollapsedMarginTop(tchildren[n - 1], childTnode);\n }\n return null;\n}\n","import { TNode } from '@native-html/transient-render-engine';\n\n/**\n * Compute a TNode top margin to satisfy requirements expressed in CSS\n * standard regarding margin collapsing.\n *\n * See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing\n * for a reference.\n *\n * @param precedent - The node above the one for which we need to compute top margin.\n * @param current - The node for which a margin top might collapse.\n */\nexport default function getCollapsedMarginTop(\n precedent: TNode,\n current: TNode\n): null | number {\n const topMostMarginBottom =\n typeof precedent.styles.nativeBlockRet.marginBottom === 'number'\n ? precedent.styles.nativeBlockRet.marginBottom\n : null;\n const bottomMostMarginTop =\n typeof current.styles.nativeBlockRet.marginTop === 'number'\n ? current.styles.nativeBlockRet.marginTop\n : null;\n if (topMostMarginBottom == null || bottomMostMarginTop == null) {\n return null;\n }\n if (topMostMarginBottom < 0 && bottomMostMarginTop < 0) {\n return (\n Math.min(topMostMarginBottom, bottomMostMarginTop) - topMostMarginBottom\n );\n }\n if (topMostMarginBottom < 0 || bottomMostMarginTop < 0) {\n return topMostMarginBottom + bottomMostMarginTop - topMostMarginBottom;\n }\n if (topMostMarginBottom > bottomMostMarginTop) {\n return 0;\n }\n return bottomMostMarginTop - topMostMarginBottom;\n}\n","import { FunctionComponent } from 'react';\nimport { TChildrenRendererProps } from './shared-types';\nimport renderChildren from './renderChildren';\n\n/**\n * A component to render collections of tnodes.\n * Especially useful when used with {@link useTNodeChildrenProps}.\n */\nconst TChildrenRenderer: FunctionComponent =\n renderChildren.bind(null);\n\nexport const tchildrenRendererDefaultProps: Pick<\n TChildrenRendererProps,\n 'propsForChildren'\n> = {\n propsForChildren: {}\n};\n\n/**\n * @ignore\n */\nTChildrenRenderer.defaultProps = tchildrenRendererDefaultProps;\n\nexport default TChildrenRenderer;\n","import React from 'react';\nimport { ActivityIndicator, StyleSheet, Text, View } from 'react-native';\nimport { RenderHTMLConfig, HTMLSourceUri } from '../shared-types';\n\nconst styles = StyleSheet.create({\n alignCenter: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center'\n },\n errorText: {\n fontStyle: 'italic',\n fontSize: 16\n }\n});\n\nexport function defaultRenderError(source: HTMLSourceUri) {\n return (\n \n \n Failed to load HTML from {source.uri}\n \n \n );\n}\n\nexport function defaultRenderLoading() {\n return (\n \n \n \n );\n}\n\nconst sourceLoaderContext = React.createContext<\n Pick, 'remoteErrorView' | 'remoteLoadingView'>\n>({\n remoteErrorView: defaultRenderError,\n remoteLoadingView: defaultRenderLoading\n});\n\nexport default sourceLoaderContext;\n","import equals from 'ramda/src/equals';\nimport React, { memo, ReactElement, useMemo } from 'react';\nimport { Dimensions } from 'react-native';\nimport PropTypes from 'prop-types';\nimport ttreeEventsContext from './context/ttreeEventsContext';\nimport isUriSource from './helpers/isUriSource';\nimport { SourceLoaderProps, TTreeEvents } from './internal-types';\nimport {\n HTMLSourceDom,\n HTMLSourceInline,\n RenderHTMLSourceProps,\n HTMLSourceUri,\n HTMLSource\n} from './shared-types';\nimport SourceLoaderUri from './SourceLoaderUri';\nimport SourceLoaderInline from './SourceLoaderInline';\nimport SourceLoaderDom from './SourceLoaderDom';\nimport debugMessage from './debugMessages';\nimport contentWidthContext from './context/contentWidthContext';\nimport isDomSource from './helpers/isDomSource';\nimport useProfiler from './hooks/useProfiler';\n\nexport type RenderHTMLSourcePropTypes = Record<\n keyof RenderHTMLSourceProps,\n any\n>;\n\nexport const renderSourcePropTypes: RenderHTMLSourcePropTypes = {\n source: PropTypes.oneOfType([\n PropTypes.shape({\n html: PropTypes.string.isRequired,\n baseUrl: PropTypes.string\n }),\n PropTypes.shape({\n dom: PropTypes.object.isRequired,\n baseUrl: PropTypes.string\n }),\n PropTypes.shape({\n uri: PropTypes.string.isRequired,\n method: PropTypes.string,\n body: PropTypes.any,\n headers: PropTypes.object\n })\n ]),\n onTTreeChange: PropTypes.func,\n onHTMLLoaded: PropTypes.func,\n onDocumentMetadataLoaded: PropTypes.func,\n contentWidth: PropTypes.number\n};\n\nfunction isEmptySource(source: undefined | HTMLSource) {\n return (\n !source ||\n (typeof (source as HTMLSourceUri).uri !== 'string' &&\n typeof (source as HTMLSourceInline).html !== 'string' &&\n !(source as HTMLSourceDom).dom)\n );\n}\n\nfunction RawSourceLoader({\n source,\n ...props\n}: SourceLoaderProps): ReactElement | null {\n if (isEmptySource(source)) {\n /* istanbul ignore next */\n if (typeof __DEV__ === 'boolean' && __DEV__) {\n console.warn(debugMessage.noSource);\n }\n return null;\n }\n if (isUriSource(source)) {\n return React.createElement(SourceLoaderUri, { source, ...props });\n }\n if (isDomSource(source)) {\n return React.createElement(SourceLoaderDom, { source, ...props });\n }\n return React.createElement(SourceLoaderInline, { source, ...props });\n}\n\n// check if for each key of two objects, the values are equal\nfunction shallowEqual(prop1: any, prop2: any) {\n if (!equals(Object.keys(prop1), Object.keys(prop2))) {\n return false;\n }\n for (const key in prop1) {\n if (prop1[key] !== prop2[key]) {\n return false;\n }\n }\n return true;\n}\n\n/**\n * A React component to render HTML snippets.\n *\n * @remarks This component is useful when you have to load dozens of HTML\n * snippets with the same config. Performance is expected to improve in such\n * scenarios.\n *\n * @warning This component requires to have {@link TRenderEngineProvider}\n * and {@link RenderHTMLConfigProvider} as parents.\n */\nconst RenderHTMLSource = memo(\n function RenderHtmlSource({\n onDocumentMetadataLoaded,\n onTTreeChange,\n contentWidth,\n ...props\n }: RenderHTMLSourceProps) {\n const profile = useProfiler({\n prop: 'onDocumentMetadataLoaded or onTTreeChange'\n });\n const ttreeEvents: TTreeEvents = useMemo(() => {\n typeof __DEV__ === 'boolean' && __DEV__ && profile();\n return {\n onDocumentMetadataLoaded,\n onTTreeChange\n };\n }, [onDocumentMetadataLoaded, onTTreeChange, profile]);\n if (typeof __DEV__ === 'boolean' && __DEV__) {\n if (!(typeof contentWidth === 'number')) {\n console.warn(debugMessage.contentWidth);\n }\n }\n return (\n \n \n {React.createElement(RawSourceLoader, props)}\n \n \n );\n },\n ({ source: prevSource, ...prev }, { source: currSource, ...curr }) => {\n return shallowEqual(prevSource, currSource) && shallowEqual(prev, curr);\n }\n);\n\n/**\n * @ignore\n */\n(RenderHTMLSource as any).propTypes = renderSourcePropTypes;\n\nexport default RenderHTMLSource;\n","import { createContext } from 'react';\nimport { TTreeEvents } from '../internal-types';\n\nconst ttreeEventsContext = createContext({});\n\nexport default ttreeEventsContext;\n","import { HTMLSource, HTMLSourceUri } from '../shared-types';\n\nexport default function isUriSource(\n source: HTMLSource\n): source is HTMLSourceUri {\n return 'uri' in source && typeof source.uri === 'string';\n}\n","import React, { useContext, useEffect, useState } from 'react';\nimport { HTMLSourceUri } from './shared-types';\nimport { SourceLoaderProps } from './internal-types';\nimport RenderTTree from './RenderTTree';\nimport sourceLoaderContext from './context/sourceLoaderContext';\n\ninterface LoaderInternalState {\n error: boolean;\n resolvedHTML: string | null;\n}\n\nconst ERROR_STATE = {\n error: true,\n resolvedHTML: null\n};\n\nasync function loadHTMLResource(\n uri: string,\n { body, headers, method }: Omit\n): Promise {\n const response = await fetch(uri, {\n body,\n headers,\n method\n });\n if (response.ok) {\n const html = await response.text();\n return {\n resolvedHTML: html,\n error: false\n };\n }\n return ERROR_STATE;\n}\n\nexport type UriSourceLoaderProps = {\n source: HTMLSourceUri;\n} & SourceLoaderProps;\n\nfunction useUriSourceLoader({ source, onHTMLLoaded }: UriSourceLoaderProps) {\n const [loadState, setState] = useState({\n error: false,\n resolvedHTML: null\n });\n const { error } = loadState;\n\n // Effect to reload on uri changes\n useEffect(() => {\n let cancelled = false;\n if (!error) {\n setState({ error: false, resolvedHTML: null });\n loadHTMLResource(source.uri, {\n body: source.body,\n headers: source.headers,\n method: source.method\n })\n .then((state) => {\n !cancelled && setState(state);\n })\n .catch(() => {\n !cancelled && setState(ERROR_STATE);\n });\n }\n return () => {\n cancelled = true;\n };\n }, [error, source.uri, source.body, source.headers, source.method]);\n useEffect(() => {\n loadState.resolvedHTML && onHTMLLoaded?.call(null, loadState.resolvedHTML);\n }, [loadState.resolvedHTML, onHTMLLoaded]);\n return loadState;\n}\n\nexport default function SourceLoaderUri(props: UriSourceLoaderProps) {\n const { remoteErrorView, remoteLoadingView } =\n useContext(sourceLoaderContext);\n const { resolvedHTML, error } = useUriSourceLoader(props);\n if (error) {\n return remoteErrorView.call(null, props.source);\n }\n if (resolvedHTML === null) {\n return remoteLoadingView.call(null, props.source);\n }\n return React.createElement(RenderTTree, {\n document: resolvedHTML!,\n baseUrl: props.source.uri\n });\n}\n","import React, { useContext } from 'react';\nimport ttreeEventsContext from './context/ttreeEventsContext';\nimport useTTree from './hooks/useTTree';\nimport { RenderTTreeProps } from './internal-types';\nimport TDocumentRenderer from './TDocumentRenderer';\n\nexport default function RenderTTree(props: RenderTTreeProps) {\n const ttree = useTTree(props);\n const { onDocumentMetadataLoaded } = useContext(ttreeEventsContext);\n return (\n \n );\n}\n","import { useMemo, useEffect, useRef, useContext } from 'react';\nimport ttreeEventsContext from '../context/ttreeEventsContext';\nimport { useSharedProps } from '../context/SharedPropsProvider';\nimport { RenderTTreeProps } from '../internal-types';\nimport { useAmbientTRenderEngine } from '../TRenderEngineProvider';\nimport { TDocument } from '@native-html/transient-render-engine';\n\nfunction useTTreeChangeEffect(ttree: TDocument) {\n const { onTTreeChange } = useContext(ttreeEventsContext);\n const { debug } = useSharedProps();\n const updateNumber = useRef(0);\n useEffect(() => {\n onTTreeChange?.call(null, ttree);\n if (debug && typeof __DEV__ === 'boolean' && __DEV__) {\n console.info(\n `Transient Render Tree update ${++updateNumber.current}:\\n${ttree.snapshot(\n {\n withNodeIndex: false,\n withStyles: false\n }\n )}`\n );\n }\n }, [ttree, onTTreeChange, debug]);\n}\n\n/**\n * @internal\n */\nexport default function useTTree(props: RenderTTreeProps) {\n const { document } = props;\n const trenderEngine = useAmbientTRenderEngine();\n const ttree = useMemo(\n () =>\n typeof document === 'string'\n ? trenderEngine.buildTTree(document)\n : trenderEngine.buildTTreeFromDoc(document),\n [document, trenderEngine]\n );\n useTTreeChangeEffect(ttree);\n return ttree;\n}\n","import React, { memo, useEffect, useMemo } from 'react';\nimport { TDocument } from '@native-html/transient-render-engine';\nimport { DocumentMetadata, RenderHTMLSourceProps } from './shared-types';\nimport DocumentMetadataProvider from './context/DocumentMetadataProvider';\nimport TNodeRenderer from './TNodeRenderer';\n\nconst TDocumentRenderer = memo(\n ({\n tdoc,\n baseUrl,\n onDocumentMetadataLoaded\n }: {\n baseUrl?: string;\n onDocumentMetadataLoaded?: RenderHTMLSourceProps['onDocumentMetadataLoaded'];\n tdoc: TDocument;\n }) => {\n const metadata: DocumentMetadata = useMemo(() => {\n const { baseHref, baseTarget, lang, links, meta, title, dir } =\n tdoc.context;\n return {\n baseTarget,\n baseUrl: baseUrl ?? baseHref,\n lang,\n dir,\n links,\n meta,\n title\n };\n }, [tdoc.context, baseUrl]);\n useEffect(() => {\n onDocumentMetadataLoaded?.call(null, metadata);\n }, [onDocumentMetadataLoaded, metadata]);\n return (\n \n \n \n );\n }\n);\nexport default TDocumentRenderer;\n","import React, { useEffect } from 'react';\nimport { SourceLoaderProps } from './internal-types';\nimport RenderTTree from './RenderTTree';\nimport { HTMLSourceInline } from './shared-types';\n\nexport type InlineSourceLoaderProps = {\n source: HTMLSourceInline;\n} & SourceLoaderProps;\n\nfunction useInlineSourceLoader({\n source,\n onHTMLLoaded\n}: InlineSourceLoaderProps) {\n const html = source.html;\n useEffect(() => {\n html && onHTMLLoaded?.call(null, html);\n }, [html, onHTMLLoaded]);\n return source;\n}\n\nexport default function SourceLoaderInline(props: InlineSourceLoaderProps) {\n const { html } = useInlineSourceLoader(props);\n return React.createElement(RenderTTree, {\n document: html,\n baseUrl: props.source.baseUrl\n });\n}\n","import React from 'react';\nimport { SourceLoaderProps } from './internal-types';\nimport RenderTTree from './RenderTTree';\nimport { HTMLSourceDom } from './shared-types';\n\nexport type DomSourceLoaderProps = {\n source: HTMLSourceDom;\n} & SourceLoaderProps;\n\nexport default function SourceLoaderDom(props: DomSourceLoaderProps) {\n return React.createElement(RenderTTree, {\n document: props.source.dom,\n baseUrl: props.source.baseUrl\n });\n}\n","import { HTMLSource, HTMLSourceDom } from '../shared-types';\n\nexport default function isDomSource(\n source: HTMLSource\n): source is HTMLSourceDom {\n return 'dom' in source && typeof source.dom === 'object' && !!source.dom;\n}\n","import type {\n AccessibilityProps,\n GestureResponderEvent,\n StyleProp,\n TextProps,\n TextStyle,\n TouchableHighlightProps,\n ViewProps,\n ViewStyle\n} from 'react-native';\nimport type {\n CSSPropertyNameList,\n Document,\n DocumentContext as TREDocumentContext,\n DomVisitorCallbacks,\n Element,\n EmbeddedTagNames,\n HTMLContentModel,\n HTMLElementModel,\n MixedStyleDeclaration,\n MixedStyleRecord,\n NativeBlockStyles,\n NativeTextStyles,\n Node,\n NodeWithChildren,\n SetMarkersForTNode,\n StylessReactNativeProps,\n TDocument,\n TNode,\n TPhrasing,\n TRenderEngineOptions,\n TText\n} from '@native-html/transient-render-engine';\nimport type { CounterStyleRenderer } from '@jsamr/counter-style';\nimport type { ComponentType, ReactElement, ReactNode } from 'react';\nimport type { CustomTagRendererRecord } from './render/render-types';\nimport type { ParserOptions as HtmlParserOptions } from 'htmlparser2';\n\n/**\n * A record of HTMLElementModels.\n *\n * @public\n */\nexport type HTMLElementModelRecord = Record<\n string,\n HTMLElementModel\n>;\n\n/**\n * @public\n */\nexport interface ImageDimensions {\n height: number;\n width: number;\n}\n\n/**\n * Props for custom Pressable components.\n *\n * @public\n */\nexport interface GenericPressableProps extends AccessibilityProps {\n borderless?: boolean;\n onPress?: TouchableHighlightProps['onPress'];\n style?: StyleProp;\n}\n\n/**\n * Configuration for ol and ul.\n *\n * @public\n */\nexport interface ListElementConfig {\n /**\n * When `true`, the width of the marker box will be adapted depending on\n * `fontSize` and the highest number of characters in the printed range.\n *\n * If this length is superior than the left (or right in ltr mode) padding,\n * a supplemental space will be added before every list child.\n *\n * When `false`, the left (or right in ltr mode) padding will be invariable.\n *\n * @defaultValue false\n */\n enableDynamicMarkerBoxWidth?: boolean;\n /**\n * If `true` and the direction is set to `'rtl'` (either via `dir` attribute\n * or `direction` CSS property):\n *\n * - lists markers will be flushed to the right when `I18nManager.isRtl` is `false`.\n * - list markers prefixes and suffixes print order will be reversed.\n *\n * @remarks Beware that left and right padding of li elements *will not*\n * be switched.\n *\n * @defaultValue false\n */\n enableExperimentalRtl?: boolean;\n /**\n * Remove bottom margin if this element parent is an `li` element and it\n * is its last child.\n *\n * @defaultValue true\n */\n enableRemoveBottomMarginIfNested?: boolean;\n /**\n * Remove top margin if this element parent is an `li` element and it\n * is its first child.\n *\n * @defaultValue true\n */\n enableRemoveTopMarginIfNested?: boolean;\n /**\n * Get default list-style-type given the number of nest level for this list.\n *\n * @remarks This function will not be used when a list element has its own\n * `list-style-type` CSS property, or has inherited this property from\n * parents.\n *\n * @param nestLevel - The number of parents elements with the same tag name.\n */\n getFallbackListStyleTypeFromNestLevel?: (\n nestLevel: number\n ) => DefaultSupportedListStyleType;\n /**\n * Customize the marker box appearance (the `View` containing the marker,\n * e.g. the symbol prefixing list elements).\n *\n * @remarks This is useful to set some right padding or a different background for example.\n *\n * @warning **Do not**:\n * - Use margin (since the width will match the `

    ` / `
      ` padding left)\n * - Set width constraints (since the width will match the `
        ` / `
          ` padding left)\n */\n markerBoxStyle?: StyleProp;\n /**\n * Customize the marker text appearance (the `Text` component in which the marker,\n * e.g. the symbol prefixing list elements).\n *\n * @remarks Useful to set the color, fontFamily, fontSize of the marker.\n * Avoid using padding here, take advantage of `markerBoxStyle` instead.\n *\n * @warning This style must be a style object! Arrays, and `Stylesheet` styles will not work.\n */\n markerTextStyle?: TextStyle;\n}\n\n/**\n * Props for custom renderers. The convention is to declare a field per tag name.\n * In doing so, you can benefit from `useRendererProps('tagname')` in custom renderers.\n *\n * @remarks **Typescript users**: If you need to add fields to the {@link RenderersProps} interface,\n * you should use {@link https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation | module augmentation}:\n *\n * ```ts\n * declare module 'react-native-render-html' {\n * interface RenderersProps {\n * div?: {\n * customProp: boolean;\n * };\n * }\n * }\n * @public\n */\nexport interface RenderersProps extends Record {\n a: {\n /**\n * A callback to handle anchors presses.\n *\n * @remarks The `href` argument has been normalized, see {@link useNormalizedUrl}.\n *\n * @defaultValue A function using React Native `Linking.onpenUrl`.\n * @param event - The {@link GestureResponderEvent} event.\n * @param href - The normalized href, see {@link useNormalizedUrl}.\n * @param htmlAttribs - The attributes of the underlying {@link Element}.\n * @param target - The normalized `target` for this hyperlink.\n */\n onPress?: (\n event: GestureResponderEvent,\n href: string,\n htmlAttribs: Record,\n target: '_blank' | '_self' | '_parent' | '_top'\n ) => void;\n };\n img: {\n /**\n * Support for relative percent-widths.\n *\n * @defaultValue false\n */\n enableExperimentalPercentWidth?: boolean;\n /**\n * Default width and height to display while image's dimensions are being retrieved.\n *\n * @remarks Changes to this prop will cause a react tree update. Always\n * memoize it.\n */\n initialDimensions?: ImageDimensions;\n };\n ol: ListElementConfig;\n ul: ListElementConfig;\n}\n\n/**\n * Props passed to internal and custom renderers.\n *\n * @public\n */\nexport interface RenderHTMLPassedProps {\n /**\n * Props to use in custom renderers with `useRendererProps`.\n *\n * @remarks\n * - When you use the hook, you'll get this object deep-merged with default renderers props.\n * - **Typescript users**: If you need to add fields to the {@link RenderersProps} interface,\n * you should use {@link https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation | module augmentation}:\n *\n * ```ts\n * declare module 'react-native-render-html' {\n * interface RenderersProps {\n * div?: {\n * customProp: boolean;\n * };\n * }\n * }\n * ```\n */\n renderersProps?: Partial;\n}\n\n/**\n * A map which defines the type of parameters passed as third argument\n * of {@link EmbeddedHeadersProvider}.\n */\nexport interface EmbeddedWithHeadersParamsMap\n extends Record> {\n img: {\n /**\n * The print height of the image in DPI, if it can be determined beforehand\n * (for example, with a _height_ attribute set or an inline style).\n */\n printHeight?: number;\n /**\n * The print width of the image in DPI, if it can be determined beforehand\n * (for example, with a _width_ attribute set or an inline style).\n */\n printWidth?: number;\n };\n}\n\n/**\n * Tag names eligible for headers provision.\n */\nexport type EmbeddedWithHeadersTagName = Exclude<\n EmbeddedTagNames,\n 'svg' | 'canvas' | 'math'\n>;\n\n/**\n * A function to provide headers to a peculiar embedded element.\n */\nexport type EmbeddedHeadersProvider = (\n uri: string,\n tagName: T,\n params: EmbeddedWithHeadersParamsMap[T]\n) => Record | null | void;\n\n/**\n * Props shared across renderers.\n *\n * @warning Shared props changes will cause all the React tree to invalidate. You should\n * always memoize these.\n *\n * @public\n */\nexport interface RenderHTMLSharedProps {\n /**\n * A component used to wrap pressable elements (e.g. when provided `onPress`).\n * Note that textual elements will not be wrapped; `TextProps.onPress` will\n * be used instead.\n *\n * @defaultValue A `TouchableNativeFeedback` based component on Android, `TouchableHighlight` based component on other platforms.\n */\n GenericPressable?: ComponentType;\n\n /**\n * The WebView component used by plugins (iframe, table)...\n * See {@link https://github.com/native-html/plugins | @native-html/plugins}.\n *\n * @defaultValue `() => null`\n */\n WebView?: ComponentType;\n\n /**\n * When `true` (default), anonymous {@link TPhrasing} nodes parents of a\n * lonely {@link TText} node are not translated as React Native `Text`\n * elements. Instead, their child is directly rendered, e.g. with no `Text`\n * wrapper.\n *\n * @example **With `true`:**\n *\n * ```xml\n * \n * Hello\n * \n * ```\n *\n * is translated to\n *\n * ```xml\n * Hello\n * ```\n *\n * **With `false`:**\n *\n * ```xml\n * \n * Hello\n * \n * ```\n *\n * is translated to\n *\n * ```xml\n * Hello\n * ```\n *\n * @warning Unless strictly necessary, this should be left to `true` because\n * some styles don't apply to nested React Native `Text` elements\n * (`borderRadius`, `padding`...).\n *\n * @defaultValue true\n */\n bypassAnonymousTPhrasingNodes?: boolean;\n\n /**\n * A function which takes contentWidth and tagName as arguments and returns a\n * new width. Can return Infinity to denote unconstrained widths.\n *\n * @param contentWidth - The available width in this {@link RenderHTML} component.\n * @param tagName - The tagName of this element to render, e.g. \"img\".\n *\n * @remarks\n * - Take advantage of {@link useComputeMaxWidthForTag} hook inside custom\n * renderers to get the maximum width for this tag.\n * - Changes to this prop will cause a react tree update. Always\n * memoize it.\n *\n * @defaultValue `(c) => c`\n */\n computeEmbeddedMaxWidth?: (contentWidth: number, tagName: string) => number;\n\n /**\n * Provide support for list style types which are not supported by this\n * library.\n *\n * @remarks Check the numerous presets provided by\n * {@link https://github.com/jsamr/react-native-li/tree/master/packages/counter-style#readme | @jsamr/counter-style}\n * as they require zero-effort!\n *\n * @example\n *\n * ```js\n * import hebrew from '@jsamr/counter-style/presets/hebrew';\n *\n * const customListStyleSpecs = {\n * hebrew: {\n * type: 'textual',\n * counterStyleRenderer: hebrew\n * }\n * };\n * ```\n */\n customListStyleSpecs?: Record;\n\n /**\n * Log to the console a snapshot of the rendered {@link TDocument} after each\n * transient render tree invalidation.\n *\n * @defaultValue `false`\n */\n debug?: boolean;\n\n /**\n * Default props for Text elements in the render tree.\n *\n * @remarks \"style\" will be merged into the tnode own styles.\n */\n defaultTextProps?: TextProps;\n\n /**\n * Default props for View elements in the render tree.\n *\n * @remarks \"style\" will be merged into the tnode own styles.\n */\n defaultViewProps?: ViewProps;\n\n /**\n * Default props for WebView elements in the render tree used by plugins.\n */\n defaultWebViewProps?: any;\n\n /**\n * Follow closely the HTML standard and ignore `
          ` tags closing an\n * inline formatting context.\n *\n * @example\n *\n * ```html\n *

          \n * Hello
          \n *

          \n * ```\n *\n * When this flag is set to `true`, one line is printed instead of two on\n * native platforms, which is the HTML-compliant behavior.\n *\n * @defaultValue false\n *\n * @remarks Recommended value is `true` on non-web platforms. Also note that\n * this is an experimental feature, thus subject to behavioral instability.\n */\n enableExperimentalBRCollapsing?: boolean;\n\n /**\n * React Native doesn't handle lines like we would expect on a web browser.\n * For example:\n * ```jsx\n * \n * \n * \n * ```\n * will span 20 dpi in height. Setting this prop to `true` will make\n * the renderer take those React Native oddities into account.\n * See also this ticket: https://git.io/JErwX\n *\n * @remarks This is an experimental feature, thus subject to behavioral\n * instability.\n *\n * @defaultValue false\n */\n enableExperimentalGhostLinesPrevention?: boolean;\n\n /**\n * Enable or disable margin collapsing CSS behavior (experimental!).\n * See {@link https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Box_Model/Mastering_margin_collapsing | MDN docs}.\n *\n * @remarks Limitations:\n * - Only adjacent siblings collapsing is implemented.\n * - If one of the margins height is in percent, no collapsing will occur.\n * - Will apply indiscriminately to all `display` properties (including\n * flex), which is not standard.\n * - Might not work well with {@link TPhrasing} nodes having only one child.\n *\n * This is an experimental feature, thus subject to behavioral instability.\n *\n * @defaultValue false\n */\n enableExperimentalMarginCollapsing?: boolean;\n\n /**\n * Color used for pressable items, either for the ripple effect (Android), or\n * highlight (other platforms).\n *\n * @defaultValue rgba(38, 132, 240, 0.2)\n */\n pressableHightlightColor?: string;\n\n /**\n * Provide headers for specific embedded elements, such as images, iframes...\n *\n * @example\n *\n * ```js\n * function provideEmbeddedHeaders(uri, tagName, params) {\n * if (tagName === \"img\" &&\n * uri.startsWith(\"https://example.com\")) {\n * return {\n * Authorization: \"Bearer daem6QuaeloopheiD7Oh\"\n * }\n * }\n *\n * // ...\n *\n * \n * ```\n */\n provideEmbeddedHeaders?: EmbeddedHeadersProvider;\n}\n\ntype SharedPropsWithoutFallback = Exclude<\n keyof RenderHTMLSharedProps,\n 'provideEmbeddedHeaders' | 'GenericPressable' | 'customListStyleSpecs'\n>;\n\n/**\n * Shared props available with {@link useSharedProps} hook or `sharedProp`\n * custom renderers prop.\n */\nexport type RenderHTMLAmbiantSharedProps = Required<\n Pick\n> &\n Omit;\n\n/**\n * Configuration for the {@link TRenderEngineProvider} component.\n *\n * @warning When one of these props changes, it will cause the\n * {@link TRenderEngine} to be rebuilt, and all transient trees to be\n * re-assembled. Beware!\n *\n * @public\n */\nexport interface TRenderEngineConfig {\n /**\n * Whitelist specific inline CSS style properties and ignore the others.\n *\n * @warning Property names must be camelCased: for example, `background-color`\n * should be written `backgroundColor`.\n */\n allowedStyles?: CSSPropertyNameList;\n\n /**\n * The default style for the document (root). Inheritable styles will be\n * transferred to children. That works also for textual styles.\n *\n * @warning **Do NOT** use the `StyleSheet` API to create those styles.\n *\n * @remarks Any `fontFamily` used in those styles must be registered with\n * {@link TRenderEngineConfig.systemFonts} prop.\n */\n baseStyle?: MixedStyleDeclaration;\n\n /**\n * Provide mixed styles to target elements selected by CSS classes.\n *\n * @warning **Do NOT** use the `StyleSheet` API to create those styles.\n *\n * @remarks Any `fontFamily` used in those styles must be registered with\n * {@link TRenderEngineConfig.systemFonts} prop.\n */\n classesStyles?: MixedStyleRecord;\n\n /**\n * Customize element models for target tags.\n */\n customHTMLElementModels?: HTMLElementModelRecord;\n\n /**\n * **Experimental**\n *\n * Disable hoisting. Especially useful for rendering with react-native-web.\n * Note that your layout might break in native!\n *\n * @defaultValue false\n */\n dangerouslyDisableHoisting?: boolean;\n\n /**\n * **Experimental**\n *\n * Disable whitespace collapsing. Especially useful if your html is\n * being pre-processed server-side with a minifier.\n *\n * @defaultValue false\n */\n dangerouslyDisableWhitespaceCollapsing?: boolean;\n\n /**\n * An object which callbacks will be invoked when a DOM element or text node\n * has been parsed and its children attached. This is great to tamper the dom,\n * remove children, insert nodes, change text nodes data... etc.\n *\n * @remark Each callback is applied during DOM parsing, thus with very little\n * overhead. However, it means that one node next siblings won't be available\n * since it has not yet been parsed. If you need some siblings logic, apply\n * this logic to the children of this node.\n */\n domVisitors?: DomVisitorCallbacks;\n\n /**\n * The default value in pixels for 1em.\n */\n emSize?: number;\n\n /**\n * Enable or disable inline CSS processing of inline styles.\n *\n * @remarks If you want to allow or disallow specific properties, use\n * `allowedStyles` or `ignoredStyles` props.\n *\n * @defaultValue true\n */\n enableCSSInlineProcessing?: boolean;\n\n /**\n * Enable or disable fallback styles for each tag. For example, `pre` tags\n * will have `whiteSpace` set to 'pre' by default.\n *\n * @defaultValue true\n */\n enableUserAgentStyles?: boolean;\n\n /**\n * A record for specific CSS fonts.\n *\n * @remarks Use `Plaform.select({ ios: ..., android: ..., default: ...})`.\n */\n fallbackFonts?: FallbackFontsDefinitions;\n\n /**\n * ParserOptions for {@link https://github.com/fb55/htmlparser2/wiki/Parser-options | htmlparser2}.\n *\n * @defaultValue `{ decodeEntities: true }`\n */\n htmlParserOptions?: HtmlParserOptions;\n /**\n * Provide mixed styles to target elements identified by the `id` attribute.\n *\n * @warning **Do NOT** use the `StyleSheet` API to create those styles.\n *\n * @remarks Any `fontFamily` used in those styles must be registered with\n * {@link TRenderEngineConfig.systemFonts} prop.\n */\n idsStyles?: MixedStyleRecord;\n\n /**\n * Ignore specific DOM nodes.\n *\n * @warning When this function is invoked, the node has not yet been attached\n * to its parent or siblings. Use the second argument (`parent`) if you\n * need to perform logic based on parent.\n *\n * @remarks\n * - The function is applied during DOM parsing, thus with very little\n * overhead. However, it means that one node next siblings won't be\n * available since it has not yet been parsed.\n * - Use `ignoredDomTags` if you just need to target specific tag names.\n *\n * @returns `true` if this node should not be included in the DOM, anything\n * else otherwise.\n *\n * @param node - The node to check. Beware the parent node is not accessible. Use the second argument.\n * @param parent - The parent node.\n */\n ignoreDomNode?: (\n node: Node,\n parent: NodeWithChildren\n ) => boolean | void | unknown;\n\n /**\n * A list of **lowercase tags** which should not be included in the DOM.\n *\n * @remark The filtering is happening during parsing, thus with very little\n * overhead.\n */\n ignoredDomTags?: string[];\n\n /**\n * Blacklist specific inline CSS style properties and allow the others.\n *\n * @warning Property names must be camelCased: for example, `background-color`\n * should be written `backgroundColor`.\n *\n * @remarks Note that if you don't want inline style processing at all, you\n * should set `enableCSSInlineProcessing` prop to `false`.\n */\n ignoredStyles?: CSSPropertyNameList;\n\n /**\n * Select the DOM root before TTree generation. For example, you could\n * iterate over children until you reach an article element and return this\n * element.\n *\n * @remarks Applied after DOM parsing, before normalization and TTree\n * construction. Before normalization implies that a body will be added in\n * the tree **after** selecting root.\n */\n selectDomRoot?: TRenderEngineOptions['selectDomRoot'];\n\n /**\n * Set custom markers from a {@link TNode} and all its descendants. {@link Markers} will be\n * accessible in custom renderers via `tnode.markers` prop.\n *\n * @param targetMarkers - The markers to modify.\n * @param parentMarkers - {@link Markers} from the parent {@link TNode}.\n * @param tnode - The {@link TNode} to inspect.\n *\n * @defaultValue `() => null`\n */\n setMarkersForTNode?: SetMarkersForTNode;\n\n /**\n * A list of fonts available in the current platform. These fonts will be used\n * to select the first match in CSS `fontFamily` property, which supports a\n * comma-separated list of fonts. By default, a handful of fonts are selected\n * per platform.\n *\n * @remarks\n * - You need to specify any font family you wish to use via `*styles` props\n * here, otherwise those styles will be ignored.\n * - If you are using expo, you should use or extend `Constants.systemFonts`.\n *\n * @example\n * ```tsx\n * import RenderHTML, {defaultSystemFonts} from 'react-native-render-html'\n * // Replace defaultSystemFonts with Constants.systemFonts if you're using expo\n * const systemFonts = [...defaultSystemFonts, 'Mysuperfont']\n * // ...\n * \n * ```\n */\n systemFonts?: string[];\n\n /**\n * Provide mixed styles to target HTML tag names.\n *\n * @warning **Do NOT** use the `StyleSheet` API to create those styles.\n *\n * @remarks Any `fontFamily` used in those styles must be registered with\n * {@link TRenderEngineConfig.systemFonts} prop.\n */\n tagsStyles?: MixedStyleRecord;\n}\n\n/**\n * A source represented by a URI.\n *\n * @public\n */\nexport interface HTMLSourceUri {\n /**\n * The HTTP body to send with the request. This must be a valid\n * UTF-8 string, and will be sent exactly as specified, with no\n * additional encoding (e.g. URL-escaping or base64) applied.\n */\n body?: string;\n\n /**\n * Additional HTTP headers to send with the request.\n */\n headers?: Record;\n\n /**\n * The HTTP Method to use. Defaults to GET if not specified.\n */\n method?: string;\n\n /**\n * The URI to load in the `HTML` component. Can be a local or remote file.\n */\n uri: string;\n}\n\n/**\n * A source which content is provided in-place.\n *\n * @public\n */\nexport interface HTMLSourceInline {\n /**\n * The base URL to resolve relative URLs in the HTML code.\n * See {@link useNormalizedUrl}.\n */\n baseUrl?: string;\n\n /**\n * A static HTML page to display in the HTML component.\n */\n html: string;\n}\n\n/**\n * A source which content is a DOM tree created by the transient render\n * engine `parseDocument` method.\n *\n * See {@link useAmbientTRenderEngine}.\n *\n * @remarks When you use a DOM source, the `onHTMLLoaded` callback will never\n * be invoked for this source, since the source loader hasn't access to the\n * HTML source of the DOM.\n *\n * @public\n */\nexport interface HTMLSourceDom {\n /**\n * The base URL to resolve relative URLs in the HTML code.\n * See {@link useNormalizedUrl}.\n */\n baseUrl?: string;\n\n /**\n * A DOM object. This object **must** have been created with\n * the transient render engine `parseDocument` method.\n */\n dom: Element | Document;\n}\n\n/**\n * The source to render.\n *\n * @public\n */\nexport type HTMLSource = HTMLSourceInline | HTMLSourceDom | HTMLSourceUri;\n\n/**\n *\n * Props for the {@link RenderHTMLConfigProvider} component.\n *\n * @public\n */\nexport interface RenderHTMLConfig\n extends RenderHTMLSharedProps,\n RenderHTMLPassedProps {\n /**\n * Replace the default error if a remote website's content could not be fetched.\n */\n remoteErrorView?: (source: HTMLSourceUri) => ReactElement;\n\n /**\n * Replace the default loader while fetching a remote website's content.\n */\n remoteLoadingView?: (source: HTMLSourceUri) => ReactElement;\n\n /**\n * Your custom renderers.\n *\n * @remarks\n *\n * **TypeScript users**: To have intellisense for custom renderers, explicitly\n * set your custom renderer type to one of {@link CustomBlockRenderer},\n * {@link CustomTextualRenderer} or {@link CustomMixedRenderer} depending\n * on the {@link HTMLContentModel} defined for this tag (see example below).\n *\n * @example\n *\n * A custom renderer for `
          ` tags which trigger an alert on press.\n *\n * ```tsx\n * import React from 'react';\n * import RenderHTML, { CustomBlockRenderer } from 'react-native-render-html';\n * import { Alert } from 'react-native';\n *\n * const onPress = () => Alert.alert(\"I pressed a div!\");\n *\n * // (TypeScript) Notice the type for intellisense\n * const DivRenderer: CustomBlockRenderer = function DivRenderer({ TDefaultRenderer, ...props }) {\n * return ;\n * }\n *\n * const renderers = { div: DivRenderer }\n *\n * //\n *\n * return \n * ```\n */\n renderers?: CustomTagRendererRecord;\n}\n\n/**\n * Props for the {@link RenderHTMLSource} component.\n *\n * @public\n */\nexport interface RenderHTMLSourceProps {\n /**\n * The width of the HTML content to display. The recommended practice is to pass\n * `useWindowDimensions().width` minus any padding or margins.\n *\n * @defaultValue `Dimensions.get('window').width`\n */\n contentWidth?: number;\n\n /**\n * Handler invoked when the document metadata is available. It will\n * re-trigger on HTML content changes.\n */\n onDocumentMetadataLoaded?: (documentMetadata: DocumentMetadata) => void;\n\n /**\n * Triggered when HTML is available to the RenderHTML component.\n */\n onHTMLLoaded?: (html: string) => void;\n\n /**\n * Triggered when the transient render tree changes. Useful for debugging.\n */\n onTTreeChange?: (ttree: TDocument) => void;\n\n /**\n * The object source to render (either `{ uri }`, `{ html }` or `{ dom }`).\n */\n source: HTMLSource;\n}\n\n/**\n * Props for the {@link RenderHTML} component.\n *\n * @public\n */\nexport interface RenderHTMLProps\n extends RenderHTMLConfig,\n RenderHTMLSourceProps,\n TRenderEngineConfig {}\n\n/**\n * An object which keys are keyword font names, and values system fonts.\n *\n * @public\n */\nexport interface FallbackFontsDefinitions {\n monospace: string;\n 'sans-serif': string;\n serif: string;\n}\n\n/**\n * Props passed from parents to children.\n *\n *\n * @remarks Anonymous nodes will pass those props from their parents to\n * children.\n *\n */\nexport interface PropsFromParent extends Record {\n collapsedMarginTop: number | null;\n}\n\n/**\n * Props to render a child.\n *\n * @public\n */\nexport interface TChildProps {\n /**\n * The child element.\n */\n childElement: ReactElement;\n\n /**\n * The child associated {@link TNode}.\n */\n childTnode: TNode;\n\n /**\n * The position relative to parent.\n */\n index: number;\n\n /**\n * The React `key`.\n */\n key: string | number;\n\n /**\n * Props that have been set via\n * {@link TChildrenRendererProps.propsForChildren}.\n */\n propsFromParent: PropsFromParent;\n}\n\n/**\n * Common props for TChildren rendering logic.\n *\n * @public\n */\nexport interface TChildrenBaseProps {\n /**\n * When {@link RenderHTMLProps.enableExperimentalMarginCollapsing} is\n * enabled, this prop will be true by default. But you can opt-out when\n * rendering children.\n */\n disableMarginCollapsing?: boolean;\n\n /**\n * Props that will be passed to children renderers via\n * {@link CustomRendererProps.propsFromParent}.\n */\n propsForChildren?: Partial;\n\n /**\n * A React render function to render and wrap individual children.\n */\n renderChild?: (props: TChildProps) => ReactNode;\n}\n\n/**\n * Props for {@link TChildrenRenderer}.\n *\n * @public\n */\nexport interface TChildrenRendererProps extends TChildrenBaseProps {\n /**\n * An array of {@link TNode} to render.\n */\n tchildren: ReadonlyArray;\n}\n\n/**\n * Props for {@link TNodeChildrenRenderer}.\n *\n * @public\n */\nexport interface TNodeChildrenRendererProps extends TChildrenBaseProps {\n /**\n * The {@link TNode} from which children will be rendered.\n */\n tnode: TNode;\n}\n\n/**\n * Props for {@link TNodeRenderer} component.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n */\nexport interface TNodeRendererProps {\n /**\n * Props passed by direct parents.\n */\n propsFromParent?: PropsFromParent;\n\n /**\n * The position of this React element relative to the parent React element,\n * starting at 0.\n *\n * @remarks Not to be confused with {@link TNodeShape.index}, which is\n * the position of the *TNode* before hoisting. The latter is much closer\n * to an intuitive understanding of the position of a DOM node in the DOM\n * tree.\n */\n renderIndex: number;\n\n /**\n * The total number of elements children of this React element parent.\n */\n renderLength: number;\n\n /**\n * The {@link TNode} to render.\n */\n tnode: T;\n}\n\n/**\n * Abstract interface for renderers.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n */\nexport interface RendererBaseProps\n extends TNodeRendererProps {\n /**\n * Props passed to the underlying React Native element, either `Text` or\n * `View`. See also {@link RendererBaseProps.textProps} and\n * {@link RendererBaseProps.viewProps}.\n *\n * @remarks The `prop.style` property will have a greater specificity\n * than computed styles for this {@link TNode}. E.g. `style={[computedStyle,\n * nativeProps.style, viewProps.style]}`.\n *\n */\n nativeProps?: StylessReactNativeProps & { style?: StyleProp };\n\n /**\n * Any default renderer should be able to handle press.\n */\n onPress?: (e: GestureResponderEvent) => void;\n\n /**\n * Props passed to the underlying `Text` element (`type` must be 'text'). See\n * also {@link RendererBaseProps.nativeProps} and\n * {@link RendererBaseProps.viewProps}.\n *\n * @remarks The `textProps.style` property will have a greater specificity than\n * computed styles for this {@link TNode}. E.g. `style={[computedStyle,\n * nativeProps.style, textProps.style]}`.\n */\n textProps: TextProps;\n\n /**\n * Is the underlying component `Text` or `View`?\n */\n type: 'text' | 'block';\n\n /**\n * Props passed to the underlying `View` element (`type` must be 'view'). See\n * also {@link RendererBaseProps.nativeProps} and\n * {@link RendererBaseProps.textProps}.\n *\n * @remarks The `viewProps.style` property will have a greater specificity than\n * computed styles for this {@link TNode}. E.g. `style={[computedStyle,\n * nativeProps.style, viewProps.style]}`.\n */\n viewProps: ViewProps;\n}\n\n/**\n * Props for {@link TDefaultRenderer}.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n * @public\n */\nexport interface TDefaultRendererProps\n extends RendererBaseProps {\n /**\n * A component to render children of a `tnode`.\n */\n TNodeChildrenRenderer: ComponentType;\n\n /**\n * When children is present, renderChildren will not be invoked.\n */\n children?: ReactNode;\n\n /**\n * Props passed to children nodes. Those props are accessible from children\n * renderers as `propsFromParent`\n */\n propsForChildren?: Partial;\n\n /**\n * The style for this renderer will depend on the type of {@link TNode}.\n * You can check if a node is textual with `props.type === 'text'`.\n */\n style: T extends TText | TPhrasing\n ? StyleProp\n : StyleProp;\n}\n\n/**\n * Props for {@link InternalRenderer} components.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n * @public\n */\nexport interface InternalRendererProps\n extends RendererBaseProps {\n /**\n * Default renderer for this {@link TNode}.\n */\n TDefaultRenderer: TDefaultRenderer;\n\n /**\n * A component to render children of a `tnode`.\n */\n TNodeChildrenRenderer: ComponentType;\n\n /**\n * Props shared across the whole render tree.\n */\n sharedProps: RenderHTMLAmbiantSharedProps;\n\n /**\n * Styles extracted with {@link TNode.getNativeStyles}.\n */\n style: T extends TText | TPhrasing ? NativeTextStyles : NativeBlockStyles;\n}\n\n/**\n * Props for custom renderers, such as provided in the `renderers` prop.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n * @public\n */\nexport interface CustomRendererProps\n extends InternalRendererProps {\n /**\n * Internal renderer for this _tagName_, not to be confused with\n * {@link TDefaultRenderer}, which is the fallback renderer for any {@link TNode}.\n *\n * @remarks For example, when rendering `img` tags, `TDefaultRenderer` and\n * `InternalRenderer` won't be equal.\n *\n * When there is no internal renderer for this tag, this prop will fallback\n * to `TDefaultRenderer`.\n */\n InternalRenderer: InternalRenderer;\n}\n\n/**\n * Default renderer for any {@link TNode}. The renderer behavior will only\n * change given the {@link TNodeType | type} of the {@link TNode}.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n * @public\n */\nexport type TDefaultRenderer = ComponentType<\n TDefaultRendererProps\n>;\n\n/**\n * An \"internal renderer\" is an internal custom renderer, adding specific\n * features to the fallback `TDefaultRenderer`. For example, `` tags will\n * be rendered via an internal renderer, while `
          ` will fallback to a\n * {@link TDefaultRenderer}.\n *\n * @public\n *\n * @typeParam T - The concrete type of {@link TNode}.\n */\nexport type InternalRenderer = ComponentType<\n InternalRendererProps\n>;\n\n/**\n * A custom renderer, such as provided in the {@link RenderHTMLProps.renderers} prop.\n *\n * @typeParam T - The concrete type of {@link TNode}.\n * @public\n */\nexport type CustomRenderer = ComponentType<\n CustomRendererProps\n>;\n\n/**\n * An object containing meta-data extracted from resource URL and HTML\n * `` element.\n *\n * @public\n */\nexport interface DocumentMetadata {\n /**\n * How anchors should be actioned on press?\n *\n * @remarks By default, `renderersProps.a.onPress` will always open the\n * system browser, equivalent to `_blank` target. However, you can customize\n * the behavior by providing your own implementation.\n */\n baseTarget: TREDocumentContext['baseTarget'];\n\n /**\n * The base URL of this resource. It will influence how relative URLs are\n * resolved such as `href` and `src` element properties. By order of\n * precedence:\n *\n * 1. `baseUrl` from `` html element;\n * 2. `baseUrl` from `source.baseUrl` prop;\n * 3. `baseUrl` as origin of `source.uri` prop.\n */\n baseUrl: string;\n\n /**\n * The writing direction of this document, extracted from the `dir` attribute\n * of `` element.\n */\n dir: 'ltr' | 'rtl';\n\n /**\n * The language of this document, extracted from the `lang` attribute of the\n * `` element;\n */\n lang: string;\n\n /**\n * A data array comprised of attributes from <link> elements.\n */\n links: TREDocumentContext['links'];\n\n /**\n * A data array comprised of attributes from <meta> elements.\n */\n meta: TREDocumentContext['meta'];\n\n /**\n * The content of the <title> element.\n */\n title: string;\n}\n\n/**\n * Props for unitary counter renderers.\n *\n * @public\n */\nexport type UnitaryCounterRendererProps = {\n color: string;\n fontSize: number;\n index: number;\n lineHeight: number;\n} & Pick<\n MixedStyleDeclaration,\n 'fontFamily' | 'fontStyle' | 'fontWeight' | 'fontVariant'\n>;\n\n/**\n * List style types supported internally.\n *\n * See {@link https://www.w3.org/TR/css-counter-styles-3 | CSS Counter Styles Level 3}.\n *\n * @public\n */\nexport type DefaultSupportedListStyleType =\n | 'none'\n | 'disc'\n | 'circle'\n | 'square'\n | 'decimal'\n | 'decimal-leading-zero'\n | 'lower-roman'\n | 'upper-roman'\n | 'lower-greek'\n | 'lower-alpha'\n | 'lower-latin'\n | 'upper-alpha'\n | 'upper-latin'\n | 'disclosure-open'\n | 'disclosure-closed';\n\n/**\n * Specs for a list item marker renderer backed by a `CounterStyleRenderer`\n * from `@jsamr/counter-style`.\n *\n * @public\n */\nexport interface TextualListStyleSpec {\n counterStyleRenderer: CounterStyleRenderer;\n type: 'textual';\n}\n\n/**\n * Specs for a list item marker renderer with only one representation. The\n * \"Component\" should render this representation, minus prefix and suffix. The\n * rendered component should have a maximum width of `0.6 * fontSize`, and a height of\n * `lineHeight`.\n *\n * @public\n */\nexport interface UnitaryListStyleSpec {\n Component: ComponentType;\n counterStyleRenderer: CounterStyleRenderer;\n type: 'unitary';\n}\n\n/**\n * An object to specify how to render list markers.\n *\n * @public\n */\nexport type ListStyleSpec = TextualListStyleSpec | UnitaryListStyleSpec;\n","import { TBlock, TPhrasing, TText } from '@native-html/transient-render-engine';\nimport { ComponentType } from 'react';\nimport { TNodeSubRendererProps } from '../internal-types';\nimport { CustomRenderer, InternalRenderer } from '../shared-types';\n\n/**\n * Special internal renderers for non-printable text (wbr, br).\n */\nexport type InternalTextContentRenderer = ComponentType<\n TNodeSubRendererProps\n> & {\n isNativeInternalTextRenderer: true;\n};\n\n/**\n * Internal renderer for tags with a **block** content model.\n */\nexport type InternalBlockRenderer = InternalRenderer;\n\n/**\n * Internal renderer for tags with a **mixed** content model.\n */\nexport type InternalMixedRenderer = InternalRenderer<\n TBlock | TPhrasing | TText\n>;\n\n/**\n * Internal renderer for tags with a **textual** content model.\n */\nexport type InternalTextualRenderer = InternalRenderer;\n\n/**\n * Block renderers can only render tnodes of type TBlock.\n */\nexport type CustomBlockRenderer = CustomRenderer;\n\n/**\n * Textual renderers can render tnodes of type TText or TPhrasing.\n */\nexport type CustomTextualRenderer = CustomRenderer;\n\n/**\n * Mixed renderers can can render tnodes of type TText, TPhrasing or TBlock.\n */\nexport type CustomMixedRenderer = CustomRenderer;\n\n/**\n * A record of custom renderers.\n */\nexport type CustomTagRendererRecord = Record<\n string,\n CustomBlockRenderer | CustomTextualRenderer | CustomMixedRenderer\n>;\n","import { TagName } from '@native-html/transient-render-engine';\nimport { ComponentType } from 'react';\nimport IMGElement from '../elements/IMGElement';\nimport OLElement from '../elements/OLElement';\nimport ULElement from '../elements/ULElement';\nimport { useAElementProps } from '../renderers/ARenderer';\nimport { useIMGElementProps } from '../renderers/IMGRenderer';\nimport { useOLElementProps } from '../renderers/OLRenderer';\nimport { useULElementProps } from '../renderers/ULRenderer';\nimport { InternalRendererProps, TDefaultRendererProps } from '../shared-types';\n\nconst specialRenderersConfig = {\n img: {\n hook: useIMGElementProps,\n Element: IMGElement\n },\n ol: {\n hook: useOLElementProps,\n Element: OLElement\n },\n ul: {\n hook: useULElementProps,\n Element: ULElement\n },\n a: {\n hook: useAElementProps,\n Element: undefined\n }\n};\n\nexport type InternalSpecialRenderedTag = keyof typeof specialRenderersConfig;\n\nfunction hasSpecialInternalRenderer(\n tagName: TagName\n): tagName is keyof typeof specialRenderersConfig {\n return tagName in specialRenderersConfig;\n}\n\nexport interface InternalRendererConfig

          {\n Renderer: ComponentType

          ;\n rendererProps: P;\n}\n/**\n * Resuse internal renderers logic for infinite customization!\n *\n * @remarks `tagName` must be invariant, i.e. it cannot change. You would\n * otherwise break the rules of hooks.\n *\n * @param tagName - **Invariant** The tag name to extend.\n * @param props - The props passed to the custom renderer.\n * @typeParam T - The name of the tag to target.\n * @returns An object with two fields: `Renderer` (the internal react\n * component) and `rendererProps`, the internal component props.\n *\n * @public\n */\nexport default function useInternalRenderer(\n tagName: T,\n props: InternalRendererProps\n): T extends InternalSpecialRenderedTag\n ? InternalRendererConfig>\n : InternalRendererConfig> {\n const { TDefaultRenderer, ...rendererProps } = props;\n if (hasSpecialInternalRenderer(tagName)) {\n return {\n Renderer: specialRenderersConfig[tagName].Element || TDefaultRenderer,\n rendererProps: specialRenderersConfig[tagName].hook(props as any)\n } as any;\n }\n return {\n Renderer: TDefaultRenderer,\n rendererProps\n } as any;\n}\n","import pick from 'ramda/src/pick';\nimport omit from 'ramda/src/omit';\nimport { TNodeShape, TNodeType } from '@native-html/transient-render-engine';\n\nconst borderBoxProps = [\n 'backgroundColor',\n 'borderBottomColor',\n 'borderBottomLeftRadius',\n 'borderBottomRightRadius',\n 'borderBottomWidth',\n 'borderLeftColor',\n 'borderLeftWidth',\n 'borderRightColor',\n 'borderRightWidth',\n 'borderStyle',\n 'borderTopColor',\n 'borderTopLeftRadius',\n 'borderTopRightRadius',\n 'borderTopWidth',\n 'paddingBottom',\n 'paddingLeft',\n 'paddingRight',\n 'paddingTop',\n 'marginBottom',\n 'marginLeft',\n 'marginRight',\n 'marginTop'\n];\n\nconst pickBorderBox = pick(borderBoxProps);\nconst omitBorderBox = omit(borderBoxProps);\n\n/**\n * A utility to separate box model styles and other styles. Useful when one wants\n * to wrap a text element in a view to benefit from padding vertical,\n * borders... etc.\n *\n * @param styles - The native styles to split.\n */\nexport default function splitBoxModelStyle(\n style: ReturnType['getNativeStyles']>\n) {\n return {\n boxModelStyle: pickBorderBox(style),\n otherStyle: omitBorderBox(style)\n };\n}\n","import strigifyEntities from 'stringify-entities';\nimport {\n Node,\n isDomText,\n isDomElement\n} from '@native-html/transient-render-engine';\n\nfunction renderOpeningTag(tag: string, attributes: Record) {\n const strAttributes: string[] = [];\n Object.keys(attributes).forEach((key) => {\n strAttributes.push(`${key}=\"${strigifyEntities(`${attributes[key]}`)}\"`);\n });\n return `<${tag}${strAttributes.length ? ' ' : ''}${strAttributes.join(' ')}>`;\n}\n\n/**\n * Convert a DOM node to its HTML representation.\n *\n * @param root - The root to stringify.\n * @param reporter - An optional function which will receive every\n * parsed node as 1st argument, the depth as 2d argument and the converted html\n * as 3d argument.\n */\nexport default function domNodeToHTMLString(\n root: Node | null,\n reporter?: DomNodeToHtmlReporter,\n depth = 0\n) {\n let html = '';\n if (isDomElement(root)) {\n const strChildren = root.children.reduce((prev, curr) => {\n const convertedNode = domNodeToHTMLString(curr, reporter, depth + 1);\n return `${prev}${convertedNode}`;\n }, '');\n html = `${renderOpeningTag(root.tagName, root.attribs)}${strChildren}`;\n } else if (isDomText(root)) {\n const text = strigifyEntities(root.data);\n html = text;\n }\n typeof reporter === 'function' && reporter(root, depth, html);\n return html;\n}\n\n/**\n * @public\n */\nexport interface DomNodeToHtmlReporter {\n /**\n * @param node - The node being parsed.\n * @param depth - How many parents this node have.\n * @param html - The HTML representation of this node and its children.\n */\n (node: Node | null, depth: number, html: string): void;\n}\n","'use strict'\n\nmodule.exports = require('./lib')\n","'use strict'\n\nvar encode = require('./encode')\nvar escape = require('./escape')\n\nmodule.exports = encode\nencode.escape = escape\n","'use strict'\n\nvar xtend = require('xtend')\nvar core = require('./core')\nvar smart = require('./util/format-smart')\n\nmodule.exports = encode\n\n// Encode special characters in `value`.\nfunction encode(value, options) {\n // Note: Switch to `Object.assign` next major.\n return core(value, xtend(options, {format: smart}))\n}\n","'use strict'\n\nmodule.exports = encode\n\n// Encode special characters in `value`.\nfunction encode(value, options) {\n value = value.replace(\n options.subset ? charactersToExpression(options.subset) : /[\"&'<>`]/g,\n basic\n )\n\n if (options.subset || options.escapeOnly) {\n return value\n }\n\n return (\n value\n // Surrogate pairs.\n .replace(/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g, surrogate)\n // BMP control characters (C0 except for LF, CR, SP; DEL; and some more\n // non-ASCII ones).\n .replace(\n // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape\n /[\\x01-\\t\\v\\f\\x0E-\\x1F\\x7F\\x81\\x8D\\x8F\\x90\\x9D\\xA0-\\uFFFF]/g,\n basic\n )\n )\n\n function surrogate(pair, index, all) {\n return options.format(\n (pair.charCodeAt(0) - 0xd800) * 0x400 +\n pair.charCodeAt(1) -\n 0xdc00 +\n 0x10000,\n all.charCodeAt(index + 2),\n options\n )\n }\n\n function basic(character, index, all) {\n return options.format(\n character.charCodeAt(0),\n all.charCodeAt(index + 1),\n options\n )\n }\n}\n\nfunction charactersToExpression(subset) {\n var groups = []\n var index = -1\n\n while (++index < subset.length) {\n groups.push(subset[index].replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&'))\n }\n\n return new RegExp('(?:' + groups.join('|') + ')', 'g')\n}\n","module.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","module.exports = formatPretty\n\nvar toHexadecimal = require('./to-hexadecimal')\nvar toDecimal = require('./to-decimal')\nvar toNamed = require('./to-named')\n\n// Encode `character` according to `options`.\nfunction formatPretty(code, next, options) {\n var named\n var numeric\n var decimal\n\n if (options.useNamedReferences || options.useShortestReferences) {\n named = toNamed(\n code,\n next,\n options.omitOptionalSemicolons,\n options.attribute\n )\n }\n\n if (options.useShortestReferences || !named) {\n numeric = toHexadecimal(code, next, options.omitOptionalSemicolons)\n\n // Use the shortest numeric reference when requested.\n // A simple algorithm would use decimal for all code points under 100, as\n // those are shorter than hexadecimal:\n //\n // * `c` vs `c` (decimal shorter)\n // * `d` vs `d` (equal)\n //\n // However, because we take `next` into consideration when `omit` is used,\n // And it would be possible that decimals are shorter on bigger values as\n // well if `next` is hexadecimal but not decimal, we instead compare both.\n if (options.useShortestReferences) {\n decimal = toDecimal(code, next, options.omitOptionalSemicolons)\n\n if (decimal.length < numeric.length) {\n numeric = decimal\n }\n }\n }\n\n return named &&\n (!options.useShortestReferences || named.length < numeric.length)\n ? named\n : numeric\n}\n","module.exports = toNamed\n\nvar legacy = require('character-entities-legacy')\nvar characters = require('../constant/characters')\nvar fromCharCode = require('../constant/from-char-code')\nvar own = require('../constant/has-own-property')\nvar dangerous = require('../constant/dangerous.json')\n\n// Transform `code` into a named character reference.\nfunction toNamed(code, next, omit, attribute) {\n var character = fromCharCode(code)\n var name\n var value\n\n if (own.call(characters, character)) {\n name = characters[character]\n value = '&' + name\n\n if (\n omit &&\n own.call(legacy, name) &&\n dangerous.indexOf(name) === -1 &&\n (!attribute ||\n (next && next !== 61 /* `=` */ && /[^\\da-z]/i.test(fromCharCode(next))))\n ) {\n return value\n }\n\n return value + ';'\n }\n\n return ''\n}\n","module.exports = String.fromCharCode\n","module.exports = {}.hasOwnProperty\n","var entities = require('character-entities-html4')\n\nvar characters = {}\nvar name\n\nmodule.exports = characters\n\nfor (name in entities) {\n characters[entities[name]] = name\n}\n","{\n \"nbsp\": \" \",\n \"iexcl\": \"¡\",\n \"cent\": \"¢\",\n \"pound\": \"£\",\n \"curren\": \"¤\",\n \"yen\": \"¥\",\n \"brvbar\": \"¦\",\n \"sect\": \"§\",\n \"uml\": \"¨\",\n \"copy\": \"©\",\n \"ordf\": \"ª\",\n \"laquo\": \"«\",\n \"not\": \"¬\",\n \"shy\": \"­\",\n \"reg\": \"®\",\n \"macr\": \"¯\",\n \"deg\": \"°\",\n \"plusmn\": \"±\",\n \"sup2\": \"²\",\n \"sup3\": \"³\",\n \"acute\": \"´\",\n \"micro\": \"µ\",\n \"para\": \"¶\",\n \"middot\": \"·\",\n \"cedil\": \"¸\",\n \"sup1\": \"¹\",\n \"ordm\": \"º\",\n \"raquo\": \"»\",\n \"frac14\": \"¼\",\n \"frac12\": \"½\",\n \"frac34\": \"¾\",\n \"iquest\": \"¿\",\n \"Agrave\": \"À\",\n \"Aacute\": \"Á\",\n \"Acirc\": \"Â\",\n \"Atilde\": \"Ã\",\n \"Auml\": \"Ä\",\n \"Aring\": \"Å\",\n \"AElig\": \"Æ\",\n \"Ccedil\": \"Ç\",\n \"Egrave\": \"È\",\n \"Eacute\": \"É\",\n \"Ecirc\": \"Ê\",\n \"Euml\": \"Ë\",\n \"Igrave\": \"Ì\",\n \"Iacute\": \"Í\",\n \"Icirc\": \"Î\",\n \"Iuml\": \"Ï\",\n \"ETH\": \"Ð\",\n \"Ntilde\": \"Ñ\",\n \"Ograve\": \"Ò\",\n \"Oacute\": \"Ó\",\n \"Ocirc\": \"Ô\",\n \"Otilde\": \"Õ\",\n \"Ouml\": \"Ö\",\n \"times\": \"×\",\n \"Oslash\": \"Ø\",\n \"Ugrave\": \"Ù\",\n \"Uacute\": \"Ú\",\n \"Ucirc\": \"Û\",\n \"Uuml\": \"Ü\",\n \"Yacute\": \"Ý\",\n \"THORN\": \"Þ\",\n \"szlig\": \"ß\",\n \"agrave\": \"à\",\n \"aacute\": \"á\",\n \"acirc\": \"â\",\n \"atilde\": \"ã\",\n \"auml\": \"ä\",\n \"aring\": \"å\",\n \"aelig\": \"æ\",\n \"ccedil\": \"ç\",\n \"egrave\": \"è\",\n \"eacute\": \"é\",\n \"ecirc\": \"ê\",\n \"euml\": \"ë\",\n \"igrave\": \"ì\",\n \"iacute\": \"í\",\n \"icirc\": \"î\",\n \"iuml\": \"ï\",\n \"eth\": \"ð\",\n \"ntilde\": \"ñ\",\n \"ograve\": \"ò\",\n \"oacute\": \"ó\",\n \"ocirc\": \"ô\",\n \"otilde\": \"õ\",\n \"ouml\": \"ö\",\n \"divide\": \"÷\",\n \"oslash\": \"ø\",\n \"ugrave\": \"ù\",\n \"uacute\": \"ú\",\n \"ucirc\": \"û\",\n \"uuml\": \"ü\",\n \"yacute\": \"ý\",\n \"thorn\": \"þ\",\n \"yuml\": \"ÿ\",\n \"fnof\": \"ƒ\",\n \"Alpha\": \"Α\",\n \"Beta\": \"Β\",\n \"Gamma\": \"Γ\",\n \"Delta\": \"Δ\",\n \"Epsilon\": \"Ε\",\n \"Zeta\": \"Ζ\",\n \"Eta\": \"Η\",\n \"Theta\": \"Θ\",\n \"Iota\": \"Ι\",\n \"Kappa\": \"Κ\",\n \"Lambda\": \"Λ\",\n \"Mu\": \"Μ\",\n \"Nu\": \"Ν\",\n \"Xi\": \"Ξ\",\n \"Omicron\": \"Ο\",\n \"Pi\": \"Π\",\n \"Rho\": \"Ρ\",\n \"Sigma\": \"Σ\",\n \"Tau\": \"Τ\",\n \"Upsilon\": \"Υ\",\n \"Phi\": \"Φ\",\n \"Chi\": \"Χ\",\n \"Psi\": \"Ψ\",\n \"Omega\": \"Ω\",\n \"alpha\": \"α\",\n \"beta\": \"β\",\n \"gamma\": \"γ\",\n \"delta\": \"δ\",\n \"epsilon\": \"ε\",\n \"zeta\": \"ζ\",\n \"eta\": \"η\",\n \"theta\": \"θ\",\n \"iota\": \"ι\",\n \"kappa\": \"κ\",\n \"lambda\": \"λ\",\n \"mu\": \"μ\",\n \"nu\": \"ν\",\n \"xi\": \"ξ\",\n \"omicron\": \"ο\",\n \"pi\": \"π\",\n \"rho\": \"ρ\",\n \"sigmaf\": \"ς\",\n \"sigma\": \"σ\",\n \"tau\": \"τ\",\n \"upsilon\": \"υ\",\n \"phi\": \"φ\",\n \"chi\": \"χ\",\n \"psi\": \"ψ\",\n \"omega\": \"ω\",\n \"thetasym\": \"ϑ\",\n \"upsih\": \"ϒ\",\n \"piv\": \"ϖ\",\n \"bull\": \"•\",\n \"hellip\": \"…\",\n \"prime\": \"′\",\n \"Prime\": \"″\",\n \"oline\": \"‾\",\n \"frasl\": \"⁄\",\n \"weierp\": \"℘\",\n \"image\": \"ℑ\",\n \"real\": \"ℜ\",\n \"trade\": \"™\",\n \"alefsym\": \"ℵ\",\n \"larr\": \"←\",\n \"uarr\": \"↑\",\n \"rarr\": \"→\",\n \"darr\": \"↓\",\n \"harr\": \"↔\",\n \"crarr\": \"↵\",\n \"lArr\": \"⇐\",\n \"uArr\": \"⇑\",\n \"rArr\": \"⇒\",\n \"dArr\": \"⇓\",\n \"hArr\": \"⇔\",\n \"forall\": \"∀\",\n \"part\": \"∂\",\n \"exist\": \"∃\",\n \"empty\": \"∅\",\n \"nabla\": \"∇\",\n \"isin\": \"∈\",\n \"notin\": \"∉\",\n \"ni\": \"∋\",\n \"prod\": \"∏\",\n \"sum\": \"∑\",\n \"minus\": \"−\",\n \"lowast\": \"∗\",\n \"radic\": \"√\",\n \"prop\": \"∝\",\n \"infin\": \"∞\",\n \"ang\": \"∠\",\n \"and\": \"∧\",\n \"or\": \"∨\",\n \"cap\": \"∩\",\n \"cup\": \"∪\",\n \"int\": \"∫\",\n \"there4\": \"∴\",\n \"sim\": \"∼\",\n \"cong\": \"≅\",\n \"asymp\": \"≈\",\n \"ne\": \"≠\",\n \"equiv\": \"≡\",\n \"le\": \"≤\",\n \"ge\": \"≥\",\n \"sub\": \"⊂\",\n \"sup\": \"⊃\",\n \"nsub\": \"⊄\",\n \"sube\": \"⊆\",\n \"supe\": \"⊇\",\n \"oplus\": \"⊕\",\n \"otimes\": \"⊗\",\n \"perp\": \"⊥\",\n \"sdot\": \"⋅\",\n \"lceil\": \"⌈\",\n \"rceil\": \"⌉\",\n \"lfloor\": \"⌊\",\n \"rfloor\": \"⌋\",\n \"lang\": \"〈\",\n \"rang\": \"〉\",\n \"loz\": \"◊\",\n \"spades\": \"♠\",\n \"clubs\": \"♣\",\n \"hearts\": \"♥\",\n \"diams\": \"♦\",\n \"quot\": \"\\\"\",\n \"amp\": \"&\",\n \"lt\": \"<\",\n \"gt\": \">\",\n \"OElig\": \"Œ\",\n \"oelig\": \"œ\",\n \"Scaron\": \"Š\",\n \"scaron\": \"š\",\n \"Yuml\": \"Ÿ\",\n \"circ\": \"ˆ\",\n \"tilde\": \"˜\",\n \"ensp\": \" \",\n \"emsp\": \" \",\n \"thinsp\": \" \",\n \"zwnj\": \"‌\",\n \"zwj\": \"‍\",\n \"lrm\": \"‎\",\n \"rlm\": \"‏\",\n \"ndash\": \"–\",\n \"mdash\": \"—\",\n \"lsquo\": \"‘\",\n \"rsquo\": \"’\",\n \"sbquo\": \"‚\",\n \"ldquo\": \"“\",\n \"rdquo\": \"”\",\n \"bdquo\": \"„\",\n \"dagger\": \"†\",\n \"Dagger\": \"‡\",\n \"permil\": \"‰\",\n \"lsaquo\": \"‹\",\n \"rsaquo\": \"›\",\n \"euro\": \"€\"\n}\n","{\n \"AElig\": \"Æ\",\n \"AMP\": \"&\",\n \"Aacute\": \"Á\",\n \"Acirc\": \"Â\",\n \"Agrave\": \"À\",\n \"Aring\": \"Å\",\n \"Atilde\": \"Ã\",\n \"Auml\": \"Ä\",\n \"COPY\": \"©\",\n \"Ccedil\": \"Ç\",\n \"ETH\": \"Ð\",\n \"Eacute\": \"É\",\n \"Ecirc\": \"Ê\",\n \"Egrave\": \"È\",\n \"Euml\": \"Ë\",\n \"GT\": \">\",\n \"Iacute\": \"Í\",\n \"Icirc\": \"Î\",\n \"Igrave\": \"Ì\",\n \"Iuml\": \"Ï\",\n \"LT\": \"<\",\n \"Ntilde\": \"Ñ\",\n \"Oacute\": \"Ó\",\n \"Ocirc\": \"Ô\",\n \"Ograve\": \"Ò\",\n \"Oslash\": \"Ø\",\n \"Otilde\": \"Õ\",\n \"Ouml\": \"Ö\",\n \"QUOT\": \"\\\"\",\n \"REG\": \"®\",\n \"THORN\": \"Þ\",\n \"Uacute\": \"Ú\",\n \"Ucirc\": \"Û\",\n \"Ugrave\": \"Ù\",\n \"Uuml\": \"Ü\",\n \"Yacute\": \"Ý\",\n \"aacute\": \"á\",\n \"acirc\": \"â\",\n \"acute\": \"´\",\n \"aelig\": \"æ\",\n \"agrave\": \"à\",\n \"amp\": \"&\",\n \"aring\": \"å\",\n \"atilde\": \"ã\",\n \"auml\": \"ä\",\n \"brvbar\": \"¦\",\n \"ccedil\": \"ç\",\n \"cedil\": \"¸\",\n \"cent\": \"¢\",\n \"copy\": \"©\",\n \"curren\": \"¤\",\n \"deg\": \"°\",\n \"divide\": \"÷\",\n \"eacute\": \"é\",\n \"ecirc\": \"ê\",\n \"egrave\": \"è\",\n \"eth\": \"ð\",\n \"euml\": \"ë\",\n \"frac12\": \"½\",\n \"frac14\": \"¼\",\n \"frac34\": \"¾\",\n \"gt\": \">\",\n \"iacute\": \"í\",\n \"icirc\": \"î\",\n \"iexcl\": \"¡\",\n \"igrave\": \"ì\",\n \"iquest\": \"¿\",\n \"iuml\": \"ï\",\n \"laquo\": \"«\",\n \"lt\": \"<\",\n \"macr\": \"¯\",\n \"micro\": \"µ\",\n \"middot\": \"·\",\n \"nbsp\": \" \",\n \"not\": \"¬\",\n \"ntilde\": \"ñ\",\n \"oacute\": \"ó\",\n \"ocirc\": \"ô\",\n \"ograve\": \"ò\",\n \"ordf\": \"ª\",\n \"ordm\": \"º\",\n \"oslash\": \"ø\",\n \"otilde\": \"õ\",\n \"ouml\": \"ö\",\n \"para\": \"¶\",\n \"plusmn\": \"±\",\n \"pound\": \"£\",\n \"quot\": \"\\\"\",\n \"raquo\": \"»\",\n \"reg\": \"®\",\n \"sect\": \"§\",\n \"shy\": \"­\",\n \"sup1\": \"¹\",\n \"sup2\": \"²\",\n \"sup3\": \"³\",\n \"szlig\": \"ß\",\n \"thorn\": \"þ\",\n \"times\": \"×\",\n \"uacute\": \"ú\",\n \"ucirc\": \"û\",\n \"ugrave\": \"ù\",\n \"uml\": \"¨\",\n \"uuml\": \"ü\",\n \"yacute\": \"ý\",\n \"yen\": \"¥\",\n \"yuml\": \"ÿ\"\n}\n","[\n \"cent\",\n \"copy\",\n \"divide\",\n \"gt\",\n \"lt\",\n \"not\",\n \"para\",\n \"times\"\n]\n","module.exports = toHexReference\n\nvar fromCharCode = require('../constant/from-char-code')\n\n// Transform `code` into a hexadecimal character reference.\nfunction toHexReference(code, next, omit) {\n var value = '&#x' + code.toString(16).toUpperCase()\n return omit && next && !/[\\dA-Fa-f]/.test(fromCharCode(next))\n ? value\n : value + ';'\n}\n","module.exports = toDecimalReference\n\nvar fromCharCode = require('../constant/from-char-code')\n\n// Transform `code` into a decimal character reference.\nfunction toDecimalReference(code, next, omit) {\n var value = '&#' + String(code)\n return omit && next && !/\\d/.test(fromCharCode(next)) ? value : value + ';'\n}\n","'use strict'\n\nvar core = require('./core')\nvar smart = require('./util/format-smart')\n\nmodule.exports = escape\n\n// Shortcut to escape special characters in HTML.\nfunction escape(value) {\n return core(value, {\n escapeOnly: true,\n useNamedReferences: true,\n format: smart\n })\n}\n","import defaultImageInitialDimensions from './defaultInitialImageDimensions';\nimport { getIMGState } from './getIMGState';\nimport type {\n UseIMGElementStateWithCacheProps,\n IMGElementStateError,\n IMGElementStateSuccess\n} from './img-types';\nimport useImageConcreteDimensions from './useImageConcreteDimensions';\nimport useImageSpecifiedDimensions from './useImageSpecifiedDimensions';\nimport useIMGNormalizedSource from './useIMGNormalizedSource';\n\n/**\n * This hook is useful when one has access to image natural dimensions prior to\n * loading. The `cachedNaturalDimensions` prop must be passed to immediately\n * compute concrete dimensions.\n */\nexport default function useIMGElementStateWithCache(\n props: UseIMGElementStateWithCacheProps\n): IMGElementStateError | IMGElementStateSuccess {\n const {\n alt,\n altColor,\n source,\n contentWidth,\n computeMaxWidth,\n objectFit,\n initialDimensions = defaultImageInitialDimensions,\n cachedNaturalDimensions\n } = props;\n const { flatStyle, specifiedDimensions } = useImageSpecifiedDimensions(props);\n const nomalizedSource = useIMGNormalizedSource({\n specifiedDimensions,\n source\n });\n const concreteDimensions = useImageConcreteDimensions({\n flatStyle,\n naturalDimensions: cachedNaturalDimensions,\n specifiedDimensions,\n computeMaxWidth,\n contentWidth\n });\n\n return getIMGState({\n error: null,\n concreteDimensions,\n containerStyle: flatStyle,\n initialDimensions,\n objectFit,\n source: nomalizedSource,\n alt,\n altColor\n });\n}\n","import {\n ImageStyle,\n ImageURISource,\n PressableProps,\n StyleProp,\n ViewProps,\n ViewStyle\n} from 'react-native';\nimport { ImageDimensions } from '../shared-types';\nimport { WebBlockStyles } from '@native-html/transient-render-engine';\n\n/**\n * Props for {@link useIMGElementStateWithCache} hook.\n */\nexport type UseIMGElementStateWithCacheProps = UseIMGElementStateProps &\n Required>;\n\n/**\n * Props for {@link useIMGElementState} hook.\n */\nexport interface UseIMGElementStateProps {\n /**\n * Alt text extract from `alt` attribute.\n */\n alt?: string;\n /**\n * Alt color, defaults to `color` for this {@link TNode}.\n */\n altColor?: string;\n /**\n * When the natural (\"physical\") dimensions for this image are accessible *a\n * priori*, these should be passed. It will save some API calls and filesytem\n * access via React Native Image.getSize.\n */\n cachedNaturalDimensions?: ImageDimensions;\n /**\n * When provided, the print image will have a max width depending on the\n * `contentWidth` prop.\n */\n computeMaxWidth?: (contentWidth: number) => number;\n /**\n * The `contentWidth` from the {@link RenderHTMLProps}.\n */\n contentWidth?: number;\n /**\n * Allow experimental percent width for the print dimensions computation.\n * The percent will be relative to `contentWidth`\n */\n enableExperimentalPercentWidth?: boolean;\n /**\n * The value of the `height` attribute.\n */\n height?: string | number;\n /**\n * Rendered dimensions prior to retrieving natural dimensions of the image.\n */\n initialDimensions?: ImageDimensions;\n /**\n * The value of the `object-fit` CSS property.\n */\n objectFit?: WebBlockStyles['objectFit'];\n /**\n * The source to paint.\n */\n source: ImageURISource;\n /**\n * The style for this image.\n */\n style?: StyleProp;\n /**\n * The value of the `width` attribute.\n */\n width?: string | number;\n}\n\n/**\n * Props for the {@link IMGElement} component.\n */\nexport interface IMGElementProps extends UseIMGElementStateProps {\n containerProps?: Omit;\n /**\n * A callback triggered on press.\n */\n onPress?: PressableProps['onPress'];\n testID?: string;\n}\n\n/**\n * The internal state used by {@link IMGElement}.\n */\nexport type IMGElementState =\n | IMGElementStateError\n | IMGElementStateSuccess\n | IMGElementStateLoading;\n\n/**\n * Base fields for all {@link IMGElementState}.\n */\nexport interface IMGElementStateBase {\n /**\n * Alt text extract from `alt` attribute.\n */\n alt?: string;\n /**\n * Alt color, defaults to `color` for this {@link TNode}.\n */\n altColor?: string;\n /**\n * Styles of the container.\n */\n containerStyle: ViewStyle;\n /**\n * Physical dimensions of the image\n */\n dimensions: ImageDimensions;\n /**\n * The source to paint.\n */\n source: ImageURISource;\n}\n\n/**\n * State when the image has been successfully loaded.\n */\nexport interface IMGElementStateSuccess extends IMGElementStateBase {\n /**\n * Image-only style extracted from `IMGElement.style` prop.\n */\n imageStyle: ImageStyle;\n /**\n * This callback should be passed down to the underlying image component.\n *\n * @remarks Quite often, the image won't be pre-fetched\n * because its print dimensions can be determined immediately. For\n * example, when both width and height are provide as attributes. So the\n * first state s0 of this state machine can be \"success\", and the second\n * state s1 be \"error\".\n */\n onError: (error: Error) => void;\n type: 'success';\n}\n\n/**\n * State when the image is loading.\n */\nexport interface IMGElementStateLoading extends IMGElementStateBase {\n type: 'loading';\n}\n\n/**\n * State when the image could not be loaded.\n */\nexport interface IMGElementStateError extends IMGElementStateBase {\n error: Error;\n type: 'error';\n}\n\n/**\n * Partial image dimensions.\n */\nexport interface IncompleteImageDimensions {\n height: number | null;\n width: number | null;\n}\n","import React from 'react';\nimport {View} from 'react-native';\nimport * as formSubmitPropTypes from './formSubmitPropTypes';\n\nconst FormSubmit = React.forwardRef((props, ref) => (\n {props.children}\n));\n\nFormSubmit.propTypes = formSubmitPropTypes.propTypes;\nFormSubmit.defaultProps = formSubmitPropTypes.defaultProps;\nFormSubmit.displayName = 'FormSubmit';\n\nexport default FormSubmit;\n","import PropTypes from 'prop-types';\nimport stylePropTypes from '../../styles/stylePropTypes';\n\nconst propTypes = {\n /** A reference forwarded to the inner View */\n innerRef: PropTypes.oneOfType([\n PropTypes.func,\n // eslint-disable-next-line react/forbid-prop-types\n PropTypes.shape({current: PropTypes.any}),\n ]),\n\n /* A function to execute when form is submitted with ENTER */\n onSubmit: PropTypes.func.isRequired,\n\n /** Children to wrap with FormSubmit. */\n children: PropTypes.node.isRequired,\n\n /** Container styles */\n style: stylePropTypes,\n};\n\nconst defaultProps = {\n innerRef: undefined,\n style: [],\n};\n\nexport {propTypes, defaultProps};\n","import React from 'react';\nimport {ScrollView} from 'react-native';\n\nconst MIN_SMOOTH_SCROLL_EVENT_THROTTLE = 16;\n\nconst ScrollContext = React.createContext();\n\n// eslint-disable-next-line react/forbid-foreign-prop-types\nconst propTypes = ScrollView.propTypes;\n\n/*\n* is a wrapper around that provides a ref to the .\n* can be used as a direct replacement for \n* if it contains one or more / components.\n* Using this wrapper will automatically handle scrolling to the picker's \n* when the picker modal is opened\n*/\nclass ScrollViewWithContext extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n contentOffsetY: 0,\n };\n this.scrollViewRef = this.props.innerRef || React.createRef(null);\n\n this.setContextScrollPosition = this.setContextScrollPosition.bind(this);\n }\n\n setContextScrollPosition(event) {\n if (this.props.onScroll) {\n this.props.onScroll(event);\n }\n this.setState({contentOffsetY: event.nativeEvent.contentOffset.y});\n }\n\n render() {\n return (\n \n \n {this.props.children}\n \n \n );\n }\n}\nScrollViewWithContext.propTypes = propTypes;\n\nexport default React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n));\n\nexport {\n ScrollContext,\n};\n","import React from 'react';\nimport CONST from '../../CONST';\nimport MoneyRequestModal from './MoneyRequestModal';\n\n// eslint-disable-next-line react/jsx-props-no-spreading\nconst IOUSendPage = props => ;\nIOUSendPage.displayName = 'IOUSendPage';\nexport default IOUSendPage;\n","import _ from 'underscore';\nimport React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport PropTypes from 'prop-types';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport Navigation from '../libs/Navigation/Navigation';\nimport * as BankAccounts from '../libs/actions/BankAccounts';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport AddPlaidBankAccount from '../components/AddPlaidBankAccount';\nimport getPlaidOAuthReceivedRedirectURI from '../libs/getPlaidOAuthReceivedRedirectURI';\nimport compose from '../libs/compose';\nimport ONYXKEYS from '../ONYXKEYS';\nimport styles from '../styles/styles';\nimport Form from '../components/Form';\nimport ROUTES from '../ROUTES';\nimport * as PlaidDataProps from './ReimbursementAccount/plaidDataPropTypes';\nimport ConfirmationPage from '../components/ConfirmationPage';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** Contains plaid data */\n plaidData: PlaidDataProps.plaidDataPropTypes,\n\n /** The details about the Personal bank account we are adding saved in Onyx */\n personalBankAccount: PropTypes.shape({\n /** An error message to display to the user */\n error: PropTypes.string,\n\n /** Whether we should show the view that the bank account was successfully added */\n shouldShowSuccess: PropTypes.bool,\n\n /** Whether the form is loading */\n isLoading: PropTypes.bool,\n\n /** The account ID of the selected bank account from Plaid */\n plaidAccountID: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n plaidData: PlaidDataProps.plaidDataDefaultProps,\n personalBankAccount: {\n error: '',\n shouldShowSuccess: false,\n isLoading: false,\n plaidAccountID: '',\n },\n};\n\nclass AddPersonalBankAccountPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.submit = this.submit.bind(this);\n\n this.state = {\n selectedPlaidAccountID: '',\n };\n }\n\n componentWillUnmount() {\n BankAccounts.clearPersonalBankAccount();\n }\n\n /**\n * @returns {Object}\n */\n validate() {\n return {};\n }\n\n submit() {\n const selectedPlaidBankAccount = _.findWhere(lodashGet(this.props.plaidData, 'bankAccounts', []), {\n plaidAccountID: this.state.selectedPlaidAccountID,\n });\n\n BankAccounts.addPersonalBankAccount(selectedPlaidBankAccount);\n }\n\n render() {\n const shouldShowSuccess = lodashGet(this.props, 'personalBankAccount.shouldShowSuccess', false);\n\n return (\n \n \n {shouldShowSuccess ? (\n {\n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS);\n }}\n />\n ) : (\n \n <>\n {\n this.setState({selectedPlaidAccountID});\n }}\n plaidData={this.props.plaidData}\n onExitPlaid={Navigation.goBack}\n receivedRedirectURI={getPlaidOAuthReceivedRedirectURI()}\n selectedPlaidAccountID={this.state.selectedPlaidAccountID}\n />\n \n \n )}\n \n );\n }\n}\n\nAddPersonalBankAccountPage.propTypes = propTypes;\nAddPersonalBankAccountPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n personalBankAccount: {\n key: ONYXKEYS.PERSONAL_BANK_ACCOUNT,\n },\n plaidData: {\n key: ONYXKEYS.PLAID_DATA,\n },\n }),\n)(AddPersonalBankAccountPage);\n","import Onyx from 'react-native-onyx';\nimport CONST from '../../CONST';\nimport * as API from '../API';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as Localize from '../Localize';\nimport DateUtils from '../DateUtils';\nimport * as PlaidDataProps from '../../pages/ReimbursementAccount/plaidDataPropTypes';\nimport Navigation from '../Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport * as ReimbursementAccount from './ReimbursementAccount';\n\nexport {\n goToWithdrawalAccountSetupStep,\n setBankAccountFormValidationErrors,\n resetReimbursementAccount,\n resetFreePlanBankAccount,\n hideBankAccountErrors,\n setWorkspaceIDForReimbursementAccount,\n setBankAccountSubStep,\n updateReimbursementAccountDraft,\n requestResetFreePlanBankAccount,\n cancelResetFreePlanBankAccount,\n} from './ReimbursementAccount';\nexport {\n openPlaidBankAccountSelector,\n openPlaidBankLogin,\n} from './Plaid';\nexport {\n openOnfidoFlow,\n answerQuestionsForWallet,\n verifyIdentity,\n acceptWalletTerms,\n} from './Wallet';\n\nfunction clearPlaid() {\n Onyx.set(ONYXKEYS.PLAID_LINK_TOKEN, '');\n\n return Onyx.set(ONYXKEYS.PLAID_DATA, PlaidDataProps.plaidDataDefaultProps);\n}\n\nfunction openPlaidView() {\n clearPlaid().then(() => ReimbursementAccount.setBankAccountSubStep(CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID));\n}\n\nfunction openPersonalBankAccountSetupView() {\n clearPlaid().then(() => Navigation.navigate(ROUTES.SETTINGS_ADD_BANK_ACCOUNT));\n}\n\nfunction clearPersonalBankAccount() {\n clearPlaid();\n Onyx.set(ONYXKEYS.PERSONAL_BANK_ACCOUNT, {});\n}\n\nfunction clearOnfidoToken() {\n Onyx.merge(ONYXKEYS.ONFIDO_TOKEN, '');\n}\n\n/**\n * Helper method to build the Onyx data required during setup of a Verified Business Bank Account\n *\n * @returns {Object}\n */\nfunction getVBBADataForOnyx() {\n return {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: true,\n errors: null,\n },\n },\n ],\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n errors: null,\n },\n },\n ],\n failureData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n errors: {\n [DateUtils.getMicroseconds()]: Localize.translateLocal('paymentsPage.addBankAccountFailure'),\n },\n },\n },\n ],\n };\n}\n\n/**\n * Submit Bank Account step with Plaid data so php can perform some checks.\n *\n * @param {Number} bankAccountID\n * @param {Object} selectedPlaidBankAccount\n */\nfunction connectBankAccountWithPlaid(bankAccountID, selectedPlaidBankAccount) {\n const commandName = 'ConnectBankAccountWithPlaid';\n\n const parameters = {\n bankAccountID,\n routingNumber: selectedPlaidBankAccount.routingNumber,\n accountNumber: selectedPlaidBankAccount.accountNumber,\n bank: selectedPlaidBankAccount.bankName,\n plaidAccountID: selectedPlaidBankAccount.plaidAccountID,\n plaidAccessToken: selectedPlaidBankAccount.plaidAccessToken,\n };\n\n API.write(commandName, parameters, getVBBADataForOnyx());\n}\n\n/**\n * Adds a bank account via Plaid\n *\n * @param {Object} account\n * @TODO offline pattern for this command will have to be added later once the pattern B design doc is complete\n */\nfunction addPersonalBankAccount(account) {\n const commandName = 'AddPersonalBankAccount';\n\n const parameters = {\n addressName: account.addressName,\n routingNumber: account.routingNumber,\n accountNumber: account.accountNumber,\n isSavings: account.isSavings,\n setupType: 'plaid',\n bank: account.bankName,\n plaidAccountID: account.plaidAccountID,\n plaidAccessToken: account.plaidAccessToken,\n };\n\n const onyxData = {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PERSONAL_BANK_ACCOUNT,\n value: {\n isLoading: true,\n errors: null,\n plaidAccountID: account.plaidAccountID,\n },\n },\n ],\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PERSONAL_BANK_ACCOUNT,\n value: {\n isLoading: false,\n errors: null,\n shouldShowSuccess: true,\n },\n },\n ],\n failureData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PERSONAL_BANK_ACCOUNT,\n value: {\n isLoading: false,\n errors: {\n [DateUtils.getMicroseconds()]: Localize.translateLocal('paymentsPage.addBankAccountFailure'),\n },\n },\n },\n ],\n };\n\n API.write(commandName, parameters, onyxData);\n}\n\nfunction deletePaymentBankAccount(bankAccountID) {\n API.write('DeletePaymentBankAccount', {\n bankAccountID,\n }, {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: `${ONYXKEYS.BANK_ACCOUNT_LIST}`,\n value: {[bankAccountID]: {pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE}},\n },\n ],\n\n // Sometimes pusher updates aren't received when we close the App while still offline,\n // so we are setting the bankAccount to null here to ensure that it gets cleared out once we come back online.\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: `${ONYXKEYS.BANK_ACCOUNT_LIST}`,\n value: {[bankAccountID]: null},\n },\n ],\n });\n}\n\n/**\n* Update the user's personal information on the bank account in database.\n*\n* This action is called by the requestor step in the Verified Bank Account flow\n*\n* @param {Object} params\n*\n* @param {String} [params.dob]\n* @param {String} [params.firstName]\n* @param {String} [params.lastName]\n* @param {String} [params.requestorAddressStreet]\n* @param {String} [params.requestorAddressCity]\n* @param {String} [params.requestorAddressState]\n* @param {String} [params.requestorAddressZipCode]\n* @param {String} [params.ssnLast4]\n* @param {String} [params.isControllingOfficer]\n* @param {Object} [params.onfidoData]\n* @param {Boolean} [params.isOnfidoSetupComplete]\n*/\nfunction updatePersonalInformationForBankAccount(params) {\n API.write('UpdatePersonalInformationForBankAccount', params, getVBBADataForOnyx());\n}\n\n/**\n * @param {Number} bankAccountID\n * @param {String} validateCode\n */\nfunction validateBankAccount(bankAccountID, validateCode) {\n API.write('ValidateBankAccountWithTransactions', {\n bankAccountID,\n validateCode,\n }, {\n optimisticData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: true,\n errors: null,\n },\n }],\n successData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n },\n }],\n failureData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n },\n }],\n });\n}\n\nfunction openReimbursementAccountPage(stepToOpen, subStep, localCurrentStep) {\n const onyxData = {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n errors: null,\n isLoading: true,\n },\n },\n ],\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n },\n },\n ],\n failureData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {\n isLoading: false,\n },\n },\n ],\n };\n\n const param = {\n stepToOpen,\n subStep,\n localCurrentStep,\n };\n\n return API.read('OpenReimbursementAccountPage', param, onyxData);\n}\n\n/**\n * Updates the bank account in the database with the company step data\n *\n * @param {Object} bankAccount\n * @param {Number} [bankAccount.bankAccountID]\n *\n * Fields from BankAccount step\n * @param {String} [bankAccount.routingNumber]\n * @param {String} [bankAccount.accountNumber]\n * @param {String} [bankAccount.bankName]\n * @param {String} [bankAccount.plaidAccountID]\n * @param {String} [bankAccount.plaidAccessToken]\n * @param {Boolean} [bankAccount.isSavings]\n *\n * Fields from Company step\n * @param {String} [bankAccount.companyName]\n * @param {String} [bankAccount.addressStreet]\n * @param {String} [bankAccount.addressCity]\n * @param {String} [bankAccount.addressState]\n * @param {String} [bankAccount.addressZipCode]\n * @param {String} [bankAccount.companyPhone]\n * @param {String} [bankAccount.website]\n * @param {String} [bankAccount.companyTaxID]\n * @param {String} [bankAccount.incorporationType]\n * @param {String} [bankAccount.incorporationState]\n * @param {String} [bankAccount.incorporationDate]\n * @param {Boolean} [bankAccount.hasNoConnectionToCannabis]\n */\nfunction updateCompanyInformationForBankAccount(bankAccount) {\n API.write('UpdateCompanyInformationForBankAccount', bankAccount, getVBBADataForOnyx());\n}\n\n/**\n * Add beneficial owners for the bank account, accept the ACH terms and conditions and verify the accuracy of the information provided\n *\n * @param {Object} params\n *\n * // ACH Contract Step\n * @param {Boolean} [params.ownsMoreThan25Percent]\n * @param {Boolean} [params.hasOtherBeneficialOwners]\n * @param {Boolean} [params.acceptTermsAndConditions]\n * @param {Boolean} [params.certifyTrueInformation]\n * @param {String} [params.beneficialOwners]\n */\nfunction updateBeneficialOwnersForBankAccount(params) {\n API.write('UpdateBeneficialOwnersForBankAccount', {...params}, getVBBADataForOnyx());\n}\n\n/**\n * Create the bank account with manually entered data.\n *\n * @param {number} [bankAccountID]\n * @param {String} [accountNumber]\n * @param {String} [routingNumber]\n * @param {String} [plaidMask]\n *\n */\nfunction connectBankAccountManually(bankAccountID, accountNumber, routingNumber, plaidMask) {\n API.write('ConnectBankAccountManually', {\n bankAccountID,\n accountNumber,\n routingNumber,\n plaidMask,\n }, getVBBADataForOnyx());\n}\n\n/**\n * Verify the user's identity via Onfido\n *\n * @param {Number} bankAccountID\n * @param {Object} onfidoData\n */\nfunction verifyIdentityForBankAccount(bankAccountID, onfidoData) {\n API.write('VerifyIdentityForBankAccount', {\n bankAccountID,\n onfidoData: JSON.stringify(onfidoData),\n }, getVBBADataForOnyx());\n}\n\nfunction openWorkspaceView() {\n API.read('OpenWorkspaceView');\n}\n\n/**\n * Set the reimbursement account loading so that it happens right away, instead of when the API command is processed.\n *\n * @param {Boolean} isLoading\n */\nfunction setReimbursementAccountLoading(isLoading) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {isLoading});\n}\n\nexport {\n addPersonalBankAccount,\n clearOnfidoToken,\n clearPersonalBankAccount,\n clearPlaid,\n openPlaidView,\n connectBankAccountManually,\n connectBankAccountWithPlaid,\n deletePaymentBankAccount,\n openPersonalBankAccountSetupView,\n openReimbursementAccountPage,\n updateBeneficialOwnersForBankAccount,\n updateCompanyInformationForBankAccount,\n updatePersonalInformationForBankAccount,\n openWorkspaceView,\n validateBankAccount,\n verifyIdentityForBankAccount,\n setReimbursementAccountLoading,\n};\n","import getPlaidLinkTokenParameters from '../getPlaidLinkTokenParameters';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as API from '../API';\nimport CONST from '../../CONST';\nimport * as PlaidDataProps from '../../pages/ReimbursementAccount/plaidDataPropTypes';\n\n/**\n * Gets the Plaid Link token used to initialize the Plaid SDK\n * @param {Boolean} allowDebit\n * @param {Number} bankAccountID\n */\nfunction openPlaidBankLogin(allowDebit, bankAccountID) {\n const params = getPlaidLinkTokenParameters();\n params.allowDebit = allowDebit;\n params.bankAccountID = bankAccountID;\n const optimisticData = [{\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.PLAID_DATA,\n value: {...PlaidDataProps.plaidDataDefaultProps, isLoading: true},\n }, {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.PLAID_LINK_TOKEN,\n value: '',\n }, {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT,\n value: {\n plaidAccountID: '',\n },\n }];\n\n API.read('OpenPlaidBankLogin', params, {optimisticData});\n}\n\n/**\n * @param {String} publicToken\n * @param {String} bankName\n * @param {Boolean} allowDebit\n */\nfunction openPlaidBankAccountSelector(publicToken, bankName, allowDebit) {\n API.read('OpenPlaidBankAccountSelector', {\n publicToken,\n allowDebit,\n bank: bankName,\n }, {\n optimisticData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PLAID_DATA,\n value: {\n isLoading: true,\n errors: null,\n bankName,\n },\n }],\n successData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PLAID_DATA,\n value: {\n isLoading: false,\n errors: null,\n },\n }],\n failureData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PLAID_DATA,\n value: {\n isLoading: false,\n },\n }],\n });\n}\n\nexport {\n openPlaidBankAccountSelector,\n openPlaidBankLogin,\n};\n","import CONFIG from '../../CONFIG';\n\nexport default () => ({redirect_uri: `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}partners/plaid/oauth_ios`});\n","import PropTypes from 'prop-types';\n\nconst plaidDataPropTypes = PropTypes.shape({\n /** Whether we are fetching the bank accounts from the API */\n isLoading: PropTypes.bool,\n\n /** Any additional error message to show */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** Name of the bank */\n bankName: PropTypes.string,\n\n /** Access token returned by Plaid once the user has logged into their bank. This token can be used along with internal credentials to query for Plaid Balance or Assets */\n plaidAccessToken: PropTypes.string,\n\n /** List of plaid bank accounts */\n bankAccounts: PropTypes.arrayOf(PropTypes.shape({\n /** Masked account number */\n accountNumber: PropTypes.string,\n\n /** Name of account */\n addressName: PropTypes.string,\n\n /** Is the account a savings account? */\n isSavings: PropTypes.bool,\n\n /** Unique identifier for this account in Plaid */\n plaidAccountID: PropTypes.string,\n\n /** Routing number for the account */\n routingNumber: PropTypes.string,\n\n /** last 4 digits of the account number */\n mask: PropTypes.string,\n\n /** Plaid access token, used to then retrieve Assets and Balances */\n plaidAccessToken: PropTypes.string,\n })),\n});\n\nconst plaidDataDefaultProps = {\n bankName: '',\n plaidAccessToken: '',\n bankAccounts: [],\n isLoading: false,\n error: '',\n errors: {},\n};\n\nexport {plaidDataPropTypes, plaidDataDefaultProps};\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport resetFreePlanBankAccount from './resetFreePlanBankAccount';\nimport deleteFromBankAccountList from './deleteFromBankAccountList';\n\nexport {goToWithdrawalAccountSetupStep, navigateToBankAccountRoute} from './navigation';\nexport {\n setBankAccountFormValidationErrors,\n setPersonalBankAccountFormValidationErrorFields,\n resetReimbursementAccount,\n showBankAccountFormValidationError,\n} from './errors';\n\n/**\n * Set the current sub step in first step of adding withdrawal bank account:\n * - `null` if we want to go back to the view where the user selects between connecting via Plaid or connecting manually\n * - CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL to ask them to enter their accountNumber and routingNumber\n * - CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID to ask them to login to their bank via Plaid\n *\n * @param {String} subStep\n */\nfunction setBankAccountSubStep(subStep) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {achData: {subStep}});\n}\n\nfunction hideBankAccountErrors() {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {error: '', errors: null});\n}\n\nfunction setWorkspaceIDForReimbursementAccount(workspaceID) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT_WORKSPACE_ID, workspaceID);\n}\n\n/**\n * @param {Object} bankAccountData\n */\nfunction updateReimbursementAccountDraft(bankAccountData) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT, bankAccountData);\n}\n\n/**\n * Triggers a modal to open allowing the user to reset their bank account\n */\nfunction requestResetFreePlanBankAccount() {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {shouldShowResetModal: true});\n}\n\n/**\n * Hides modal allowing the user to reset their bank account\n */\nfunction cancelResetFreePlanBankAccount() {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {shouldShowResetModal: false});\n}\n\nexport {\n resetFreePlanBankAccount,\n setBankAccountSubStep,\n hideBankAccountErrors,\n setWorkspaceIDForReimbursementAccount,\n updateReimbursementAccountDraft,\n requestResetFreePlanBankAccount,\n cancelResetFreePlanBankAccount,\n deleteFromBankAccountList,\n};\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport ROUTES from '../../../ROUTES';\nimport Navigation from '../../Navigation/Navigation';\n\n/**\n * Navigate to a specific step in the VBA flow\n *\n * @param {String} stepID\n * @param {Object} newAchData\n */\nfunction goToWithdrawalAccountSetupStep(stepID, newAchData) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {achData: {...newAchData, currentStep: stepID}});\n}\n\n/**\n * Navigate to the correct bank account route based on the bank account state and type\n *\n * @param {String} policyId\n */\nfunction navigateToBankAccountRoute(policyId) {\n Navigation.navigate(ROUTES.getBankAccountRoute('', policyId));\n}\n\nexport {\n goToWithdrawalAccountSetupStep,\n navigateToBankAccountRoute,\n};\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport DateUtils from '../../DateUtils';\n\n/**\n * Set the current fields with errors.\n * @param {Object} errorFields\n */\nfunction setPersonalBankAccountFormValidationErrorFields(errorFields) {\n // We set 'errorFields' to null first because we don't have a way yet to replace a specific property without merging it\n Onyx.merge(ONYXKEYS.PERSONAL_BANK_ACCOUNT, {errorFields: null});\n Onyx.merge(ONYXKEYS.PERSONAL_BANK_ACCOUNT, {errorFields});\n}\n\n/**\n * Set the current fields with errors.\n *\n * @param {Object} errorFields\n */\nfunction setBankAccountFormValidationErrors(errorFields) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {errorFields: null});\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {errorFields});\n}\n\n/**\n * Clear validation messages from reimbursement account\n */\nfunction resetReimbursementAccount() {\n setBankAccountFormValidationErrors({});\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {errors: null});\n}\n\n/**\n * Set the current error message.\n *\n * @param {String} error\n */\nfunction showBankAccountFormValidationError(error) {\n Onyx.merge(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {\n // eslint-disable-next-line rulesdir/prefer-localization\n errors: {\n [DateUtils.getMicroseconds()]: error,\n },\n });\n}\n\nexport {\n setBankAccountFormValidationErrors,\n setPersonalBankAccountFormValidationErrorFields,\n showBankAccountFormValidationError,\n resetReimbursementAccount,\n};\n","import CONST from '../../../CONST';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport * as store from './store';\nimport * as API from '../../API';\nimport * as PlaidDataProps from '../../../pages/ReimbursementAccount/plaidDataPropTypes';\nimport * as ReimbursementAccountProps from '../../../pages/ReimbursementAccount/reimbursementAccountPropTypes';\n\n/**\n * Reset user's reimbursement account. This will delete the bank account.\n * @param {number} bankAccountID\n */\nfunction resetFreePlanBankAccount(bankAccountID) {\n if (!bankAccountID) {\n throw new Error('Missing bankAccountID when attempting to reset free plan bank account');\n }\n if (!store.getCredentials() || !store.getCredentials().login) {\n throw new Error('Missing credentials when attempting to reset free plan bank account');\n }\n\n API.write('RestartBankAccountSetup',\n {\n bankAccountID,\n ownerEmail: store.getCredentials().login,\n },\n {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.ONFIDO_TOKEN,\n value: '',\n },\n {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.PLAID_DATA,\n value: PlaidDataProps.plaidDataDefaultProps,\n },\n {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.PLAID_LINK_TOKEN,\n value: '',\n },\n {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: ReimbursementAccountProps.reimbursementAccountDefaultProps,\n },\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {isLoading: true},\n },\n {\n onyxMethod: CONST.ONYX.METHOD.SET,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT,\n value: {},\n },\n ],\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {isLoading: false},\n },\n ],\n failureData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n value: {isLoading: false},\n },\n ],\n });\n}\n\nexport default resetFreePlanBankAccount;\n","import Onyx from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport ONYXKEYS from '../../../ONYXKEYS';\n\n/** Reimbursement account actively being set up */\nlet reimbursementAccountInSetup = {};\nOnyx.connect({\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n callback: (val) => {\n reimbursementAccountInSetup = lodashGet(val, 'achData', {});\n },\n});\n\nlet reimbursementAccountWorkspaceID = null;\nOnyx.connect({\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_WORKSPACE_ID,\n callback: (val) => {\n reimbursementAccountWorkspaceID = val;\n },\n});\n\nlet bankAccountList = null;\nOnyx.connect({\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n callback: (val) => {\n bankAccountList = val;\n },\n});\n\nlet credentials;\nOnyx.connect({\n key: ONYXKEYS.CREDENTIALS,\n callback: (val) => {\n credentials = val || {};\n },\n});\n\nfunction getReimbursementAccountInSetup() {\n return reimbursementAccountInSetup;\n}\n\nfunction getBankAccountList() {\n return bankAccountList;\n}\n\nfunction getCredentials() {\n return credentials;\n}\n\nfunction getReimbursementAccountWorkspaceID() {\n return reimbursementAccountWorkspaceID;\n}\n\nexport {\n getReimbursementAccountInSetup,\n getBankAccountList,\n getCredentials,\n getReimbursementAccountWorkspaceID,\n};\n","import PropTypes from 'prop-types';\nimport BankAccount from '../../libs/models/BankAccount';\n\nconst reimbursementAccountPropTypes = PropTypes.shape({\n /** Whether we are loading the data via the API */\n isLoading: PropTypes.bool,\n\n /** A date that indicates the user has been throttled */\n throttledDate: PropTypes.string,\n\n /** Additional data for the account in setup */\n achData: PropTypes.shape({\n\n /** Step of the setup flow that we are on. Determines which view is presented. */\n currentStep: PropTypes.string,\n\n /** Bank account state */\n state: PropTypes.string,\n\n /** Bank account ID of the VBA that we are validating is required */\n bankAccountID: PropTypes.number,\n\n }),\n\n /** Disable validation button if max attempts exceeded */\n maxAttemptsReached: PropTypes.bool,\n\n /** Alert message to display above submit button */\n error: PropTypes.string,\n\n /** Which field needs attention? */\n errorFields: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.bool, PropTypes.array])),\n\n /** Any additional error message to show */\n errors: PropTypes.objectOf(PropTypes.string),\n});\n\nconst reimbursementAccountDefaultProps = {\n achData: {\n state: BankAccount.STATE.SETUP,\n },\n isLoading: false,\n errorFields: {},\n errors: {},\n maxAttemptsReached: false,\n shouldShowResetModal: false,\n};\n\nexport {reimbursementAccountPropTypes, reimbursementAccountDefaultProps};\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport * as store from './store';\n\n/**\n * Deletes a bank account from bankAccountList\n *\n * @param {Number} bankAccountID\n */\nfunction deleteFromBankAccountList(bankAccountID) {\n // We should delete the bankAccountID key from the bankAccountList object before setting it in Onyx\n const bankAccountList = store.getBankAccountList();\n delete bankAccountList[bankAccountID];\n\n Onyx.merge(ONYXKEYS.BANK_ACCOUNT_LIST, bankAccountList);\n}\n\nexport default deleteFromBankAccountList;\n","import _ from 'underscore';\nimport React from 'react';\nimport {\n ActivityIndicator,\n View,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport Log from '../libs/Log';\nimport PlaidLink from './PlaidLink';\nimport * as BankAccounts from '../libs/actions/BankAccounts';\nimport ONYXKEYS from '../ONYXKEYS';\nimport styles from '../styles/styles';\nimport themeColors from '../styles/themes/default';\nimport compose from '../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport Picker from './Picker';\nimport {plaidDataPropTypes} from '../pages/ReimbursementAccount/plaidDataPropTypes';\nimport Text from './Text';\nimport getBankIcon from './Icon/BankIcons';\nimport Icon from './Icon';\nimport FullPageOfflineBlockingView from './BlockingViews/FullPageOfflineBlockingView';\nimport {withNetwork} from './OnyxProvider';\n\nconst propTypes = {\n /** Contains plaid data */\n plaidData: plaidDataPropTypes.isRequired,\n\n /** Selected account ID from the Picker associated with the end of the Plaid flow */\n selectedPlaidAccountID: PropTypes.string,\n\n /** Plaid SDK token to use to initialize the widget */\n plaidLinkToken: PropTypes.string,\n\n /** Fired when the user exits the Plaid flow */\n onExitPlaid: PropTypes.func,\n\n /** Fired when the user selects an account */\n onSelect: PropTypes.func,\n\n /** Additional text to display */\n text: PropTypes.string,\n\n /** The OAuth URI + stateID needed to re-initialize the PlaidLink after the user logs into their bank */\n receivedRedirectURI: PropTypes.string,\n\n /** During the OAuth flow we need to use the plaidLink token that we initially connected with */\n plaidLinkOAuthToken: PropTypes.string,\n\n /** If we're updating an existing bank account, what's its bank account ID? */\n bankAccountID: PropTypes.number,\n\n /** Are we adding a withdrawal account? */\n allowDebit: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n selectedPlaidAccountID: '',\n plaidLinkToken: '',\n onExitPlaid: () => {},\n onSelect: () => {},\n text: '',\n receivedRedirectURI: null,\n plaidLinkOAuthToken: '',\n allowDebit: false,\n bankAccountID: 0,\n};\n\nclass AddPlaidBankAccount extends React.Component {\n constructor(props) {\n super(props);\n\n this.getPlaidLinkToken = this.getPlaidLinkToken.bind(this);\n }\n\n componentDidMount() {\n // If we're coming from Plaid OAuth flow then we need to reuse the existing plaidLinkToken\n if (this.isAuthenticatedWithPlaid()) {\n return;\n }\n\n BankAccounts.openPlaidBankLogin(this.props.allowDebit, this.props.bankAccountID);\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.network.isOffline || this.props.network.isOffline || this.isAuthenticatedWithPlaid()) {\n return;\n }\n\n // If we are coming back from offline and we haven't authenticated with Plaid yet, we need to re-run our call to kick off Plaid\n BankAccounts.openPlaidBankLogin(this.props.allowDebit, this.props.bankAccountID);\n }\n\n /**\n * @returns {String}\n */\n getPlaidLinkToken() {\n if (this.props.plaidLinkToken) {\n return this.props.plaidLinkToken;\n }\n\n if (this.props.receivedRedirectURI && this.props.plaidLinkOAuthToken) {\n return this.props.plaidLinkOAuthToken;\n }\n }\n\n /**\n * @returns {Boolean}\n */\n isAuthenticatedWithPlaid() {\n return ((this.props.receivedRedirectURI && this.props.plaidLinkOAuthToken)\n || !_.isEmpty(lodashGet(this.props.plaidData, 'bankAccounts'))\n || !_.isEmpty(lodashGet(this.props.plaidData, 'errors')));\n }\n\n render() {\n const plaidBankAccounts = lodashGet(this.props.plaidData, 'bankAccounts') || [];\n const token = this.getPlaidLinkToken();\n const options = _.map(plaidBankAccounts, account => ({\n value: account.plaidAccountID,\n label: `${account.addressName} ${account.mask}`,\n }));\n const {icon, iconSize} = getBankIcon();\n const plaidErrors = lodashGet(this.props.plaidData, 'errors');\n const plaidDataErrorMessage = !_.isEmpty(plaidErrors) ? _.chain(plaidErrors).values().first().value() : '';\n const bankName = lodashGet(this.props.plaidData, 'bankName');\n\n // Plaid Link view\n if (!plaidBankAccounts.length) {\n return (\n \n {lodashGet(this.props.plaidData, 'isLoading') && (\n \n \n \n )}\n {Boolean(plaidDataErrorMessage) && (\n \n {plaidDataErrorMessage}\n \n )}\n {Boolean(token) && !bankName && (\n {\n Log.info('[PlaidLink] Success!');\n BankAccounts.openPlaidBankAccountSelector(publicToken, metadata.institution.name, this.props.allowDebit);\n }}\n onError={(error) => {\n Log.hmmm('[PlaidLink] Error: ', error.message);\n }}\n\n // User prematurely exited the Plaid flow\n // eslint-disable-next-line react/jsx-props-no-multi-spaces\n onExit={this.props.onExitPlaid}\n receivedRedirectURI={this.props.receivedRedirectURI}\n />\n )}\n \n );\n }\n\n // Plaid bank accounts view\n return (\n \n {!_.isEmpty(this.props.text) && (\n {this.props.text}\n )}\n \n \n {bankName}\n \n \n \n \n \n );\n }\n}\n\nAddPlaidBankAccount.propTypes = propTypes;\nAddPlaidBankAccount.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n plaidLinkToken: {\n key: ONYXKEYS.PLAID_LINK_TOKEN,\n initWithStoredValues: false,\n },\n }),\n)(AddPlaidBankAccount);\n","import {useEffect} from 'react';\nimport {openLink, useDeepLinkRedirector, usePlaidEmitter} from 'react-native-plaid-link-sdk';\nimport Log from '../../libs/Log';\nimport CONST from '../../CONST';\nimport {plaidLinkPropTypes, plaidLinkDefaultProps} from './plaidLinkPropTypes';\n\nconst PlaidLink = (props) => {\n useDeepLinkRedirector();\n usePlaidEmitter((event) => {\n Log.info('[PlaidLink] Handled Plaid Event: ', false, event);\n if (event.eventName === CONST.PLAID.EVENT.ERROR) {\n props.onError(event.metadata);\n }\n });\n useEffect(() => {\n openLink({\n tokenConfig: {\n token: props.token,\n },\n onSuccess: ({publicToken, metadata}) => {\n props.onSuccess({publicToken, metadata});\n },\n onExit: (exitError, metadata) => {\n Log.info('[PlaidLink] Exit: ', false, {exitError, metadata});\n props.onExit();\n },\n });\n\n // We generally do not need to include the token as a dependency here as it is only provided once via props and should not change\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return null;\n};\n\nPlaidLink.propTypes = plaidLinkPropTypes;\nPlaidLink.defaultProps = plaidLinkDefaultProps;\nPlaidLink.displayName = 'PlaidLink';\n\nexport default PlaidLink;\n","import { openLink, dismissLink, useDeepLinkRedirector, usePlaidEmitter, PlaidLink, } from './PlaidLink';\nexport * from './Types';\nexport default PlaidLink;\nexport { PlaidLink, openLink, dismissLink, useDeepLinkRedirector, usePlaidEmitter, };\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport React, { useEffect } from 'react';\nimport { Linking, NativeEventEmitter, NativeModules, Platform, TouchableOpacity, } from 'react-native';\n/**\n * A hook that registers a listener on the Plaid emitter for the 'onEvent' type.\n * The listener is cleaned up when this view is unmounted\n *\n * @param LinkEventListener the listener to call\n */\nexport const usePlaidEmitter = (LinkEventListener) => {\n useEffect(() => {\n const emitter = new NativeEventEmitter(Platform.OS === 'ios'\n ? NativeModules.RNLinksdk\n : NativeModules.PlaidAndroid);\n const listener = emitter.addListener('onEvent', LinkEventListener);\n // Clean up after this effect:\n return function cleanup() {\n listener.remove();\n };\n }, []);\n};\nexport const openLink = (props) => __awaiter(void 0, void 0, void 0, function* () {\n if (props.tokenConfig == null) {\n console.log('The public_key is being deprecated. Learn how to upgrade to link_tokens at https://plaid.com/docs/link-token-migration-guide/');\n }\n let config = props.tokenConfig ? props.tokenConfig : props.publicKeyConfig;\n if (Platform.OS === 'android') {\n NativeModules.PlaidAndroid.startLinkActivityForResult(JSON.stringify(config), (result) => {\n if (props.onSuccess != null) {\n props.onSuccess(result);\n }\n }, (result) => {\n if (props.onExit != null) {\n if (result.error != null && result.error.displayMessage != null) {\n //TODO(RNSDK-118): Remove errorDisplayMessage field in next major update.\n result.error.errorDisplayMessage = result.error.displayMessage;\n }\n props.onExit(result);\n }\n });\n }\n else {\n NativeModules.RNLinksdk.create(config);\n NativeModules.RNLinksdk.open((result) => {\n if (props.onSuccess != null) {\n props.onSuccess(result);\n }\n }, (error, result) => {\n if (props.onExit != null) {\n if (error) {\n var data = result || {};\n data.error = error;\n props.onExit(data);\n }\n else {\n props.onExit(result);\n }\n }\n });\n }\n});\nexport const dismissLink = () => {\n if (Platform.OS === 'ios') {\n NativeModules.RNLinksdk.dismiss();\n }\n};\nexport const useDeepLinkRedirector = () => {\n const _handleListenerChange = (event) => {\n if (event.url !== null && Platform.OS === 'ios') {\n NativeModules.RNLinksdk.continueFromRedirectUriString(event.url);\n }\n };\n useEffect(() => {\n const listener = Linking.addEventListener('url', _handleListenerChange);\n return function cleanup() {\n listener.remove();\n };\n }, []);\n};\nexport const PlaidLink = (props) => {\n function onPress() {\n var _a;\n (_a = props.onPress) === null || _a === void 0 ? void 0 : _a.call(props);\n openLink(props);\n }\n useDeepLinkRedirector();\n return {props.children};\n};\n","export var LinkLogLevel;\n(function (LinkLogLevel) {\n LinkLogLevel[\"DEBUG\"] = \"debug\";\n LinkLogLevel[\"INFO\"] = \"info\";\n LinkLogLevel[\"WARN\"] = \"warn\";\n LinkLogLevel[\"ERROR\"] = \"error\";\n})(LinkLogLevel || (LinkLogLevel = {}));\nexport var PlaidEnvironment;\n(function (PlaidEnvironment) {\n PlaidEnvironment[\"PRODUCTION\"] = \"production\";\n PlaidEnvironment[\"DEVELOPMENT\"] = \"development\";\n PlaidEnvironment[\"SANDBOX\"] = \"sandbox\";\n})(PlaidEnvironment || (PlaidEnvironment = {}));\nexport var PlaidProduct;\n(function (PlaidProduct) {\n PlaidProduct[\"ASSETS\"] = \"assets\";\n PlaidProduct[\"AUTH\"] = \"auth\";\n PlaidProduct[\"DEPOSIT_SWITCH\"] = \"deposit_switch\";\n PlaidProduct[\"IDENTITY\"] = \"identity\";\n PlaidProduct[\"INCOME\"] = \"income\";\n PlaidProduct[\"INVESTMENTS\"] = \"investments\";\n PlaidProduct[\"LIABILITIES\"] = \"liabilities\";\n PlaidProduct[\"LIABILITIES_REPORT\"] = \"liabilities_report\";\n PlaidProduct[\"PAYMENT_INITIATION\"] = \"payment_initiation\";\n PlaidProduct[\"TRANSACTIONS\"] = \"transactions\";\n})(PlaidProduct || (PlaidProduct = {}));\nvar LinkAccountType;\n(function (LinkAccountType) {\n LinkAccountType[\"CREDIT\"] = \"credit\";\n LinkAccountType[\"DEPOSITORY\"] = \"depository\";\n LinkAccountType[\"INVESTMENT\"] = \"investment\";\n LinkAccountType[\"LOAN\"] = \"loan\";\n LinkAccountType[\"OTHER\"] = \"other\";\n})(LinkAccountType || (LinkAccountType = {}));\nvar LinkAccountSubtypes;\n(function (LinkAccountSubtypes) {\n LinkAccountSubtypes[\"ALL\"] = \"all\";\n LinkAccountSubtypes[\"CREDIT_CARD\"] = \"credit card\";\n LinkAccountSubtypes[\"PAYPAL\"] = \"paypal\";\n LinkAccountSubtypes[\"AUTO\"] = \"auto\";\n LinkAccountSubtypes[\"BUSINESS\"] = \"business\";\n LinkAccountSubtypes[\"COMMERCIAL\"] = \"commercial\";\n LinkAccountSubtypes[\"CONSTRUCTION\"] = \"construction\";\n LinkAccountSubtypes[\"CONSUMER\"] = \"consumer\";\n LinkAccountSubtypes[\"HOME_EQUITY\"] = \"home equity\";\n LinkAccountSubtypes[\"LINE_OF_CREDIT\"] = \"line of credit\";\n LinkAccountSubtypes[\"LOAN\"] = \"loan\";\n LinkAccountSubtypes[\"MORTGAGE\"] = \"mortgage\";\n LinkAccountSubtypes[\"OVERDRAFT\"] = \"overdraft\";\n LinkAccountSubtypes[\"STUDENT\"] = \"student\";\n LinkAccountSubtypes[\"CASH_MANAGEMENT\"] = \"cash management\";\n LinkAccountSubtypes[\"CD\"] = \"cd\";\n LinkAccountSubtypes[\"CHECKING\"] = \"checking\";\n LinkAccountSubtypes[\"EBT\"] = \"ebt\";\n LinkAccountSubtypes[\"HSA\"] = \"hsa\";\n LinkAccountSubtypes[\"MONEY_MARKET\"] = \"money market\";\n LinkAccountSubtypes[\"PREPAID\"] = \"prepaid\";\n LinkAccountSubtypes[\"SAVINGS\"] = \"savings\";\n LinkAccountSubtypes[\"FOUR_0_1_A\"] = \"401a\";\n LinkAccountSubtypes[\"FOUR_0_1_K\"] = \"401k\";\n LinkAccountSubtypes[\"FOUR_0_3_B\"] = \"403B\";\n LinkAccountSubtypes[\"FOUR_5_7_B\"] = \"457b\";\n LinkAccountSubtypes[\"FIVE_2_9\"] = \"529\";\n LinkAccountSubtypes[\"BROKERAGE\"] = \"brokerage\";\n LinkAccountSubtypes[\"CASH_ISA\"] = \"cash isa\";\n LinkAccountSubtypes[\"EDUCATION_SAVINGS_ACCOUNT\"] = \"education savings account\";\n LinkAccountSubtypes[\"FIXED_ANNUNITY\"] = \"fixed annuity\";\n LinkAccountSubtypes[\"GIC\"] = \"gic\";\n LinkAccountSubtypes[\"HEALTH_REIMBURSEMENT_ARRANGEMENT\"] = \"health reimbursement arrangement\";\n LinkAccountSubtypes[\"IRA\"] = \"ira\";\n LinkAccountSubtypes[\"ISA\"] = \"isa\";\n LinkAccountSubtypes[\"KEOGH\"] = \"keogh\";\n LinkAccountSubtypes[\"LIF\"] = \"lif\";\n LinkAccountSubtypes[\"LIRA\"] = \"lira\";\n LinkAccountSubtypes[\"LRIF\"] = \"lrif\";\n LinkAccountSubtypes[\"LRSP\"] = \"lrsp\";\n LinkAccountSubtypes[\"MUTUAL_FUND\"] = \"mutual fund\";\n LinkAccountSubtypes[\"NON_TAXABLE_BROKERAGE_ACCOUNT\"] = \"non-taxable brokerage account\";\n LinkAccountSubtypes[\"PENSION\"] = \"pension\";\n LinkAccountSubtypes[\"PLAN\"] = \"plan\";\n LinkAccountSubtypes[\"PRIF\"] = \"prif\";\n LinkAccountSubtypes[\"PROFIT_SHARING_PLAN\"] = \"profit sharing plan\";\n LinkAccountSubtypes[\"RDSP\"] = \"rdsp\";\n LinkAccountSubtypes[\"RESP\"] = \"resp\";\n LinkAccountSubtypes[\"RETIREMENT\"] = \"retirement\";\n LinkAccountSubtypes[\"RLIF\"] = \"rlif\";\n LinkAccountSubtypes[\"ROTH_401K\"] = \"roth 401k\";\n LinkAccountSubtypes[\"ROTH\"] = \"roth\";\n LinkAccountSubtypes[\"RRIF\"] = \"rrif\";\n LinkAccountSubtypes[\"RRSP\"] = \"rrsp\";\n LinkAccountSubtypes[\"SARSEP\"] = \"sarsep\";\n LinkAccountSubtypes[\"SEP_IRA\"] = \"sep ira\";\n LinkAccountSubtypes[\"SIMPLE_IRA\"] = \"simple ira\";\n LinkAccountSubtypes[\"SIPP\"] = \"sipp\";\n LinkAccountSubtypes[\"STOCK_PLAN\"] = \"stock plan\";\n LinkAccountSubtypes[\"TFSA\"] = \"tfsa\";\n LinkAccountSubtypes[\"THRIFT_SAVINGS_PLAN\"] = \"thrift savings plan\";\n LinkAccountSubtypes[\"TRUST\"] = \"trust\";\n LinkAccountSubtypes[\"UGMA\"] = \"ugma\";\n LinkAccountSubtypes[\"UTMA\"] = \"utma\";\n LinkAccountSubtypes[\"VARIABLE_ANNUITY\"] = \"variable annuity\";\n})(LinkAccountSubtypes || (LinkAccountSubtypes = {}));\nexport class LinkAccountSubtypeCredit {\n constructor(type, subtype) {\n this.type = type;\n this.subtype = subtype;\n }\n}\nLinkAccountSubtypeCredit.ALL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);\nLinkAccountSubtypeCredit.CREDIT_CARD = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.CREDIT_CARD);\nLinkAccountSubtypeCredit.PAYPAL = new LinkAccountSubtypeCredit(LinkAccountType.CREDIT, LinkAccountSubtypes.PAYPAL);\nexport class LinkAccountSubtypeDepository {\n constructor(type, subtype) {\n this.type = type;\n this.subtype = subtype;\n }\n}\nLinkAccountSubtypeDepository.ALL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.ALL);\nLinkAccountSubtypeDepository.CASH_MANAGEMENT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CASH_MANAGEMENT);\nLinkAccountSubtypeDepository.CD = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CD);\nLinkAccountSubtypeDepository.CHECKING = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.CHECKING);\nLinkAccountSubtypeDepository.EBT = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.EBT);\nLinkAccountSubtypeDepository.HSA = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.HSA);\nLinkAccountSubtypeDepository.MONEY_MARKET = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.MONEY_MARKET);\nLinkAccountSubtypeDepository.PAYPAL = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PAYPAL);\nLinkAccountSubtypeDepository.PREPAID = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.PREPAID);\nLinkAccountSubtypeDepository.SAVINGS = new LinkAccountSubtypeDepository(LinkAccountType.DEPOSITORY, LinkAccountSubtypes.SAVINGS);\nexport class LinkAccountSubtypeInvestment {\n constructor(type, subtype) {\n this.type = type;\n this.subtype = subtype;\n }\n}\nLinkAccountSubtypeInvestment.ALL = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ALL);\nLinkAccountSubtypeInvestment.BROKERAGE = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.BROKERAGE);\nLinkAccountSubtypeInvestment.CASH_ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.CASH_ISA);\nLinkAccountSubtypeInvestment.EDUCATION_SAVINGS_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.EDUCATION_SAVINGS_ACCOUNT);\nLinkAccountSubtypeInvestment.FIXED_ANNUNITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIXED_ANNUNITY);\nLinkAccountSubtypeInvestment.GIC = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.GIC);\nLinkAccountSubtypeInvestment.HEALTH_REIMBURSEMENT_ARRANGEMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HEALTH_REIMBURSEMENT_ARRANGEMENT);\nLinkAccountSubtypeInvestment.HSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.HSA);\nLinkAccountSubtypeInvestment.INVESTMENT_401A = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_A);\nLinkAccountSubtypeInvestment.INVESTMENT_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_1_K);\nLinkAccountSubtypeInvestment.INVESTMENT_403B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_0_3_B);\nLinkAccountSubtypeInvestment.INVESTMENT_457B = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FOUR_5_7_B);\nLinkAccountSubtypeInvestment.INVESTMENT_529 = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.FIVE_2_9);\nLinkAccountSubtypeInvestment.IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.IRA);\nLinkAccountSubtypeInvestment.ISA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ISA);\nLinkAccountSubtypeInvestment.KEOGH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.KEOGH);\nLinkAccountSubtypeInvestment.LIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIF);\nLinkAccountSubtypeInvestment.LIRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LIRA);\nLinkAccountSubtypeInvestment.LRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRIF);\nLinkAccountSubtypeInvestment.LRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.LRSP);\nLinkAccountSubtypeInvestment.MUTUAL_FUND = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.MUTUAL_FUND);\nLinkAccountSubtypeInvestment.NON_TAXABLE_BROKERAGE_ACCOUNT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.NON_TAXABLE_BROKERAGE_ACCOUNT);\nLinkAccountSubtypeInvestment.PENSION = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PENSION);\nLinkAccountSubtypeInvestment.PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PLAN);\nLinkAccountSubtypeInvestment.PRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PRIF);\nLinkAccountSubtypeInvestment.PROFIT_SHARING_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.PROFIT_SHARING_PLAN);\nLinkAccountSubtypeInvestment.RDSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RDSP);\nLinkAccountSubtypeInvestment.RESP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RESP);\nLinkAccountSubtypeInvestment.RETIREMENT = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RETIREMENT);\nLinkAccountSubtypeInvestment.RLIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RLIF);\nLinkAccountSubtypeInvestment.ROTH = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH);\nLinkAccountSubtypeInvestment.ROTH_401K = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.ROTH_401K);\nLinkAccountSubtypeInvestment.RRIF = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRIF);\nLinkAccountSubtypeInvestment.RRSP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.RRSP);\nLinkAccountSubtypeInvestment.SARSEP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SARSEP);\nLinkAccountSubtypeInvestment.SEP_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SEP_IRA);\nLinkAccountSubtypeInvestment.SIMPLE_IRA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIMPLE_IRA);\nLinkAccountSubtypeInvestment.SIIP = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.SIPP);\nLinkAccountSubtypeInvestment.STOCK_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.STOCK_PLAN);\nLinkAccountSubtypeInvestment.TFSA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TFSA);\nLinkAccountSubtypeInvestment.THRIFT_SAVINGS_PLAN = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.THRIFT_SAVINGS_PLAN);\nLinkAccountSubtypeInvestment.TRUST = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.TRUST);\nLinkAccountSubtypeInvestment.UGMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UGMA);\nLinkAccountSubtypeInvestment.UTMA = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.UTMA);\nLinkAccountSubtypeInvestment.VARIABLE_ANNUITY = new LinkAccountSubtypeInvestment(LinkAccountType.INVESTMENT, LinkAccountSubtypes.VARIABLE_ANNUITY);\nexport class LinkAccountSubtypeLoan {\n constructor(type, subtype) {\n this.type = type;\n this.subtype = subtype;\n }\n}\nLinkAccountSubtypeLoan.ALL = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.ALL);\nLinkAccountSubtypeLoan.AUTO = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.AUTO);\nLinkAccountSubtypeLoan.BUSINESS = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.BUSINESS);\nLinkAccountSubtypeLoan.COMMERCIAL = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.COMMERCIAL);\nLinkAccountSubtypeLoan.CONSTRUCTION = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.CONSTRUCTION);\nLinkAccountSubtypeLoan.CONSUMER = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.CONSUMER);\nLinkAccountSubtypeLoan.HOME_EQUITY = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.HOME_EQUITY);\nLinkAccountSubtypeLoan.LINE_OF_CREDIT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.LINE_OF_CREDIT);\nLinkAccountSubtypeLoan.LOAN = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.LOAN);\nLinkAccountSubtypeLoan.MORTGAGE = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.MORTGAGE);\nLinkAccountSubtypeLoan.OVERDRAFT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.OVERDRAFT);\nLinkAccountSubtypeLoan.STUDENT = new LinkAccountSubtypeLoan(LinkAccountType.CREDIT, LinkAccountSubtypes.STUDENT);\nexport class LinkAccountSubtypeUnknown {\n constructor(type, subtype) {\n this.type = type;\n this.subtype = subtype;\n }\n}\nexport var LinkAccountVerificationStatus;\n(function (LinkAccountVerificationStatus) {\n LinkAccountVerificationStatus[\"PENDING_AUTOMATIC_VERIFICATION\"] = \"pending_automatic_verification\";\n LinkAccountVerificationStatus[\"PENDING_MANUAL_VERIFICATION\"] = \"pending_manual_verification\";\n LinkAccountVerificationStatus[\"MANUALLY_VERIFIED\"] = \"manually_verified\";\n})(LinkAccountVerificationStatus || (LinkAccountVerificationStatus = {}));\nexport var LinkExitMetadataStatus;\n(function (LinkExitMetadataStatus) {\n LinkExitMetadataStatus[\"CONNECTED\"] = \"connected\";\n LinkExitMetadataStatus[\"CHOOSE_DEVICE\"] = \"choose_device\";\n LinkExitMetadataStatus[\"REQUIRES_ACCOUNT_SELECTION\"] = \"requires_account_selection\";\n LinkExitMetadataStatus[\"REQUIRES_CODE\"] = \"requires_code\";\n LinkExitMetadataStatus[\"REQUIRES_CREDENTIALS\"] = \"requires_credentials\";\n LinkExitMetadataStatus[\"REQUIRES_EXTERNAL_ACTION\"] = \"requires_external_action\";\n LinkExitMetadataStatus[\"REQUIRES_OAUTH\"] = \"requires_oauth\";\n LinkExitMetadataStatus[\"REQUIRES_QUESTIONS\"] = \"requires_questions\";\n LinkExitMetadataStatus[\"REQUIRES_RECAPTCHA\"] = \"requires_recaptcha\";\n LinkExitMetadataStatus[\"REQUIRES_SELECTIONS\"] = \"requires_selections\";\n LinkExitMetadataStatus[\"REQUIRES_DEPOSIT_SWITCH_ALLOCATION_CONFIGURATION\"] = \"requires_deposit_switch_allocation_configuration\";\n LinkExitMetadataStatus[\"REQUIRES_DEPOSIT_SWITCH_ALLOCATION_SELECTION\"] = \"requires_deposit_switch_allocation_selection\";\n})(LinkExitMetadataStatus || (LinkExitMetadataStatus = {}));\nexport var LinkErrorCode;\n(function (LinkErrorCode) {\n // ITEM_ERROR\n LinkErrorCode[\"INVALID_CREDENTIALS\"] = \"INVALID_CREDENTIALS\";\n LinkErrorCode[\"INVALID_MFA\"] = \"INVALID_MFA\";\n LinkErrorCode[\"ITEM_LOGIN_REQUIRED\"] = \"ITEM_LOGIN_REQUIRED\";\n LinkErrorCode[\"INSUFFICIENT_CREDENTIALS\"] = \"INSUFFICIENT_CREDENTIALS\";\n LinkErrorCode[\"ITEM_LOCKED\"] = \"ITEM_LOCKED\";\n LinkErrorCode[\"USER_SETUP_REQUIRED\"] = \"USER_SETUP_REQUIRED\";\n LinkErrorCode[\"MFA_NOT_SUPPORTED\"] = \"MFA_NOT_SUPPORTED\";\n LinkErrorCode[\"INVALID_SEND_METHOD\"] = \"INVALID_SEND_METHOD\";\n LinkErrorCode[\"NO_ACCOUNTS\"] = \"NO_ACCOUNTS\";\n LinkErrorCode[\"ITEM_NOT_SUPPORTED\"] = \"ITEM_NOT_SUPPORTED\";\n LinkErrorCode[\"TOO_MANY_VERIFICATION_ATTEMPTS\"] = \"TOO_MANY_VERIFICATION_ATTEMPTS\";\n LinkErrorCode[\"INVALD_UPDATED_USERNAME\"] = \"INVALD_UPDATED_USERNAME\";\n LinkErrorCode[\"INVALID_UPDATED_USERNAME\"] = \"INVALID_UPDATED_USERNAME\";\n LinkErrorCode[\"ITEM_NO_ERROR\"] = \"ITEM_NO_ERROR\";\n LinkErrorCode[\"item_no_error\"] = \"item-no-error\";\n LinkErrorCode[\"NO_AUTH_ACCOUNTS\"] = \"NO_AUTH_ACCOUNTS\";\n LinkErrorCode[\"NO_INVESTMENT_ACCOUNTS\"] = \"NO_INVESTMENT_ACCOUNTS\";\n LinkErrorCode[\"NO_INVESTMENT_AUTH_ACCOUNTS\"] = \"NO_INVESTMENT_AUTH_ACCOUNTS\";\n LinkErrorCode[\"NO_LIABILITY_ACCOUNTS\"] = \"NO_LIABILITY_ACCOUNTS\";\n LinkErrorCode[\"PRODUCTS_NOT_SUPPORTED\"] = \"PRODUCTS_NOT_SUPPORTED\";\n LinkErrorCode[\"ITEM_NOT_FOUND\"] = \"ITEM_NOT_FOUND\";\n LinkErrorCode[\"ITEM_PRODUCT_NOT_READY\"] = \"ITEM_PRODUCT_NOT_READY\";\n // INSTITUTION_ERROR\n LinkErrorCode[\"INSTITUTION_DOWN\"] = \"INSTITUTION_DOWN\";\n LinkErrorCode[\"INSTITUTION_NOT_RESPONDING\"] = \"INSTITUTION_NOT_RESPONDING\";\n LinkErrorCode[\"INSTITUTION_NOT_AVAILABLE\"] = \"INSTITUTION_NOT_AVAILABLE\";\n LinkErrorCode[\"INSTITUTION_NO_LONGER_SUPPORTED\"] = \"INSTITUTION_NO_LONGER_SUPPORTED\";\n // API_ERROR\n LinkErrorCode[\"INTERNAL_SERVER_ERROR\"] = \"INTERNAL_SERVER_ERROR\";\n LinkErrorCode[\"PLANNED_MAINTENANCE\"] = \"PLANNED_MAINTENANCE\";\n // ASSET_REPORT_ERROR\n LinkErrorCode[\"PRODUCT_NOT_ENABLED\"] = \"PRODUCT_NOT_ENABLED\";\n LinkErrorCode[\"DATA_UNAVAILABLE\"] = \"DATA_UNAVAILABLE\";\n LinkErrorCode[\"ASSET_PRODUCT_NOT_READY\"] = \"ASSET_PRODUCT_NOT_READY\";\n LinkErrorCode[\"ASSET_REPORT_GENERATION_FAILED\"] = \"ASSET_REPORT_GENERATION_FAILED\";\n LinkErrorCode[\"INVALID_PARENT\"] = \"INVALID_PARENT\";\n LinkErrorCode[\"INSIGHTS_NOT_ENABLED\"] = \"INSIGHTS_NOT_ENABLED\";\n LinkErrorCode[\"INSIGHTS_PREVIOUSLY_NOT_ENABLED\"] = \"INSIGHTS_PREVIOUSLY_NOT_ENABLED\";\n // BANK_TRANSFER_ERROR\n LinkErrorCode[\"BANK_TRANSFER_LIMIT_EXCEEDED\"] = \"BANK_TRANSFER_LIMIT_EXCEEDED\";\n LinkErrorCode[\"BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT\"] = \"BANK_TRANSFER_MISSING_ORIGINATION_ACCOUNT\";\n LinkErrorCode[\"BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT\"] = \"BANK_TRANSFER_INVALID_ORIGINATION_ACCOUNT\";\n LinkErrorCode[\"BANK_TRANSFER_ACCOUNT_BLOCKED\"] = \"BANK_TRANSFER_ACCOUNT_BLOCKED\";\n LinkErrorCode[\"BANK_TRANSFER_INSUFFICIENT_FUNDS\"] = \"BANK_TRANSFER_INSUFFICIENT_FUNDS\";\n LinkErrorCode[\"BANK_TRANSFER_NOT_CANCELLABLE\"] = \"BANK_TRANSFER_NOT_CANCELLABLE\";\n LinkErrorCode[\"BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE\"] = \"BANK_TRANSFER_UNSUPPORTED_ACCOUNT_TYPE\";\n LinkErrorCode[\"BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT\"] = \"BANK_TRANSFER_UNSUPPORTED_ENVIRONMENT\";\n // SANDBOX_ERROR\n LinkErrorCode[\"SANDBOX_PRODUCT_NOT_ENABLED\"] = \"SANDBOX_PRODUCT_NOT_ENABLED\";\n LinkErrorCode[\"SANDBOX_WEBHOOK_INVALID\"] = \"SANDBOX_WEBHOOK_INVALID\";\n LinkErrorCode[\"SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID\"] = \"SANDBOX_BANK_TRANSFER_EVENT_TRANSITION_INVALID\";\n // INVALID_REQUEST\n LinkErrorCode[\"MISSING_FIELDS\"] = \"MISSING_FIELDS\";\n LinkErrorCode[\"UNKNOWN_FIELDS\"] = \"UNKNOWN_FIELDS\";\n LinkErrorCode[\"INVALID_FIELD\"] = \"INVALID_FIELD\";\n LinkErrorCode[\"INCOMPATIBLE_API_VERSION\"] = \"INCOMPATIBLE_API_VERSION\";\n LinkErrorCode[\"INVALID_BODY\"] = \"INVALID_BODY\";\n LinkErrorCode[\"INVALID_HEADERS\"] = \"INVALID_HEADERS\";\n LinkErrorCode[\"NOT_FOUND\"] = \"NOT_FOUND\";\n LinkErrorCode[\"NO_LONGER_AVAILABLE\"] = \"NO_LONGER_AVAILABLE\";\n LinkErrorCode[\"SANDBOX_ONLY\"] = \"SANDBOX_ONLY\";\n LinkErrorCode[\"INVALID_ACCOUNT_NUMBER\"] = \"INVALID_ACCOUNT_NUMBER\";\n // INVALID_INPUT\n // From above ITEM_LOGIN_REQUIRED = \"INVALID_CREDENTIALS\",\n LinkErrorCode[\"INCORRECT_DEPOSIT_AMOUNTS\"] = \"INCORRECT_DEPOSIT_AMOUNTS\";\n LinkErrorCode[\"UNAUTHORIZED_ENVIRONMENT\"] = \"UNAUTHORIZED_ENVIRONMENT\";\n LinkErrorCode[\"INVALID_PRODUCT\"] = \"INVALID_PRODUCT\";\n LinkErrorCode[\"UNAUTHORIZED_ROUTE_ACCESS\"] = \"UNAUTHORIZED_ROUTE_ACCESS\";\n LinkErrorCode[\"DIRECT_INTEGRATION_NOT_ENABLED\"] = \"DIRECT_INTEGRATION_NOT_ENABLED\";\n LinkErrorCode[\"INVALID_API_KEYS\"] = \"INVALID_API_KEYS\";\n LinkErrorCode[\"INVALID_ACCESS_TOKEN\"] = \"INVALID_ACCESS_TOKEN\";\n LinkErrorCode[\"INVALID_PUBLIC_TOKEN\"] = \"INVALID_PUBLIC_TOKEN\";\n LinkErrorCode[\"INVALID_LINK_TOKEN\"] = \"INVALID_LINK_TOKEN\";\n LinkErrorCode[\"INVALID_PROCESSOR_TOKEN\"] = \"INVALID_PROCESSOR_TOKEN\";\n LinkErrorCode[\"INVALID_AUDIT_COPY_TOKEN\"] = \"INVALID_AUDIT_COPY_TOKEN\";\n LinkErrorCode[\"INVALID_ACCOUNT_ID\"] = \"INVALID_ACCOUNT_ID\";\n LinkErrorCode[\"MICRODEPOSITS_ALREADY_VERIFIED\"] = \"MICRODEPOSITS_ALREADY_VERIFIED\";\n // INVALID_RESULT\n LinkErrorCode[\"PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA\"] = \"PLAID_DIRECT_ITEM_IMPORT_RETURNED_INVALID_MFA\";\n // RATE_LIMIT_EXCEEDED\n LinkErrorCode[\"ACCOUNTS_LIMIT\"] = \"ACCOUNTS_LIMIT\";\n LinkErrorCode[\"ADDITION_LIMIT\"] = \"ADDITION_LIMIT\";\n LinkErrorCode[\"AUTH_LIMIT\"] = \"AUTH_LIMIT\";\n LinkErrorCode[\"BALANCE_LIMIT\"] = \"BALANCE_LIMIT\";\n LinkErrorCode[\"IDENTITY_LIMIT\"] = \"IDENTITY_LIMIT\";\n LinkErrorCode[\"ITEM_GET_LIMIT\"] = \"ITEM_GET_LIMIT\";\n LinkErrorCode[\"RATE_LIMIT\"] = \"RATE_LIMIT\";\n LinkErrorCode[\"TRANSACTIONS_LIMIT\"] = \"TRANSACTIONS_LIMIT\";\n // RECAPTCHA_ERROR\n LinkErrorCode[\"RECAPTCHA_REQUIRED\"] = \"RECAPTCHA_REQUIRED\";\n LinkErrorCode[\"RECAPTCHA_BAD\"] = \"RECAPTCHA_BAD\";\n // OAUTH_ERROR\n LinkErrorCode[\"INCORRECT_OAUTH_NONCE\"] = \"INCORRECT_OAUTH_NONCE\";\n LinkErrorCode[\"OAUTH_STATE_ID_ALREADY_PROCESSED\"] = \"OAUTH_STATE_ID_ALREADY_PROCESSED\";\n})(LinkErrorCode || (LinkErrorCode = {}));\nexport var LinkErrorType;\n(function (LinkErrorType) {\n LinkErrorType[\"BANK_TRANSFER\"] = \"BANK_TRANSFER_ERROR\";\n LinkErrorType[\"INVALID_REQUEST\"] = \"INVALID_REQUEST\";\n LinkErrorType[\"INVALID_RESULT\"] = \"INVALID_RESULT\";\n LinkErrorType[\"INVALID_INPUT\"] = \"INVALID_INPUT\";\n LinkErrorType[\"INSTITUTION_ERROR\"] = \"INSTITUTION_ERROR\";\n LinkErrorType[\"RATE_LIMIT_EXCEEDED\"] = \"RATE_LIMIT_EXCEEDED\";\n LinkErrorType[\"API_ERROR\"] = \"API_ERROR\";\n LinkErrorType[\"ITEM_ERROR\"] = \"ITEM_ERROR\";\n LinkErrorType[\"AUTH_ERROR\"] = \"AUTH_ERROR\";\n LinkErrorType[\"ASSET_REPORT_ERROR\"] = \"ASSET_REPORT_ERROR\";\n LinkErrorType[\"SANDBOX_ERROR\"] = \"SANDBOX_ERROR\";\n LinkErrorType[\"RECAPTCHA_ERROR\"] = \"RECAPTCHA_ERROR\";\n LinkErrorType[\"OAUTH_ERROR\"] = \"OAUTH_ERROR\";\n})(LinkErrorType || (LinkErrorType = {}));\nexport var LinkEventName;\n(function (LinkEventName) {\n LinkEventName[\"BANK_INCOME_INSIGHTS_COMPLETED\"] = \"BANK_INCOME_INSIGHTS_COMPLETED\";\n LinkEventName[\"CLOSE_OAUTH\"] = \"CLOSE_OAUTH\";\n LinkEventName[\"ERROR\"] = \"ERROR\";\n LinkEventName[\"EXIT\"] = \"EXIT\";\n LinkEventName[\"FAIL_OAUTH\"] = \"FAIL_OAUTH\";\n LinkEventName[\"HANDOFF\"] = \"HANDOFF\";\n LinkEventName[\"IDENTITY_VERIFICATION_START_STEP\"] = \"IDENTITY_VERIFICATION_START_STEP\";\n LinkEventName[\"IDENTITY_VERIFICATION_PASS_STEP\"] = \"IDENTITY_VERIFICATION_PASS_STEP\";\n LinkEventName[\"IDENTITY_VERIFICATION_FAIL_STEP\"] = \"IDENTITY_VERIFICATION_FAIL_STEP\";\n LinkEventName[\"IDENTITY_VERIFICATION_PENDING_REVIEW_STEP\"] = \"IDENTITY_VERIFICATION_PENDING_REVIEW_STEP\";\n LinkEventName[\"IDENTITY_VERIFICATION_CREATE_SESSION\"] = \"IDENTITY_VERIFICATION_CREATE_SESSION\";\n LinkEventName[\"IDENTITY_VERIFICATION_RESUME_SESSION\"] = \"IDENTITY_VERIFICATION_RESUME_SESSION\";\n LinkEventName[\"IDENTITY_VERIFICATION_PASS_SESSION\"] = \"IDENTITY_VERIFICATION_PASS_SESSION\";\n LinkEventName[\"IDENTITY_VERIFICATION_FAIL_SESSION\"] = \"IDENTITY_VERIFICATION_FAIL_SESSION\";\n LinkEventName[\"IDENTITY_VERIFICATION_OPEN_UI\"] = \"IDENTITY_VERIFICATION_OPEN_UI\";\n LinkEventName[\"IDENTITY_VERIFICATION_RESUME_UI\"] = \"IDENTITY_VERIFICATION_RESUME_UI\";\n LinkEventName[\"IDENTITY_VERIFICATION_CLOSE_UI\"] = \"IDENTITY_VERIFICATION_CLOSE_UI\";\n LinkEventName[\"MATCHED_CONSENT\"] = \"MATCHED_CONSENT\";\n LinkEventName[\"MATCHED_SELECT_INSTITUTION\"] = \"MATCHED_SELECT_INSTITUTION\";\n LinkEventName[\"MATCHED_SELECT_VERIFY_METHOD\"] = \"MATCHED_SELECT_VERIFY_METHOD\";\n LinkEventName[\"OPEN\"] = \"OPEN\";\n LinkEventName[\"OPEN_MY_PLAID\"] = \"OPEN_MY_PLAID\";\n LinkEventName[\"OPEN_OAUTH\"] = \"OPEN_OAUTH\";\n LinkEventName[\"SEARCH_INSTITUTION\"] = \"SEARCH_INSTITUTION\";\n LinkEventName[\"SELECT_DEGRADED_INSTITUTION\"] = \"SELECT_DEGRADED_INSTITUTION\";\n LinkEventName[\"SELECT_DOWN_INSTITUTION\"] = \"SELECT_DOWN_INSTITUTION\";\n LinkEventName[\"SELECT_INSTITUTION\"] = \"SELECT_INSTITUTION\";\n LinkEventName[\"SUBMIT_CREDENTIALS\"] = \"SUBMIT_CREDENTIALS\";\n LinkEventName[\"SUBMIT_MFA\"] = \"SUBMIT_MFA\";\n LinkEventName[\"TRANSITION_VIEW\"] = \"TRANSITION_VIEW\";\n})(LinkEventName || (LinkEventName = {}));\nexport var LinkEventViewName;\n(function (LinkEventViewName) {\n LinkEventViewName[\"ACCEPT_TOS\"] = \"ACCEPT_TOS\";\n LinkEventViewName[\"CONNECTED\"] = \"CONNECTED\";\n LinkEventViewName[\"CONSENT\"] = \"CONSENT\";\n LinkEventViewName[\"CREDENTIAL\"] = \"CREDENTIAL\";\n LinkEventViewName[\"DOCUMENTARY_VERIFICATION\"] = \"DOCUMENTARY_VERIFICATION\";\n LinkEventViewName[\"ERROR\"] = \"ERROR\";\n LinkEventViewName[\"EXIT\"] = \"EXIT\";\n LinkEventViewName[\"KYC_CHECK\"] = \"KYC_CHECK\";\n LinkEventViewName[\"SELFIE_CHECK\"] = \"SELFIE_CHECK\";\n LinkEventViewName[\"LOADING\"] = \"LOADING\";\n LinkEventViewName[\"MATCHED_CONSENT\"] = \"MATCHED_CONSENT\";\n LinkEventViewName[\"MATCHED_CREDENTIAL\"] = \"MATCHED_CREDENTIAL\";\n LinkEventViewName[\"MATCHED_MFA\"] = \"MATCHED_MFA\";\n LinkEventViewName[\"MFA\"] = \"MFA\";\n LinkEventViewName[\"NUMBERS\"] = \"NUMBERS\";\n LinkEventViewName[\"OAUTH\"] = \"OAUTH\";\n LinkEventViewName[\"RECAPTCHA\"] = \"RECAPTCHA\";\n LinkEventViewName[\"RISK_CHECK\"] = \"RISK_CHECK\";\n LinkEventViewName[\"SCREENING\"] = \"SCREENING\";\n LinkEventViewName[\"SELECT_ACCOUNT\"] = \"SELECT_ACCOUNT\";\n LinkEventViewName[\"SELECT_INSTITUTION\"] = \"SELECT_INSTITUTION\";\n LinkEventViewName[\"VERIFY_SMS\"] = \"VERIFY_SMS\";\n})(LinkEventViewName || (LinkEventViewName = {}));\n","import PropTypes from 'prop-types';\n\nconst plaidLinkPropTypes = {\n // Plaid Link SDK public token used to initialize the Plaid SDK\n token: PropTypes.string.isRequired,\n\n // Callback to execute once the user taps continue after successfully entering their account information\n onSuccess: PropTypes.func,\n\n // Callback to execute when there is an error event emitted by the Plaid SDK\n onError: PropTypes.func,\n\n // Callback to execute when the user leaves the Plaid widget flow without entering any information\n onExit: PropTypes.func,\n\n // The redirect URI with an OAuth state ID. Needed to re-initialize the PlaidLink after directing the\n // user to their respective bank platform\n receivedRedirectURI: PropTypes.string,\n};\n\nconst plaidLinkDefaultProps = {\n onSuccess: () => {},\n onError: () => {},\n onExit: () => {},\n receivedRedirectURI: null,\n};\n\nexport {\n plaidLinkPropTypes,\n plaidLinkDefaultProps,\n};\n","import React, {forwardRef} from 'react';\nimport BasePicker from './BasePicker';\n\nexport default forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n));\n","import _ from 'underscore';\nimport React, {PureComponent} from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport RNPickerSelect from 'react-native-picker-select';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport FormHelpMessage from '../FormHelpMessage';\nimport Text from '../Text';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport {ScrollContext} from '../ScrollViewWithContext';\n\nconst propTypes = {\n /** BasePicker label */\n label: PropTypes.string,\n\n /** Should the picker appear disabled? */\n isDisabled: PropTypes.bool,\n\n /** Input value */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /** The items to display in the list of selections */\n items: PropTypes.arrayOf(PropTypes.shape({\n /** The value of the item that is being selected */\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n\n /** The text to display for the item */\n label: PropTypes.string.isRequired,\n })).isRequired,\n\n /** Something to show as the placeholder before something is selected */\n placeholder: PropTypes.shape({\n /** The value of the placeholder item, usually an empty string */\n value: PropTypes.string,\n\n /** The text to be displayed as the placeholder */\n label: PropTypes.string,\n }),\n\n /** Error text to display */\n errorText: PropTypes.string,\n\n /** Customize the BasePicker container */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n\n /** Customize the BasePicker background color */\n backgroundColor: PropTypes.string,\n\n /** The ID used to uniquely identify the input in a Form */\n inputID: PropTypes.string,\n\n /** Saves a draft of the input value when used in a form */\n // eslint-disable-next-line react/no-unused-prop-types\n shouldSaveDraft: PropTypes.bool,\n\n /** A callback method that is called when the value changes and it receives the selected value as an argument */\n onInputChange: PropTypes.func.isRequired,\n\n /** Size of a picker component */\n size: PropTypes.oneOf(['normal', 'small']),\n\n /** An icon to display with the picker */\n icon: PropTypes.func,\n\n /** Whether we should forward the focus/blur calls to the inner picker * */\n shouldFocusPicker: PropTypes.bool,\n\n /** Callback called when click or tap out of BasePicker */\n onBlur: PropTypes.func,\n\n /** Additional events passed to the core BasePicker for specific platforms such as web */\n additionalPickerEvents: PropTypes.func,\n\n /** Hint text that appears below the picker */\n hintText: PropTypes.string,\n};\n\nconst defaultProps = {\n label: '',\n isDisabled: false,\n errorText: '',\n hintText: '',\n containerStyles: [],\n backgroundColor: undefined,\n inputID: undefined,\n shouldSaveDraft: false,\n value: undefined,\n placeholder: {},\n size: 'normal',\n icon: size => (\n \n ),\n shouldFocusPicker: false,\n onBlur: () => {},\n additionalPickerEvents: () => {},\n};\n\n/**\n * @property {View} root - a reference to the root View\n * @property {Object} picker - a reference to @react-native-picker/picker\n */\nclass BasePicker extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n isHighlighted: false,\n };\n\n this.onInputChange = this.onInputChange.bind(this);\n this.enableHighlight = this.enableHighlight.bind(this);\n this.disableHighlight = this.disableHighlight.bind(this);\n this.focus = this.focus.bind(this);\n this.measureLayout = this.measureLayout.bind(this);\n\n // Windows will reuse the text color of the select for each one of the options\n // so we might need to color accordingly so it doesn't blend with the background.\n this.placeholder = _.isEmpty(this.props.placeholder) ? {} : {\n ...this.props.placeholder,\n color: themeColors.pickerOptionsTextColor,\n };\n }\n\n componentDidMount() {\n this.setDefaultValue();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.items === this.props.items) {\n return;\n }\n this.setDefaultValue();\n }\n\n /**\n * Forms use inputID to set values. But BasePicker passes an index as the second parameter to onInputChange\n * We are overriding this behavior to make BasePicker work with Form\n * @param {String} value\n * @param {Number} index\n */\n onInputChange(value, index) {\n if (this.props.inputID) {\n this.props.onInputChange(value);\n return;\n }\n\n this.props.onInputChange(value, index);\n }\n\n setDefaultValue() {\n // When there is only 1 element in the selector, we do the user a favor and automatically select it for them\n // so they don't have to spend extra time selecting the only possible value.\n if (this.props.value || !this.props.items || this.props.items.length !== 1 || !this.props.onInputChange) {\n return;\n }\n this.props.onInputChange(this.props.items[0].value, 0);\n }\n\n enableHighlight() {\n this.setState({\n isHighlighted: true,\n });\n }\n\n disableHighlight() {\n this.setState({\n isHighlighted: false,\n });\n }\n\n /**\n * Focuses the picker (if configured to do so)\n *\n * This method is used by Form\n */\n focus() {\n if (!this.props.shouldFocusPicker) {\n return;\n }\n\n // Defer the focusing to work around a bug on Mobile Safari, where focusing the `select` element in the same\n // task when we scrolled to it left that element in a glitched state, where the dropdown list can't be opened\n // until the element gets re-focused\n _.defer(() => {\n this.picker.focus();\n });\n }\n\n /**\n * Like measure(), but measures the view relative to an ancestor\n *\n * This method is used by Form when scrolling to the input\n *\n * @param {Object} relativeToNativeComponentRef - reference to an ancestor\n * @param {function(x: number, y: number, width: number, height: number): void} onSuccess - callback called on success\n * @param {function(): void} onFail - callback called on failure\n */\n measureLayout(relativeToNativeComponentRef, onSuccess, onFail) {\n if (!this.root) {\n return;\n }\n\n this.root.measureLayout(relativeToNativeComponentRef, onSuccess, onFail);\n }\n\n render() {\n const hasError = !_.isEmpty(this.props.errorText);\n\n if (this.props.isDisabled) {\n return (\n \n {Boolean(this.props.label) && (\n \n {this.props.label}\n \n )}\n \n {this.props.value}\n \n {Boolean(this.props.hintText)\n && (\n \n {this.props.hintText}\n \n )}\n \n );\n }\n\n return (\n <>\n this.root = el}\n style={[\n styles.pickerContainer,\n this.props.isDisabled && styles.inputDisabled,\n ...this.props.containerStyles,\n this.state.isHighlighted && styles.borderColorFocus,\n hasError && styles.borderColorDanger,\n ]}\n >\n {this.props.label && (\n \n {this.props.label}\n \n )}\n ({...item, color: themeColors.pickerOptionsTextColor}))}\n style={this.props.size === 'normal'\n ? styles.picker(this.props.isDisabled, this.props.backgroundColor)\n : styles.pickerSmall(this.props.backgroundColor)}\n useNativeAndroidPickerStyle={false}\n placeholder={this.placeholder}\n value={this.props.value}\n Icon={() => this.props.icon(this.props.size)}\n disabled={this.props.isDisabled}\n fixAndroidTouchableBug\n onOpen={this.enableHighlight}\n onClose={this.disableHighlight}\n textInputProps={{\n allowFontScaling: false,\n }}\n pickerProps={{\n ref: el => this.picker = el,\n onFocus: this.enableHighlight,\n onBlur: () => {\n this.disableHighlight();\n this.props.onBlur();\n },\n ...this.props.additionalPickerEvents(\n this.enableHighlight,\n (value, index) => {\n this.onInputChange(value, index);\n this.disableHighlight();\n },\n ),\n }}\n scrollViewRef={this.context && this.context.scrollViewRef}\n scrollViewContentOffsetY={this.context && this.context.contentOffsetY}\n />\n \n \n {Boolean(this.props.hintText)\n && (\n \n {this.props.hintText}\n \n )}\n \n );\n }\n}\n\nBasePicker.propTypes = propTypes;\nBasePicker.defaultProps = defaultProps;\nBasePicker.contextType = ScrollContext;\n\nexport default React.forwardRef((props, ref) => (\n \n));\n","import React, { PureComponent } from 'react';\nimport { Keyboard, Modal, Platform, Text, TextInput, TouchableOpacity, View } from 'react-native';\nimport PropTypes from 'prop-types';\nimport isEqual from 'lodash.isequal';\nimport { Picker } from '@react-native-picker/picker';\nimport { defaultStyles } from './styles';\nimport { Dimensions } from 'react-native';\n\n// Measuring the modal before rendering is not working reliably, so we need to hardcode the height\n// This height was tested thoroughly on several iPhone Models (from iPhone 8 to 14 Pro)\nconst IOS_MODAL_HEIGHT = 262;\n\nexport default class RNPickerSelect extends PureComponent {\n static propTypes = {\n onValueChange: PropTypes.func.isRequired,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.any.isRequired,\n inputLabel: PropTypes.string,\n key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n color: PropTypes.string,\n })\n ).isRequired,\n value: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n placeholder: PropTypes.shape({\n label: PropTypes.string,\n value: PropTypes.any,\n key: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n color: PropTypes.string,\n }),\n disabled: PropTypes.bool,\n itemKey: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n style: PropTypes.shape({}),\n children: PropTypes.any, // eslint-disable-line react/forbid-prop-types\n onOpen: PropTypes.func,\n useNativeAndroidPickerStyle: PropTypes.bool,\n fixAndroidTouchableBug: PropTypes.bool,\n scrollViewRef: PropTypes.any,\n scrollViewContentOffsetY: PropTypes.number,\n\n // Custom Modal props (iOS only)\n doneText: PropTypes.string,\n onDonePress: PropTypes.func,\n onUpArrow: PropTypes.func,\n onDownArrow: PropTypes.func,\n onClose: PropTypes.func,\n\n // Modal props (iOS only)\n modalProps: PropTypes.shape({}),\n\n // TextInput props\n textInputProps: PropTypes.shape({}),\n\n // Picker props\n pickerProps: PropTypes.shape({}),\n\n // Touchable Done props (iOS only)\n touchableDoneProps: PropTypes.shape({}),\n\n // Touchable wrapper props\n touchableWrapperProps: PropTypes.shape({}),\n\n // Custom Icon\n Icon: PropTypes.func,\n InputAccessoryView: PropTypes.func,\n };\n\n static defaultProps = {\n value: undefined,\n placeholder: {\n label: 'Select an item...',\n value: null,\n color: '#9EA0A4',\n },\n disabled: false,\n itemKey: null,\n style: {},\n children: null,\n useNativeAndroidPickerStyle: true,\n fixAndroidTouchableBug: false,\n doneText: 'Done',\n onDonePress: null,\n onUpArrow: null,\n onDownArrow: null,\n onOpen: null,\n onClose: null,\n modalProps: {},\n textInputProps: {},\n pickerProps: {},\n touchableDoneProps: {},\n touchableWrapperProps: {},\n Icon: null,\n InputAccessoryView: null,\n };\n\n static handlePlaceholder({ placeholder }) {\n if (isEqual(placeholder, {})) {\n return [];\n }\n return [placeholder];\n }\n\n static getSelectedItem({ items, key, value }) {\n let idx = items.findIndex((item) => {\n if (item.key && key) {\n return isEqual(item.key, key);\n }\n return isEqual(item.value, value);\n });\n if (idx === -1) {\n idx = 0;\n }\n return {\n selectedItem: items[idx] || {},\n idx,\n };\n }\n\n constructor(props) {\n super(props);\n\n const items = RNPickerSelect.handlePlaceholder({\n placeholder: props.placeholder,\n }).concat(props.items);\n\n const { selectedItem } = RNPickerSelect.getSelectedItem({\n items,\n key: props.itemKey,\n value: props.value,\n });\n\n this.state = {\n items,\n selectedItem,\n showPicker: false,\n animationType: undefined,\n orientation: 'portrait',\n doneDepressed: false,\n };\n\n this.onUpArrow = this.onUpArrow.bind(this);\n this.onDownArrow = this.onDownArrow.bind(this);\n this.onValueChange = this.onValueChange.bind(this);\n this.onOrientationChange = this.onOrientationChange.bind(this);\n this.setInputRef = this.setInputRef.bind(this);\n this.scrollToInput = this.scrollToInput.bind(this);\n this.togglePicker = this.togglePicker.bind(this);\n this.renderInputAccessoryView = this.renderInputAccessoryView.bind(this);\n }\n\n componentDidUpdate = (prevProps, prevState) => {\n // update items if items or placeholder prop changes\n const items = RNPickerSelect.handlePlaceholder({\n placeholder: this.props.placeholder,\n }).concat(this.props.items);\n const itemsChanged = !isEqual(prevState.items, items);\n\n // update selectedItem if value prop is defined and differs from currently selected item\n const { selectedItem, idx } = RNPickerSelect.getSelectedItem({\n items,\n key: this.props.itemKey,\n value: this.props.value,\n });\n const selectedItemChanged =\n !isEqual(this.props.value, undefined) && !isEqual(prevState.selectedItem, selectedItem);\n\n if (itemsChanged || selectedItemChanged) {\n this.props.onValueChange(selectedItem.value, idx);\n\n this.setState({\n ...(itemsChanged ? { items } : {}),\n ...(selectedItemChanged ? { selectedItem } : {}),\n });\n }\n };\n\n onUpArrow() {\n const { onUpArrow } = this.props;\n\n this.togglePicker(false, onUpArrow);\n }\n\n onDownArrow() {\n const { onDownArrow } = this.props;\n\n this.togglePicker(false, onDownArrow);\n }\n\n onValueChange(value, index) {\n const { onValueChange } = this.props;\n\n onValueChange(value, index);\n\n this.setState((prevState) => {\n return {\n selectedItem: prevState.items[index],\n };\n });\n }\n\n onOrientationChange({ nativeEvent }) {\n this.setState({\n orientation: nativeEvent.orientation,\n });\n }\n\n setInputRef(ref) {\n this.inputRef = ref;\n }\n\n getPlaceholderStyle() {\n const { placeholder, style } = this.props;\n const { selectedItem } = this.state;\n\n if (!isEqual(placeholder, {}) && selectedItem.label === placeholder.label) {\n return {\n ...defaultStyles.placeholder,\n ...style.placeholder,\n };\n }\n return {};\n }\n\n scrollToInput() {\n if (\n this.props.scrollViewRef == null ||\n this.props.scrollViewContentOffsetY == null ||\n this.inputRef == null\n ) {\n return;\n }\n\n this.inputRef.measureInWindow((_x, y, _width, height) => {\n // Bottom y-position of TextInput on screen\n const textInputBottomY = y + height;\n // Top y-position of picker modal on screen\n const modalY = Dimensions.get('window').height - IOS_MODAL_HEIGHT;\n\n // If TextInput is below picker modal, scroll up\n if (textInputBottomY > modalY) {\n this.props.scrollViewRef.current.scrollTo({\n y: textInputBottomY - modalY + this.props.scrollViewContentOffsetY,\n });\n }\n });\n }\n\n triggerOpenCloseCallbacks() {\n const { onOpen, onClose } = this.props;\n const { showPicker } = this.state;\n\n if (!showPicker && onOpen) {\n onOpen();\n this.scrollToInput();\n }\n\n if (showPicker && onClose) {\n onClose();\n }\n }\n\n togglePicker(animate = false, postToggleCallback) {\n const { modalProps, disabled } = this.props;\n const { showPicker } = this.state;\n\n if (disabled) {\n return;\n }\n\n if (!showPicker) {\n Keyboard.dismiss();\n }\n\n const animationType =\n modalProps && modalProps.animationType ? modalProps.animationType : 'slide';\n\n this.triggerOpenCloseCallbacks();\n\n this.setState(\n (prevState) => {\n return {\n animationType: animate ? animationType : undefined,\n showPicker: !prevState.showPicker,\n };\n },\n () => {\n if (postToggleCallback) {\n postToggleCallback();\n }\n }\n );\n }\n\n renderPickerItems() {\n const { items } = this.state;\n\n return items.map((item) => {\n return (\n \n );\n });\n }\n\n renderInputAccessoryView() {\n const {\n InputAccessoryView,\n doneText,\n onUpArrow,\n onDownArrow,\n onDonePress,\n style,\n touchableDoneProps,\n } = this.props;\n\n const { doneDepressed } = this.state;\n\n if (InputAccessoryView) {\n return ;\n }\n\n return (\n \n \n \n \n \n \n \n \n \n {\n this.togglePicker(true, onDonePress);\n }}\n onPressIn={() => {\n this.setState({ doneDepressed: true });\n }}\n onPressOut={() => {\n this.setState({ doneDepressed: false });\n }}\n hitSlop={{ top: 4, right: 4, bottom: 4, left: 4 }}\n {...touchableDoneProps}\n >\n \n \n {doneText}\n \n \n \n \n );\n }\n\n renderIcon() {\n const { style, Icon } = this.props;\n\n if (!Icon) {\n return null;\n }\n\n return (\n \n \n \n );\n }\n\n renderTextInputOrChildren() {\n const { children, style, textInputProps } = this.props;\n const { selectedItem } = this.state;\n\n const containerStyle =\n Platform.OS === 'ios' ? style.inputIOSContainer : style.inputAndroidContainer;\n\n if (children) {\n return (\n \n {children}\n \n );\n }\n\n return (\n \n \n {this.renderIcon()}\n \n );\n }\n\n renderIOS() {\n const { style, modalProps, pickerProps, touchableWrapperProps } = this.props;\n const { animationType, orientation, selectedItem, showPicker } = this.state;\n\n return (\n \n {\n this.togglePicker(true);\n }}\n activeOpacity={1}\n {...touchableWrapperProps}\n >\n {this.renderTextInputOrChildren()}\n \n \n {\n this.togglePicker(true);\n }}\n />\n {this.renderInputAccessoryView()}\n \n \n {this.renderPickerItems()}\n \n \n \n \n );\n }\n\n renderAndroidHeadless() {\n const {\n disabled,\n Icon,\n style,\n pickerProps,\n onOpen,\n touchableWrapperProps,\n fixAndroidTouchableBug,\n } = this.props;\n const { selectedItem } = this.state;\n\n const Component = fixAndroidTouchableBug ? View : TouchableOpacity;\n return (\n \n \n {this.renderTextInputOrChildren()}\n {\n Keyboard.dismiss();\n if (pickerProps.onFocus) {\n pickerProps.onFocus();\n }\n }}\n >\n {this.renderPickerItems()}\n \n \n \n );\n }\n\n renderAndroidNativePickerStyle() {\n const { disabled, Icon, style, pickerProps } = this.props;\n const { selectedItem } = this.state;\n\n return (\n \n {\n Keyboard.dismiss();\n if (pickerProps.onFocus) {\n pickerProps.onFocus();\n }\n }}\n >\n {this.renderPickerItems()}\n \n {this.renderIcon()}\n \n );\n }\n\n renderWeb() {\n const { disabled, style, pickerProps } = this.props;\n const { selectedItem } = this.state;\n\n return (\n \n \n {this.renderPickerItems()}\n \n {this.renderIcon()}\n \n );\n }\n\n render() {\n const { children, useNativeAndroidPickerStyle } = this.props;\n\n if (Platform.OS === 'ios') {\n return this.renderIOS();\n }\n\n if (Platform.OS === 'web') {\n return this.renderWeb();\n }\n\n if (children || !useNativeAndroidPickerStyle) {\n return this.renderAndroidHeadless();\n }\n\n return this.renderAndroidNativePickerStyle();\n }\n}\n\nexport { defaultStyles };\n","/**\n * Lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright JS Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n asyncTag = '[object AsyncFunction]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n nullTag = '[object Null]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n proxyTag = '[object Proxy]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n undefinedTag = '[object Undefined]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\n/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\n/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\n/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\n/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\n/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\n/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\n/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\n/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype,\n funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n Symbol = root.Symbol,\n Uint8Array = root.Uint8Array,\n propertyIsEnumerable = objectProto.propertyIsEnumerable,\n splice = arrayProto.splice,\n symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols,\n nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n nativeKeys = overArg(Object.keys, Object);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView'),\n Map = getNative(root, 'Map'),\n Promise = getNative(root, 'Promise'),\n Set = getNative(root, 'Set'),\n WeakMap = getNative(root, 'WeakMap'),\n nativeCreate = getNative(Object, 'create');\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\n/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\n/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\n/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\n/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\n/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\n/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\n/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\n/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = isEqual;\n","/**\n * @flow\n */\n\nexport {default as Picker} from './Picker';\nexport {default as PickerIOS} from './PickerIOS';\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport {Platform} from 'react-native';\n\nimport PickerAndroid from './PickerAndroid';\nimport PickerIOS from './PickerIOS';\nimport PickerWindows from './PickerWindows';\nimport PickerMacOS from './PickerMacOS';\n\nimport type {TextStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type {ColorValue} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type {Node} from 'react';\n\nconst MODE_DIALOG = 'dialog';\nconst MODE_DROPDOWN = 'dropdown';\n\ntype PickerItemProps = $ReadOnly<{|\n /**\n * Text to display for this item.\n */\n label: string,\n\n /**\n * The value to be passed to picker's `onValueChange` callback when\n * this item is selected. Can be a string or an integer.\n */\n value?: ?(number | string),\n\n /**\n * Color of this item's text.\n * @platform android\n */\n color?: ColorValue,\n\n /**\n * Used to locate the item in end-to-end tests.\n */\n testID?: string,\n|}>;\n\n/**\n * Individual selectable item in a Picker.\n */\nclass PickerItem extends React.Component {\n render() {\n // The items are not rendered directly\n throw null;\n }\n}\n\ntype PickerProps = $ReadOnly<{|\n children?: Node,\n style?: ?TextStyleProp,\n\n /**\n * Value matching value of one of the items. Can be a string or an integer.\n */\n selectedValue?: ?(number | string),\n\n /**\n * Callback for when an item is selected. This is called with the following parameters:\n * - `itemValue`: the `value` prop of the item that was selected\n * - `itemIndex`: the index of the selected item in this picker\n */\n onValueChange?: ?(itemValue: string | number, itemIndex: number) => mixed,\n\n /**\n * If set to false, the picker will be disabled, i.e. the user will not be able to make a\n * selection.\n * @platform android\n */\n enabled?: ?boolean,\n\n /**\n * On Android, specifies how to display the selection items when the user taps on the picker:\n *\n * - 'dialog': Show a modal dialog. This is the default.\n * - 'dropdown': Shows a dropdown anchored to the picker view\n *\n * @platform android\n */\n mode?: ?('dialog' | 'dropdown'),\n\n /**\n * Style to apply to each of the item labels.\n * @platform ios\n */\n itemStyle?: ?TextStyleProp,\n\n /**\n * Prompt string for this picker, used on Android in dialog mode as the title of the dialog.\n * @platform android\n */\n prompt?: ?string,\n\n /**\n * Placeholder string for this picker, used on Windows if no item has been selected.\n * @platform windows\n */\n placeholder?: ?string,\n\n /**\n * Used to locate this view in end-to-end tests.\n */\n testID?: ?string,\n\n /**\n * On Android, used to truncate the text with an ellipsis after computing the text layout, including line wrapping,\n * such that the total number of lines does not exceed this number. Default is '1'\n * @platform android\n */\n numberOfLines?: ?number,\n\n /**\n * The string used for the accessibility label. Will be read once focused on the picker but not on change.\n */\n accessibilityLabel?: ?string,\n|}>;\n\n/**\n * Renders the native picker component on iOS and Android. Example:\n *\n * this.setState({language: itemValue})}>\n * \n * \n * \n */\nclass Picker extends React.Component {\n pickerRef: React.ElementRef = React.createRef();\n /**\n * On Android, display the options in a dialog.\n */\n static MODE_DIALOG: typeof MODE_DIALOG = MODE_DIALOG;\n\n /**\n * On Android, display the options in a dropdown (this is the default).\n */\n static MODE_DROPDOWN: typeof MODE_DROPDOWN = MODE_DROPDOWN;\n\n static Item: typeof PickerItem = PickerItem;\n\n static defaultProps: PickerProps = {\n mode: MODE_DIALOG,\n };\n\n blur: () => void = () => {\n this.pickerRef.current?.blur();\n };\n\n focus: () => void = () => {\n this.pickerRef.current?.focus();\n };\n\n render(): React.Node {\n if (Platform.OS === 'ios') {\n /* $FlowFixMe(>=0.81.0 site=react_native_ios_fb) This suppression was\n * added when renaming suppression sites. */\n return {this.props.children};\n } else if (Platform.OS === 'macos') {\n /* $FlowFixMe(>=0.81.0 site=react_native_ios_fb) This suppression was\n * added when renaming suppression sites. */\n return {this.props.children};\n } else if (Platform.OS === 'android') {\n return (\n /* $FlowFixMe(>=0.81.0 site=react_native_android_fb) This suppression\n * was added when renaming suppression sites. */\n \n {this.props.children}\n \n );\n } else if (Platform.OS === 'windows') {\n return (\n {this.props.children}\n );\n } else {\n return null;\n }\n }\n}\n\nexport default Picker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * @flow\n */\n\nimport UnimplementedView from './UnimplementedView';\n\n/**\n * Fallback for non-android platforms\n */\nexport default UnimplementedView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport {View, StyleSheet} from 'react-native';\ndeclare var __DEV__: boolean;\n/**\n * Common implementation for a simple stubbed view. Simply applies the view's styles to the inner\n * View component and renders its children.\n */\nconst UnimplementedView = (props: $FlowFixMeProps): React.Node => {\n return (\n \n {props.children}\n \n );\n};\n\nconst styles = StyleSheet.create({\n unimplementedView: __DEV__\n ? {\n alignSelf: 'flex-start',\n borderColor: 'red',\n borderWidth: 1,\n }\n : {},\n});\n\nexport default UnimplementedView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n *\n * This is a controlled component version of RNCPickerIOS\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nimport * as React from 'react';\nimport {processColor, StyleSheet, View} from 'react-native';\nimport RNCPickerNativeComponent from './RNCPickerNativeComponent';\nimport type {RNCPickerIOSType} from './RNCPickerNativeComponent';\nimport type {ProcessedColorValue} from 'react-native/Libraries/StyleSheet/processColor';\nimport type {ColorValue} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type {ViewProps} from 'react-native/Libraries/Components/View/ViewPropTypes';\nimport type {TextStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes';\nimport type {Element, ElementRef, ChildrenArray} from 'react';\n\ntype PickerIOSChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n newValue: number | string,\n newIndex: number,\n |}>,\n>;\n\ntype RNCPickerIOSItemType = $ReadOnly<{|\n label: ?Label,\n value: ?(number | string),\n textColor: ?ProcessedColorValue,\n testID: ?string,\n|}>;\n\ntype Label = Stringish | number;\n\ntype Props = $ReadOnly<{|\n ...ViewProps,\n children: ChildrenArray>,\n itemStyle?: ?TextStyleProp,\n onChange?: ?(event: PickerIOSChangeEvent) => mixed,\n onValueChange?: ?(itemValue: string | number, itemIndex: number) => mixed,\n selectedValue: ?(number | string),\n numberOfLines: ?number,\n themeVariant: ?string,\n|}>;\n\ntype State = {|\n selectedIndex: number,\n items: $ReadOnlyArray,\n|};\n\ntype ItemProps = $ReadOnly<{|\n label: ?Label,\n value?: ?(number | string),\n color?: ?ColorValue,\n testID?: ?string,\n|}>;\n\nconst PickerIOSItem = (props: ItemProps): null => {\n return null;\n};\n\nclass PickerIOS extends React.Component {\n _picker: ?ElementRef = null;\n\n state: State = {\n selectedIndex: 0,\n items: [],\n };\n\n static Item: typeof PickerIOSItem = PickerIOSItem;\n\n static getDerivedStateFromProps(props: Props): State {\n let selectedIndex = 0;\n const items = [];\n React.Children.toArray(props.children).forEach(function (child, index) {\n if (child.props.value === props.selectedValue) {\n selectedIndex = index;\n }\n items.push({\n value: child.props.value,\n label: child.props.label,\n textColor: processColor(child.props.color),\n testID: child.props.testID,\n });\n });\n return {selectedIndex, items};\n }\n\n render(): React.Node {\n let numberOfLines = Math.round(this.props.numberOfLines ?? 1);\n if (numberOfLines < 1) {\n numberOfLines = 1;\n }\n return (\n \n {\n this._picker = picker;\n }}\n themeVariant={this.props.themeVariant}\n testID={this.props.testID}\n style={[styles.pickerIOS, this.props.itemStyle]}\n items={this.state.items}\n selectedIndex={this.state.selectedIndex}\n onChange={this._onChange}\n numberOfLines={numberOfLines}\n />\n \n );\n }\n\n _onChange = (event) => {\n if (this.props.onChange) {\n this.props.onChange(event);\n }\n if (this.props.onValueChange) {\n this.props.onValueChange(\n event.nativeEvent.newValue,\n event.nativeEvent.newIndex,\n );\n }\n\n // The picker is a controlled component. This means we expect the\n // on*Change handlers to be in charge of updating our\n // `selectedValue` prop. That way they can also\n // disallow/undo/mutate the selection of certain values. In other\n // words, the embedder of this component should be the source of\n // truth, not the native component.\n if (\n this._picker &&\n this.state.selectedIndex !== event.nativeEvent.newIndex\n ) {\n this._picker.setNativeProps({\n selectedIndex: this.state.selectedIndex,\n });\n }\n };\n}\n\nconst styles = StyleSheet.create({\n pickerIOS: {\n // The picker will conform to whatever width is given, but we do\n // have to set the component's height explicitly on the\n // surrounding view to ensure it gets rendered.\n height: 216,\n },\n});\n\nexport default PickerIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n * @format\n */\n'use strict';\n\nimport {requireNativeComponent} from 'react-native';\n\nimport type {SyntheticEvent} from 'react-native/Libraries/Types/CoreEventTypes';\nimport type {ProcessedColorValue} from 'react-native/Libraries/StyleSheet/processColor';\nimport type {TextStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';\nimport type {HostComponent} from 'react-native/Libraries/Renderer/shims/ReactNativeTypes';\n\ntype PickerIOSChangeEvent = SyntheticEvent<\n $ReadOnly<{|\n newValue: number | string,\n newIndex: number,\n |}>,\n>;\n\ntype RNCPickerIOSTypeItemType = $ReadOnly<{|\n label: ?Label,\n value: ?(number | string),\n textColor: ?ProcessedColorValue,\n testID: ?string,\n|}>;\n\ntype Label = Stringish | number;\n\nexport type RNCPickerIOSType = HostComponent<\n $ReadOnly<{|\n items: $ReadOnlyArray,\n onChange: (event: PickerIOSChangeEvent) => void,\n selectedIndex: number,\n style?: ?TextStyleProp,\n testID?: ?string,\n numberOfLines?: ?number,\n themeVariant?: ?string,\n |}>,\n>;\n\nmodule.exports = ((requireNativeComponent('RNCPicker'): any): RNCPickerIOSType);\n","/**\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n *\n * @flow\n */\n\n'use strict';\n\nimport UnimplementedView from './UnimplementedView';\n\nexport default UnimplementedView;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @flow\n */\n\nimport * as React from 'react';\nimport UnimplementedView from './UnimplementedView';\nclass PickerMacOS extends React.Component<{}> {\n static Item: typeof UnimplementedView = UnimplementedView;\n render(): React.Node {\n return ;\n }\n}\n\n/**\n * Fallback for non-MacOS platforms\n */\nexport default PickerMacOS;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport networkPropTypes from '../networkPropTypes';\nimport {withNetwork} from '../OnyxProvider';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport * as Expensicons from '../Icon/Expensicons';\nimport compose from '../../libs/compose';\nimport BlockingView from './BlockingView';\n\nconst propTypes = {\n /** Child elements */\n children: PropTypes.node.isRequired,\n\n /** Props to fetch translation features */\n ...withLocalizePropTypes,\n\n /** Props to detect online status */\n network: networkPropTypes.isRequired,\n};\n\nconst FullPageOfflineBlockingView = (props) => {\n if (props.network.isOffline) {\n return (\n \n );\n }\n\n return props.children;\n};\n\nFullPageOfflineBlockingView.propTypes = propTypes;\nFullPageOfflineBlockingView.displayName = 'FullPageOfflineBlockingView';\n\nexport default compose(\n withLocalize,\n withNetwork(),\n)(FullPageOfflineBlockingView);\n","export default () => null;\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Lottie from 'lottie-react-native';\nimport FireworksAnimation from '../../assets/animations/Fireworks.json';\nimport Text from './Text';\nimport styles from '../styles/styles';\nimport Button from './Button';\nimport FixedFooter from './FixedFooter';\n\nconst propTypes = {\n /** The asset to render */\n animation: PropTypes.string,\n\n /** Heading of the confirmation page */\n heading: PropTypes.string,\n\n /** Description of the confirmation page */\n description: PropTypes.string,\n\n /** The text for the button label */\n buttonText: PropTypes.string,\n\n /** A function that is called when the button is clicked on */\n onButtonPress: PropTypes.func,\n\n /** Whether we should show a confirmation button */\n shouldShowButton: PropTypes.bool,\n};\n\nconst defaultProps = {\n animation: FireworksAnimation,\n heading: '',\n description: '',\n buttonText: '',\n onButtonPress: () => {},\n shouldShowButton: false,\n};\n\nconst ConfirmationPage = props => (\n <>\n \n \n \n {props.heading}\n \n \n {props.description}\n \n \n {props.shouldShowButton && (\n \n \n \n )}\n \n);\n\nConfirmationPage.propTypes = propTypes;\nConfirmationPage.defaultProps = defaultProps;\nConfirmationPage.displayName = 'ConfirmationPage';\n\nexport default ConfirmationPage;\n","module.exports=require(\"./LottieView\");","var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _objectWithoutProperties2=_interopRequireDefault(require(\"@babel/runtime/helpers/objectWithoutProperties\"));var _toConsumableArray2=_interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));var _classCallCheck2=_interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));var _createClass2=_interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));var _inherits2=_interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));var _possibleConstructorReturn2=_interopRequireDefault(require(\"@babel/runtime/helpers/possibleConstructorReturn\"));var _getPrototypeOf2=_interopRequireDefault(require(\"@babel/runtime/helpers/getPrototypeOf\"));var _react=_interopRequireDefault(require(\"react\"));var _reactNative=require(\"react-native\");var _reactNativeSafeModules=_interopRequireDefault(require(\"react-native-safe-modules\"));var _jsxFileName=\"/Users/emiliorodriguez/Work/lottie-react-native/src/js/LottieView.js\";var _excluded=[\"style\",\"source\",\"autoSize\",\"autoPlay\"];function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var Super=(0,_getPrototypeOf2.default)(Derived),result;if(hasNativeReflectConstruct){var NewTarget=(0,_getPrototypeOf2.default)(this).constructor;result=Reflect.construct(Super,arguments,NewTarget);}else{result=Super.apply(this,arguments);}return(0,_possibleConstructorReturn2.default)(this,result);};}function _isNativeReflectConstruct(){if(typeof Reflect===\"undefined\"||!Reflect.construct)return false;if(Reflect.construct.sham)return false;if(typeof Proxy===\"function\")return true;try{Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));return true;}catch(e){return false;}}var getNativeLottieViewForDesktop=function getNativeLottieViewForDesktop(){return(0,_reactNative.requireNativeComponent)('LottieAnimationView');};var NativeLottieView=_reactNative.Platform.OS==='macos'||_reactNative.Platform.OS==='windows'?getNativeLottieViewForDesktop():_reactNativeSafeModules.default.component({viewName:'LottieAnimationView',mockComponent:_reactNative.View});var AnimatedNativeLottieView=_reactNative.Animated.createAnimatedComponent(NativeLottieView);var LottieViewManager=_reactNative.Platform.select({macos:_reactNative.NativeModules.LottieAnimationView,windows:_reactNative.NativeModules.LottieAnimationView,default:_reactNativeSafeModules.default.module({moduleName:'LottieAnimationView',mock:{play:function play(){},reset:function reset(){},pause:function pause(){},resume:function resume(){},getConstants:function getConstants(){}}})});var defaultProps={progress:0,speed:1,loop:true,autoPlay:false,autoSize:false,enableMergePathsAndroidForKitKatAndAbove:false,cacheComposition:true,useNativeLooping:false,resizeMode:'contain',colorFilters:[],textFiltersAndroid:[],textFiltersIOS:[]};var viewConfig={uiViewClassName:'LottieAnimationView',validAttributes:{progress:true}};var safeGetViewManagerConfig=function safeGetViewManagerConfig(moduleName){if(_reactNative.UIManager.getViewManagerConfig){return _reactNative.UIManager.getViewManagerConfig(moduleName);}return _reactNative.UIManager[moduleName];};var LottieView=function(_React$PureComponent){(0,_inherits2.default)(LottieView,_React$PureComponent);var _super=_createSuper(LottieView);function LottieView(props){var _this;(0,_classCallCheck2.default)(this,LottieView);_this=_super.call(this,props);_this.refRoot=function(root){_this.root=root;if(_this.props.autoPlay){_this.play();}};_this.onAnimationFinish=function(evt){if(_this.props.onAnimationFinish){_this.props.onAnimationFinish(evt.nativeEvent.isCancelled);}};_this.viewConfig=viewConfig;return _this;}(0,_createClass2.default)(LottieView,[{key:\"componentDidUpdate\",value:function componentDidUpdate(prevProps){if(this.props.autoPlay&&this.props.source!==prevProps.source&&!!this.props.source){this.play();}}},{key:\"setNativeProps\",value:function setNativeProps(props){_reactNative.UIManager.updateView(this.getHandle(),this.viewConfig.uiViewClassName,{progress:props.progress});}},{key:\"play\",value:function play(){var startFrame=arguments.length>0&&arguments[0]!==undefined?arguments[0]:-1;var endFrame=arguments.length>1&&arguments[1]!==undefined?arguments[1]:-1;this.runCommand('play',[startFrame,endFrame]);}},{key:\"reset\",value:function reset(){this.runCommand('reset');}},{key:\"pause\",value:function pause(){this.runCommand('pause');}},{key:\"resume\",value:function resume(){this.runCommand('resume');}},{key:\"runCommand\",value:function runCommand(name){var _this2=this;var args=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var handle=this.getHandle();if(!handle){return null;}return _reactNative.Platform.select({android:function android(){return _reactNative.UIManager.dispatchViewManagerCommand(handle,safeGetViewManagerConfig('LottieAnimationView').Commands[name],args);},windows:function windows(){return _reactNative.UIManager.dispatchViewManagerCommand(handle,safeGetViewManagerConfig('LottieAnimationView').Commands[name],args);},ios:function ios(){return LottieViewManager[name].apply(LottieViewManager,[_this2.getHandle()].concat((0,_toConsumableArray2.default)(args)));},macos:function macos(){return LottieViewManager[name].apply(LottieViewManager,[_this2.getHandle()].concat((0,_toConsumableArray2.default)(args)));}})();}},{key:\"getHandle\",value:function getHandle(){return(0,_reactNative.findNodeHandle)(this.root);}},{key:\"render\",value:function render(){var _this$props=this.props,style=_this$props.style,source=_this$props.source,autoSize=_this$props.autoSize,autoPlay=_this$props.autoPlay,rest=(0,_objectWithoutProperties2.default)(_this$props,_excluded);var sourceName=typeof source==='string'?source:undefined;var sourceJson=typeof source==='object'&&!source.uri?JSON.stringify(source):undefined;var sourceURL=typeof source==='object'&&source.uri?source.uri:undefined;var aspectRatioStyle=sourceJson?{aspectRatio:source.w/source.h}:undefined;var styleObject=_reactNative.StyleSheet.flatten(style);var sizeStyle;if(!styleObject||styleObject.width===undefined&&styleObject.height===undefined){sizeStyle=autoSize&&sourceJson?{width:source.w}:_reactNative.StyleSheet.absoluteFill;}var speed=this.props.duration&&sourceJson&&this.props.source.fr?Math.round(this.props.source.op/this.props.source.fr*1000/this.props.duration):this.props.speed;var colorFilters=Array.isArray(this.props.colorFilters)?this.props.colorFilters.map(function(_ref){var keypath=_ref.keypath,color=_ref.color;return{keypath:keypath,color:(0,_reactNative.processColor)(color)};}):undefined;return _react.default.createElement(_reactNative.View,{style:[aspectRatioStyle,sizeStyle,style],__self:this,__source:{fileName:_jsxFileName,lineNumber:177,columnNumber:7}},_react.default.createElement(AnimatedNativeLottieView,(0,_extends2.default)({ref:this.refRoot},rest,{colorFilters:colorFilters,speed:speed,style:[aspectRatioStyle,sizeStyle||{width:'100%',height:'100%'},style],sourceName:sourceName,sourceJson:sourceJson,sourceURL:sourceURL,onAnimationFinish:this.onAnimationFinish,__self:this,__source:{fileName:_jsxFileName,lineNumber:178,columnNumber:9}})));}}]);return LottieView;}(_react.default.PureComponent);LottieView.defaultProps=defaultProps;module.exports=LottieView;","function _extends() {\n module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\nmodule.exports={\ncreate:require('./SafeModule'),\nmodule:require('./SafeModule'),\ncomponent:require('./SafeComponent')};","module.exports=require('./NativeSafeModule');","var _extends=Object.assign||function(target){for(var i=1;i 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n values[_key - 1] = arguments[_key];\n }\n\n for (var i = 0; i < raw.length; i++) {\n result += raw[i].\n // join lines when there is a suppressed newline\n replace(/\\\\\\n[ \\t]*/g, \"\").\n\n // handle escaped backticks\n replace(/\\\\`/g, \"`\");\n\n if (i < values.length) {\n result += values[i];\n }\n }\n\n // dedent eats leading and trailing whitespace too\n result = result.trim();\n\n // now strip indentation\n var lines = result.split(\"\\n\");\n var mindent = null;\n lines.forEach(function (l) {\n var m = l.match(/^ +/);\n if (m) {\n var indent = m[0].length;\n if (!mindent) {\n // this is the first indented line\n mindent = indent;\n } else {\n mindent = Math.min(mindent, indent);\n }\n }\n });\n\n if (mindent !== null) {\n result = lines.map(function (l) {\n return l[0] === \" \" ? l.slice(mindent) : l;\n }).join(\"\\n\");\n }\n\n // handle escaped newlines at the end to ensure they don't get stripped too\n return result.replace(/\\\\n/g, \"\\n\");\n}\n\nif (typeof module !== \"undefined\") {\n module.exports = dedent;\n}","module.exports=require('./NativeSafeComponent');","var _extends=Object.assign||function(target){for(var i=1;i2?_len-2:0),_key=2;_key<_len;_key++){args[_key-2]=arguments[_key];}\nvar native=function native(){return _reactNative.UIManager.dispatchViewManagerCommand(\n(0,_reactNative.findNodeHandle)(instance),\ngetViewManagerConfig(realViewName).Commands[name],\nargs);};\n\nreturn _reactNative.Platform.select({\nandroid:native,\nios:function ios(){return nativeModule[name].apply(nativeModule,[(0,_reactNative.findNodeHandle)(instance)].concat(args));},\nwindows:native,\ndefault:function _default(){}})();\n\n};\n\nresult.updateView=function(instance,props){\nvar native=function native(){return _reactNative.UIManager.updateView((0,_reactNative.findNodeHandle)(instance),realViewName,props);};\n_reactNative.Platform.select({\nios:native,\nandroid:native,\nwindows:native,\ndefault:function _default(){}})();\n\n};\n\nif(componentOverrides){\nvar _overrides=componentOverrides[version];\nif(_overrides){\nif(__DEV__){\nif(typeof _overrides!=='function'){\nconsole.error((0,_dedent2.default)(_templateObject2,\nPRIMARY_VIEW_NAME,\nversion,\ntypeof _overrides));\n\n}\n}\n\nresult=_overrides(nativeComponent,nativeModule);\n\nif(__DEV__){\nif(typeof result!=='function'){\nconsole.error((0,_dedent2.default)(_templateObject3,\nPRIMARY_VIEW_NAME,\nversion,\ntypeof result));\n\n}\n}\n}\n}\n\nreturn result;\n}\n\nmodule.exports=SafeComponentCreate;","{\"v\":\"5.9.6\",\"fr\":24,\"ip\":0,\"op\":109,\"w\":360,\"h\":360,\"nm\":\"Comp 1\",\"ddd\":0,\"assets\":[{\"id\":\"comp_0\",\"nm\":\"Expensify-Fireworks-120722-kjs-1\",\"fr\":24,\"layers\":[{\"ddd\":0,\"ind\":4,\"ty\":3,\"nm\":\"pyramid all\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":83,\"s\":[970,372.5,0],\"to\":[0,23.333,0],\"ti\":[0,-23.333,0]},{\"t\":108,\"s\":[970,512.5,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[51,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":5,\"ty\":3,\"nm\":\"1\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[42,35,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[42,-103.341,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.169},\"t\":99,\"s\":[42,-134.114,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[39,-152,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":6,\"ty\":3,\"nm\":\"2\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[57.5,55,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[80.693,-53.232,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.136},\"t\":99,\"s\":[85.851,-77.307,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[89,-95,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":7,\"ty\":3,\"nm\":\"3\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[56,67.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[71.462,-25.677,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.134},\"t\":99,\"s\":[74.901,-46.406,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[76,-62,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":8,\"ty\":3,\"nm\":\"4\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[69,73,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[110.502,-7.564,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.131},\"t\":99,\"s\":[119.735,-25.486,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[127,-39,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":9,\"ty\":3,\"nm\":\"5\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[80,91,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[141.033,30.781,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.151},\"t\":99,\"s\":[154.611,17.384,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[163,8,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":10,\"ty\":3,\"nm\":\"6\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[1.5,92.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-43.664,8.274,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.13},\"t\":99,\"s\":[-53.709,-10.458,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-64,-23,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":11,\"ty\":3,\"nm\":\"7\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-19,123,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-102.819,94.518,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.164},\"t\":99,\"s\":[-121.468,88.181,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-133,85,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":12,\"ty\":3,\"nm\":\"8\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-43,157,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-151.232,182.227,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.139},\"t\":99,\"s\":[-175.314,187.84,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-193,189,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":13,\"ty\":3,\"nm\":\"9\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-27.5,175,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-123.932,214.875,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.152},\"t\":99,\"s\":[-145.389,223.747,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-160,228,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":14,\"ty\":3,\"nm\":\"10\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-6,174,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-70.288,214.689,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.134},\"t\":99,\"s\":[-84.592,223.742,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-96,229,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":15,\"ty\":3,\"nm\":\"11\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[17.5,155.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-10.575,179.506,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.148},\"t\":99,\"s\":[-16.82,184.846,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-22,183,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":16,\"ty\":3,\"nm\":\"12\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[35,174.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[21.166,216.409,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.255},\"t\":99,\"s\":[18.088,225.733,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[15,228,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":17,\"ty\":3,\"nm\":\"13\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[51.5,150,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[61.672,162.207,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.328},\"t\":99,\"s\":[63.933,164.919,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[65,165,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":18,\"ty\":3,\"nm\":\"14\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[65,149,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[99.992,153.883,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.351},\"t\":99,\"s\":[107.774,154.968,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[110,155,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":19,\"ty\":3,\"nm\":\"15\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[69,162.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[94.227,187.32,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.256},\"t\":99,\"s\":[99.837,192.84,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[102,195,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":20,\"ty\":3,\"nm\":\"16\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[81.5,131.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[146.195,118.073,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.173},\"t\":99,\"s\":[160.59,115.085,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[168,111,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":21,\"ty\":3,\"nm\":\"17\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[89.5,176,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[158.264,215.875,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.186},\"t\":99,\"s\":[173.564,224.747,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[182,229,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":22,\"ty\":3,\"nm\":\"18\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[141,185,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[259.811,238.709,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.173},\"t\":99,\"s\":[286.239,250.656,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[302,256,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":23,\"ty\":3,\"nm\":\"19\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[141,233,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[276.086,368.086,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.201},\"t\":99,\"s\":[306.143,398.143,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[321,413,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":24,\"ty\":3,\"nm\":\"20\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[82,233.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[139.778,370.621,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.196},\"t\":99,\"s\":[152.63,401.122,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[158,417,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":25,\"ty\":3,\"nm\":\"21\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[62,234,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[102.689,373.155,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.198},\"t\":99,\"s\":[111.739,404.109,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[115,420,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":26,\"ty\":3,\"nm\":\"22\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-26,234,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-90.288,372.341,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.172},\"t\":99,\"s\":[-104.592,403.123,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-116,419,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":27,\"ty\":3,\"nm\":\"23\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-86,232,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-240.617,366.273,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.163},\"t\":99,\"s\":[-275.02,396.149,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-299,410,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":28,\"ty\":3,\"nm\":\"24\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[23,64,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-8.737,-43.418,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.132},\"t\":99,\"s\":[-15.799,-67.319,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-22,-85,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":29,\"ty\":3,\"nm\":\"25\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-50,175,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-178.576,235.219,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.155},\"t\":99,\"s\":[-207.176,248.614,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-226,256,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":30,\"ty\":3,\"nm\":\"26\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-1,135.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-61.219,122.073,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.133},\"t\":99,\"s\":[-74.618,119.085,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-84,115,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":31,\"ty\":3,\"nm\":\"27\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[12,173,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-21.365,213.689,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.11},\"t\":99,\"s\":[-28.787,222.741,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-38,228,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":32,\"ty\":3,\"nm\":\"28\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-48,233,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-139.143,367.273,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.156},\"t\":99,\"s\":[-159.422,397.149,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-175,414,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":33,\"ty\":3,\"nm\":\"29\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[111,141,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[196.446,139.372,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.163},\"t\":99,\"s\":[215.458,139.01,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[227,138,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":34,\"ty\":3,\"nm\":\"30\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[12,237,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[4.676,376.155,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.175},\"t\":99,\"s\":[3.047,407.109,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-2,424,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":35,\"ty\":3,\"nm\":\"32\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[100.5,234.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[184.726,366.738,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.179},\"t\":99,\"s\":[203.466,396.162,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[213,413,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":36,\"ty\":3,\"nm\":\"33\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[159,215,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[294.9,297.191,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.166},\"t\":99,\"s\":[325.138,315.479,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[344,325,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":37,\"ty\":3,\"nm\":\"34\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[40.5,67.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[28.7,-37.07,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.137},\"t\":99,\"s\":[26.075,-60.337,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[23,-77,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":38,\"ty\":3,\"nm\":\"35\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[14.5,84.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-20.899,-11.932,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.188},\"t\":99,\"s\":[-28.776,-33.389,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-32,-45,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":39,\"ty\":3,\"nm\":\"36\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-10.5,113,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-71.94,47.898,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.132},\"t\":99,\"s\":[-85.61,33.413,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-98,25,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":40,\"ty\":3,\"nm\":\"37\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[93,117,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[162.171,78.753,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.168},\"t\":99,\"s\":[177.561,70.243,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[185,63,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":41,\"ty\":3,\"nm\":\"38\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[26.5,149.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[13.073,161.3,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.277},\"t\":99,\"s\":[10.088,163.923,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[9,163,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":42,\"ty\":3,\"nm\":\"39\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-32,145,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-127.212,140.117,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.127},\"t\":99,\"s\":[-148.387,139.031,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-165,138,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":43,\"ty\":3,\"nm\":\"40\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[53.5,175.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[70.182,217.409,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.221},\"t\":99,\"s\":[73.894,226.733,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[77,230,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":44,\"ty\":3,\"nm\":\"41\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[71.5,176,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[116.664,218.316,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.254},\"t\":99,\"s\":[126.712,227.73,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[130,232,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":45,\"ty\":3,\"nm\":\"42\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[108,177,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[201.584,218.502,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.151},\"t\":99,\"s\":[222.401,227.734,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[237,231,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":46,\"ty\":3,\"nm\":\"43\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[131,170,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[234.349,193.599,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.194},\"t\":99,\"s\":[257.345,198.85,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[269,202,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":47,\"ty\":3,\"nm\":\"44\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-70,203,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-207.528,298.212,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.152},\"t\":99,\"s\":[-238.128,319.396,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-260,330,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":48,\"ty\":3,\"nm\":\"45\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-70,234,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-191.252,371.528,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.169},\"t\":99,\"s\":[-218.231,402.128,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-237,417,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":49,\"ty\":3,\"nm\":\"46\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[-8,235,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-50.316,373.341,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.17},\"t\":99,\"s\":[-59.732,404.123,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-68,421,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":50,\"ty\":3,\"nm\":\"47\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[39,237,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[56.089,374.528,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.18},\"t\":99,\"s\":[59.891,405.119,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[62,422,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":51,\"ty\":3,\"nm\":\"48\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[120.5,234.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[232.394,369.993,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.203},\"t\":99,\"s\":[257.291,400.141,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[268,416,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":52,\"ty\":3,\"nm\":\"49\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[168,232,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[323.431,361.39,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.167},\"t\":99,\"s\":[358.014,390.18,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[377,409,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":53,\"ty\":3,\"nm\":\"50\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[36,108.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[24.607,60.08,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.099},\"t\":99,\"s\":[22.073,49.311,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[18,39,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":54,\"ty\":3,\"nm\":\"51\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[28.5,104.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[0.425,51.198,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.125},\"t\":99,\"s\":[-5.822,39.338,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-11,30,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":55,\"ty\":3,\"nm\":\"52\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[31.5,190.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[2.611,251.126,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.199},\"t\":99,\"s\":[-3.816,264.613,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-9,270,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":56,\"ty\":3,\"nm\":\"53\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[55,128,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[76.158,107.656,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.117},\"t\":99,\"s\":[80.863,103.131,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[83,98,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":57,\"ty\":3,\"nm\":\"54\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[37,129.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[28.048,116.073,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.082},\"t\":99,\"s\":[26.059,113.089,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[23,110,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":58,\"ty\":3,\"nm\":\"55\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[7.5,191.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-63.705,252.94,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.182},\"t\":99,\"s\":[-79.542,266.605,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-89,273,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":59,\"ty\":3,\"nm\":\"56\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[27,221,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-4.737,327.604,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.158},\"t\":99,\"s\":[-11.799,351.324,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-17,366,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":60,\"ty\":3,\"nm\":\"57\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[57,206,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[70.834,291.446,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.166},\"t\":99,\"s\":[73.912,310.455,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[74,322,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":61,\"ty\":3,\"nm\":\"58\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[63,190.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[87.413,248.685,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.207},\"t\":99,\"s\":[92.844,261.629,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[95,268,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":62,\"ty\":3,\"nm\":\"59\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[82,190,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[140.592,248.592,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.241},\"t\":99,\"s\":[153.626,261.626,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[159,267,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":63,\"ty\":3,\"nm\":\"60\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[12.5,207.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-50.567,295.794,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.143},\"t\":99,\"s\":[-64.596,315.434,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-73,330,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":64,\"ty\":3,\"nm\":\"61\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[31.5,209,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[1.797,299.329,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.16},\"t\":99,\"s\":[-4.809,319.419,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-11,331,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":65,\"ty\":3,\"nm\":\"62\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[75.5,209,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[122.292,298.515,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.174},\"t\":99,\"s\":[132.7,318.427,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[140,329,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":66,\"ty\":3,\"nm\":\"63\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[47.5,223.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[46.279,334.58,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.177},\"t\":99,\"s\":[46.008,359.288,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[44,373,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":67,\"ty\":3,\"nm\":\"64\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[45.5,111,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[47.534,67.87,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.092},\"t\":99,\"s\":[47.987,58.277,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[47,48,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":68,\"ty\":3,\"nm\":\"65\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[50.5,92.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[61.486,14.785,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.139},\"t\":99,\"s\":[63.93,-2.507,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[64,-15,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":69,\"ty\":3,\"nm\":\"66\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[33.5,94,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[18.445,19.947,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.119},\"t\":99,\"s\":[15.096,3.47,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[11,-10,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":70,\"ty\":3,\"nm\":\"67\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[36,119,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[22.98,86.449,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.118},\"t\":99,\"s\":[20.084,79.209,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[18,73,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":71,\"ty\":3,\"nm\":\"68\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[50.5,135,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[54.976,127.676,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.133},\"t\":99,\"s\":[55.97,126.048,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[55,125,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":72,\"ty\":3,\"nm\":\"69\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[29,125,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[5.401,103.028,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.122},\"t\":99,\"s\":[0.153,98.142,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-4,94,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":73,\"ty\":3,\"nm\":\"70\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[41,91.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[36.931,9.716,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.132},\"t\":99,\"s\":[36.026,-8.481,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[34,-22,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":74,\"ty\":3,\"nm\":\"71\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[62.5,104,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[94.644,49.477,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.146},\"t\":99,\"s\":[101.795,37.348,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[104,28,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":75,\"ty\":3,\"nm\":\"72\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[62,115.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[94.551,80.915,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.123},\"t\":99,\"s\":[101.792,73.221,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[104,65,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":76,\"ty\":3,\"nm\":\"73\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[59,97.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[84.227,27.922,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.156},\"t\":99,\"s\":[89.84,12.441,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[91,2,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":77,\"ty\":3,\"nm\":\"74\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[56,196,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[69.834,264.357,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.347},\"t\":99,\"s\":[72.912,279.564,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[73,284,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":78,\"ty\":3,\"nm\":\"75\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[72,190,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[113.502,247.778,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.185},\"t\":99,\"s\":[122.735,260.632,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[127,268,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":79,\"ty\":3,\"nm\":\"76\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[49.5,189.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[53.976,245.243,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.167},\"t\":99,\"s\":[54.971,257.645,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[54,265,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":80,\"ty\":3,\"nm\":\"77\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[55.5,222,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[72.182,331.859,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.177},\"t\":99,\"s\":[75.893,356.296,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[78,370,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":81,\"ty\":3,\"nm\":\"78\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[62.5,218,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[89.761,323.79,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.176},\"t\":99,\"s\":[95.825,347.322,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[97,361,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":82,\"ty\":3,\"nm\":\"79\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[69.5,214.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[104.899,313.373,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.196},\"t\":99,\"s\":[112.773,335.367,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[115,347,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":83,\"ty\":3,\"nm\":\"80\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[67.5,204.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[98.016,290.353,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.19},\"t\":99,\"s\":[104.805,309.453,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[106,320,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":84,\"ty\":3,\"nm\":\"81\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[81,198.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[138.778,272.96,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.191},\"t\":99,\"s\":[151.632,289.525,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[157,299,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":85,\"ty\":3,\"nm\":\"82\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[37.5,224,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[20.004,332.232,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.188},\"t\":99,\"s\":[16.112,356.307,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[14,369,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":86,\"ty\":3,\"nm\":\"83\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[19,216,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-30.64,311.212,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.149},\"t\":99,\"s\":[-41.682,332.39,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-50,346,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":87,\"ty\":3,\"nm\":\"84\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[23,208,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-20.13,297.515,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.174},\"t\":99,\"s\":[-29.724,317.427,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-38,327,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":88,\"ty\":3,\"nm\":\"85\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[47,208,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[46.186,298.329,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.172},\"t\":99,\"s\":[46.005,318.427,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[45,330,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":89,\"ty\":3,\"nm\":\"86\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[39.5,207.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[24.445,298.236,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.184},\"t\":99,\"s\":[21.096,318.421,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[18,329,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":90,\"ty\":3,\"nm\":\"87\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[30.5,199.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[3.239,275.588,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.18},\"t\":99,\"s\":[-2.827,292.517,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-8,301,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":91,\"ty\":3,\"nm\":\"88\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[8,201,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[-59.543,275.053,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.157},\"t\":99,\"s\":[-74.567,291.526,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-85,301,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":92,\"ty\":3,\"nm\":\"89\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[40,189.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.698},\"t\":92,\"s\":[28.607,247.685,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.194},\"t\":99,\"s\":[26.073,260.627,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[22,266,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":93,\"ty\":3,\"nm\":\"90\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.593,\"y\":0.764},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":83,\"s\":[20,189,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.686,\"y\":0.929},\"o\":{\"x\":0.344,\"y\":0.697},\"t\":92,\"s\":[-27.199,249.219,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.343,\"y\":0.224},\"t\":99,\"s\":[-37.701,262.618,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":108,\"s\":[-43,268,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[52,52,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.635,0.635,0.635],\"y\":[0.853,0.853,-6.148]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.153,0.153,7.449]},\"t\":83,\"s\":[50,50,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.347,0.347,0.347],\"y\":[-0.052,-0.052,3.817]},\"t\":99,\"s\":[98.683,98.683,100]},{\"t\":108,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":109,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":94,\"ty\":4,\"nm\":\"pyramid blast 1 Outlines\",\"parent\":5,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[535.875,162.388,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.354,16.515],[-16.516,26.355],[-26.355,-16.514],[16.515,-26.355]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[537.633,163.497],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":95,\"ty\":4,\"nm\":\"pyramid blast 2 Outlines\",\"parent\":6,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,50.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[593.018,235.115,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.681],[10.948,-4.296],[18.323,3.019],[17.433,5.673],[7.143,7.079],[5.961,7.922],[1.284,17.196],[-1.516,17.171],[-6.031,7.818],[-7.2,6.954],[-17.464,5.371],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.113],[-9.734,-17.738],[-0.583,-12.827],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[595.618,238.838],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":96,\"ty\":4,\"nm\":\"pyramid blast 3 Outlines\",\"parent\":7,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[581.329,279.271,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[580.777,278.24],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":97,\"ty\":4,\"nm\":\"pyramid blast 4 Outlines\",\"parent\":8,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[639.771,306.544,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[639.716,305.739],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":98,\"ty\":4,\"nm\":\"pyramid blast 5 Outlines\",\"parent\":9,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[685.225,361.089,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[684.777,361.022],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":99,\"ty\":4,\"nm\":\"pyramid blast 6 Outlines\",\"parent\":10,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[413.797,327.323,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[412.648,324.617],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":100,\"ty\":4,\"nm\":\"pyramid blast 7 Outlines\",\"parent\":11,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[324.186,453.297,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[325.652,453.161],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":101,\"ty\":4,\"nm\":\"pyramid blast 8 Outlines\",\"parent\":12,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[254.056,583.167,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[255.37,582.165],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":102,\"ty\":4,\"nm\":\"pyramid blast 9 Outlines\",\"parent\":13,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[294.316,631.219,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[293.939,628.866],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":103,\"ty\":4,\"nm\":\"pyramid blast 10 Outlines\",\"parent\":14,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[374.836,631.219,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[373.169,629.122],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":104,\"ty\":4,\"nm\":\"pyramid blast 11 Outlines\",\"parent\":15,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[461.849,580.57,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[461.439,577.89],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":105,\"ty\":4,\"nm\":\"pyramid blast 12 Outlines\",\"parent\":16,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[506.005,633.816,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[507.357,631.438],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":106,\"ty\":4,\"nm\":\"pyramid blast 13 Outlines\",\"parent\":17,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[565.745,553.297,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[566.497,553.87],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":107,\"ty\":4,\"nm\":\"pyramid blast 14 Outlines\",\"parent\":18,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[622.888,541.609,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[623.066,538.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":108,\"ty\":4,\"nm\":\"pyramid blast 15 Outlines\",\"parent\":19,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,55.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[615.095,593.557,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[613.344,590.297],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":109,\"ty\":4,\"nm\":\"pyramid blast 16 Outlines\",\"parent\":20,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[693.018,488.362,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[692.491,487.873],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":110,\"ty\":4,\"nm\":\"pyramid blast 17 Outlines\",\"parent\":21,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[708.602,633.816,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[709.205,631.438],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":111,\"ty\":4,\"nm\":\"pyramid blast 18 Outlines\",\"parent\":22,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[856.654,664.985,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[857.055,665.293],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":112,\"ty\":4,\"nm\":\"pyramid blast 19 Outlines\",\"parent\":23,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[882.628,858.492,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[881.482,856.427],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":113,\"ty\":4,\"nm\":\"pyramid blast 20 Outlines\",\"parent\":24,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[683.927,863.687,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[682.132,860.712],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":114,\"ty\":4,\"nm\":\"pyramid blast 21 Outlines\",\"parent\":25,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[628.082,864.985,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[628.209,863.283],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":115,\"ty\":4,\"nm\":\"pyramid blast 22 Outlines\",\"parent\":26,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[344.966,863.687,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[346.651,863.539],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":116,\"ty\":4,\"nm\":\"pyramid blast 23 Outlines\",\"parent\":27,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[124.186,855.894,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.686],[5.686,0],[0,5.686],[-5.686,0]],\"o\":[[0,5.686],[-5.686,0],[0,-5.686],[5.686,0]],\"v\":[[10.296,0],[0,10.296],[-10.296,0],[0,-10.296]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[124.233,853.754],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":117,\"ty\":4,\"nm\":\"pyramid blast 24 Outlines\",\"parent\":28,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[461.849,251.998,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.355,16.515],[-16.516,26.355],[-26.354,-16.514],[16.516,-26.355]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[463.893,251.314],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":118,\"ty\":4,\"nm\":\"pyramid blast 25 Outlines\",\"parent\":29,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[211.199,662.388,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.355,16.516],[-16.516,26.355],[-26.354,-16.514],[16.516,-26.354]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[213.915,661.109],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":119,\"ty\":4,\"nm\":\"pyramid blast 26 Outlines\",\"parent\":30,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[385.225,493.557,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.355,16.515],[-16.516,26.355],[-26.354,-16.514],[16.516,-26.355]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[386.397,493.266],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":120,\"ty\":4,\"nm\":\"pyramid blast 27 Outlines\",\"parent\":31,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[443.667,628.622,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.355,16.515],[-16.516,26.354],[-26.354,-16.515],[16.516,-26.355]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[446.262,629.072],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":121,\"ty\":4,\"nm\":\"pyramid blast 28 Outlines\",\"parent\":32,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[276.134,857.193,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.354,16.516],[-16.516,26.354],[-26.355,-16.515],[16.515,-26.354]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[277.432,857.888],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":122,\"ty\":4,\"nm\":\"pyramid blast 29 Outlines\",\"parent\":33,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[763.147,519.531,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.354,16.515],[-16.516,26.354],[-26.355,-16.515],[16.515,-26.355]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[765.424,519.398],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":123,\"ty\":4,\"nm\":\"pyramid blast 30 Outlines\",\"parent\":34,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[487.823,868.881,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.354,16.516],[-16.516,26.354],[-26.355,-16.515],[16.515,-26.354]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[487.15,867.849],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":124,\"ty\":4,\"nm\":\"pyramid blast 32 Outlines\",\"parent\":35,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[747.563,854.596,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.354,16.516],[-16.516,26.354],[-26.355,-16.515],[16.515,-26.354]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[749.793,854.215],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":125,\"ty\":4,\"nm\":\"pyramid blast 33 Outlines\",\"parent\":36,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[904.706,748.102,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.579,-16.196],[16.196,-20.579],[20.579,16.196],[-16.196,20.58]],\"o\":[[-23.549,-11.457],[11.458,-23.549],[23.549,11.457],[-11.458,23.549]],\"v\":[[26.355,16.516],[-16.516,26.354],[-26.354,-16.515],[16.516,-26.354]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[906.926,748.336],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":126,\"ty\":4,\"nm\":\"pyramid blast 34 Outlines\",\"parent\":37,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[517.693,261.089,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.681],[10.948,-4.296],[18.323,3.019],[17.433,5.673],[7.143,7.079],[5.961,7.922],[1.284,17.196],[-1.516,17.171],[-6.031,7.818],[-7.199,6.954],[-17.464,5.371],[-18.306,2.701],[-10.806,-4.483],[-10.345,-5.861],[-12.012,-16.113],[-9.733,-17.738],[-0.583,-12.827],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[517.633,260.345],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":127,\"ty\":4,\"nm\":\"pyramid blast 35 Outlines\",\"parent\":38,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[446.264,297.453,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.512,-5.681],[10.949,-4.296],[18.323,3.019],[17.434,5.673],[7.144,7.079],[5.961,7.922],[1.284,17.196],[-1.516,17.171],[-6.031,7.818],[-7.199,6.954],[-17.464,5.371],[-18.306,2.701],[-10.806,-4.483],[-10.345,-5.861],[-12.012,-16.113],[-9.733,-17.738],[-0.582,-12.827],[0.871,-12.814],[10.105,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[447.242,297.962],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":128,\"ty\":4,\"nm\":\"pyramid blast 36 Outlines\",\"parent\":39,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[372.238,383.167,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.165],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.156],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.512,-5.681],[10.949,-4.296],[18.323,3.019],[17.434,5.673],[7.144,7.079],[5.961,7.922],[1.284,17.194],[-1.516,17.171],[-6.031,7.818],[-7.199,6.954],[-17.464,5.371],[-18.306,2.701],[-10.806,-4.483],[-10.345,-5.861],[-12.012,-16.113],[-9.733,-17.738],[-0.582,-12.827],[0.871,-12.814],[10.105,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[373.148,383.664],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":129,\"ty\":4,\"nm\":\"pyramid blast 37 Outlines\",\"parent\":40,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[713.797,431.219,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.681],[10.948,-4.296],[18.323,3.019],[17.433,5.673],[7.143,7.079],[5.961,7.922],[1.284,17.196],[-1.516,17.171],[-6.031,7.818],[-7.2,6.954],[-17.464,5.371],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.113],[-9.734,-17.738],[-0.583,-12.827],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[714.198,430.837],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":130,\"ty\":4,\"nm\":\"pyramid blast 38 Outlines\",\"parent\":41,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[496.914,551.998,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.512,-5.681],[10.949,-4.296],[18.323,3.018],[17.433,5.673],[7.144,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.199,6.953],[-17.464,5.371],[-18.306,2.701],[-10.806,-4.484],[-10.345,-5.862],[-12.012,-16.113],[-9.733,-17.739],[-0.582,-12.827],[0.871,-12.814],[10.105,-17.567]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[497.679,553.878],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":131,\"ty\":4,\"nm\":\"pyramid blast 39 Outlines\",\"parent\":42,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[289.121,518.232,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.355,-15.901],[10.511,-5.68],[10.948,-4.295],[18.322,3.019],[17.433,5.674],[7.143,7.079],[5.96,7.922],[1.283,17.196],[-1.517,17.171],[-6.032,7.818],[-7.2,6.954],[-17.465,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[290.309,519.406],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":132,\"ty\":4,\"nm\":\"pyramid blast 40 Outlines\",\"parent\":43,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[580.031,636.414,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.68],[10.948,-4.295],[18.323,3.018],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.862],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[580.757,635.779],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":133,\"ty\":4,\"nm\":\"pyramid blast 41 Outlines\",\"parent\":44,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[648.862,637.713,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.68],[10.948,-4.295],[18.323,3.018],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.862],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[648.419,635.779],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":134,\"ty\":4,\"nm\":\"pyramid blast 42 Outlines\",\"parent\":45,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[772.238,635.115,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.68],[10.948,-4.295],[18.323,3.018],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.862],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[773.927,635.779],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":135,\"ty\":4,\"nm\":\"pyramid blast 43 Outlines\",\"parent\":46,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,55.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[817.693,601.349,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.902],[10.511,-5.68],[10.948,-4.295],[18.323,3.018],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.862],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.814],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[818.479,600.601],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":136,\"ty\":4,\"nm\":\"pyramid blast 44 Outlines\",\"parent\":47,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[172.238,754.596,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.355,-15.901],[10.511,-5.68],[10.948,-4.295],[18.322,3.019],[17.433,5.674],[7.143,7.078],[5.96,7.922],[1.283,17.196],[-1.517,17.171],[-6.032,7.818],[-7.2,6.953],[-17.465,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[172.378,755.112],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":137,\"ty\":4,\"nm\":\"pyramid blast 45 Outlines\",\"parent\":48,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[198.212,863.687,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.901],[10.512,-5.68],[10.949,-4.295],[18.323,3.019],[17.434,5.674],[7.144,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.171],[-6.031,7.818],[-7.199,6.953],[-17.464,5.372],[-18.306,2.701],[-10.806,-4.483],[-10.345,-5.861],[-12.012,-16.112],[-9.733,-17.738],[-0.582,-12.826],[0.871,-12.813],[10.105,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[199.332,863.291],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":138,\"ty\":4,\"nm\":\"pyramid blast 46 Outlines\",\"parent\":49,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[403.407,866.284,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.355,-15.901],[10.511,-5.68],[10.948,-4.295],[18.322,3.019],[17.433,5.674],[7.143,7.079],[5.96,7.922],[1.283,17.196],[-1.517,17.171],[-6.032,7.818],[-7.2,6.954],[-17.465,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[404.462,866.73],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":139,\"ty\":4,\"nm\":\"pyramid blast 47 Outlines\",\"parent\":50,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[560.55,868.881,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.901],[10.511,-5.68],[10.948,-4.295],[18.323,3.019],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.171],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[561.948,868.918],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":140,\"ty\":4,\"nm\":\"pyramid blast 48 Outlines\",\"parent\":51,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[818.992,859.791,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.901],[10.511,-5.68],[10.948,-4.295],[18.323,3.018],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.17],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.862],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[818.457,860.975],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":141,\"ty\":4,\"nm\":\"pyramid blast 49 Outlines\",\"parent\":52,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[951.459,849.401,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.23,-1.273],[0,0],[-0.365,-0.361],[0,0],[1.282,-0.175],[0,0],[0.231,-0.458],[0,0],[0.563,1.166],[0,0],[0.508,0.079],[0,0],[-0.934,0.896],[0,0],[0.082,0.507],[0,0],[-1.14,-0.612],[0,0],[-0.457,0.235],[0,0]],\"o\":[[0,0],[-0.092,0.505],[0,0],[0.918,0.911],[0,0],[-0.509,0.069],[0,0],[-0.583,1.155],[0,0],[-0.224,-0.462],[0,0],[-1.279,-0.197],[0,0],[0.371,-0.356],[0,0],[-0.208,-1.277],[0,0],[0.453,0.243],[0,0],[1.151,-0.593]],\"v\":[[12.356,-15.901],[10.511,-5.68],[10.948,-4.295],[18.323,3.019],[17.433,5.674],[7.143,7.078],[5.961,7.922],[1.284,17.195],[-1.516,17.171],[-6.031,7.818],[-7.2,6.953],[-17.464,5.372],[-18.307,2.701],[-10.807,-4.483],[-10.346,-5.861],[-12.013,-16.112],[-9.734,-17.738],[-0.583,-12.826],[0.87,-12.813],[10.104,-17.566]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[950.079,848.572],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":142,\"ty\":4,\"nm\":\"pyramid blast 50 Outlines\",\"parent\":53,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[509.901,401.349,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[511.612,400.358],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":143,\"ty\":4,\"nm\":\"pyramid blast 51 Outlines\",\"parent\":54,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[473.537,390.959,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.908,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.492],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.932,14.37],[-14.371,22.932],[-22.933,-14.37],[14.37,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[475.951,388.546],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":144,\"ty\":4,\"nm\":\"pyramid blast 52 Outlines\",\"parent\":55,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[478.732,683.167,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.293],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.925,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.887,-3.487],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[478.381,682.623],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":145,\"ty\":4,\"nm\":\"pyramid blast 53 Outlines\",\"parent\":56,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[587.823,474.076,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.908,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.492],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.933,14.37],[-14.37,22.932],[-22.932,-14.37],[14.371,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[589.846,471.107],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":146,\"ty\":4,\"nm\":\"pyramid blast 54 Outlines\",\"parent\":57,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[518.992,485.765,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.907,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.492],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.932,14.37],[-14.371,22.932],[-22.933,-14.37],[14.37,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[518.715,485.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":147,\"ty\":4,\"nm\":\"pyramid blast 55 Outlines\",\"parent\":58,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[380.031,685.765,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.907,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.492],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.933,14.37],[-14.37,22.932],[-22.932,-14.371],[14.371,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[379.715,683.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":148,\"ty\":4,\"nm\":\"pyramid blast 56 Outlines\",\"parent\":59,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[465.745,796.154,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.907,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.491],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.933,14.37],[-14.37,22.932],[-22.932,-14.37],[14.371,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[467.422,795.311],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":149,\"ty\":4,\"nm\":\"pyramid blast 57 Outlines\",\"parent\":60,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[578.732,742.907,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-17.907,-14.093],[14.093,-17.907],[17.907,14.093],[-14.093,17.907]],\"o\":[[-20.491,-9.969],[9.97,-20.492],[20.492,9.969],[-9.969,20.491]],\"v\":[[22.932,14.37],[-14.371,22.932],[-22.933,-14.37],[14.37,-22.932]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[579.647,742.363],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":150,\"ty\":4,\"nm\":\"pyramid blast 58 Outlines\",\"parent\":61,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[602.108,679.271,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.926,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.037],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.888,-3.486],[14.872,2.45],[14.151,4.606],[5.799,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.896,6.346],[-5.844,5.645],[-14.177,4.36],[-14.86,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.079],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.203,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[603.032,679.2],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":151,\"ty\":4,\"nm\":\"pyramid blast 59 Outlines\",\"parent\":62,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[681.329,677.972,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.925,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.037],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.888,-3.486],[14.872,2.45],[14.151,4.606],[5.799,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.896,6.346],[-5.844,5.645],[-14.177,4.36],[-14.86,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.079],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.203,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[682.116,679.2],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":152,\"ty\":4,\"nm\":\"pyramid blast 60 Outlines\",\"parent\":63,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[399.511,749.401,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.925,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.037],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.887,-3.486],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.079],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[400.336,750.343],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":153,\"ty\":4,\"nm\":\"pyramid blast 61 Outlines\",\"parent\":64,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,50.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[476.134,751.998,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.293],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.925,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.887,-3.487],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[476.717,753.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":154,\"ty\":4,\"nm\":\"pyramid blast 62 Outlines\",\"parent\":65,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[655.355,753.297,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.293],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.926,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.029,-12.908],[8.532,-4.611],[8.887,-3.487],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.838,6.431],[1.041,13.958],[-1.231,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.773,-3.64],[-8.399,-4.758],[-9.752,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[656.717,753.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":155,\"ty\":4,\"nm\":\"pyramid blast 63 Outlines\",\"parent\":66,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[541.069,807.842,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.293],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.926,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.029,-12.908],[8.532,-4.611],[8.887,-3.487],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.838,6.431],[1.041,13.958],[-1.231,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.773,-3.64],[-8.399,-4.758],[-9.752,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[542.717,806.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":156,\"ty\":4,\"nm\":\"pyramid blast 64 Outlines\",\"parent\":67,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[543.667,413.037,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.926,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.029,-12.908],[8.532,-4.611],[8.887,-3.486],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.838,6.431],[1.041,13.958],[-1.231,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.773,-3.64],[-8.399,-4.758],[-9.752,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[546.717,412.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":157,\"ty\":4,\"nm\":\"pyramid blast 65 Outlines\",\"parent\":68,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,50.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[567.043,332.518,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.926,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.029,-12.908],[8.532,-4.611],[8.887,-3.486],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.838,6.431],[1.041,13.958],[-1.231,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.773,-3.64],[-8.399,-4.758],[-9.752,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[567.717,334.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":158,\"ty\":4,\"nm\":\"pyramid blast 66 Outlines\",\"parent\":69,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[500.81,342.907,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.187,-1.034],[0,0],[-0.297,-0.294],[0,0],[1.041,-0.142],[0,0],[0.188,-0.373],[0,0],[0.456,0.946],[0,0],[0.412,0.063],[0,0],[-0.758,0.726],[0,0],[0.067,0.412],[0,0],[-0.925,-0.497],[0,0],[-0.371,0.191],[0,0]],\"o\":[[0,0],[-0.074,0.41],[0,0],[0.746,0.74],[0,0],[-0.413,0.056],[0,0],[-0.473,0.938],[0,0],[-0.181,-0.375],[0,0],[-1.038,-0.16],[0,0],[0.301,-0.288],[0,0],[-0.168,-1.036],[0,0],[0.368,0.198],[0,0],[0.934,-0.481]],\"v\":[[10.03,-12.908],[8.533,-4.611],[8.887,-3.486],[14.872,2.45],[14.151,4.606],[5.798,5.746],[4.839,6.431],[1.042,13.958],[-1.23,13.938],[-4.897,6.346],[-5.845,5.645],[-14.177,4.36],[-14.861,2.193],[-8.772,-3.64],[-8.398,-4.758],[-9.751,-13.08],[-7.901,-14.399],[-0.474,-10.412],[0.706,-10.402],[8.202,-14.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[502.717,343.82],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":159,\"ty\":4,\"nm\":\"pyramid blast 67 Outlines\",\"parent\":70,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[509.901,442.907,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[509.715,440.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":160,\"ty\":4,\"nm\":\"pyramid blast 68 Outlines\",\"parent\":71,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[555.355,503.946,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[554.715,501.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":161,\"ty\":4,\"nm\":\"pyramid blast 69 Outlines\",\"parent\":72,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[483.927,466.284,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[483.715,465.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":162,\"ty\":4,\"nm\":\"pyramid blast 70 Outlines\",\"parent\":73,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[529.381,328.622,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[530.715,326.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":163,\"ty\":4,\"nm\":\"pyramid blast 71 Outlines\",\"parent\":74,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[615.095,387.063,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[615.715,387.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":164,\"ty\":4,\"nm\":\"pyramid blast 72 Outlines\",\"parent\":75,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[615.095,433.816,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[616.715,432.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":165,\"ty\":4,\"nm\":\"pyramid blast 73 Outlines\",\"parent\":76,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[600.81,355.894,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[599.715,354.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":166,\"ty\":4,\"nm\":\"pyramid blast 74 Outlines\",\"parent\":77,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[577.433,705.245,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[577.715,702.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":167,\"ty\":4,\"nm\":\"pyramid blast 75 Outlines\",\"parent\":78,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[643.667,679.271,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[643.715,677.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":168,\"ty\":4,\"nm\":\"pyramid blast 76 Outlines\",\"parent\":79,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[556.654,676.674,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[554.715,673.871],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":169,\"ty\":4,\"nm\":\"pyramid blast 77 Outlines\",\"parent\":80,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[583.927,803.946,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[582.715,802.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":170,\"ty\":4,\"nm\":\"pyramid blast 78 Outlines\",\"parent\":81,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[608.602,793.557,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[606.715,791.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":171,\"ty\":4,\"nm\":\"pyramid blast 79 Outlines\",\"parent\":82,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[630.68,776.674,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[630.715,774.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":172,\"ty\":4,\"nm\":\"pyramid blast 80 Outlines\",\"parent\":83,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[618.992,742.907,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[618.715,741.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":173,\"ty\":4,\"nm\":\"pyramid blast 81 Outlines\",\"parent\":84,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[682.628,715.635,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[680.715,715.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":174,\"ty\":4,\"nm\":\"pyramid blast 82 Outlines\",\"parent\":85,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,51.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[506.005,801.349,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[505.715,802.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":175,\"ty\":4,\"nm\":\"pyramid blast 83 Outlines\",\"parent\":86,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[428.082,772.778,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[429.715,772.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":176,\"ty\":4,\"nm\":\"pyramid blast 84 Outlines\",\"parent\":87,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[443.667,751.998,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[443.715,751.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":177,\"ty\":4,\"nm\":\"pyramid blast 85 Outlines\",\"parent\":88,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[542.368,754.596,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[543.715,754.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":178,\"ty\":4,\"nm\":\"pyramid blast 86 Outlines\",\"parent\":89,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[508.602,754.596,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[508.715,754.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":179,\"ty\":4,\"nm\":\"pyramid blast 87 Outlines\",\"parent\":90,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,54.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[478.732,722.128,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[478.715,719.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":180,\"ty\":4,\"nm\":\"pyramid blast 88 Outlines\",\"parent\":91,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[52.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[386.524,719.531,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[385.715,718.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":181,\"ty\":4,\"nm\":\"pyramid blast 89 Outlines\",\"parent\":92,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51.55,52.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[516.394,677.972,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.839,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[516.715,677.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":182,\"ty\":4,\"nm\":\"pyramid blast 90 Outlines\",\"parent\":93,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[53.55,53.81,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[435.875,681.868,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":83,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":89,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":95,\"s\":[77,77,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":101,\"s\":[100,100,100]},{\"t\":107,\"s\":[77,77,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.33],[4.329,0],[0,4.33],[-4.33,0]],\"o\":[[0,4.33],[-4.33,0],[0,-4.33],[4.329,0]],\"v\":[[7.84,0],[0,7.839],[-7.84,0],[0,-7.839]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[435.715,680.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":83,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":183,\"ty\":4,\"nm\":\"rocket1 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.581],\"y\":[0.026]},\"o\":{\"x\":[0.18],\"y\":[0.385]},\"t\":0,\"s\":[-36]},{\"i\":{\"x\":[0.702],\"y\":[1]},\"o\":{\"x\":[0.346],\"y\":[0.286]},\"t\":6,\"s\":[-16.465]},{\"t\":16,\"s\":[75]}],\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.581,\"y\":0.758},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":0,\"s\":[718.55,954.31,0],\"to\":[53.006,-290.17,0],\"ti\":[-58.282,72.885,0]},{\"i\":{\"x\":0.702,\"y\":1},\"o\":{\"x\":0.346,\"y\":0.806},\"t\":6,\"s\":[892.496,441.56,0],\"to\":[100.826,-126.088,0],\"ti\":[-1.999,-4.051,0]},{\"t\":16,\"s\":[1083.05,423.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1440.55,792.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.632,0.632,0.632],\"y\":[0.839,0.839,0.66]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.152,0.152,0.321]},\"t\":0,\"s\":[88,88,100]},{\"i\":{\"x\":[0.683,0.683,0.683],\"y\":[1,1,1]},\"o\":{\"x\":[0.348,0.348,0.348],\"y\":[0.152,0.152,0.046]},\"t\":14,\"s\":[32.867,32.867,100]},{\"t\":16,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0.511,6.383]],\"o\":[[0,0],[0,0]],\"v\":[[3.009,5.081],[-3.009,-5.081]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1136.096,1010.555],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.705,5.243]],\"o\":[[0,0],[0,0]],\"v\":[[2.698,5.331],[-1.993,-5.331]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1144.541,1006.503],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.609,6.459]],\"o\":[[0,0],[0,0]],\"v\":[[2.472,5.806],[1.137,-5.806]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1153.944,1004.176],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.435,4.757]],\"o\":[[0,0],[0,0]],\"v\":[[2.464,5.954],[1.971,-5.954]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1165.065,1003.13],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.846,6.46]],\"o\":[[0,0],[0,0]],\"v\":[[1.942,5.83],[-0.096,-5.829]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1178.213,1002.575],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-2.204,6.553]],\"o\":[[0,0],[0,0]],\"v\":[[3.065,5.776],[-0.861,-5.776]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1189.997,1001.263],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.754,7.709]],\"o\":[[0,0],[0,0]],\"v\":[[3.284,5.721],[-2.53,-5.721]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1202.702,997.954],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[2.789,7.477]],\"o\":[[0,0],[0,0]],\"v\":[[4.133,4.981],[-4.132,-4.981]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1213.796,992.444],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[12.273,41.27]],\"o\":[[0,0],[0,0]],\"v\":[[22.271,25.483],[-22.271,-25.483]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1264.622,948.246],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-8.261,-9.453],[-21.084,-12.594],[-12.24,-2.797],[-24.457,2.201],[-11.548,4.937],[-18.489,16.158],[-6.438,10.783],[-5.456,23.942],[1.133,12.505],[9.657,22.581],[8.262,9.453],[21.085,12.594],[12.24,2.797],[24.457,-2.2],[11.549,-4.937],[18.489,-16.158],[6.439,-10.783],[5.456,-23.942],[-1.132,-12.504],[-9.656,-22.581]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1118.845,1033.643],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[29.549,-36.105]],\"o\":[[-32.097,29.7],[0,0]],\"v\":[[47.752,-17.414],[-47.752,18.052]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1168.295,999.118],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[23.197,-27.911]],\"o\":[[-33.083,30.381],[0,0]],\"v\":[[47.974,-16.368],[-47.974,16.368]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1177.252,1008.444],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[10.491,12.005],[-4.968,4.341],[0,0]],\"o\":[[0,0],[-4.968,4.341],[-10.491,-12.004],[0,0],[0,0]],\"v\":[[93.763,-18.048],[-50.804,85.943],[-78.794,72.068],[-88.795,42.473],[30.666,-90.284]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1299.957,915.153],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-10.445,-11.952],[-9.636,-5.011]],\"o\":[[3.795,10.066],[10.747,12.297],[0,0]],\"v\":[[-26.901,-30.531],[-5.016,3.809],[26.9,30.53]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1314.874,902.92],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0.369,-0.424],[-19.482,-22.293],[-8.672,5.692],[-0.177,0.54],[0,0],[1.866,-0.361]],\"o\":[[-0.552,0.107],[-6.815,7.823],[19.476,22.285],[0.475,-0.312],[0,0],[0.594,-1.806],[0,0]],\"v\":[[-48.568,-34.764],[-49.99,-33.945],[-27.581,19.753],[22.623,49.157],[23.63,47.839],[56.21,-51.266],[53.371,-54.489]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1382.41,847.677],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 15\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":15,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.114,-0.579],[-24.901,4.907],[2.179,11.057],[0.28,0.634]],\"o\":[[0.003,0.588],[2.179,11.057],[24.901,-4.907],[-0.134,-0.681],[0,0]],\"v\":[[-46.263,0.099],[-46.089,1.851],[2.943,12.986],[44.084,-15.92],[43.462,-17.893]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.84313731474,0.686274509804,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1385.212,812.377],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 16\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":16,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-13.77,-16.092],[-4.812,-13.106],[-0.83,-22.728],[2.82,-12.442],[11.446,-18.746],[10.451,-10.12],[21.4,-9.124],[13.769,-1.493],[21.732,4.811],[11.446,7.466],[15.428,17.088],[4.811,12.443],[2.156,22.728],[-2.821,13.106],[-11.447,19.41],[-10.452,7.466],[-18.415,7.797],[-12.775,0.83],[-21.733,-6.138],[-10.452,-6.802]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1118.773,1033.618],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 17\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":17,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.65,4.313],[0,0],[14.599,-2.655],[17.917,-16.258],[1.991,3.318],[0,0],[-17.253,2.655],[-7.906,2.4]],\"o\":[[0,0],[0,0],[-14.599,2.654],[0,0],[-1.991,-3.318],[0,0],[17.253,-2.654],[7.905,-2.399]],\"v\":[[43.963,-23.226],[52.922,-12.609],[26.046,1.659],[-42.636,18.249],[-50.931,19.908],[-51.926,12.276],[-19.41,-7.3],[20.406,-10.618]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.811764765721,0.501960784314,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1171.861,1005.25],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 18\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":18,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[9.843,2.765],[20.463,30.38],[-3.982,5.309],[0,0],[0.332,-2.986]],\"o\":[[0,0],[-9.843,-2.765],[-14.931,-20.903],[0,0],[0,0],[-0.331,2.987]],\"v\":[[22.894,49.327],[10.507,51.097],[-40.147,6.193],[-50.101,-32.959],[52.424,-52.535],[54.746,-50.876]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1383.381,845.766],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 19\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":19,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[14.267,38.82],[0,0],[-27.871,-3.65]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[49.936,10.783],[-4.147,-50.599],[-49.936,0.166],[-4.479,50.599]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1292.303,922.799],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 20\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":20,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.097,-38.046],[0,0],[0,0],[10.617,16.368],[-3.54,3.982],[0,0]],\"o\":[[0,0],[0,0],[0,0],[-10.618,-16.369],[3.539,-3.981],[0,0]],\"v\":[[93.346,-16.59],[83.613,-9.512],[-53.088,88.7],[-82.727,70.12],[-88.479,43.133],[29.641,-88.7]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.976470648074,0.937254961799,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1300.542,913.453],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 21\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":21,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":17,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":184,\"ty\":4,\"nm\":\"rocket2 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582],\"y\":[0.349]},\"o\":{\"x\":[0.18],\"y\":[0.259]},\"t\":36,\"s\":[65]},{\"i\":{\"x\":[0.702],\"y\":[1]},\"o\":{\"x\":[0.347],\"y\":[0.32]},\"t\":41,\"s\":[36.521]},{\"t\":50,\"s\":[-50]}],\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.775},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":36,\"s\":[1198.55,908.31,0],\"to\":[-68.757,-245.849,0],\"ti\":[53.561,51.278,0]},{\"i\":{\"x\":0.702,\"y\":1},\"o\":{\"x\":0.347,\"y\":0.851},\"t\":41,\"s\":[1012.332,493.279,0],\"to\":[-84.556,-80.953,0],\"ti\":[11.44,-9.885,0]},{\"t\":50,\"s\":[857.55,507.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1502.55,940.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.627,0.627,0.627],\"y\":[0.822,0.822,0.159]},\"o\":{\"x\":[0.168,0.168,0.168],\"y\":[0.15,0.15,0.709]},\"t\":36,\"s\":[67,67,100]},{\"i\":{\"x\":[0.685,0.685,0.685],\"y\":[1,1,1]},\"o\":{\"x\":[0.349,0.349,0.349],\"y\":[0.151,0.151,0.131]},\"t\":48,\"s\":[31.549,31.549,100]},{\"t\":50,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[2.176,6.023]],\"o\":[[0,0],[0,0]],\"v\":[[-1.724,5.872],[-0.452,-5.871]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1867.801,1011.427],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[2.812,4.482]],\"o\":[[0,0],[0,0]],\"v\":[[-1.265,5.824],[-1.406,-5.824]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1858.364,1011.378],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[5.958,4.387]],\"o\":[[0,0],[0,0]],\"v\":[[0.61,5.562],[-2.979,-5.562]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1847.367,1013.752],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[6.006,2.496]],\"o\":[[0,0],[0,0]],\"v\":[[1.476,5.522],[-3.003,-5.523]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1836.013,1017.571],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[4.353,5.117]],\"o\":[[0,0],[0,0]],\"v\":[[0.793,5.728],[-2.177,-5.728]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1824.921,1021.971],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[4.718,5.054]],\"o\":[[0,0],[0,0]],\"v\":[[-1.154,6.07],[-2.359,-6.07]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1814.552,1025.727],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[3.876,6.706]],\"o\":[[0,0],[0,0]],\"v\":[[-2.217,6.411],[-1.658,-6.411]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1802.458,1027.671],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0.555,7.961]],\"o\":[[0,0],[0,0]],\"v\":[[-1.979,6.245],[1.424,-6.245]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1788.76,1027.089],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[5.903,42.65]],\"o\":[[0,0],[0,0]],\"v\":[[-12.682,32.414],[6.779,-32.414]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1726.876,1007.881],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.06,-23.517],[7.153,-10.323],[19.539,-14.873],[11.852,-4.142],[24.553,-0.552],[12.024,3.609],[20.189,13.984],[7.611,9.985],[8.116,23.176],[0.284,12.557],[-7.06,23.517],[-7.153,10.323],[-19.539,14.874],[-11.852,4.142],[-24.553,0.552],[-12.024,-3.609],[-20.189,-13.984],[-7.611,-9.986],[-8.116,-23.175],[-0.284,-12.556]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1891.971,1025.309],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-41.84,-20.644]],\"o\":[[41.509,13.758],[0,0]],\"v\":[[-50.81,7.056],[50.81,-0.171]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1832.799,1011.185],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-32.667,-15.812]],\"o\":[[42.689,13.97],[0,0]],\"v\":[[-50.447,5.869],[50.447,-4.027]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1828.373,1025.614],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-4.584,15.269],[6.318,1.897],[0,0]],\"o\":[[0,0],[6.318,1.897],[4.584,-15.269],[0,0],[0,0]],\"v\":[[-99.482,27.558],[75.158,62.415],[94.898,38.202],[91.758,7.12],[-71.927,-64.312]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1684.717,987.179],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[4.564,-15.203],[6.7,-8.549]],\"o\":[[0.71,10.734],[-4.695,15.642],[0,0]],\"v\":[[11.503,-38.925],[5.787,1.393],[-12.213,38.925]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1659.776,987.409],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.511,-0.233],[8.513,-28.356],[10.25,1.594],[0.385,0.419],[0,0],[-1.849,0.443]],\"o\":[[0.546,-0.131],[9.441,4.303],[-8.51,28.347],[-0.561,-0.087],[0,0],[-1.287,-1.399],[0,0]],\"v\":[[45.771,-53.659],[47.403,-53.503],[49.22,4.655],[15.681,52.197],[14.219,51.413],[-56.447,-25.329],[-55.195,-29.438]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1559.142,966.975],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 15\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":15,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.149,-0.571],[24.559,-6.402],[2.843,10.905],[0.023,0.692]],\"o\":[[0.253,0.531],[2.843,10.905],[-24.559,6.402],[-0.175,-0.671],[0,0]],\"v\":[[42.59,-19.697],[43.194,-18.043],[3.874,13.295],[-45.741,5.142],[-46.037,3.095]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.690196078431,0.945098099054,0.835294177485,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1557.75,933.194],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 16\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":16,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[5.656,1.076],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[-4.233,-1.555],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.343,-22.528],[-0.433,-12.088],[-7.81,-22.681],[-7.201,-9.994],[-19.417,-13.252],[-11.917,-3.566],[-24.369,0.611],[-11.917,4.468],[-18.99,14.577],[-7.179,10.365],[-6.717,22.11],[0.687,12.427],[8.281,22.681],[7.892,9.954],[19.531,13.125],[12.636,3.691],[24.368,-0.285],[12.394,-4.234],[19.167,-14.248],[7.387,-10.255]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1891.734,1025.301],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 17\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":17,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[5.091,2.45],[0,0],[-14.412,3.529],[-23.993,-9.111],[-0.465,3.841],[0,0],[19.958,-2.177],[17.501,-3.377]],\"o\":[[0,0],[0,0],[17.539,-3.857],[0,0],[0.465,-3.842],[0,0],[-11.007,0.982],[-8.197,1.032]],\"v\":[[-51.677,-2.251],[-55.528,11.096],[-23.472,13.106],[44.307,0.312],[55.064,0.951],[52.612,-8.411],[19.467,-14.458],[-25.818,0.449]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.811764765721,0.501960784314,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1832.651,1020.226],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 18\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":18,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-7.86,6.538],[-5.165,26.827],[4.622,0.355],[0,0],[-1.521,-2.591]],\"o\":[[0,0],[7.861,-6.538],[5.165,-26.827],[0,0],[0,0],[1.52,2.591]],\"v\":[[14.026,51.113],[26.058,47.678],[53.432,-14.547],[46.697,-54.217],[-54.469,-29.858],[-57.077,-26.232]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.360784313725,0.882353001015,0.662745098039,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1559.26,967.79],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 19\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":19,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[2.8,41.264],[0,0],[27.537,-28.432]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[-47.305,32.938],[-22.948,-45.906],[38.932,-18.771],[19.769,45.906]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.360784313725,0.882353001015,0.662745098039,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1694.425,994.39],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 20\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":20,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.022,19.275],[7.954,3.019],[0,0],[-12.684,-36.003]],\"o\":[[0,0],[3.021,-19.276],[-4.855,-2.193],[0,0],[0,0]],\"v\":[[84.925,63.516],[103.104,37.281],[96.935,6.969],[-64.672,-63.516],[-93.441,29.044]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.972549079446,0.705882352941,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1677.101,986.247],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 21\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":21,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":35,\"op\":51,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":185,\"ty\":4,\"nm\":\"rocket3 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.627,\"y\":0.854},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":69,\"s\":[960.55,945.31,0],\"to\":[0.027,-13.605,0],\"ti\":[-0.251,129.51,0]},{\"i\":{\"x\":0.71,\"y\":1},\"o\":{\"x\":0.238,\"y\":1},\"t\":73,\"s\":[961.446,483.222,0],\"to\":[0.064,-33.099,0],\"ti\":[0,0.089,0]},{\"t\":78,\"s\":[961.55,429.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1760.55,451.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.611,0.611,0.611],\"y\":[0.86,0.86,1.015]},\"o\":{\"x\":[0.17,0.17,0.17],\"y\":[0.083,0.083,-0.009]},\"t\":69,\"s\":[41,41,100]},{\"i\":{\"x\":[0.692,0.692,0.692],\"y\":[1,1,1]},\"o\":{\"x\":[0.352,0.352,0.352],\"y\":[0.02,0.02,-0.017]},\"t\":73,\"s\":[39.185,39.185,100]},{\"t\":78,\"s\":[25,25,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.845,2.285]],\"o\":[[5.399,2.25],[0,0]],\"v\":[[-7.705,-1.301],[7.705,-0.984]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1774.25,878.815],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.343,2.124]],\"o\":[[5.189,1.777],[0,0]],\"v\":[[-7.205,-1.062],[7.205,-1.062]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1773.916,860.814],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[4.719,1.504]],\"o\":[[-4.991,1.217],[0,0]],\"v\":[[7.288,-0.45],[-7.289,-0.767]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1773.833,839.269],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.995,2.139]],\"o\":[[5.118,1.997],[0,0]],\"v\":[[-7.588,-1.069],[7.587,-1.069]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1773.526,821.122],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-5.061,1.081]],\"o\":[[5.061,1.081],[0,0]],\"v\":[[-7.591,-0.541],[7.592,-0.541]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1773.53,802.885],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.138,33.25]],\"o\":[[-0.839,-34.333],[0,0]],\"v\":[[0.903,53.454],[-0.766,-53.453]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1781.892,844.085],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,39.687]],\"o\":[[0,-32.271],[0,0]],\"v\":[[0.606,52.031],[-0.605,-52.031]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1765.938,842.743],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[16.158,-18.489],[10.783,-6.439],[23.942,-5.456],[12.505,1.132],[22.581,9.656],[9.453,8.261],[12.594,21.084],[2.797,12.24],[-2.2,24.457],[-4.936,11.548],[-16.158,18.489],[-10.783,6.439],[-23.942,5.456],[-12.504,-1.133],[-22.581,-9.657],[-9.453,-8.262],[-12.594,-21.085],[-2.797,-12.24],[2.201,-24.457],[4.937,-11.549]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1774.875,912.14],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-41.456,9.66]],\"o\":[[0,0],[0,0]],\"v\":[[-40.248,-4.83],[40.249,-4.83]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1762.813,505.14],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-71.24,25.357]],\"o\":[[10.867,6.037],[0,0]],\"v\":[[-81.906,-12.679],[81.905,-12.679]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1763.417,567.726],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[21.35,12.106],[14.131,8.311],[-10.596,21.31],[-5.873,-6.223],[-21.35,-21.31]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1827.166,644.234],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-4.785,32.013],[-2.134,16.555],[-22.138,-2.945],[5.507,-6.961],[17.87,-32.013],[22.138,-23.365]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1819.804,752.264],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-24.01,-16.969],[-15.999,-33.202],[-3.635,-8.151],[24.009,-4.134],[4.005,15.365],[7.065,33.202]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1716.023,752.246],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[22.128,-22.998],[3.187,-4.535],[7.909,22.998],[-16.817,9.999],[-22.128,12.791]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1706.781,646.571],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[0,-38.05],[12.363,-12.999],[40.008,-8.982],[20.004,10.517],[24.726,38.05],[0,25.05],[-24.726,38.05],[-20.004,10.517],[-40.008,-8.982],[-12.363,-12.999]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1767.643,689.477],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 15\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":15,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[-112.889,72.919],[-2.378,-72.919],[112.888,72.26]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1763.983,520.101],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 16\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":16,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-1.932],[63.018,0],[0,15.453],[-0.645,1.204]],\"o\":[[1.52,1.821],[0,15.453],[-63.018,0],[0,-1.247],[0,0]],\"v\":[[111.786,-16.81],[114.104,-11.17],[0,16.81],[-114.104,-11.17],[-113.127,-14.848]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1764.222,607.868],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 17\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":17,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[40.345,0],[0,12.337]],\"o\":[[0,12.337],[-40.345,0],[0,0]],\"v\":[[73.051,-11.169],[0,11.169],[-73.051,-11.169]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1766.636,778.929],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 18\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":18,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-12.075,63.995]],\"o\":[[0,0],[0,0]],\"v\":[[-7.848,76.371],[7.849,-76.371]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1847.536,691.087],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 19\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":19,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[12.075,63.995]],\"o\":[[0,0],[0,0]],\"v\":[[7.849,76.371],[-7.849,-76.371]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1685.737,691.389],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 20\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":20,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.206,-0.912],[24.676,-32.654],[19.298,14.583],[0.887,0.897]],\"o\":[[1.327,0.686],[19.298,14.583],[-24.676,32.653],[-1.018,-0.769],[0,0]],\"v\":[[32.657,-67.614],[36.46,-65.219],[26.723,20.312],[-52.899,53.031],[-55.757,50.528]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.894117706897,0.976470648074,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1714.706,532.332],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 21\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":21,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[23.02,-5.315],[11.089,-6.347],[15.545,-18.065],[4.815,-11.496],[1.74,-24.044],[-3.273,-12.524],[-12.471,-20.347],[-9.868,-8.305],[-22.174,-9.47],[-13.12,-1.269],[-23.02,5.307],[-11.218,6.56],[-15.584,17.662],[-5.295,11.921],[-2.273,24.044],[2.443,12.448],[12.027,20.89],[9.356,8.697],[21.7,9.721],[11.955,1.155]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1775.201,912.12],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 22\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":22,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.197,-56.703],[-8.596,-56.42],[-7.269,56.343],[8.597,56.703]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.945098099054,0.341176470588,0.18431372549,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1773.93,846.483],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 23\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":23,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-50.765,0],[0,0],[0,0],[37.162,9.954]],\"o\":[[0,0],[50.765,0],[0,0],[0,0],[0,0]],\"v\":[[-83.115,21.235],[-0.166,33.843],[83.115,20.571],[39.65,-33.511],[-41.309,-33.843]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.792156922583,0.964705942191,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1763.392,533.877],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 24\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":24,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.328,-3.539],[-98.989,-0.223],[1.327,10.618],[0,0],[0,0]],\"o\":[[0,0],[1.327,3.539],[90.691,-3.097],[0,0],[0,0],[0,0]],\"v\":[[-113.253,56.099],[-113.695,63.705],[4.424,88.922],[113.696,59.281],[109.714,53.088],[-3.097,-88.921]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1764.664,535.979],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 25\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":25,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.385,9.75],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[1.429,-12.945],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-5.029,31.792],[18.86,18.078],[21.957,-23.471],[17.47,-31.792],[5.201,-7.084],[-21.957,-2.923],[-2.455,16.751]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1820.126,752.37],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 26\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":26,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-21.235,-3.982],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-22.783,16.811],[6.635,33.18],[3.54,15.484],[23.89,-4.866],[-3.097,-7.963],[-16.369,-33.18],[-23.89,-17.253]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1716,752.31],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 27\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":27,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-24.332,37.094],[-0.443,24.708],[24.023,37.671],[19.443,9.995],[38.931,-9.799],[11.502,-13.781],[-0.443,-37.671],[-12.83,-13.781],[-38.931,-9.358],[-21.235,9.666]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1768.203,689.999],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 28\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":28,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[12.829,0.442],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-24.99,-15.8],[-9.516,-0.995],[-13.498,25.548],[10.391,14.046],[17.912,17.585],[24.99,-25.548]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1830.807,638.725],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 29\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":29,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.442,-5.751],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-19.797,16.59],[-14.488,13.936],[10.728,27.207],[7.189,-0.663],[26.212,-18.802],[-26.212,-27.207]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1703.502,642.375],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 30\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":30,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.168,-45.555],[-61.051,-2.655],[-2.654,7.3],[-9.29,20.572]],\"o\":[[0.74,-2.578],[0,0],[64.206,0.275],[0,0],[0,0]],\"v\":[[-89.253,-86.443],[-73.327,67.511],[-8.958,88.746],[73.327,66.847],[89.253,-88.434]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.003921568627,0.517647058824,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1766.544,701.61],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 31\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":31,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":69,\"op\":79,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":186,\"ty\":4,\"nm\":\"spiky blast Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1064.55,423.31,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1316.55,193.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-10.833]},\"t\":17,\"s\":[100,100,100]},{\"t\":20,\"s\":[35,35,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[61.681,23.494],[31.162,25.106],[36.084,55.271],[10.443,38.621],[-3.287,65.936],[-14.24,37.384],[-41.412,51.415],[-33.491,21.886],[-63.712,17.258],[-39.969,-1.988],[-61.682,-23.494],[-31.164,-25.106],[-36.086,-55.271],[-10.444,-38.62],[3.286,-65.936],[14.239,-37.384],[41.411,-51.414],[33.49,-21.886],[63.711,-17.258],[39.969,1.988]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.813,190.894],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[163.401,0],[92.175,24.721],[141.513,81.736],[67.458,67.459],[81.735,141.514],[24.721,92.175],[0,163.401],[-24.722,92.175],[-81.737,141.513],[-67.458,67.458],[-141.514,81.736],[-92.176,24.721],[-163.401,0],[-92.176,-24.721],[-141.514,-81.736],[-67.458,-67.459],[-81.736,-141.514],[-24.722,-92.175],[0,-163.401],[24.721,-92.175],[81.735,-141.513],[67.458,-67.458],[141.513,-81.736],[92.175,-24.721]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.922,190.004],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-41.696,52.383],[-13.769,37.396],[-3.484,64.935],[10.12,39.388],[35.668,54.651],[31.355,24.789],[61.401,23.794],[39.866,2.674],[63.539,-17.018],[33.346,-21.995],[40.645,-50.862],[13.438,-37.589],[2.92,-64.935],[-10.545,-38.693],[-36,-54.51],[-32.018,-25.312],[-61.866,-23.321],[-39.981,-1.423],[-63.539,17.82],[-33.677,22.797]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.745098039216,0.188235309077,0.074509803922,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.979,190.658],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-67.244,68.128],[-81.401,140.682],[-23.889,92.903],[0,162.802],[24.774,93.346],[81.401,141.567],[67.687,68.128],[140.682,81.843],[93.346,24.773],[161.917,0.885],[92.903,-24.774],[139.797,-80.516],[67.244,-67.687],[81.843,-140.24],[25.217,-92.461],[0,-162.802],[-24.332,-92.018],[-81.401,-139.797],[-67.686,-67.245],[-140.239,-80.958],[-92.018,-24.774],[-161.917,0],[-92.461,24.331],[-139.797,80.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.716,189.567],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":17,\"op\":21,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":187,\"ty\":4,\"nm\":\"spiky blast Outlines 2\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[872.55,512.31,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1316.55,192.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-10.833]},\"t\":51,\"s\":[100,100,100]},{\"t\":54,\"s\":[35,35,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[61.681,23.494],[31.162,25.106],[36.084,55.271],[10.443,38.621],[-3.287,65.936],[-14.24,37.384],[-41.412,51.415],[-33.491,21.886],[-63.712,17.258],[-39.969,-1.988],[-61.682,-23.494],[-31.164,-25.106],[-36.086,-55.271],[-10.444,-38.62],[3.286,-65.936],[14.239,-37.384],[41.411,-51.414],[33.49,-21.886],[63.711,-17.258],[39.969,1.988]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.813,190.894],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[163.401,0],[92.175,24.721],[141.513,81.736],[67.458,67.459],[81.735,141.514],[24.721,92.175],[0,163.401],[-24.722,92.175],[-81.737,141.513],[-67.458,67.458],[-141.514,81.736],[-92.176,24.721],[-163.401,0],[-92.176,-24.721],[-141.514,-81.736],[-67.458,-67.459],[-81.736,-141.514],[-24.722,-92.175],[0,-163.401],[24.721,-92.175],[81.735,-141.513],[67.458,-67.458],[141.513,-81.736],[92.175,-24.721]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.922,190.004],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-41.696,52.383],[-13.769,37.396],[-3.484,64.935],[10.12,39.388],[35.668,54.651],[31.355,24.789],[61.401,23.794],[39.866,2.674],[63.539,-17.018],[33.346,-21.995],[40.645,-50.862],[13.438,-37.589],[2.92,-64.935],[-10.545,-38.693],[-36,-54.51],[-32.018,-25.312],[-61.866,-23.321],[-39.981,-1.423],[-63.539,17.82],[-33.677,22.797]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.745098039216,0.188235309077,0.074509803922,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.979,190.658],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-67.244,68.128],[-81.401,140.682],[-23.889,92.903],[0,162.802],[24.774,93.346],[81.401,141.567],[67.687,68.128],[140.682,81.843],[93.346,24.773],[161.917,0.885],[92.903,-24.774],[139.797,-80.516],[67.244,-67.687],[81.843,-140.24],[25.217,-92.461],[0,-162.802],[-24.332,-92.018],[-81.401,-139.797],[-67.686,-67.245],[-140.239,-80.958],[-92.018,-24.774],[-161.917,0],[-92.461,24.331],[-139.797,80.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.716,189.567],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":51,\"op\":55,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":188,\"ty\":4,\"nm\":\"spiky blast Outlines 3\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[960.55,486.31,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1312.55,194.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0,0,0]},\"t\":55,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-10.833]},\"t\":79,\"s\":[100,100,100]},{\"t\":82,\"s\":[35,35,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[61.681,23.494],[31.162,25.106],[36.084,55.271],[10.443,38.621],[-3.287,65.936],[-14.24,37.384],[-41.412,51.415],[-33.491,21.886],[-63.712,17.258],[-39.969,-1.988],[-61.682,-23.494],[-31.164,-25.106],[-36.086,-55.271],[-10.444,-38.62],[3.286,-65.936],[14.239,-37.384],[41.411,-51.414],[33.49,-21.886],[63.711,-17.258],[39.969,1.988]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.813,190.894],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[163.401,0],[92.175,24.721],[141.513,81.736],[67.458,67.459],[81.735,141.514],[24.721,92.175],[0,163.401],[-24.722,92.175],[-81.737,141.513],[-67.458,67.458],[-141.514,81.736],[-92.176,24.721],[-163.401,0],[-92.176,-24.721],[-141.514,-81.736],[-67.458,-67.459],[-81.736,-141.514],[-24.722,-92.175],[0,-163.401],[24.721,-92.175],[81.735,-141.513],[67.458,-67.458],[141.513,-81.736],[92.175,-24.721]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.922,190.004],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-41.696,52.383],[-13.769,37.396],[-3.484,64.935],[10.12,39.388],[35.668,54.651],[31.355,24.789],[61.401,23.794],[39.866,2.674],[63.539,-17.018],[33.346,-21.995],[40.645,-50.862],[13.438,-37.589],[2.92,-64.935],[-10.545,-38.693],[-36,-54.51],[-32.018,-25.312],[-61.866,-23.321],[-39.981,-1.423],[-63.539,17.82],[-33.677,22.797]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.745098039216,0.188235309077,0.074509803922,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1319.979,190.658],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-67.244,68.128],[-81.401,140.682],[-23.889,92.903],[0,162.802],[24.774,93.346],[81.401,141.567],[67.687,68.128],[140.682,81.843],[93.346,24.773],[161.917,0.885],[92.903,-24.774],[139.797,-80.516],[67.244,-67.687],[81.843,-140.24],[25.217,-92.461],[0,-162.802],[-24.332,-92.018],[-81.401,-139.797],[-67.686,-67.245],[-140.239,-80.958],[-92.018,-24.774],[-161.917,0],[-92.461,24.331],[-139.797,80.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1316.716,189.567],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":79,\"op\":83,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":189,\"ty\":4,\"nm\":\"blast 2 1 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[890.55,523.31,0],\"to\":[4.275,4.703,0],\"ti\":[-10.385,-11.423,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[920.451,556.201,0],\"to\":[4.567,5.023,0],\"ti\":[-1.343,-1.477,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.32},\"t\":68,\"s\":[929.988,566.692,0],\"to\":[0.366,0.402,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[932.55,569.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1472.008,596.56,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.704,-2.474],[-2.473,-2.704],[-2.704,2.474],[2.474,2.704]],\"o\":[[-2.704,2.473],[2.474,2.705],[2.705,-2.473],[-2.473,-2.704]],\"v\":[[-4.479,-4.897],[-4.897,4.478],[4.478,4.896],[4.896,-4.479]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1472.49,595.429],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.106,-3.904],[3.913,-0.106],[0.106,3.904],[-3.914,0.106]],\"o\":[[0.106,3.904],[-3.914,0.106],[-0.106,-3.904],[3.913,-0.106]],\"v\":[[7.087,-0.193],[0.193,7.069],[-7.087,0.193],[-0.192,-7.068]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1472.49,595.43],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":190,\"ty\":4,\"nm\":\"blast 2 2 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[858.55,524.31,0],\"to\":[-5.558,5.023,0],\"ti\":[13.5,-12.202,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[819.679,559.443,0],\"to\":[-5.93,5.36,0],\"ti\":[1.751,-1.583,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.673},\"t\":68,\"s\":[807.287,570.644,0],\"to\":[-0.479,0.433,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[805.8,572.06,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1438.675,597.602,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.704,-2.474],[-2.473,-2.704],[-2.704,2.474],[2.474,2.704]],\"o\":[[-2.704,2.473],[2.474,2.705],[2.705,-2.473],[-2.473,-2.704]],\"v\":[[-4.479,-4.897],[-4.897,4.478],[4.478,4.896],[4.896,-4.479]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1438.868,595.429],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.106,-3.904],[3.913,-0.106],[0.106,3.904],[-3.914,0.106]],\"o\":[[0.106,3.904],[-3.914,0.106],[-0.106,-3.904],[3.913,-0.106]],\"v\":[[7.087,-0.193],[0.193,7.069],[-7.087,0.193],[-0.192,-7.068]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1438.868,595.43],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":191,\"ty\":4,\"nm\":\"blast 2 3 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[891.55,492.31,0],\"to\":[4.275,-5.344,0],\"ti\":[-10.385,12.981,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[921.451,454.934,0],\"to\":[4.567,-5.708,0],\"ti\":[-1.343,1.679,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.355},\"t\":68,\"s\":[930.988,443.012,0],\"to\":[0.366,-0.457,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[933.3,440.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1473.05,564.268,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.704,-2.474],[-2.473,-2.704],[-2.704,2.474],[2.474,2.704]],\"o\":[[-2.704,2.474],[2.474,2.705],[2.705,-2.473],[-2.473,-2.704]],\"v\":[[-4.479,-4.897],[-4.897,4.478],[4.478,4.896],[4.896,-4.479]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1473.038,562.335],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.106,-3.904],[3.913,-0.106],[0.106,3.904],[-3.914,0.106]],\"o\":[[0.106,3.904],[-3.914,0.107],[-0.106,-3.904],[3.913,-0.106]],\"v\":[[7.087,-0.193],[0.193,7.068],[-7.087,0.192],[-0.192,-7.069]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1473.038,562.335],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":192,\"ty\":4,\"nm\":\"blast 2 4 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[856.55,491.31,0],\"to\":[-5.344,-5.718,0],\"ti\":[12.981,13.89,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[819.174,451.318,0],\"to\":[-5.702,-6.101,0],\"ti\":[1.684,1.801,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.514},\"t\":68,\"s\":[807.258,438.568,0],\"to\":[-0.461,-0.493,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[805.3,436.56,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1436.592,563.227,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.704,-2.474],[2.473,2.704],[-2.705,2.473],[-2.474,-2.705]],\"o\":[[-2.704,2.473],[-2.474,-2.704],[2.704,-2.474],[2.473,2.704]],\"v\":[[4.479,4.897],[-4.896,4.479],[-4.478,-4.896],[4.897,-4.478]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1437.098,562.028],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.099,-3.661],[3.67,-0.1],[0.099,3.661],[-3.671,0.1]],\"o\":[[0.099,3.661],[-3.671,0.1],[-0.1,-3.661],[3.67,-0.1]],\"v\":[[6.647,-0.181],[0.181,6.63],[-6.646,0.18],[-0.179,-6.63]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1437.554,561.731],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":193,\"ty\":4,\"nm\":\"blast 2 5 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[827.55,418.31,0],\"to\":[-7.481,-13.894,0],\"ti\":[18.173,33.751,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[775.224,321.133,0],\"to\":[-7.992,-14.841,0],\"ti\":[2.351,4.365,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.451},\"t\":68,\"s\":[758.533,290.136,0],\"to\":[-0.64,-1.188,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[755.3,284.56,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1406.383,487.185,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-13.562,12.591]],\"o\":[[0,0],[16.963,-9.971]],\"v\":[[21.899,38.156],[-8.337,-28.185]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1414.193,507.89],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.233,1.874],[3.006,6.37],[10.549,-3.778],[-3.765,-7.918]],\"o\":[[0,0],[-3.005,-6.371],[-7.147,2.416],[5.357,11.266]],\"v\":[[18.284,33.761],[8.597,-6.751],[-11.37,-31.857],[-5.823,-2.135]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1417.226,511.562],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":194,\"ty\":4,\"nm\":\"blast 2 6 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[825.55,369.31,0],\"to\":[-1.176,-9.94,0],\"ti\":[2.856,24.145,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[817.327,299.791,0],\"to\":[-1.256,-10.617,0],\"ti\":[0.369,3.123,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.515},\"t\":68,\"s\":[814.705,277.616,0],\"to\":[-0.101,-0.85,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[814.3,274.06,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1404.3,436.143,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[5.409,-4.947],[4.947,5.409],[-5.408,4.947],[-4.947,-5.408]],\"o\":[[-5.409,4.947],[-4.947,-5.409],[5.409,-4.947],[4.947,5.409]],\"v\":[[8.958,9.793],[-9.794,8.957],[-8.958,-9.793],[9.793,-8.957]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1405.213,436.34],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.052,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.053,0.192],[-0.191,-7.053],[7.052,-0.191]],\"v\":[[12.769,-0.347],[0.347,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1404.854,436.454],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":195,\"ty\":4,\"nm\":\"blast 2 7 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[769.55,394.31,0],\"to\":[-7.481,-6.092,0],\"ti\":[18.173,14.798,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[717.224,351.701,0],\"to\":[-7.992,-6.507,0],\"ti\":[2.351,1.914,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.384},\"t\":68,\"s\":[700.533,338.111,0],\"to\":[-0.64,-0.521,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[697.05,335.06,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1345.967,462.185,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.76,4.676],[0,0],[0.683,2.282],[0,0],[-5.609,-2.131],[0,0],[-1.959,1.355],[0,0],[0.293,-5.993],[0,0],[-1.894,-1.445],[0,0],[5.79,-1.574],[0,0],[0.789,-2.249],[0,0],[3.286,5.021],[0,0],[2.382,0.055],[0,0]],\"o\":[[0,0],[1.492,-1.857],[0,0],[-1.72,-5.748],[0,0],[2.227,0.846],[0,0],[4.935,-3.413],[0,0],[-0.116,2.38],[0,0],[4.771,3.639],[0,0],[-2.299,0.624],[0,0],[-1.987,5.662],[0,0],[-1.305,-1.994],[0,0],[-5.999,-0.14]],\"v\":[[-33.732,6.479],[-26.068,-3.053],[-24.775,-9.665],[-28.283,-21.382],[-18.777,-30.226],[-7.343,-25.883],[-0.655,-26.696],[9.405,-33.653],[20.753,-27.345],[20.156,-15.129],[22.996,-9.019],[32.721,-1.602],[30.229,11.141],[18.426,14.348],[13.493,18.937],[9.444,30.478],[-3.445,32.045],[-10.142,21.811],[-16.031,18.538],[-28.258,18.253]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1345.567,460.847],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-5.326,1.887],[0,0],[-3.732,1.425],[-2.4,4.839],[2.968,1.904],[0.804,8.748],[6.022,1.712],[4.4,-0.179],[8.145,-4.083],[2.803,-7.027],[-0.88,-4.236],[-4.236,0.88],[-3.019,-3.272]],\"o\":[[0,0],[5.327,-1.886],[0,0],[3.733,-1.425],[2.399,-4.838],[-2.969,-1.904],[-0.803,-8.748],[-6.022,-1.712],[-4.4,0.179],[-8.144,4.083],[-2.803,7.028],[0.88,4.235],[4.235,-0.88],[3.019,3.272]],\"v\":[[-6.509,28.677],[3.445,34.432],[11.163,25.293],[16.55,14.064],[33.754,6.668],[29.16,-4.436],[19.45,-18.897],[15.251,-34.608],[-3.454,-26.434],[-26.25,-28.821],[-26.489,-4.574],[-35.274,12.82],[-25.277,17.527],[-10.726,21.262]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1346.077,461.219],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":196,\"ty\":4,\"nm\":\"blast 2 8 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[783.55,457.31,0],\"to\":[-12.932,-6.733,0],\"ti\":[31.414,16.356,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[693.1,410.216,0],\"to\":[-13.814,-7.192,0],\"ti\":[4.063,2.115,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.47},\"t\":68,\"s\":[664.25,395.195,0],\"to\":[-1.106,-0.576,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[659.05,392.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1360.55,527.81,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.188,18.229]],\"o\":[[0,0],[7.481,-18.2]],\"v\":[[33.693,26.378],[-30.505,-8.178]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1385.5,532.992],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[6.246,3.257],[6.117,-9.388],[-8.284,-2.869]],\"o\":[[0,0],[-6.246,-3.256],[-4.232,6.246],[10.787,4.659]],\"v\":[[34.215,21.972],[-0.293,-5.805],[-29.982,-12.584],[-7.594,7.734]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1384.978,537.398],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":197,\"ty\":4,\"nm\":\"blast 2 9 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[743.55,451.31,0],\"to\":[-11.222,-0.641,0],\"ti\":[27.26,1.558,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[665.061,446.825,0],\"to\":[-11.987,-0.685,0],\"ti\":[3.526,0.201,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.515},\"t\":68,\"s\":[640.025,445.394,0],\"to\":[-0.96,-0.055,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[636.05,444.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1318.883,521.56,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.409,4.947],[4.947,5.409],[5.409,-4.947],[-4.947,-5.409]],\"o\":[[5.409,-4.947],[-4.947,-5.408],[-5.408,4.947],[4.947,5.409]],\"v\":[[8.958,9.793],[9.794,-8.958],[-8.957,-9.794],[-9.793,8.957]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1320.305,521.328],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.052,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.053,0.192],[-0.191,-7.053],[7.052,-0.191]],\"v\":[[12.769,-0.347],[0.347,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1320.306,521.328],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":198,\"ty\":4,\"nm\":\"blast 2 10 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[704.55,506.31,0],\"to\":[-10.474,0,0],\"ti\":[25.443,0,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[631.293,506.31,0],\"to\":[-11.188,0,0],\"ti\":[3.291,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.441},\"t\":68,\"s\":[607.927,506.31,0],\"to\":[-0.896,0,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[603.55,506.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1278.258,578.852,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-2.931,-28.71]],\"o\":[[0,0],[2.378,26.368]],\"v\":[[87.926,1.659],[-84.995,1.171]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1352.926,577.611],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[35.313,-1.122],[0,0],[-13.648,-1.489],[-27.388,-0.256]],\"o\":[[0,0],[-56.986,-4.48],[0,0],[13.648,1.489],[27.388,0.256]],\"v\":[[88.769,2.97],[-31.783,-9.628],[-82.888,2.946],[-66.261,12.231],[-19.944,13.852]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.807843197093,0.298039215686,0.847058883368,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1351.123,576.443],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":199,\"ty\":4,\"nm\":\"blast 2 11 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[737.55,556.31,0],\"to\":[-10.581,1.069,0],\"ti\":[25.702,-2.596,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[663.546,563.785,0],\"to\":[-11.302,1.142,0],\"ti\":[3.324,-0.336,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.568},\"t\":68,\"s\":[639.941,566.17,0],\"to\":[-0.905,0.091,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[636.55,566.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1312.633,630.935,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.409,4.947],[4.947,5.409],[5.409,-4.947],[-4.947,-5.409]],\"o\":[[5.409,-4.947],[-4.947,-5.408],[-5.408,4.947],[4.947,5.409]],\"v\":[[8.958,9.794],[9.793,-8.957],[-8.958,-9.794],[-9.794,8.957]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1313.831,629.936],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.053,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.052,0.192],[-0.191,-7.053],[7.052,-0.191]],\"v\":[[12.769,-0.347],[0.346,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1313.831,629.937],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":200,\"ty\":4,\"nm\":\"blast 2 12 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[782.55,555.31,0],\"to\":[-10.581,4.809,0],\"ti\":[25.702,-11.683,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[708.546,588.948,0],\"to\":[-11.302,5.137,0],\"ti\":[3.324,-1.511,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.369},\"t\":68,\"s\":[684.941,599.678,0],\"to\":[-0.905,0.411,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[679.55,601.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1359.508,629.893,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.188,-18.229]],\"o\":[[0,0],[7.481,18.2]],\"v\":[[33.693,-26.378],[-30.505,8.178]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1380.634,627.286],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[6.246,-3.257],[6.117,9.388],[-8.284,2.869]],\"o\":[[0,0],[-6.246,3.256],[-4.232,-6.246],[13.033,-7.555]],\"v\":[[34.214,-21.972],[-2.356,7.445],[-29.983,12.584],[-7.594,-7.734]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1380.112,622.88],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":201,\"ty\":4,\"nm\":\"blast 2 13 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[763.55,614.31,0],\"to\":[-6.199,6.52,0],\"ti\":[15.058,-15.837,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[720.194,659.909,0],\"to\":[-6.622,6.964,0],\"ti\":[1.948,-2.048,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.502},\"t\":68,\"s\":[706.365,674.453,0],\"to\":[-0.53,0.557,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[704.05,676.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1339.717,691.352,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[4.591,3.864],[0,0],[2.297,-0.632],[0,0],[-2.256,5.56],[0,0],[1.311,1.99],[0,0],[-5.985,-0.428],[0,0],[-1.488,1.862],[0,0],[-1.443,-5.824],[0,0],[-2.23,-0.84],[0,0],[5.093,-3.172],[0,0],[0.109,-2.381],[0,0]],\"o\":[[0,0],[-1.823,-1.534],[0,0],[-5.785,1.592],[0,0],[0.896,-2.208],[0,0],[-3.301,-5.011],[0,0],[2.376,0.17],[0,0],[3.746,-4.688],[0,0],[0.573,2.313],[0,0],[5.616,2.113],[0,0],[-2.023,1.26],[0,0],[-0.275,5.994]],\"v\":[[5.561,33.721],[-3.796,25.845],[-10.378,24.404],[-22.171,27.647],[-30.799,17.945],[-26.2,6.612],[-26.863,-0.093],[-33.592,-10.306],[-27.031,-21.51],[-14.831,-20.639],[-8.659,-23.341],[-1.026,-32.897],[11.658,-30.119],[14.599,-18.247],[19.076,-13.212],[30.523,-8.905],[31.801,4.016],[21.419,10.481],[18.014,16.296],[17.455,28.513]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1343.514,691.035],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.717,5.383],[0,0],[1.307,3.776],[5.588,4.256],[1.997,-2.907],[8.769,-0.528],[1.9,-5.965],[-0.04,-4.403],[-3.824,-8.269],[-6.936,-3.023],[-4.726,2.564],[0.746,4.262],[-3.365,2.914]],\"o\":[[0,0],[-1.718,-5.383],[0,0],[-1.307,-3.775],[-5.589,-4.256],[-1.997,2.907],[-8.769,0.528],[-1.901,5.964],[0.04,4.404],[3.825,8.269],[6.936,3.022],[4.726,-2.563],[-0.746,-4.261],[3.365,-2.915]],\"v\":[[28.514,6.348],[34.58,-3.902],[25.687,-9.898],[14.633,-15.637],[7.784,-34.43],[-4.449,-27.833],[-16.63,-20.5],[-34.396,-16.819],[-26.474,3.082],[-29.577,25.792],[-5.349,24.753],[11.759,36.122],[17.771,25.286],[20.97,11.853]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1343.733,690.662],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":202,\"ty\":4,\"nm\":\"blast 2 14 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[824.55,595.31,0],\"to\":[-5.664,11.008,0],\"ti\":[13.76,-26.741,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[784.931,672.304,0],\"to\":[-6.051,11.759,0],\"ti\":[1.78,-3.459,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.551},\"t\":68,\"s\":[772.295,696.863,0],\"to\":[-0.484,0.941,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[771.05,700.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1403.258,671.56,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-13.562,-12.591]],\"o\":[[0,0],[16.963,9.971]],\"v\":[[21.899,-38.157],[-8.337,28.185]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1409.327,652.388],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[3.005,-6.37],[10.548,3.778],[-4.863,7.295]],\"o\":[[0,0],[-3.006,6.37],[-7.147,-2.416],[6.049,-10.666]],\"v\":[[18.691,-35.06],[7.876,9.18],[-11.544,31.282],[-5.998,1.56]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1412.534,649.291],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":203,\"ty\":4,\"nm\":\"blast 2 15 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[824.55,659.31,0],\"to\":[-1.496,8.55,0],\"ti\":[3.635,-20.77,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[814.085,719.112,0],\"to\":[-1.598,9.133,0],\"ti\":[0.47,-2.686,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.434},\"t\":68,\"s\":[810.747,738.186,0],\"to\":[-0.128,0.731,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[810.05,741.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1403.258,738.227,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.409,4.947],[4.947,5.409],[5.409,-4.947],[-4.947,-5.409]],\"o\":[[5.409,-4.947],[-4.947,-5.408],[-5.408,4.947],[4.947,5.409]],\"v\":[[8.958,9.794],[9.794,-8.957],[-8.957,-9.794],[-9.793,8.957]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1404.582,736.996],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.053,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.052,0.192],[-0.192,-7.053],[7.052,-0.191]],\"v\":[[12.77,-0.347],[0.346,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1404.582,736.996],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":204,\"ty\":4,\"nm\":\"blast 2 16 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[872.55,677.31,0],\"to\":[-0.107,9.726,0],\"ti\":[0.26,-23.625,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[871.802,745.334,0],\"to\":[-0.114,10.389,0],\"ti\":[0.034,-3.056,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.419},\"t\":68,\"s\":[871.564,767.032,0],\"to\":[-0.009,0.832,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[871.55,771.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1453.258,756.977,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-28.71,2.931]],\"o\":[[0,0],[26.368,-2.378]],\"v\":[[1.659,-87.926],[1.171,84.995]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1454.02,684.24],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.122,-35.313],[0,0],[-2.886,16.639],[-0.256,27.388]],\"o\":[[0,0],[-3.333,55.614],[0,0],[1.489,-13.648],[0.256,-27.387]],\"v\":[[1.771,-88.563],[-10.201,32.949],[1.765,84.054],[11.658,67.427],[13.279,21.11]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.807843197093,0.298039215686,0.847058883368,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1453.426,684.877],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":205,\"ty\":4,\"nm\":\"blast 2 17 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[922.55,657.31,0],\"to\":[1.176,8.764,0],\"ti\":[-2.856,-21.289,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[930.773,718.607,0],\"to\":[1.256,9.362,0],\"ti\":[-0.369,-2.753,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.439},\"t\":68,\"s\":[933.395,738.158,0],\"to\":[0.101,0.749,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[934.05,741.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1505.342,736.143,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.409,4.947],[4.947,5.409],[5.409,-4.947],[-4.947,-5.409]],\"o\":[[5.409,-4.947],[-4.947,-5.408],[-5.408,4.947],[4.947,5.409]],\"v\":[[8.958,9.794],[9.794,-8.957],[-8.957,-9.793],[-9.793,8.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1505.89,736.111],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.052,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.053,0.192],[-0.191,-7.053],[7.052,-0.191]],\"v\":[[12.769,-0.347],[0.347,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1505.891,736.111],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":206,\"ty\":4,\"nm\":\"blast 2 18 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[918.55,598.31,0],\"to\":[4.596,10.688,0],\"ti\":[-11.164,-25.962,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[950.693,673.062,0],\"to\":[4.909,11.417,0],\"ti\":[-1.444,-3.358,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.535},\"t\":68,\"s\":[960.946,696.905,0],\"to\":[0.393,0.914,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[963.05,700.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1501.175,674.685,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[13.562,-12.591]],\"o\":[[0,0],[-16.963,9.971]],\"v\":[[-21.899,-38.156],[8.336,28.186]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1498.37,655.927],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.005,-6.37],[-10.549,3.778],[4.863,7.294]],\"o\":[[0,0],[3.006,6.37],[7.147,-2.415],[-4.971,-12.05]],\"v\":[[-18.392,-34.688],[-9.232,5.486],[11.245,30.91],[5.699,1.189]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1495.461,653.202],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":207,\"ty\":4,\"nm\":\"blast 2 19 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[981.55,623.31,0],\"to\":[5.237,6.52,0],\"ti\":[-12.721,-15.837,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1018.178,668.909,0],\"to\":[5.594,6.964,0],\"ti\":[-1.645,-2.048,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.479},\"t\":68,\"s\":[1029.862,683.453,0],\"to\":[0.448,0.557,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1032.05,685.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1566.8,700.727,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.656,-4.758],[0,0],[-2.38,0.125],[0,0],[3.395,-4.947],[0,0],[-0.854,-2.224],[0,0],[5.754,1.7],[0,0],[1.852,-1.5],[0,0],[0.161,5.998],[0,0],[1.998,1.298],[0,0],[-5.655,2.007],[0,0],[-0.617,2.301],[0,0]],\"o\":[[0,0],[1.452,1.889],[0,0],[5.993,-0.314],[0,0],[-1.348,1.965],[0,0],[2.151,5.602],[0,0],[-2.285,-0.675],[0,0],[-4.663,3.777],[0,0],[-0.064,-2.382],[0,0],[-5.032,-3.268],[0,0],[2.245,-0.797],[0,0],[1.553,-5.796]],\"v\":[[1.511,-32.75],[8.963,-23.052],[15.083,-20.233],[27.296,-20.874],[33.645,-9.548],[26.724,0.536],[25.934,7.227],[30.318,18.645],[21.508,28.183],[9.779,24.717],[3.171,26.034],[-6.333,33.731],[-18.126,28.3],[-18.455,16.074],[-21.749,10.196],[-32.007,3.536],[-30.485,-9.359],[-18.959,-13.449],[-14.387,-18.398],[-11.223,-30.212]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1565.249,697.915],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-5.501,-1.29],[0,0],[-3.911,-0.817],[-4.633,2.775],[1.469,3.207],[-4.049,7.796],[4.142,4.694],[3.799,2.227],[9.059,0.963],[6.155,-4.4],[1.548,-4.04],[-4.039,-1.548],[-0.774,-4.384]],\"o\":[[0,0],[5.501,1.29],[0,0],[3.911,0.817],[4.634,-2.776],[-1.47,-3.206],[6.465,-9.184],[-4.143,-4.694],[-3.8,-2.226],[-9.06,-0.964],[-6.155,4.4],[-1.547,4.04],[4.04,1.547],[0.773,4.384]],\"v\":[[-19.47,23.75],[-14.202,34.974],[-2.769,30.448],[7.83,23.908],[26.301,26.979],[28.435,15.151],[26.56,-0.748],[32.517,-18.825],[10.649,-21.64],[-5.022,-35.3],[-18.322,-15.025],[-35.111,-6.267],[-29.423,5.233],[-19.013,15.232]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1565.869,698.298],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":208,\"ty\":4,\"nm\":\"blast 2 20 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[1005.55,566.31,0],\"to\":[9.405,0,0],\"ti\":[-22.847,0,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1071.332,566.31,0],\"to\":[10.047,0,0],\"ti\":[-2.955,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.536},\"t\":68,\"s\":[1092.314,566.31,0],\"to\":[0.804,0,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1095.55,566.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1591.8,641.352,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[5.409,-4.947],[-4.947,-5.409],[-5.409,4.947],[4.947,5.409]],\"o\":[[-5.409,4.947],[4.947,5.408],[5.408,-4.947],[-4.947,-5.409]],\"v\":[[-8.958,-9.794],[-9.794,8.958],[8.957,9.793],[9.793,-8.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1592.422,641.021],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.053,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.052,0.192],[-0.192,-7.053],[7.052,-0.191]],\"v\":[[12.77,-0.347],[0.347,12.769],[-12.769,0.347],[-0.346,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1592.095,640.425],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":209,\"ty\":4,\"nm\":\"blast 2 21 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[963.55,561.31,0],\"to\":[10.046,5.451,0],\"ti\":[-24.404,-13.241,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1033.817,599.433,0],\"to\":[10.732,5.822,0],\"ti\":[-3.156,-1.713,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.477},\"t\":68,\"s\":[1056.229,611.594,0],\"to\":[0.859,0.466,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1060.05,613.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1548.05,636.143,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[3.188,-18.229]],\"o\":[[0,0],[-7.481,18.2]],\"v\":[[-33.692,-26.378],[30.505,8.178]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1527.063,630.825],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6.246,-3.257],[-6.117,9.388],[8.284,2.869]],\"o\":[[0,0],[6.246,3.256],[4.232,-6.246],[-10.242,-4.454]],\"v\":[[-34.214,-21.972],[0,5.66],[29.982,12.584],[7.594,-7.734]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1527.585,626.419],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":210,\"ty\":4,\"nm\":\"blast 2 22 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[1044.55,509.31,0],\"to\":[9.298,0,0],\"ti\":[-22.587,0,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1109.584,509.31,0],\"to\":[9.932,0,0],\"ti\":[-2.921,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.328},\"t\":68,\"s\":[1130.328,509.31,0],\"to\":[0.795,0,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1135.55,509.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1632.425,581.977,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[2.931,28.71]],\"o\":[[0,0],[-2.378,-26.368]],\"v\":[[-87.926,-1.659],[84.995,-1.171]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1556.225,581.377],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-35.313,1.123],[1.452,3.162],[13.648,1.49],[27.388,0.256]],\"o\":[[0,0],[53.234,2.808],[-1.452,-3.163],[-13.648,-1.489],[-27.387,-0.256]],\"v\":[[-87.373,-1.508],[34.139,10.464],[85.244,-2.11],[68.617,-11.395],[22.3,-13.016]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.807843197093,0.298039215686,0.847058883368,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1555.672,581.708],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":211,\"ty\":4,\"nm\":\"blast 2 23 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[1005.55,468.31,0],\"to\":[9.405,-2.779,0],\"ti\":[-22.847,6.75,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1071.332,448.875,0],\"to\":[10.047,-2.968,0],\"ti\":[-2.955,0.873,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.454},\"t\":68,\"s\":[1092.314,442.675,0],\"to\":[0.804,-0.238,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1096.05,441.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1591.8,539.268,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[5.409,-4.947],[4.947,5.409],[-5.408,4.947],[-4.947,-5.408]],\"o\":[[-5.409,4.947],[-4.947,-5.409],[5.409,-4.947],[4.947,5.409]],\"v\":[[8.958,9.793],[-9.793,8.957],[-8.957,-9.794],[9.794,-8.958]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1592.3,538.803],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.052,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.053,0.192],[-0.191,-7.053],[7.052,-0.191]],\"v\":[[12.769,-0.347],[0.347,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1591.94,538.916],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":212,\"ty\":4,\"nm\":\"blast 2 24 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[968.55,460.31,0],\"to\":[9.085,-4.809,0],\"ti\":[-22.068,11.683,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1032.089,426.672,0],\"to\":[9.704,-5.137,0],\"ti\":[-2.854,1.511,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.296},\"t\":68,\"s\":[1052.356,415.942,0],\"to\":[0.777,-0.411,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1058.55,414.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1553.258,530.935,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[3.188,18.229]],\"o\":[[0,0],[-7.481,-18.2]],\"v\":[[-33.693,26.378],[30.504,-8.178]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1531.929,536.531],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-6.246,3.257],[-6.117,-9.388],[8.283,-2.869]],\"o\":[[0,0],[6.246,-3.256],[4.232,6.245],[-11.68,4.991]],\"v\":[[-33.81,21.601],[-0.724,-5.508],[29.578,-12.212],[7.19,8.106]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1532.855,540.566],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":213,\"ty\":4,\"nm\":\"blast 2 25 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[989.55,408.31,0],\"to\":[4.916,-6.306,0],\"ti\":[-11.943,15.318,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[1023.936,364.206,0],\"to\":[5.246,-6.728,0],\"ti\":[-1.549,1.987,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.321},\"t\":68,\"s\":[1034.898,350.146,0],\"to\":[0.424,-0.544,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[1038.05,346.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1575.133,476.768,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.197,3],[0,0],[-0.189,2.375],[0,0],[-4.459,-4.015],[0,0],[-2.318,0.555],[0,0],[2.441,-5.481],[0,0],[-1.243,-2.032],[0,0],[5.968,0.628],[0,0],[1.549,-1.811],[0,0],[1.247,5.869],[0,0],[2.201,0.913],[0,0]],\"o\":[[0,0],[2.064,-1.192],[0,0],[0.475,-5.982],[0,0],[1.77,1.594],[0,0],[5.836,-1.397],[0,0],[-0.969,2.176],[0,0],[3.132,5.118],[0,0],[-2.37,-0.249],[0,0],[-3.9,4.56],[0,0],[-0.496,-2.331],[0,0],[-5.542,-2.3]],\"v\":[[-31.406,-4.863],[-20.814,-10.977],[-17.216,-16.674],[-16.248,-28.866],[-4.186,-33.673],[4.902,-25.488],[11.432,-23.827],[23.326,-26.674],[31.625,-16.688],[26.649,-5.515],[27.087,1.208],[33.47,11.641],[26.537,22.619],[14.374,21.339],[8.115,23.834],[0.165,33.128],[-12.418,29.927],[-14.959,17.964],[-19.266,12.782],[-30.562,8.093]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1573.373,476.227],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-5.643,-0.289],[0,0],[-3.994,-0.107],[-4.064,3.557],[4.804,9.306],[-2.595,8.393],[4.913,3.88],[6.798,-0.375],[9.087,-0.667],[6.827,-4.113],[0.803,-4.251],[-4.251,-0.803],[-1.542,-4.176]],\"o\":[[0,0],[5.643,0.289],[0,0],[3.994,0.107],[4.064,-3.557],[-4.804,-7.62],[2.595,-8.393],[-4.913,-3.881],[-6.798,0.375],[-9.086,0.666],[-6.827,4.112],[-0.802,4.251],[4.251,0.803],[1.542,4.176]],\"v\":[[-13.503,26.488],[-7.528,35.606],[3.093,30.102],[12.357,21.777],[31.08,21.506],[31.071,7.802],[27.613,-7.584],[29.693,-24.673],[9.317,-23.289],[-10.844,-35.228],[-20.316,-11.87],[-35.073,0.855],[-26.373,10.226],[-15.603,18.025]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.023529413635,0.827451040231,0.486274539723,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1573.565,475.913],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":214,\"ty\":4,\"nm\":\"blast 2 26 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[922.55,421.31,0],\"to\":[4.168,-11.756,0],\"ti\":[-10.125,28.558,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[951.703,339.083,0],\"to\":[4.452,-12.558,0],\"ti\":[-1.31,3.694,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.377},\"t\":68,\"s\":[961.002,312.855,0],\"to\":[0.356,-1.005,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[963.55,307.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1505.342,490.31,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.178]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[13.562,12.591]],\"o\":[[0,0],[-16.963,-9.971]],\"v\":[[-21.898,38.156],[8.337,-28.185]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1503.236,511.429],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.006,6.37],[-10.548,-3.778],[4.863,-7.295]],\"o\":[[0,0],[3.006,-6.371],[7.147,2.416],[-5.995,10.581]],\"v\":[[-18.691,35.06],[-8.602,-7.398],[11.544,-31.282],[5.998,-1.56]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.549019607843,0.992156922583,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1500.029,514.526],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":215,\"ty\":4,\"nm\":\"blast 2 27 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[920.55,368.31,0],\"to\":[0.534,-9.833,0],\"ti\":[-1.298,23.885,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[924.288,299.538,0],\"to\":[0.571,-10.503,0],\"ti\":[-0.168,3.089,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.341},\"t\":68,\"s\":[925.48,277.602,0],\"to\":[0.046,-0.841,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[926.05,272.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1503.258,435.102,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,15.726]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,-6.062]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,2.97]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,-10.349]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,3.844]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,-1.436]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[5.409,-4.947],[4.947,5.409],[-5.408,4.947],[-4.947,-5.408]],\"o\":[[-5.409,4.947],[-4.947,-5.409],[5.409,-4.947],[4.947,5.409]],\"v\":[[8.958,9.793],[-9.794,8.957],[-8.958,-9.793],[9.793,-8.957]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1504.121,435.725],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.192,-7.052],[7.053,-0.191],[0.192,7.052],[-7.053,0.192]],\"o\":[[0.192,7.052],[-7.052,0.192],[-0.192,-7.053],[7.052,-0.191]],\"v\":[[12.77,-0.347],[0.346,12.769],[-12.77,0.347],[-0.347,-12.77]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.992156922583,0.835294177485,0.01568627451,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1503.761,435.838],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":216,\"ty\":4,\"nm\":\"blast 2 28 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.585,\"y\":0.73},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":55,\"s\":[875.55,345.31,0],\"to\":[-0.16,-10.314,0],\"ti\":[0.389,25.053,0]},{\"i\":{\"x\":0.684,\"y\":0.887},\"o\":{\"x\":0.341,\"y\":0.595},\"t\":62,\"s\":[874.429,273.174,0],\"to\":[-0.171,-11.017,0],\"ti\":[0.05,3.24,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.346,\"y\":0.242},\"t\":68,\"s\":[874.071,250.166,0],\"to\":[-0.014,-0.882,0],\"ti\":[0,0,0]},{\"t\":72,\"s\":[874.05,242.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1456.383,411.143,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.585,0.585,0.585],\"y\":[0.73,0.73,-0.05]},\"o\":{\"x\":[0.178,0.178,0.178],\"y\":[0.111,0.111,0.432]},\"t\":55,\"s\":[96,96,100]},{\"i\":{\"x\":[0.684,0.684,0.684],\"y\":[0.887,0.887,0.86]},\"o\":{\"x\":[0.341,0.341,0.341],\"y\":[0.595,0.595,0.738]},\"t\":62,\"s\":[42.926,42.926,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,5.016]},\"o\":{\"x\":[0.346,0.346,0.346],\"y\":[0.078,0.078,0.102]},\"t\":68,\"s\":[25.997,25.997,100]},{\"t\":72,\"s\":[8,8,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[28.71,-2.931]],\"o\":[[0,0],[-26.368,2.378]],\"v\":[[-1.659,87.926],[-1.171,-84.995]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1456.901,483.595],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.122,35.313],[0,0],[1.489,-13.648],[0.256,-27.387]],\"o\":[[0,0],[2.808,-53.235],[0,0],[-1.489,13.648],[-0.256,27.388]],\"v\":[[-1.508,85.881],[10.464,-32.646],[-2.11,-83.751],[-11.395,-67.124],[-13.016,-20.808]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.807843197093,0.298039215686,0.847058883368,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1457.233,482.655],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":55,\"op\":73,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":217,\"ty\":4,\"nm\":\"blast 1 1 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1030.55,421.31,0],\"to\":[-4.409,-0.396,0],\"ti\":[10.181,0.914,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1002.579,418.8,0],\"to\":[-4.15,-0.372,0],\"ti\":[2.263,0.203,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[992.547,417.899,0],\"to\":[-0.37,-0.033,0],\"ti\":[0.166,0.015,0]},{\"t\":37,\"s\":[991.55,417.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1667.043,209.141,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-3.665],[3.665,0],[0,3.665],[-3.665,0]],\"o\":[[0,3.665],[-3.665,0],[0,-3.665],[3.665,0]],\"v\":[[6.636,0],[0,6.636],[-6.636,0],[0,-6.636]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1666.157,207.808],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-2.938,-2.573],[2.58,-2.945],[2.937,2.573],[-2.58,2.945]],\"o\":[[2.938,2.573],[-2.58,2.945],[-2.938,-2.574],[2.58,-2.945]],\"v\":[[4.671,-5.333],[5.319,4.659],[-4.671,5.333],[-5.319,-4.659]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1665.945,207.535],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":218,\"ty\":4,\"nm\":\"blast 1 2 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1061.55,459.31,0],\"to\":[-0.226,3.9,0],\"ti\":[0.522,-9.006,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1060.116,484.052,0],\"to\":[-0.213,3.672,0],\"ti\":[0.116,-2.002,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1059.601,492.927,0],\"to\":[-0.019,0.327,0],\"ti\":[0.009,-0.147,0]},{\"t\":37,\"s\":[1059.55,493.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1707.303,258.492,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,4.764],[-4.765,0],[0,-4.764],[4.764,0]],\"o\":[[0,-4.764],[4.764,0],[0,4.764],[-4.765,0]],\"v\":[[-8.626,0],[0,-8.627],[8.626,0],[0,8.627]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1707.3,258.241],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.446,-3.019],[3.018,-3.446],[3.446,3.018],[-3.019,3.446]],\"o\":[[3.446,3.019],[-3.019,3.446],[-3.446,-3.019],[3.018,-3.446]],\"v\":[[5.466,-6.239],[6.24,5.466],[-5.466,6.24],[-6.239,-5.465]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1707.3,258.24],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":219,\"ty\":4,\"nm\":\"blast 1 3 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1094.55,421.31,0],\"to\":[3.504,-0.339,0],\"ti\":[-8.093,0.783,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1116.782,419.158,0],\"to\":[3.299,-0.319,0],\"ti\":[-1.799,0.174,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1124.757,418.387,0],\"to\":[0.294,-0.028,0],\"ti\":[-0.132,0.013,0]},{\"t\":37,\"s\":[1125.55,418.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1750.16,209.141,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-3.665],[-3.665,0],[0,3.665],[3.665,0]],\"o\":[[0,3.665],[3.665,0],[0,-3.665],[-3.665,0]],\"v\":[[-6.636,0],[0,6.636],[6.636,0],[0,-6.636]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1749.77,207.808],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-2.654,-2.325],[2.331,-2.661],[2.654,2.325],[-2.331,2.661]],\"o\":[[2.654,2.325],[-2.331,2.661],[-2.655,-2.325],[2.331,-2.661]],\"v\":[[4.221,-4.818],[4.806,4.21],[-4.22,4.818],[-4.806,-4.21]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1749.807,207.527],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":220,\"ty\":4,\"nm\":\"blast 1 4 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1061.55,383.31,0],\"to\":[-0.17,-8.026,0],\"ti\":[0.392,18.535,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1060.474,332.389,0],\"to\":[-0.16,-7.556,0],\"ti\":[0.087,4.119,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1060.088,314.125,0],\"to\":[-0.014,-0.673,0],\"ti\":[0.006,0.303,0]},{\"t\":37,\"s\":[1060.05,312.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1707.303,159.791,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-4.764],[4.765,0],[0,4.764],[-4.764,0]],\"o\":[[0,4.764],[-4.764,0],[0,-4.764],[4.765,0]],\"v\":[[8.626,0],[-0.001,8.627],[-8.627,0],[-0.001,-8.627]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1707.964,158.038],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.619,-3.17],[3.171,-3.62],[3.619,3.17],[-3.17,3.62]],\"o\":[[3.619,3.17],[-3.17,3.619],[-3.619,-3.17],[3.171,-3.619]],\"v\":[[5.741,-6.553],[6.552,5.741],[-5.74,6.553],[-6.553,-5.741]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1707.878,158.213],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":221,\"ty\":4,\"nm\":\"blast 1 5 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[979.55,389.31,0],\"to\":[-4.708,-2.95,0],\"ti\":[10.853,6.799,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[949.784,370.666,0],\"to\":[-4.39,-2.75,0],\"ti\":[2.442,1.532,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.549},\"t\":31,\"s\":[939.11,363.975,0],\"to\":[-0.39,-0.245,0],\"ti\":[0.427,0.278,0]},{\"t\":37,\"s\":[936.55,362.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1600.81,167.583,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-32.411,-34.067],[0.407,13.43]],\"o\":[[0,0],[-0.408,-13.431]],\"v\":[[34.565,19.673],[-34.157,-6.242]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1629.819,173.77],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-7.741,0.276],[21.168,6.165],[1.844,-4.119],[-10.204,-3.771]],\"o\":[[0,0],[-17.258,-4.973],[-1.844,4.119],[3.651,1.875]],\"v\":[[35.052,17.316],[-9.789,-12.619],[-33.209,-11.335],[-19.234,2.862]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1629.331,176.126],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":222,\"ty\":4,\"nm\":\"blast 1 6 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[955.55,378.31,0],\"to\":[-7.97,-4.805,0],\"ti\":[18.405,11.095,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[904.988,347.829,0],\"to\":[-7.503,-4.523,0],\"ti\":[4.09,2.466,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[886.853,336.897,0],\"to\":[-0.669,-0.403,0],\"ti\":[0.3,0.181,0]},{\"t\":37,\"s\":[885.05,335.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1569.641,153.297,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-7.33],[7.33,0],[0,7.33],[-7.33,0]],\"o\":[[0,7.33],[-7.33,0],[0,-7.33],[7.33,0]],\"v\":[[13.272,0],[0,13.272],[-13.272,0],[0,-13.272]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1569.272,150.739],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.43,-4.756],[4.756,-5.429],[5.429,4.757],[-4.757,5.429]],\"o\":[[5.43,4.756],[-4.756,5.43],[-5.43,-4.756],[4.756,-5.43]],\"v\":[[8.613,-9.832],[9.832,8.612],[-8.612,9.831],[-9.831,-8.612]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1569.219,150.537],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":223,\"ty\":4,\"nm\":\"blast 1 7 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[932.55,417.31,0],\"to\":[-7.082,-0.057,0],\"ti\":[16.334,0.131,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[887.725,416.951,0],\"to\":[-6.626,-0.053,0],\"ti\":[3.661,0.029,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.691},\"t\":31,\"s\":[871.648,416.823,0],\"to\":[-0.59,-0.005,0],\"ti\":[0.516,0.002,0]},{\"t\":37,\"s\":[868.55,416.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1544.771,203.946,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.609,5.969],[0,0],[1.816,1.543],[0,0],[-5.865,1.266],[0,0],[-0.906,2.204],[0,0],[-3.016,-5.187],[0,0],[-2.376,-0.181],[0,0],[4.001,-4.471],[0,0],[-0.562,-2.315],[0,0],[5.489,2.423],[0,0],[2.029,-1.25],[0,0]],\"o\":[[0,0],[0.242,-2.371],[0,0],[-4.572,-3.885],[0,0],[2.329,-0.503],[0,0],[2.282,-5.549],[0,0],[1.198,2.06],[0,0],[5.983,0.456],[0,0],[-1.589,1.776],[0,0],[1.415,5.831],[0,0],[-2.179,-0.963],[0,0],[-5.109,3.148]],\"v\":[[-22.515,26.585],[-21.274,14.418],[-23.788,8.168],[-33.108,0.246],[-29.947,-12.346],[-17.991,-14.926],[-12.823,-19.249],[-8.17,-30.559],[4.783,-31.444],[10.931,-20.871],[16.639,-17.293],[28.834,-16.363],[33.679,-4.316],[25.523,4.798],[23.883,11.332],[26.767,23.219],[16.808,31.548],[5.619,26.608],[-1.103,27.068],[-11.515,33.483]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1541.178,203.17],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.467,4.461],[0,0],[-2.374,3.213],[0.59,5.369],[3.527,0.002],[4.455,6.905],[5.994,-1.807],[3.609,-2.525],[4.655,-7.831],[-1.432,-7.43],[-4.964,-4.964],[-3.091,3.025],[-4.307,-1.126]],\"o\":[[0,0],[3.468,-4.462],[0,0],[2.374,-3.214],[-0.59,-5.369],[-3.527,-0.002],[-5.634,-8.615],[-5.994,1.807],[-3.608,2.525],[-4.655,7.832],[1.431,7.429],[3.026,3.092],[3.092,-3.026],[4.306,1.126]],\"v\":[[14.839,30.787],[27.277,30.126],[27.893,18.403],[26.371,6.042],[36.867,-9.465],[27.008,-16.337],[12.241,-21.392],[-0.98,-34.238],[-13.943,-15.642],[-32.801,-6.977],[-19.922,13.569],[-17.936,32.953],[-5.299,31.524],[7.288,26.819]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.792156922583,0.964705942191,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1539.305,202.473],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":224,\"ty\":4,\"nm\":\"blast 1 8 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[954.55,466.31,0],\"to\":[-7.97,3.618,0],\"ti\":[18.405,-8.354,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[903.988,489.26,0],\"to\":[-7.503,3.406,0],\"ti\":[4.09,-1.857,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[885.853,497.492,0],\"to\":[-0.669,0.303,0],\"ti\":[0.3,-0.136,0]},{\"t\":37,\"s\":[884.05,498.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1568.342,267.583,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,7.33],[7.33,0],[0,-7.33],[-7.33,0]],\"o\":[[0,-7.33],[-7.33,0],[0,7.33],[7.33,0]],\"v\":[[13.272,0],[0,-13.272],[-13.272,0],[0,13.272]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1568.609,265.54],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.495,-4.814],[4.814,-5.495],[5.495,4.814],[-4.814,5.495]],\"o\":[[5.495,4.814],[-4.814,5.495],[-5.496,-4.814],[4.814,-5.496]],\"v\":[[8.717,-9.951],[9.95,8.717],[-8.717,9.95],[-9.951,-8.717]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1568.893,265.497],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":225,\"ty\":4,\"nm\":\"blast 1 9 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[979.55,452.31,0],\"to\":[-3.844,1.752,0],\"ti\":[8.876,-4.046,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[955.166,463.426,0],\"to\":[-3.619,1.65,0],\"ti\":[1.973,-0.899,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[946.42,467.413,0],\"to\":[-0.323,0.147,0],\"ti\":[0.145,-0.066,0]},{\"t\":37,\"s\":[945.55,467.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1600.81,249.401,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-32.411,34.067],[0.407,-13.43]],\"o\":[[0,0],[-0.408,13.431]],\"v\":[[34.565,-19.673],[-34.157,6.242]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1629.155,242.51],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-12.805,16.368],[6.65,-2.556],[-4.215,-7.32],[-1.842,0.592]],\"o\":[[0,0],[-6.649,2.556],[1.089,5.806],[1.841,-0.591]],\"v\":[[36.128,-17.359],[-15.498,-3.906],[-31.913,11.553],[-11.205,13.599]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1627.592,240.196],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":226,\"ty\":4,\"nm\":\"blast 1 10 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[955.55,517.31,0],\"to\":[-8.608,8.268,0],\"ti\":[19.859,-19.075,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[901.041,569.663,0],\"to\":[-8.062,7.744,0],\"ti\":[4.444,-4.271,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.749},\"t\":31,\"s\":[881.492,588.443,0],\"to\":[-0.717,0.689,0],\"ti\":[0.574,-0.561,0]},{\"t\":37,\"s\":[878.05,591.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1569.641,333.816,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-75.65,79.631],[11.944,18.58]],\"o\":[[-19.908,58.396],[-11.945,-18.581]],\"v\":[[68.35,-69.014],[-56.405,50.434]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1622.36,288.102],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[26.605,-19.628],[-6.433,-13.532],[-21.166,18.219],[-13.686,28.394]],\"o\":[[0,0],[-31.079,24.212],[5.113,10.948],[17.292,-14.884],[4.484,-9.875]],\"v\":[[65.511,-63.855],[-4.708,-1.473],[-59.079,52.908],[-8.473,31.157],[58.868,-48.913]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.003921568627,0.517647058824,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1624.588,284.469],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":227,\"ty\":4,\"nm\":\"blast 1 11 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1019.55,511.31,0],\"to\":[-2.729,4.662,0],\"ti\":[6.284,-10.735,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1002.339,540.717,0],\"to\":[-2.529,4.32,0],\"ti\":[1.428,-2.437,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.394},\"t\":31,\"s\":[996.164,551.262,0],\"to\":[-0.225,0.384,0],\"ti\":[0.352,-0.591,0]},{\"t\":37,\"s\":[994.05,554.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1652.758,326.024,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-7.299,46.451],[-7.3,-11.281]],\"o\":[[0,0],[7.299,11.281]],\"v\":[[24.553,-35.834],[-17.253,24.553]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1664.166,307.347],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.286,7.213],[3.187,-5.149],[-5.709,-4.56],[-6.654,9.609]],\"o\":[[0,0],[-3.187,5.148],[5.71,4.561],[6.653,-9.61]],\"v\":[[22.834,-33.184],[-10.534,5.405],[-17.411,28.623],[5.913,12.657]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1665.885,304.697],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":228,\"ty\":4,\"nm\":\"blast 1 12 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1007.55,534.31,0],\"to\":[-4.531,8.156,0],\"ti\":[10.453,-18.815,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[978.871,585.954,0],\"to\":[-4.242,7.635,0],\"ti\":[2.346,-4.211,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.722},\"t\":31,\"s\":[968.575,604.471,0],\"to\":[-0.378,0.679,0],\"ti\":[0.338,-0.557,0]},{\"t\":37,\"s\":[966.55,607.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1637.173,355.894,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,5.497],[5.498,0],[0,-5.497],[-5.497,0]],\"o\":[[0,-5.497],[-5.497,0],[0,5.497],[5.498,0]],\"v\":[[9.954,0],[0,-9.954],[-9.954,0],[0,9.954]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1636.959,353.798],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-3.88,-3.399],[3.4,-3.881],[3.881,3.399],[-3.399,3.881]],\"o\":[[3.881,3.399],[-3.399,3.88],[-3.88,-3.4],[3.4,-3.88]],\"v\":[[6.155,-7.027],[7.026,6.155],[-6.156,7.027],[-7.027,-6.155]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1636.859,353.935],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":229,\"ty\":4,\"nm\":\"blast 1 13 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1061.55,539.31,0],\"to\":[-0.113,7.318,0],\"ti\":[0.26,-16.869,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1060.793,585.569,0],\"to\":[-0.105,6.821,0],\"ti\":[0.038,-3.8,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.529},\"t\":31,\"s\":[1060.565,602.161,0],\"to\":[-0.006,0.607,0],\"ti\":[-0.081,-0.691,0]},{\"t\":37,\"s\":[1061.05,606.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1707.303,362.388,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.761,5.952],[0,0],[1.775,1.589],[0,0],[-5.896,1.116],[0,0],[-0.962,2.18],[0,0],[-2.883,-5.263],[0,0],[-2.371,-0.241],[0,0],[4.114,-4.368],[0,0],[-0.502,-2.329],[0,0],[5.426,2.563],[0,0],[2.06,-1.197],[0,0]],\"o\":[[0,0],[0.302,-2.363],[0,0],[-4.471,-4.002],[0,0],[2.341,-0.443],[0,0],[2.423,-5.489],[0,0],[1.145,2.09],[0,0],[5.969,0.608],[0,0],[-1.634,1.734],[0,0],[1.266,5.865],[0,0],[-2.155,-1.018],[0,0],[-5.187,3.016]],\"v\":[[-23.345,26.192],[-21.795,14.06],[-24.147,7.747],[-33.263,-0.408],[-29.781,-12.917],[-17.764,-15.19],[-12.487,-19.38],[-7.547,-30.568],[5.426,-31.122],[11.302,-20.396],[16.917,-16.672],[29.083,-15.431],[33.62,-3.265],[25.234,5.638],[23.427,12.129],[26.006,24.084],[15.838,32.157],[4.78,26.933],[-1.953,27.22],[-12.526,33.369]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1708.928,361.084],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.619,4.339],[0,0],[-4.328,4.328],[0.404,5.386],[3.525,0.124],[5.153,7.115],[6.053,-1.599],[3.694,-2.398],[4.923,-7.666],[-1.173,-7.474],[-2.917,-3.195],[-3.195,2.918],[-4.265,-1.274]],\"o\":[[0,0],[3.619,-4.339],[0,0],[2.483,-3.13],[-0.404,-5.386],[-3.524,-0.124],[-5.943,-11.373],[-6.053,1.599],[-3.694,2.398],[-4.923,7.666],[0,8.102],[2.917,3.194],[3.195,-2.917],[4.266,1.274]],\"v\":[[14.363,30.859],[25.86,30.733],[26.501,18.934],[26.742,6.527],[37.768,-8.608],[26.286,-15.816],[12.424,-20.717],[-1.326,-34.673],[-13.344,-15.879],[-33.25,-8.527],[-19.784,12.45],[-19.654,33.079],[-6.51,30.842],[6.953,26.632]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.792156922583,0.964705942191,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1707.15,360.975],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":230,\"ty\":4,\"nm\":\"blast 1 14 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1116.55,534.31,0],\"to\":[3.286,7.309,0],\"ti\":[-7.58,-16.858,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1137.329,580.578,0],\"to\":[3.074,6.836,0],\"ti\":[-1.71,-3.775,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.673},\"t\":31,\"s\":[1144.803,597.164,0],\"to\":[0.275,0.608,0],\"ti\":[-0.291,-0.524,0]},{\"t\":37,\"s\":[1146.55,600.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1778.732,355.894,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,5.497],[-5.498,0],[0,-5.497],[5.497,0]],\"o\":[[0,-5.497],[5.497,0],[0,5.497],[-5.498,0]],\"v\":[[-9.954,0],[0,-9.954],[9.954,0],[0,9.954]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1777.641,353.798],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-4.127,-3.615],[3.615,-4.127],[4.127,3.615],[-3.615,4.127]],\"o\":[[4.127,3.615],[-3.616,4.127],[-4.127,-3.615],[3.616,-4.127]],\"v\":[[6.546,-7.473],[7.473,6.547],[-6.546,7.472],[-7.473,-6.547]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1777.651,353.868],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":231,\"ty\":4,\"nm\":\"blast 1 15 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1102.55,514.31,0],\"to\":[1.696,3.787,0],\"ti\":[-3.916,-8.745,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1113.307,538.335,0],\"to\":[1.596,3.565,0],\"ti\":[-0.87,-1.944,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1117.166,546.953,0],\"to\":[0.142,0.318,0],\"ti\":[-0.064,-0.143,0]},{\"t\":37,\"s\":[1117.55,547.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1760.55,329.92,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[7.3,46.451],[7.3,-11.281]],\"o\":[[0,0],[-7.299,11.281]],\"v\":[[-24.553,-35.834],[17.253,24.553]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1750.434,307.347],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[7.394,5.154],[-15.222,-16.864],[0,0],[2.244,5.495]],\"o\":[[0,0],[15.222,16.863],[0,0],[-2.244,-5.495]],\"v\":[[-21.593,-34.461],[-0.784,17.598],[18.906,27.346],[19.349,16.267]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1747.474,305.973],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":232,\"ty\":4,\"nm\":\"blast 1 16 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1163.55,516.31,0],\"to\":[8.603,8.489,0],\"ti\":[-19.854,-19.59,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1218.021,570.137,0],\"to\":[8.071,7.964,0],\"ti\":[-4.451,-4.355,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.868},\"t\":31,\"s\":[1237.597,589.403,0],\"to\":[0.722,0.706,0],\"ti\":[-0.575,-0.401,0]},{\"t\":37,\"s\":[1241.05,591.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1839.771,332.518,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[75.65,79.631],[-11.945,18.58]],\"o\":[[19.908,58.396],[11.944,-18.581]],\"v\":[[-68.35,-69.014],[56.406,50.434]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1792.24,288.102],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[8.982,12.574],[-46.668,-46.763],[-3.707,5.574],[3.66,3.206],[2.953,1.999]],\"o\":[[0,0],[44.699,42.754],[3.707,-5.575],[-3.661,-3.207],[-19.334,-12.347]],\"v\":[[-64.152,-62.511],[-5.913,19.491],[60.445,56.936],[55.867,40.027],[20.186,11.184]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.003921568627,0.517647058824,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1788.042,281.599],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":233,\"ty\":4,\"nm\":\"blast 1 17 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1168.55,465.31,0],\"to\":[6.733,3.734,0],\"ti\":[-15.54,-8.619,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1211.23,488.965,0],\"to\":[6.322,3.506,0],\"ti\":[-3.462,-1.929,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.96},\"t\":31,\"s\":[1226.531,497.463,0],\"to\":[0.562,0.313,0],\"ti\":[-0.337,-0.225,0]},{\"t\":37,\"s\":[1228.55,498.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1846.264,266.284,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,7.33],[-7.33,0],[0,-7.33],[7.33,0]],\"o\":[[0,-7.33],[7.33,0],[0,7.33],[-7.33,0]],\"v\":[[-13.272,0],[0,-13.272],[13.272,0],[0,13.272]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1845.991,265.54],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.307,-4.649],[4.649,-5.307],[5.307,4.649],[-4.649,5.307]],\"o\":[[5.307,4.649],[-4.648,5.307],[-5.306,-4.648],[4.649,-5.306]],\"v\":[[8.418,-9.609],[9.609,8.417],[-8.417,9.609],[-9.608,-8.417]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1845.991,265.54],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":234,\"ty\":4,\"nm\":\"blast 1 18 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1141.55,455.31,0],\"to\":[5.094,2.32,0],\"ti\":[-11.755,-5.356,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1173.832,469.996,0],\"to\":[4.779,2.177,0],\"ti\":[-2.621,-1.204,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.871},\"t\":31,\"s\":[1185.402,475.281,0],\"to\":[0.425,0.195,0],\"ti\":[-0.275,-0.171,0]},{\"t\":37,\"s\":[1187.05,476.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1811.199,253.297,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[32.411,34.067],[-0.407,-13.43]],\"o\":[[0,0],[0.408,13.431]],\"v\":[[-34.565,-19.673],[34.157,6.242]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1785.445,242.51],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-19.021,-5.752],[-3.5,7.521],[10.435,3.831]],\"o\":[[0,0],[12.264,4.127],[3.5,-7.52],[-13.593,-3.668]],\"v\":[[-35.482,-17.451],[3.797,10.382],[31.983,9.93],[3.117,-8.747]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1786.85,240.534],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":235,\"ty\":4,\"nm\":\"blast 1 19 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1188.55,422.31,0],\"to\":[6.912,-0.227,0],\"ti\":[-15.943,0.523,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1232.299,420.872,0],\"to\":[6.466,-0.212,0],\"ti\":[-3.574,0.115,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.683},\"t\":31,\"s\":[1247.991,420.36,0],\"to\":[0.575,-0.019,0],\"ti\":[-0.51,0.008,0]},{\"t\":37,\"s\":[1251.05,420.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1872.238,210.44,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.958,0.712],[0,0],[-1.108,2.109],[0,0],[-2.519,-5.446],[0,0],[-2.348,-0.402],[0,0],[4.401,-4.078],[0,0],[-0.343,-2.358],[0,0],[5.239,2.925],[0,0],[2.137,-1.055],[0,0],[-1.163,5.886],[0,0],[1.664,1.706],[0,0]],\"o\":[[0,0],[2.366,-0.283],[0,0],[2.791,-5.312],[0,0],[1,2.163],[0,0],[5.914,1.013],[0,0],[-1.747,1.62],[0,0],[0.864,5.938],[0,0],[-2.08,-1.161],[0,0],[-5.38,2.657],[0,0],[0.462,-2.337],[0,0],[-4.19,-4.296]],\"v\":[[-29.243,-14.791],[-17.099,-16.243],[-11.55,-20.064],[-5.861,-30.891],[7.119,-30.563],[12.252,-19.462],[17.601,-15.365],[29.656,-13.301],[33.355,-0.855],[24.383,7.458],[22.14,13.811],[23.902,25.914],[13.208,33.278],[2.53,27.314],[-4.206,27.144],[-15.172,32.56],[-25.48,24.665],[-23.108,12.666],[-25.027,6.208],[-33.566,-2.548]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1873.589,208.841],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-3.942,4.048],[0,0],[-2.717,2.929],[-0.012,5.401],[3.505,0.394],[3.885,7.05],[6.158,-1.129],[6.528,-3.212],[5.382,-5.383],[-0.595,-7.542],[-2.663,-3.409],[-3.409,2.663],[-4.155,-1.599]],\"o\":[[0,0],[3.943,-4.047],[0,0],[2.717,-2.93],[0.012,-5.401],[-3.505,-0.395],[-3.885,-7.049],[-6.158,1.128],[-3.867,2.107],[-5.499,7.264],[0.596,7.543],[2.663,3.41],[3.41,-2.663],[4.154,1.598]],\"v\":[[11.127,31.352],[23.558,32.111],[25.479,20.5],[25.342,8.046],[37.5,-6.196],[28.467,-14.123],[13.847,-21.266],[1.117,-35.029],[-12.964,-16.974],[-32.012,-11.48],[-21.501,10.37],[-21.685,29.856],[-10.638,30.909],[4.065,26.568]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.792156922583,0.964705942191,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1871.488,209.035],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":236,\"ty\":4,\"nm\":\"blast 1 20 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1141.55,390.31,0],\"to\":[4.522,-3.109,0],\"ti\":[-10.442,7.179,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1170.237,370.588,0],\"to\":[4.257,-2.927,0],\"ti\":[-2.321,1.596,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1180.527,363.514,0],\"to\":[0.38,-0.261,0],\"ti\":[-0.171,0.117,0]},{\"t\":37,\"s\":[1181.55,362.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1811.199,168.881,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[32.411,-34.067],[-0.407,13.43]],\"o\":[[0,0],[0.408,-13.431]],\"v\":[[-34.565,19.673],[34.157,-6.242]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1786.109,173.77],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.693,13.514],[19.482,-9.675],[4.717,-6.895]],\"o\":[[0,0],[1.634,-6.822],[-19.483,9.674],[0,0]],\"v\":[[-33.455,17.703],[33.632,-8.005],[1.925,-9.088],[-35.266,18.763]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1786.634,175.533],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":237,\"ty\":4,\"nm\":\"blast 1 21 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1169.55,377.31,0],\"to\":[6.563,-4.866,0],\"ti\":[-15.148,11.231,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1211.152,346.477,0],\"to\":[6.163,-4.569,0],\"ti\":[-3.376,2.508,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.97},\"t\":31,\"s\":[1226.068,335.411,0],\"to\":[0.548,-0.407,0],\"ti\":[-0.33,0.267,0]},{\"t\":37,\"s\":[1228.05,333.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1847.563,151.998,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-7.33],[-7.33,0],[0,7.33],[7.33,0]],\"o\":[[0,7.33],[7.33,0],[0,-7.33],[-7.33,0]],\"v\":[[-13.272,0],[0,13.272],[13.272,0],[0,-13.272]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1846.655,150.739],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-5.534,-4.848],[4.848,-5.534],[5.533,4.847],[-4.847,5.534]],\"o\":[[5.534,4.848],[-4.847,5.533],[-5.534,-4.848],[4.848,-5.533]],\"v\":[[8.777,-10.019],[10.019,8.778],[-8.777,10.02],[-10.02,-8.777]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1847.061,150.69],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":238,\"ty\":4,\"nm\":\"blast 1 22 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1166.55,323.31,0],\"to\":[8.422,-8.422,0],\"ti\":[-19.449,19.449,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1219.981,269.879,0],\"to\":[7.929,-7.929,0],\"ti\":[-4.322,4.322,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1239.145,250.715,0],\"to\":[0.707,-0.707,0],\"ti\":[-0.318,0.318,0]},{\"t\":37,\"s\":[1241.05,248.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1843.667,81.868,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[75.65,-79.631],[-11.944,-18.58]],\"o\":[[19.908,-58.396],[11.945,18.581]],\"v\":[[-68.35,69.013],[56.405,-50.433]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1792.903,128.177],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[3.759,-23.761],[-42.519,29.64],[4.541,8.725],[33.018,-26.949]],\"o\":[[0,0],[20.983,-14.554],[-3.094,-5.404],[-33.018,26.949]],\"v\":[[-65.072,64.341],[21.244,-11.75],[60.53,-53.487],[16.195,-37.392]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.003921568627,0.517647058824,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1789.625,132.849],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":239,\"ty\":4,\"nm\":\"blast 1 23 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1103.55,328.31,0],\"to\":[2.604,-6.681,0],\"ti\":[-6.01,15.415,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1120.039,285.992,0],\"to\":[2.441,-6.261,0],\"ti\":[-1.347,3.446,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.793},\"t\":31,\"s\":[1125.96,270.818,0],\"to\":[0.218,-0.557,0],\"ti\":[-0.182,0.418,0]},{\"t\":37,\"s\":[1127.05,268.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1761.849,88.362,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[7.3,-46.452],[7.3,11.281]],\"o\":[[0,0],[-7.299,-11.281]],\"v\":[[-24.553,35.834],[17.253,-24.553]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1751.097,108.932],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.565,-5.68],[-5.874,10.734],[5.945,4.654],[7.935,-11.576]],\"o\":[[0,0],[5.874,-10.734],[-5.944,-4.653],[-7.934,11.575]],\"v\":[[-22.957,33.113],[12.287,-7.456],[17.012,-28.46],[-7.469,-11.088]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1749.339,111.491],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":240,\"ty\":4,\"nm\":\"blast 1 24 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1116.55,309.31,0],\"to\":[4.239,-9.383,0],\"ti\":[-9.79,21.668,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1143.445,249.783,0],\"to\":[3.991,-8.833,0],\"ti\":[-2.176,4.815,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[1153.091,228.432,0],\"to\":[0.356,-0.787,0],\"ti\":[-0.16,0.354,0]},{\"t\":37,\"s\":[1154.05,226.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1778.732,63.687,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.497],[-5.497,0],[0,5.497],[5.497,0]],\"o\":[[0,5.497],[5.497,0],[0,-5.497],[-5.497,0]],\"v\":[[-9.954,0],[0,9.954],[9.954,0],[0,-9.954]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1778.305,62.481],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-4.107,-3.598],[3.598,-4.107],[4.107,3.598],[-3.598,4.107]],\"o\":[[4.107,3.598],[-3.598,4.107],[-4.107,-3.598],[3.598,-4.107]],\"v\":[[6.515,-7.437],[7.437,6.514],[-6.515,7.436],[-7.437,-6.514]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1778.237,62.68],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":241,\"ty\":4,\"nm\":\"blast 1 25 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1064.55,299.31,0],\"to\":[0,-6.974,0],\"ti\":[0,16.08,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[1064.55,255.202,0],\"to\":[0,-6.51,0],\"ti\":[0,3.615,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.59},\"t\":31,\"s\":[1064.55,239.382,0],\"to\":[0,-0.579,0],\"ti\":[0,0.595,0]},{\"t\":37,\"s\":[1064.55,235.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1711.199,50.7,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-1.294,5.859],[0,0],[1.625,1.742],[0,0],[-5.972,0.58],[0,0],[-1.155,2.084],[0,0],[-2.397,-5.501],[0,0],[-2.34,-0.454],[0,0],[4.491,-3.979],[0,0],[-0.291,-2.365],[0,0],[5.173,3.041],[0,0],[2.159,-1.007],[0,0]],\"o\":[[0,0],[0.514,-2.326],[0,0],[-4.093,-4.388],[0,0],[2.372,-0.23],[0,0],[2.908,-5.249],[0,0],[0.952,2.184],[0,0],[5.89,1.143],[0,0],[-1.783,1.581],[0,0],[0.732,5.956],[0,0],[-2.054,-1.208],[0,0],[-5.437,2.537]],\"v\":[[-26.15,23.923],[-23.513,11.98],[-25.288,5.481],[-33.632,-3.462],[-29.038,-15.606],[-16.865,-16.789],[-11.232,-20.486],[-5.305,-31.184],[7.664,-30.568],[12.551,-19.356],[17.807,-15.142],[29.814,-12.81],[33.234,-0.286],[24.082,7.826],[21.698,14.128],[23.192,26.267],[12.337,33.392],[1.794,27.193],[-4.936,26.873],[-16.021,32.045]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1713.564,49.543],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.044,3.945],[0,0],[-2.791,2.859],[-0.149,5.399],[3.494,0.484],[4.398,7.604],[6.184,-0.971],[3.405,-4.567],[-0.098,-7.19],[-0.403,-7.556],[-2.575,-3.476],[-3.476,2.575],[-4.112,-1.704]],\"o\":[[0,0],[4.044,-3.946],[0,0],[2.791,-2.859],[0.149,-5.399],[-3.494,-0.484],[-4.398,-7.605],[-6.185,0.971],[-3.919,2.008],[-1.19,10.828],[0.403,7.555],[2.575,3.477],[3.476,-2.575],[4.113,1.704]],\"v\":[[11.438,32.569],[21.407,32.174],[23.135,22.084],[23.315,9.631],[35.832,-6.456],[25.945,-13.509],[12.124,-21.507],[0.583,-35.149],[-11.829,-18.743],[-34.791,-11.419],[-23.572,8.216],[-24.252,30.237],[-13.203,30.318],[2.282,26.897]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.792156922583,0.964705942191,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1713.115,49.879],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":242,\"ty\":4,\"nm\":\"blast 1 26 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1017.55,329.31,0],\"to\":[-2.77,-6.726,0],\"ti\":[6.396,15.533,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[999.979,286.637,0],\"to\":[-2.607,-6.332,0],\"ti\":[1.421,3.452,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[993.676,271.331,0],\"to\":[-0.232,-0.564,0],\"ti\":[0.104,0.254,0]},{\"t\":37,\"s\":[993.05,269.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1650.16,89.661,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-7.299,-46.452],[-7.3,11.281]],\"o\":[[0,0],[7.299,-11.281]],\"v\":[[24.553,35.834],[-17.253,-24.553]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1664.83,108.932],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[10.029,15.55],[5.091,-4.804],[-1.528,-1.78],[-6.51,-4.401]],\"o\":[[0,0],[-4.987,-11.426],[-5.09,4.804],[1.529,1.78],[0,0]],\"v\":[[21.986,31.878],[8.525,-8.145],[-17.526,-28.76],[-15.322,-12.014],[22.616,33.564]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.317647058824,0.929411824544,0.964705942191,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1666.767,111.536],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":243,\"ty\":4,\"nm\":\"blast 1 27 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[1007.55,309.31,0],\"to\":[-4.635,-9.327,0],\"ti\":[10.703,21.537,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[978.145,250.141,0],\"to\":[-4.363,-8.78,0],\"ti\":[2.379,4.786,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.262,\"y\":1},\"t\":31,\"s\":[967.598,228.92,0],\"to\":[-0.389,-0.782,0],\"ti\":[0.175,0.352,0]},{\"t\":37,\"s\":[966.55,226.81,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1637.173,63.687,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,9.89]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,-3.541]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,3.181]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,-10.699]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,-1.52]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,-2.359]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-5.497],[5.497,0],[0,5.497],[-5.497,0]],\"o\":[[0,5.497],[-5.497,0],[0,-5.497],[5.497,0]],\"v\":[[9.954,0],[0,9.954],[-9.954,0],[0,-9.954]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1637.623,62.481],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-4.11,-3.6],[3.6,-4.11],[4.111,3.601],[-3.601,4.11]],\"o\":[[4.11,3.601],[-3.601,4.11],[-4.11,-3.6],[3.6,-4.11]],\"v\":[[6.52,-7.443],[7.443,6.519],[-6.52,7.441],[-7.442,-6.519]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.549019607843,0.780392216701,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1637.941,62.542],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":244,\"ty\":4,\"nm\":\"blast 1 28 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.582,\"y\":0.82},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":21,\"s\":[954.55,322.31,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.676,\"y\":0.877},\"o\":{\"x\":0.336,\"y\":0.604},\"t\":25,\"s\":[901.126,269.603,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.35,\"y\":0.577},\"t\":31,\"s\":[881.956,250.691,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":37,\"s\":[877.55,246.31,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[1568.342,80.57,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.582,0.582,0.582],\"y\":[0.82,0.82,0.059]},\"o\":{\"x\":[0.18,0.18,0.18],\"y\":[0.072,0.072,0.375]},\"t\":21,\"s\":[77,77,100]},{\"i\":{\"x\":[0.676,0.676,0.676],\"y\":[0.877,0.877,0.769]},\"o\":{\"x\":[0.336,0.336,0.336],\"y\":[0.604,0.604,1.133]},\"t\":25,\"s\":[37.554,37.554,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,10.854]},\"o\":{\"x\":[0.35,0.35,0.35],\"y\":[0.14,0.14,0.25]},\"t\":31,\"s\":[23.405,23.405,100]},{\"t\":37,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-75.65,-79.631],[11.944,-18.58]],\"o\":[[-19.908,-58.396],[-11.945,18.581]],\"v\":[[68.35,69.013],[-56.405,-50.433]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1623.024,128.177],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-18.581,-24.955],[55.181,45.726],[2.124,-3.432],[-6.926,-5.186]],\"o\":[[0,0],[-44.486,-39.853],[-4.25,10.778],[6.926,5.185]],\"v\":[[64.844,66.217],[-5.238,-26.364],[-60.594,-52.802],[-43.203,-26.299]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.003921568627,0.517647058824,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1626.53,130.973],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":21,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0}]}],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":0,\"nm\":\"Expensify-Fireworks-120722-kjs-1\",\"refId\":\"comp_0\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[180,180,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[961,540.5,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[40,40,100],\"ix\":6,\"l\":2}},\"ao\":0,\"w\":1922,\"h\":1081,\"ip\":0,\"op\":109,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":3,\"ty\":1,\"nm\":\"Dark Green Solid 1\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[180,180,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[180,180,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"sw\":360,\"sh\":360,\"sc\":\"#061b09\",\"ip\":0,\"op\":109,\"st\":0,\"bm\":0}],\"markers\":[]}","import React, {Component} from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport compose from '../../../libs/compose';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport TextLink from '../../../components/TextLink';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as PaymentMethods from '../../../libs/actions/PaymentMethods';\nimport * as ValidationUtils from '../../../libs/ValidationUtils';\nimport CheckboxWithLabel from '../../../components/CheckboxWithLabel';\nimport StatePicker from '../../../components/StatePicker';\nimport TextInput from '../../../components/TextInput';\nimport CONST from '../../../CONST';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport AddressSearch from '../../../components/AddressSearch';\nimport * as ComponentUtils from '../../../libs/ComponentUtils';\nimport Form from '../../../components/Form';\nimport Permissions from '../../../libs/Permissions';\n\nconst propTypes = {\n /* Onyx Props */\n formData: PropTypes.shape({\n setupComplete: PropTypes.bool,\n }),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n formData: {\n setupComplete: false,\n },\n betas: [],\n};\n\nclass DebitCardPage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n PaymentMethods.clearDebitCardFormErrorAndSubmit();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.formData.setupComplete || !this.props.formData.setupComplete) {\n return;\n }\n\n PaymentMethods.continueSetup();\n }\n\n /**\n * Make sure we reset the onyx values so old errors don't show if this form is displayed later\n */\n componentWillUnmount() {\n PaymentMethods.clearDebitCardFormErrorAndSubmit();\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Boolean}\n */\n validate(values) {\n const errors = {};\n\n if (!values.nameOnCard || !ValidationUtils.isValidCardName(values.nameOnCard)) {\n errors.nameOnCard = this.props.translate('addDebitCardPage.error.invalidName');\n }\n\n if (!values.cardNumber || !ValidationUtils.isValidDebitCard(values.cardNumber.replace(/ /g, ''))) {\n errors.cardNumber = this.props.translate('addDebitCardPage.error.debitCardNumber');\n }\n\n if (!values.expirationDate || !ValidationUtils.isValidExpirationDate(values.expirationDate)) {\n errors.expirationDate = this.props.translate('addDebitCardPage.error.expirationDate');\n }\n\n if (!values.securityCode || !ValidationUtils.isValidSecurityCode(values.securityCode)) {\n errors.securityCode = this.props.translate('addDebitCardPage.error.securityCode');\n }\n\n if (!values.addressStreet || !ValidationUtils.isValidAddress(values.addressStreet)) {\n errors.addressStreet = this.props.translate('addDebitCardPage.error.addressStreet');\n }\n\n if (!values.addressZipCode || !ValidationUtils.isValidZipCode(values.addressZipCode)) {\n errors.addressZipCode = this.props.translate('addDebitCardPage.error.addressZipCode');\n }\n\n if (!values.addressState || !values.addressState) {\n errors.addressState = this.props.translate('addDebitCardPage.error.addressState');\n }\n\n if (!Permissions.canUsePasswordlessLogins(this.props.betas) && (!values.password || _.isEmpty(values.password.trim()))) {\n errors.password = this.props.translate('addDebitCardPage.error.password');\n }\n\n if (!values.acceptTerms) {\n errors.acceptTerms = this.props.translate('common.error.acceptTerms');\n }\n\n return errors;\n }\n\n render() {\n return (\n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {!Permissions.canUsePasswordlessLogins(this.props.betas) && (\n \n \n \n )}\n (\n \n {`${this.props.translate('common.iAcceptThe')}`}\n \n {`${this.props.translate('common.expensifyTermsOfService')}`}\n \n \n )}\n style={[styles.mt4]}\n />\n \n \n );\n }\n}\n\nDebitCardPage.propTypes = propTypes;\nDebitCardPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n formData: {\n key: ONYXKEYS.FORMS.ADD_DEBIT_CARD_FORM,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n }),\n)(DebitCardPage);\n","import moment from 'moment';\nimport _ from 'underscore';\nimport CONST from '../CONST';\nimport * as CardUtils from './CardUtils';\nimport * as LoginUtils from './LoginUtils';\nimport * as Localize from './Localize';\n\n/**\n * Implements the Luhn Algorithm, a checksum formula used to validate credit card\n * numbers.\n *\n * @param {String} val\n * @returns {Boolean}\n */\nfunction validateCardNumber(val) {\n let sum = 0;\n for (let i = 0; i < val.length; i++) {\n let intVal = parseInt(val.substr(i, 1), 10);\n if (i % 2 === 0) {\n intVal *= 2;\n if (intVal > 9) {\n intVal = 1 + (intVal % 10);\n }\n }\n sum += intVal;\n }\n return (sum % 10) === 0;\n}\n\n/**\n * Validating that this is a valid address (PO boxes are not allowed)\n *\n * @param {String} value\n * @returns {Boolean}\n */\nfunction isValidAddress(value) {\n if (!CONST.REGEX.ANY_VALUE.test(value)) {\n return false;\n }\n\n return !CONST.REGEX.PO_BOX.test(value);\n}\n\n/**\n * Validate date fields\n *\n * @param {String|Date} date\n * @returns {Boolean} true if valid\n */\nfunction isValidDate(date) {\n if (!date) {\n return false;\n }\n\n const pastDate = moment().subtract(1000, 'years');\n const futureDate = moment().add(1000, 'years');\n const testDate = moment(date);\n return testDate.isValid() && testDate.isBetween(pastDate, futureDate);\n}\n\n/**\n * Validate that date entered isn't a future date.\n *\n * @param {String|Date} date\n * @returns {Boolean} true if valid\n */\nfunction isValidPastDate(date) {\n if (!date) {\n return false;\n }\n\n const pastDate = moment().subtract(1000, 'years');\n const currentDate = moment();\n const testDate = moment(date).startOf('day');\n return testDate.isValid() && testDate.isBetween(pastDate, currentDate);\n}\n\n/**\n * Used to validate a value that is \"required\".\n *\n * @param {*} value\n * @returns {Boolean}\n */\nfunction isRequiredFulfilled(value) {\n if (_.isString(value)) {\n return !_.isEmpty(value.trim());\n }\n if (_.isDate(value)) {\n return isValidDate(value);\n }\n if (_.isArray(value) || _.isObject(value)) {\n return !_.isEmpty(value);\n }\n return Boolean(value);\n}\n\n/**\n * Validates that this is a valid expiration date. Supports the following formats:\n * 1. MM/YY\n * 2. MM/YYYY\n * 3. MMYY\n * 4. MMYYYY\n *\n * @param {String} string\n * @returns {Boolean}\n */\nfunction isValidExpirationDate(string) {\n if (!CONST.REGEX.CARD_EXPIRATION_DATE.test(string)) {\n return false;\n }\n\n // Use the last of the month to check if the expiration date is in the future or not\n const expirationDate = `${CardUtils.getYearFromExpirationDateString(string)}-${CardUtils.getMonthFromExpirationDateString(string)}-01`;\n return moment(expirationDate).endOf('month').isAfter(moment());\n}\n\n/**\n * Validates that this is a valid security code\n * in the XXX or XXXX format.\n *\n * @param {String} string\n * @returns {Boolean}\n */\nfunction isValidSecurityCode(string) {\n return CONST.REGEX.CARD_SECURITY_CODE.test(string);\n}\n\n/**\n * Validates a debit card number (15 or 16 digits).\n *\n * @param {String} string\n * @returns {Boolean}\n */\nfunction isValidDebitCard(string) {\n if (!CONST.REGEX.CARD_NUMBER.test(string)) {\n return false;\n }\n\n return validateCardNumber(string);\n}\n\n/**\n *\n * @param {String} nameOnCard\n * @returns {Boolean}\n */\nfunction isValidCardName(nameOnCard) {\n if (!CONST.REGEX.ALPHABETIC_CHARS.test(nameOnCard)) {\n return false;\n }\n\n return !_.isEmpty(nameOnCard.trim());\n}\n\n/**\n * @param {String} code\n * @returns {Boolean}\n */\nfunction isValidIndustryCode(code) {\n return CONST.REGEX.INDUSTRY_CODE.test(code);\n}\n\n/**\n * @param {String} zipCode\n * @returns {Boolean}\n */\nfunction isValidZipCode(zipCode) {\n return CONST.REGEX.ZIP_CODE.test(zipCode);\n}\n\n/**\n * @param {String} ssnLast4\n * @returns {Boolean}\n */\nfunction isValidSSNLastFour(ssnLast4) {\n return CONST.REGEX.SSN_LAST_FOUR.test(ssnLast4);\n}\n\n/**\n * @param {String} ssnFull9\n * @returns {Boolean}\n */\nfunction isValidSSNFullNine(ssnFull9) {\n return CONST.REGEX.SSN_FULL_NINE.test(ssnFull9);\n}\n\n/**\n *\n * @param {String} paypalUsername\n * @returns {Boolean}\n */\nfunction isValidPaypalUsername(paypalUsername) {\n return Boolean(paypalUsername) && CONST.REGEX.PAYPAL_ME_USERNAME.test(paypalUsername);\n}\n\n/**\n * Validate that \"date\" is between 18 and 150 years in the past\n *\n * @param {String} date\n * @returns {Boolean}\n */\nfunction meetsAgeRequirements(date) {\n const eighteenYearsAgo = moment().subtract(18, 'years');\n const oneHundredFiftyYearsAgo = moment().subtract(150, 'years');\n const testDate = moment(date);\n return testDate.isValid() && testDate.isBetween(oneHundredFiftyYearsAgo, eighteenYearsAgo);\n}\n\n/**\n * Validate that given date is in a specified range of years before now.\n *\n * @param {String} date\n * @param {Number} minimumAge\n * @param {Number} maximumAge\n * @returns {String}\n */\nfunction getAgeRequirementError(date, minimumAge, maximumAge) {\n const recentDate = moment().startOf('day').subtract(minimumAge, 'years');\n const longAgoDate = moment().startOf('day').subtract(maximumAge, 'years');\n const testDate = moment(date);\n if (!testDate.isValid()) {\n return Localize.translateLocal('common.error.dateInvalid');\n }\n if (testDate.isBetween(longAgoDate, recentDate, undefined, [])) {\n return '';\n }\n if (testDate.isSameOrAfter(recentDate)) {\n return Localize.translateLocal('privatePersonalDetails.error.dateShouldBeBefore', {dateString: recentDate.format(CONST.DATE.MOMENT_FORMAT_STRING)});\n }\n return Localize.translateLocal('privatePersonalDetails.error.dateShouldBeAfter', {dateString: longAgoDate.format(CONST.DATE.MOMENT_FORMAT_STRING)});\n}\n\n/**\n * Similar to backend, checks whether a website has a valid URL or not.\n * http/https/ftp URL scheme required.\n *\n * @param {String} url\n * @returns {Boolean}\n */\nfunction isValidWebsite(url) {\n return CONST.REGEX.WEBSITE.test(url);\n}\n\n/**\n * @param {Object} identity\n * @returns {Object}\n */\nfunction validateIdentity(identity) {\n const requiredFields = ['firstName', 'lastName', 'street', 'city', 'zipCode', 'state', 'ssnLast4', 'dob'];\n const errors = {};\n\n // Check that all required fields are filled\n _.each(requiredFields, (fieldName) => {\n if (isRequiredFulfilled(identity[fieldName])) {\n return;\n }\n errors[fieldName] = true;\n });\n\n if (!isValidAddress(identity.street)) {\n errors.street = true;\n }\n\n if (!isValidZipCode(identity.zipCode)) {\n errors.zipCode = true;\n }\n\n // dob field has multiple validations/errors, we are handling it temporarily like this.\n if (!isValidDate(identity.dob)) {\n errors.dob = true;\n } else if (!meetsAgeRequirements(identity.dob)) {\n errors.dobAge = true;\n }\n\n if (!isValidSSNLastFour(identity.ssnLast4)) {\n errors.ssnLast4 = true;\n }\n\n return errors;\n}\n\n/**\n * @param {String} phoneNumber\n * @param {Boolean} [isCountryCodeOptional]\n * @returns {Boolean}\n */\nfunction isValidUSPhone(phoneNumber = '', isCountryCodeOptional) {\n // Remove non alphanumeric characters from the phone number\n const sanitizedPhone = (phoneNumber || '').replace(CONST.REGEX.NON_ALPHA_NUMERIC, '');\n const isUsPhone = isCountryCodeOptional\n ? CONST.REGEX.US_PHONE_WITH_OPTIONAL_COUNTRY_CODE.test(sanitizedPhone) : CONST.REGEX.US_PHONE.test(sanitizedPhone);\n\n return CONST.REGEX.PHONE_E164_PLUS.test(sanitizedPhone) && isUsPhone;\n}\n\n/**\n * @param {String} password\n * @returns {Boolean}\n */\nfunction isValidPassword(password) {\n return password.match(CONST.PASSWORD_COMPLEXITY_REGEX_STRING);\n}\n\n/**\n * @param {string} validateCode\n * @returns {Boolean}\n */\nfunction isValidValidateCode(validateCode) {\n return validateCode.match(CONST.VALIDATE_CODE_REGEX_STRING);\n}\n\n/**\n * @param {String} code\n * @returns {Boolean}\n */\nfunction isValidTwoFactorCode(code) {\n return Boolean(code.match(CONST.REGEX.CODE_2FA));\n}\n\n/**\n * Checks whether a value is a numeric string including `(`, `)`, `-` and optional leading `+`\n * @param {String} input\n * @returns {Boolean}\n */\nfunction isNumericWithSpecialChars(input) {\n return /^\\+?\\d*$/.test(LoginUtils.getPhoneNumberWithoutSpecialChars(input));\n}\n\n/**\n * Checks the given number is a valid US Routing Number\n * using ABA routingNumber checksum algorithm: http://www.brainjar.com/js/validation/\n * @param {String} number\n * @returns {Boolean}\n */\nfunction isValidRoutingNumber(number) {\n let n = 0;\n for (let i = 0; i < number.length; i += 3) {\n n += (parseInt(number.charAt(i), 10) * 3)\n + (parseInt(number.charAt(i + 1), 10) * 7)\n + parseInt(number.charAt(i + 2), 10);\n }\n\n // If the resulting sum is an even multiple of ten (but not zero),\n // the ABA routing number is valid.\n if (n !== 0 && n % 10 === 0) {\n return true;\n }\n return false;\n}\n\n/**\n * Checks that the provided name doesn't contain any commas or semicolons\n *\n * @param {String} name\n * @returns {Boolean}\n */\nfunction isValidDisplayName(name) {\n return !name.includes(',') && !name.includes(';');\n}\n\n/**\n * Checks that the provided legal name doesn't contain special characters\n *\n * @param {String} name\n * @returns {Boolean}\n */\nfunction isValidLegalName(name) {\n return CONST.REGEX.ALPHABETIC_CHARS_WITH_NUMBER.test(name);\n}\n\n/**\n * Checks if the provided string includes any of the provided reserved words\n *\n * @param {String} value\n * @param {String[]} reservedWords\n * @returns {Boolean}\n */\nfunction doesContainReservedWord(value, reservedWords) {\n const valueToCheck = value.trim().toLowerCase();\n return _.some(reservedWords, reservedWord => valueToCheck.includes(reservedWord.toLowerCase()));\n}\n\n/**\n * Checks if is one of the certain names which are reserved for default rooms\n * and should not be used for policy rooms.\n *\n * @param {String} roomName\n * @returns {Boolean}\n */\nfunction isReservedRoomName(roomName) {\n return _.contains(CONST.REPORT.RESERVED_ROOM_NAMES, roomName);\n}\n\n/**\n * Checks if the room name already exists.\n *\n * @param {String} roomName\n * @param {Object} reports\n * @param {String} policyID\n * @returns {Boolean}\n */\nfunction isExistingRoomName(roomName, reports, policyID) {\n return _.some(\n reports,\n report => report && report.policyID === policyID\n && report.reportName === roomName,\n );\n}\n\n/**\n * Checks if a room name is valid by checking that:\n * - It starts with a hash '#'\n * - After the first character, it contains only lowercase letters, numbers, and dashes\n * - It's between 1 and MAX_ROOM_NAME_LENGTH characters long\n *\n * @param {String} roomName\n * @returns {Boolean}\n */\nfunction isValidRoomName(roomName) {\n return CONST.REGEX.ROOM_NAME.test(roomName);\n}\n\n/**\n * Checks if tax ID consists of 9 digits\n *\n * @param {String} taxID\n * @returns {Boolean}\n */\nfunction isValidTaxID(taxID) {\n return taxID && CONST.REGEX.TAX_ID.test(taxID.replace(CONST.REGEX.NON_NUMERIC, ''));\n}\n\nexport {\n meetsAgeRequirements,\n getAgeRequirementError,\n isValidAddress,\n isValidDate,\n isValidCardName,\n isValidPastDate,\n isValidSecurityCode,\n isValidExpirationDate,\n isValidDebitCard,\n isValidIndustryCode,\n isValidZipCode,\n isRequiredFulfilled,\n isValidUSPhone,\n isValidWebsite,\n validateIdentity,\n isValidPassword,\n isValidTwoFactorCode,\n isNumericWithSpecialChars,\n isValidPaypalUsername,\n isValidRoutingNumber,\n isValidSSNLastFour,\n isValidSSNFullNine,\n isReservedRoomName,\n isExistingRoomName,\n isValidRoomName,\n isValidTaxID,\n isValidValidateCode,\n isValidDisplayName,\n isValidLegalName,\n doesContainReservedWord,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View, TouchableOpacity} from 'react-native';\nimport styles from '../styles/styles';\nimport Checkbox from './Checkbox';\nimport Text from './Text';\nimport FormHelpMessage from './FormHelpMessage';\nimport variables from '../styles/variables';\n\nconst requiredPropsCheck = (props) => {\n if (!props.label && !props.LabelComponent) {\n return new Error('One of \"label\" or \"LabelComponent\" must be provided');\n }\n\n if (props.label && typeof props.label !== 'string') {\n return new Error('Prop \"label\" must be a string');\n }\n\n if (props.LabelComponent && typeof props.LabelComponent !== 'function') {\n return new Error('Prop \"LabelComponent\" must be a function');\n }\n};\n\nconst propTypes = {\n /** Whether the checkbox is checked */\n isChecked: PropTypes.bool,\n\n /** Called when the checkbox or label is pressed */\n onInputChange: PropTypes.func.isRequired,\n\n /** Container styles */\n style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),\n\n /** Text that appears next to check box */\n label: requiredPropsCheck,\n\n /** Component to display for label */\n LabelComponent: requiredPropsCheck,\n\n /** Error text to display */\n errorText: PropTypes.string,\n\n /** Value for checkbox. This prop is intended to be set by Form.js only */\n value: PropTypes.bool,\n\n /** The default value for the checkbox */\n defaultValue: PropTypes.bool,\n\n /** React ref being forwarded to the Checkbox input */\n forwardedRef: PropTypes.func,\n\n /** The ID used to uniquely identify the input in a Form */\n /* eslint-disable-next-line react/no-unused-prop-types */\n inputID: PropTypes.string,\n\n /** Saves a draft of the input value when used in a form */\n /* eslint-disable-next-line react/no-unused-prop-types */\n shouldSaveDraft: PropTypes.bool,\n};\n\nconst defaultProps = {\n inputID: undefined,\n style: [],\n label: undefined,\n LabelComponent: undefined,\n errorText: '',\n shouldSaveDraft: false,\n isChecked: false,\n value: false,\n defaultValue: false,\n forwardedRef: () => {},\n};\n\nclass CheckboxWithLabel extends React.Component {\n constructor(props) {\n super(props);\n\n this.isChecked = props.value || props.defaultValue || props.isChecked;\n this.LabelComponent = props.LabelComponent;\n\n this.toggleCheckbox = this.toggleCheckbox.bind(this);\n }\n\n toggleCheckbox() {\n this.props.onInputChange(!this.isChecked);\n this.isChecked = !this.isChecked;\n }\n\n render() {\n return (\n \n \n \n \n {this.props.label && (\n \n {this.props.label}\n \n )}\n {this.LabelComponent && ()}\n \n \n \n \n );\n }\n}\n\nCheckboxWithLabel.propTypes = propTypes;\nCheckboxWithLabel.defaultProps = defaultProps;\n\nexport default React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n));\n","import _ from 'underscore';\nimport React, {forwardRef} from 'react';\nimport PropTypes from 'prop-types';\nimport Picker from './Picker';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst propTypes = {\n /** The label for the field */\n label: PropTypes.string,\n\n /** A callback method that is called when the value changes and it receives the selected value as an argument. */\n onInputChange: PropTypes.func.isRequired,\n\n /** The value that needs to be selected */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /** The ID used to uniquely identify the input in a Form */\n inputID: PropTypes.string,\n\n /** Saves a draft of the input value when used in a form */\n shouldSaveDraft: PropTypes.bool,\n\n /** Callback that is called when the text input is blurred */\n onBlur: PropTypes.func,\n\n /** Error text to display */\n errorText: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n label: '',\n value: undefined,\n errorText: '',\n shouldSaveDraft: false,\n inputID: undefined,\n onBlur: () => {},\n};\n\nconst StatePicker = forwardRef((props, ref) => {\n const STATES = _.chain(props.translate('allStates'))\n .sortBy(state => state.stateName.toLowerCase())\n .map(state => ({value: state.stateISO, label: state.stateName}))\n .value();\n\n return (\n \n );\n});\n\nStatePicker.propTypes = propTypes;\nStatePicker.defaultProps = defaultProps;\nStatePicker.displayName = 'StatePicker';\n\nexport default withLocalize(StatePicker);\n","import _ from 'underscore';\nimport React, {useState} from 'react';\nimport PropTypes from 'prop-types';\nimport {LogBox, ScrollView, View} from 'react-native';\nimport {GooglePlacesAutocomplete} from 'react-native-google-places-autocomplete';\nimport lodashGet from 'lodash/get';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport styles from '../styles/styles';\nimport themeColors from '../styles/themes/default';\nimport TextInput from './TextInput';\nimport * as ApiUtils from '../libs/ApiUtils';\nimport * as GooglePlacesUtils from '../libs/GooglePlacesUtils';\nimport CONST from '../CONST';\nimport * as StyleUtils from '../styles/StyleUtils';\n\n// The error that's being thrown below will be ignored until we fork the\n// react-native-google-places-autocomplete repo and replace the\n// VirtualizedList component with a VirtualizedList-backed instead\nLogBox.ignoreLogs(['VirtualizedLists should never be nested']);\n\nconst propTypes = {\n /** The ID used to uniquely identify the input in a Form */\n inputID: PropTypes.string,\n\n /** Saves a draft of the input value when used in a form */\n shouldSaveDraft: PropTypes.bool,\n\n /** Callback that is called when the text input is blurred */\n onBlur: PropTypes.func,\n\n /** Error text to display */\n errorText: PropTypes.string,\n\n /** Hint text to display */\n hint: PropTypes.string,\n\n /** The label to display for the field */\n label: PropTypes.string.isRequired,\n\n /** The value to set the field to initially */\n value: PropTypes.string,\n\n /** The value to set the field to initially */\n defaultValue: PropTypes.string,\n\n /** A callback function when the value of this field has changed */\n onInputChange: PropTypes.func.isRequired,\n\n /** Customize the TextInput container */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n\n /** Should address search be limited to results in the USA */\n isLimitedToUSA: PropTypes.bool,\n\n /** A map of inputID key names */\n renamedInputKeys: PropTypes.shape({\n street: PropTypes.string,\n city: PropTypes.string,\n state: PropTypes.string,\n zipCode: PropTypes.string,\n }),\n\n /** Maximum number of characters allowed in search input */\n maxInputLength: PropTypes.number,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n inputID: undefined,\n shouldSaveDraft: false,\n onBlur: () => {},\n errorText: '',\n hint: '',\n value: undefined,\n defaultValue: undefined,\n containerStyles: [],\n isLimitedToUSA: true,\n renamedInputKeys: {\n street: 'addressStreet',\n city: 'addressCity',\n state: 'addressState',\n zipCode: 'addressZipCode',\n },\n maxInputLength: undefined,\n};\n\n// Do not convert to class component! It's been tried before and presents more challenges than it's worth.\n// Relevant thread: https://expensify.slack.com/archives/C03TQ48KC/p1634088400387400\n// Reference: https://github.com/FaridSafi/react-native-google-places-autocomplete/issues/609#issuecomment-886133839\nconst AddressSearch = (props) => {\n const [displayListViewBorder, setDisplayListViewBorder] = useState(false);\n const query = {language: props.preferredLocale, types: 'address'};\n if (props.isLimitedToUSA) {\n query.components = 'country:us';\n }\n\n const saveLocationDetails = (autocompleteData, details) => {\n const addressComponents = details.address_components;\n if (!addressComponents) {\n return;\n }\n\n // Gather the values from the Google details\n const {\n street_number: streetNumber,\n route: streetName,\n subpremise,\n locality,\n sublocality,\n postal_town: postalTown,\n postal_code: zipCode,\n administrative_area_level_1: state,\n country,\n } = GooglePlacesUtils.getAddressComponents(addressComponents, {\n street_number: 'long_name',\n route: 'long_name',\n subpremise: 'long_name',\n locality: 'long_name',\n sublocality: 'long_name',\n postal_town: 'long_name',\n postal_code: 'long_name',\n administrative_area_level_1: 'short_name',\n country: 'short_name',\n });\n\n // The state's iso code (short_name) is needed for the StatePicker component but we also\n // need the state's full name (long_name) when we render the state in a TextInput.\n const {\n administrative_area_level_1: longStateName,\n } = GooglePlacesUtils.getAddressComponents(addressComponents, {\n administrative_area_level_1: 'long_name',\n });\n\n // Make sure that the order of keys remains such that the country is always set above the state.\n // Refer to https://github.com/Expensify/App/issues/15633 for more information.\n const {\n state: stateAutoCompleteFallback = '',\n city: cityAutocompleteFallback = '',\n } = GooglePlacesUtils.getPlaceAutocompleteTerms(autocompleteData.terms);\n\n const values = {\n street: `${streetNumber} ${streetName}`.trim(),\n\n // Autocomplete returns any additional valid address fragments (e.g. Apt #) as subpremise.\n street2: subpremise,\n\n // When locality is not returned, many countries return the city as postalTown (e.g. 5 New Street\n // Square, London), otherwise as sublocality (e.g. 384 Court Street Brooklyn). If postalTown is\n // returned, the sublocality will be a city subdivision so shouldn't take precedence (e.g.\n // Salagatan, Upssala, Sweden).\n city: locality || postalTown || sublocality || cityAutocompleteFallback,\n zipCode,\n country: '',\n state: state || stateAutoCompleteFallback,\n };\n\n // If the address is not in the US, use the full length state name since we're displaying the address's\n // state / province in a TextInput instead of in a picker.\n if (country !== CONST.COUNTRY.US) {\n values.state = longStateName;\n }\n\n // Not all pages define the Address Line 2 field, so in that case we append any additional address details\n // (e.g. Apt #) to Address Line 1\n if (subpremise && typeof props.renamedInputKeys.street2 === 'undefined') {\n values.street += `, ${subpremise}`;\n }\n\n const isValidCountryCode = lodashGet(CONST.ALL_COUNTRIES, country);\n if (isValidCountryCode) {\n values.country = country;\n }\n\n if (props.inputID) {\n _.each(values, (value, key) => {\n const inputKey = lodashGet(props.renamedInputKeys, key, key);\n props.onInputChange(value, inputKey);\n });\n } else {\n props.onInputChange(values);\n }\n };\n\n return (\n\n /*\n * The GooglePlacesAutocomplete component uses a VirtualizedList internally,\n * and VirtualizedLists cannot be directly nested within other VirtualizedLists of the same orientation.\n * To work around this, we wrap the GooglePlacesAutocomplete component with a horizontal ScrollView\n * that has scrolling disabled and would otherwise not be needed\n */\n \n \n {\n saveLocationDetails(data, details);\n\n // After we select an option, we set displayListViewBorder to false to prevent UI flickering\n setDisplayListViewBorder(false);\n }}\n query={query}\n requestUrl={{\n useOnPlatform: 'all',\n url: ApiUtils.getCommandURL({command: 'Proxy_GooglePlaces&proxyUrl='}),\n }}\n textInputProps={{\n InputComp: TextInput,\n ref: (node) => {\n if (!props.innerRef) {\n return;\n }\n\n if (_.isFunction(props.innerRef)) {\n props.innerRef(node);\n return;\n }\n\n // eslint-disable-next-line no-param-reassign\n props.innerRef.current = node;\n },\n label: props.label,\n containerStyles: props.containerStyles,\n errorText: props.errorText,\n hint: displayListViewBorder ? undefined : props.hint,\n value: props.value,\n defaultValue: props.defaultValue,\n inputID: props.inputID,\n shouldSaveDraft: props.shouldSaveDraft,\n onBlur: props.onBlur,\n autoComplete: 'off',\n onInputChange: (text) => {\n if (props.inputID) {\n props.onInputChange(text);\n } else {\n props.onInputChange({street: text});\n }\n\n // If the text is empty, we set displayListViewBorder to false to prevent UI flickering\n if (_.isEmpty(text)) {\n setDisplayListViewBorder(false);\n }\n },\n maxLength: props.maxInputLength,\n }}\n styles={{\n textInputContainer: [styles.flexColumn],\n listView: [\n StyleUtils.getGoolgeListViewStyle(displayListViewBorder),\n styles.overflowAuto,\n styles.borderLeft,\n styles.borderRight,\n ],\n row: [\n styles.pv4,\n styles.ph3,\n styles.overflowAuto,\n ],\n description: [styles.googleSearchText],\n separator: [styles.googleSearchSeparator],\n }}\n listHoverColor={themeColors.border}\n listUnderlayColor={themeColors.buttonPressedBG}\n onLayout={(event) => {\n // We use the height of the element to determine if we should hide the border of the listView dropdown\n // to prevent a lingering border when there are no address suggestions.\n // The height of the empty element is 2px (1px height for each top and bottom borders)\n setDisplayListViewBorder(event.nativeEvent.layout.height > 2);\n }}\n />\n \n \n );\n};\n\nAddressSearch.propTypes = propTypes;\nAddressSearch.defaultProps = defaultProps;\nAddressSearch.displayName = 'AddressSearch';\n\nexport default withLocalize(React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n)));\n","import _ from 'underscore';\n\n/**\n * Finds an address component by type, and returns the value associated to key. Each address component object\n * inside the addressComponents array has the following structure:\n * [{\n * long_name: \"New York\",\n * short_name: \"New York\",\n * types: [ \"locality\", \"political\" ]\n * }]\n *\n * @param {Array} addressComponents\n * @param {Object} fieldsToExtract – has shape: {addressType: 'keyToUse'}\n * @returns {Object}\n */\nfunction getAddressComponents(addressComponents, fieldsToExtract) {\n const result = _.mapObject(fieldsToExtract, () => '');\n _.each(addressComponents, (addressComponent) => {\n _.each(addressComponent.types, (addressType) => {\n if (!_.has(fieldsToExtract, addressType) || !_.isEmpty(result[addressType])) {\n return;\n }\n const value = addressComponent[fieldsToExtract[addressType]] ? addressComponent[fieldsToExtract[addressType]] : '';\n result[addressType] = value;\n });\n });\n return result;\n}\n\n/**\n * Finds an address term by type, and returns the value associated to key. Note that each term in the address must\n * conform to the following ORDER: \n *\n * @param {Array} addressTerms\n * @returns {Object}\n */\nfunction getPlaceAutocompleteTerms(addressTerms) {\n const fieldsToExtract = ['country', 'state', 'city', 'street'];\n const result = {};\n _.each(fieldsToExtract, (fieldToExtract, index) => {\n const fieldTermIndex = addressTerms.length - (index + 1);\n result[fieldToExtract] = fieldTermIndex >= 0 ? addressTerms[fieldTermIndex].value : '';\n });\n return result;\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n getAddressComponents,\n getPlaceAutocompleteTerms,\n};\n","/* eslint-disable react-native/no-inline-styles */\nimport debounce from 'lodash.debounce';\nimport PropTypes from 'prop-types';\nimport Qs from 'qs';\nimport React, {\n forwardRef,\n useMemo,\n useEffect,\n useImperativeHandle,\n useRef,\n useState,\n} from 'react';\nimport {\n ActivityIndicator,\n FlatList,\n Image,\n Keyboard,\n Platform,\n Pressable,\n ScrollView,\n Text,\n TextInput,\n View,\n} from 'react-native';\n\nconst defaultStyles = {\n container: {\n flex: 1,\n },\n textInputContainer: {\n flexDirection: 'row',\n },\n textInput: {\n backgroundColor: '#FFFFFF',\n height: 44,\n borderRadius: 5,\n paddingVertical: 5,\n paddingHorizontal: 10,\n fontSize: 15,\n flex: 1,\n marginBottom: 5,\n },\n listView: {},\n row: {\n backgroundColor: '#FFFFFF',\n padding: 13,\n minHeight: 44,\n flexDirection: 'row',\n },\n loader: {\n flexDirection: 'row',\n justifyContent: 'flex-end',\n height: 20,\n },\n description: {},\n separator: {\n height: 0.5,\n backgroundColor: '#c8c7cc',\n },\n poweredContainer: {\n justifyContent: 'flex-end',\n alignItems: 'center',\n borderBottomRightRadius: 5,\n borderBottomLeftRadius: 5,\n borderColor: '#c8c7cc',\n borderTopWidth: 0.5,\n },\n powered: {},\n};\n\nexport const GooglePlacesAutocomplete = forwardRef((props, ref) => {\n let _results = [];\n let _requests = [];\n\n const hasNavigator = () => {\n if (navigator?.geolocation) {\n return true;\n } else {\n console.warn(\n 'If you are using React Native v0.60.0+ you must follow these instructions to enable currentLocation: https://git.io/Jf4AR',\n );\n return false;\n }\n };\n\n const buildRowsFromResults = (results) => {\n let res = [];\n\n if (results.length === 0 || props.predefinedPlacesAlwaysVisible === true) {\n res = [\n ...props.predefinedPlaces.filter((place) => place?.description.length),\n ];\n\n if (props.currentLocation === true && hasNavigator()) {\n res.unshift({\n description: props.currentLocationLabel,\n isCurrentLocation: true,\n });\n }\n }\n\n res = res.map((place) => ({\n ...place,\n isPredefinedPlace: true,\n }));\n\n return [...res, ...results];\n };\n\n const getRequestUrl = (requestUrl) => {\n if (requestUrl) {\n if (requestUrl.useOnPlatform === 'all') {\n return requestUrl.url;\n }\n if (requestUrl.useOnPlatform === 'web') {\n return Platform.select({\n web: requestUrl.url,\n default: 'https://maps.googleapis.com/maps/api',\n });\n }\n } else {\n return 'https://maps.googleapis.com/maps/api';\n }\n };\n\n const getRequestHeaders = (requestUrl) => {\n return requestUrl?.headers || {};\n };\n\n const setRequestHeaders = (request, headers) => {\n Object.keys(headers).map((headerKey) =>\n request.setRequestHeader(headerKey, headers[headerKey]),\n );\n };\n\n const [stateText, setStateText] = useState('');\n const [dataSource, setDataSource] = useState(buildRowsFromResults([]));\n const [listViewDisplayed, setListViewDisplayed] = useState(\n props.listViewDisplayed === 'auto' ? false : props.listViewDisplayed,\n );\n const [url] = useState(getRequestUrl(props.requestUrl));\n\n const inputRef = useRef();\n const containerRef = useRef();\n\n useEffect(() => {\n if (Platform.OS !== 'web' || !listViewDisplayed) {\n return;\n }\n\n // This will close search results list when user clicks outside the container\n const outsideClickHandler = (e) => {\n if (containerRef.current?.contains(e.target)) {\n return;\n }\n setListViewDisplayed(false);\n };\n\n document.addEventListener('mousedown', outsideClickHandler);\n\n return () => document.removeEventListener('mousedown', outsideClickHandler);\n }, [listViewDisplayed]);\n\n useEffect(() => {\n // This will load the default value's search results after the view has\n // been rendered\n _handleChangeText(stateText);\n return () => {\n _abortRequests();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n useEffect(() => {\n // Update dataSource if props.predefinedPlaces changed\n setDataSource(buildRowsFromResults([]));\n }, [props.predefinedPlaces]);\n\n useImperativeHandle(ref, () => ({\n setAddressText: (address) => {\n setStateText(address);\n },\n getAddressText: () => stateText,\n blur: () => inputRef.current.blur(),\n focus: () => inputRef.current.focus(),\n isFocused: () => inputRef.current.isFocused(),\n clear: () => inputRef.current.clear(),\n getCurrentLocation,\n }));\n\n const requestShouldUseWithCredentials = () =>\n url === 'https://maps.googleapis.com/maps/api';\n\n const _abortRequests = () => {\n _requests.map((i) => i.abort());\n _requests = [];\n };\n\n const supportedPlatform = () => {\n if (Platform.OS === 'web' && !props.requestUrl) {\n console.warn(\n 'This library cannot be used for the web unless you specify the requestUrl prop. See https://git.io/JflFv for more for details.',\n );\n return false;\n } else {\n return true;\n }\n };\n\n const getCurrentLocation = () => {\n let options = {\n enableHighAccuracy: false,\n timeout: 20000,\n maximumAge: 1000,\n };\n\n if (props.enableHighAccuracyLocation && Platform.OS === 'android') {\n options = {\n enableHighAccuracy: true,\n timeout: 20000,\n };\n }\n const getCurrentPosition =\n navigator.geolocation.getCurrentPosition ||\n navigator.geolocation.default.getCurrentPosition;\n\n getCurrentPosition &&\n getCurrentPosition(\n (position) => {\n if (props.nearbyPlacesAPI === 'None') {\n let currentLocation = {\n description: props.currentLocationLabel,\n geometry: {\n location: {\n lat: position.coords.latitude,\n lng: position.coords.longitude,\n },\n },\n };\n\n _disableRowLoaders();\n props.onPress(currentLocation, currentLocation);\n } else {\n _requestNearby(position.coords.latitude, position.coords.longitude);\n }\n },\n (error) => {\n _disableRowLoaders();\n console.error(error.message);\n },\n options,\n );\n };\n\n const _onPress = (rowData) => {\n if (rowData.isPredefinedPlace !== true && props.fetchDetails === true) {\n if (rowData.isLoading === true) {\n // already requesting\n return;\n }\n\n Keyboard.dismiss();\n\n _abortRequests();\n\n // display loader\n _enableRowLoader(rowData);\n\n // fetch details\n const request = new XMLHttpRequest();\n _requests.push(request);\n request.timeout = props.timeout;\n request.ontimeout = props.onTimeout;\n request.onreadystatechange = () => {\n if (request.readyState !== 4) return;\n\n if (request.status === 200) {\n const responseJSON = JSON.parse(request.responseText);\n\n if (responseJSON.status === 'OK') {\n // if (_isMounted === true) {\n const details = responseJSON.result;\n _disableRowLoaders();\n _onBlur();\n\n setStateText(_renderDescription(rowData));\n\n delete rowData.isLoading;\n props.onPress(rowData, details);\n // }\n } else {\n _disableRowLoaders();\n\n if (props.autoFillOnNotFound) {\n setStateText(_renderDescription(rowData));\n delete rowData.isLoading;\n }\n\n if (!props.onNotFound) {\n console.warn(\n 'google places autocomplete: ' + responseJSON.status,\n );\n } else {\n props.onNotFound(responseJSON);\n }\n }\n } else {\n _disableRowLoaders();\n\n if (!props.onFail) {\n console.warn(\n 'google places autocomplete: request could not be completed or has been aborted',\n );\n } else {\n props.onFail('request could not be completed or has been aborted');\n }\n }\n };\n\n request.open(\n 'GET',\n `${url}/place/details/json?` +\n Qs.stringify({\n key: props.query.key,\n placeid: rowData.place_id,\n language: props.query.language,\n ...props.GooglePlacesDetailsQuery,\n }),\n );\n\n request.withCredentials = requestShouldUseWithCredentials();\n setRequestHeaders(request, getRequestHeaders(props.requestUrl));\n\n request.send();\n } else if (rowData.isCurrentLocation === true) {\n // display loader\n _enableRowLoader(rowData);\n\n setStateText(_renderDescription(rowData));\n\n delete rowData.isLoading;\n getCurrentLocation();\n } else {\n setStateText(_renderDescription(rowData));\n\n _onBlur();\n delete rowData.isLoading;\n let predefinedPlace = _getPredefinedPlace(rowData);\n\n // sending predefinedPlace as details for predefined places\n props.onPress(predefinedPlace, predefinedPlace);\n }\n };\n\n const _enableRowLoader = (rowData) => {\n let rows = buildRowsFromResults(_results);\n for (let i = 0; i < rows.length; i++) {\n if (\n rows[i].place_id === rowData.place_id ||\n (rows[i].isCurrentLocation === true &&\n rowData.isCurrentLocation === true)\n ) {\n rows[i].isLoading = true;\n setDataSource(rows);\n break;\n }\n }\n };\n\n const _disableRowLoaders = () => {\n // if (_isMounted === true) {\n for (let i = 0; i < _results.length; i++) {\n if (_results[i].isLoading === true) {\n _results[i].isLoading = false;\n }\n }\n\n setDataSource(buildRowsFromResults(_results));\n // }\n };\n\n const _getPredefinedPlace = (rowData) => {\n if (rowData.isPredefinedPlace !== true) {\n return rowData;\n }\n\n for (let i = 0; i < props.predefinedPlaces.length; i++) {\n if (props.predefinedPlaces[i].description === rowData.description) {\n return props.predefinedPlaces[i];\n }\n }\n\n return rowData;\n };\n\n const _filterResultsByTypes = (unfilteredResults, types) => {\n if (types.length === 0) return unfilteredResults;\n\n const results = [];\n for (let i = 0; i < unfilteredResults.length; i++) {\n let found = false;\n\n for (let j = 0; j < types.length; j++) {\n if (unfilteredResults[i].types.indexOf(types[j]) !== -1) {\n found = true;\n break;\n }\n }\n\n if (found === true) {\n results.push(unfilteredResults[i]);\n }\n }\n return results;\n };\n\n const _requestNearby = (latitude, longitude) => {\n _abortRequests();\n\n if (\n latitude !== undefined &&\n longitude !== undefined &&\n latitude !== null &&\n longitude !== null\n ) {\n const request = new XMLHttpRequest();\n _requests.push(request);\n request.timeout = props.timeout;\n request.ontimeout = props.onTimeout;\n request.onreadystatechange = () => {\n if (request.readyState !== 4) {\n return;\n }\n\n if (request.status === 200) {\n const responseJSON = JSON.parse(request.responseText);\n\n _disableRowLoaders();\n\n if (typeof responseJSON.results !== 'undefined') {\n // if (_isMounted === true) {\n var results = [];\n if (props.nearbyPlacesAPI === 'GoogleReverseGeocoding') {\n results = _filterResultsByTypes(\n responseJSON.results,\n props.filterReverseGeocodingByTypes,\n );\n } else {\n results = responseJSON.results;\n }\n\n setDataSource(buildRowsFromResults(results));\n // }\n }\n if (typeof responseJSON.error_message !== 'undefined') {\n if (!props.onFail)\n console.warn(\n 'google places autocomplete: ' + responseJSON.error_message,\n );\n else {\n props.onFail(responseJSON.error_message);\n }\n }\n } else {\n // console.warn(\"google places autocomplete: request could not be completed or has been aborted\");\n }\n };\n\n let requestUrl = '';\n if (props.nearbyPlacesAPI === 'GoogleReverseGeocoding') {\n // your key must be allowed to use Google Maps Geocoding API\n requestUrl =\n `${url}/geocode/json?` +\n Qs.stringify({\n latlng: latitude + ',' + longitude,\n key: props.query.key,\n ...props.GoogleReverseGeocodingQuery,\n });\n } else {\n requestUrl =\n `${url}/place/nearbysearch/json?` +\n Qs.stringify({\n location: latitude + ',' + longitude,\n key: props.query.key,\n ...props.GooglePlacesSearchQuery,\n });\n }\n\n request.open('GET', requestUrl);\n\n request.withCredentials = requestShouldUseWithCredentials();\n setRequestHeaders(request, getRequestHeaders(props.requestUrl));\n\n request.send();\n } else {\n _results = [];\n setDataSource(buildRowsFromResults([]));\n }\n };\n\n const _request = (text) => {\n _abortRequests();\n if (supportedPlatform() && text && text.length >= props.minLength) {\n const request = new XMLHttpRequest();\n _requests.push(request);\n request.timeout = props.timeout;\n request.ontimeout = props.onTimeout;\n request.onreadystatechange = () => {\n if (request.readyState !== 4) {\n return;\n }\n\n if (request.status === 200) {\n const responseJSON = JSON.parse(request.responseText);\n if (typeof responseJSON.predictions !== 'undefined') {\n // if (_isMounted === true) {\n const results =\n props.nearbyPlacesAPI === 'GoogleReverseGeocoding'\n ? _filterResultsByTypes(\n responseJSON.predictions,\n props.filterReverseGeocodingByTypes,\n )\n : responseJSON.predictions;\n\n _results = results;\n setDataSource(buildRowsFromResults(results));\n // }\n }\n if (typeof responseJSON.error_message !== 'undefined') {\n if (!props.onFail)\n console.warn(\n 'google places autocomplete: ' + responseJSON.error_message,\n );\n else {\n props.onFail(responseJSON.error_message);\n }\n }\n } else {\n // console.warn(\"google places autocomplete: request could not be completed or has been aborted\");\n }\n };\n\n if (props.preProcess) {\n setStateText(props.preProcess(text));\n }\n\n request.open(\n 'GET',\n `${url}/place/autocomplete/json?input=` +\n encodeURIComponent(text) +\n '&' +\n Qs.stringify(props.query),\n );\n\n request.withCredentials = requestShouldUseWithCredentials();\n setRequestHeaders(request, getRequestHeaders(props.requestUrl));\n\n request.send();\n } else {\n _results = [];\n setDataSource(buildRowsFromResults([]));\n }\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n const debounceData = useMemo(() => debounce(_request, props.debounce), [\n props.query,\n ]);\n\n const _onChangeText = (text) => {\n setStateText(text);\n debounceData(text);\n };\n\n const _handleChangeText = (text) => {\n _onChangeText(text);\n\n const onChangeText = props?.textInputProps?.onChangeText;\n\n if (onChangeText) {\n onChangeText(text);\n }\n };\n\n const _getRowLoader = () => {\n return ;\n };\n\n const _renderRowData = (rowData, index) => {\n if (props.renderRow) {\n return props.renderRow(rowData, index);\n }\n\n return (\n \n {_renderDescription(rowData)}\n \n );\n };\n\n const _renderDescription = (rowData) => {\n if (props.renderDescription) {\n return props.renderDescription(rowData);\n }\n\n return rowData.description || rowData.formatted_address || rowData.name;\n };\n\n const _renderLoader = (rowData) => {\n if (rowData.isLoading === true) {\n return (\n \n {_getRowLoader()}\n \n );\n }\n\n return null;\n };\n\n const _renderRow = (rowData = {}, index) => {\n return (\n \n [\n props.isRowScrollable ? { minWidth: '100%' } : { width: '100%' },\n {\n backgroundColor: pressed\n ? props.listUnderlayColor\n : hovered\n ? props.listHoverColor\n : undefined,\n },\n ]}\n onPress={() => _onPress(rowData)}\n onBlur={_onBlur}\n >\n \n {_renderLoader(rowData)}\n {_renderRowData(rowData, index)}\n \n \n \n );\n };\n\n const _renderSeparator = (sectionID, rowID) => {\n if (rowID === dataSource.length - 1) {\n return null;\n }\n\n return (\n \n );\n };\n\n const isNewFocusInAutocompleteResultList = ({\n relatedTarget,\n currentTarget,\n }) => {\n if (!relatedTarget) return false;\n\n var node = relatedTarget.parentNode;\n\n while (node) {\n if (node.id === 'result-list-id') return true;\n node = node.parentNode;\n }\n\n return false;\n };\n\n const _onBlur = (e) => {\n if (e && isNewFocusInAutocompleteResultList(e)) return;\n\n if (!props.keepResultsAfterBlur) {\n setListViewDisplayed(false);\n }\n inputRef?.current?.blur();\n };\n\n const _onFocus = () => setListViewDisplayed(true);\n\n const _renderPoweredLogo = () => {\n if (!_shouldShowPoweredLogo()) {\n return null;\n }\n\n return (\n \n \n \n );\n };\n\n const _shouldShowPoweredLogo = () => {\n if (!props.enablePoweredByContainer || dataSource.length === 0) {\n return false;\n }\n\n for (let i = 0; i < dataSource.length; i++) {\n let row = dataSource[i];\n\n if (\n !row.hasOwnProperty('isCurrentLocation') &&\n !row.hasOwnProperty('isPredefinedPlace')\n ) {\n return true;\n }\n }\n\n return false;\n };\n\n const _renderLeftButton = () => {\n if (props.renderLeftButton) {\n return props.renderLeftButton();\n }\n };\n\n const _renderRightButton = () => {\n if (props.renderRightButton) {\n return props.renderRightButton();\n }\n };\n\n const _getFlatList = () => {\n const keyGenerator = () => Math.random().toString(36).substr(2, 10);\n\n if (\n supportedPlatform() &&\n (stateText !== '' ||\n props.predefinedPlaces.length > 0 ||\n props.currentLocation === true) &&\n listViewDisplayed === true\n ) {\n return (\n _renderRow(item, index)}\n ListEmptyComponent={\n stateText.length > props.minLength && props.listEmptyComponent\n }\n ListHeaderComponent={\n props.renderHeaderComponent &&\n props.renderHeaderComponent(stateText)\n }\n ListFooterComponent={_renderPoweredLogo}\n {...props}\n />\n );\n }\n\n return null;\n };\n\n let {\n onFocus,\n onBlur,\n onChangeText, // destructuring here stops this being set after onChangeText={_handleChangeText}\n clearButtonMode,\n InputComp,\n ...userProps\n } = props.textInputProps;\n const TextInputComp = InputComp || TextInput;\n return (\n \n {!props.textInputHide && (\n \n {_renderLeftButton()}\n {\n _onFocus();\n onFocus();\n }\n : _onFocus\n }\n onBlur={\n onBlur\n ? (e) => {\n _onBlur(e);\n onBlur();\n }\n : _onBlur\n }\n clearButtonMode={clearButtonMode || 'while-editing'}\n onChangeText={_handleChangeText}\n {...userProps}\n />\n {_renderRightButton()}\n \n )}\n {_getFlatList()}\n {props.children}\n \n );\n});\n\nGooglePlacesAutocomplete.propTypes = {\n autoFillOnNotFound: PropTypes.bool,\n currentLocation: PropTypes.bool,\n currentLocationLabel: PropTypes.string,\n debounce: PropTypes.number,\n disableScroll: PropTypes.bool,\n enableHighAccuracyLocation: PropTypes.bool,\n enablePoweredByContainer: PropTypes.bool,\n fetchDetails: PropTypes.bool,\n filterReverseGeocodingByTypes: PropTypes.array,\n GooglePlacesDetailsQuery: PropTypes.object,\n GooglePlacesSearchQuery: PropTypes.object,\n GoogleReverseGeocodingQuery: PropTypes.object,\n isRowScrollable: PropTypes.bool,\n keyboardShouldPersistTaps: PropTypes.oneOf(['never', 'always', 'handled']),\n listEmptyComponent: PropTypes.func,\n listHoverColor: PropTypes.string,\n listUnderlayColor: PropTypes.string,\n // Must write it this way: https://stackoverflow.com/a/54290946/7180620\n listViewDisplayed: PropTypes.oneOfType([\n PropTypes.bool,\n PropTypes.oneOf(['auto']),\n ]),\n keepResultsAfterBlur: PropTypes.bool,\n minLength: PropTypes.number,\n nearbyPlacesAPI: PropTypes.string,\n numberOfLines: PropTypes.number,\n onFail: PropTypes.func,\n onNotFound: PropTypes.func,\n onPress: PropTypes.func,\n onTimeout: PropTypes.func,\n placeholder: PropTypes.string,\n predefinedPlaces: PropTypes.array,\n predefinedPlacesAlwaysVisible: PropTypes.bool,\n preProcess: PropTypes.func,\n query: PropTypes.object,\n renderDescription: PropTypes.func,\n renderHeaderComponent: PropTypes.func,\n renderLeftButton: PropTypes.func,\n renderRightButton: PropTypes.func,\n renderRow: PropTypes.func,\n requestUrl: PropTypes.shape({\n url: PropTypes.string,\n useOnPlatform: PropTypes.oneOf(['web', 'all']),\n headers: PropTypes.objectOf(PropTypes.string),\n }),\n styles: PropTypes.object,\n suppressDefaultStyles: PropTypes.bool,\n textInputHide: PropTypes.bool,\n textInputProps: PropTypes.object,\n timeout: PropTypes.number,\n};\n\nGooglePlacesAutocomplete.defaultProps = {\n autoFillOnNotFound: false,\n currentLocation: false,\n currentLocationLabel: 'Current location',\n debounce: 0,\n disableScroll: false,\n enableHighAccuracyLocation: true,\n enablePoweredByContainer: true,\n fetchDetails: false,\n filterReverseGeocodingByTypes: [],\n GooglePlacesDetailsQuery: {},\n GooglePlacesSearchQuery: {\n rankby: 'distance',\n type: 'restaurant',\n },\n GoogleReverseGeocodingQuery: {},\n isRowScrollable: true,\n keyboardShouldPersistTaps: 'always',\n listHoverColor: '#ececec',\n listUnderlayColor: '#c8c7cc',\n listViewDisplayed: 'auto',\n keepResultsAfterBlur: false,\n minLength: 0,\n nearbyPlacesAPI: 'GooglePlacesSearch',\n numberOfLines: 1,\n onFail: () => {},\n onNotFound: () => {},\n onPress: () => {},\n onTimeout: () => console.warn('google places autocomplete: request timeout'),\n placeholder: '',\n predefinedPlaces: [],\n predefinedPlacesAlwaysVisible: false,\n query: {\n key: 'missing api key',\n language: 'en',\n types: 'geocode',\n },\n styles: {},\n suppressDefaultStyles: false,\n textInputHide: false,\n textInputProps: {},\n timeout: 20000,\n};\n\nexport default { GooglePlacesAutocomplete };\n","/**\n * lodash (Custom Build) \n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors \n * Released under MIT license \n * Based on Underscore.js 1.8.3 \n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n","'use strict';\n\nvar stringify = require('./stringify');\nvar parse = require('./parse');\nvar formats = require('./formats');\n\nmodule.exports = {\n formats: formats,\n parse: parse,\n stringify: stringify\n};\n","'use strict';\n\nvar replace = String.prototype.replace;\nvar percentTwenties = /%20/g;\n\nvar Format = {\n RFC1738: 'RFC1738',\n RFC3986: 'RFC3986'\n};\n\nmodule.exports = {\n 'default': Format.RFC3986,\n formatters: {\n RFC1738: function (value) {\n return replace.call(value, percentTwenties, '+');\n },\n RFC3986: function (value) {\n return String(value);\n }\n },\n RFC1738: Format.RFC1738,\n RFC3986: Format.RFC3986\n};\n","'use strict';\n\nvar utils = require('./utils');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar defaults = {\n allowDots: false,\n allowPrototypes: false,\n arrayLimit: 20,\n charset: 'utf-8',\n charsetSentinel: false,\n comma: false,\n decoder: utils.decode,\n delimiter: '&',\n depth: 5,\n ignoreQueryPrefix: false,\n interpretNumericEntities: false,\n parameterLimit: 1000,\n parseArrays: true,\n plainObjects: false,\n strictNullHandling: false\n};\n\nvar interpretNumericEntities = function (str) {\n return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n return String.fromCharCode(parseInt(numberStr, 10));\n });\n};\n\nvar parseArrayValue = function (val, options) {\n if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n return val.split(',');\n }\n\n return val;\n};\n\n// This is what browsers will submit when the ✓ character occurs in an\n// application/x-www-form-urlencoded body and the encoding of the page containing\n// the form is iso-8859-1, or when the submitted form has an accept-charset\n// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n// the ✓ character, such as us-ascii.\nvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\nvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\nvar parseValues = function parseQueryStringValues(str, options) {\n var obj = {};\n var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n var parts = cleanStr.split(options.delimiter, limit);\n var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n var i;\n\n var charset = options.charset;\n if (options.charsetSentinel) {\n for (i = 0; i < parts.length; ++i) {\n if (parts[i].indexOf('utf8=') === 0) {\n if (parts[i] === charsetSentinel) {\n charset = 'utf-8';\n } else if (parts[i] === isoSentinel) {\n charset = 'iso-8859-1';\n }\n skipIndex = i;\n i = parts.length; // The eslint settings do not allow break;\n }\n }\n }\n\n for (i = 0; i < parts.length; ++i) {\n if (i === skipIndex) {\n continue;\n }\n var part = parts[i];\n\n var bracketEqualsPos = part.indexOf(']=');\n var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n var key, val;\n if (pos === -1) {\n key = options.decoder(part, defaults.decoder, charset, 'key');\n val = options.strictNullHandling ? null : '';\n } else {\n key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');\n val = utils.maybeMap(\n parseArrayValue(part.slice(pos + 1), options),\n function (encodedVal) {\n return options.decoder(encodedVal, defaults.decoder, charset, 'value');\n }\n );\n }\n\n if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n val = interpretNumericEntities(val);\n }\n\n if (part.indexOf('[]=') > -1) {\n val = isArray(val) ? [val] : val;\n }\n\n if (has.call(obj, key)) {\n obj[key] = utils.combine(obj[key], val);\n } else {\n obj[key] = val;\n }\n }\n\n return obj;\n};\n\nvar parseObject = function (chain, val, options, valuesParsed) {\n var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n for (var i = chain.length - 1; i >= 0; --i) {\n var obj;\n var root = chain[i];\n\n if (root === '[]' && options.parseArrays) {\n obj = [].concat(leaf);\n } else {\n obj = options.plainObjects ? Object.create(null) : {};\n var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n var index = parseInt(cleanRoot, 10);\n if (!options.parseArrays && cleanRoot === '') {\n obj = { 0: leaf };\n } else if (\n !isNaN(index)\n && root !== cleanRoot\n && String(index) === cleanRoot\n && index >= 0\n && (options.parseArrays && index <= options.arrayLimit)\n ) {\n obj = [];\n obj[index] = leaf;\n } else if (cleanRoot !== '__proto__') {\n obj[cleanRoot] = leaf;\n }\n }\n\n leaf = obj;\n }\n\n return leaf;\n};\n\nvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n if (!givenKey) {\n return;\n }\n\n // Transform dot notation to bracket notation\n var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n // The regex chunks\n\n var brackets = /(\\[[^[\\]]*])/;\n var child = /(\\[[^[\\]]*])/g;\n\n // Get the parent\n\n var segment = options.depth > 0 && brackets.exec(key);\n var parent = segment ? key.slice(0, segment.index) : key;\n\n // Stash the parent if it exists\n\n var keys = [];\n if (parent) {\n // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n if (!options.plainObjects && has.call(Object.prototype, parent)) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n\n keys.push(parent);\n }\n\n // Loop through children appending to the array until we hit depth\n\n var i = 0;\n while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n i += 1;\n if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {\n if (!options.allowPrototypes) {\n return;\n }\n }\n keys.push(segment[1]);\n }\n\n // If there's a remainder, just add whatever is left\n\n if (segment) {\n keys.push('[' + key.slice(segment.index) + ']');\n }\n\n return parseObject(keys, val, options, valuesParsed);\n};\n\nvar normalizeParseOptions = function normalizeParseOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n throw new TypeError('Decoder has to be a function.');\n }\n\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;\n\n return {\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,\n arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,\n decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,\n delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,\n // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,\n ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,\n parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,\n parseArrays: opts.parseArrays !== false,\n plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (str, opts) {\n var options = normalizeParseOptions(opts);\n\n if (str === '' || str === null || typeof str === 'undefined') {\n return options.plainObjects ? Object.create(null) : {};\n }\n\n var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n var obj = options.plainObjects ? Object.create(null) : {};\n\n // Iterate over the keys and setup the new object\n\n var keys = Object.keys(tempObj);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n obj = utils.merge(obj, newObj, options);\n }\n\n return utils.compact(obj);\n};\n","'use strict';\n\nvar formats = require('./formats');\n\nvar has = Object.prototype.hasOwnProperty;\nvar isArray = Array.isArray;\n\nvar hexTable = (function () {\n var array = [];\n for (var i = 0; i < 256; ++i) {\n array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n }\n\n return array;\n}());\n\nvar compactQueue = function compactQueue(queue) {\n while (queue.length > 1) {\n var item = queue.pop();\n var obj = item.obj[item.prop];\n\n if (isArray(obj)) {\n var compacted = [];\n\n for (var j = 0; j < obj.length; ++j) {\n if (typeof obj[j] !== 'undefined') {\n compacted.push(obj[j]);\n }\n }\n\n item.obj[item.prop] = compacted;\n }\n }\n};\n\nvar arrayToObject = function arrayToObject(source, options) {\n var obj = options && options.plainObjects ? Object.create(null) : {};\n for (var i = 0; i < source.length; ++i) {\n if (typeof source[i] !== 'undefined') {\n obj[i] = source[i];\n }\n }\n\n return obj;\n};\n\nvar merge = function merge(target, source, options) {\n /* eslint no-param-reassign: 0 */\n if (!source) {\n return target;\n }\n\n if (typeof source !== 'object') {\n if (isArray(target)) {\n target.push(source);\n } else if (target && typeof target === 'object') {\n if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {\n target[source] = true;\n }\n } else {\n return [target, source];\n }\n\n return target;\n }\n\n if (!target || typeof target !== 'object') {\n return [target].concat(source);\n }\n\n var mergeTarget = target;\n if (isArray(target) && !isArray(source)) {\n mergeTarget = arrayToObject(target, options);\n }\n\n if (isArray(target) && isArray(source)) {\n source.forEach(function (item, i) {\n if (has.call(target, i)) {\n var targetItem = target[i];\n if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n target[i] = merge(targetItem, item, options);\n } else {\n target.push(item);\n }\n } else {\n target[i] = item;\n }\n });\n return target;\n }\n\n return Object.keys(source).reduce(function (acc, key) {\n var value = source[key];\n\n if (has.call(acc, key)) {\n acc[key] = merge(acc[key], value, options);\n } else {\n acc[key] = value;\n }\n return acc;\n }, mergeTarget);\n};\n\nvar assign = function assignSingleSource(target, source) {\n return Object.keys(source).reduce(function (acc, key) {\n acc[key] = source[key];\n return acc;\n }, target);\n};\n\nvar decode = function (str, decoder, charset) {\n var strWithoutPlus = str.replace(/\\+/g, ' ');\n if (charset === 'iso-8859-1') {\n // unescape never throws, no try...catch needed:\n return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n }\n // utf-8\n try {\n return decodeURIComponent(strWithoutPlus);\n } catch (e) {\n return strWithoutPlus;\n }\n};\n\nvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n // It has been adapted here for stricter adherence to RFC 3986\n if (str.length === 0) {\n return str;\n }\n\n var string = str;\n if (typeof str === 'symbol') {\n string = Symbol.prototype.toString.call(str);\n } else if (typeof str !== 'string') {\n string = String(str);\n }\n\n if (charset === 'iso-8859-1') {\n return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n });\n }\n\n var out = '';\n for (var i = 0; i < string.length; ++i) {\n var c = string.charCodeAt(i);\n\n if (\n c === 0x2D // -\n || c === 0x2E // .\n || c === 0x5F // _\n || c === 0x7E // ~\n || (c >= 0x30 && c <= 0x39) // 0-9\n || (c >= 0x41 && c <= 0x5A) // a-z\n || (c >= 0x61 && c <= 0x7A) // A-Z\n || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n ) {\n out += string.charAt(i);\n continue;\n }\n\n if (c < 0x80) {\n out = out + hexTable[c];\n continue;\n }\n\n if (c < 0x800) {\n out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n if (c < 0xD800 || c >= 0xE000) {\n out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n continue;\n }\n\n i += 1;\n c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n /* eslint operator-linebreak: [2, \"before\"] */\n out += hexTable[0xF0 | (c >> 18)]\n + hexTable[0x80 | ((c >> 12) & 0x3F)]\n + hexTable[0x80 | ((c >> 6) & 0x3F)]\n + hexTable[0x80 | (c & 0x3F)];\n }\n\n return out;\n};\n\nvar compact = function compact(value) {\n var queue = [{ obj: { o: value }, prop: 'o' }];\n var refs = [];\n\n for (var i = 0; i < queue.length; ++i) {\n var item = queue[i];\n var obj = item.obj[item.prop];\n\n var keys = Object.keys(obj);\n for (var j = 0; j < keys.length; ++j) {\n var key = keys[j];\n var val = obj[key];\n if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n queue.push({ obj: obj, prop: key });\n refs.push(val);\n }\n }\n }\n\n compactQueue(queue);\n\n return value;\n};\n\nvar isRegExp = function isRegExp(obj) {\n return Object.prototype.toString.call(obj) === '[object RegExp]';\n};\n\nvar isBuffer = function isBuffer(obj) {\n if (!obj || typeof obj !== 'object') {\n return false;\n }\n\n return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n};\n\nvar combine = function combine(a, b) {\n return [].concat(a, b);\n};\n\nvar maybeMap = function maybeMap(val, fn) {\n if (isArray(val)) {\n var mapped = [];\n for (var i = 0; i < val.length; i += 1) {\n mapped.push(fn(val[i]));\n }\n return mapped;\n }\n return fn(val);\n};\n\nmodule.exports = {\n arrayToObject: arrayToObject,\n assign: assign,\n combine: combine,\n compact: compact,\n decode: decode,\n encode: encode,\n isBuffer: isBuffer,\n isRegExp: isRegExp,\n maybeMap: maybeMap,\n merge: merge\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar formats = require('./formats');\nvar has = Object.prototype.hasOwnProperty;\n\nvar arrayPrefixGenerators = {\n brackets: function brackets(prefix) {\n return prefix + '[]';\n },\n comma: 'comma',\n indices: function indices(prefix, key) {\n return prefix + '[' + key + ']';\n },\n repeat: function repeat(prefix) {\n return prefix;\n }\n};\n\nvar isArray = Array.isArray;\nvar split = String.prototype.split;\nvar push = Array.prototype.push;\nvar pushToArray = function (arr, valueOrArray) {\n push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);\n};\n\nvar toISO = Date.prototype.toISOString;\n\nvar defaultFormat = formats['default'];\nvar defaults = {\n addQueryPrefix: false,\n allowDots: false,\n charset: 'utf-8',\n charsetSentinel: false,\n delimiter: '&',\n encode: true,\n encoder: utils.encode,\n encodeValuesOnly: false,\n format: defaultFormat,\n formatter: formats.formatters[defaultFormat],\n // deprecated\n indices: false,\n serializeDate: function serializeDate(date) {\n return toISO.call(date);\n },\n skipNulls: false,\n strictNullHandling: false\n};\n\nvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n return typeof v === 'string'\n || typeof v === 'number'\n || typeof v === 'boolean'\n || typeof v === 'symbol'\n || typeof v === 'bigint';\n};\n\nvar stringify = function stringify(\n object,\n prefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset\n) {\n var obj = object;\n if (typeof filter === 'function') {\n obj = filter(prefix, obj);\n } else if (obj instanceof Date) {\n obj = serializeDate(obj);\n } else if (generateArrayPrefix === 'comma' && isArray(obj)) {\n obj = utils.maybeMap(obj, function (value) {\n if (value instanceof Date) {\n return serializeDate(value);\n }\n return value;\n });\n }\n\n if (obj === null) {\n if (strictNullHandling) {\n return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n }\n\n obj = '';\n }\n\n if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n if (encoder) {\n var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n if (generateArrayPrefix === 'comma' && encodeValuesOnly) {\n var valuesArray = split.call(String(obj), ',');\n var valuesJoined = '';\n for (var i = 0; i < valuesArray.length; ++i) {\n valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));\n }\n return [formatter(keyValue) + '=' + valuesJoined];\n }\n return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n }\n return [formatter(prefix) + '=' + formatter(String(obj))];\n }\n\n var values = [];\n\n if (typeof obj === 'undefined') {\n return values;\n }\n\n var objKeys;\n if (generateArrayPrefix === 'comma' && isArray(obj)) {\n // we need to join elements in\n objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n } else if (isArray(filter)) {\n objKeys = filter;\n } else {\n var keys = Object.keys(obj);\n objKeys = sort ? keys.sort(sort) : keys;\n }\n\n for (var j = 0; j < objKeys.length; ++j) {\n var key = objKeys[j];\n var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n if (skipNulls && value === null) {\n continue;\n }\n\n var keyPrefix = isArray(obj)\n ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix\n : prefix + (allowDots ? '.' + key : '[' + key + ']');\n\n pushToArray(values, stringify(\n value,\n keyPrefix,\n generateArrayPrefix,\n strictNullHandling,\n skipNulls,\n encoder,\n filter,\n sort,\n allowDots,\n serializeDate,\n format,\n formatter,\n encodeValuesOnly,\n charset\n ));\n }\n\n return values;\n};\n\nvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n if (!opts) {\n return defaults;\n }\n\n if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n throw new TypeError('Encoder has to be a function.');\n }\n\n var charset = opts.charset || defaults.charset;\n if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n }\n\n var format = formats['default'];\n if (typeof opts.format !== 'undefined') {\n if (!has.call(formats.formatters, opts.format)) {\n throw new TypeError('Unknown format option provided.');\n }\n format = opts.format;\n }\n var formatter = formats.formatters[format];\n\n var filter = defaults.filter;\n if (typeof opts.filter === 'function' || isArray(opts.filter)) {\n filter = opts.filter;\n }\n\n return {\n addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n charset: charset,\n charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n filter: filter,\n format: format,\n formatter: formatter,\n serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n sort: typeof opts.sort === 'function' ? opts.sort : null,\n strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n };\n};\n\nmodule.exports = function (object, opts) {\n var obj = object;\n var options = normalizeStringifyOptions(opts);\n\n var objKeys;\n var filter;\n\n if (typeof options.filter === 'function') {\n filter = options.filter;\n obj = filter('', obj);\n } else if (isArray(options.filter)) {\n filter = options.filter;\n objKeys = filter;\n }\n\n var keys = [];\n\n if (typeof obj !== 'object' || obj === null) {\n return '';\n }\n\n var arrayFormat;\n if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n arrayFormat = opts.arrayFormat;\n } else if (opts && 'indices' in opts) {\n arrayFormat = opts.indices ? 'indices' : 'repeat';\n } else {\n arrayFormat = 'indices';\n }\n\n var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\n if (!objKeys) {\n objKeys = Object.keys(obj);\n }\n\n if (options.sort) {\n objKeys.sort(options.sort);\n }\n\n for (var i = 0; i < objKeys.length; ++i) {\n var key = objKeys[i];\n\n if (options.skipNulls && obj[key] === null) {\n continue;\n }\n pushToArray(keys, stringify(\n obj[key],\n key,\n generateArrayPrefix,\n options.strictNullHandling,\n options.skipNulls,\n options.encode ? options.encoder : null,\n options.filter,\n options.sort,\n options.allowDots,\n options.serializeDate,\n options.format,\n options.formatter,\n options.encodeValuesOnly,\n options.charset\n ));\n }\n\n var joined = keys.join(options.delimiter);\n var prefix = options.addQueryPrefix === true ? '?' : '';\n\n if (options.charsetSentinel) {\n if (options.charset === 'iso-8859-1') {\n // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n prefix += 'utf8=%26%2310003%3B&';\n } else {\n // encodeURIComponent('✓')\n prefix += 'utf8=%E2%9C%93&';\n }\n }\n\n return joined.length > 0 ? prefix + joined : '';\n};\n","","const PASSWORD_AUTOCOMPLETE_TYPE = 'password';\nconst NEW_PASSWORD_AUTOCOMPLETE_TYPE = 'password-new';\nconst ACCESSIBILITY_ROLE_FORM = 'none';\n\nexport {\n PASSWORD_AUTOCOMPLETE_TYPE,\n ACCESSIBILITY_ROLE_FORM,\n NEW_PASSWORD_AUTOCOMPLETE_TYPE,\n};\n","import _ from 'underscore';\nimport React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport * as Wallet from '../../libs/actions/Wallet';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';\nimport CONST from '../../CONST';\nimport userWalletPropTypes from './userWalletPropTypes';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport networkPropTypes from '../../components/networkPropTypes';\n\n// Steps\nimport OnfidoStep from './OnfidoStep';\nimport AdditionalDetailsStep from './AdditionalDetailsStep';\nimport TermsStep from './TermsStep';\nimport ActivateStep from './ActivateStep';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport FailedKYC from './FailedKYC';\nimport compose from '../../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\n\nconst propTypes = {\n /** Information about the network from Onyx */\n network: networkPropTypes.isRequired,\n\n /** The user's wallet */\n userWallet: userWalletPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n userWallet: {},\n};\n\nclass EnablePaymentsPage extends React.Component {\n componentDidMount() {\n Wallet.openEnablePaymentsPage();\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.network.isOffline || this.props.network.isOffline) {\n return;\n }\n\n Wallet.openEnablePaymentsPage();\n }\n\n render() {\n if (_.isEmpty(this.props.userWallet)) {\n return ;\n }\n\n return (\n \n {() => {\n if (this.props.userWallet.errorCode === CONST.WALLET.ERROR.KYC) {\n return (\n <>\n Navigation.dismissModal()}\n />\n \n \n );\n }\n\n if (this.props.userWallet.shouldShowWalletActivationSuccess) {\n return (\n \n );\n }\n\n const currentStep = this.props.userWallet.currentStep || CONST.WALLET.STEP.ADDITIONAL_DETAILS;\n\n return (\n <>\n {(currentStep === CONST.WALLET.STEP.ADDITIONAL_DETAILS || currentStep === CONST.WALLET.STEP.ADDITIONAL_DETAILS_KBA)\n && }\n {currentStep === CONST.WALLET.STEP.ONFIDO && }\n {currentStep === CONST.WALLET.STEP.TERMS && }\n {currentStep === CONST.WALLET.STEP.ACTIVATE && }\n \n );\n }}\n \n );\n }\n}\n\nEnablePaymentsPage.propTypes = propTypes;\nEnablePaymentsPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n\n // We want to refresh the wallet each time the user attempts to activate the wallet so we won't use the\n // stored values here.\n initWithStoredValues: false,\n },\n }),\n withNetwork(),\n)(EnablePaymentsPage);\n","import React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport Onfido from '../../components/Onfido';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CONST from '../../CONST';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport * as Wallet from '../../libs/actions/Wallet';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport Growl from '../../libs/Growl';\nimport OnfidoPrivacy from './OnfidoPrivacy';\nimport walletOnfidoDataPropTypes from './walletOnfidoDataPropTypes';\nimport FullPageOfflineBlockingView from '../../components/BlockingViews/FullPageOfflineBlockingView';\n\nconst propTypes = {\n /** Stores various information used to build the UI and call any APIs */\n walletOnfidoData: walletOnfidoDataPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n walletOnfidoData: {\n loading: false,\n hasAcceptedPrivacyPolicy: false,\n },\n};\n\nclass OnfidoStep extends React.Component {\n /**\n * @returns {boolean|*}\n */\n canShowOnfido() {\n return this.props.walletOnfidoData.hasAcceptedPrivacyPolicy\n && !this.props.walletOnfidoData.isLoading\n && !this.props.walletOnfidoData.error\n && this.props.walletOnfidoData.sdkToken;\n }\n\n render() {\n return (\n <>\n Navigation.dismissModal()}\n shouldShowBackButton\n onBackButtonPress={() => Wallet.updateCurrentStep(CONST.WALLET.STEP.ADDITIONAL_DETAILS)}\n />\n \n {\n this.canShowOnfido() ? (\n {\n Growl.error(this.props.translate('onfidoStep.genericError'), 10000);\n }}\n onUserExit={() => {\n Navigation.goBack();\n }}\n onSuccess={(data) => {\n BankAccounts.verifyIdentity({\n onfidoData: JSON.stringify({\n ...data,\n applicantID: this.props.walletOnfidoData.applicantID,\n }),\n });\n }}\n />\n ) : (\n \n )\n }\n \n\n \n );\n }\n}\n\nOnfidoStep.propTypes = propTypes;\nOnfidoStep.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n walletOnfidoData: {\n key: ONYXKEYS.WALLET_ONFIDO,\n\n // Let's get a new onfido token each time the user hits this flow (as it should only be once)\n initWithStoredValues: false,\n },\n }),\n)(OnfidoStep);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {Alert, Linking} from 'react-native';\nimport {\n Onfido as OnfidoSDK,\n OnfidoCaptureType,\n OnfidoDocumentType,\n OnfidoCountryCode,\n} from '@onfido/react-native-sdk';\nimport onfidoPropTypes from './onfidoPropTypes';\nimport CONST from '../../CONST';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport Log from '../../libs/Log';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...onfidoPropTypes,\n};\n\nclass Onfido extends React.Component {\n componentDidMount() {\n OnfidoSDK.start({\n sdkToken: this.props.sdkToken,\n flowSteps: {\n welcome: true,\n captureFace: {\n type: OnfidoCaptureType.VIDEO,\n },\n captureDocument: {\n docType: OnfidoDocumentType.GENERIC,\n countryCode: OnfidoCountryCode.USA,\n },\n },\n })\n .then(this.props.onSuccess)\n .catch((error) => {\n const errorMessage = lodashGet(error, 'message', CONST.ERROR.UNKNOWN_ERROR);\n const errorType = lodashGet(error, 'type');\n Log.hmmm('Onfido error on native', {errorType, errorMessage});\n\n // If the user cancels the Onfido flow we won't log this error as it's normal. In the React Native SDK the user exiting the flow will trigger this error which we can use as\n // our \"user exited the flow\" callback. On web, this event has it's own callback passed as a config so we don't need to bother with this there.\n if (_.contains(\n [\n CONST.ONFIDO.ERROR.USER_CANCELLED,\n CONST.ONFIDO.ERROR.USER_TAPPED_BACK,\n CONST.ONFIDO.ERROR.USER_EXITED,\n ],\n errorMessage,\n )) {\n this.props.onUserExit();\n return;\n }\n\n // Handle user camera permission on iOS and Android\n if (_.contains(\n [\n CONST.ONFIDO.ERROR.USER_CAMERA_PERMISSION,\n CONST.ONFIDO.ERROR.USER_CAMERA_DENINED,\n CONST.ONFIDO.ERROR.USER_CAMERA_CONSENT_DENIED,\n ],\n errorMessage,\n )) {\n Alert.alert(\n this.props.translate('onfidoStep.cameraPermissionsNotGranted'),\n this.props.translate('onfidoStep.cameraRequestMessage'),\n [\n {\n text: this.props.translate('common.cancel'),\n onPress: () => this.props.onUserExit(),\n },\n {\n text: this.props.translate('common.settings'),\n onPress: () => {\n this.props.onUserExit();\n Linking.openSettings();\n },\n },\n ],\n {cancelable: false},\n );\n return;\n }\n\n this.props.onError(errorMessage);\n });\n }\n\n render() {\n return null;\n }\n}\n\nOnfido.propTypes = propTypes;\nexport default withLocalize(Onfido);\n","import PropTypes from 'prop-types';\n\nexport default {\n /** Token used to initialize the Onfido SDK */\n sdkToken: PropTypes.string.isRequired,\n\n /** Called when the user intentionally exits the flow without completing it */\n onUserExit: PropTypes.func.isRequired,\n\n /** Called when the user is totally done with Onfido */\n onSuccess: PropTypes.func.isRequired,\n\n /** Called when Onfido throws an error */\n onError: PropTypes.func.isRequired,\n};\n","import Onfido from \"./js/Onfido\";\nexport * from './js/config_constants';\n\nexport { Onfido };\nexport default Onfido;\n","import { NativeModules, Platform } from 'react-native';\nimport { \n OnfidoDocumentType, \n OnfidoCaptureType, \n OnfidoCountryCode,\n OnfidoAlpha2CountryCode, \n OnfidoConfig,\n OnfidoError,\n OnfidoResult\n} from \"./config_constants\";\n\nconst { OnfidoSdk } = NativeModules;\n\nconst Onfido = {\n start(config: OnfidoConfig): Promise {\n\n if (!config) {\n return configError(\"config is missing\");\n }\n\n if (!config.sdkToken) {\n return configError(\"sdkToken is missing\");\n }\n\n if (!config.sdkToken.match(/^[A-Za-z0-9-_=]+\\.[A-Za-z0-9-_=]+\\.?[A-Za-z0-9-_.+/=]*$/)) {\n return configError(\"sdkToken is not a valid jwt\");\n }\n\n if (config.workflowRunId === undefined) { \n if (!config.flowSteps) {\n return configError(\"flowSteps configuration is missing\");\n }\n \n if (config.flowSteps.captureDocument) {\n if (config.flowSteps.captureDocument.docType && !config.flowSteps.captureDocument.countryCode) {\n return configError(\"countryCode needs to be a ISO 3166-1 3 letter code if docType is specified\");\n }\n \n if (!config.flowSteps.captureDocument.docType && config.flowSteps.captureDocument.countryCode) {\n return configError(\"docType needs to be provided if countryCode is specified\");\n }\n \n if (config.flowSteps.captureDocument.docType && !(config.flowSteps.captureDocument.docType in OnfidoDocumentType)) {\n return configError(\"docType is invalid\");\n }\n \n \n if (config.flowSteps.captureDocument.countryCode) {\n if (!(config.flowSteps.captureDocument.countryCode in OnfidoCountryCode)) {\n return configError(\"countryCode is not a ISO 3166-1 3 letter code\");\n }\n \n if (Platform.OS === \"android\") {\n config.flowSteps.captureDocument.alpha2CountryCode = OnfidoAlpha2CountryCode[config.flowSteps.captureDocument.countryCode];\n }\n }\n }\n \n if (!config.flowSteps.captureDocument && !config.flowSteps.captureFace) {\n return configError(\"flowSteps doesn't include either valid captureDocument options or valid captureFace options\");\n }\n \n if (config.flowSteps.captureFace && !(config.flowSteps.captureFace.type in OnfidoCaptureType)) {\n return configError(\"Capture Face type is invalid\");\n }\n }\n\n return OnfidoSdk.start(config).catch((error: any) => {\n console.log(error);\n throw error;\n });\n }\n};\n\nconst configError = (message: string): Promise => {\n const error: OnfidoError = new Error(message);\n error.code = \"config_error\";\n console.log(error);\n return Promise.reject(error);\n};\n\nexport default Onfido\n","export type OnfidoFlowSteps = {\n welcome?: boolean;\n captureDocument?: {\n countryCode?: OnfidoCountryCode;\n alpha2CountryCode?: OnfidoAlpha2CountryCode;\n docType?: OnfidoDocumentType;\n };\n captureFace?: {\n type: OnfidoCaptureType;\n };\n};\n\nexport type OnfidoResult = {\n document?: {\n front: {\n id: string;\n };\n back?: {\n id: string;\n };\n };\n face?: {\n id: string;\n variant: OnfidoCaptureType;\n };\n};\n\nexport type OnfidoConfig = {\n sdkToken: string;\n workflowRunId?: string;\n flowSteps: OnfidoFlowSteps;\n hideLogo?: boolean;\n logoCoBrand?: boolean;\n enableNFC?: boolean;\n localisation?: {\n ios_strings_file_name?: string;\n };\n};\n\nexport interface OnfidoError extends Error {\n code?: string;\n}\n\n\nexport enum OnfidoDocumentType {\n PASSPORT = \"PASSPORT\",\n DRIVING_LICENCE = \"DRIVING_LICENCE\",\n NATIONAL_IDENTITY_CARD = \"NATIONAL_IDENTITY_CARD\",\n RESIDENCE_PERMIT = \"RESIDENCE_PERMIT\",\n VISA = \"VISA\",\n WORK_PERMIT = \"WORK_PERMIT\",\n GENERIC = \"GENERIC\"\n}\n\nexport enum OnfidoCaptureType {\n PHOTO = \"PHOTO\",\n VIDEO = \"VIDEO\",\n MOTION = \"MOTION\"\n}\n\nexport enum OnfidoCountryCode {\n ABW = \"ABW\",\n AFG = \"AFG\",\n AGO = \"AGO\",\n AIA = \"AIA\",\n ALA = \"ALA\",\n ALB = \"ALB\",\n AND = \"AND\",\n ARE = \"ARE\",\n ARG = \"ARG\",\n ARM = \"ARM\",\n ASM = \"ASM\",\n ATA = \"ATA\",\n ATF = \"ATF\",\n ATG = \"ATG\",\n AUS = \"AUS\",\n AUT = \"AUT\",\n AZE = \"AZE\",\n BDI = \"BDI\",\n BEL = \"BEL\",\n BEN = \"BEN\",\n BES = \"BES\",\n BFA = \"BFA\",\n BGD = \"BGD\",\n BGR = \"BGR\",\n BHR = \"BHR\",\n BHS = \"BHS\",\n BIH = \"BIH\",\n BLM = \"BLM\",\n BLR = \"BLR\",\n BLZ = \"BLZ\",\n BMU = \"BMU\",\n BOL = \"BOL\",\n BRA = \"BRA\",\n BRB = \"BRB\",\n BRN = \"BRN\",\n BTN = \"BTN\",\n BVT = \"BVT\",\n BWA = \"BWA\",\n CAF = \"CAF\",\n CAN = \"CAN\",\n CCK = \"CCK\",\n CHE = \"CHE\",\n CHL = \"CHL\",\n CHN = \"CHN\",\n CIV = \"CIV\",\n CMR = \"CMR\",\n COD = \"COD\",\n COG = \"COG\",\n COK = \"COK\",\n COL = \"COL\",\n COM = \"COM\",\n CPV = \"CPV\",\n CRI = \"CRI\",\n CUB = \"CUB\",\n CUW = \"CUW\",\n CXR = \"CXR\",\n CYM = \"CYM\",\n CYP = \"CYP\",\n CZE = \"CZE\",\n DEU = \"DEU\",\n DJI = \"DJI\",\n DMA = \"DMA\",\n DNK = \"DNK\",\n DOM = \"DOM\",\n DZA = \"DZA\",\n ECU = \"ECU\",\n EGY = \"EGY\",\n ERI = \"ERI\",\n ESH = \"ESH\",\n ESP = \"ESP\",\n EST = \"EST\",\n ETH = \"ETH\",\n FIN = \"FIN\",\n FJI = \"FJI\",\n FLK = \"FLK\",\n FRA = \"FRA\",\n FRO = \"FRO\",\n FSM = \"FSM\",\n GAB = \"GAB\",\n GBR = \"GBR\",\n GEO = \"GEO\",\n GGY = \"GGY\",\n GHA = \"GHA\",\n GIB = \"GIB\",\n GIN = \"GIN\",\n GLP = \"GLP\",\n GMB = \"GMB\",\n GNB = \"GNB\",\n GNQ = \"GNQ\",\n GRC = \"GRC\",\n GRD = \"GRD\",\n GRL = \"GRL\",\n GTM = \"GTM\",\n GUF = \"GUF\",\n GUM = \"GUM\",\n GUY = \"GUY\",\n HKG = \"HKG\",\n HMD = \"HMD\",\n HND = \"HND\",\n HRV = \"HRV\",\n HTI = \"HTI\",\n HUN = \"HUN\",\n IDN = \"IDN\",\n IMN = \"IMN\",\n IND = \"IND\",\n IOT = \"IOT\",\n IRL = \"IRL\",\n IRN = \"IRN\",\n IRQ = \"IRQ\",\n ISL = \"ISL\",\n ISR = \"ISR\",\n ITA = \"ITA\",\n JAM = \"JAM\",\n JEY = \"JEY\",\n JOR = \"JOR\",\n JPN = \"JPN\",\n KAZ = \"KAZ\",\n KEN = \"KEN\",\n KGZ = \"KGZ\",\n KHM = \"KHM\",\n KIR = \"KIR\",\n KNA = \"KNA\",\n KOR = \"KOR\",\n KWT = \"KWT\",\n LAO = \"LAO\",\n LBN = \"LBN\",\n LBR = \"LBR\",\n LBY = \"LBY\",\n LCA = \"LCA\",\n LIE = \"LIE\",\n LKA = \"LKA\",\n LSO = \"LSO\",\n LTU = \"LTU\",\n LUX = \"LUX\",\n LVA = \"LVA\",\n MAC = \"MAC\",\n MAF = \"MAF\",\n MAR = \"MAR\",\n MCO = \"MCO\",\n MDA = \"MDA\",\n MDG = \"MDG\",\n MDV = \"MDV\",\n MEX = \"MEX\",\n MHL = \"MHL\",\n MKD = \"MKD\",\n MLI = \"MLI\",\n MLT = \"MLT\",\n MMR = \"MMR\",\n MNE = \"MNE\",\n MNG = \"MNG\",\n MNP = \"MNP\",\n MOZ = \"MOZ\",\n MSR = \"MSR\",\n MTQ = \"MTQ\",\n MUS = \"MUS\",\n MWI = \"MWI\",\n MYS = \"MYS\",\n MYT = \"MYT\",\n NAM = \"NAM\",\n NCL = \"NCL\",\n NER = \"NER\",\n NFK = \"NFK\",\n NGA = \"NGA\",\n NIC = \"NIC\",\n NIU = \"NIU\",\n NLD = \"NLD\",\n NOR = \"NOR\",\n NPL = \"NPL\",\n NRU = \"NRU\",\n NZL = \"NZL\",\n OMN = \"OMN\",\n PAK = \"PAK\",\n PAN = \"PAN\",\n PCN = \"PCN\",\n PER = \"PER\",\n PHL = \"PHL\",\n PLW = \"PLW\",\n PNG = \"PNG\",\n POL = \"POL\",\n PRI = \"PRI\",\n PRK = \"PRK\",\n PRT = \"PRT\",\n PRY = \"PRY\",\n PSE = \"PSE\",\n PYF = \"PYF\",\n QAT = \"QAT\",\n REU = \"REU\",\n RKS = \"RKS\",\n ROU = \"ROU\",\n RUS = \"RUS\",\n RWA = \"RWA\",\n SAU = \"SAU\",\n SDN = \"SDN\",\n SEN = \"SEN\",\n SGP = \"SGP\",\n SGS = \"SGS\",\n SHN = \"SHN\",\n SJM = \"SJM\",\n SLB = \"SLB\",\n SLE = \"SLE\",\n SLV = \"SLV\",\n SMR = \"SMR\",\n SOM = \"SOM\",\n SPM = \"SPM\",\n SRB = \"SRB\",\n SSD = \"SSD\",\n STP = \"STP\",\n SUR = \"SUR\",\n SVK = \"SVK\",\n SVN = \"SVN\",\n SWE = \"SWE\",\n SWZ = \"SWZ\",\n SXM = \"SXM\",\n SYC = \"SYC\",\n SYR = \"SYR\",\n TCA = \"TCA\",\n TCD = \"TCD\",\n TGO = \"TGO\",\n THA = \"THA\",\n TJK = \"TJK\",\n TKL = \"TKL\",\n TKM = \"TKM\",\n TLS = \"TLS\",\n TON = \"TON\",\n TTO = \"TTO\",\n TUN = \"TUN\",\n TUR = \"TUR\",\n TUV = \"TUV\",\n TWN = \"TWN\",\n TZA = \"TZA\",\n UGA = \"UGA\",\n UKR = \"UKR\",\n UMI = \"UMI\",\n URY = \"URY\",\n USA = \"USA\",\n UZB = \"UZB\",\n VAT = \"VAT\",\n VCT = \"VCT\",\n VEN = \"VEN\",\n VGB = \"VGB\",\n VIR = \"VIR\",\n VNM = \"VNM\",\n VUT = \"VUT\",\n WLF = \"WLF\",\n WSM = \"WSM\",\n XKX = \"XKX\",\n YEM = \"YEM\",\n ZAF = \"ZAF\",\n ZMB = \"ZMB\",\n ZWE = \"ZWE\",\n}\n\nexport enum OnfidoAlpha2CountryCode {\n ABW = \"AW\",\n AFG = \"AF\",\n AGO = \"AO\",\n AIA = \"AI\",\n ALA = \"AX\",\n ALB = \"AL\",\n AND = \"AD\",\n ARE = \"AE\",\n ARG = \"AR\",\n ARM = \"AM\",\n ASM = \"AS\",\n ATA = \"AQ\",\n ATF = \"TF\",\n ATG = \"AG\",\n AUS = \"AU\",\n AUT = \"AT\",\n AZE = \"AZ\",\n BDI = \"BI\",\n BEL = \"BE\",\n BEN = \"BJ\",\n BES = \"BQ\",\n BFA = \"BF\",\n BGD = \"BD\",\n BGR = \"BG\",\n BHR = \"BH\",\n BHS = \"BS\",\n BIH = \"BA\",\n BLM = \"BL\",\n BLR = \"BY\",\n BLZ = \"BZ\",\n BMU = \"BM\",\n BOL = \"BO\",\n BRA = \"BR\",\n BRB = \"BB\",\n BRN = \"BN\",\n BTN = \"BT\",\n BVT = \"BV\",\n BWA = \"BW\",\n CAF = \"CF\",\n CAN = \"CA\",\n CCK = \"CC\",\n CHE = \"CH\",\n CHL = \"CL\",\n CHN = \"CN\",\n CIV = \"CI\",\n CMR = \"CM\",\n COD = \"CD\",\n COG = \"CG\",\n COK = \"CK\",\n COL = \"CO\",\n COM = \"KM\",\n CPV = \"CV\",\n CRI = \"CR\",\n CUB = \"CU\",\n CUW = \"CW\",\n CXR = \"CX\",\n CYM = \"KY\",\n CYP = \"CY\",\n CZE = \"CZ\",\n DEU = \"DE\",\n DJI = \"DJ\",\n DMA = \"DM\",\n DNK = \"DK\",\n DOM = \"DO\",\n DZA = \"DZ\",\n ECU = \"EC\",\n EGY = \"EG\",\n ERI = \"ER\",\n ESH = \"EH\",\n ESP = \"ES\",\n EST = \"EE\",\n ETH = \"ET\",\n FIN = \"FI\",\n FJI = \"FJ\",\n FLK = \"FK\",\n FRA = \"FR\",\n FRO = \"FO\",\n FSM = \"FM\",\n GAB = \"GA\",\n GBR = \"GB\",\n GEO = \"GE\",\n GGY = \"GG\",\n GHA = \"GH\",\n GIB = \"GI\",\n GIN = \"GN\",\n GLP = \"GP\",\n GMB = \"GM\",\n GNB = \"GW\",\n GNQ = \"GQ\",\n GRC = \"GR\",\n GRD = \"GD\",\n GRL = \"GL\",\n GTM = \"GT\",\n GUF = \"GF\",\n GUM = \"GU\",\n GUY = \"GY\",\n HKG = \"HK\",\n HMD = \"HM\",\n HND = \"HN\",\n HRV = \"HR\",\n HTI = \"HT\",\n HUN = \"HU\",\n IDN = \"ID\",\n IMN = \"IM\",\n IND = \"IN\",\n IOT = \"IO\",\n IRL = \"IE\",\n IRN = \"IR\",\n IRQ = \"IQ\",\n ISL = \"IS\",\n ISR = \"IL\",\n ITA = \"IT\",\n JAM = \"JM\",\n JEY = \"JE\",\n JOR = \"JO\",\n JPN = \"JP\",\n KAZ = \"KZ\",\n KEN = \"KE\",\n KGZ = \"KG\",\n KHM = \"KH\",\n KIR = \"KI\",\n KNA = \"KN\",\n KOR = \"KR\",\n KWT = \"KW\",\n LAO = \"LA\",\n LBN = \"LB\",\n LBR = \"LR\",\n LBY = \"LY\",\n LCA = \"LC\",\n LIE = \"LI\",\n LKA = \"LK\",\n LSO = \"LS\",\n LTU = \"LT\",\n LUX = \"LU\",\n LVA = \"LV\",\n MAC = \"MO\",\n MAF = \"MF\",\n MAR = \"MA\",\n MCO = \"MC\",\n MDA = \"MD\",\n MDG = \"MG\",\n MDV = \"MV\",\n MEX = \"MX\",\n MHL = \"MH\",\n MKD = \"MK\",\n MLI = \"ML\",\n MLT = \"MT\",\n MMR = \"MM\",\n MNE = \"ME\",\n MNG = \"MN\",\n MNP = \"MP\",\n MOZ = \"MZ\",\n MSR = \"MS\",\n MTQ = \"MQ\",\n MUS = \"MU\",\n MWI = \"MW\",\n MYS = \"MY\",\n MYT = \"YT\",\n NAM = \"NA\",\n NCL = \"NC\",\n NER = \"NE\",\n NFK = \"NF\",\n NGA = \"NG\",\n NIC = \"NI\",\n NIU = \"NU\",\n NLD = \"NL\",\n NOR = \"NO\",\n NPL = \"NP\",\n NRU = \"NR\",\n NZL = \"NZ\",\n OMN = \"OM\",\n PAK = \"PK\",\n PAN = \"PA\",\n PCN = \"PN\",\n PER = \"PE\",\n PHL = \"PH\",\n PLW = \"PW\",\n PNG = \"PG\",\n POL = \"PL\",\n PRI = \"PR\",\n PRK = \"KP\",\n PRT = \"PT\",\n PRY = \"PY\",\n PSE = \"PS\",\n PYF = \"PF\",\n QAT = \"QA\",\n REU = \"RE\",\n RKS = \"XK\",\n ROU = \"RO\",\n RUS = \"RU\",\n RWA = \"RW\",\n SAU = \"SA\",\n SDN = \"SD\",\n SEN = \"SN\",\n SGP = \"SG\",\n SGS = \"GS\",\n SHN = \"SH\",\n SJM = \"SJ\",\n SLB = \"SB\",\n SLE = \"SL\",\n SLV = \"SV\",\n SMR = \"SM\",\n SOM = \"SO\",\n SPM = \"PM\",\n SRB = \"RS\",\n SSD = \"SS\",\n STP = \"ST\",\n SUR = \"SR\",\n SVK = \"SK\",\n SVN = \"SI\",\n SWE = \"SE\",\n SWZ = \"SZ\",\n SXM = \"SX\",\n SYC = \"SC\",\n SYR = \"SY\",\n TCA = \"TC\",\n TCD = \"TD\",\n TGO = \"TG\",\n THA = \"TH\",\n TJK = \"TJ\",\n TKL = \"TK\",\n TKM = \"TM\",\n TLS = \"TL\",\n TON = \"TO\",\n TTO = \"TT\",\n TUN = \"TN\",\n TUR = \"TR\",\n TUV = \"TV\",\n TWN = \"TW\",\n TZA = \"TZ\",\n UGA = \"UG\",\n UKR = \"UA\",\n UMI = \"UM\",\n URY = \"UY\",\n USA = \"US\",\n UZB = \"UZ\",\n VAT = \"VA\",\n VCT = \"VC\",\n VEN = \"VE\",\n VGB = \"VG\",\n VIR = \"VI\",\n VNM = \"VN\",\n VUT = \"VU\",\n WLF = \"WF\",\n WSM = \"WS\",\n XKX = \"XK\",\n YEM = \"YE\",\n ZAF = \"ZA\",\n ZMB = \"ZM\",\n ZWE = \"ZW\",\n}\n","import React from 'react';\nimport {View} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport FullscreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport styles from '../../styles/styles';\nimport TextLink from '../../components/TextLink';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport Text from '../../components/Text';\nimport FormAlertWithSubmitButton from '../../components/FormAlertWithSubmitButton';\nimport FormScrollView from '../../components/FormScrollView';\nimport walletOnfidoDataPropTypes from './walletOnfidoDataPropTypes';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\nimport FixedFooter from '../../components/FixedFooter';\n\nconst propTypes = {\n /** Stores various information used to build the UI and call any APIs */\n walletOnfidoData: walletOnfidoDataPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n walletOnfidoData: {\n applicantID: '',\n sdkToken: '',\n loading: false,\n errors: {},\n fixableErrors: [],\n hasAcceptedPrivacyPolicy: false,\n },\n};\n\nclass OnfidoPrivacy extends React.Component {\n constructor(props) {\n super(props);\n\n this.openOnfidoFlow = this.openOnfidoFlow.bind(this);\n }\n\n openOnfidoFlow() {\n BankAccounts.openOnfidoFlow();\n }\n\n render() {\n let onfidoError = ErrorUtils.getLatestErrorMessage(this.props.walletOnfidoData) || '';\n const onfidoFixableErrors = lodashGet(this.props, 'walletOnfidoData.fixableErrors', []);\n onfidoError += !_.isEmpty(onfidoFixableErrors) ? `\\n${onfidoFixableErrors.join('\\n')}` : '';\n\n return (\n \n {!this.props.walletOnfidoData.hasAcceptedPrivacyPolicy ? (\n <>\n this.form = el}>\n \n \n {this.props.translate('onfidoStep.acceptTerms')}\n \n {this.props.translate('onfidoStep.facialScan')}\n \n {', '}\n \n {this.props.translate('common.privacy')}\n \n {` ${this.props.translate('common.and')} `}\n \n {this.props.translate('common.termsOfService')}\n \n .\n \n \n \n \n {\n this.form.scrollTo({y: 0, animated: true});\n }}\n message={onfidoError}\n isLoading={this.props.walletOnfidoData.isLoading}\n buttonText={onfidoError ? this.props.translate('onfidoStep.tryAgain') : this.props.translate('common.continue')}\n containerStyles={[styles.mh0, styles.mv0, styles.mb0]}\n />\n \n \n ) : null}\n {this.props.walletOnfidoData.hasAcceptedPrivacyPolicy && this.props.walletOnfidoData.isLoading ? : null}\n \n );\n }\n}\n\nOnfidoPrivacy.propTypes = propTypes;\nOnfidoPrivacy.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n walletOnfidoData: {\n key: ONYXKEYS.WALLET_ONFIDO,\n\n // Let's get a new onfido token each time the user hits this flow (as it should only be once)\n initWithStoredValues: false,\n },\n }),\n)(OnfidoPrivacy);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {ScrollView} from 'react-native';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** Form elements */\n children: PropTypes.node.isRequired,\n};\n\nconst FormScrollView = React.forwardRef((props, ref) => (\n \n {props.children}\n \n));\n\nFormScrollView.propTypes = propTypes;\nexport default FormScrollView;\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n /** Unique identifier returned from openOnfidoFlow then re-sent to ActivateWallet with Onfido response data */\n applicantID: PropTypes.string,\n\n /** Token used to initialize the Onfido SDK token */\n sdkToken: PropTypes.string,\n\n /** Loading state to provide feedback when we are waiting for a request to finish */\n loading: PropTypes.bool,\n\n /** Error message to inform the user of any problem that might occur */\n error: PropTypes.string,\n\n /** A list of Onfido errors that the user can fix in order to attempt the Onfido flow again */\n fixableErrors: PropTypes.arrayOf(PropTypes.string),\n\n /** Whether the user has accepted the privacy policy of Onfido or not */\n hasAcceptedPrivacyPolicy: PropTypes.bool,\n});\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport {View} from 'react-native';\nimport moment from 'moment/moment';\nimport IdologyQuestions from './IdologyQuestions';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport styles from '../../styles/styles';\nimport Text from '../../components/Text';\nimport CONST from '../../CONST';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport TextLink from '../../components/TextLink';\nimport TextInput from '../../components/TextInput';\nimport * as Wallet from '../../libs/actions/Wallet';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport * as LoginUtils from '../../libs/LoginUtils';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\nimport AddressForm from '../ReimbursementAccount/AddressForm';\nimport DatePicker from '../../components/DatePicker';\nimport Form from '../../components/Form';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../components/withCurrentUserPersonalDetails';\nimport * as PersonalDetails from '../../libs/actions/PersonalDetails';\nimport OfflineIndicator from '../../components/OfflineIndicator';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n\n /** Stores additional information about the additional details step e.g. loading state and errors with fields */\n walletAdditionalDetails: PropTypes.shape({\n /** Are we waiting for a response? */\n isLoading: PropTypes.bool,\n\n /** Which field needs attention? */\n errorFields: PropTypes.objectOf(PropTypes.bool),\n\n /** Any additional error message to show */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** Questions returned by Idology */\n questions: PropTypes.arrayOf(PropTypes.shape({\n prompt: PropTypes.string,\n type: PropTypes.string,\n answer: PropTypes.arrayOf(PropTypes.string),\n })),\n\n /** ExpectID ID number related to those questions */\n idNumber: PropTypes.string,\n\n /** Error code to determine additional behavior */\n errorCode: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n walletAdditionalDetails: {\n errorFields: {},\n isLoading: false,\n errors: {},\n questions: [],\n idNumber: '',\n errorCode: '',\n },\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nconst INPUT_IDS = {\n LEGAL_FIRST_NAME: 'legalFirstName',\n LEGAL_LAST_NAME: 'legalLastName',\n PHONE_NUMBER: 'phoneNumber',\n DOB: 'dob',\n SSN: 'ssn',\n ADDRESS: {\n street: 'addressStreet',\n city: 'addressCity',\n state: 'addressState',\n zipCode: 'addressZip',\n },\n};\n\nclass AdditionalDetailsStep extends React.Component {\n constructor(props) {\n super(props);\n\n this.activateWallet = this.activateWallet.bind(this);\n this.validate = this.validate.bind(this);\n\n this.errorTranslationKeys = {\n legalFirstName: 'bankAccount.error.firstName',\n legalLastName: 'bankAccount.error.lastName',\n phoneNumber: 'bankAccount.error.phoneNumber',\n dob: 'bankAccount.error.dob',\n age: 'bankAccount.error.age',\n ssn: 'bankAccount.error.ssnLast4',\n ssnFull9: 'additionalDetailsStep.ssnFull9Error',\n };\n\n this.fieldNameTranslationKeys = {\n legalFirstName: 'additionalDetailsStep.legalFirstNameLabel',\n legalLastName: 'additionalDetailsStep.legalLastNameLabel',\n addressStreet: 'common.personalAddress',\n phoneNumber: 'common.phoneNumber',\n dob: 'common.dob',\n ssn: 'common.ssnLast4',\n ssnFull9: 'common.ssnFull9',\n };\n\n this.minDate = moment().subtract(CONST.DATE_BIRTH.MAX_AGE, 'Y').toDate();\n this.maxDate = moment().subtract(CONST.DATE_BIRTH.MIN_AGE_FOR_PAYMENT, 'Y').toDate();\n }\n\n /**\n * @param {Object} values The values object is passed from Form.js and contains info for each form element that has an inputID\n * @returns {Object}\n */\n validate(values) {\n const errors = {};\n\n if (_.isEmpty(values[INPUT_IDS.LEGAL_FIRST_NAME])) {\n errors[INPUT_IDS.LEGAL_FIRST_NAME] = this.props.translate(this.errorTranslationKeys.legalFirstName);\n }\n\n if (_.isEmpty(values[INPUT_IDS.LEGAL_LAST_NAME])) {\n errors[INPUT_IDS.LEGAL_LAST_NAME] = this.props.translate(this.errorTranslationKeys.legalLastName);\n }\n\n if (!ValidationUtils.isValidPastDate(values[INPUT_IDS.DOB])) {\n ErrorUtils.addErrorMessage(errors, INPUT_IDS.DOB, this.props.translate(this.errorTranslationKeys.dob));\n } else if (!ValidationUtils.meetsAgeRequirements(values[INPUT_IDS.DOB])) {\n ErrorUtils.addErrorMessage(errors, INPUT_IDS.DOB, this.props.translate(this.errorTranslationKeys.age));\n }\n\n if (!ValidationUtils.isValidAddress(values[INPUT_IDS.ADDRESS.street]) || _.isEmpty(values[INPUT_IDS.ADDRESS.street])) {\n errors[INPUT_IDS.ADDRESS.street] = this.props.translate('bankAccount.error.addressStreet');\n }\n\n if (_.isEmpty(values[INPUT_IDS.ADDRESS.city])) {\n errors[INPUT_IDS.ADDRESS.city] = this.props.translate('bankAccount.error.addressCity');\n }\n\n if (_.isEmpty(values[INPUT_IDS.ADDRESS.state])) {\n errors[INPUT_IDS.ADDRESS.state] = this.props.translate('bankAccount.error.addressState');\n }\n\n if (!ValidationUtils.isValidZipCode(values[INPUT_IDS.ADDRESS.zipCode])) {\n errors[INPUT_IDS.ADDRESS.zipCode] = this.props.translate('bankAccount.error.zipCode');\n }\n\n if (!ValidationUtils.isValidUSPhone(values[INPUT_IDS.PHONE_NUMBER], true)) {\n errors[INPUT_IDS.PHONE_NUMBER] = this.props.translate(this.errorTranslationKeys.phoneNumber);\n }\n\n // this.props.walletAdditionalDetails stores errors returned by the server. If the server returns an SSN error\n // then the user needs to provide the full 9 digit SSN.\n if (this.props.walletAdditionalDetails.errorCode === CONST.WALLET.ERROR.SSN) {\n if (!ValidationUtils.isValidSSNFullNine(values[INPUT_IDS.SSN])) {\n errors[INPUT_IDS.SSN] = this.props.translate(this.errorTranslationKeys.ssnFull9);\n }\n } else if (!ValidationUtils.isValidSSNLastFour(values[INPUT_IDS.SSN])) {\n errors[INPUT_IDS.SSN] = this.props.translate(this.errorTranslationKeys.ssn);\n }\n\n return errors;\n }\n\n /**\n * @param {Object} values The values object is passed from Form.js and contains info for each form element that has an inputID\n */\n activateWallet(values) {\n const personalDetails = {\n phoneNumber: LoginUtils.getPhoneNumberWithoutUSCountryCodeAndSpecialChars(values[INPUT_IDS.PHONE_NUMBER]),\n legalFirstName: values[INPUT_IDS.LEGAL_FIRST_NAME],\n legalLastName: values[INPUT_IDS.LEGAL_LAST_NAME],\n addressStreet: values[INPUT_IDS.ADDRESS.street],\n addressCity: values[INPUT_IDS.ADDRESS.city],\n addressState: values[INPUT_IDS.ADDRESS.state],\n addressZip: values[INPUT_IDS.ADDRESS.zipCode],\n dob: values[INPUT_IDS.DOB],\n ssn: values[INPUT_IDS.SSN],\n };\n\n // Attempt to set the personal details\n Wallet.updatePersonalDetails(personalDetails);\n }\n\n render() {\n if (!_.isEmpty(this.props.walletAdditionalDetails.questions)) {\n return (\n \n Navigation.dismissModal()}\n shouldShowBackButton\n onBackButtonPress={() => Wallet.setAdditionalDetailsQuestions(null)}\n />\n \n \n );\n }\n const shouldAskForFullSSN = this.props.walletAdditionalDetails.errorCode === CONST.WALLET.ERROR.SSN;\n\n return (\n <>\n Navigation.dismissModal()}\n />\n \n \n {this.props.translate('additionalDetailsStep.helpText')}\n \n {this.props.translate('additionalDetailsStep.helpLink')}\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nAdditionalDetailsStep.propTypes = propTypes;\nAdditionalDetailsStep.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n withOnyx({\n walletAdditionalDetails: {\n key: ONYXKEYS.WALLET_ADDITIONAL_DETAILS,\n },\n }),\n)(AdditionalDetailsStep);\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n View,\n} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport RadioButtons from '../../components/RadioButtons';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport styles from '../../styles/styles';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Text from '../../components/Text';\nimport TextLink from '../../components/TextLink';\nimport FormScrollView from '../../components/FormScrollView';\nimport FormAlertWithSubmitButton from '../../components/FormAlertWithSubmitButton';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport OfflineIndicator from '../../components/OfflineIndicator';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\nimport FixedFooter from '../../components/FixedFooter';\n\nconst MAX_SKIP = 1;\nconst SKIP_QUESTION_TEXT = 'Skip Question';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** Questions returned by Idology */\n /** example: [{\"answer\":[\"1251\",\"6253\",\"113\",\"None of the above\",\"Skip Question\"],\"prompt\":\"Which number goes with your address on MASONIC AVE?\",\"type\":\"street.number.b\"}, ...] */\n questions: PropTypes.arrayOf(PropTypes.shape({\n prompt: PropTypes.string,\n type: PropTypes.string,\n answer: PropTypes.arrayOf(PropTypes.string),\n })),\n\n /** ID from Idology, referencing those questions */\n idNumber: PropTypes.string,\n\n walletAdditionalDetails: PropTypes.shape({\n /** Are we waiting for a response? */\n isLoading: PropTypes.bool,\n\n /** Any additional error message to show */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** What error do we need to handle */\n errorCode: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n questions: [],\n idNumber: '',\n walletAdditionalDetails: {},\n};\n\nclass IdologyQuestions extends React.Component {\n constructor(props) {\n super(props);\n this.submitAnswers = this.submitAnswers.bind(this);\n\n this.state = {\n /** Current question index to display. */\n questionNumber: 0,\n\n /** Should we hide the \"Skip question\" answer? Yes if the user already skipped MAX_SKIP questions. */\n hideSkip: false,\n\n /** Answers from the user */\n answers: [],\n\n /** Any error message */\n errorMessage: '',\n };\n }\n\n /**\n * Put question answer in the state.\n * @param {Number} questionIndex\n * @param {String} answer\n */\n chooseAnswer(questionIndex, answer) {\n this.setState((prevState) => {\n const answers = prevState.answers;\n const question = this.props.questions[questionIndex];\n answers[questionIndex] = {question: question.type, answer};\n return {\n answers,\n errorMessage: '',\n };\n });\n }\n\n /**\n * Show next question or send all answers for Idology verifications when we've answered enough\n */\n submitAnswers() {\n this.setState((prevState) => {\n // User must pick an answer\n if (!prevState.answers[prevState.questionNumber]) {\n return {\n errorMessage: this.props.translate('additionalDetailsStep.selectAnswer'),\n };\n }\n\n // Get the number of questions that were skipped by the user.\n const skippedQuestionsCount = _.filter(prevState.answers, answer => answer.answer === SKIP_QUESTION_TEXT).length;\n\n // We have enough answers, let's call expectID KBA to verify them\n if ((prevState.answers.length - skippedQuestionsCount) >= (this.props.questions.length - MAX_SKIP)) {\n const answers = prevState.answers;\n\n // Auto skip any remaining questions\n if (answers.length < this.props.questions.length) {\n for (let i = answers.length; i < this.props.questions.length; i++) {\n answers[i] = {question: this.props.questions[i].type, answer: SKIP_QUESTION_TEXT};\n }\n }\n\n BankAccounts.answerQuestionsForWallet(answers, this.props.idNumber);\n return {answers};\n }\n\n // Else, show next question\n return {\n questionNumber: prevState.questionNumber + 1,\n hideSkip: skippedQuestionsCount >= MAX_SKIP,\n };\n });\n }\n\n render() {\n const questionIndex = this.state.questionNumber;\n const question = this.props.questions[questionIndex] || {};\n const possibleAnswers = _.filter(_.map(question.answer, (answer) => {\n if (this.state.hideSkip && answer === SKIP_QUESTION_TEXT) {\n return;\n }\n\n return {\n label: answer,\n value: answer,\n };\n }));\n\n const errorMessage = ErrorUtils.getLatestErrorMessage(this.props.walletAdditionalDetails) || this.state.errorMessage;\n\n return (\n \n \n {this.props.translate('additionalDetailsStep.helpTextIdologyQuestions')}\n \n {this.props.translate('additionalDetailsStep.helpLink')}\n \n \n this.form = el}>\n \n {question.prompt}\n this.chooseAnswer(questionIndex, answer)}\n />\n \n \n \n {\n this.form.scrollTo({y: 0, animated: true});\n }}\n message={errorMessage}\n isLoading={this.props.walletAdditionalDetails.isLoading}\n buttonText={this.props.translate('common.saveAndContinue')}\n containerStyles={[styles.mh0, styles.mv0, styles.mb0]}\n />\n \n \n \n );\n }\n}\n\nIdologyQuestions.propTypes = propTypes;\nIdologyQuestions.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withOnyx({\n walletAdditionalDetails: {\n key: ONYXKEYS.WALLET_ADDITIONAL_DETAILS,\n },\n }),\n)(IdologyQuestions);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport RadioButtonWithLabel from './RadioButtonWithLabel';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** List of choices to display via radio buttons */\n items: PropTypes.arrayOf(PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired,\n })).isRequired,\n\n /** Callback to fire when selecting a radio button */\n onPress: PropTypes.func.isRequired,\n};\n\nclass RadioButtons extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n checkedValue: '',\n };\n }\n\n render() {\n return (\n \n {_.map(this.props.items, item => (\n {\n this.setState({checkedValue: item.value});\n return this.props.onPress(item.value);\n }}\n label={item.label}\n />\n ))}\n \n );\n }\n}\n\nRadioButtons.propTypes = propTypes;\n\nexport default RadioButtons;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View, TouchableOpacity} from 'react-native';\nimport _ from 'underscore';\nimport styles from '../styles/styles';\nimport RadioButton from './RadioButton';\nimport Text from './Text';\nimport FormHelpMessage from './FormHelpMessage';\n\nconst propTypes = {\n /** Whether the radioButton is checked */\n isChecked: PropTypes.bool.isRequired,\n\n /** Called when the radioButton or label is pressed */\n onPress: PropTypes.func.isRequired,\n\n /** Container styles */\n style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),\n\n /** Text that appears next to check box */\n label: PropTypes.string,\n\n /** Component to display for label */\n LabelComponent: PropTypes.func,\n\n /** Should the input be styled for errors */\n hasError: PropTypes.bool,\n\n /** Error text to display */\n errorText: PropTypes.string,\n};\n\nconst defaultProps = {\n style: [],\n label: undefined,\n LabelComponent: undefined,\n hasError: false,\n errorText: '',\n};\n\nconst RadioButtonWithLabel = (props) => {\n const LabelComponent = props.LabelComponent;\n const defaultStyles = [styles.flexRow, styles.alignItemsCenter];\n const wrapperStyles = _.isArray(props.style) ? [...defaultStyles, ...props.style] : [...defaultStyles, props.style];\n\n if (!props.label && !LabelComponent) {\n throw new Error('Must provide at least label or LabelComponent prop');\n }\n return (\n <>\n \n \n props.onPress()}\n style={[\n styles.ml3,\n styles.pr2,\n styles.w100,\n styles.flexRow,\n styles.flexWrap,\n styles.flexShrink1,\n styles.alignItemsCenter,\n ]}\n >\n {Boolean(props.label) && (\n \n {props.label}\n \n )}\n {Boolean(LabelComponent) && ()}\n \n \n \n \n );\n};\n\nRadioButtonWithLabel.propTypes = propTypes;\nRadioButtonWithLabel.defaultProps = defaultProps;\nRadioButtonWithLabel.displayName = 'RadioButtonWithLabel';\n\nexport default RadioButtonWithLabel;\n","import React from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\nimport Icon from './Icon';\nimport * as Expensicons from './Icon/Expensicons';\n\nconst propTypes = {\n /** Whether radioButton is checked */\n isChecked: PropTypes.bool.isRequired,\n\n /** A function that is called when the box/label is pressed */\n onPress: PropTypes.func.isRequired,\n\n /** Should the input be styled for errors */\n hasError: PropTypes.bool,\n\n /** Should the input be disabled */\n disabled: PropTypes.bool,\n};\n\nconst defaultProps = {\n hasError: false,\n disabled: false,\n};\n\nconst RadioButton = props => (\n \n \n \n \n \n);\n\nRadioButton.propTypes = propTypes;\nRadioButton.defaultProps = defaultProps;\nRadioButton.displayName = 'RadioButton';\n\nexport default RadioButton;\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport TextInput from '../../components/TextInput';\nimport AddressSearch from '../../components/AddressSearch';\nimport styles from '../../styles/styles';\nimport CONST from '../../CONST';\nimport StatePicker from '../../components/StatePicker';\n\nconst propTypes = {\n\n /** Translate key for Street name */\n streetTranslationKey: PropTypes.string.isRequired,\n\n /** Callback fired when a field changes. Passes args as {[fieldName]: val} */\n onFieldChange: PropTypes.func,\n\n /** Default values */\n defaultValues: PropTypes.shape({\n /** Address street field */\n street: PropTypes.string,\n\n /** Address city field */\n city: PropTypes.string,\n\n /** Address state field */\n state: PropTypes.string,\n\n /** Address zip code field */\n zipCode: PropTypes.string,\n }),\n\n /** Form values */\n values: PropTypes.shape({\n /** Address street field */\n street: PropTypes.string,\n\n /** Address city field */\n city: PropTypes.string,\n\n /** Address state field */\n state: PropTypes.string,\n\n /** Address zip code field */\n zipCode: PropTypes.string,\n }),\n\n /** Any errors that can arise from form validation */\n errors: PropTypes.shape({\n street: PropTypes.bool,\n city: PropTypes.bool,\n state: PropTypes.bool,\n zipCode: PropTypes.bool,\n }),\n\n /** The map for inputID of the inputs */\n inputKeys: PropTypes.shape({\n street: PropTypes.string,\n city: PropTypes.string,\n state: PropTypes.string,\n zipCode: PropTypes.string,\n }),\n\n /** Saves a draft of the input value when used in a form */\n shouldSaveDraft: PropTypes.bool,\n\n /** Returns translated string for given locale and phrase */\n translate: PropTypes.func.isRequired,\n};\n\nconst defaultProps = {\n values: {\n street: undefined,\n city: undefined,\n state: undefined,\n zipCode: undefined,\n },\n defaultValues: {\n street: undefined,\n city: undefined,\n state: undefined,\n zipCode: undefined,\n },\n errors: {},\n inputKeys: {\n street: '',\n city: '',\n state: '',\n zipCode: '',\n },\n shouldSaveDraft: false,\n onFieldChange: () => {},\n};\n\nconst AddressForm = props => (\n <>\n \n \n \n props.onFieldChange({city: value})}\n errorText={props.errors.city ? props.translate('bankAccount.error.addressCity') : ''}\n containerStyles={[styles.mt4]}\n />\n \n props.onFieldChange({state: value})}\n errorText={props.errors.state ? props.translate('bankAccount.error.addressState') : ''}\n />\n \n props.onFieldChange({zipCode: value})}\n errorText={props.errors.zipCode ? props.translate('bankAccount.error.zipCode') : ''}\n maxLength={CONST.BANK_ACCOUNT.MAX_LENGTH.ZIP_CODE}\n hint={props.translate('common.zipCodeExampleFormat', {zipSampleFormat: CONST.COUNTRY_ZIP_REGEX_DATA.US.samples})}\n />\n \n);\n\nAddressForm.propTypes = propTypes;\nAddressForm.defaultProps = defaultProps;\nAddressForm.displayName = 'AddressForm';\nexport default AddressForm;\n","import React from 'react';\n// eslint-disable-next-line no-restricted-imports\nimport {Button, View, Keyboard} from 'react-native';\nimport RNDatePicker from '@react-native-community/datetimepicker';\nimport moment from 'moment';\nimport _ from 'underscore';\nimport compose from '../../libs/compose';\nimport TextInput from '../TextInput';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport Popover from '../Popover';\nimport CONST from '../../CONST';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport {propTypes, defaultProps} from './datepickerPropTypes';\nimport withKeyboardState, {keyboardStatePropTypes} from '../withKeyboardState';\n\nconst datepickerPropTypes = {\n ...propTypes,\n ...withLocalizePropTypes,\n ...keyboardStatePropTypes,\n};\n\nclass DatePicker extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n isPickerVisible: false,\n selectedDate: props.value || props.defaultValue ? moment(props.value || props.defaultValue).toDate() : new Date(),\n };\n\n this.showPicker = this.showPicker.bind(this);\n this.reset = this.reset.bind(this);\n this.selectDate = this.selectDate.bind(this);\n this.updateLocalDate = this.updateLocalDate.bind(this);\n }\n\n showPicker() {\n this.initialValue = this.state.selectedDate;\n\n // Opens the popover only after the keyboard is hidden to avoid a \"blinking\" effect where the keyboard was on iOS\n // See https://github.com/Expensify/App/issues/14084 for more context\n if (!this.props.isKeyboardShown) {\n this.setState({isPickerVisible: true});\n return;\n }\n const listener = Keyboard.addListener('keyboardDidHide', () => {\n this.setState({isPickerVisible: true});\n listener.remove();\n });\n Keyboard.dismiss();\n }\n\n /**\n * Reset the date spinner to the initial value\n */\n reset() {\n this.setState({selectedDate: this.initialValue});\n }\n\n /**\n * Accept the current spinner changes, close the spinner and propagate the change\n * to the parent component (props.onInputChange)\n */\n selectDate() {\n this.setState({isPickerVisible: false});\n const asMoment = moment(this.state.selectedDate, true);\n this.props.onInputChange(asMoment.format(CONST.DATE.MOMENT_FORMAT_STRING));\n }\n\n /**\n * @param {Event} event\n * @param {Date} selectedDate\n */\n updateLocalDate(event, selectedDate) {\n this.setState({selectedDate});\n }\n\n render() {\n const dateAsText = this.props.value || this.props.defaultValue ? moment(this.props.value || this.props.defaultValue).format(CONST.DATE.MOMENT_FORMAT_STRING) : '';\n return (\n <>\n {\n if (!_.isFunction(this.props.innerRef)) {\n return;\n }\n if (el && el.focus && typeof el.focus === 'function') {\n let inputRef = {...el};\n inputRef = {...inputRef, focus: this.showPicker};\n this.props.innerRef(inputRef);\n return;\n }\n\n this.props.innerRef(el);\n }}\n />\n \n \n \n \n \n \n \n \n );\n }\n}\n\nDatePicker.propTypes = datepickerPropTypes;\nDatePicker.defaultProps = defaultProps;\n\n/**\n * We're applying localization here because we present a modal (with buttons) ourselves\n * Furthermore we're passing the locale down so that the modal and the date spinner are in the same\n * locale. Otherwise the spinner would be present in the system locale and it would be weird if it happens\n * that the modal buttons are in one locale (app) while the (spinner) month names are another (system)\n */\nexport default compose(\n withLocalize,\n withKeyboardState,\n)(React.forwardRef((props, ref) => (\n /* eslint-disable-next-line react/jsx-props-no-spreading */\n \n)));\n","import RNDateTimePicker from './datetimepicker';\n\nexport default RNDateTimePicker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * This is a controlled component version of RNDateTimePicker\n *\n * @format\n * @flow strict-local\n */\nimport RNDateTimePicker from './picker';\nimport {toMilliseconds} from './utils';\nimport {IOS_DISPLAY, MODE_DATE} from './constants';\nimport invariant from 'invariant';\nimport React, {useEffect, useState} from 'react';\nimport {getPickerHeightStyle} from './layoutUtilsIOS';\nimport {Platform, StyleSheet} from 'react-native';\n\nimport type {\n Event,\n NativeRef,\n IOSNativeProps,\n DatePickerOptions,\n IOSDisplay,\n} from './types';\n\nconst getDisplaySafe = (display: IOSDisplay) => {\n const majorVersionIOS = parseInt(Platform.Version, 10);\n if (display === IOS_DISPLAY.inline && majorVersionIOS < 14) {\n // inline is available since 14.0\n return IOS_DISPLAY.spinner;\n }\n if (majorVersionIOS < 14) {\n // NOTE this should compare against 13.4, not 14 according to https://developer.apple.com/documentation/uikit/uidatepickerstyle/uidatepickerstylecompact?changes=latest_minor&language=objc\n // but UIDatePickerStyleCompact does not seem to work prior to 14\n // only the spinner display (UIDatePickerStyleWheels) is thus available below 14\n return IOS_DISPLAY.spinner;\n }\n\n return display;\n};\n\nexport default function Picker({\n value,\n locale,\n maximumDate,\n minimumDate,\n style,\n testID,\n mode,\n minuteInterval,\n timeZoneOffsetInMinutes,\n textColor,\n themeVariant,\n onChange,\n disabled = false,\n ...otherProps\n}: IOSNativeProps) {\n const [heightStyle, setHeightStyle] = useState(undefined);\n const _picker: NativeRef = React.useRef();\n const display = getDisplaySafe(otherProps.display);\n\n useEffect(\n function ensureNativeIsInSyncWithJS() {\n const {current} = _picker;\n\n if (value && onChange && current) {\n const timestamp = value.getTime();\n current.setNativeProps({\n date: timestamp,\n });\n }\n },\n [onChange, value],\n );\n\n useEffect(\n function ensureCorrectHeight() {\n const height = getPickerHeightStyle(display, mode);\n if (height instanceof Promise) {\n height.then((measuredStyle) => setHeightStyle(measuredStyle));\n } else {\n setHeightStyle(height);\n }\n },\n [display, mode],\n );\n\n const _onChange = (event: Event) => {\n const timestamp = event.nativeEvent.timestamp;\n let date;\n\n if (timestamp) {\n date = new Date(timestamp);\n }\n\n onChange && onChange(event, date);\n };\n\n invariant(value, 'A date or time should be specified as `value`.');\n\n if (!heightStyle) {\n // wait for height to be available in state\n return null;\n }\n\n const dates: DatePickerOptions = {value, maximumDate, minimumDate};\n toMilliseconds(dates, 'value', 'minimumDate', 'maximumDate');\n\n return (\n true}\n onResponderTerminationRequest={() => false}\n displayIOS={display}\n disabled={disabled === true}\n />\n );\n}\n\nPicker.defaultProps = {\n mode: MODE_DATE,\n display: IOS_DISPLAY.default,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow strict-local\n */\nimport {requireNativeComponent} from 'react-native';\n\nimport type {RCTDateTimePickerNative} from './types';\n\nexport default ((requireNativeComponent(\n 'RNDateTimePicker',\n): any): RCTDateTimePickerNative);\n","/**\n * @format\n * @flow strict-local\n */\nexport const MODE_DATE = 'date';\nexport const MODE_TIME = 'time';\nexport const MODE_DATETIME = 'datetime';\n\nexport const DISPLAY_DEFAULT = 'default';\nexport const DISPLAY_SPINNER = 'spinner';\nexport const DISPLAY_CLOCK = 'clock';\nexport const DISPLAY_CALENDAR = 'calendar';\nexport const MIN_MS = 60000;\n\n// TODO vonovak potentially replace the above string consts with this object\nexport const ANDROID_DISPLAY = Object.freeze({\n default: 'default',\n spinner: 'spinner',\n clock: 'clock',\n calendar: 'calendar',\n});\n\nexport const ANDROID_MODE = Object.freeze({\n date: 'date',\n time: 'time',\n});\n\nexport const IOS_MODE = Object.freeze({\n date: 'date',\n time: 'time',\n datetime: 'datetime',\n countdown: 'countdown',\n});\n\nexport const IOS_DISPLAY = Object.freeze({\n default: 'default',\n spinner: 'spinner',\n compact: 'compact',\n inline: 'inline',\n});\n\nexport const DAY_OF_WEEK = Object.freeze({\n Sunday: 0,\n Monday: 1,\n Tuesday: 2,\n Wednesday: 3,\n Thursday: 4,\n Friday: 5,\n Saturday: 6,\n});\n\nexport const DATE_SET_ACTION = 'dateSetAction';\nexport const TIME_SET_ACTION = 'timeSetAction';\nexport const DISMISS_ACTION = 'dismissedAction';\n\nexport const NEUTRAL_BUTTON_LABEL = 'neutralButtonLabel';\nexport const NEUTRAL_BUTTON_ACTION = 'neutralButtonAction';\n","import {NativeModules, StyleSheet} from 'react-native';\nimport {IOS_DISPLAY, IOS_MODE} from './constants';\nimport type {IOSDisplay, IOSMode} from './types';\n\nconst inlineHeightForDatePicker = 318.5;\nconst inlineHeightForTimePicker = 49.5;\nconst compactHeight = 34.5;\n\n// NOTE these styles are only supported from ios 14\n// the numbers may not be 100% accurate but were measured by calling `layoutIfNeeded`\n// while the proper mode and preferredDatePickerStyle were set in the native module\nconst styles = StyleSheet.create({\n [`${IOS_DISPLAY.inline}_${IOS_MODE.date}`]: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker,\n },\n [`${IOS_DISPLAY.inline}_${IOS_MODE.time}`]: {\n height: inlineHeightForTimePicker,\n },\n [`${IOS_DISPLAY.inline}_${IOS_MODE.datetime}`]: {\n height: inlineHeightForDatePicker + inlineHeightForTimePicker * 2,\n },\n compact: {\n height: compactHeight,\n },\n default: {\n // this is for spinner style (UIDatePickerStyleWheels) or countdown mode\n height: 216,\n },\n});\n\nfunction getHeightStyleFromKnowValues(display, mode) {\n if (display === IOS_DISPLAY.compact) {\n return styles.compact;\n }\n const key = `${display}_${mode}`;\n const maybeKnownStyle = styles[key];\n return maybeKnownStyle || styles.default;\n}\n\nexport function getPickerHeightStyle(\n display: IOSDisplay,\n mode: IOSMode,\n): {|height: number|} | Promise<{|height: number|}> {\n if (display === IOS_DISPLAY.default && mode !== IOS_MODE.countdown) {\n // when display is UIDatePickerStyleAutomatic, ios will \"Automatically pick the best style available for the current platform & mode.\"\n // because we don't know what that is going to be, we need to ask native for it\n // TODO vonovak this value could be cached\n return NativeModules.RNDateTimePickerManager.getDefaultDisplayValue({\n mode,\n }).then(({determinedDisplayValue}) => {\n return getHeightStyleFromKnowValues(determinedDisplayValue, mode);\n });\n }\n return getHeightStyleFromKnowValues(display, mode);\n}\n","/**\n * @format\n * @flow strict-local\n */\nimport type {DatePickerOptions, TimePickerOptions} from './types';\n\n/**\n * Convert a Date to a timestamp.\n */\nexport function toMilliseconds(\n options: DatePickerOptions | TimePickerOptions,\n ...keys: Array\n) {\n keys.forEach(function each(key) {\n const value = options[key];\n\n // Is it a Date object?\n if (Object.prototype.toString.call(value) === '[object Date]') {\n options[key] = value.getTime();\n }\n });\n}\n","import PropTypes from 'prop-types';\nimport {\n propTypes as fieldPropTypes,\n defaultProps as defaultFieldPropTypes,\n} from '../TextInput/baseTextInputPropTypes';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n ...fieldPropTypes,\n\n /**\n * The datepicker supports any value that `moment` can parse.\n * `onInputChange` would always be called with a Date (or null)\n */\n value: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),\n\n /**\n * The datepicker supports any defaultValue that `moment` can parse.\n * `onInputChange` would always be called with a Date (or null)\n */\n defaultValue: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),\n\n /** The earliest date allowed to select */\n minDate: PropTypes.instanceOf(Date),\n\n /** The latest date allowed to select */\n maxDate: PropTypes.instanceOf(Date),\n};\n\nconst defaultProps = {\n ...defaultFieldPropTypes,\n value: undefined,\n minDate: new Date(CONST.DATE.MIN_DATE),\n maxDate: new Date(CONST.DATE.MAX_DATE),\n};\n\nexport {propTypes, defaultProps};\n","import React from 'react';\nimport {ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport styles from '../../styles/styles';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport TextLink from '../../components/TextLink';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CheckboxWithLabel from '../../components/CheckboxWithLabel';\nimport Text from '../../components/Text';\nimport ShortTermsForm from './TermsPage/ShortTermsForm';\nimport LongTermsForm from './TermsPage/LongTermsForm';\nimport FormAlertWithSubmitButton from '../../components/FormAlertWithSubmitButton';\nimport walletTermsPropTypes from './walletTermsPropTypes';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\n\nconst propTypes = {\n /** Comes from Onyx. Information about the terms for the wallet */\n walletTerms: walletTermsPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n walletTerms: {},\n};\n\nclass TermsStep extends React.Component {\n constructor(props) {\n super(props);\n\n this.toggleDisclosure = this.toggleDisclosure.bind(this);\n this.togglePrivacyPolicy = this.togglePrivacyPolicy.bind(this);\n this.state = {\n hasAcceptedDisclosure: false,\n hasAcceptedPrivacyPolicyAndWalletAgreement: false,\n error: false,\n };\n }\n\n clearError() {\n if (!this.state.hasAcceptedDisclosure || !this.state.hasAcceptedPrivacyPolicyAndWalletAgreement) {\n return;\n }\n\n this.setState({error: false});\n }\n\n toggleDisclosure() {\n this.setState(prevState => ({hasAcceptedDisclosure: !prevState.hasAcceptedDisclosure}), () => this.clearError());\n }\n\n togglePrivacyPolicy() {\n this.setState(prevState => ({\n hasAcceptedPrivacyPolicyAndWalletAgreement: !prevState.hasAcceptedPrivacyPolicyAndWalletAgreement,\n }), () => this.clearError());\n }\n\n render() {\n const errorMessage = this.state.error ? this.props.translate('common.error.acceptTerms') : (ErrorUtils.getLatestErrorMessage(this.props.walletTerms) || '');\n return (\n <>\n Navigation.dismissModal()}\n />\n \n \n \n (\n \n {`${this.props.translate('termsStep.haveReadAndAgree')}`}\n \n {`${this.props.translate('termsStep.electronicDisclosures')}.`}\n \n \n )}\n />\n (\n \n {`${this.props.translate('termsStep.agreeToThe')} `}\n\n \n {`${this.props.translate('common.privacy')} `}\n \n\n {`${this.props.translate('common.and')} `}\n\n \n {`${this.props.translate('termsStep.walletAgreement')}.`}\n \n \n )}\n />\n {\n if (!this.state.hasAcceptedDisclosure\n || !this.state.hasAcceptedPrivacyPolicyAndWalletAgreement) {\n this.setState({error: true});\n return;\n }\n\n this.setState({error: false});\n BankAccounts.acceptWalletTerms({\n hasAcceptedTerms: this.state.hasAcceptedDisclosure\n && this.state.hasAcceptedPrivacyPolicyAndWalletAgreement,\n chatReportID: this.props.walletTerms.chatReportID,\n });\n }}\n message={errorMessage}\n isAlertVisible={this.state.error || Boolean(errorMessage)}\n containerStyles={[styles.mh0, styles.mv4]}\n />\n \n \n );\n }\n}\n\nTermsStep.propTypes = propTypes;\nTermsStep.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withOnyx({\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n }),\n)(TermsStep);\n","import React from 'react';\nimport {View} from 'react-native';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport * as Localize from '../../../libs/Localize';\nimport CONST from '../../../CONST';\nimport TextLink from '../../../components/TextLink';\n\nconst ShortTermsForm = () => (\n <>\n \n {Localize.translateLocal('termsStep.shortTermsForm.expensifyPaymentsAccount')}\n \n\n \n \n \n \n {Localize.translateLocal('termsStep.monthlyFee')}\n \n \n {Localize.translateLocal('termsStep.feeAmountZero')}\n \n \n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.perPurchase')}\n \n \n {Localize.translateLocal('termsStep.feeAmountZero')}\n \n \n \n \n\n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.atmWithdrawal')}\n \n \n {Localize.translateLocal('common.na')}\n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.inNetwork')}\n \n \n \n {Localize.translateLocal('common.na')}\n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.outOfNetwork')}\n \n \n \n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.cashReload')}\n \n \n {Localize.translateLocal('common.na')}\n \n \n \n \n\n \n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.atmBalanceInquiry')}\n {' '}\n {Localize.translateLocal('termsStep.shortTermsForm.inOrOutOfNetwork')}\n \n \n \n \n {Localize.translateLocal('common.na')}\n \n \n \n\n \n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.customerService')}\n {' '}\n {Localize.translateLocal('termsStep.shortTermsForm.automatedOrLive')}\n \n \n \n \n {Localize.translateLocal('termsStep.feeAmountZero')}\n \n \n \n\n \n \n \n \n {Localize.translateLocal('termsStep.inactivity')}\n {' '}\n {Localize.translateLocal('termsStep.shortTermsForm.afterTwelveMonths')}\n \n \n \n \n {Localize.translateLocal('termsStep.feeAmountZero')}\n \n \n \n\n \n \n \n {Localize.translateLocal('termsStep.shortTermsForm.weChargeOneFee')}\n \n \n\n \n \n \n \n {Localize.translateLocal('termsStep.electronicFundsWithdrawal')}\n {' '}\n {Localize.translateLocal('termsStep.shortTermsForm.instant')}\n \n \n \n \n {Localize.translateLocal('termsStep.electronicFundsInstantFee')}\n {' '}\n \n \n {Localize.translateLocal('termsStep.shortTermsForm.electronicFundsInstantFeeMin')}\n \n \n \n \n \n {Localize.translateLocal('termsStep.noOverdraftOrCredit')}\n \n \n {Localize.translateLocal('termsStep.shortTermsForm.fdicInsurance')}\n \n \n {Localize.translateLocal('termsStep.shortTermsForm.generalInfo')}\n {' '}\n \n {CONST.TERMS.CFPB_PREPAID}\n \n .\n \n \n {Localize.translateLocal('termsStep.shortTermsForm.conditionsDetails')}\n {' '}\n \n {CONST.TERMS.USE_EXPENSIFY_FEES}\n \n {' '}\n {Localize.translateLocal('termsStep.shortTermsForm.conditionsPhone')}\n \n \n \n \n);\n\nShortTermsForm.displayName = 'ShortTermsForm';\n\nexport default ShortTermsForm;\n","import _ from 'underscore';\nimport React from 'react';\nimport {View} from 'react-native';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport CollapsibleSection from '../../../components/CollapsibleSection';\nimport * as Localize from '../../../libs/Localize';\nimport CONST from '../../../CONST';\nimport Icon from '../../../components/Icon';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport TextLink from '../../../components/TextLink';\n\nconst termsData = [\n {\n title: Localize.translateLocal('termsStep.longTermsForm.openingAccountTitle'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.openingAccountDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.monthlyFee'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.monthlyFeeDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.longTermsForm.customerServiceTitle'),\n subTitle: Localize.translateLocal('termsStep.longTermsForm.automated'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.customerServiceDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.longTermsForm.customerServiceTitle'),\n subTitle: Localize.translateLocal('termsStep.longTermsForm.liveAgent'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.customerServiceDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.inactivity'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.inactivityDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.longTermsForm.sendingFundsTitle'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.sendingFundsDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.electronicFundsWithdrawal'),\n subTitle: Localize.translateLocal('termsStep.standard'),\n rightText: Localize.translateLocal('termsStep.feeAmountZero'),\n details: Localize.translateLocal('termsStep.longTermsForm.electronicFundsStandardDetails'),\n },\n {\n title: Localize.translateLocal('termsStep.electronicFundsWithdrawal'),\n subTitle: Localize.translateLocal('termsStep.longTermsForm.instant'),\n rightText: Localize.translateLocal('termsStep.electronicFundsInstantFee'),\n subRightText: Localize.translateLocal('termsStep.longTermsForm.electronicFundsInstantFeeMin'),\n details: Localize.translateLocal('termsStep.longTermsForm.electronicFundsInstantDetails'),\n },\n];\n\nconst getLongTermsSections = () => _.map(termsData, (section, index) => (\n // eslint-disable-next-line react/no-array-index-key\n \n \n \n {section.title}\n {\n Boolean(section.subTitle)\n && (\n \n {section.subTitle}\n \n )\n }\n \n \n \n {section.rightText}\n \n {\n Boolean(section.subRightText)\n && (\n \n {section.subRightText}\n \n )\n }\n \n \n \n {section.details}\n \n \n));\n\nconst LongTermsForm = () => (\n <>\n \n {getLongTermsSections()}\n \n\n \n {Localize.translateLocal('termsStep.longTermsForm.fdicInsuranceBancorp')}\n {' '}\n {CONST.TERMS.FDIC_PREPAID}\n {' '}\n {Localize.translateLocal('termsStep.longTermsForm.fdicInsuranceBancorp2')}\n \n \n {Localize.translateLocal('termsStep.noOverdraftOrCredit')}\n \n \n {Localize.translateLocal('termsStep.longTermsForm.contactExpensifyPayments')}\n {' '}\n {CONST.EMAIL.CONCIERGE}\n {' '}\n {Localize.translateLocal('termsStep.longTermsForm.contactExpensifyPayments2')}\n {' '}\n {CONST.NEW_EXPENSIFY_URL}\n .\n \n \n {Localize.translateLocal('termsStep.longTermsForm.generalInformation')}\n {' '}\n {CONST.TERMS.CFPB_PREPAID}\n {'. '}\n {Localize.translateLocal('termsStep.longTermsForm.generalInformation2')}\n {' '}\n {CONST.TERMS.CFPB_COMPLAINT}\n .\n \n\n \n \n \n {Localize.translateLocal('termsStep.longTermsForm.printerFriendlyView')}\n \n \n \n);\n\nLongTermsForm.displayName = 'LongTermsForm';\nexport default LongTermsForm;\n","import React from 'react';\nimport {View, TouchableOpacity} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Collapsible from './Collapsible';\nimport Text from '../Text';\nimport styles from '../../styles/styles';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\n\nconst propTypes = {\n /** Title of the Collapsible section */\n title: PropTypes.string.isRequired,\n\n /** Children to display inside the Collapsible component */\n children: PropTypes.node.isRequired,\n};\n\nclass CollapsibleSection extends React.Component {\n constructor(props) {\n super(props);\n this.toggleSection = this.toggleSection.bind(this);\n this.state = {\n isExpanded: false,\n };\n }\n\n /**\n * Expands/collapses the section\n */\n toggleSection() {\n this.setState(prevState => ({\n isExpanded: !prevState.isExpanded,\n }));\n }\n\n render() {\n const src = this.state.isExpanded ? Expensicons.UpArrow : Expensicons.DownArrow;\n\n return (\n \n \n \n {this.props.title}\n \n \n \n \n\n \n \n {this.props.children}\n \n \n \n );\n }\n}\n\nCollapsibleSection.propTypes = propTypes;\nexport default CollapsibleSection;\n","import CollapsibleRN from 'react-native-collapsible';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nconst propTypes = {\n /** Whether the section should start expanded. False by default */\n isOpened: PropTypes.bool,\n\n /** Children to display inside the Collapsible component */\n children: PropTypes.node.isRequired,\n};\n\nconst defaultProps = {\n isOpened: false,\n};\n\nconst Collapsible = props => (\n \n {props.children}\n \n);\n\nCollapsible.displayName = 'Collapsible';\nCollapsible.propTypes = propTypes;\nCollapsible.defaultProps = defaultProps;\nexport default Collapsible;\n","import React, { Component } from 'react';\nimport { Animated, Easing } from 'react-native';\n\nconst ANIMATED_EASING_PREFIXES = ['easeInOut', 'easeOut', 'easeIn'];\n\nexport default class Collapsible extends Component {\n static defaultProps = {\n align: 'top',\n collapsed: true,\n collapsedHeight: 0,\n enablePointerEvents: false,\n duration: 300,\n easing: 'easeOutCubic',\n onAnimationEnd: () => null,\n renderChildrenCollapsed: true,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n measuring: false,\n measured: false,\n height: new Animated.Value(props.collapsedHeight),\n contentHeight: 0,\n animating: false,\n };\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.collapsed !== this.props.collapsed) {\n this.setState({ measured: false }, () =>\n this._componentDidUpdate(prevProps)\n );\n } else {\n this._componentDidUpdate(prevProps);\n }\n }\n\n componentWillUnmount() {\n this.unmounted = true;\n }\n\n _componentDidUpdate(prevProps) {\n if (prevProps.collapsed !== this.props.collapsed) {\n this._toggleCollapsed(this.props.collapsed);\n } else if (\n this.props.collapsed &&\n prevProps.collapsedHeight !== this.props.collapsedHeight\n ) {\n this.state.height.setValue(this.props.collapsedHeight);\n }\n }\n\n contentHandle = null;\n\n _handleRef = (ref) => {\n this.contentHandle = ref;\n };\n\n _measureContent(callback) {\n this.setState(\n {\n measuring: true,\n },\n () => {\n requestAnimationFrame(() => {\n if (!this.contentHandle) {\n this.setState(\n {\n measuring: false,\n },\n () => callback(this.props.collapsedHeight)\n );\n } else {\n let ref;\n if (typeof this.contentHandle.measure === 'function') {\n ref = this.contentHandle;\n } else {\n ref = this.contentHandle.getNode();\n }\n ref.measure((x, y, width, height) => {\n this.setState(\n {\n measuring: false,\n measured: true,\n contentHeight: height,\n },\n () => callback(height)\n );\n });\n }\n });\n }\n );\n }\n\n _toggleCollapsed(collapsed) {\n if (collapsed) {\n this._transitionToHeight(this.props.collapsedHeight);\n } else if (!this.contentHandle) {\n if (this.state.measured) {\n this._transitionToHeight(this.state.contentHeight);\n }\n return;\n } else {\n this._measureContent((contentHeight) => {\n this._transitionToHeight(contentHeight);\n });\n }\n }\n\n _transitionToHeight(height) {\n const { duration } = this.props;\n let easing = this.props.easing;\n if (typeof easing === 'string') {\n let prefix;\n let found = false;\n for (let i = 0; i < ANIMATED_EASING_PREFIXES.length; i++) {\n prefix = ANIMATED_EASING_PREFIXES[i];\n if (easing.substr(0, prefix.length) === prefix) {\n easing =\n easing.substr(prefix.length, 1).toLowerCase() +\n easing.substr(prefix.length + 1);\n prefix = prefix.substr(4, 1).toLowerCase() + prefix.substr(5);\n easing = Easing[prefix](Easing[easing || 'ease']);\n found = true;\n break;\n }\n }\n if (!found) {\n easing = Easing[easing];\n }\n if (!easing) {\n throw new Error('Invalid easing type \"' + this.props.easing + '\"');\n }\n }\n\n if (this._animation) {\n this._animation.stop();\n }\n this.setState({ animating: true });\n this._animation = Animated.timing(this.state.height, {\n useNativeDriver: false,\n toValue: height ? height : 0,\n duration,\n easing,\n }).start(() => {\n if (this.unmounted) {\n return;\n }\n this.setState({ animating: false }, () => {\n if (this.unmounted) {\n return;\n }\n this.props.onAnimationEnd();\n });\n });\n }\n\n _handleLayoutChange = (event) => {\n const contentHeight = event.nativeEvent.layout.height;\n if (\n this.state.animating ||\n this.props.collapsed ||\n this.state.measuring ||\n this.state.contentHeight === contentHeight\n ) {\n return;\n }\n\n this.state.height.setValue(contentHeight);\n this.setState({ contentHeight });\n };\n\n render() {\n const {\n collapsed,\n enablePointerEvents,\n renderChildrenCollapsed,\n } = this.props;\n const {\n height,\n contentHeight,\n measuring,\n measured,\n animating,\n } = this.state;\n const hasKnownHeight = !measuring && (measured || collapsed);\n const style = hasKnownHeight && {\n overflow: 'hidden',\n height: height,\n };\n const contentStyle = {};\n if (measuring) {\n contentStyle.position = 'absolute';\n contentStyle.opacity = 0;\n } else if (this.props.align === 'center') {\n contentStyle.transform = [\n {\n translateY: height.interpolate({\n inputRange: [0, contentHeight],\n outputRange: [contentHeight / -2, 0],\n }),\n },\n ];\n } else if (this.props.align === 'bottom') {\n contentStyle.transform = [\n {\n translateY: height.interpolate({\n inputRange: [0, contentHeight],\n outputRange: [-contentHeight, 0],\n }),\n },\n ];\n }\n if (animating) {\n contentStyle.height = contentHeight;\n }\n const shouldRenderChildren =\n renderChildrenCollapsed ||\n ((!collapsed || (collapsed && animating)) &&\n (animating || measuring || measured));\n\n return (\n \n \n {shouldRenderChildren && this.props.children}\n \n \n );\n }\n}\n","import PropTypes from 'prop-types';\n\n/** Prop types related to the Terms step of KYC flow */\nexport default PropTypes.shape({\n /** Any error message to show */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** When the user accepts the Wallet's terms in order to pay an IOU, this is the ID of the chatReport the IOU is linked to */\n chatReportID: PropTypes.string,\n});\n","import React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport FireworksAnimation from '../../../assets/animations/Fireworks.json';\nimport ReviewingBankInfoAnimation from '../../../assets/animations/ReviewingBankInfo.json';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport userWalletPropTypes from './userWalletPropTypes';\nimport CONST from '../../CONST';\nimport * as PaymentMethods from '../../libs/actions/PaymentMethods';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport walletTermsPropTypes from './walletTermsPropTypes';\nimport ConfirmationPage from '../../components/ConfirmationPage';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** The user's wallet */\n userWallet: userWalletPropTypes,\n\n /** Information about the user accepting the terms for payments */\n walletTerms: walletTermsPropTypes,\n};\n\nconst defaultProps = {\n userWallet: {},\n walletTerms: {\n chatReportID: 0,\n },\n};\n\nconst ActivateStep = (props) => {\n const isGoldWallet = props.userWallet.tierName === CONST.WALLET.TIER_NAME.GOLD;\n const animation = isGoldWallet ? FireworksAnimation : ReviewingBankInfoAnimation;\n const continueButtonText = props.walletTerms.chatReportID ? props.translate('activateStep.continueToPayment') : props.translate('activateStep.continueToTransfer');\n\n return (\n <>\n Navigation.dismissModal()}\n shouldShowBackButton\n onBackButtonPress={() => Navigation.goBack()}\n />\n \n \n );\n};\n\nActivateStep.propTypes = propTypes;\nActivateStep.defaultProps = defaultProps;\nActivateStep.displayName = 'ActivateStep';\n\nexport default compose(\n withLocalize,\n withOnyx({\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n }),\n)(ActivateStep);\n","{\"v\":\"5.9.6\",\"fr\":24,\"ip\":0,\"op\":128,\"w\":280,\"h\":280,\"nm\":\"Comp 1\",\"ddd\":0,\"assets\":[{\"id\":\"comp_0\",\"nm\":\"Expensify-Reviewing-120522-kjs-1\",\"fr\":24,\"layers\":[{\"ddd\":0,\"ind\":2,\"ty\":3,\"nm\":\"magnifying glass ol peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.899,\"y\":0},\"o\":{\"x\":0.333,\"y\":0},\"t\":0,\"s\":[934.5,523,0],\"to\":[0.157,0,0],\"ti\":[-0.171,0,0]},{\"i\":{\"x\":0.667,\"y\":0.952},\"o\":{\"x\":0.333,\"y\":0.048},\"t\":10,\"s\":[934.993,523,0],\"to\":[10.919,0,0],\"ti\":[-10.92,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.101,\"y\":1},\"t\":28,\"s\":[996.007,523,0],\"to\":[0.171,0,0],\"ti\":[-0.157,0,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":38,\"s\":[996.5,523,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.888,\"y\":0},\"o\":{\"x\":0.333,\"y\":0},\"t\":41,\"s\":[996.5,523,0],\"to\":[-0.101,0.188,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":0.95},\"o\":{\"x\":0.333,\"y\":0.05},\"t\":50,\"s\":[996.181,523.593,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.101,\"y\":1},\"t\":67,\"s\":[960.819,589.407,0],\"to\":[0,0,0],\"ti\":[0.1,-0.185,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":77,\"s\":[960.5,590,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.889,\"y\":0},\"o\":{\"x\":0.333,\"y\":0},\"t\":80,\"s\":[960.5,590,0],\"to\":[-0.048,-0.123,0],\"ti\":[0.051,0.131,0]},{\"i\":{\"x\":0.667,\"y\":0.95},\"o\":{\"x\":0.333,\"y\":0.05},\"t\":89,\"s\":[960.352,589.619,0],\"to\":[-4.515,-11.634,0],\"ti\":[4.515,11.634,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.1,\"y\":1},\"t\":115,\"s\":[934.648,523.381,0],\"to\":[-0.051,-0.131,0],\"ti\":[0.048,0.123,0]},{\"t\":125,\"s\":[934.5,523,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":3,\"ty\":3,\"nm\":\"mag glass handle peg\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[-2.273]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":0,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[0.952]},\"o\":{\"x\":[0.333],\"y\":[0.048]},\"t\":10,\"s\":[-0.866]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[3.273]},\"t\":28,\"s\":[-107.134]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":38,\"s\":[-108]},{\"i\":{\"x\":[0.667],\"y\":[-1.942]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":41,\"s\":[-108]},{\"i\":{\"x\":[0.667],\"y\":[0.95]},\"o\":{\"x\":[0.333],\"y\":[0.05]},\"t\":50,\"s\":[-107.204]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[3.269]},\"t\":67,\"s\":[-19.51]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":77,\"s\":[-18.714]},{\"i\":{\"x\":[0.667],\"y\":[-1.954]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":80,\"s\":[-18.714]},{\"i\":{\"x\":[0.667],\"y\":[0.95]},\"o\":{\"x\":[0.333],\"y\":[0.05]},\"t\":89,\"s\":[-18.607]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[3.282]},\"t\":115,\"s\":[-0.108]},{\"t\":125,\"s\":[0]}],\"ix\":10},\"p\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":4,\"ty\":3,\"nm\":\"magnifying glass shine peg\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":5,\"ty\":3,\"nm\":\"magnifying glass ul peg 2\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[-2.463,49,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":6,\"ty\":4,\"nm\":\"magnifying glass ol Outlines 2\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.841,-20.339],[20.339,2.841],[-2.841,20.339],[-20.339,-2.841]],\"o\":[[-2.841,20.339],[-20.339,-2.841],[2.841,-20.34],[20.34,2.841]],\"v\":[[36.828,5.144],[-5.144,36.828],[-36.828,-5.144],[5.144,-36.828]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[722.446,485.643],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[3.486,-24.958],[24.958,3.486],[-3.486,24.958],[-24.958,-3.486]],\"o\":[[-3.486,24.958],[-24.958,-3.486],[3.486,-24.958],[24.958,3.487]],\"v\":[[45.191,6.312],[-6.312,45.191],[-45.19,-6.313],[6.312,-45.191]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[722.446,485.643],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[7.071,-12.993],[15.178,-0.264],[5.535,14.426],[-13.988,9.919],[-12.417,-10.82]],\"o\":[[-5.553,13.91],[-15.764,0.274],[-6.247,-16.281],[13.537,-9.599],[10.449,9.106]],\"v\":[[34.266,13.544],[-0.348,37.053],[-34.648,12.721],[-20.793,-30.413],[23.884,-27.934]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ind\":1,\"ty\":\"sh\",\"ix\":2,\"ks\":{\"a\":0,\"k\":{\"i\":[[25.257,3.528],[3.527,-25.256],[-25.256,-3.527],[-3.528,25.256]],\"o\":[[-25.256,-3.528],[-3.528,25.257],[25.256,3.528],[3.528,-25.256]],\"v\":[[6.387,-45.73],[-45.73,-6.388],[-6.388,45.73],[45.73,6.388]],\"c\":true},\"ix\":2},\"nm\":\"Path 2\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"mm\",\"mm\":1,\"nm\":\"Merge Paths 1\",\"mn\":\"ADBE Vector Filter - Merge\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.901960844152,0.533333333333,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[722.61,485.504],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":1512,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":7,\"ty\":4,\"nm\":\"mag glass handle Outlines\",\"parent\":3,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-3.292,-4.361],[-4.36,3.292],[0,0]],\"o\":[[0,0],[-4.361,3.292],[3.291,4.36],[0,0],[0,0]],\"v\":[[14.736,-23.474],[-22.461,4.391],[-24.396,18.247],[-10.542,20.182],[27.688,-8.76]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[670.18,528.677],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.996,5.78],[0,0],[-4.675,-6.524],[-0.778,0.881]],\"o\":[[-6.007,-4.393],[0,0],[0,0],[3.157,5.13],[0.778,-0.88]],\"v\":[[28.38,-8.572],[15.149,-23.565],[-23.552,5.787],[-23.705,18.435],[-10.627,21.25]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.788235353956,0.501960784314,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[669.488,528.489],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":1512,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":8,\"ty\":4,\"nm\":\"magnifying glass shine Outlines\",\"parent\":4,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[16.954,-13.615],[-3.426,0.413],[-3.406,0.546],[-3.484,0.387],[-0.767,3.42]],\"o\":[[-2.69,2.16],[3.425,-0.413],[3.461,-0.555],[3.483,-0.387],[0,0]],\"v\":[[-17.046,4.363],[-8.758,8.839],[1.229,6.186],[11.728,5.897],[19.737,0.175]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.870588295133,0.952941236309,0.968627510819,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[717.709,451.654],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":9,\"ty\":4,\"nm\":\"magnifying glass ul Outlines 3\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":50,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.862,-20.493],[20.493,2.863],[-2.863,20.493],[-20.493,-2.863]],\"o\":[[-2.862,20.493],[-20.493,-2.862],[2.862,-20.492],[20.492,2.862]],\"v\":[[37.105,5.183],[-5.183,37.105],[-37.105,-5.183],[5.183,-37.105]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.572549019608,0.941176530427,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[723.272,485.671],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":10,\"ty\":4,\"nm\":\"magnifying glass ul Outlines 2\",\"parent\":2,\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.862,-20.493],[20.493,2.863],[-2.863,20.493],[-20.493,-2.863]],\"o\":[[-2.862,20.493],[-20.493,-2.862],[2.862,-20.492],[20.492,2.862]],\"v\":[[37.105,5.183],[-5.183,37.105],[-37.105,-5.183],[5.183,-37.105]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.572549019608,0.941176530427,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[723.272,485.671],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":11,\"ty\":0,\"nm\":\"items\",\"tt\":1,\"refId\":\"comp_1\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[960,540,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[156.3,156.3,100],\"ix\":6,\"l\":2}},\"ao\":0,\"w\":1920,\"h\":1080,\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":12,\"ty\":0,\"nm\":\"items\",\"refId\":\"comp_1\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[960,540,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"w\":1920,\"h\":1080,\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":13,\"ty\":4,\"nm\":\"magnifying glass ul Outlines\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[288,105,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[2.862,-20.493],[20.493,2.863],[-2.863,20.493],[-20.493,-2.863]],\"o\":[[-2.862,20.493],[-20.493,-2.862],[2.862,-20.492],[20.492,2.862]],\"v\":[[37.105,5.183],[-5.183,37.105],[-37.105,-5.183],[5.183,-37.105]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.572549019608,0.941176530427,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[723.272,485.671],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0}]},{\"id\":\"comp_1\",\"nm\":\"items\",\"fr\":24,\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":3,\"nm\":\"bank2 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[878.5,629,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-16.667]},\"t\":0,\"s\":[10,10,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":5,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,16]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":37,\"s\":[100,100,100]},{\"t\":42,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":43,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":2,\"ty\":3,\"nm\":\"bank5 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[959.5,630,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,15]},\"t\":0,\"s\":[10,10,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":5,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,16]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":37,\"s\":[100,100,100]},{\"t\":42,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":43,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":3,\"ty\":3,\"nm\":\"bank4 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1040.5,630,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,15]},\"t\":0,\"s\":[10,10,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":5,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,16]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":37,\"s\":[100,100,100]},{\"t\":42,\"s\":[10,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":43,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":4,\"ty\":3,\"nm\":\"bank5 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":5,\"s\":[961.5,621,0],\"to\":[-6.917,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":10,\"s\":[920,621,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":32,\"s\":[920,621,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":37,\"s\":[961.5,621,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-0.175]},\"t\":5,\"s\":[96,96,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":10,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.825]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":32,\"s\":[100,100,100]},{\"t\":37,\"s\":[96,96,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":5,\"op\":38,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":5,\"ty\":3,\"nm\":\"bank6 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":5,\"s\":[959,622,0],\"to\":[6.667,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":10,\"s\":[999,622,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":32,\"s\":[999,622,0],\"to\":[0,0,0],\"ti\":[6.667,0,0]},{\"t\":37,\"s\":[959,622,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,-0.175]},\"t\":5,\"s\":[96,96,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":10,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":32,\"s\":[100,100,100]},{\"t\":37,\"s\":[96,96,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":5,\"op\":38,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":6,\"ty\":3,\"nm\":\"bank1 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":7,\"s\":[959.5,518,0],\"to\":[0,-3,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":13,\"s\":[959.5,500,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":29,\"s\":[959.5,500,0],\"to\":[0,0,0],\"ti\":[0,-3,0]},{\"t\":35,\"s\":[959.5,518,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.278]},\"t\":7,\"s\":[59,59,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":13,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":29,\"s\":[100,100,100]},{\"t\":35,\"s\":[59,59,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":7,\"op\":36,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":7,\"ty\":3,\"nm\":\"card1 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.167],\"y\":[0.167]},\"t\":43,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":48,\"s\":[-7]},{\"i\":{\"x\":[0.833],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":54,\"s\":[0]},{\"i\":{\"x\":[0.652],\"y\":[1]},\"o\":{\"x\":[0.317],\"y\":[0]},\"t\":78,\"s\":[0]},{\"i\":{\"x\":[0.832],\"y\":[1]},\"o\":{\"x\":[0.368],\"y\":[0]},\"t\":81,\"s\":[0]},{\"t\":86,\"s\":[0]}],\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":43,\"s\":[902.5,625,0],\"to\":[0.5,-2.333,0],\"ti\":[-0.5,1.167,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":48,\"s\":[905.5,611,0],\"to\":[0.5,-1.167,0],\"ti\":[0,-1.167,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":54,\"s\":[905.5,618,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.819,\"y\":0},\"o\":{\"x\":0.317,\"y\":0},\"t\":78,\"s\":[905.5,618,0],\"to\":[-0.028,0.066,0],\"ti\":[0.037,-0.087,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.368,\"y\":0.115},\"t\":81,\"s\":[905.402,618.23,0],\"to\":[-0.622,1.452,0],\"ti\":[0.472,-1.101,0]},{\"t\":86,\"s\":[902.5,625,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0]},\"t\":43,\"s\":[103,12,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":48,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":54,\"s\":[100,100,100]},{\"i\":{\"x\":[0.652,0.652,0.652],\"y\":[-0.923,-0.923,1]},\"o\":{\"x\":[0.317,0.317,0.317],\"y\":[0,0,0]},\"t\":78,\"s\":[100,100,100]},{\"i\":{\"x\":[0.832,0.832,0.832],\"y\":[0.892,0.892,1]},\"o\":{\"x\":[0.368,0.368,0.368],\"y\":[0.115,0.115,0]},\"t\":81,\"s\":[100.098,97.117,100]},{\"t\":86,\"s\":[103,12,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":43,\"op\":87,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":8,\"ty\":3,\"nm\":\"card2 peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.167],\"y\":[0.167]},\"t\":41,\"s\":[0]},{\"i\":{\"x\":[0.667],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":47,\"s\":[-7]},{\"i\":{\"x\":[0.833],\"y\":[1]},\"o\":{\"x\":[0.333],\"y\":[0]},\"t\":52,\"s\":[0]},{\"i\":{\"x\":[0.652],\"y\":[1]},\"o\":{\"x\":[0.317],\"y\":[0]},\"t\":76,\"s\":[0]},{\"i\":{\"x\":[0.832],\"y\":[1]},\"o\":{\"x\":[0.368],\"y\":[0]},\"t\":79,\"s\":[0]},{\"t\":84,\"s\":[0]}],\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":41,\"s\":[846.5,573,0],\"to\":[0.5,-3.667,0],\"ti\":[-0.5,2.667,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":47,\"s\":[849.5,551,0],\"to\":[0.5,-2.667,0],\"ti\":[0,-1,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":52,\"s\":[849.5,557,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.82,\"y\":0},\"o\":{\"x\":0.317,\"y\":0},\"t\":76,\"s\":[849.5,557,0],\"to\":[-0.028,0.15,0],\"ti\":[0.037,-0.197,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.368,\"y\":0.115},\"t\":79,\"s\":[849.402,557.521,0],\"to\":[-0.622,3.316,0],\"ti\":[0.472,-2.517,0]},{\"t\":84,\"s\":[846.5,573,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0]},\"t\":41,\"s\":[103,10,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":47,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":52,\"s\":[100,100,100]},{\"i\":{\"x\":[0.652,0.652,0.652],\"y\":[-0.923,-0.923,1]},\"o\":{\"x\":[0.317,0.317,0.317],\"y\":[0,0,0]},\"t\":76,\"s\":[100,100,100]},{\"i\":{\"x\":[0.832,0.832,0.832],\"y\":[0.892,0.892,1]},\"o\":{\"x\":[0.368,0.368,0.368],\"y\":[0.115,0.115,0]},\"t\":79,\"s\":[100.098,97.052,100]},{\"t\":84,\"s\":[103,10,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":41,\"op\":85,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":9,\"ty\":3,\"nm\":\"receipt roll peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":87,\"s\":[940.5,413,0],\"to\":[-14.167,3,0],\"ti\":[0.697,-25.63,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":92,\"s\":[861.5,452,0],\"to\":[-0.667,24.5,0],\"ti\":[0,-15.5,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":95,\"s\":[861.5,545,0],\"to\":[0,0,0],\"ti\":[0,15.583,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":120,\"s\":[861.5,614.5,0],\"to\":[0,-15.583,0],\"ti\":[-13.167,33.583,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":125,\"s\":[861.5,451.5,0],\"to\":[13.167,-33.583,0],\"ti\":[14.365,-3.042,0]},{\"t\":127,\"s\":[940.5,413,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":87,\"s\":[22,22,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":92,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":95,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":120,\"s\":[100,100,100]},{\"i\":{\"x\":[0.833,0.833,0.833],\"y\":[0.833,0.833,0.833]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0.167]},\"t\":125,\"s\":[100,100,100]},{\"t\":127,\"s\":[22,22,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":87,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":10,\"ty\":3,\"nm\":\"receipt peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":95,\"s\":[958.5,445,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":96,\"s\":[958.5,445,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":101,\"s\":[958.5,445,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50.5,49,0],\"ix\":1,\"l\":2},\"s\":{\"a\":1,\"k\":[{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.167,0.167,0.167],\"y\":[0.167,0.167,0]},\"t\":95,\"s\":[100,100,100]},{\"i\":{\"x\":[0.667,0.667,0.667],\"y\":[1,1,1]},\"o\":{\"x\":[0.333,0.333,0.333],\"y\":[0,0,0]},\"t\":96,\"s\":[97,105,100]},{\"t\":101,\"s\":[100,100,100]}],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":92,\"op\":126,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":11,\"ty\":4,\"nm\":\"bank2 Outlines\",\"parent\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[338,-183,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[654.22,642.81],[690.97,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[15.545,-7.38],[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38],[-15.885,-7.38],[0.345,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[672.765,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[673.11,663.73],[673.11,757.88]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[688.31,663.61],[688.31,758.02]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[656.88,663.61],[656.88,757.88]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-9.29],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,-9.29],[0,0]],\"v\":[[-18.375,-10.4],[-15.715,10.4],[0.515,10.4],[15.715,10.4],[18.375,-10.4]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[672.595,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,-9.29],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-9.29]],\"v\":[[-18.375,-10.4],[18.375,-10.4],[15.715,10.4],[0.515,10.4],[-15.715,10.4]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[672.595,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38],[-15.885,-7.38],[0.345,-7.38],[15.545,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[672.765,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.6,47.17],[7.6,47.24],[-7.6,47.24],[-7.6,47.03],[-7.6,-47.12],[-7.6,-47.24],[7.6,-47.24]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[680.71,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[8.115,47.03],[8.115,47.24],[-8.115,47.24],[-8.115,47.03],[-8.115,-47.24],[8.115,-47.24],[8.115,-47.12]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[664.995,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":43,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":12,\"ty\":4,\"nm\":\"bank3 Outlines\",\"parent\":2,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[257,-184,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[735.46,642.81],[772.21,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[15.555,-7.38],[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38],[-15.885,-7.38],[0.355,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.005,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[754.36,663.29],[754.36,663.61],[754.36,758.09],[754.36,758.17]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[769.56,663.61],[769.56,758.02]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[738.12,663.61],[738.12,758.09],[738.12,758.17]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-9.29],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,-9.29],[0,0]],\"v\":[[-18.375,-10.4],[-15.715,10.4],[0.525,10.4],[15.725,10.4],[18.375,-10.4]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.835,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[-15.885,-7.38],[0.355,-7.38],[15.555,-7.38],[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.005,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,-9.29]],\"o\":[[0,0],[0,-9.29],[0,0],[0,0],[0,0]],\"v\":[[0.525,10.4],[-15.715,10.4],[-18.375,-10.4],[18.375,-10.4],[15.725,10.4]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.835,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[8.12,47.24],[-8.12,47.24],[-8.12,-47.24],[8.12,-47.24]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[746.24,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.6,47.17],[7.6,47.24],[-7.6,47.24],[-7.6,-47.24],[7.6,-47.24]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[761.96,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":43,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":13,\"ty\":4,\"nm\":\"bank4 Outlines\",\"parent\":3,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[176,-184,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[816.27,642.81],[853.01,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":1,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[15.555,-7.38],[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38],[-15.885,-7.38],[0.355,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[834.805,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[835.16,663.87],[835.16,757.74]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[850.36,663.61],[850.36,757.59]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[818.92,663.61],[818.92,757.88]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,-9.29],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,-9.29],[0,0]],\"v\":[[-18.37,-10.4],[-15.72,10.4],[0.52,10.4],[15.72,10.4],[18.37,-10.4]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[834.64,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,-9.29],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-9.29]],\"v\":[[-18.37,-10.4],[18.37,-10.4],[15.72,10.4],[0.52,10.4],[-15.72,10.4]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[834.64,653.21],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[20.125,-7.38],[20.125,7.38],[-20.125,7.38],[-20.125,-7.38],[-15.885,-7.38],[0.355,-7.38],[15.555,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[834.805,765.47],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[7.6,46.74],[7.6,47.24],[-7.6,47.24],[-7.6,46.89],[-7.6,-46.98],[-7.6,-47.24],[7.6,-47.24]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[842.76,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[8.12,46.89],[8.12,47.24],[-8.12,47.24],[-8.12,47.03],[-8.12,-47.24],[8.12,-47.24],[8.12,-46.98]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[827.04,710.85],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":0,\"op\":43,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":14,\"ty\":4,\"nm\":\"Shape Layer 2\",\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[960,540,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[0,0,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ty\":\"rc\",\"d\":1,\"s\":{\"a\":0,\"k\":[83.5,152],\"ix\":2},\"p\":{\"a\":0,\"k\":[0,0],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":4},\"nm\":\"Rectangle Path 1\",\"mn\":\"ADBE Vector Shape - Rect\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,1,1,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":1,\"lj\":1,\"ml\":4,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[-42.75,28],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Rectangle 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":5,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":15,\"ty\":4,\"nm\":\"bank5 Outlines\",\"parent\":4,\"tt\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[296,-175,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[674.05,764.78],[674.05,744.64],[674.05,724.71],[674.05,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[752.16,764.78],[752.16,744.64],[752.16,724.71],[752.16,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[752.16,642.81],[674.05,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[6.48,0],[2.12,-2.12],[0,-3.24],[0,0]],\"o\":[[0,0],[0,-6.48],[-3.24,0],[-2.13,2.12],[0,0],[0,0]],\"v\":[[11.73,24.795],[11.73,-13.055],[0,-24.795],[-8.29,-21.355],[-11.73,-13.055],[-11.73,24.355]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[713.77,699.475],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[674.05,724.71],[702.04,724.71],[725.5,724.71],[752.16,724.71]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[674.05,744.64],[752.16,744.64]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[674.05,764.78],[752.16,764.78]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[39.055,10.07],[-39.055,10.07],[-39.055,-10.07],[39.055,-10.07]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[713.105,754.71],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[39.055,-9.965],[39.055,9.965],[-39.055,9.965],[-39.055,-9.965],[-11.065,-9.965],[12.395,-9.965]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[713.105,734.675],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[-2.13,2.12],[-3.24,0],[0,-6.48]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-3.24],[2.12,-2.12],[6.48,0],[0,0]],\"v\":[[11.73,24.575],[11.73,25.015],[-11.73,25.015],[-11.73,24.135],[-11.73,-13.275],[-8.29,-21.575],[0,-25.015],[11.73,-13.275]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[713.77,699.695],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[6.48,0],[2.12,-2.12],[0,-3.24],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-6.48],[-3.24,0],[-2.13,2.12],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[39.055,-40.95],[39.055,40.95],[12.395,40.95],[12.395,40.51],[12.395,2.66],[0.665,-9.08],[-7.625,-5.64],[-11.065,2.66],[-11.065,40.07],[-11.065,40.95],[-39.055,40.95],[-39.055,-40.95]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.349019607843,0.662745098039,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[713.105,683.76],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":5,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":16,\"ty\":4,\"nm\":\"Shape Layer 1\",\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[960,540,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[0,0,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ty\":\"rc\",\"d\":1,\"s\":{\"a\":0,\"k\":[82,146.5],\"ix\":2},\"p\":{\"a\":0,\"k\":[0,0],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":4},\"nm\":\"Rectangle Path 1\",\"mn\":\"ADBE Vector Shape - Rect\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,1,1,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":1,\"lj\":1,\"ml\":4,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[41.5,25.25],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Rectangle 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":5,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":17,\"ty\":4,\"nm\":\"bank6 Outlines\",\"parent\":5,\"tt\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[217,-176,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[833.24,764.78],[833.24,744.64],[833.24,724.71],[833.24,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[756.21,764.78],[756.21,744.64],[756.21,724.71],[756.21,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[756.21,642.81],[833.24,642.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-6.48,0],[-2.12,-2.12],[0,-3.24],[0,0]],\"o\":[[0,0],[0,-6.48],[3.24,0],[2.13,2.12],[0,0],[0,0]],\"v\":[[-11.735,24.355],[-11.735,-13.055],[0.005,-24.795],[8.295,-21.355],[11.735,-13.055],[11.735,24.795]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[793.905,699.475],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[756.21,724.71],[782.17,724.71],[805.64,724.71],[833.24,724.71]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[756.21,744.64],[833.24,744.64]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[756.21,764.78],[833.24,764.78]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[38.515,10.07],[-38.515,10.07],[-38.515,-10.07],[38.515,-10.07]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[794.725,754.71],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[38.515,-9.965],[38.515,9.965],[-38.515,9.965],[-38.515,-9.965],[-12.555,-9.965],[10.915,-9.965]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[794.725,734.675],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[-6.48,0],[-2.12,-2.12],[0,-3.24]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-6.48],[3.24,0],[2.13,2.12],[0,0]],\"v\":[[11.735,24.575],[11.735,25.015],[-11.735,25.015],[-11.735,24.135],[-11.735,-13.275],[0.005,-25.015],[8.295,-21.575],[11.735,-13.275]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[793.905,699.695],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0],[0,0],[2.13,2.12],[3.24,0],[0,-6.48],[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0],[0,-3.24],[-2.12,-2.12],[-6.48,0],[0,0],[0,0],[0,0],[0,0],[0,0]],\"v\":[[38.515,-40.95],[38.515,40.95],[10.915,40.95],[10.915,40.51],[10.915,2.66],[7.475,-5.64],[-0.815,-9.08],[-12.555,2.66],[-12.555,40.07],[-12.555,40.95],[-38.515,40.95],[-38.515,-40.95]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.349019607843,0.662745098039,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[794.725,683.76],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":5,\"op\":38,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":18,\"ty\":0,\"nm\":\"bank-top-comp\",\"parent\":6,\"refId\":\"comp_2\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[51,89,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"w\":1920,\"h\":1080,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":19,\"ty\":4,\"nm\":\"card1 Outlines\",\"parent\":7,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[111,-83,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[4.072,0.006],[0,0],[-0.005,4.072],[0,0],[-4.072,-0.006],[0,0],[0.006,-4.071],[0,0]],\"o\":[[0,0],[-4.072,-0.006],[0,0],[0.006,-4.073],[0,0],[4.071,0.005],[0,0],[-0.005,4.072]],\"v\":[[27.908,11.434],[-27.94,11.354],[-35.303,3.971],[-35.292,-4.071],[-27.909,-11.434],[27.94,-11.354],[35.302,-3.972],[35.291,4.071]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1014.446,617.26],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.001,0.979],[0,0],[0.949,0.001],[0,0],[0.326,-0.432],[0,0],[0,-0.395],[0,0],[-0.2,-0.298],[0,0],[-0.565,0.002],[0,0]],\"o\":[[0,0],[0.002,-0.982],[0,0],[-0.529,-0.001],[0,0],[-0.235,0.311],[0,0],[0,0.362],[0,0],[0.322,0.481],[0,0],[0.945,-0.003]],\"v\":[[5.883,9.434],[5.908,-9.441],[4.193,-11.221],[-2.044,-11.23],[-3.4,-10.546],[-5.529,-7.72],[-5.892,-6.63],[-5.911,7.078],[-5.605,8.093],[-4.017,10.464],[-2.601,11.229],[4.171,11.209]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.835294177485,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[928.435,618.478],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.963,0.001],[0,0],[-0.001,0.963],[0,0],[-0.964,-0.002],[0,0],[0.001,-0.963],[0,0]],\"o\":[[0,0],[-0.963,-0.001],[0,0],[0.002,-0.963],[0,0],[0.963,0.001],[0,0],[-0.001,0.963]],\"v\":[[2.023,5.807],[-2.038,5.801],[-3.779,4.055],[-3.768,-4.065],[-2.021,-5.806],[2.039,-5.8],[3.779,-4.054],[3.768,4.066]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.835294177485,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[949.355,613.329],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.963,0.001],[0,0],[-0.001,0.963],[0,0],[-0.963,-0.002],[0,0],[0.001,-0.963],[0,0]],\"o\":[[0,0],[-0.963,-0.001],[0,0],[0.001,-0.963],[0,0],[0.963,0.002],[0,0],[-0.001,0.963]],\"v\":[[2.024,4.622],[-2.036,4.616],[-3.778,2.87],[-3.77,-2.88],[-2.024,-4.622],[2.037,-4.617],[3.778,-2.87],[3.77,2.881]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.835294177485,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[949.587,625.096],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.963,0.001],[0,0],[-0.001,0.963],[0,0],[-0.963,-0.002],[0,0],[0.001,-0.963],[0,0]],\"o\":[[0,0],[-0.963,-0.001],[0,0],[0.001,-0.963],[0,0],[0.963,0.002],[0,0],[-0.001,0.963]],\"v\":[[2.024,4.622],[-2.036,4.617],[-3.778,2.871],[-3.77,-2.88],[-2.024,-4.622],[2.037,-4.617],[3.778,-2.869],[3.77,2.882]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.835294177485,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[940.021,612.131],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.963,0.001],[0,0],[-0.001,0.963],[0,0],[-0.963,-0.001],[0,0],[0.002,-0.963],[0,0]],\"o\":[[0,0],[-0.963,-0.001],[0,0],[0.001,-0.963],[0,0],[0.963,0.001],[0,0],[-0.001,0.963]],\"v\":[[2.023,5.568],[-2.038,5.562],[-3.779,3.816],[-3.768,-3.826],[-2.023,-5.568],[2.037,-5.562],[3.779,-3.816],[3.768,3.827]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.960784373564,0.835294177485,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[939.906,624.24],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-11.183,-0.016],[11.183,0.016]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[960.134,656.4],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-11.183,-0.016],[11.183,0.016]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[927.517,656.354],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[4.967,0.007],[0,0],[-0.007,4.966],[0,0],[-4.967,-0.008],[0,0],[0.006,-4.966],[0,0]],\"o\":[[0,0],[-4.966,-0.007],[0,0],[0.006,-4.967],[0,0],[4.966,0.007],[0,0],[-0.007,4.966]],\"v\":[[73.65,50.24],[-73.784,50.029],[-82.763,41.025],[-82.654,-41.26],[-73.648,-50.24],[73.786,-50.029],[82.765,-41.025],[82.654,41.26]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[983.473,622.645],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[4.156,0.006],[0,0],[-0.006,4.156],[0,0],[-4.156,-0.006],[0,0],[0.006,-4.156],[0,0]],\"o\":[[0,0],[-4.155,-0.006],[0,0],[0.005,-4.156],[0,0],[4.156,0.006],[0,0],[-0.005,4.156]],\"v\":[[75.018,49.896],[-73.782,49.783],[-82.629,40.911],[-82.673,-41.528],[-74.284,-49.897],[75.153,-49.682],[82.667,-42.148],[82.553,43.12]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0.443137284821,0.007843137255,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[983.339,622.759],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":43,\"op\":87,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":20,\"ty\":4,\"nm\":\"card2 Outlines\",\"parent\":8,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[190,35,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[820.25,483.81],[820.95,483.81],[985.43,483.81],[985.67,483.81]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[985.67,475.39],[985.43,475.39],[820.95,475.39],[820.25,475.39]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.16,-0.68],[4.24,0],[0,0],[1.49,2.87],[0,1.5],[0,0],[0,0],[0,0],[-4.96,0],[0,0],[-1.32,-0.77],[-0.7,-2.06],[0,-1.02],[0,0],[0,0],[0,0]],\"o\":[[-0.94,3.96],[0,0],[-3.46,0],[-0.66,-1.25],[0,0],[0,0],[0,0],[0,-4.97],[0,0],[1.64,0],[1.85,1.07],[0.33,0.92],[0,0],[0,0],[0,0],[0,0.72]],\"v\":[[82.46,43.245],[73.72,50.135],[-73.72,50.135],[-81.68,45.305],[-82.71,41.145],[-82.71,-22.045],[-82.71,-30.465],[-82.71,-41.135],[-73.72,-50.135],[73.72,-50.135],[78.22,-48.925],[82.21,-44.065],[82.71,-41.135],[82.71,-30.465],[82.71,-22.045],[82.71,41.145]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[902.96,505.855],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-0.94,3.96],[4.12,0],[0,0],[0.92,3.09],[-3.46,0]],\"o\":[[4.24,0],[-0.06,4.1],[0,0],[-3.39,0],[1.49,2.87],[0,0]],\"v\":[[73.33,3.19],[82.07,-3.7],[73.69,2.83],[-74.88,3.7],[-82.07,-1.64],[-74.11,3.19]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.866666726505,0.709803921569,0.023529413635,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[903.35,552.8],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[1.85,1.07],[-0.55,-2.15]],\"o\":[[1.96,0.94],[-0.7,-2.06]],\"v\":[[-1.995,-2.43],[1.995,2.43]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.866666726505,0.709803921569,0.023529413635,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[983.175,459.36],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,-0.66],[0,0],[0,0],[0,0],[-4.15,0],[0,0],[-0.99,-0.48],[-0.7,-2.06]],\"o\":[[0,0],[0,0],[0,0],[0,-4.16],[0,0],[1.17,0],[1.85,1.07],[0.17,0.61]],\"v\":[[82.668,-2.075],[82.668,9.605],[-82.512,9.605],[-82.667,-1.22],[-74.292,-9.605],[75.148,-9.605],[78.418,-8.855],[82.408,-3.995]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.866666726505,0.709803921569,0.023529413635,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[902.762,465.785],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[0,0]],\"v\":[[82.59,4.21],[-82.59,4.21],[-82.59,-4.21],[82.59,-4.21]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[902.84,479.6],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0.01,-0.04],[4.24,0],[0,0],[1.49,2.87],[0,0.76],[0,0]],\"o\":[[0,0],[0,0.04],[-0.94,3.96],[0,0],[-3.46,0],[-0.22,-0.69],[0,0],[0,0]],\"v\":[[82.59,-36.09],[82.59,29.08],[82.58,29.2],[73.84,36.09],[-73.6,36.09],[-81.56,31.26],[-82.59,28.198],[-82.59,-36.09]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.866666726505,0.709803921569,0.023529413635,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[902.84,519.9],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":41,\"op\":85,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":21,\"ty\":4,\"nm\":\"receipt roll Outlines 3\",\"parent\":9,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[-70,107,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[1089.61,485.54],[1089.7,485.54],[1096.98,485.54]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[-2.96,0.065],[2.66,-0.055],[2.96,-0.065]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1094.39,477.605],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[1091.04,493.93],[1101.69,493.93]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[1091.17,469.14],[1101.03,469.14],[1101.04,469.14]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0.01,-0.02],[-4.46,0],[-0.67,4.61],[0.06,1.56],[0.14,1.08],[3.54,0],[-0.13,-3.15],[-2.09,-0.13]],\"o\":[[0,0.02],[-2.05,15.55],[3.37,0],[0.22,-1.48],[-0.05,-1.18],[-0.65,-4.82],[-4.33,0],[0.13,3.15],[0,0]],\"v\":[[-6.685,-10.915],[-6.695,-10.865],[2.395,12.395],[8.455,4.025],[8.685,-0.585],[8.405,-3.985],[2.525,-12.395],[-2.065,-3.865],[0.965,4.005]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1088.645,481.535],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.16,3.49]],\"o\":[[2.02,0],[0,0]],\"v\":[[-1.445,3.935],[0.285,-3.935]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1091.145,481.605],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.85,-4.42],[0,-3.75],[1.27,-3.96],[4.48,0],[0,0]],\"o\":[[3.75,0],[1.63,3.88],[0,3.97],[-1.68,5.25],[0,0],[0,0]],\"v\":[[-5.48,-21],[2.99,-13.16],[5.48,-0.89],[3.65,11.63],[-5.42,21],[-5.48,21]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1098.04,482.3],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-0.2,14.05],[0,0],[0,0],[2.07,-7.21],[-0.04,-4.35],[-6.56,0]],\"o\":[[0,0],[5.99,-1.75],[0.21,-14.06],[0,0],[-4.12,-0.11],[-0.8,2.75],[0.16,15.71],[0,0]],\"v\":[[-89.375,21.055],[91.185,21.055],[101.075,-1.425],[91.185,-20.945],[-89.435,-20.945],[-100.045,-11.575],[-101.245,-0.995],[-89.435,21.055]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1181.995,482.245],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[1.63,3.88],[3.75,0],[0,0],[0.21,-14.06],[5.99,-1.75],[0,0],[-1.68,5.25],[0,3.97]],\"o\":[[-1.85,-4.42],[0,0],[0,0],[-0.2,14.05],[0,0],[4.48,0],[1.27,-3.96],[0,-3.75]],\"v\":[[-86.89,-13.16],[-95.36,-21],[85.26,-21],[95.15,-1.48],[85.26,21],[-95.3,21],[-86.23,11.63],[-84.4,-0.89]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1187.92,482.3],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.8,2.75],[-4.46,0],[0,0],[4.48,0],[0,0],[0.16,15.71]],\"o\":[[-2.05,15.55],[0,0],[-1.68,5.25],[0,0],[-6.56,0],[-0.04,-4.35]],\"v\":[[-8.845,-16.315],[0.245,6.945],[10.895,6.945],[1.825,16.315],[1.765,16.315],[-10.045,-5.735]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1090.795,486.985],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-4.12,-0.11],[-1.85,-4.42],[0,0],[-0.13,-3.15],[-2.09,-0.13],[0,0],[0,0],[0,0],[3.37,0],[-2.05,15.55]],\"o\":[[3.75,0],[0,0],[-4.33,0],[0.13,3.15],[0,0],[0,0],[0,0],[-0.67,4.61],[-4.46,0],[2.07,-7.21]],\"v\":[[2.095,-16.26],[10.565,-8.42],[0.705,-8.42],[-3.885,0.11],[-0.855,7.98],[-0.765,7.98],[6.515,7.98],[6.635,8],[0.575,16.37],[-8.515,-6.89]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1090.465,477.56],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.65,-4.82],[0,0],[2.02,0],[0,0],[0.13,3.15],[-4.33,0]],\"o\":[[0,0],[1.16,3.49],[0,0],[-2.09,-0.13],[-0.13,-3.15],[3.54,0]],\"v\":[[5.3,0.21],[-0.32,0.33],[-2.05,8.2],[-2.14,8.2],[-5.17,0.33],[-0.58,-8.2]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1091.75,477.34],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.05,-1.18],[0.22,-1.48],[0,0],[0,0],[1.16,3.49],[0,0]],\"o\":[[0.06,1.56],[0,0],[0,0],[2.02,0],[0,0],[0.14,1.08]],\"v\":[[3.785,-0.605],[3.555,4.005],[3.435,3.985],[-3.845,3.985],[-2.115,-3.885],[3.505,-4.005]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1093.545,481.555],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.14,1.08],[3.54,0],[0,0],[0,-3.75],[1.27,-3.96],[0,0],[-0.67,4.61],[0.06,1.56]],\"o\":[[-0.65,-4.82],[0,0],[1.63,3.88],[0,3.97],[0,0],[3.37,0],[0.22,-1.48],[-0.05,-1.18]],\"v\":[[-0.23,-3.985],[-6.11,-12.395],[3.75,-12.395],[6.24,-0.125],[4.41,12.395],[-6.24,12.395],[-0.18,4.025],[0.05,-0.585]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1097.28,481.535],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":87,\"op\":96,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":22,\"ty\":4,\"nm\":\"receipt roll Outlines\",\"parent\":9,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[-70,107,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[1089.61,485.54],[1089.7,485.54],[1096.98,485.54]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[-2.96,0.065],[2.66,-0.055],[2.96,-0.065]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1094.39,477.605],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[1091.04,493.93],[1101.69,493.93]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[1091.17,469.14],[1101.03,469.14],[1101.04,469.14]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0.01,-0.02],[-4.46,0],[-0.67,4.61],[0.06,1.56],[0.14,1.08],[3.54,0],[-0.13,-3.15],[-2.09,-0.13]],\"o\":[[0,0.02],[-2.05,15.55],[3.37,0],[0.22,-1.48],[-0.05,-1.18],[-0.65,-4.82],[-4.33,0],[0.13,3.15],[0,0]],\"v\":[[-6.685,-10.915],[-6.695,-10.865],[2.395,12.395],[8.455,4.025],[8.685,-0.585],[8.405,-3.985],[2.525,-12.395],[-2.065,-3.865],[0.965,4.005]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1088.645,481.535],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[1.16,3.49]],\"o\":[[2.02,0],[0,0]],\"v\":[[-1.445,3.935],[0.285,-3.935]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1091.145,481.605],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-1.85,-4.42],[0,-3.75],[1.27,-3.96],[4.48,0],[0,0]],\"o\":[[3.75,0],[1.63,3.88],[0,3.97],[-1.68,5.25],[0,0],[0,0]],\"v\":[[-5.48,-21],[2.99,-13.16],[5.48,-0.89],[3.65,11.63],[-5.42,21],[-5.48,21]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1098.04,482.3],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[-0.2,14.05],[0,0],[0,0],[2.07,-7.21],[-0.04,-4.35],[-6.56,0]],\"o\":[[0,0],[5.99,-1.75],[0.21,-14.06],[0,0],[-4.12,-0.11],[-0.8,2.75],[0.16,15.71],[0,0]],\"v\":[[-89.375,21.055],[91.185,21.055],[101.075,-1.425],[91.185,-20.945],[-89.435,-20.945],[-100.045,-11.575],[-101.245,-0.995],[-89.435,21.055]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0,0,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1181.995,482.245],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[1.63,3.88],[3.75,0],[0,0],[0.21,-14.06],[5.99,-1.75],[0,0],[-1.68,5.25],[0,3.97]],\"o\":[[-1.85,-4.42],[0,0],[0,0],[-0.2,14.05],[0,0],[4.48,0],[1.27,-3.96],[0,-3.75]],\"v\":[[-86.89,-13.16],[-95.36,-21],[85.26,-21],[95.15,-1.48],[85.26,21],[-95.3,21],[-86.23,11.63],[-84.4,-0.89]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1187.92,482.3],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.8,2.75],[-4.46,0],[0,0],[4.48,0],[0,0],[0.16,15.71]],\"o\":[[-2.05,15.55],[0,0],[-1.68,5.25],[0,0],[-6.56,0],[-0.04,-4.35]],\"v\":[[-8.845,-16.315],[0.245,6.945],[10.895,6.945],[1.825,16.315],[1.765,16.315],[-10.045,-5.735]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1090.795,486.985],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-4.12,-0.11],[-1.85,-4.42],[0,0],[-0.13,-3.15],[-2.09,-0.13],[0,0],[0,0],[0,0],[3.37,0],[-2.05,15.55]],\"o\":[[3.75,0],[0,0],[-4.33,0],[0.13,3.15],[0,0],[0,0],[0,0],[-0.67,4.61],[-4.46,0],[2.07,-7.21]],\"v\":[[2.095,-16.26],[10.565,-8.42],[0.705,-8.42],[-3.885,0.11],[-0.855,7.98],[-0.765,7.98],[6.515,7.98],[6.635,8],[0.575,16.37],[-8.515,-6.89]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1090.465,477.56],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.65,-4.82],[0,0],[2.02,0],[0,0],[0.13,3.15],[-4.33,0]],\"o\":[[0,0],[1.16,3.49],[0,0],[-2.09,-0.13],[-0.13,-3.15],[3.54,0]],\"v\":[[5.3,0.21],[-0.32,0.33],[-2.05,8.2],[-2.14,8.2],[-5.17,0.33],[-0.58,-8.2]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1091.75,477.34],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-0.05,-1.18],[0.22,-1.48],[0,0],[0,0],[1.16,3.49],[0,0]],\"o\":[[0.06,1.56],[0,0],[0,0],[2.02,0],[0,0],[0.14,1.08]],\"v\":[[3.785,-0.605],[3.555,4.005],[3.435,3.985],[-3.845,3.985],[-2.115,-3.885],[3.505,-4.005]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1093.545,481.555],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0.14,1.08],[3.54,0],[0,0],[0,-3.75],[1.27,-3.96],[0,0],[-0.67,4.61],[0.06,1.56]],\"o\":[[-0.65,-4.82],[0,0],[1.63,3.88],[0,3.97],[0,0],[3.37,0],[0.22,-1.48],[-0.05,-1.18]],\"v\":[[-0.23,-3.985],[-6.11,-12.395],[3.75,-12.395],[6.24,-0.125],[4.41,12.395],[-6.24,12.395],[-0.18,4.025],[0.05,-0.585]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1097.28,481.535],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":120,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":23,\"ty\":4,\"nm\":\"Shape Layer 3\",\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":92,\"s\":[960,339,0],\"to\":[0,23.688,0],\"ti\":[0,-53.124,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":95,\"s\":[960,430.749,0],\"to\":[0,22.005,0],\"ti\":[0,-9.812,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":96,\"s\":[960,540,0],\"to\":[0,33.5,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":119,\"s\":[960,540,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":120,\"s\":[960,501,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":124,\"s\":[960,371,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"t\":125,\"s\":[960,339,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[0,0,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ty\":\"rc\",\"d\":1,\"s\":{\"a\":0,\"k\":[214,233],\"ix\":2},\"p\":{\"a\":0,\"k\":[0,0],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":4},\"nm\":\"Rectangle Path 1\",\"mn\":\"ADBE Vector Shape - Rect\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[1,1,1,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":1,\"lj\":1,\"ml\":4,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[1,0,0,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[-4,1.5],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Rectangle 1\",\"np\":3,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":92,\"op\":126,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":24,\"ty\":4,\"nm\":\"receipt Outlines\",\"parent\":10,\"tt\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[-167,44,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.19,0.24],[9.19,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1246.99,601.22],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.19,0.245],[9.19,-0.245]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1212.87,601.195],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.24],[9.195,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1177.775,601.17],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.24],[9.195,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1144.625,601.15],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.245],[9.195,-0.245]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1112.455,601.125],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.19,0.24],[9.19,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1246.99,682.22],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 6\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":6,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.19,0.245],[9.19,-0.245]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1212.87,682.195],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 7\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":7,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.24],[9.195,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1177.775,682.17],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 8\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":8,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.24],[9.195,-0.24]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1144.625,682.15],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 9\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":9,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-9.195,0.245],[9.195,-0.245]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1112.455,682.125],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 10\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":10,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[1103.26,573.08],[1256.13,573.08]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 11\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":11,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[1103.26,627.08],[1256.13,627.08]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 12\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":12,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[1103.26,654.08],[1256.13,654.08]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 13\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":13,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-4.6,5.75],[-3.79,-4.02],[-4.22,7.05],[-4.83,-8.28],[-6.67,7.56],[-4.14,-4.59],[-5.74,7.36],[-5.06,-5.74],[-5.98,6.44],[-5.97,-8.04],[-4.37,5.06],[-6.44,-8.5],[0,10.35],[0,0],[0,0]],\"o\":[[0.07,7.62],[4.6,-5.75],[7.56,9.23],[10.35,-16.99],[4.37,5.29],[10.58,-14.23],[4.14,4.6],[9.96,-10.78],[5.06,5.75],[11.73,-11.73],[8.28,10.58],[10.11,-11.67],[4.37,5.06],[0,0],[0,0],[0,0]],\"v\":[[-96.805,88.48],[-83.315,79.2],[-74.925,77.47],[-59.975,86.9],[-41.825,79.3],[-27.785,88.48],[-12.835,77.01],[2.105,85.52],[17.055,76.55],[33.615,86.9],[51.315,75.86],[66.265,85.75],[83.515,76.09],[96.805,85.29],[96.805,-95.57],[-96.805,-96.1]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1178.505,640.57],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 14\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":14,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[4.37,5.06],[10.11,-11.67],[8.28,10.58],[11.73,-11.73],[5.06,5.75],[9.96,-10.78],[4.14,4.6],[10.58,-14.23],[4.37,5.29],[10.35,-16.99],[7.56,9.23],[4.6,-5.75],[0.07,7.62],[0,0]],\"o\":[[0,0],[0,10.35],[-6.44,-8.5],[-4.37,5.06],[-5.97,-8.04],[-5.98,6.44],[-5.06,-5.74],[-5.74,7.36],[-4.14,-4.59],[-6.67,7.56],[-4.83,-8.28],[-4.22,7.05],[-3.79,-4.02],[-4.6,5.75],[0,0],[0,0]],\"v\":[[96.805,-95.57],[96.805,85.29],[83.515,76.09],[66.265,85.75],[51.315,75.86],[33.615,86.9],[17.055,76.55],[2.105,85.52],[-12.835,77.01],[-27.785,88.48],[-41.825,79.3],[-59.975,86.9],[-74.925,77.47],[-83.315,79.2],[-96.805,88.48],[-96.805,-96.1]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.956862804936,0.772549079446,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[1178.505,640.57],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 15\",\"np\":4,\"cix\":2,\"bm\":0,\"ix\":15,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":92,\"op\":126,\"st\":0,\"ct\":1,\"bm\":0}]},{\"id\":\"comp_2\",\"nm\":\"bank-top-comp\",\"fr\":24,\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":3,\"nm\":\"toplid peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":0,\"s\":[958,421.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":19,\"s\":[958,421.5,0],\"to\":[0,5.583,0],\"ti\":[0,-5.583,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":22,\"s\":[958,455,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":25,\"s\":[958,455,0],\"to\":[0,-5.583,0],\"ti\":[0,5.583,0]},{\"t\":29,\"s\":[958,421.5,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50,50,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":2,\"ty\":3,\"nm\":\"bottomlid peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":0,\"s\":[958,525,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":19,\"s\":[958,525,0],\"to\":[0,-5.833,0],\"ti\":[0,5.833,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":22,\"s\":[958,490,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.833,\"y\":0.833},\"o\":{\"x\":0.333,\"y\":0},\"t\":25,\"s\":[958,490,0],\"to\":[0,5.833,0],\"ti\":[0,-5.833,0]},{\"t\":29,\"s\":[958,525,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50,50,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":3,\"ty\":3,\"nm\":\"pupil peg\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":0,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":1,\"k\":[{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.167,\"y\":0.167},\"t\":7,\"s\":[959.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":9,\"s\":[959.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":13,\"s\":[974.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":16,\"s\":[974.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":0.667},\"o\":{\"x\":0.333,\"y\":0.333},\"t\":20,\"s\":[944.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":23,\"s\":[944.5,470.5,0],\"to\":[0,0,0],\"ti\":[0,0,0]},{\"i\":{\"x\":0.667,\"y\":1},\"o\":{\"x\":0.333,\"y\":0},\"t\":25,\"s\":[949.5,470.5,0],\"to\":[0,0,0],\"ti\":[-1.667,0,0]},{\"t\":29,\"s\":[959.5,470.5,0]}],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[50,50,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"ip\":0,\"op\":128,\"st\":0,\"bm\":0},{\"ddd\":0,\"ind\":4,\"ty\":4,\"nm\":\"eye outline Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1165.5,397,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[-39.93,0],[0,0]],\"o\":[[0,0],[39.94,0],[0,0]],\"v\":[[-38.785,-15.06],[-0.005,16.07],[36.675,-16.07]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.595,620.98],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[36.35,-34.81]],\"o\":[[0,0],[0,0]],\"v\":[[37.73,16.395],[-37.73,17.405]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.54,588.515],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":5,\"ty\":4,\"nm\":\"eye color Outlines 3\",\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1165.5,397,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[39.94,0],[0,0]],\"o\":[[0,0],[-39.93,0],[36.35,-34.81]],\"v\":[[36.675,0.83],[-0.005,32.97],[-38.785,1.84]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.595,604.08],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":6,\"ty\":4,\"nm\":\"toplid Outlines\",\"parent\":1,\"tt\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[257.5,-8,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[-39.925,0.445],[39.925,-0.445]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":1,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.135,575.725],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[793.06,604.4],[793.06,575.28]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[713.21,604.58],[713.21,576.17]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[25,20.29]],\"o\":[[-20.85,19.77],[0,0]],\"v\":[[39.925,-10.235],[-39.925,-10.055]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.135,614.635],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[25,20.29],[0,0]],\"o\":[[0,0],[-20.85,19.77],[0,0],[0,0]],\"v\":[[39.925,-24.795],[39.925,4.325],[-39.925,4.505],[-39.925,-23.905]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.135,600.075],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":7,\"ty\":4,\"nm\":\"eye color Outlines 2\",\"td\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1165.5,397,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[39.94,0],[0,0]],\"o\":[[0,0],[-39.93,0],[36.35,-34.81]],\"v\":[[36.675,0.83],[-0.005,32.97],[-38.785,1.84]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.595,604.08],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":8,\"ty\":4,\"nm\":\"bottomlid Outlines\",\"parent\":2,\"tt\":1,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[257.5,-43,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[713.21,647.46],[793.06,647.46]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[793.06,604.4],[793.06,647.46]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0]],\"o\":[[0,0],[0,0]],\"v\":[[713.21,604.58],[713.21,647.46]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[0,0],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 3\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":3,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[25,20.29]],\"o\":[[-20.85,19.77],[0,0]],\"v\":[[39.925,-10.235],[-39.925,-10.055]],\"c\":false},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.135,614.635],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 4\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":4,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[-20.85,19.77],[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0],[25,20.29]],\"v\":[[39.925,-21.53],[39.925,21.53],[-39.925,21.53],[-39.925,-21.35]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.135,625.93],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 5\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":5,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":9,\"ty\":4,\"nm\":\"pupil Outlines\",\"parent\":3,\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[256,-23.5,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[7.65,0],[0,8.99],[-8.99,0],[-2.7,-5.28]],\"o\":[[0,0],[-1.74,7.11],[-8.99,0],[0,-8.99],[6.33,0],[0,0]],\"v\":[[4.165,1.69],[16.035,3.89],[0.245,16.28],[-16.035,0],[0.245,-16.28],[14.745,-7.38]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.245,613.35],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":10,\"ty\":4,\"nm\":\"eye color Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1165.5,397,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[39.94,0],[0,0]],\"o\":[[0,0],[-39.93,0],[36.35,-34.81]],\"v\":[[36.675,0.83],[-0.005,32.97],[-38.785,1.84]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.87450986376,0.956862804936,0.972549079446,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[754.595,604.08],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":11,\"ty\":4,\"nm\":\"bank1 Outlines\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[1165.5,397,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"shapes\":[{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[-99.62,37.855],[99.62,37.855],[0,-37.855]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"st\",\"c\":{\"a\":0,\"k\":[0,0.129411764706,0.250980392157,1],\"ix\":3},\"o\":{\"a\":0,\"k\":100,\"ix\":4},\"w\":{\"a\":0,\"k\":2,\"ix\":5},\"lc\":2,\"lj\":2,\"bm\":0,\"nm\":\"Stroke 1\",\"mn\":\"ADBE Vector Graphic - Stroke\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.84,604.955],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 1\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":1,\"mn\":\"ADBE Vector Group\",\"hd\":false},{\"ty\":\"gr\",\"it\":[{\"ind\":0,\"ty\":\"sh\",\"ix\":1,\"ks\":{\"a\":0,\"k\":{\"i\":[[0,0],[0,0],[0,0]],\"o\":[[0,0],[0,0],[0,0]],\"v\":[[99.62,37.855],[-99.62,37.855],[0,-37.855]],\"c\":true},\"ix\":2},\"nm\":\"Path 1\",\"mn\":\"ADBE Vector Shape - Group\",\"hd\":false},{\"ty\":\"fl\",\"c\":{\"a\":0,\"k\":[0.666666666667,0.827451040231,1,1],\"ix\":4},\"o\":{\"a\":0,\"k\":100,\"ix\":5},\"r\":1,\"bm\":0,\"nm\":\"Fill 1\",\"mn\":\"ADBE Vector Graphic - Fill\",\"hd\":false},{\"ty\":\"tr\",\"p\":{\"a\":0,\"k\":[753.84,604.955],\"ix\":2},\"a\":{\"a\":0,\"k\":[0,0],\"ix\":1},\"s\":{\"a\":0,\"k\":[100,100],\"ix\":3},\"r\":{\"a\":0,\"k\":0,\"ix\":6},\"o\":{\"a\":0,\"k\":100,\"ix\":7},\"sk\":{\"a\":0,\"k\":0,\"ix\":4},\"sa\":{\"a\":0,\"k\":0,\"ix\":5},\"nm\":\"Transform\"}],\"nm\":\"Group 2\",\"np\":2,\"cix\":2,\"bm\":0,\"ix\":2,\"mn\":\"ADBE Vector Group\",\"hd\":false}],\"ip\":7,\"op\":36,\"st\":-115,\"ct\":1,\"bm\":0}]}],\"layers\":[{\"ddd\":0,\"ind\":1,\"ty\":0,\"nm\":\"Expensify-Reviewing-120522-kjs-1\",\"refId\":\"comp_0\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[140,140,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[960,540,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[75,75,100],\"ix\":6,\"l\":2}},\"ao\":0,\"w\":1920,\"h\":1080,\"ip\":0,\"op\":128,\"st\":0,\"ct\":1,\"bm\":0},{\"ddd\":0,\"ind\":2,\"ty\":1,\"nm\":\"Dark Green Solid 1\",\"sr\":1,\"ks\":{\"o\":{\"a\":0,\"k\":100,\"ix\":11},\"r\":{\"a\":0,\"k\":0,\"ix\":10},\"p\":{\"a\":0,\"k\":[140,140,0],\"ix\":2,\"l\":2},\"a\":{\"a\":0,\"k\":[140,140,0],\"ix\":1,\"l\":2},\"s\":{\"a\":0,\"k\":[100,100,100],\"ix\":6,\"l\":2}},\"ao\":0,\"sw\":280,\"sh\":280,\"sc\":\"#061b09\",\"ip\":0,\"op\":128,\"st\":0,\"bm\":0}],\"markers\":[]}","import React from 'react';\nimport {\n View,\n} from 'react-native';\nimport CONST from '../../CONST';\nimport Text from '../../components/Text';\nimport TextLink from '../../components/TextLink';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport styles from '../../styles/styles';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\n\nconst FailedKYC = props => (\n \n \n \n {props.translate('additionalDetailsStep.failedKYCTextBefore')}\n \n {CONST.EMAIL.CONCIERGE}\n \n {props.translate('additionalDetailsStep.failedKYCTextAfter')}\n \n \n \n);\n\nFailedKYC.propTypes = propTypes;\nFailedKYC.displayName = 'FailedKYC';\n\nexport default withLocalize(FailedKYC);\n","import React, {Component} from 'react';\nimport {View, ScrollView} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport styles from '../../styles/styles';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport * as IOU from '../../libs/actions/IOU';\nimport * as Report from '../../libs/actions/Report';\nimport IOUPreview from '../../components/ReportActionItem/IOUPreview';\nimport IOUTransactions from './IOUTransactions';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport CONST from '../../CONST';\nimport SettlementButton from '../../components/SettlementButton';\nimport ROUTES from '../../ROUTES';\nimport FixedFooter from '../../components/FixedFooter';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport reportActionPropTypes from '../home/report/reportActionPropTypes';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';\n\nconst propTypes = {\n /** URL Route params */\n route: PropTypes.shape({\n /** Params from the URL path */\n params: PropTypes.shape({\n /** chatReportID passed via route: /iou/details/:chatReportID/:iouReportID */\n chatReportID: PropTypes.string,\n\n /** iouReportID passed via route: /iou/details/:chatReportID/:iouReportID */\n iouReportID: PropTypes.string,\n }),\n }).isRequired,\n\n /* Onyx Props */\n /** Holds data related to IOU view state, rather than the underlying IOU data. */\n iou: PropTypes.shape({\n /** Is the IOU Report currently being loaded? */\n loading: PropTypes.bool,\n\n /** Error message, empty represents no error */\n error: PropTypes.bool,\n }),\n\n /** IOU Report data object */\n iouReport: PropTypes.shape({\n /** ID for the chatReport that this IOU is linked to */\n chatReportID: PropTypes.string,\n\n /** Manager is the person who currently owes money */\n managerEmail: PropTypes.string,\n\n /** Owner is the person who is owed money */\n ownerEmail: PropTypes.string,\n\n /** Does the iouReport have an outstanding IOU? */\n hasOutstandingIOU: PropTypes.bool,\n }),\n\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n /** Currently logged in user email */\n email: PropTypes.string,\n }),\n\n /** Actions from the ChatReport */\n reportActions: PropTypes.shape(reportActionPropTypes),\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** chatReport associated with iouReport */\n chatReport: PropTypes.shape({\n /** Report ID associated with the transaction */\n reportID: PropTypes.string,\n\n /** The participants of this report */\n participants: PropTypes.arrayOf(PropTypes.string),\n\n /** Whether the chat report has an outstanding IOU */\n hasOutstandingIOU: PropTypes.bool.isRequired,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n iou: {},\n reportActions: {},\n iouReport: undefined,\n session: {\n email: null,\n },\n chatReport: {\n participants: [],\n },\n};\n\nclass IOUDetailsModal extends Component {\n componentDidMount() {\n if (this.props.network.isOffline) {\n return;\n }\n\n this.fetchData();\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.network.isOffline || this.props.network.isOffline) {\n return;\n }\n\n this.fetchData();\n }\n\n fetchData() {\n Report.openPaymentDetailsPage(this.props.route.params.chatReportID, this.props.route.params.iouReportID);\n }\n\n /**\n * @param {String} paymentMethodType\n */\n payMoneyRequest(paymentMethodType) {\n const recipient = {\n login: this.props.iouReport.ownerEmail,\n payPalMeAddress: this.props.iouReport.submitterPayPalMeAddress,\n };\n\n if (paymentMethodType === CONST.IOU.PAYMENT_TYPE.ELSEWHERE) {\n IOU.payMoneyRequestElsewhere(\n this.props.chatReport,\n this.props.iouReport,\n recipient,\n );\n return;\n }\n\n if (paymentMethodType === CONST.IOU.PAYMENT_TYPE.PAYPAL_ME) {\n IOU.payMoneyRequestViaPaypal(\n this.props.chatReport,\n this.props.iouReport,\n recipient,\n );\n return;\n }\n\n if (paymentMethodType === CONST.IOU.PAYMENT_TYPE.EXPENSIFY) {\n IOU.payMoneyRequestWithWallet(\n this.props.chatReport,\n this.props.iouReport,\n recipient,\n );\n Navigation.navigate(ROUTES.getReportRoute(this.props.route.params.chatReportID));\n }\n }\n\n // Finds if there is a reportAction pending for this IOU\n findPendingAction() {\n const reportActionWithPendingAction = _.find(this.props.reportActions, reportAction => reportAction.originalMessage\n && Number(reportAction.originalMessage.IOUReportID) === Number(this.props.route.params.iouReportID)\n && !_.isEmpty(reportAction.pendingAction));\n return reportActionWithPendingAction ? reportActionWithPendingAction.pendingAction : undefined;\n }\n\n render() {\n const sessionEmail = lodashGet(this.props.session, 'email', null);\n const pendingAction = this.findPendingAction();\n const iouReportStateNum = lodashGet(this.props.iouReport, 'stateNum');\n const hasOutstandingIOU = lodashGet(this.props.iouReport, 'hasOutstandingIOU');\n const hasFixedFooter = hasOutstandingIOU && this.props.iouReport.managerEmail === sessionEmail;\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n \n \n {this.props.iou.loading ? : (\n \n \n \n \n \n {(hasOutstandingIOU && this.props.iouReport.managerEmail === sessionEmail && (\n \n this.payMoneyRequest(paymentMethodType)}\n shouldShowPaypal={Boolean(lodashGet(this.props, 'iouReport.submitterPayPalMeAddress'))}\n currency={lodashGet(this.props, 'iouReport.currency')}\n enablePaymentsRoute={ROUTES.IOU_DETAILS_ENABLE_PAYMENTS}\n addBankAccountRoute={ROUTES.IOU_DETAILS_ADD_BANK_ACCOUNT}\n addDebitCardRoute={ROUTES.IOU_DETAILS_ADD_DEBIT_CARD}\n chatReportID={this.props.route.params.chatReportID}\n />\n \n ))}\n \n )}\n \n )}\n \n );\n }\n}\n\nIOUDetailsModal.propTypes = propTypes;\nIOUDetailsModal.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n iou: {\n key: ONYXKEYS.IOU,\n },\n chatReport: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${route.params.chatReportID}`,\n },\n iouReport: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${route.params.iouReportID}`,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n reportActions: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${route.params.chatReportID}`,\n canEvict: false,\n },\n }),\n)(IOUDetailsModal);\n","import React from 'react';\nimport {\n View,\n TouchableWithoutFeedback,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Str from 'expensify-common/lib/str';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport compose from '../../libs/compose';\nimport styles from '../../styles/styles';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport MultipleAvatars from '../MultipleAvatars';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport * as Report from '../../libs/actions/Report';\nimport themeColors from '../../styles/themes/default';\nimport Icon from '../Icon';\nimport CONST from '../../CONST';\nimport * as Expensicons from '../Icon/Expensicons';\nimport Text from '../Text';\nimport * as PaymentMethods from '../../libs/actions/PaymentMethods';\nimport OfflineWithFeedback from '../OfflineWithFeedback';\nimport walletTermsPropTypes from '../../pages/EnablePayments/walletTermsPropTypes';\nimport ControlSelection from '../../libs/ControlSelection';\nimport * as DeviceCapabilities from '../../libs/DeviceCapabilities';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport {showContextMenuForReport} from '../ShowContextMenuContext';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport Button from '../Button';\n\nconst propTypes = {\n /** Additional logic for displaying the pay button */\n shouldHidePayButton: PropTypes.bool,\n\n /** Callback for the Pay/Settle button */\n onPayButtonPressed: PropTypes.func,\n\n /** The active IOUReport, used for Onyx subscription */\n // eslint-disable-next-line react/no-unused-prop-types\n iouReportID: PropTypes.string.isRequired,\n\n /** The associated chatReport */\n chatReportID: PropTypes.string.isRequired,\n\n /** Callback for the preview pressed */\n onPreviewPressed: PropTypes.func,\n\n /** All the data of the action, used for showing context menu */\n action: PropTypes.shape(reportActionPropTypes),\n\n /** Popover context menu anchor, used for showing context menu */\n contextMenuAnchor: PropTypes.shape({current: PropTypes.elementType}),\n\n /** Callback for updating context menu active state, used for showing context menu */\n checkIfContextMenuActive: PropTypes.func,\n\n /** Extra styles to pass to View wrapper */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n\n /* Onyx Props */\n\n /** Active IOU Report for current report */\n iouReport: PropTypes.shape({\n /** Email address of the manager in this iou report */\n managerEmail: PropTypes.string,\n\n /** Email address of the creator of this iou report */\n ownerEmail: PropTypes.string,\n\n /** Outstanding amount in cents of this transaction */\n total: PropTypes.number,\n\n /** Currency of outstanding amount of this transaction */\n currency: PropTypes.string,\n\n /** Does the iouReport have an outstanding IOU? */\n hasOutstandingIOU: PropTypes.bool,\n }),\n\n /** True if the IOU Preview card is hovered */\n isHovered: PropTypes.bool,\n\n /** All of the personal details for everyone */\n personalDetails: PropTypes.objectOf(PropTypes.shape({\n\n /** This is either the user's full name, or their login if full name is an empty string */\n displayName: PropTypes.string.isRequired,\n })),\n\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n /** Currently logged in user email */\n email: PropTypes.string,\n }),\n\n /** Information about the user accepting the terms for payments */\n walletTerms: walletTermsPropTypes,\n\n /** Pending action, if any */\n pendingAction: PropTypes.oneOf(_.values(CONST.RED_BRICK_ROAD_PENDING_ACTION)),\n\n /** Whether or not an IOU report contains money requests in a different currency\n * that are either created or cancelled offline, and thus haven't been converted to the report's currency yet\n */\n shouldShowPendingConversionMessage: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n iouReport: {},\n shouldHidePayButton: false,\n onPayButtonPressed: null,\n onPreviewPressed: () => {},\n action: undefined,\n contextMenuAnchor: undefined,\n checkIfContextMenuActive: () => {},\n containerStyles: [],\n walletTerms: {},\n pendingAction: null,\n isHovered: false,\n personalDetails: {},\n session: {\n email: null,\n },\n shouldShowPendingConversionMessage: false,\n};\n\nconst IOUPreview = (props) => {\n // Usually the parent determines whether the IOU Preview is displayed. But as the iouReport total cannot be known\n // until it is stored locally, we need to make this check within the Component after retrieving it. This allows us\n // to handle the loading UI from within this Component instead of needing to declare it within each parent, which\n // would duplicate and complicate the logic\n if (props.iouReport.total === 0) {\n return null;\n }\n\n const sessionEmail = lodashGet(props.session, 'email', null);\n const managerEmail = props.iouReport.managerEmail || '';\n const ownerEmail = props.iouReport.ownerEmail || '';\n\n // Pay button should only be visible to the manager of the report.\n const isCurrentUserManager = managerEmail === sessionEmail;\n\n const managerName = ReportUtils.getDisplayNameForParticipant(managerEmail, true);\n const ownerName = ReportUtils.getDisplayNameForParticipant(ownerEmail, true);\n const managerAvatar = {\n source: ReportUtils.getAvatar(lodashGet(props.personalDetails, [managerEmail, 'avatar']), managerEmail),\n type: CONST.ICON_TYPE_AVATAR,\n name: managerEmail,\n };\n const ownerAvatar = {\n source: ReportUtils.getAvatar(lodashGet(props.personalDetails, [ownerEmail, 'avatar']), ownerEmail),\n type: CONST.ICON_TYPE_AVATAR,\n name: ownerEmail,\n };\n const cachedTotal = props.iouReport.total && props.iouReport.currency\n ? props.numberFormat(\n Math.abs(props.iouReport.total) / 100,\n {style: 'currency', currency: props.iouReport.currency},\n ) : '';\n const avatarTooltip = [Str.removeSMSDomain(managerEmail), Str.removeSMSDomain(ownerEmail)];\n\n const showContextMenu = (event) => {\n // Use action and shouldHidePayButton props to check if we are in IOUDetailsModal,\n // if it's true, do nothing when user long press, otherwise show context menu.\n if (!props.action && props.shouldHidePayButton) {\n return;\n }\n\n showContextMenuForReport(\n event,\n props.contextMenuAnchor,\n props.chatReportID,\n props.action,\n props.checkIfContextMenuActive,\n );\n };\n\n return (\n DeviceCapabilities.canUseTouchScreen() && ControlSelection.block()}\n onPressOut={() => ControlSelection.unblock()}\n onLongPress={showContextMenu}\n >\n \n {\n PaymentMethods.clearWalletTermsError();\n Report.clearIOUError(props.chatReportID);\n }}\n errorRowStyles={[styles.mbn1]}\n needsOffscreenAlphaCompositing\n >\n \n \n \n \n {cachedTotal}\n \n {!props.iouReport.hasOutstandingIOU && (\n \n \n \n )}\n \n \n \n \n \n {isCurrentUserManager\n ? (\n \n {props.iouReport.hasOutstandingIOU\n ? props.translate('iou.youowe', {owner: ownerName})\n : props.translate('iou.youpaid', {owner: ownerName})}\n \n )\n : (\n <>\n \n {props.iouReport.hasOutstandingIOU\n ? props.translate('iou.owesyou', {manager: managerName})\n : props.translate('iou.paidyou', {manager: managerName})}\n \n {props.shouldShowPendingConversionMessage && (\n \n {props.translate('iou.pendingConversionMessage')}\n \n )}\n \n )}\n {(isCurrentUserManager\n && !props.shouldHidePayButton\n && props.iouReport.stateNum === CONST.REPORT.STATE_NUM.PROCESSING && (\n DeviceCapabilities.canUseTouchScreen() && ControlSelection.block()}\n onPressOut={() => ControlSelection.unblock()}\n onLongPress={showContextMenu}\n text={props.translate('iou.pay')}\n success\n medium\n />\n ))}\n \n \n \n \n );\n};\n\nIOUPreview.propTypes = propTypes;\nIOUPreview.defaultProps = defaultProps;\nIOUPreview.displayName = 'IOUPreview';\n\nexport default compose(\n withLocalize,\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n iouReport: {\n key: ({iouReportID}) => `${ONYXKEYS.COLLECTION.REPORT}${iouReportID}`,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n }),\n)(IOUPreview);\n","import PropTypes from 'prop-types';\n\nimport reportActionFragmentPropTypes from './reportActionFragmentPropTypes';\n\nexport default {\n /** The ID of the reportAction. It is the string representation of the a 64-bit integer. */\n reportActionID: PropTypes.string,\n\n /** Name of the action e.g. ADDCOMMENT */\n actionName: PropTypes.string,\n\n /** Person who created the action */\n person: PropTypes.arrayOf(reportActionFragmentPropTypes),\n\n /** ISO-formatted datetime */\n created: PropTypes.string,\n\n /** report action message */\n message: PropTypes.arrayOf(reportActionFragmentPropTypes),\n\n /** Original message associated with this action */\n originalMessage: PropTypes.shape({\n // The ID of the iou transaction\n IOUTransactionID: PropTypes.string,\n }),\n\n /** Whether we have received a response back from the server */\n isLoading: PropTypes.bool,\n\n /** Error message that's come back from the server. */\n error: PropTypes.string,\n};\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n /** The type of the action item fragment. Used to render a corresponding component */\n type: PropTypes.string.isRequired,\n\n /** The text content of the fragment. */\n text: PropTypes.string.isRequired,\n\n /** Used to apply additional styling. Style refers to a predetermined constant and not a class name. e.g. 'normal'\n * or 'strong'\n */\n style: PropTypes.string,\n\n /** ID of a report */\n reportID: PropTypes.string,\n\n /** ID of a policy */\n policyID: PropTypes.string,\n\n /** The target of a link fragment e.g. '_blank' */\n target: PropTypes.string,\n\n /** The destination of a link fragment e.g. 'https://www.expensify.com' */\n href: PropTypes.string,\n\n /** An additional avatar url - not the main avatar url but used within a message. */\n iconUrl: PropTypes.string,\n\n /** Fragment edited flag */\n isEdited: PropTypes.bool,\n});\n","import React from 'react';\nimport * as ReportActionContextMenu from '../pages/home/report/ContextMenu/ReportActionContextMenu';\nimport * as ContextMenuActions from '../pages/home/report/ContextMenu/ContextMenuActions';\n\nconst ShowContextMenuContext = React.createContext({\n anchor: null,\n reportID: null,\n action: undefined,\n checkIfContextMenuActive: () => {},\n});\n\nShowContextMenuContext.displayName = 'ShowContextMenuContext';\n\n/**\n * Show the report action context menu.\n *\n * @param {Object} event - Press event object\n * @param {Element} anchor - Context menu anchor\n * @param {String} reportID - Active Report ID\n * @param {Object} action - ReportAction for ContextMenu\n * @param {Function} checkIfContextMenuActive Callback to update context menu active state\n */\nfunction showContextMenuForReport(event, anchor, reportID, action, checkIfContextMenuActive) {\n ReportActionContextMenu.showContextMenu(\n ContextMenuActions.CONTEXT_MENU_TYPES.REPORT_ACTION,\n event,\n '',\n anchor,\n reportID,\n action,\n '',\n checkIfContextMenuActive,\n checkIfContextMenuActive,\n );\n}\n\nexport {\n ShowContextMenuContext,\n showContextMenuForReport,\n};\n","import React from 'react';\n\nconst contextMenuRef = React.createRef();\n\n/**\n * Show the ReportActionContextMenu modal popover.\n *\n * @param {string} type - the context menu type to display [EMAIL, LINK, REPORT_ACTION]\n * @param {Object} [event] - A press event.\n * @param {String} [selection] - Copied content.\n * @param {Element} contextMenuAnchor - popoverAnchor\n * @param {String} reportID - Active Report Id\n * @param {Object} reportAction - ReportAction for ContextMenu\n * @param {String} draftMessage - ReportAction Draftmessage\n * @param {Function} [onShow=() => {}] - Run a callback when Menu is shown\n * @param {Function} [onHide=() => {}] - Run a callback when Menu is hidden\n * @param {Boolean} isArchivedRoom - Whether the provided report is an archived room\n * @param {Boolean} isChronosReport - Flag to check if the chat participant is Chronos\n */\nfunction showContextMenu(\n type,\n event,\n selection,\n contextMenuAnchor,\n reportID = '0',\n reportAction = {},\n draftMessage = '',\n onShow = () => {},\n onHide = () => {},\n isArchivedRoom = false,\n isChronosReport = false,\n) {\n if (!contextMenuRef.current) {\n return;\n }\n contextMenuRef.current.showContextMenu(\n type,\n event,\n selection,\n contextMenuAnchor,\n reportID,\n reportAction,\n draftMessage,\n onShow,\n onHide,\n isArchivedRoom,\n isChronosReport,\n );\n}\n\n/**\n * Hide the ReportActionContextMenu modal popover.\n * Hides the popover menu with an optional delay\n * @param {Boolean} shouldDelay - whether the menu should close after a delay\n * @param {Function} [onHideCallback=() => {}] - Callback to be called after Context Menu is completely hidden\n */\nfunction hideContextMenu(shouldDelay, onHideCallback = () => {}) {\n if (!contextMenuRef.current) {\n return;\n }\n if (!shouldDelay) {\n contextMenuRef.current.hideContextMenu(onHideCallback);\n\n return;\n }\n\n // Save the active instanceID for which hide action was called.\n // If menu is being closed with a delay, check that whether the same instance exists or a new was created.\n // If instance is not same, cancel the hide action\n const instanceID = contextMenuRef.current.instanceID;\n setTimeout(() => {\n if (contextMenuRef.current.instanceID !== instanceID) {\n return;\n }\n\n contextMenuRef.current.hideContextMenu(onHideCallback);\n }, 800);\n}\n\nfunction hideDeleteModal() {\n if (!contextMenuRef.current) {\n return;\n }\n contextMenuRef.current.hideDeleteModal();\n}\n\n/**\n * Opens the Confirm delete action modal\n * @param {String} reportID\n * @param {Object} reportAction\n * @param {Boolean} [shouldSetModalVisibility]\n * @param {Function} [onConfirm]\n * @param {Function} [onCancel]\n */\nfunction showDeleteModal(reportID, reportAction, shouldSetModalVisibility, onConfirm, onCancel) {\n if (!contextMenuRef.current) {\n return;\n }\n contextMenuRef.current.showDeleteModal(reportID, reportAction, shouldSetModalVisibility, onConfirm, onCancel);\n}\n\n/**\n * Whether Context Menu is active for the Report Action.\n *\n * @param {Number|String} actionID\n * @return {Boolean}\n */\nfunction isActiveReportAction(actionID) {\n if (!contextMenuRef.current) {\n return;\n }\n return contextMenuRef.current.isActiveReportAction(actionID);\n}\n\nexport {\n contextMenuRef,\n showContextMenu,\n hideContextMenu,\n isActiveReportAction,\n showDeleteModal,\n hideDeleteModal,\n};\n","import React from 'react';\nimport _ from 'underscore';\nimport ExpensiMark from 'expensify-common/lib/ExpensiMark';\nimport Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport * as Expensicons from '../../../../components/Icon/Expensicons';\nimport * as Report from '../../../../libs/actions/Report';\nimport * as Download from '../../../../libs/actions/Download';\nimport Clipboard from '../../../../libs/Clipboard';\nimport * as ReportUtils from '../../../../libs/ReportUtils';\nimport ReportActionComposeFocusManager from '../../../../libs/ReportActionComposeFocusManager';\nimport {hideContextMenu, showDeleteModal} from './ReportActionContextMenu';\nimport CONST from '../../../../CONST';\nimport getAttachmentDetails from '../../../../libs/fileDownload/getAttachmentDetails';\nimport fileDownload from '../../../../libs/fileDownload';\nimport addEncryptedAuthTokenToURL from '../../../../libs/addEncryptedAuthTokenToURL';\nimport * as Environment from '../../../../libs/Environment/Environment';\nimport Permissions from '../../../../libs/Permissions';\nimport QuickEmojiReactions from '../../../../components/Reactions/QuickEmojiReactions';\nimport MiniQuickEmojiReactions from '../../../../components/Reactions/MiniQuickEmojiReactions';\n\n/**\n * Gets the HTML version of the message in an action.\n * @param {Object} reportAction\n * @return {String}\n */\nfunction getActionText(reportAction) {\n const message = _.last(lodashGet(reportAction, 'message', null));\n return lodashGet(message, 'html', '');\n}\n\nconst CONTEXT_MENU_TYPES = {\n LINK: 'LINK',\n REPORT_ACTION: 'REPORT_ACTION',\n EMAIL: 'EMAIL',\n};\n\n// A list of all the context actions in this menu.\nexport default [\n {\n shouldKeepOpen: true,\n shouldShow: (type, reportAction) => type === CONTEXT_MENU_TYPES.REPORT_ACTION && _.has(reportAction, 'message'),\n renderContent: (closePopover, {\n reportID, reportAction, close: closeManually, openContextMenu,\n }) => {\n const isMini = !closePopover;\n\n const closeContextMenu = (onHideCallback) => {\n if (isMini) {\n closeManually();\n if (onHideCallback) {\n onHideCallback();\n }\n } else {\n hideContextMenu(false, onHideCallback);\n }\n };\n\n const onEmojiSelected = (emoji) => {\n Report.toggleEmojiReaction(reportID, reportAction, emoji);\n closeContextMenu();\n };\n\n if (isMini) {\n return (\n \n );\n }\n\n return (\n \n );\n },\n },\n {\n textTranslateKey: 'common.download',\n icon: Expensicons.Download,\n successTextTranslateKey: 'common.download',\n successIcon: Expensicons.Download,\n shouldShow: (type, reportAction) => {\n const message = _.last(lodashGet(reportAction, 'message', [{}]));\n const isAttachment = _.has(reportAction, 'isAttachment')\n ? reportAction.isAttachment\n : ReportUtils.isReportMessageAttachment(message);\n return isAttachment && reportAction.reportActionID;\n },\n onPress: (closePopover, {reportAction}) => {\n const message = _.last(lodashGet(reportAction, 'message', [{}]));\n const html = lodashGet(message, 'html', '');\n const attachmentDetails = getAttachmentDetails(html);\n const {originalFileName, sourceURL} = attachmentDetails;\n const sourceURLWithAuth = addEncryptedAuthTokenToURL(sourceURL);\n const sourceID = (sourceURL.match(CONST.REGEX.ATTACHMENT_ID) || [])[1];\n Download.setDownload(sourceID, true);\n fileDownload(sourceURLWithAuth, originalFileName).then(() => Download.setDownload(sourceID, false));\n if (closePopover) {\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n }\n },\n getDescription: () => {},\n },\n {\n textTranslateKey: 'reportActionContextMenu.copyURLToClipboard',\n icon: Expensicons.Copy,\n successTextTranslateKey: 'reportActionContextMenu.copied',\n successIcon: Expensicons.Checkmark,\n shouldShow: type => type === CONTEXT_MENU_TYPES.LINK,\n onPress: (closePopover, {selection}) => {\n Clipboard.setString(selection);\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n },\n getDescription: selection => selection,\n },\n {\n textTranslateKey: 'reportActionContextMenu.copyEmailToClipboard',\n icon: Expensicons.Copy,\n successTextTranslateKey: 'reportActionContextMenu.copied',\n successIcon: Expensicons.Checkmark,\n shouldShow: type => type === CONTEXT_MENU_TYPES.EMAIL,\n onPress: (closePopover, {selection}) => {\n Clipboard.setString(selection.replace('mailto:', ''));\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n },\n getDescription: () => {},\n },\n {\n textTranslateKey: 'reportActionContextMenu.copyToClipboard',\n icon: Expensicons.Copy,\n successTextTranslateKey: 'reportActionContextMenu.copied',\n successIcon: Expensicons.Checkmark,\n shouldShow: (type, reportAction) => (type === CONTEXT_MENU_TYPES.REPORT_ACTION\n && reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.IOU\n && !ReportUtils.isReportMessageAttachment(_.last(lodashGet(reportAction, ['message'], [{}])))),\n\n // If return value is true, we switch the `text` and `icon` on\n // `ContextMenuItem` with `successText` and `successIcon` which will fallback to\n // the `text` and `icon`\n onPress: (closePopover, {reportAction, selection}) => {\n const message = _.last(lodashGet(reportAction, 'message', [{}]));\n const messageHtml = lodashGet(message, 'html', '');\n\n const isAttachment = _.has(reportAction, 'isAttachment')\n ? reportAction.isAttachment\n : ReportUtils.isReportMessageAttachment(message);\n if (!isAttachment) {\n const content = selection || messageHtml;\n if (content) {\n const parser = new ExpensiMark();\n if (!Clipboard.canSetHtml()) {\n Clipboard.setString(parser.htmlToMarkdown(content));\n } else {\n const plainText = Str.htmlDecode(parser.htmlToText(content));\n Clipboard.setHtml(content, plainText);\n }\n }\n } else {\n Clipboard.setString(messageHtml);\n }\n if (closePopover) {\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n }\n },\n getDescription: () => {},\n },\n\n {\n textTranslateKey: 'reportActionContextMenu.copyLink',\n icon: Expensicons.LinkCopy,\n successIcon: Expensicons.Checkmark,\n successTextTranslateKey: 'reportActionContextMenu.copied',\n shouldShow: (type, reportAction, isArchivedRoom, betas, menuTarget) => {\n const isAttachment = ReportUtils.isReportMessageAttachment(_.last(lodashGet(reportAction, ['message'], [{}])));\n\n // Only hide the copylink menu item when context menu is opened over img element.\n const isAttachmentTarget = lodashGet(menuTarget, 'tagName') === 'IMG' && isAttachment;\n return Permissions.canUseCommentLinking(betas) && type === CONTEXT_MENU_TYPES.REPORT_ACTION && !isAttachmentTarget;\n },\n onPress: (closePopover, {reportAction, reportID}) => {\n Environment.getEnvironmentURL()\n .then((environmentURL) => {\n const reportActionID = parseInt(lodashGet(reportAction, 'reportActionID'), 10);\n Clipboard.setString(`${environmentURL}/r/${reportID}/${reportActionID}`);\n });\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n },\n getDescription: () => {},\n },\n\n {\n textTranslateKey: 'reportActionContextMenu.markAsUnread',\n icon: Expensicons.Mail,\n successIcon: Expensicons.Checkmark,\n shouldShow: type => type === CONTEXT_MENU_TYPES.REPORT_ACTION,\n onPress: (closePopover, {reportAction, reportID}) => {\n Report.markCommentAsUnread(reportID, reportAction.created);\n if (closePopover) {\n hideContextMenu(true, ReportActionComposeFocusManager.focus);\n }\n },\n getDescription: () => {},\n },\n\n {\n textTranslateKey: 'reportActionContextMenu.editComment',\n icon: Expensicons.Pencil,\n shouldShow: (type, reportAction, isArchivedRoom, betas, menuTarget, isChronosReport) => (\n type === CONTEXT_MENU_TYPES.REPORT_ACTION && ReportUtils.canEditReportAction(reportAction) && !isArchivedRoom && !isChronosReport\n ),\n onPress: (closePopover, {reportID, reportAction, draftMessage}) => {\n const editAction = () => Report.saveReportActionDraft(\n reportID,\n reportAction.reportActionID,\n _.isEmpty(draftMessage) ? getActionText(reportAction) : '',\n );\n\n if (closePopover) {\n // Hide popover, then call editAction\n hideContextMenu(false, editAction);\n return;\n }\n\n // No popover to hide, call editAction immediately\n editAction();\n },\n getDescription: () => {},\n },\n {\n textTranslateKey: 'reportActionContextMenu.deleteComment',\n icon: Expensicons.Trashcan,\n shouldShow: (type, reportAction, isArchivedRoom, betas, menuTarget, isChronosReport) => type === CONTEXT_MENU_TYPES.REPORT_ACTION\n && ReportUtils.canDeleteReportAction(reportAction) && !isArchivedRoom && !isChronosReport,\n onPress: (closePopover, {reportID, reportAction}) => {\n if (closePopover) {\n // Hide popover, then call showDeleteConfirmModal\n hideContextMenu(\n false,\n () => showDeleteModal(reportID, reportAction),\n );\n return;\n }\n\n // No popover to hide, call showDeleteConfirmModal immediately\n showDeleteModal(reportID, reportAction);\n },\n getDescription: () => {},\n },\n];\n\nexport {\n CONTEXT_MENU_TYPES,\n};\n","import _ from 'underscore';\nimport Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\n\n/**\n * Set whether an attachment is being downloaded so that a spinner can be shown.\n *\n * @param {String} sourceID\n * @param {Boolean} isDownloading\n * @returns {Promise}\n */\nfunction setDownload(sourceID, isDownloading) {\n return Onyx.merge(`${ONYXKEYS.COLLECTION.DOWNLOAD}${sourceID}`, {isDownloading});\n}\n\nfunction clearDownloads() {\n const connectionID = Onyx.connect({\n key: ONYXKEYS.COLLECTION.DOWNLOAD,\n waitForCollectionCallback: true,\n callback: (records) => {\n Onyx.disconnect(connectionID);\n const downloadsToDelete = {};\n _.each(_.keys(records), recordKey => downloadsToDelete[recordKey] = null);\n if (!_.isEmpty(downloadsToDelete)) {\n Onyx.multiSet(downloadsToDelete);\n }\n },\n });\n}\n\nexport {\n setDownload,\n clearDownloads,\n};\n","import Clipboard from '@react-native-community/clipboard';\n\n/**\n * Sets a string on the Clipboard object via @react-native-community/clipboard\n *\n * @param {String} text\n */\nconst setString = (text) => {\n Clipboard.setString(text);\n};\n\nexport default {\n setString,\n\n // We don't want to set HTML on native platforms so noop them.\n canSetHtml: () => false,\n setHtml: () => {},\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Clipboard_1 = require(\"./Clipboard\");\nvar useClipboard_1 = require(\"./useClipboard\");\nObject.defineProperty(exports, \"useClipboard\", { enumerable: true, get: function () { return useClipboard_1.useClipboard; } });\nexports.default = Clipboard_1.Clipboard;\n","\"use strict\";\n/**\n * useClipboard.ts\n * This code is inspired from the @react-native-community/hooks package\n * All credit goes to author of the useClipboard custom hooks.\n * https://github.com/react-native-community/hooks\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.useClipboard = void 0;\nvar react_1 = require(\"react\");\nvar Clipboard_1 = require(\"./Clipboard\");\nvar listeners = new Set();\nfunction setString(content) {\n Clipboard_1.Clipboard.setString(content);\n listeners.forEach(function (listener) { return listener(content); });\n}\nexports.useClipboard = function () {\n var _a = react_1.useState(''), data = _a[0], updateClipboardData = _a[1];\n react_1.useEffect(function () {\n Clipboard_1.Clipboard.getString().then(updateClipboardData);\n }, []);\n react_1.useEffect(function () {\n listeners.add(updateClipboardData);\n return function () {\n listeners.delete(updateClipboardData);\n };\n }, []);\n return [data, setString];\n};\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Clipboard = void 0;\nvar NativeClipboard_1 = __importDefault(require(\"./NativeClipboard\"));\n/**\n * `Clipboard` gives you an interface for setting and getting content from Clipboard on both iOS and Android\n */\nexports.Clipboard = {\n /**\n * Get content of string type, this method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _getContent() {\n * var content = await Clipboard.getString();\n * }\n * ```\n */\n getString: function () {\n return NativeClipboard_1.default.getString();\n },\n /**\n * Set content of string type. You can use following code to set clipboard content\n * ```javascript\n * _setContent() {\n * Clipboard.setString('hello world');\n * }\n * ```\n * @param the content to be stored in the clipboard.\n */\n setString: function (content) {\n NativeClipboard_1.default.setString(content);\n },\n /**\n * Returns whether the clipboard has content or is empty.\n * This method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _hasContent() {\n * var hasContent = await Clipboard.hasString();\n * }\n * ```\n */\n hasString: function () {\n return NativeClipboard_1.default.hasString();\n },\n /**\n * (IOS Only)\n * Returns whether the clipboard has content or is empty.\n * This method returns a `Promise`, so you can use following code to get clipboard content\n * ```javascript\n * async _hasContent() {\n * var hasContent = await Clipboard.hasString();\n * }\n * ```\n */\n hasURL: function () {\n return NativeClipboard_1.default.hasURL();\n },\n};\n","'use strict';\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_native_1 = require(\"react-native\");\n// Separated file for Native Clipboard to be ready to switch to Turbo Module when it becomes public\n// TODO: uncomment when Turbo module is available\n// export interface Spec extends TurboModule {\n// +getConstants: () => {||};\n// +getString: () => Promise;\n// +setString: (content: string) => void;\n// +hasString: () => Promise;\n// }\nexports.default = react_native_1.NativeModules.RNCClipboard;\n","import _ from 'underscore';\nimport React from 'react';\n\nconst composerRef = React.createRef();\nlet focusCallback = null;\n\n/**\n * Register a callback to be called when focus is requested.\n * Typical uses of this would be call the focus on the ReportActionComposer.\n *\n * @param {Function} callback callback to register\n */\nfunction onComposerFocus(callback) {\n focusCallback = callback;\n}\n\n/**\n * Request focus on the ReportActionComposer\n *\n */\nfunction focus() {\n if (!_.isFunction(focusCallback)) {\n return;\n }\n\n focusCallback();\n}\n\n/**\n * Clear the registered focus callback\n *\n */\nfunction clear() {\n focusCallback = null;\n}\n\n/**\n * Exposes the current focus state of the report action composer.\n * @return {Boolean} isFocused\n */\nfunction isFocused() {\n return composerRef.current && composerRef.current.isFocused();\n}\n\nexport default {\n composerRef,\n onComposerFocus,\n focus,\n clear,\n isFocused,\n};\n","import CONST from '../../CONST';\nimport tryResolveUrlFromApiRoot from '../tryResolveUrlFromApiRoot';\n\n/**\n * Extract the thumbnail URL, source URL and the original filename from the HTML.\n * @param {String} html\n * @returns {Object}\n */\nexport default function getAttachmentName(html) {\n // Files can be rendered either as anchor tag or as an image so based on that we have to form regex.\n const IS_IMAGE_TAG = //i.test(html);\n const PREVIEW_SOURCE_REGEX = new RegExp(`${CONST.ATTACHMENT_PREVIEW_ATTRIBUTE}*=*\"(.+?)\"`, 'i');\n const SOURCE_REGEX = new RegExp(`${CONST.ATTACHMENT_SOURCE_ATTRIBUTE}*=*\"(.+?)\"`, 'i');\n const ORIGINAL_FILENAME_REGEX = IS_IMAGE_TAG ? new RegExp(`${CONST.ATTACHMENT_ORIGINAL_FILENAME_ATTRIBUTE}*=*\"(.+?)\"`, 'i') : new RegExp(']*>([^<]+)', 'i');\n if (!html) {\n return {\n previewSourceURL: null,\n sourceURL: null,\n originalFileName: null,\n };\n }\n\n // Files created/uploaded/hosted by App should resolve from API ROOT. Other URLs aren't modified\n const sourceURL = tryResolveUrlFromApiRoot(html.match(SOURCE_REGEX)[1]);\n const imageURL = IS_IMAGE_TAG && tryResolveUrlFromApiRoot(html.match(PREVIEW_SOURCE_REGEX)[1]);\n const previewSourceURL = IS_IMAGE_TAG ? imageURL : sourceURL;\n const originalFileName = html.match(ORIGINAL_FILENAME_REGEX)[1];\n\n // Update the image URL so the images can be accessed depending on the config environment\n return {\n previewSourceURL,\n sourceURL,\n originalFileName,\n };\n}\n","import Config from '../CONFIG';\nimport * as ApiUtils from './ApiUtils';\n\n// Absolute URLs (`/` or `//`) should be resolved from API ROOT\n// Legacy attachments can come from either staging or prod, depending on the env they were uploaded by\n// Both should be replaced and loaded from API ROOT of the current environment\nconst ORIGINS_TO_REPLACE = [\n '/+',\n Config.EXPENSIFY.EXPENSIFY_URL,\n Config.EXPENSIFY.STAGING_API_ROOT,\n Config.EXPENSIFY.DEFAULT_API_ROOT,\n];\n\n// Anything starting with a match from ORIGINS_TO_REPLACE\nconst ORIGIN_PATTERN = new RegExp(`^(${ORIGINS_TO_REPLACE.join('|')})`);\n\n/**\n * When possible this function resolve URLs relative to API ROOT\n * - Absolute URLs like `/{path}`, become: `https://{API_ROOT}/{path}`\n * - Similarly for prod or staging URLs we replace the `https://www.expensify`\n * or `https://staging.expensify` part, with `https://{API_ROOT}`\n * - Unmatched URLs (non expensify) are returned with no modifications\n *\n * @param {String} url\n * @returns {String}\n */\nexport default function tryResolveUrlFromApiRoot(url) {\n const apiRoot = ApiUtils.getApiRoot({shouldUseSecure: false});\n return url.replace(ORIGIN_PATTERN, apiRoot);\n}\n","import RNFetchBlob from 'react-native-blob-util';\nimport {CameraRoll} from '@react-native-camera-roll/camera-roll';\nimport lodashGet from 'lodash/get';\nimport * as FileUtils from './FileUtils';\nimport CONST from '../../CONST';\n\n/**\n * Downloads the file to Documents section in iOS\n * @param {String} fileUrl\n * @param {String} fileName\n * @returns {Promise}\n */\nfunction downloadFile(fileUrl, fileName) {\n const dirs = RNFetchBlob.fs.dirs;\n\n // The iOS files will download to documents directory\n const path = dirs.DocumentDir;\n\n // Fetching the attachment\n const fetchedAttachment = RNFetchBlob.config({\n fileCache: true,\n path: `${path}/${fileName}`,\n addAndroidDownloads: {\n useDownloadManager: true,\n notification: true,\n path: `${path}/Expensify/${fileName}`,\n },\n }).fetch('GET', fileUrl);\n return fetchedAttachment;\n}\n\n/**\n * Download the image to photo lib in iOS\n * @param {String} fileUrl\n * @param {String} fileName\n * @returns {String} URI\n */\nfunction downloadImage(fileUrl) {\n return CameraRoll.save(fileUrl);\n}\n\n/**\n * Download the video to photo lib in iOS\n * @param {String} fileUrl\n * @param {String} fileName\n * @returns {String} URI\n */\nfunction downloadVideo(fileUrl, fileName) {\n return new Promise((resolve, reject) => {\n let documentPathUri = null;\n let cameraRollUri = null;\n\n // Because CameraRoll doesn't allow direct downloads of video with remote URIs, we first download as documents, then copy to photo lib and unlink the original file.\n downloadFile(fileUrl, fileName).then((attachment) => {\n documentPathUri = lodashGet(attachment, 'data');\n return CameraRoll.save(documentPathUri);\n }).then((attachment) => {\n cameraRollUri = attachment;\n return RNFetchBlob.fs.unlink(documentPathUri);\n }).then(() => resolve(cameraRollUri))\n .catch(err => reject(err));\n });\n}\n\n/**\n * Download the file based on type(image, video, other file types)for iOS\n * @param {String} fileUrl\n * @param {String} fileName\n * @returns {Promise}\n */\nexport default function fileDownload(fileUrl, fileName) {\n return new Promise((resolve) => {\n let fileDownloadPromise = null;\n const fileType = FileUtils.getFileType(fileUrl);\n const attachmentName = fileName || FileUtils.getAttachmentName(fileUrl);\n\n switch (fileType) {\n case CONST.ATTACHMENT_FILE_TYPE.IMAGE:\n fileDownloadPromise = downloadImage(fileUrl, attachmentName);\n break;\n case CONST.ATTACHMENT_FILE_TYPE.VIDEO:\n fileDownloadPromise = downloadVideo(fileUrl, attachmentName);\n break;\n default:\n fileDownloadPromise = downloadFile(fileUrl, attachmentName);\n break;\n }\n\n fileDownloadPromise.then((attachment) => {\n if (!attachment) {\n return;\n }\n\n FileUtils.showSuccessAlert();\n }).catch((err) => {\n // iOS shows permission popup only once. Subsequent request will only throw an error.\n // We catch the error and show a redirection link to the settings screen\n if (err.message === CONST.IOS_CAMERAROLL_ACCESS_ERROR) {\n FileUtils.showPermissionErrorAlert();\n } else {\n FileUtils.showGeneralErrorAlert();\n }\n }).finally(() => resolve());\n });\n}\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport {AppState, DeviceEventEmitter, NativeModules, Platform,} from 'react-native';\r\n\r\n//import StatefulPromise from './class/StatefulPromise.js'\r\nimport fs from './fs';\r\nimport MediaCollection from './mediacollection';\r\nimport base64 from 'base-64';\r\nimport polyfill from './polyfill';\r\nimport android from './android';\r\nimport ios from './ios';\r\nimport JSONStream from './json-stream';\r\nimport {config, fetch} from './fetch';\r\nimport URIUtil from \"./utils/uri\";\r\n\r\nconst {\r\n ReactNativeBlobUtilSession,\r\n readStream,\r\n createFile,\r\n unlink,\r\n exists,\r\n mkdir,\r\n session,\r\n writeStream,\r\n readFile,\r\n ls,\r\n isDir,\r\n mv,\r\n cp\r\n} = fs;\r\n\r\nconst Blob = polyfill.Blob;\r\nconst emitter = DeviceEventEmitter;\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\nconst wrap = URIUtil.wrap;\r\n\r\n// when app resumes, check if there's any expired network task and trigger\r\n// their .expire event\r\nif (Platform.OS === 'ios') {\r\n AppState.addEventListener('change', (e) => {\r\n if (e === 'active')\r\n ReactNativeBlobUtil.emitExpiredEvent(() => {\r\n });\r\n });\r\n}\r\n\r\n// Show warning if native module not detected\r\nif (!ReactNativeBlobUtil || !ReactNativeBlobUtil.fetchBlobForm || !ReactNativeBlobUtil.fetchBlob) {\r\n console.warn(\r\n 'react-native-blob-util could not find valid native module.',\r\n 'please make sure you have linked native modules using `rnpm link`,',\r\n 'and restart RN packager or manually compile IOS/Android project.'\r\n );\r\n}\r\n\r\nexport {ReactNativeBlobUtilConfig, ReactNativeBlobUtilResponseInfo, ReactNativeBlobUtilStream} from './types';\r\nexport { URIUtil } from './utils/uri';\r\nexport {FetchBlobResponse} from './class/ReactNativeBlobUtilBlobResponse';\r\nexport { getUUID } from './utils/uuid';\r\nexport default {\r\n fetch,\r\n base64,\r\n android,\r\n ios,\r\n config,\r\n session,\r\n fs,\r\n wrap,\r\n polyfill,\r\n JSONStream,\r\n MediaCollection\r\n};\r\n","import {ReactNativeBlobUtilResponseInfo, ReactNativeBlobUtilStream} from \"../types\";\r\nimport fs from \"../fs\";\r\nimport Blob from \"../polyfill/Blob\";\r\nimport ReactNativeBlobUtilSession from \"./ReactNativeBlobUtilSession\";\r\nimport URIUtil from \"../utils/uri\";\r\nimport base64 from \"base-64\";\r\n/**\r\n * ReactNativeBlobUtil response object class.\r\n */\r\nexport class FetchBlobResponse {\r\n\r\n taskId: string;\r\n path: () => string | null;\r\n type: 'base64' | 'path' | 'utf8';\r\n data: any;\r\n blob: (contentType: string, sliceSize: number) => Promise;\r\n text: () => string | Promise;\r\n json: () => any;\r\n base64: () => any;\r\n flush: () => void;\r\n respInfo: ReactNativeBlobUtilResponseInfo;\r\n session: (name: string) => ReactNativeBlobUtilSession | null;\r\n readFile: (encode: 'base64' | 'utf8' | 'ascii') => ?Promise;\r\n readStream: (\r\n encode: 'utf8' | 'ascii' | 'base64',\r\n ) => ReactNativeBlobUtilStream | null;\r\n\r\n constructor(taskId: string, info: ReactNativeBlobUtilResponseInfo, data: any) {\r\n this.data = data;\r\n this.taskId = taskId;\r\n this.type = info.rnfbEncode;\r\n this.respInfo = info;\r\n\r\n this.info = (): ReactNativeBlobUtilResponseInfo => {\r\n return this.respInfo;\r\n };\r\n\r\n this.array = (): Promise => {\r\n let cType = info.headers['Content-Type'] || info.headers['content-type'];\r\n return new Promise((resolve, reject) => {\r\n switch (this.type) {\r\n case 'base64':\r\n // TODO : base64 to array buffer\r\n break;\r\n case 'path':\r\n fs.readFile(this.data, 'ascii').then(resolve);\r\n break;\r\n default:\r\n // TODO : text to array buffer\r\n break;\r\n }\r\n });\r\n };\r\n\r\n /**\r\n * Convert result to javascript ReactNativeBlobUtil object.\r\n * @return {Promise} Return a promise resolves Blob object.\r\n */\r\n this.blob = (): Promise => {\r\n let cType = info.headers['Content-Type'] || info.headers['content-type'];\r\n return new Promise((resolve, reject) => {\r\n switch (this.type) {\r\n case 'base64':\r\n Blob.build(this.data, {type: cType + ';BASE64'}).then(resolve);\r\n break;\r\n case 'path':\r\n Blob.build(URIUtil.wrap(this.data), {type: cType}).then(resolve);\r\n break;\r\n default:\r\n Blob.build(this.data, {type: 'text/plain'}).then(resolve);\r\n break;\r\n }\r\n });\r\n };\r\n /**\r\n * Convert result to text.\r\n * @return {string} Decoded base64 string.\r\n */\r\n this.text = (): string | Promise => {\r\n switch (this.type) {\r\n case 'base64':\r\n return base64.decode(this.data);\r\n case 'path':\r\n return fs.readFile(this.data, 'base64').then((b64) => Promise.resolve(base64.decode(b64)));\r\n default:\r\n return this.data;\r\n }\r\n };\r\n /**\r\n * Convert result to JSON object.\r\n * @return {object} Parsed javascript object.\r\n */\r\n this.json = (): any => {\r\n switch (this.type) {\r\n case 'base64':\r\n return JSON.parse(base64.decode(this.data));\r\n case 'path':\r\n return fs.readFile(this.data, 'utf8')\r\n .then((text) => Promise.resolve(JSON.parse(text)));\r\n default:\r\n return JSON.parse(this.data);\r\n }\r\n };\r\n /**\r\n * Return BASE64 string directly.\r\n * @return {string} BASE64 string of response body.\r\n */\r\n this.base64 = (): string | Promise => {\r\n switch (this.type) {\r\n case 'base64':\r\n return this.data;\r\n case 'path':\r\n return fs.readFile(this.data, 'base64');\r\n default:\r\n return base64.encode(this.data);\r\n }\r\n };\r\n /**\r\n * Remove cahced file\r\n * @return {Promise}\r\n */\r\n this.flush = () => {\r\n let path = this.path();\r\n if (!path || this.type !== 'path')\r\n return;\r\n return fs.unlink(path);\r\n };\r\n /**\r\n * get path of response temp file\r\n * @return {string} File path of temp file.\r\n */\r\n this.path = () => {\r\n if (this.type === 'path')\r\n return this.data;\r\n return null;\r\n };\r\n\r\n this.session = (name: string): ReactNativeBlobUtilSession | null => {\r\n if (this.type === 'path')\r\n return fs.session(name).add(this.data);\r\n else {\r\n console.warn('only file paths can be add into session.');\r\n return null;\r\n }\r\n };\r\n /**\r\n * Start read stream from cached file\r\n * @param {String} encoding Encode type, should be one of `base64`, `ascii`, `utf8`.\r\n * @return {void}\r\n */\r\n this.readStream = (encoding: 'base64' | 'utf8' | 'ascii'): ReactNativeBlobUtilStream | null => {\r\n if (this.type === 'path') {\r\n return fs.readStream(this.data, encoding);\r\n }\r\n else {\r\n console.warn('ReactNativeBlobUtil', 'this response data does not contains any available stream');\r\n return null;\r\n }\r\n };\r\n /**\r\n * Read file content with given encoding, if the response does not contains\r\n * a file path, show warning message\r\n * @param {String} encoding Encode type, should be one of `base64`, `ascrii`, `utf8`.\r\n * @return {String}\r\n */\r\n this.readFile = (encoding: 'base64' | 'utf8' | 'ascii') => {\r\n if (this.type === 'path') {\r\n return fs.readFile(this.data, encoding);\r\n }\r\n else {\r\n console.warn('ReactNativeBlobUtil', 'this response does not contains a readable file');\r\n return null;\r\n }\r\n };\r\n }\r\n\r\n}","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\n// import type {ReactNativeBlobUtilConfig, ReactNativeBlobUtilNative, ReactNativeBlobUtilStream} from './types'\r\n\r\nimport {NativeModules, Platform} from 'react-native';\r\nimport ReactNativeBlobUtilSession from './class/ReactNativeBlobUtilSession';\r\nimport ReactNativeBlobUtilWriteStream from './class/ReactNativeBlobUtilWriteStream';\r\nimport ReactNativeBlobUtilReadStream from './class/ReactNativeBlobUtilReadStream';\r\nimport ReactNativeBlobUtilFile from './class/ReactNativeBlobUtilFile';\r\n\r\nconst ReactNativeBlobUtil: ReactNativeBlobUtilNative = NativeModules.ReactNativeBlobUtil;\r\n\r\nconst dirs = {\r\n DocumentDir: ReactNativeBlobUtil.DocumentDir,\r\n CacheDir: ReactNativeBlobUtil.CacheDir,\r\n PictureDir: ReactNativeBlobUtil.PictureDir,\r\n MusicDir: ReactNativeBlobUtil.MusicDir,\r\n MovieDir: ReactNativeBlobUtil.MovieDir,\r\n DownloadDir: ReactNativeBlobUtil.DownloadDir,\r\n DCIMDir: ReactNativeBlobUtil.DCIMDir,\r\n SDCardDir: ReactNativeBlobUtil.SDCardDir, // Depracated\r\n SDCardApplicationDir: ReactNativeBlobUtil.SDCardApplicationDir, // Deprecated\r\n MainBundleDir: ReactNativeBlobUtil.MainBundleDir,\r\n LibraryDir: ReactNativeBlobUtil.LibraryDir,\r\n ApplicationSupportDir: ReactNativeBlobUtil.ApplicationSupportDir\r\n};\r\n\r\nfunction addCode(code: string, error: Error): Error {\r\n error.code = code;\r\n return error;\r\n}\r\n\r\n/**\r\n * Get a file cache session\r\n * @param {string} name Stream ID\r\n * @return {ReactNativeBlobUtilSession}\r\n */\r\nfunction session(name: string): ReactNativeBlobUtilSession {\r\n let s = ReactNativeBlobUtilSession.getSession(name);\r\n if (s)\r\n return new ReactNativeBlobUtilSession(name);\r\n else {\r\n ReactNativeBlobUtilSession.setSession(name, []);\r\n return new ReactNativeBlobUtilSession(name, []);\r\n }\r\n}\r\n\r\nfunction asset(path: string): string {\r\n if (Platform.OS === 'ios') {\r\n // path from camera roll\r\n if (/^assets-library\\:\\/\\//.test(path))\r\n return path;\r\n }\r\n return 'bundle-assets://' + path;\r\n}\r\n\r\nfunction createFile(path: string, data: string, encoding: 'base64' | 'ascii' | 'utf8' = 'utf8'): Promise {\r\n if (encoding.toLowerCase() === 'ascii') {\r\n return Array.isArray(data) ?\r\n ReactNativeBlobUtil.createFileASCII(path, data) :\r\n Promise.reject(addCode('EINVAL', new TypeError('`data` of ASCII file must be an array with 0..255 numbers')));\r\n }\r\n else {\r\n return ReactNativeBlobUtil.createFile(path, data, encoding);\r\n }\r\n}\r\n\r\n/**\r\n * Create write stream to a file.\r\n * @param {string} path Target path of file stream.\r\n * @param {string} encoding Encoding of input data.\r\n * @param {boolean} [append] A flag represent if data append to existing ones.\r\n * @return {Promise} A promise resolves a `WriteStream` object.\r\n */\r\nfunction writeStream(\r\n path: string,\r\n encoding?: 'utf8' | 'ascii' | 'base64' = 'utf8',\r\n append?: boolean = false,\r\n): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n return new Promise((resolve, reject) => {\r\n ReactNativeBlobUtil.writeStream(path, encoding, append, (errCode, errMsg, streamId: string) => {\r\n if (errMsg) {\r\n const err = new Error(errMsg);\r\n err.code = errCode;\r\n reject(err);\r\n }\r\n else\r\n resolve(new ReactNativeBlobUtilWriteStream(streamId, encoding));\r\n });\r\n });\r\n}\r\n\r\n/**\r\n * Create file stream from file at `path`.\r\n * @param {string} path The file path.\r\n * @param {string} encoding Data encoding, should be one of `base64`, `utf8`, `ascii`\r\n * @param {boolean} bufferSize Size of stream buffer.\r\n * @param {number} [tick=10] Interval in milliseconds between reading chunks of data\r\n * @return {ReactNativeBlobUtilStream} ReactNativeBlobUtilStream stream instance.\r\n */\r\nfunction readStream(\r\n path: string,\r\n encoding: 'utf8' | 'ascii' | 'base64' = 'utf8',\r\n bufferSize?: number,\r\n tick?: number = 10\r\n): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n return Promise.resolve(new ReactNativeBlobUtilReadStream(path, encoding, bufferSize, tick));\r\n}\r\n\r\n/**\r\n * Create a directory.\r\n * @param {string} path Path of directory to be created\r\n * @return {Promise}\r\n */\r\nfunction mkdir(path: string): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n return ReactNativeBlobUtil.mkdir(path);\r\n}\r\n\r\n/**\r\n * Returns the path for the app group.\r\n * @param {string} groupName Name of app group\r\n * @return {Promise}\r\n */\r\nfunction pathForAppGroup(groupName: string): Promise {\r\n return ReactNativeBlobUtil.pathForAppGroup(groupName);\r\n}\r\n\r\n/**\r\n * Returns the path for the app group synchronous.\r\n * @param {string} groupName Name of app group\r\n * @return {string} Path of App Group dir\r\n */\r\nfunction syncPathAppGroup(groupName: string): string {\r\n if (Platform.OS === 'ios') {\r\n return ReactNativeBlobUtil.syncPathAppGroup(groupName);\r\n }\r\n else {\r\n return '';\r\n }\r\n}\r\n\r\n/**\r\n * Wrapper method of readStream.\r\n * @param {string} path Path of the file.\r\n * @param {'base64' | 'utf8' | 'ascii'} encoding Encoding of read stream.\r\n * @return {Promise | string>}\r\n */\r\nfunction readFile(path: string, encoding: string = 'utf8'): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n return ReactNativeBlobUtil.readFile(path, encoding, false);\r\n}\r\n\r\n/**\r\n * Reads the file, then transforms it before returning the content\r\n * @param {string} path Path of the file.\r\n * @param {'base64' | 'utf8' | 'ascii'} encoding Encoding of read stream.\r\n * @return {Promise | string>}\r\n */\r\nfunction readFileWithTransform(path: string, encoding: string = 'utf8'): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')))\r\n }\r\n return ReactNativeBlobUtil.readFile(path, encoding, true);\r\n}\r\n\r\n/**\r\n * Write data to file.\r\n * @param {string} path Path of the file.\r\n * @param {string | number[]} data Data to write to the file.\r\n * @param {string} encoding Encoding of data (Optional).\r\n * @return {Promise}\r\n */\r\nfunction writeFile(path: string, data: string | Array, encoding: ?string = 'utf8'): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n if (encoding.toLocaleLowerCase() === 'ascii') {\r\n if (!Array.isArray(data)) {\r\n return Promise.reject(addCode('EINVAL', new TypeError('\"data\" must be an Array when encoding is \"ascii\"')));\r\n }\r\n else\r\n return ReactNativeBlobUtil.writeFileArray(path, data, false);\r\n }\r\n else {\r\n if (typeof data !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError(`\"data\" must be a String when encoding is \"utf8\" or \"base64\", but it is \"${typeof data}\"`)));\r\n }\r\n else\r\n return ReactNativeBlobUtil.writeFile(path, encoding, data, false, false);\r\n }\r\n}\r\n\r\n/**\r\n * Transforms the data and then writes to the file.\r\n * @param {string} path Path of the file.\r\n * @param {string | number[]} data Data to write to the file.\r\n * @param {string} encoding Encoding of data (Optional).\r\n * @return {Promise}\r\n */\r\nfunction writeFileWithTransform(path: string, data: string | Array, encoding: ?string = 'utf8'): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')))\r\n }\r\n if (encoding.toLocaleLowerCase() === 'ascii') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('ascii is not supported for converted files')))\r\n }\r\n else {\r\n if (typeof data !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError(`\"data\" must be a String when encoding is \"utf8\" or \"base64\", but it is \"${typeof data}\"`)))\r\n }\r\n\r\n else\r\n return ReactNativeBlobUtil.writeFile(path, encoding, data, true, false)\r\n }\r\n}\r\n\r\nfunction appendFile(path: string, data: string | Array, encoding?: string = 'utf8'): Promise {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n if (encoding.toLocaleLowerCase() === 'ascii') {\r\n if (!Array.isArray(data)) {\r\n return Promise.reject(addCode('EINVAL', new TypeError('`data` of ASCII file must be an array with 0..255 numbers')));\r\n }\r\n else\r\n return ReactNativeBlobUtil.writeFileArray(path, data, true);\r\n }\r\n else {\r\n if (typeof data !== 'string') {\r\n return Promise.reject(addCode('EINVAL'), new TypeError(`\"data\" must be a String when encoding is \"utf8\" or \"base64\", but it is \"${typeof data}\"`));\r\n }\r\n else\r\n return ReactNativeBlobUtil.writeFile(path, encoding, data, false, true);\r\n }\r\n}\r\n\r\n/**\r\n * Show statistic data of a path.\r\n * @param {string} path Target path\r\n * @return {ReactNativeBlobUtilFile}\r\n */\r\nfunction stat(path: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n ReactNativeBlobUtil.stat(path, (err, stat) => {\r\n if (err)\r\n reject(new Error(err));\r\n else {\r\n if (stat) {\r\n stat.size = parseInt(stat.size);\r\n stat.lastModified = parseInt(stat.lastModified);\r\n }\r\n resolve(stat);\r\n }\r\n });\r\n });\r\n}\r\n\r\n/**\r\n * Android only method, request media scanner to scan the file.\r\n * @param {Array>} pairs Array contains Key value pairs with key `path` and `mime`.\r\n * @return {Promise}\r\n */\r\nfunction scanFile(pairs: any): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (pairs === undefined) {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument')));\r\n }\r\n ReactNativeBlobUtil.scanFile(pairs, (err) => {\r\n if (err)\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n else\r\n resolve();\r\n });\r\n });\r\n}\r\n\r\nfunction hash(path: string, algorithm: string): Promise {\r\n if (typeof path !== 'string' || typeof algorithm !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" and/or \"algorithm\"')));\r\n }\r\n return ReactNativeBlobUtil.hash(path, algorithm);\r\n}\r\n\r\nfunction cp(path: string, dest: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string' || typeof dest !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" and/or \"destination\"')));\r\n }\r\n ReactNativeBlobUtil.cp(path, dest, (err, res) => {\r\n if (err)\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n else\r\n resolve(res);\r\n });\r\n });\r\n}\r\n\r\nfunction mv(path: string, dest: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string' || typeof dest !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" and/or \"destination\"')));\r\n }\r\n ReactNativeBlobUtil.mv(path, dest, (err, res) => {\r\n if (err)\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n else\r\n resolve(res);\r\n });\r\n });\r\n}\r\n\r\nfunction lstat(path: string): Promise> {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n ReactNativeBlobUtil.lstat(path, (err, stat) => {\r\n if (err)\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n else\r\n resolve(stat);\r\n });\r\n });\r\n}\r\n\r\nfunction ls(path: string): Promise> {\r\n if (typeof path !== 'string') {\r\n return Promise.reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n return ReactNativeBlobUtil.ls(path);\r\n}\r\n\r\n/**\r\n * Remove file at path.\r\n * @param {string} path:string Path of target file.\r\n * @return {Promise}\r\n */\r\nfunction unlink(path: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n ReactNativeBlobUtil.unlink(path, (err) => {\r\n if (err) {\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n }\r\n else\r\n resolve();\r\n });\r\n });\r\n}\r\n\r\n/**\r\n * Check if file exists and if it is a folder.\r\n * @param {string} path Path to check\r\n * @return {Promise}\r\n */\r\nfunction exists(path: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n try {\r\n ReactNativeBlobUtil.exists(path, (exist) => {\r\n resolve(exist);\r\n });\r\n } catch (err) {\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n }\r\n });\r\n\r\n}\r\n\r\nfunction slice(src: string, dest: string, start: number, end: number): Promise {\r\n if (typeof src !== 'string' || typeof dest !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"src\" and/or \"destination\"')));\r\n }\r\n\r\n let p = Promise.resolve();\r\n let size = 0;\r\n\r\n function normalize(num, size) {\r\n if (num < 0)\r\n return Math.max(0, size + num);\r\n if (!num && num !== 0)\r\n return size;\r\n return num;\r\n }\r\n\r\n if (start < 0 || end < 0 || !start || !end) {\r\n p = p.then(() => stat(src))\r\n .then((stat) => {\r\n size = Math.floor(stat.size);\r\n start = normalize(start || 0, size);\r\n end = normalize(end, size);\r\n });\r\n }\r\n return p.then(() => ReactNativeBlobUtil.slice(src, dest, start, end));\r\n}\r\n\r\nfunction isDir(path: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (typeof path !== 'string') {\r\n return reject(addCode('EINVAL', new TypeError('Missing argument \"path\" ')));\r\n }\r\n try {\r\n ReactNativeBlobUtil.exists(path, (exist, isDir) => {\r\n resolve(isDir);\r\n });\r\n } catch (err) {\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n }\r\n });\r\n\r\n}\r\n\r\nfunction df(): Promise<{ free: number, total: number }> {\r\n return new Promise((resolve, reject) => {\r\n ReactNativeBlobUtil.df((err, stat) => {\r\n if (err)\r\n reject(addCode('EUNSPECIFIED', new Error(err)));\r\n else\r\n resolve(stat);\r\n });\r\n });\r\n}\r\n\r\nexport default {\r\n ReactNativeBlobUtilSession,\r\n unlink,\r\n mkdir,\r\n session,\r\n ls,\r\n readStream,\r\n mv,\r\n cp,\r\n writeStream,\r\n writeFile,\r\n writeFileWithTransform,\r\n readFileWithTransform,\r\n appendFile,\r\n pathForAppGroup,\r\n syncPathAppGroup,\r\n readFile,\r\n hash,\r\n exists,\r\n createFile,\r\n isDir,\r\n stat,\r\n lstat,\r\n scanFile,\r\n dirs,\r\n slice,\r\n asset,\r\n df\r\n};\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport {\r\n NativeModules,\r\n DeviceEventEmitter,\r\n NativeAppEventEmitter,\r\n} from 'react-native';\r\n\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\n\r\nlet sessions = {};\r\n\r\nexport default class ReactNativeBlobUtilSession {\r\n\r\n name : string;\r\n\r\n static getSession(name:string):any {\r\n return sessions[name];\r\n }\r\n\r\n static setSession(name:string, val:any) {\r\n sessions[name] = val;\r\n }\r\n\r\n static removeSession(name:string) {\r\n delete sessions[name];\r\n }\r\n\r\n constructor(name:string, list:Array) {\r\n this.name = name;\r\n if(!sessions[name]) {\r\n if(Array.isArray(list))\r\n sessions[name] = list;\r\n else\r\n sessions[name] = [];\r\n }\r\n }\r\n\r\n add(path:string):ReactNativeBlobUtilSession {\r\n sessions[this.name].push(path);\r\n return this;\r\n }\r\n\r\n remove(path:string):ReactNativeBlobUtilSession {\r\n let list = sessions[this.name];\r\n for(let i of list) {\r\n if(list[i] === path) {\r\n sessions[this.name].splice(i, 1);\r\n break;\r\n }\r\n }\r\n return this;\r\n }\r\n\r\n list():Array {\r\n return sessions[this.name];\r\n }\r\n\r\n dispose():Promise {\r\n return new Promise((resolve, reject) => {\r\n ReactNativeBlobUtil.removeSession(sessions[this.name], (err) => {\r\n if(err)\r\n reject(new Error(err));\r\n else {\r\n delete sessions[this.name];\r\n resolve();\r\n }\r\n });\r\n });\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport {\r\n NativeModules,\r\n DeviceEventEmitter,\r\n NativeAppEventEmitter,\r\n} from 'react-native';\r\n\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\n\r\nexport default class ReactNativeBlobUtilWriteStream {\r\n\r\n id : string;\r\n encoding : string;\r\n append : boolean;\r\n\r\n constructor(streamId:string, encoding:string, append:boolean) {\r\n this.id = streamId;\r\n this.encoding = encoding;\r\n this.append = append;\r\n }\r\n\r\n write(data:string): Promise {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n let method = this.encoding === 'ascii' ? 'writeArrayChunk' : 'writeChunk';\r\n if(this.encoding.toLocaleLowerCase() === 'ascii' && !Array.isArray(data)) {\r\n reject(new Error('ascii input data must be an Array'));\r\n return;\r\n }\r\n ReactNativeBlobUtil[method](this.id, data, (error) => {\r\n if(error)\r\n reject(new Error(error));\r\n else\r\n resolve(this);\r\n });\r\n } catch(err) {\r\n reject(new Error(err));\r\n }\r\n });\r\n }\r\n\r\n close() {\r\n return new Promise((resolve, reject) => {\r\n try {\r\n ReactNativeBlobUtil.closeStream(this.id, () => {\r\n resolve();\r\n });\r\n } catch (err) {\r\n reject(new Error(err));\r\n }\r\n });\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport {\r\n NativeModules,\r\n DeviceEventEmitter,\r\n NativeAppEventEmitter,\r\n} from 'react-native';\r\nimport UUID from '../utils/uuid';\r\n\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\nconst emitter = DeviceEventEmitter;\r\n\r\nexport default class ReactNativeBlobUtilReadStream {\r\n\r\n path : string;\r\n encoding : 'utf8' | 'ascii' | 'base64';\r\n bufferSize : ?number;\r\n closed : boolean;\r\n tick : number = 10;\r\n\r\n constructor(path:string, encoding:string, bufferSize?:?number, tick:number) {\r\n if(!path)\r\n throw Error('ReactNativeBlobUtil could not open file stream with empty `path`');\r\n this.encoding = encoding || 'utf8';\r\n this.bufferSize = bufferSize;\r\n this.path = path;\r\n this.closed = false;\r\n this.tick = tick;\r\n this._onData = () => {};\r\n this._onEnd = () => {};\r\n this._onError = () => {};\r\n this.streamId = 'RNFBRS'+ UUID();\r\n\r\n // register for file stream event\r\n let subscription = emitter.addListener(this.streamId, (e) => {\r\n let {event, code, detail} = e;\r\n if(this._onData && event === 'data') {\r\n this._onData(detail);\r\n return;\r\n }\r\n else if (this._onEnd && event === 'end') {\r\n this._onEnd(detail);\r\n }\r\n else {\r\n const err = new Error(detail);\r\n err.code = code || 'EUNSPECIFIED';\r\n if(this._onError)\r\n this._onError(err);\r\n else\r\n throw err;\r\n }\r\n // when stream closed or error, remove event handler\r\n if (event === 'error' || event === 'end') {\r\n subscription.remove();\r\n this.closed = true;\r\n }\r\n });\r\n\r\n }\r\n\r\n open() {\r\n if(!this.closed)\r\n ReactNativeBlobUtil.readStream(this.path, this.encoding, this.bufferSize || 10240 , this.tick || -1, this.streamId);\r\n else\r\n throw new Error('Stream closed');\r\n }\r\n\r\n onData(fn:() => void) {\r\n this._onData = fn;\r\n }\r\n\r\n onError(fn) {\r\n this._onError = fn;\r\n }\r\n\r\n onEnd (fn) {\r\n this._onEnd = fn;\r\n }\r\n\r\n}\r\n","export default function getUUID() {\r\n return Math.random().toString(36).substring(2, 15) +\r\n Math.random().toString(36).substring(2, 15);\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\n\r\nimport {\r\n NativeModules,\r\n DeviceEventEmitter,\r\n NativeAppEventEmitter,\r\n} from 'react-native';\r\n\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\nconst emitter = DeviceEventEmitter;\r\n\r\nexport default class ReactNativeBlobUtilFile {\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport fs from '../fs.js';\r\nimport getUUID from '../utils/uuid';\r\nimport Log from '../utils/log.js';\r\nimport URIUtil from \"../utils/uri\";\r\nimport EventTarget from './EventTarget';\r\n\r\nconst log = new Log('Blob');\r\nconst blobCacheDir = fs.dirs.DocumentDir + '/ReactNativeBlobUtil-blobs/';\r\n\r\nlog.disable();\r\n// log.level(3)\r\n\r\n/**\r\n * A ReactNativeBlobUtil style Blob polyfill class, this is a Blob which compatible to\r\n * Response object attain fron ReactNativeBlobUtil.fetch.\r\n */\r\nexport default class Blob extends EventTarget {\r\n\r\n cacheName: string;\r\n type: string;\r\n size: number;\r\n isReactNativeBlobUtilPolyfill: boolean = true;\r\n multipartBoundary: string = null;\r\n\r\n _ref: string = null;\r\n _blobCreated: boolean = false;\r\n _onCreated: Array = [];\r\n _closed: boolean = false;\r\n\r\n /**\r\n * Static method that remove all files in Blob cache folder.\r\n * @nonstandard\r\n * @return {Promise}\r\n */\r\n static clearCache() {\r\n return fs.unlink(blobCacheDir).then(() => fs.mkdir(blobCacheDir));\r\n }\r\n\r\n static build(data: any, cType: any): Promise {\r\n return new Promise((resolve, reject) => {\r\n new Blob(data, cType).onCreated(resolve);\r\n });\r\n }\r\n\r\n get blobPath() {\r\n return this._ref;\r\n }\r\n\r\n static setLog(level: number) {\r\n if (level === -1)\r\n log.disable();\r\n else\r\n log.level(level);\r\n }\r\n\r\n /**\r\n * ReactNativeBlobUtil Blob polyfill, create a Blob directly from file path, BASE64\r\n * encoded data, and string. The conversion is done implicitly according to\r\n * given `mime`. However, the blob creation is asynchronously, to register\r\n * event `onCreated` is need to ensure the Blob is creadted.\r\n * @param {any} data Content of Blob object\r\n * @param {any} mime Content type settings of Blob object, `text/plain`\r\n * by default\r\n * @param {boolean} defer When this argument set to `true`, blob constructor\r\n * will not invoke blob created event automatically.\r\n */\r\n constructor(data: any, cType: any, defer: boolean) {\r\n super();\r\n cType = cType || {};\r\n this.cacheName = getBlobName();\r\n this.isReactNativeBlobUtilPolyfill = true;\r\n this.isDerived = defer;\r\n this.type = cType.type || 'text/plain';\r\n log.verbose('Blob constructor called', 'mime', this.type, 'type', typeof data, 'length', data ? data.length : 0);\r\n this._ref = blobCacheDir + this.cacheName;\r\n let p = null;\r\n if (!data)\r\n data = '';\r\n if (data.isReactNativeBlobUtilPolyfill) {\r\n log.verbose('create Blob cache file from Blob object');\r\n let size = 0;\r\n this._ref = String(data.getReactNativeBlobUtilRef());\r\n let orgPath = this._ref;\r\n\r\n p = fs.exists(orgPath)\r\n .then((exist) => {\r\n if (exist)\r\n return fs.writeFile(orgPath, data, 'uri')\r\n .then((size) => Promise.resolve(size))\r\n .catch((err) => {\r\n throw `ReactNativeBlobUtil Blob file creation error, ${err}`;\r\n });\r\n else\r\n throw `could not create Blob from path ${orgPath}, file not exists`;\r\n });\r\n }\r\n // process FormData\r\n else if (data instanceof FormData) {\r\n log.verbose('create Blob cache file from FormData', data);\r\n let boundary = `ReactNativeBlobUtil-${this.cacheName}-${Date.now()}`;\r\n this.multipartBoundary = boundary;\r\n let parts = data.getParts();\r\n let formArray = [];\r\n if (!parts) {\r\n p = fs.writeFile(this._ref, '', 'utf8');\r\n }\r\n else {\r\n for (let i in parts) {\r\n formArray.push('\\r\\n--' + boundary + '\\r\\n');\r\n let part = parts[i];\r\n for (let j in part.headers) {\r\n formArray.push(j + ': ' + part.headers[j] + '\\r\\n');\r\n }\r\n formArray.push('\\r\\n');\r\n if (part.isReactNativeBlobUtilPolyfill)\r\n formArray.push(part);\r\n else\r\n formArray.push(part.string);\r\n }\r\n log.verbose('FormData array', formArray);\r\n formArray.push('\\r\\n--' + boundary + '--\\r\\n');\r\n p = createMixedBlobData(this._ref, formArray);\r\n }\r\n }\r\n // if the data is a string starts with `ReactNativeBlobUtil-file://`, append the\r\n // Blob data from file path\r\n else if (typeof data === 'string' && data.startsWith('ReactNativeBlobUtil-file://')) {\r\n log.verbose('create Blob cache file from file path', data);\r\n // set this flag so that we know this blob is a wrapper of an existing file\r\n this._isReference = true;\r\n this._ref = String(data).replace('ReactNativeBlobUtil-file://', '');\r\n let orgPath = this._ref;\r\n if (defer)\r\n return;\r\n else {\r\n p = fs.stat(orgPath)\r\n .then((stat) => {\r\n return Promise.resolve(stat.size);\r\n });\r\n }\r\n }\r\n // content from variable need create file\r\n else if (typeof data === 'string') {\r\n let encoding = 'utf8';\r\n let mime = String(this.type);\r\n // when content type contains application/octet* or *;base64, ReactNativeBlobUtil\r\n // fs will treat it as BASE64 encoded string binary data\r\n if (/(application\\/octet|\\;base64)/i.test(mime))\r\n encoding = 'base64';\r\n else\r\n data = data.toString();\r\n // create cache file\r\n this.type = String(this.type).replace(/;base64/ig, '');\r\n log.verbose('create Blob cache file from string', 'encode', encoding);\r\n p = fs.writeFile(this._ref, data, encoding)\r\n .then((size) => {\r\n return Promise.resolve(size);\r\n });\r\n\r\n }\r\n // TODO : ArrayBuffer support\r\n // else if (data instanceof ArrayBuffer ) {\r\n //\r\n // }\r\n // when input is an array of mixed data types, create a file cache\r\n else if (Array.isArray(data)) {\r\n log.verbose('create Blob cache file from mixed array', data);\r\n p = createMixedBlobData(this._ref, data);\r\n }\r\n else {\r\n data = data.toString();\r\n p = fs.writeFile(this._ref, data, 'utf8')\r\n .then((size) => Promise.resolve(size));\r\n }\r\n p && p.then((size) => {\r\n this.size = size;\r\n this._invokeOnCreateEvent();\r\n })\r\n .catch((err) => {\r\n log.error('ReactNativeBlobUtil could not create Blob : ' + this._ref, err);\r\n });\r\n\r\n }\r\n\r\n /**\r\n * Since Blob content will asynchronously write to a file during creation,\r\n * use this method to register an event handler for Blob initialized event.\r\n * @nonstandard\r\n * @param {(b:Blob) => void} An event handler invoked when Blob created\r\n * @return {Blob} The Blob object instance itself\r\n */\r\n onCreated(fn: () => void): Blob {\r\n log.verbose('#register blob onCreated', this._blobCreated);\r\n if (!this._blobCreated)\r\n this._onCreated.push(fn);\r\n else {\r\n fn(this);\r\n }\r\n return this;\r\n }\r\n\r\n markAsDerived() {\r\n this._isDerived = true;\r\n }\r\n\r\n get isDerived() {\r\n return this._isDerived || false;\r\n }\r\n\r\n /**\r\n * Get file reference of the Blob object.\r\n * @nonstandard\r\n * @return {string} Blob file reference which can be consumed by ReactNativeBlobUtil fs\r\n */\r\n getReactNativeBlobUtilRef() {\r\n return this._ref;\r\n }\r\n\r\n /**\r\n * Create a Blob object which is sliced from current object\r\n * @param {number} start Start byte number\r\n * @param {number} end End byte number\r\n * @param {string} contentType Optional, content type of new Blob object\r\n * @return {Blob}\r\n */\r\n slice(start: ?number, end: ?number, contentType: ?string = ''): Blob {\r\n if (this._closed)\r\n throw 'Blob has been released.';\r\n log.verbose('slice called', start, end, contentType);\r\n\r\n\r\n let resPath = blobCacheDir + getBlobName();\r\n let pass = false;\r\n log.debug('fs.slice new blob will at', resPath);\r\n let result = new Blob(URIUtil.wrap(resPath), {type: contentType}, true);\r\n fs.exists(blobCacheDir)\r\n .then((exist) => {\r\n if (exist)\r\n return Promise.resolve();\r\n return fs.mkdir(blobCacheDir);\r\n })\r\n .then(() => fs.slice(this._ref, resPath, start, end))\r\n .then((dest) => {\r\n log.debug('fs.slice done', dest);\r\n result._invokeOnCreateEvent();\r\n pass = true;\r\n })\r\n .catch((err) => {\r\n console.warn('Blob.slice failed:', err);\r\n pass = true;\r\n });\r\n log.debug('slice returning new Blob');\r\n\r\n return result;\r\n }\r\n\r\n /**\r\n * Read data of the Blob object, this is not standard method.\r\n * @nonstandard\r\n * @param {string} encoding Read data with encoding\r\n * @return {Promise}\r\n */\r\n readBlob(encoding: string): Promise {\r\n if (this._closed)\r\n throw 'Blob has been released.';\r\n return fs.readFile(this._ref, encoding || 'utf8');\r\n }\r\n\r\n /**\r\n * Release the resource of the Blob object.\r\n * @nonstandard\r\n * @return {Promise}\r\n */\r\n close() {\r\n if (this._closed)\r\n return Promise.reject('Blob has been released.');\r\n this._closed = true;\r\n return fs.unlink(this._ref).catch((err) => {\r\n console.warn(err);\r\n });\r\n }\r\n\r\n safeClose() {\r\n if (this._closed)\r\n return Promise.reject('Blob has been released.');\r\n this._closed = true;\r\n if (!this._isReference) {\r\n return fs.unlink(this._ref).catch((err) => {\r\n console.warn(err);\r\n });\r\n }\r\n else {\r\n return Promise.resolve();\r\n }\r\n }\r\n\r\n _invokeOnCreateEvent() {\r\n log.verbose('invoke create event', this._onCreated);\r\n this._blobCreated = true;\r\n let fns = this._onCreated;\r\n for (let i in fns) {\r\n if (typeof fns[i] === 'function') {\r\n fns[i](this);\r\n }\r\n }\r\n delete this._onCreated;\r\n }\r\n\r\n}\r\n\r\n/**\r\n * Get a temp filename for Blob object\r\n * @return {string} Temporary filename\r\n */\r\nfunction getBlobName() {\r\n return 'blob-' + getUUID();\r\n}\r\n\r\n/**\r\n * Create a file according to given array. The element in array can be a number,\r\n * Blob, String, Array.\r\n * @param {string} ref File path reference\r\n * @param {Array} dataArray An array contains different types of data.\r\n * @return {Promise}\r\n */\r\nfunction createMixedBlobData(ref, dataArray) {\r\n // create an empty file for store blob data\r\n let p = fs.writeFile(ref, '');\r\n let args = [];\r\n let size = 0;\r\n for (let i in dataArray) {\r\n let part = dataArray[i];\r\n if (!part)\r\n continue;\r\n if (part.isReactNativeBlobUtilPolyfill) {\r\n args.push([ref, part._ref, 'uri']);\r\n }\r\n else if (typeof part === 'string')\r\n args.push([ref, part, 'utf8']);\r\n // TODO : ArrayBuffer\r\n // else if (part instanceof ArrayBuffer) {\r\n //\r\n // }\r\n else if (Array.isArray(part))\r\n args.push([ref, part, 'ascii']);\r\n }\r\n // start write blob data\r\n for (let i in args) {\r\n p = p.then(function (written) {\r\n let arg = this;\r\n if (written)\r\n size += written;\r\n log.verbose('mixed blob write', args[i], written);\r\n return fs.appendFile(...arg);\r\n }.bind(args[i]));\r\n }\r\n return p.then(() => Promise.resolve(size));\r\n}\r\n","export default class Log {\r\n\r\n _name:string;\r\n _isEnable:boolean = true\r\n _level:number = 0\r\n\r\n constructor(name:string) {\r\n this._name = name;\r\n }\r\n\r\n level(val:number) {\r\n this._isEnable = true;\r\n this._level = val;\r\n }\r\n\r\n enable() {\r\n this._isEnable = true;\r\n }\r\n\r\n disable() {\r\n this._isEnable = false;\r\n }\r\n\r\n verbose(...args) {\r\n this._isEnable && this._level > 2 && console.log(this._name, 'verbose:', ...args);\r\n }\r\n\r\n debug(...args) {\r\n this._isEnable && this._level > 1 && console.log(this._name, 'debug:', ...args);\r\n }\r\n\r\n info(...args) {\r\n this._isEnable && this._level > 0 && console.log(this._name, 'info:', ...args);\r\n }\r\n\r\n error(...args) {\r\n this._isEnable && this._level > -1 && console.warn(this._name, 'error:', ...args);\r\n }\r\n\r\n}\r\n","export default {\r\n\r\n isFileURI: (uri: string): boolean => {\r\n if (typeof uri !== 'string')\r\n return false;\r\n return /^ReactNativeBlobUtil-file\\:\\/\\//.test(uri);\r\n },\r\n\r\n isJSONStreamURI: (uri: string): boolean => {\r\n if (typeof uri !== 'string')\r\n return false;\r\n return /^JSONStream\\:\\/\\//.test(uri);\r\n },\r\n\r\n removeURIScheme: (uri: string, iterations: number): string => {\r\n iterations = iterations || 1;\r\n let result = uri;\r\n for (let i = 0; i < iterations; i++) {\r\n result = String(result).replace(/^[^\\:]+\\:\\/\\//, '');\r\n }\r\n return String(result);\r\n },\r\n\r\n unwrapFileURI: (uri: string): string => {\r\n return String(uri).replace(/^ReactNativeBlobUtil-file\\:\\/\\//, '');\r\n },\r\n\r\n wrap: (path: string): string => {\r\n const prefix = path.startsWith('content://') ? 'ReactNativeBlobUtil-content://' : 'ReactNativeBlobUtil-file://';\r\n return prefix + path;\r\n }\r\n\r\n};\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport Log from '../utils/log.js';\r\n\r\nconst log = new Log('EventTarget');\r\n\r\nlog.disable();\r\n\r\nexport default class EventTarget {\r\n\r\n listeners: any;\r\n\r\n constructor() {\r\n log.info('constructor called');\r\n this.listeners = {};\r\n }\r\n\r\n /**\r\n * Add an event listener to given event type\r\n * @param {string} type Event type string\r\n * @param {(Event) => void} cb Event handler function\r\n */\r\n addEventListener(type: string, cb: () => void) {\r\n log.info('add event listener', type, cb);\r\n if (!(type in this.listeners)) {\r\n this.listeners[type] = [];\r\n }\r\n this.listeners[type].push(cb);\r\n }\r\n\r\n /**\r\n * Remove an event listener\r\n * @param {string} type Type of the event listener\r\n * @param {()=>void} cb Event listener function.\r\n * @return {[type]} [description]\r\n */\r\n removeEventListener(type: string, cb: () => void) {\r\n log.info('remove event listener', type, cb);\r\n if (!(type in this.listeners))\r\n return;\r\n let handlers = this.listeners[type];\r\n for (let i in handlers) {\r\n if (cb === handlers[i]) {\r\n handlers.splice(i, 1);\r\n return this.removeEventListener(type, cb);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Dispatch an event\r\n * @param {string} type Event type.\r\n * @param {Event} event Event data payload.\r\n */\r\n dispatchEvent(type: string, event: Event) {\r\n log.info('dispatch event', event);\r\n if (!(type in this.listeners))\r\n return;\r\n let handlers = this.listeners[type];\r\n for (let i in handlers) {\r\n handlers[i].call(this, event);\r\n }\r\n\r\n }\r\n\r\n /**\r\n * Remove all registered listeners from this object.\r\n * @nonstandard\r\n * @return {[type]} [description]\r\n */\r\n clearEventListeners() {\r\n for (let i in this.listeners) {\r\n delete this.listeners[i];\r\n }\r\n }\r\n\r\n}","/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */\n;(function(root) {\n\n\t// Detect free variables `exports`.\n\tvar freeExports = typeof exports == 'object' && exports;\n\n\t// Detect free variable `module`.\n\tvar freeModule = typeof module == 'object' && module &&\n\t\tmodule.exports == freeExports && module;\n\n\t// Detect free variable `global`, from Node.js or Browserified code, and use\n\t// it as `root`.\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {\n\t\troot = freeGlobal;\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\tvar InvalidCharacterError = function(message) {\n\t\tthis.message = message;\n\t};\n\tInvalidCharacterError.prototype = new Error;\n\tInvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n\tvar error = function(message) {\n\t\t// Note: the error messages used throughout this file match those used by\n\t\t// the native `atob`/`btoa` implementation in Chromium.\n\t\tthrow new InvalidCharacterError(message);\n\t};\n\n\tvar TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\t// http://whatwg.org/html/common-microsyntaxes.html#space-character\n\tvar REGEX_SPACE_CHARACTERS = /[\\t\\n\\f\\r ]/g;\n\n\t// `decode` is designed to be fully compatible with `atob` as described in the\n\t// HTML Standard. http://whatwg.org/html/webappapis.html#dom-windowbase64-atob\n\t// The optimized base64-decoding algorithm used is based on @atk’s excellent\n\t// implementation. https://gist.github.com/atk/1020396\n\tvar decode = function(input) {\n\t\tinput = String(input)\n\t\t\t.replace(REGEX_SPACE_CHARACTERS, '');\n\t\tvar length = input.length;\n\t\tif (length % 4 == 0) {\n\t\t\tinput = input.replace(/==?$/, '');\n\t\t\tlength = input.length;\n\t\t}\n\t\tif (\n\t\t\tlength % 4 == 1 ||\n\t\t\t// http://whatwg.org/C#alphanumeric-ascii-characters\n\t\t\t/[^+a-zA-Z0-9/]/.test(input)\n\t\t) {\n\t\t\terror(\n\t\t\t\t'Invalid character: the string to be decoded is not correctly encoded.'\n\t\t\t);\n\t\t}\n\t\tvar bitCounter = 0;\n\t\tvar bitStorage;\n\t\tvar buffer;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\twhile (++position < length) {\n\t\t\tbuffer = TABLE.indexOf(input.charAt(position));\n\t\t\tbitStorage = bitCounter % 4 ? bitStorage * 64 + buffer : buffer;\n\t\t\t// Unless this is the first of a group of 4 characters…\n\t\t\tif (bitCounter++ % 4) {\n\t\t\t\t// …convert the first 8 bits to a single ASCII character.\n\t\t\t\toutput += String.fromCharCode(\n\t\t\t\t\t0xFF & bitStorage >> (-2 * bitCounter & 6)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t};\n\n\t// `encode` is designed to be fully compatible with `btoa` as described in the\n\t// HTML Standard: http://whatwg.org/html/webappapis.html#dom-windowbase64-btoa\n\tvar encode = function(input) {\n\t\tinput = String(input);\n\t\tif (/[^\\0-\\xFF]/.test(input)) {\n\t\t\t// Note: no need to special-case astral symbols here, as surrogates are\n\t\t\t// matched, and the input is supposed to only contain ASCII anyway.\n\t\t\terror(\n\t\t\t\t'The string to be encoded contains characters outside of the ' +\n\t\t\t\t'Latin1 range.'\n\t\t\t);\n\t\t}\n\t\tvar padding = input.length % 3;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\tvar a;\n\t\tvar b;\n\t\tvar c;\n\t\tvar d;\n\t\tvar buffer;\n\t\t// Make sure any padding is handled outside of the loop.\n\t\tvar length = input.length - padding;\n\n\t\twhile (++position < length) {\n\t\t\t// Read three bytes, i.e. 24 bits.\n\t\t\ta = input.charCodeAt(position) << 16;\n\t\t\tb = input.charCodeAt(++position) << 8;\n\t\t\tc = input.charCodeAt(++position);\n\t\t\tbuffer = a + b + c;\n\t\t\t// Turn the 24 bits into four chunks of 6 bits each, and append the\n\t\t\t// matching character for each of them to the output.\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 18 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 12 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 6 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer & 0x3F)\n\t\t\t);\n\t\t}\n\n\t\tif (padding == 2) {\n\t\t\ta = input.charCodeAt(position) << 8;\n\t\t\tb = input.charCodeAt(++position);\n\t\t\tbuffer = a + b;\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 10) +\n\t\t\t\tTABLE.charAt((buffer >> 4) & 0x3F) +\n\t\t\t\tTABLE.charAt((buffer << 2) & 0x3F) +\n\t\t\t\t'='\n\t\t\t);\n\t\t} else if (padding == 1) {\n\t\t\tbuffer = input.charCodeAt(position);\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 2) +\n\t\t\t\tTABLE.charAt((buffer << 4) & 0x3F) +\n\t\t\t\t'=='\n\t\t\t);\n\t\t}\n\n\t\treturn output;\n\t};\n\n\tvar base64 = {\n\t\t'encode': encode,\n\t\t'decode': decode,\n\t\t'version': '0.1.0'\n\t};\n\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine(function() {\n\t\t\treturn base64;\n\t\t});\n\t}\telse if (freeExports && !freeExports.nodeType) {\n\t\tif (freeModule) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = base64;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (var key in base64) {\n\t\t\t\tbase64.hasOwnProperty(key) && (freeExports[key] = base64[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.base64 = base64;\n\t}\n\n}(this));\n","\r\nexport type ReactNativeBlobUtilConfig = {\r\n Progress: any,\r\n UploadProgress: any,\r\n fileCache : bool,\r\n transformFile: boolean;\r\n path : string,\r\n appendExt : string,\r\n session : string,\r\n addAndroidDownloads : any,\r\n indicator : bool,\r\n followRedirect : bool,\r\n trusty : bool,\r\n wifiOnly : bool\r\n};\r\n\r\nexport type ReactNativeBlobUtilNative = {\r\n // API for fetch octet-stream data\r\n fetchBlob : (\r\n options:fetchConfig,\r\n taskId:string,\r\n method:string,\r\n url:string,\r\n headers:any,\r\n body:any,\r\n callback:(err:any, ...data:any) => void\r\n ) => void,\r\n // API for fetch form data\r\n fetchBlobForm : (\r\n options:fetchConfig,\r\n taskId:string,\r\n method:string,\r\n url:string,\r\n headers:any,\r\n form:Array,\r\n callback:(err:any, ...data:any) => void\r\n ) => void,\r\n // open file stream\r\n readStream : (\r\n path:string,\r\n encode:'utf8' | 'ascii' | 'base64'\r\n ) => void,\r\n // get system folders\r\n getEnvironmentDirs : (dirs:any) => void,\r\n // unlink file by path\r\n unlink : (path:string, callback: (err:any) => void) => void,\r\n removeSession : (paths:Array, callback: (err:any) => void) => void,\r\n ls : (path:string, callback: (err:any) => void) => void,\r\n};\r\n\r\nexport type ReactNativeBlobUtilResponseInfo = {\r\n taskId : string,\r\n state : number,\r\n headers : any,\r\n status : number,\r\n respType : 'text' | 'blob' | '' | 'json',\r\n rnfbEncode : 'path' | 'base64' | 'ascii' | 'utf8'\r\n}\r\n\r\nexport type ReactNativeBlobUtilStream = {\r\n onData : () => void,\r\n onError : () => void,\r\n onEnd : () => void,\r\n _onData : () => void,\r\n _onEnd : () => void,\r\n _onError : () => void,\r\n}\r\n\r\n\r\nexport type filedescriptor = { path: string, parentFolder: string, mimeType: string }","import {NativeModules} from 'react-native';\r\nimport type {ReactNativeBlobUtilNative, filedescriptor} from \"types\";\r\n\r\nconst ReactNativeBlobUtil: ReactNativeBlobUtilNative = NativeModules.ReactNativeBlobUtil;\r\n\r\nfunction createMediafile(fd: filedescriptor, mediatype: string): Promise {\r\n if ((!'parentFolder' in fd)) fd['parentFolder'] = '';\r\n return ReactNativeBlobUtil.createMediaFile(fd, mediatype);\r\n}\r\n\r\nfunction writeToMediafile(uri: string, path: string) {\r\n return ReactNativeBlobUtil.writeToMediaFile(uri, path, false);\r\n}\r\n\r\nfunction writeToMediafileWithTransform(uri: string, path: string) {\r\n return ReactNativeBlobUtil.writeToMediaFile(uri, path, true);\r\n}\r\n\r\nfunction copyToInternal(contenturi: string, destpath: string) {\r\n return ReactNativeBlobUtil.copyToInternal(contenturi, destpath);\r\n}\r\n\r\nfunction getBlob(contenturi: string, encoding: string) {\r\n return ReactNativeBlobUtil.getBlob(contenturi, encoding);\r\n}\r\n\r\nfunction copyToMediaStore(fd: filedescriptor, mediatype: string, path: string) {\r\n return ReactNativeBlobUtil.copyToMediaStore(fd, mediatype, path);\r\n}\r\n\r\nexport default {\r\n createMediafile,\r\n writeToMediafile,\r\n writeToMediafileWithTransform,\r\n copyToInternal,\r\n getBlob,\r\n copyToMediaStore\r\n};","import Blob from './Blob.js';\r\nimport File from './File.js';\r\nimport XMLHttpRequest from './XMLHttpRequest.js';\r\nimport ProgressEvent from './ProgressEvent';\r\nimport Event from './Event';\r\nimport FileReader from './FileReader';\r\nimport Fetch from './Fetch';\r\n\r\nexport default {\r\n Blob, File, XMLHttpRequest, ProgressEvent, Event, FileReader, Fetch\r\n};\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport Blob from './Blob.js';\r\n\r\nexport default class File extends Blob {\r\n\r\n name: string = '';\r\n\r\n static build(name: string, data: any, cType: string): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (data === undefined) {\r\n reject(new TypeError('data is undefined'));\r\n }\r\n new File(data, cType).onCreated((f) => {\r\n f.name = name;\r\n resolve(f);\r\n });\r\n });\r\n }\r\n\r\n constructor(data: any, cType: string) {\r\n super(data, cType);\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport XMLHttpRequestEventTarget from './XMLHttpRequestEventTarget.js';\r\nimport Log from '../utils/log.js';\r\nimport Blob from './Blob.js';\r\nimport ProgressEvent from './ProgressEvent.js';\r\nimport URIUtil from \"../utils/uri\";\r\nimport {config} from \"../fetch\";\r\n\r\nconst log = new Log('XMLHttpRequest');\r\n\r\n\r\nlog.disable();\r\n// log.level(3)\r\n\r\nconst UNSENT = 0;\r\nconst OPENED = 1;\r\nconst HEADERS_RECEIVED = 2;\r\nconst LOADING = 3;\r\nconst DONE = 4;\r\n\r\nexport default class XMLHttpRequest extends XMLHttpRequestEventTarget {\r\n\r\n _onreadystatechange: () => void;\r\n\r\n upload: XMLHttpRequestEventTarget = new XMLHttpRequestEventTarget();\r\n static binaryContentTypes: Array = [\r\n 'image/', 'video/', 'audio/'\r\n ];\r\n\r\n // readonly\r\n _readyState: number = UNSENT;\r\n _uriType: 'net' | 'file' = 'net';\r\n _response: any = '';\r\n _responseText: any = '';\r\n _responseHeaders: any = {};\r\n _responseType: '' | 'arraybuffer' | 'blob' | 'json' | 'text' = '';\r\n // TODO : not suppoted ATM\r\n _responseURL: null = '';\r\n _responseXML: null = '';\r\n _status: number = 0;\r\n _statusText: string = '';\r\n _timeout: number = 60000;\r\n _sendFlag: boolean = false;\r\n _uploadStarted: boolean = false;\r\n _increment: boolean = false;\r\n\r\n // ReactNativeBlobUtil compatible data structure\r\n _config: ReactNativeBlobUtilConfig = {};\r\n _url: any;\r\n _method: string;\r\n _headers: any = {\r\n 'Content-Type': 'text/plain'\r\n };\r\n _cleanUp: () => void = null;\r\n _body: any;\r\n\r\n // ReactNativeBlobUtil promise object, which has `progress`, `uploadProgress`, and\r\n // `cancel` methods.\r\n _task: any;\r\n\r\n // constants\r\n get UNSENT() {\r\n return UNSENT;\r\n }\r\n\r\n get OPENED() {\r\n return OPENED;\r\n }\r\n\r\n get HEADERS_RECEIVED() {\r\n return HEADERS_RECEIVED;\r\n }\r\n\r\n get LOADING() {\r\n return LOADING;\r\n }\r\n\r\n get DONE() {\r\n return DONE;\r\n }\r\n\r\n static get UNSENT() {\r\n return UNSENT;\r\n }\r\n\r\n static get OPENED() {\r\n return OPENED;\r\n }\r\n\r\n static get HEADERS_RECEIVED() {\r\n return HEADERS_RECEIVED;\r\n }\r\n\r\n static get LOADING() {\r\n return LOADING;\r\n }\r\n\r\n static get DONE() {\r\n return DONE;\r\n }\r\n\r\n static setLog(level: number) {\r\n if (level === -1)\r\n log.disable();\r\n else\r\n log.level(level);\r\n }\r\n\r\n static addBinaryContentType(substr: string) {\r\n for (let i in XMLHttpRequest.binaryContentTypes) {\r\n if (new RegExp(substr, 'i').test(XMLHttpRequest.binaryContentTypes[i])) {\r\n return;\r\n }\r\n }\r\n XMLHttpRequest.binaryContentTypes.push(substr);\r\n\r\n }\r\n\r\n static removeBinaryContentType(val) {\r\n for (let i in XMLHttpRequest.binaryContentTypes) {\r\n if (new RegExp(substr, 'i').test(XMLHttpRequest.binaryContentTypes[i])) {\r\n XMLHttpRequest.binaryContentTypes.splice(i, 1);\r\n return;\r\n }\r\n }\r\n }\r\n\r\n constructor() {\r\n log.verbose('XMLHttpRequest constructor called');\r\n super();\r\n }\r\n\r\n\r\n /**\r\n * XMLHttpRequest.open, always async, user and password not supported. When\r\n * this method invoked, headers should becomes empty again.\r\n * @param {string} method Request method\r\n * @param {string} url Request URL\r\n * @param {true} async Always async\r\n * @param {any} user NOT SUPPORTED\r\n * @param {any} password NOT SUPPORTED\r\n */\r\n open(method: string, url: string, async: true, user: any, password: any) {\r\n log.verbose('XMLHttpRequest open ', method, url, async, user, password);\r\n this._method = method;\r\n this._url = url;\r\n this._headers = {};\r\n this._increment = URIUtil.isJSONStreamURI(this._url);\r\n this._url = this._url.replace(/^JSONStream\\:\\/\\//, '');\r\n this._dispatchReadStateChange(XMLHttpRequest.OPENED);\r\n }\r\n\r\n /**\r\n * Invoke this function to send HTTP request, and set body.\r\n * @param {any} body Body in ReactNativeBlobUtil flavor\r\n */\r\n send(body) {\r\n\r\n this._body = body;\r\n\r\n if (this._readyState !== XMLHttpRequest.OPENED)\r\n throw 'InvalidStateError : XMLHttpRequest is not opened yet.';\r\n let promise = Promise.resolve();\r\n this._sendFlag = true;\r\n log.verbose('XMLHttpRequest send ', body);\r\n let {_method, _url, _headers} = this;\r\n log.verbose('sending request with args', _method, _url, _headers, body);\r\n log.verbose(typeof body, body instanceof FormData);\r\n\r\n if (body instanceof FormData) {\r\n log.debug('creating blob and setting header from FormData instance');\r\n body = new Blob(body);\r\n this._headers['Content-Type'] = `multipart/form-data; boundary=${body.multipartBoundary}`;\r\n }\r\n\r\n if (body instanceof Blob) {\r\n log.debug('sending blob body', body._blobCreated);\r\n promise = new Promise((resolve, reject) => {\r\n body.onCreated((blob) => {\r\n // when the blob is derived (not created by RN developer), the blob\r\n // will be released after XMLHttpRequest sent\r\n if (blob.isDerived) {\r\n this._cleanUp = () => {\r\n blob.close();\r\n };\r\n }\r\n log.debug('body created send request');\r\n body = URIUtil.wrap(blob.getReactNativeBlobUtilRef());\r\n resolve();\r\n });\r\n });\r\n }\r\n else if (typeof body === 'object') {\r\n body = JSON.stringify(body);\r\n promise = Promise.resolve();\r\n }\r\n else {\r\n body = body ? body.toString() : body;\r\n promise = Promise.resolve();\r\n }\r\n\r\n promise.then(() => {\r\n log.debug('send request invoke', body);\r\n for (let h in _headers) {\r\n _headers[h] = _headers[h].toString();\r\n }\r\n\r\n this._task = config({\r\n auto: true,\r\n timeout: this._timeout,\r\n increment: this._increment,\r\n binaryContentTypes: XMLHttpRequest.binaryContentTypes\r\n })\r\n .fetch(_method, _url, _headers, body);\r\n this._task\r\n .stateChange(this._headerReceived)\r\n .uploadProgress(this._uploadProgressEvent)\r\n .progress(this._progressEvent)\r\n .catch(this._onError)\r\n .then(this._onDone);\r\n\r\n });\r\n }\r\n\r\n overrideMimeType(mime: string) {\r\n log.verbose('XMLHttpRequest overrideMimeType', mime);\r\n this._headers['Content-Type'] = mime;\r\n }\r\n\r\n setRequestHeader(name, value) {\r\n log.verbose('XMLHttpRequest set header', name, value);\r\n if (this._readyState !== OPENED || this._sendFlag) {\r\n throw `InvalidStateError : Calling setRequestHeader in wrong state ${this._readyState}`;\r\n }\r\n // UNICODE SHOULD NOT PASS\r\n if (typeof name !== 'string' || /[^\\u0000-\\u00ff]/.test(name)) {\r\n throw 'TypeError : header field name should be a string';\r\n }\r\n //\r\n let invalidPatterns = [\r\n /[\\(\\)\\>\\<\\@\\,\\:\\\\\\/\\[\\]\\?\\=\\}\\{\\s\\ \\u007f\\;\\t\\0\\v\\r]/,\r\n /tt/\r\n ];\r\n for (let pattern of invalidPatterns) {\r\n if (pattern.test(name) || typeof name !== 'string') {\r\n throw `SyntaxError : Invalid header field name ${name}`;\r\n }\r\n }\r\n this._headers[name] = value;\r\n }\r\n\r\n abort() {\r\n log.verbose('XMLHttpRequest abort ');\r\n if (!this._task)\r\n return;\r\n this._task.cancel((err) => {\r\n let e = {\r\n timeStamp: Date.now(),\r\n };\r\n if (this.onabort)\r\n this.onabort();\r\n if (err) {\r\n e.detail = err;\r\n e.type = 'error';\r\n this.dispatchEvent('error', e);\r\n }\r\n else {\r\n e.type = 'abort';\r\n this.dispatchEvent('abort', e);\r\n }\r\n });\r\n }\r\n\r\n getResponseHeader(field: string): string | null {\r\n log.verbose('XMLHttpRequest get header', field, this._responseHeaders);\r\n if (!this._responseHeaders)\r\n return null;\r\n return this._responseHeaders[field] || this._responseHeaders[field.toLowerCase()] || null;\r\n\r\n }\r\n\r\n getAllResponseHeaders(): string | null {\r\n log.verbose('XMLHttpRequest get all headers', this._responseHeaders);\r\n if (!this._responseHeaders)\r\n return '';\r\n let result = '';\r\n let respHeaders = this.responseHeaders;\r\n for (let i in respHeaders) {\r\n result += `${i}: ${respHeaders[i]}${String.fromCharCode(0x0D, 0x0A)}`;\r\n }\r\n return result.substr(0, result.length - 2);\r\n }\r\n\r\n _headerReceived = (e) => {\r\n log.debug('header received ', this._task.taskId, e);\r\n this.responseURL = this._url;\r\n if (e.state === \"2\" && e.taskId === this._task.taskId) {\r\n this._responseHeaders = e.headers;\r\n this._statusText = e.status;\r\n this._status = Math.floor(e.status);\r\n this._dispatchReadStateChange(XMLHttpRequest.HEADERS_RECEIVED);\r\n }\r\n }\r\n\r\n _uploadProgressEvent = (send: number, total: number) => {\r\n if (!this._uploadStarted) {\r\n this.upload.dispatchEvent('loadstart');\r\n this._uploadStarted = true;\r\n }\r\n if (send >= total)\r\n this.upload.dispatchEvent('load');\r\n this.upload.dispatchEvent('progress', new ProgressEvent(true, send, total));\r\n }\r\n\r\n _progressEvent = (send: number, total: number, chunk: string) => {\r\n log.verbose(this.readyState);\r\n if (this._readyState === XMLHttpRequest.HEADERS_RECEIVED)\r\n this._dispatchReadStateChange(XMLHttpRequest.LOADING);\r\n let lengthComputable = false;\r\n if (total && total >= 0)\r\n lengthComputable = true;\r\n let e = new ProgressEvent(lengthComputable, send, total);\r\n\r\n if (this._increment) {\r\n this._responseText += chunk;\r\n }\r\n this.dispatchEvent('progress', e);\r\n }\r\n\r\n _onError = (err) => {\r\n let statusCode = Math.floor(this.status);\r\n if (statusCode >= 100 && statusCode !== 408) {\r\n return;\r\n }\r\n log.debug('XMLHttpRequest error', err);\r\n this._statusText = err;\r\n this._status = String(err).match(/\\d+/);\r\n this._status = this._status ? Math.floor(this.status) : 404;\r\n this._dispatchReadStateChange(XMLHttpRequest.DONE);\r\n if (err && String(err.message).match(/(timed\\sout|timedout)/) || this._status == 408) {\r\n this.dispatchEvent('timeout');\r\n }\r\n this.dispatchEvent('loadend');\r\n this.dispatchEvent('error', {\r\n type: 'error',\r\n detail: err\r\n });\r\n this.clearEventListeners();\r\n }\r\n\r\n _onDone = (resp) => {\r\n log.debug('XMLHttpRequest done', this._url, resp, this);\r\n this._statusText = this._status;\r\n let responseDataReady = () => {\r\n log.debug('request done state = 4');\r\n this.dispatchEvent('load');\r\n this.dispatchEvent('loadend');\r\n this._dispatchReadStateChange(XMLHttpRequest.DONE);\r\n this.clearEventListeners();\r\n };\r\n if (resp) {\r\n let info = resp.respInfo || {};\r\n log.debug(this._url, info, info.respType);\r\n switch (this._responseType) {\r\n case 'blob' :\r\n resp.blob().then((b) => {\r\n this._responseText = resp.text();\r\n this._response = b;\r\n responseDataReady();\r\n });\r\n break;\r\n case 'arraybuffer':\r\n // TODO : to array buffer\r\n break;\r\n case 'json':\r\n this._response = resp.json();\r\n this._responseText = resp.text();\r\n break;\r\n default :\r\n this._responseText = resp.text();\r\n this._response = this.responseText;\r\n responseDataReady();\r\n break;\r\n }\r\n }\r\n\r\n }\r\n\r\n _dispatchReadStateChange(state) {\r\n this._readyState = state;\r\n if (typeof this._onreadystatechange === 'function')\r\n this._onreadystatechange();\r\n }\r\n\r\n set onreadystatechange(fn: () => void) {\r\n log.verbose('XMLHttpRequest set onreadystatechange', fn);\r\n this._onreadystatechange = fn;\r\n }\r\n\r\n get onreadystatechange() {\r\n return this._onreadystatechange;\r\n }\r\n\r\n get readyState() {\r\n log.verbose('get readyState', this._readyState);\r\n return this._readyState;\r\n }\r\n\r\n get status() {\r\n log.verbose('get status', this._status);\r\n return this._status;\r\n }\r\n\r\n get statusText() {\r\n log.verbose('get statusText', this._statusText);\r\n return this._statusText;\r\n }\r\n\r\n get response() {\r\n log.verbose('get response', this._response);\r\n return this._response;\r\n }\r\n\r\n get responseText() {\r\n log.verbose('get responseText', this._responseText);\r\n return this._responseText;\r\n }\r\n\r\n get responseURL() {\r\n log.verbose('get responseURL', this._responseURL);\r\n return this._responseURL;\r\n }\r\n\r\n get responseHeaders() {\r\n log.verbose('get responseHeaders', this._responseHeaders);\r\n return this._responseHeaders;\r\n }\r\n\r\n set timeout(val) {\r\n this._timeout = val * 1000;\r\n log.verbose('set timeout', this._timeout);\r\n }\r\n\r\n get timeout() {\r\n log.verbose('get timeout', this._timeout);\r\n return this._timeout;\r\n }\r\n\r\n set responseType(val) {\r\n log.verbose('set response type', this._responseType);\r\n this._responseType = val;\r\n }\r\n\r\n get responseType() {\r\n log.verbose('get response type', this._responseType);\r\n return this._responseType;\r\n }\r\n\r\n static get isRNFBPolyfill() {\r\n return true;\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport EventTarget from './EventTarget.js';\r\nimport Log from '../utils/log.js';\r\n\r\nconst log = new Log('XMLHttpRequestEventTarget');\r\n\r\nlog.disable();\r\n// log.level(3)\r\n\r\nexport default class XMLHttpRequestEventTarget extends EventTarget {\r\n\r\n _onabort: (e: Event) => void = () => {\r\n };\r\n _onerror: (e: Event) => void = () => {\r\n };\r\n _onload: (e: Event) => void = () => {\r\n };\r\n _onloadstart: (e: Event) => void = () => {\r\n };\r\n _onprogress: (e: Event) => void = () => {\r\n };\r\n _ontimeout: (e: Event) => void = () => {\r\n };\r\n _onloadend: (e: Event) => void = () => {\r\n };\r\n\r\n constructor() {\r\n super();\r\n log.info('constructor called');\r\n }\r\n\r\n dispatchEvent(event: string, e: Event) {\r\n log.debug('dispatch event', event, e);\r\n super.dispatchEvent(event, e);\r\n switch (event) {\r\n case 'abort' :\r\n this._onabort(e);\r\n break;\r\n case 'error' :\r\n this._onerror(e);\r\n break;\r\n case 'load' :\r\n this._onload(e);\r\n break;\r\n case 'loadstart' :\r\n this._onloadstart(e);\r\n break;\r\n case 'loadend' :\r\n this._onloadend(e);\r\n break;\r\n case 'progress' :\r\n this._onprogress(e);\r\n break;\r\n case 'timeout' :\r\n this._ontimeout(e);\r\n break;\r\n }\r\n }\r\n\r\n set onabort(fn: (e: Event) => void) {\r\n log.info('set onabort');\r\n this._onabort = fn;\r\n }\r\n\r\n get onabort() {\r\n return this._onabort;\r\n }\r\n\r\n set onerror(fn: (e: Event) => void) {\r\n log.info('set onerror');\r\n this._onerror = fn;\r\n }\r\n\r\n get onerror() {\r\n return this._onerror;\r\n }\r\n\r\n set onload(fn: (e: Event) => void) {\r\n log.info('set onload', fn);\r\n this._onload = fn;\r\n }\r\n\r\n get onload() {\r\n return this._onload;\r\n }\r\n\r\n set onloadstart(fn: (e: Event) => void) {\r\n log.info('set onloadstart');\r\n this._onloadstart = fn;\r\n }\r\n\r\n get onloadstart() {\r\n return this._onloadstart;\r\n }\r\n\r\n set onprogress(fn: (e: Event) => void) {\r\n log.info('set onprogress');\r\n this._onprogress = fn;\r\n }\r\n\r\n get onprogress() {\r\n return this._onprogress;\r\n }\r\n\r\n set ontimeout(fn: (e: Event) => void) {\r\n log.info('set ontimeout');\r\n this._ontimeout = fn;\r\n }\r\n\r\n get ontimeout() {\r\n return this._ontimeout;\r\n }\r\n\r\n set onloadend(fn: (e: Event) => void) {\r\n log.info('set onloadend');\r\n this._onloadend = fn;\r\n }\r\n\r\n get onloadend() {\r\n return this._onloadend;\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport Event from './Event';\r\n\r\nexport default class ProgressEvent extends Event {\r\n\r\n _lengthComputable: boolean = false;\r\n _loaded: number = -1;\r\n _total: numver = -1;\r\n\r\n constructor(lengthComputable, loaded, total) {\r\n super();\r\n this._lengthComputable = lengthComputable;\r\n this._loaded = loaded;\r\n this._total = total;\r\n }\r\n\r\n get lengthComputable() {\r\n return this._lengthComputable;\r\n }\r\n\r\n get loaded() {\r\n return this._loaded;\r\n }\r\n\r\n get total() {\r\n return this._total;\r\n }\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nexport default class Event {\r\n\r\n constructor() {\r\n\r\n }\r\n\r\n}\r\n","import {ReactNativeBlobUtilConfig} from \"./types\";\r\nimport URIUtil from \"./utils/uri\";\r\nimport fs from \"./fs\";\r\nimport getUUID from \"./utils/uuid\";\r\nimport {DeviceEventEmitter, NativeModules} from \"react-native\";\r\nimport {FetchBlobResponse} from \"./class/ReactNativeBlobUtilBlobResponse\";\r\n\r\nconst emitter = DeviceEventEmitter;\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\n\r\n// register message channel event handler.\r\nemitter.addListener(\"ReactNativeBlobUtilMessage\", (e) => {\r\n\r\n if (e.event === 'warn') {\r\n console.warn(e.detail);\r\n }\r\n else if (e.event === 'error') {\r\n throw e.detail;\r\n }\r\n else {\r\n console.log(\"ReactNativeBlobUtil native message\", e.detail);\r\n }\r\n});\r\n\r\n/**\r\n * Calling this method will inject configurations into followed `fetch` method.\r\n * @param {ReactNativeBlobUtilConfig} options\r\n * Fetch API configurations, contains the following options :\r\n * @property {boolean} fileCache\r\n * When fileCache is `true`, response data will be saved in\r\n * storage with a random generated file name, rather than\r\n * a BASE64 encoded string.\r\n * @property {string} appendExt\r\n * Set this property to change file extension of random-\r\n * generated file name.\r\n * @property {string} path\r\n * If this property has a valid string format, resonse data\r\n * will be saved to specific file path. Default string format\r\n * is : `ReactNativeBlobUtil-file://path-to-file`\r\n * @property {string} key\r\n * If this property is set, it will be converted to md5, to\r\n * check if a file with this name exists.\r\n * If it exists, the absolute path is returned (no network\r\n * activity takes place )\r\n * If it doesn't exist, the file is downloaded as usual\r\n * @property {number} timeout\r\n * Request timeout in millionseconds, by default it's 60000ms.\r\n * @property {boolean} followRedirect\r\n * Follow redirects automatically, default true\r\n * @property {boolean} trusty\r\n * Trust all certificates\r\n * @property {boolean} wifiOnly\r\n * Only do requests through WiFi. Android SDK 21 or above only.\r\n *\r\n * @return {function} This method returns a `fetch` method instance.\r\n */\r\nexport function config(options: ReactNativeBlobUtilConfig) {\r\n return {fetch: fetch.bind(options)};\r\n}\r\n\r\n/**\r\n * Fetch from file system, use the same interface as RNFB.fetch\r\n * @param {ReactNativeBlobUtilConfig} [options={}] Fetch configurations\r\n * @param {string} method Should be one of `get`, `post`, `put`\r\n * @param {string} url A file URI string\r\n * @param {string} headers Arguments of file system API\r\n * @param {any} body Data to put or post to file systen.\r\n * @return {Promise}\r\n */\r\nfunction fetchFile(options = {}, method, url, headers = {}, body): Promise {\r\n\r\n if (!URIUtil.isFileURI(url)) {\r\n throw `could not fetch file from an invalid URI : ${url}`;\r\n }\r\n\r\n url = URIUtil.unwrapFileURI(url);\r\n\r\n let promise = null,\r\n cursor = 0,\r\n total = -1,\r\n cacheData = '',\r\n info = null,\r\n _progress, _uploadProgress, _stateChange;\r\n\r\n switch (method.toLowerCase()) {\r\n\r\n case 'post':\r\n break;\r\n\r\n case 'put':\r\n break;\r\n\r\n // read data from file system\r\n default:\r\n promise = fs.stat(url)\r\n .then((stat) => {\r\n total = stat.size;\r\n return fs.readStream(url,\r\n headers.encoding || 'utf8',\r\n Math.floor(headers.bufferSize) || 409600,\r\n Math.floor(headers.interval) || 100\r\n );\r\n })\r\n .then((stream) => new Promise((resolve, reject) => {\r\n stream.open();\r\n info = {\r\n state: \"2\",\r\n headers: {'source': 'system-fs'},\r\n status: 200,\r\n respType: 'text',\r\n rnfbEncode: headers.encoding || 'utf8'\r\n };\r\n _stateChange(info);\r\n stream.onData((chunk) => {\r\n _progress && _progress(cursor, total, chunk);\r\n if (headers.noCache)\r\n return;\r\n cacheData += chunk;\r\n });\r\n stream.onError((err) => {\r\n reject(err);\r\n });\r\n stream.onEnd(() => {\r\n resolve(new FetchBlobResponse(null, info, cacheData));\r\n });\r\n }));\r\n break;\r\n }\r\n\r\n promise.progress = (fn) => {\r\n _progress = fn;\r\n return promise;\r\n };\r\n promise.stateChange = (fn) => {\r\n _stateChange = fn;\r\n return promise;\r\n };\r\n promise.uploadProgress = (fn) => {\r\n _uploadProgress = fn;\r\n return promise;\r\n };\r\n\r\n return promise;\r\n}\r\n\r\n/**\r\n * Create a HTTP request by settings, the `this` context is a `ReactNativeBlobUtilConfig` object.\r\n * @param {string} method HTTP method, should be `GET`, `POST`, `PUT`, `DELETE`\r\n * @param {string} url Request target url string.\r\n * @param {object} headers HTTP request headers.\r\n * @param {string} body\r\n * Request body, can be either a BASE64 encoded data string,\r\n * or a file path with prefix `ReactNativeBlobUtil-file://` (can be changed)\r\n * @return {Promise}\r\n * This promise instance also contains a Customized method `progress`for\r\n * register progress event handler.\r\n */\r\nexport function fetch(...args: any): Promise {\r\n\r\n // create task ID for receiving progress event\r\n let taskId = getUUID();\r\n let options = this || {};\r\n let subscription, subscriptionUpload, stateEvent, partEvent;\r\n let respInfo = {};\r\n let [method, url, headers, body] = [...args];\r\n\r\n // # 241 normalize null or undefined headers, in case nil or null string\r\n // pass to native context\r\n headers = headers && Object.keys(headers).reduce((result, key) => {\r\n result[key] = headers[key] || '';\r\n return result;\r\n }, {});\r\n\r\n // fetch from file system\r\n if (URIUtil.isFileURI(url)) {\r\n return fetchFile(options, method, url, headers, body);\r\n }\r\n\r\n let promiseResolve;\r\n let promiseReject;\r\n\r\n // from remote HTTP(S)\r\n let promise = new Promise((resolve, reject) => {\r\n promiseResolve = resolve;\r\n promiseReject = reject;\r\n\r\n let nativeMethodName = Array.isArray(body) ? 'fetchBlobForm' : 'fetchBlob';\r\n\r\n // on progress event listener\r\n subscription = emitter.addListener('ReactNativeBlobUtilProgress', (e) => {\r\n if (e.taskId === taskId && promise.onProgress) {\r\n promise.onProgress(e.written, e.total, e.chunk);\r\n }\r\n });\r\n\r\n subscriptionUpload = emitter.addListener('ReactNativeBlobUtilProgress-upload', (e) => {\r\n if (e.taskId === taskId && promise.onUploadProgress) {\r\n promise.onUploadProgress(e.written, e.total);\r\n }\r\n });\r\n\r\n stateEvent = emitter.addListener('ReactNativeBlobUtilState', (e) => {\r\n if (e.taskId === taskId)\r\n respInfo = e;\r\n promise.onStateChange && promise.onStateChange(e);\r\n });\r\n\r\n subscription = emitter.addListener('ReactNativeBlobUtilExpire', (e) => {\r\n if (e.taskId === taskId && promise.onExpire) {\r\n promise.onExpire(e);\r\n }\r\n });\r\n\r\n partEvent = emitter.addListener('ReactNativeBlobUtilServerPush', (e) => {\r\n if (e.taskId === taskId && promise.onPartData) {\r\n promise.onPartData(e.chunk);\r\n }\r\n });\r\n\r\n // When the request body comes from Blob polyfill, we should use special its ref\r\n // as the request body\r\n if (body instanceof Blob && body.isReactNativeBlobUtilPolyfill) {\r\n body = body.getReactNativeBlobUtilRef();\r\n }\r\n\r\n let req = ReactNativeBlobUtil[nativeMethodName];\r\n\r\n /**\r\n * Send request via native module, the response callback accepts three arguments\r\n * @callback\r\n * @param err {any} Error message or object, when the request success, this\r\n * parameter should be `null`.\r\n * @param rawType { 'utf8' | 'base64' | 'path'} RNFB request will be stored\r\n * as UTF8 string, BASE64 string, or a file path reference\r\n * in JS context, and this parameter indicates which one\r\n * dose the response data presents.\r\n * @param data {string} Response data or its reference.\r\n */\r\n req(options, taskId, method, url, headers || {}, body, (err, rawType, data) => {\r\n\r\n // task done, remove event listeners\r\n subscription.remove();\r\n subscriptionUpload.remove();\r\n stateEvent.remove();\r\n partEvent.remove();\r\n delete promise['progress'];\r\n delete promise['uploadProgress'];\r\n delete promise['stateChange'];\r\n delete promise['part'];\r\n delete promise['cancel'];\r\n // delete promise['expire']\r\n promise.cancel = () => {\r\n };\r\n\r\n if (err)\r\n reject(new Error(err, respInfo));\r\n else {\r\n // response data is saved to storage, create a session for it\r\n if (options.path || options.fileCache || options.addAndroidDownloads\r\n || options.key || options.auto && respInfo.respType === 'blob') {\r\n if (options.session)\r\n fs.session(options.session).add(data);\r\n }\r\n respInfo.rnfbEncode = rawType;\r\n resolve(new FetchBlobResponse(taskId, respInfo, data));\r\n }\r\n\r\n });\r\n\r\n });\r\n\r\n // extend Promise object, add `progress`, `uploadProgress`, and `cancel`\r\n // method for register progress event handler and cancel request.\r\n // Add second parameter for performance purpose #140\r\n // When there's only one argument pass to this method, use default `interval`\r\n // and `count`, otherwise use the given on.\r\n // TODO : code refactor, move `uploadProgress` and `progress` to StatefulPromise\r\n promise.progress = (...args) => {\r\n let interval = 250;\r\n let count = -1;\r\n let fn = () => {\r\n };\r\n if (args.length === 2) {\r\n interval = args[0].interval || interval;\r\n count = args[0].count || count;\r\n fn = args[1];\r\n }\r\n else {\r\n fn = args[0];\r\n }\r\n promise.onProgress = fn;\r\n ReactNativeBlobUtil.enableProgressReport(taskId, interval, count);\r\n return promise;\r\n };\r\n promise.uploadProgress = (...args) => {\r\n let interval = 250;\r\n let count = -1;\r\n let fn = () => {\r\n };\r\n if (args.length === 2) {\r\n interval = args[0].interval || interval;\r\n count = args[0].count || count;\r\n fn = args[1];\r\n }\r\n else {\r\n fn = args[0];\r\n }\r\n promise.onUploadProgress = fn;\r\n ReactNativeBlobUtil.enableUploadProgressReport(taskId, interval, count);\r\n return promise;\r\n };\r\n promise.part = (fn) => {\r\n promise.onPartData = fn;\r\n return promise;\r\n };\r\n promise.stateChange = (fn) => {\r\n promise.onStateChange = fn;\r\n return promise;\r\n };\r\n promise.expire = (fn) => {\r\n promise.onExpire = fn;\r\n return promise;\r\n };\r\n promise.cancel = (fn) => {\r\n fn = fn || function () {\r\n };\r\n subscription.remove();\r\n subscriptionUpload.remove();\r\n stateEvent.remove();\r\n ReactNativeBlobUtil.cancelRequest(taskId, fn);\r\n promiseReject(new Error(\"canceled\"));\r\n };\r\n promise.taskId = taskId;\r\n\r\n return promise;\r\n\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport EventTarget from './EventTarget';\r\nimport Blob from './Blob';\r\nimport Log from '../utils/log.js';\r\n\r\nconst log = new Log('FileReader');\r\n\r\nlog.level(3);\r\n\r\nexport default class FileReader extends EventTarget {\r\n\r\n static get EMPTY() {\r\n return 0;\r\n }\r\n\r\n static get LOADING() {\r\n return 1;\r\n }\r\n\r\n static get DONE() {\r\n return 2;\r\n }\r\n\r\n // properties\r\n _readState: number = 0;\r\n _result: any;\r\n _error: any;\r\n\r\n get isRNFBPolyFill() {\r\n return true;\r\n }\r\n\r\n // event handlers\r\n onloadstart: (e: Event) => void;\r\n onprogress: (e: Event) => void;\r\n onload: (e: Event) => void;\r\n onabort: (e: Event) => void;\r\n onerror: (e: Event) => void;\r\n onloadend: (e: Event) => void;\r\n\r\n constructor() {\r\n super();\r\n log.verbose('file reader const');\r\n this._result = null;\r\n }\r\n\r\n abort() {\r\n log.verbose('abort');\r\n }\r\n\r\n readAsArrayBuffer(b: Blob) {\r\n log.verbose('readAsArrayBuffer', b);\r\n }\r\n\r\n readAsBinaryString(b: Blob) {\r\n log.verbose('readAsBinaryString', b);\r\n }\r\n\r\n readAsText(b: Blob, label: ?string) {\r\n log.verbose('readAsText', b, label);\r\n }\r\n\r\n readAsDataURL(b: Blob) {\r\n log.verbose('readAsDataURL', b);\r\n }\r\n\r\n dispatchEvent(event, e) {\r\n log.verbose('dispatch event', event, e);\r\n super.dispatchEvent(event, e);\r\n if (typeof this[`on${event}`] === 'function') {\r\n this[`on${event}`](e);\r\n }\r\n }\r\n\r\n // private methods\r\n\r\n // getters and setters\r\n\r\n get readyState() {\r\n return this._readyState;\r\n }\r\n\r\n get result() {\r\n return this._result;\r\n }\r\n\r\n\r\n}\r\n","import Log from '../utils/log.js';\r\nimport Blob from './Blob';\r\nimport {config as RNconfig} from \"../fetch\";\r\nimport type {ReactNativeBlobUtilConfig} from \"../types\";\r\nimport URIUtil from \"../utils/uri\";\r\nimport {FetchBlobResponse} from \"../class/ReactNativeBlobUtilBlobResponse\";\r\n\r\nconst log = new Log('FetchPolyfill');\r\n\r\nlog.disable();\r\n// log.level(3)\r\n\r\nexport default class Fetch {\r\n\r\n constructor(config: ReactNativeBlobUtilConfig) {\r\n Object.assign(this, new ReactNativeBlobUtilFetchPolyfill(config));\r\n }\r\n\r\n}\r\n\r\nclass ReactNativeBlobUtilFetchPolyfill {\r\n\r\n constructor(config: ReactNativeBlobUtilConfig) {\r\n this.build = () => (url, options = {}) => {\r\n\r\n let body = options.body;\r\n let promise = Promise.resolve();\r\n let blobCache = null;\r\n\r\n options.headers = options.headers || {};\r\n let ctype = options['Content-Type'] || options['content-type'];\r\n let ctypeH = options.headers['Content-Type'] || options.headers['content-type'];\r\n options.headers['Content-Type'] = ctype || ctypeH;\r\n options.headers['content-type'] = ctype || ctypeH;\r\n options.method = options.method || 'GET';\r\n if (body) {\r\n // When the request body is an instance of FormData, create a Blob cache\r\n // to upload the body.\r\n if (body instanceof FormData) {\r\n log.verbose('convert FormData to blob body');\r\n promise = Blob.build(body).then((b) => {\r\n blobCache = b;\r\n options.headers['Content-Type'] = 'multipart/form-data;boundary=' + b.multipartBoundary;\r\n return Promise.resolve(URIUtil.wrap(b._ref));\r\n });\r\n }\r\n // When request body is a Blob, use file URI of the Blob as request body.\r\n else if (body.isReactNativeBlobUtilPolyfill)\r\n promise = Promise.resolve(URIUtil.wrap(body.blobPath));\r\n else if (typeof body !== 'object' && options.headers['Content-Type'] !== 'application/json')\r\n promise = Promise.resolve(JSON.stringify(body));\r\n else if (typeof body !== 'string')\r\n promise = Promise.resolve(body.toString());\r\n // send it as-is, leave the native module decide how to send the body.\r\n else\r\n promise = Promise.resolve(body);\r\n }\r\n // task is a progress reportable and cancellable Promise, however,\r\n // task.then is not, so we have to extend task.then with progress and\r\n // cancel function\r\n let progressHandler, uploadHandler, cancelHandler;\r\n let scopedTask = null;\r\n let statefulPromise = promise\r\n .then((body) => {\r\n let task = RNconfig(config)\r\n .fetch(options.method, url, options.headers, body);\r\n scopedTask = task;\r\n if (progressHandler)\r\n task.progress(progressHandler);\r\n if (uploadHandler)\r\n task.uploadProgress(uploadHandler);\r\n if (cancelHandler)\r\n task.cancel();\r\n return task.then((resp) => {\r\n log.verbose('response', resp);\r\n // release blob cache created when sending request\r\n if (blobCache !== null && blobCache instanceof Blob)\r\n blobCache.close();\r\n return Promise.resolve(new ReactNativeBlobUtilFetchResponse(resp));\r\n });\r\n });\r\n\r\n // extend task.then progress with report and cancelling functions\r\n statefulPromise.progress = (fn) => {\r\n progressHandler = fn;\r\n };\r\n statefulPromise.uploadProgress = (fn) => {\r\n uploadHandler = fn;\r\n };\r\n statefulPromise.cancel = () => {\r\n cancelHandler = true;\r\n if (scopedTask && scopedTask.cancel)\r\n scopedTask.cancel();\r\n };\r\n\r\n return statefulPromise;\r\n\r\n };\r\n }\r\n\r\n}\r\n\r\nclass ReactNativeBlobUtilFetchResponse {\r\n\r\n constructor(resp: FetchBlobResponse) {\r\n let info = resp.info();\r\n this.headers = info.headers;\r\n this.ok = info.status >= 200 && info.status <= 299,\r\n this.status = info.status;\r\n this.type = 'basic';\r\n this.bodyUsed = false;\r\n this.resp = resp;\r\n this.rnfbRespInfo = info;\r\n this.rnfbResp = resp;\r\n }\r\n\r\n rawResp() {\r\n return Promise.resolve(this.rnfbResp);\r\n }\r\n\r\n arrayBuffer() {\r\n log.verbose('to arrayBuffer', this.rnfbRespInfo);\r\n this.bodyUsed = true;\r\n return readArrayBuffer(this.rnfbResp, this.rnfbRespInfo);\r\n }\r\n\r\n text() {\r\n log.verbose('to text', this.rnfbResp, this.rnfbRespInfo);\r\n this.bodyUsed = true;\r\n return readText(this.rnfbResp, this.rnfbRespInfo);\r\n }\r\n\r\n json() {\r\n log.verbose('to json', this.rnfbResp, this.rnfbRespInfo);\r\n this.bodyUsed = true;\r\n return readJSON(this.rnfbResp, this.rnfbRespInfo);\r\n }\r\n\r\n blob() {\r\n log.verbose('to blob', this.rnfbResp, this.rnfbRespInfo);\r\n this.bodyUsed = true;\r\n return readBlob(this.rnfbResp, this.rnfbRespInfo);\r\n }\r\n}\r\n\r\n/**\r\n * Get response data as array.\r\n * @param {FetchBlobResponse} resp Response data object from RNFB fetch call.\r\n * @param {ReactNativeBlobUtilResponseInfo} info Response informations.\r\n * @return {Promise}\r\n */\r\nfunction readArrayBuffer(resp, info): Promise {\r\n switch (info.rnfbEncode) {\r\n case 'path':\r\n return resp.readFile('ascii');\r\n break;\r\n default:\r\n let buffer = [];\r\n let str = resp.text();\r\n for (let i in str) {\r\n buffer[i] = str.charCodeAt(i);\r\n }\r\n return Promise.resolve(buffer);\r\n break;\r\n }\r\n}\r\n\r\n/**\r\n * Get response data as string.\r\n * @param {FetchBlobResponse} resp Response data object from RNFB fetch call.\r\n * @param {ReactNativeBlobUtilResponseInfo} info Response informations.\r\n * @return {Promise}\r\n */\r\nfunction readText(resp, info): Promise {\r\n switch (info.rnfbEncode) {\r\n case 'base64':\r\n return Promise.resolve(resp.text());\r\n break;\r\n case 'path':\r\n return resp.text();\r\n break;\r\n default:\r\n return Promise.resolve(resp.text());\r\n break;\r\n }\r\n}\r\n\r\n\r\n/**\r\n * Get response data as ReactNativeBlobUtil Blob polyfill object.\r\n * @param {FetchBlobResponse} resp Response data object from RNFB fetch call.\r\n * @param {ReactNativeBlobUtilResponseInfo} info Response informations.\r\n * @return {Promise}\r\n */\r\nfunction readBlob(resp, info): Promise {\r\n log.verbose('readBlob', resp, info);\r\n return resp.blob();\r\n}\r\n\r\n/**\r\n * Get response data as JSON object.\r\n * @param {FetchBlobResponse} resp Response data object from RNFB fetch call.\r\n * @param {ReactNativeBlobUtilResponseInfo} info Response informations.\r\n * @return {Promise}\r\n */\r\nfunction readJSON(resp, info): Promise {\r\n log.verbose('readJSON', resp, info);\r\n switch (info.rnfbEncode) {\r\n case 'base64':\r\n return Promise.resolve(resp.json());\r\n case 'path':\r\n return resp.json();\r\n default:\r\n return Promise.resolve(resp.json());\r\n }\r\n}\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport { NativeModules, Platform } from 'react-native';\r\n\r\nconst ReactNativeBlobUtil = NativeModules.ReactNativeBlobUtil;\r\n\r\n/**\r\n * Send an intent to open the file.\r\n * @param {string} path Path of the file to be open.\r\n * @param {string} mime MIME type string\r\n * @param {string} chooserTitle for chooser, if not set the chooser won't be displayed (see https://developer.android.com/reference/android/content/Intent.html#createChooser(android.content.Intent,%20java.lang.CharSequence))\r\n * @return {Promise}\r\n */\r\nfunction actionViewIntent(path, mime, chooserTitle) {\r\n if(typeof chooserTitle === 'undefined') chooserTitle = null;\r\n if(Platform.OS === 'android')\r\n return ReactNativeBlobUtil.actionViewIntent(path, mime, chooserTitle);\r\n else\r\n return Promise.reject('ReactNativeBlobUtil.android.actionViewIntent only supports Android.');\r\n}\r\n\r\nfunction getContentIntent(mime) {\r\n if(Platform.OS === 'android')\r\n return ReactNativeBlobUtil.getContentIntent(mime);\r\n else\r\n return Promise.reject('ReactNativeBlobUtil.android.getContentIntent only supports Android.');\r\n}\r\n\r\nfunction addCompleteDownload(config) {\r\n if(Platform.OS === 'android')\r\n return ReactNativeBlobUtil.addCompleteDownload(config);\r\n else\r\n return Promise.reject('ReactNativeBlobUtil.android.addCompleteDownload only supports Android.');\r\n}\r\n\r\nfunction getSDCardDir() {\r\n if(Platform.OS === 'android')\r\n return ReactNativeBlobUtil.getSDCardDir();\r\n else\r\n return Promise.reject('ReactNativeBlobUtil.android.getSDCardDir only supports Android.');\r\n}\r\n\r\nfunction getSDCardApplicationDir() {\r\n if(Platform.OS === 'android')\r\n return ReactNativeBlobUtil.getSDCardApplicationDir();\r\n else\r\n return Promise.reject('ReactNativeBlobUtil.android.getSDCardApplicationDir only supports Android.');\r\n}\r\n\r\n\r\nexport default {\r\n actionViewIntent,\r\n getContentIntent,\r\n addCompleteDownload,\r\n getSDCardDir,\r\n getSDCardApplicationDir,\r\n};\r\n","// Copyright 2016 wkh237@github. All rights reserved.\r\n// Use of this source code is governed by a MIT-style license that can be\r\n// found in the LICENSE file.\r\n\r\nimport { NativeModules, Platform } from \"react-native\";\r\n\r\nconst ReactNativeBlobUtil: ReactNativeBlobUtilNative = NativeModules.ReactNativeBlobUtil;\r\n\r\n/**\r\n * Displays an options menu using UIDocumentInteractionController.presentOptionsMenu\r\n * @param {string} path Path of the file to be open.\r\n * @param {string} scheme URI scheme that needs to support, optional\r\n * @return {Promise}\r\n */\r\nfunction presentOptionsMenu(path: string, scheme: string) {\r\n if (Platform.OS === \"ios\")\r\n return ReactNativeBlobUtil.presentOptionsMenu(\"file://\" + path, scheme);\r\n else return Promise.reject(\"ReactNativeBlobUtil.openDocument only supports IOS.\");\r\n}\r\n\r\n/**\r\n * Displays a menu for opening the document using UIDocumentInteractionController.presentOpenInMenu\r\n * @param {string} path Path of the file to be open.\r\n * @param {string} scheme URI scheme that needs to support, optional\r\n * @return {Promise}\r\n */\r\nfunction presentOpenInMenu(path: string, scheme: string) {\r\n if (Platform.OS === \"ios\")\r\n return ReactNativeBlobUtil.presentOpenInMenu(\"file://\" + path, scheme);\r\n else return Promise.reject(\"ReactNativeBlobUtil.openDocument only supports IOS.\");\r\n}\r\n\r\n/**\r\n * Displays a full-screen preview of the target document using UIDocumentInteractionController.presentPreview\r\n * @param {string} path Path of the file to be open.\r\n * @param {string} scheme URI scheme that needs to support, optional\r\n * @return {Promise}\r\n */\r\nfunction presentPreview(path: string, scheme: string) {\r\n if (Platform.OS === \"ios\")\r\n return ReactNativeBlobUtil.presentPreview(\"file://\" + path, scheme);\r\n else return Promise.reject(\"ReactNativeBlobUtil.previewDocument only supports IOS.\");\r\n}\r\n\r\n/**\r\n * Set excludeFromBackupKey to a URL to prevent the resource to be backuped to\r\n * iCloud.\r\n * @param {string} url URL of the resource, only file URL is supported\r\n * @return {Promise}\r\n */\r\nfunction excludeFromBackupKey(path: string) {\r\n return ReactNativeBlobUtil.excludeFromBackupKey(\"file://\" + path);\r\n}\r\n\r\nexport default {\r\n presentPreview,\r\n openDocument: presentPreview, // legacy alias\r\n presentOptionsMenu,\r\n previewDocument: presentOptionsMenu, // legacy alias\r\n presentOpenInMenu,\r\n excludeFromBackupKey\r\n};\r\n","import Oboe from './lib/oboe-browser.min.js';\r\nimport XMLHttpRequest from './polyfill/XMLHttpRequest';\r\nimport URIUtil from './utils/uri';\r\n\r\nconst OboeExtended = (arg: string | Object) => {\r\n\r\n\r\n window.location = '';\r\n\r\n if (!window.XMLHttpRequest.isRNFBPolyfill) {\r\n window.XMLHttpRequest = XMLHttpRequest;\r\n console.warn(\r\n 'Use JSONStream will automatically replace window.XMLHttpRequest with ReactNativeBlobUtil.polyfill.XMLHttpRequest. ' +\r\n 'You are seeing this warning because you did not replace it manually.'\r\n );\r\n }\r\n\r\n if (typeof arg === 'string') {\r\n if (URIUtil.isFileURI(arg)) {\r\n arg = {\r\n url: 'JSONStream://' + arg,\r\n headers: {noCache: true}\r\n };\r\n }\r\n else\r\n arg = 'JSONStream://' + arg;\r\n\r\n }\r\n else if (typeof arg === 'object') {\r\n let headers = arg.headers || {};\r\n if (URIUtil.isFileURI(arg.url)) {\r\n headers.noCache = true;\r\n }\r\n arg = Object.assign(arg, {\r\n url: 'JSONStream://' + arg.url,\r\n headers\r\n });\r\n }\r\n return Oboe(arg);\r\n};\r\n\r\nexport default OboeExtended;\r\n","!function(a,b,c,d,e,f){function g(a,b){return function(){return a.call(this,b.apply(this,arguments));};}function h(a){return function(b){return b[a];};}function i(a,b){return b.apply(f,a);}function j(a){var b=a.length-1,d=c.prototype.slice; if(0==b)return function(){return a.call(this,d.call(arguments));}; if(1==b)return function(){return a.call(this,arguments[0],d.call(arguments,1));}; var e=c(a.length); return function(){for(var c=0; b>c; c++)e[c]=arguments[c]; return e[b]=d.call(arguments,b),a.apply(this,e);};}function k(a){return function(b,c){return a(c,b);};}function l(a,b){return function(c){return a(c)&&b(c);};}function m(){}function n(){return!0;}function o(a){return function(){return a;};}function p(a,b){return b&&b.constructor===a;}function q(a){return a!==f;}function r(a,c){return c instanceof b&&y(function(a){return a in c;},a);}function s(a,b){return[a,b];}function t(a){return A(a.reduce(k(s),X));}function u(a){return w(function(a,b){return a.unshift(b),a;},[],a);}function v(a,b){return b?s(a(Y(b)),v(a,Z(b))):X;}function w(a,b,c){return c?a(w(a,b,Z(c)),Y(c)):b;}function x(a,b,c){function d(a,c){return a?b(Y(a))?(c(Y(a)),Z(a)):s(Y(a),d(Z(a),c)):X;}return d(a,c||m);}function y(a,b){return!b||a(Y(b))&&y(a,Z(b));}function z(a,b){a&&(Y(a).apply(null,b),z(Z(a),b));}function A(a){function b(a,c){return a?b(Z(a),s(Y(a),c)):c;}return b(a,X);}function B(a,b){return b&&(a(Y(b))?Y(b):B(a,Z(b)));}function C(a){\"use strict\"; function b(){var a=0; P.length>p&&(c(\"Max buffer length exceeded: textNode\"),a=Math.max(a,P.length)),Q.length>p&&(c(\"Max buffer length exceeded: numberNode\"),a=Math.max(a,Q.length)),O=p-a+Y;}function c(a){P&&(m(P),n(),P=\"\"),i=d(a+\"\\nLn: \"+$+\"\\nCol: \"+Z+\"\\nChr: \"+j),o(N(f,f,i));}function e(){return T==s?(m({}),n(),void(S=!0)):((T!==t||0!==X)&&c(\"Unexpected end\"),P&&(m(P),n(),P=\"\"),void(S=!0));}function g(a){return\"\\r\"==a||\"\\n\"==a||\" \"==a||\"\t\"==a;}function h(a){if(!i){if(S)return c(\"Cannot write after close\"); var d=0; for(j=a[0]; j&&(k=j,j=a[d++]);)switch(Y++,\"\\n\"==j?($++,Z=0):Z++,T){case s:if(\"{\"===j)T=u; else if(\"[\"===j)T=w; else if(!g(j))return c(\"Non-whitespace before {[.\"); continue; case z:case u:if(g(j))continue; if(T===z)U.push(A); else{if(\"}\"===j){m({}),n(),T=U.pop()||t; continue;}U.push(v);}if('\"'!==j)return c('Malformed object key should start with \" '); T=y; continue; case A:case v:if(g(j))continue; if(\":\"===j)T===v?(U.push(v),P&&(m({}),l(P),P=\"\"),X++):P&&(l(P),P=\"\"),T=t; else if(\"}\"===j)P&&(m(P),n(),P=\"\"),n(),X--,T=U.pop()||t; else{if(\",\"!==j)return c(\"Bad object\"); T===v&&U.push(v),P&&(m(P),n(),P=\"\"),T=z;}continue; case w:case t:if(g(j))continue; if(T===w){if(m([]),X++,T=t,\"]\"===j){n(),X--,T=U.pop()||t; continue;}U.push(x);}if('\"'===j)T=y; else if(\"{\"===j)T=u; else if(\"[\"===j)T=w; else if(\"t\"===j)T=B; else if(\"f\"===j)T=E; else if(\"n\"===j)T=I; else if(\"-\"===j)Q+=j; else if(\"0\"===j)Q+=j,T=M; else{if(-1===\"123456789\".indexOf(j))return c(\"Bad value\"); Q+=j,T=M;}continue; case x:if(\",\"===j)U.push(x),P&&(m(P),n(),P=\"\"),T=t; else{if(\"]\"!==j){if(g(j))continue; return c(\"Bad array\");}P&&(m(P),n(),P=\"\"),n(),X--,T=U.pop()||t;}continue; case y:var e=d-1; a:for(;;){for(;W>0;)if(V+=j,j=a.charAt(d++),4===W?(P+=String.fromCharCode(parseInt(V,16)),W=0,e=d-1):W++,!j)break a; if('\"'===j&&!R){T=U.pop()||t,P+=a.substring(e,d-1),P||(m(\"\"),n()); break;}if(\"\\\\\"===j&&!R&&(R=!0,P+=a.substring(e,d-1),j=a.charAt(d++),!j))break; if(R){if(R=!1,\"n\"===j?P+=\"\\n\":\"r\"===j?P+=\"\\r\":\"t\"===j?P+=\"\t\":\"f\"===j?P+=\"\\f\":\"b\"===j?P+=\"\\b\":\"u\"===j?(W=1,V=\"\"):P+=j,j=a.charAt(d++),e=d-1,j)continue; break;}q.lastIndex=d; var f=q.exec(a); if(!f){d=a.length+1,P+=a.substring(e,d-1); break;}if(d=f.index+1,j=a.charAt(f.index),!j){P+=a.substring(e,d-1); break;}}continue; case B:if(!j)continue; if(\"r\"!==j)return c(\"Invalid true started with t\"+j); T=C; continue; case C:if(!j)continue; if(\"u\"!==j)return c(\"Invalid true started with tr\"+j); T=D; continue; case D:if(!j)continue; if(\"e\"!==j)return c(\"Invalid true started with tru\"+j); m(!0),n(),T=U.pop()||t; continue; case E:if(!j)continue; if(\"a\"!==j)return c(\"Invalid false started with f\"+j); T=F; continue; case F:if(!j)continue; if(\"l\"!==j)return c(\"Invalid false started with fa\"+j); T=G; continue; case G:if(!j)continue; if(\"s\"!==j)return c(\"Invalid false started with fal\"+j); T=H; continue; case H:if(!j)continue; if(\"e\"!==j)return c(\"Invalid false started with fals\"+j); m(!1),n(),T=U.pop()||t; continue; case I:if(!j)continue; if(\"u\"!==j)return c(\"Invalid null started with n\"+j); T=J; continue; case J:if(!j)continue; if(\"l\"!==j)return c(\"Invalid null started with nu\"+j); T=K; continue; case K:if(!j)continue; if(\"l\"!==j)return c(\"Invalid null started with nul\"+j); m(null),n(),T=U.pop()||t; continue; case L:if(\".\"!==j)return c(\"Leading zero not followed by .\"); Q+=j,T=M; continue; case M:if(-1!==\"0123456789\".indexOf(j))Q+=j; else if(\".\"===j){if(-1!==Q.indexOf(\".\"))return c(\"Invalid number has two dots\"); Q+=j;}else if(\"e\"===j||\"E\"===j){if(-1!==Q.indexOf(\"e\")||-1!==Q.indexOf(\"E\"))return c(\"Invalid number has two exponential\"); Q+=j;}else if(\"+\"===j||\"-\"===j){if(\"e\"!==k&&\"E\"!==k)return c(\"Invalid symbol in number\"); Q+=j;}else Q&&(m(parseFloat(Q)),n(),Q=\"\"),d--,T=U.pop()||t; continue; default:return c(\"Unknown state: \"+T);}Y>=O&&b();}}var i,j,k,l=a(qb).emit,m=a(rb).emit,n=a(sb).emit,o=a(jb).emit,p=65536,q=/[\\\\\"\\n]/g,r=0,s=r++,t=r++,u=r++,v=r++,w=r++,x=r++,y=r++,z=r++,A=r++,B=r++,C=r++,D=r++,E=r++,F=r++,G=r++,H=r++,I=r++,J=r++,K=r++,L=r++,M=r,O=p,P=\"\",Q=\"\",R=!1,S=!1,T=s,U=[],V=null,W=0,X=0,Y=0,Z=0,$=1; a(nb).on(h),a(ob).on(e);}function D(a,b){\"use strict\"; function c(a){return function(b){d=a(d,b);};}var d,e={}; for(var f in b)a(f).on(c(b[f]),e); a(hb).on(function(a){var b,c=Y(d),e=ab(c),f=Z(d); f&&(b=bb(Y(f)),b[e]=a);}),a(ib).on(function(){var a,b=Y(d),c=ab(b),e=Z(d); e&&(a=bb(Y(e)),delete a[c]);}),a(pb).on(function(){for(var c in b)a(c).un(e);});}function E(a){var b={}; return a&&a.split(\"\\r\\n\").forEach(function(a){var c=a.indexOf(\": \"); b[a.substring(0,c)]=a.substring(c+2);}),b;}function F(a,b){function c(a){return{\"http:\":80,\"https:\":443}[a];}function d(b){return b.port||c(b.protocol||a.protocol);}return!!(b.protocol&&b.protocol!=a.protocol||b.host&&b.host!=a.host||b.host&&d(b)!=d(a));}function G(a){var b=/(\\w+:)?(?:\\/\\/)([\\w.-]+)?(?::(\\d+))?\\/?/,c=b.exec(a)||[]; return{protocol:c[1]||\"\",host:c[2]||\"\",port:c[3]||\"\"};}function H(){return new XMLHttpRequest;}function I(b,c,d,e,g,h,i){\"use strict\"; function j(){var a=c.responseText,b=a.substr(m); b&&k(b),m=V(a);}var k=b(nb).emit,l=b(jb).emit,m=0,n=!0; b(pb).on(function(){c.onreadystatechange=null,c.abort();}),\"onprogress\"in c&&(c.onprogress=j),c.onreadystatechange=function(){function a(){try{n&&b(mb).emit(c.status,E(c.getAllResponseHeaders())),n=!1;}catch(a){}}switch(c.readyState){case 2:case 3:return a(); case 4:a(); var d=2==String(c.status)[0]; d?(j(),b(ob).emit()):l(N(c.status,c.responseText));}}; try{c.open(d,e,!0); for(var o in h)c.setRequestHeader(o,h[o]); F(a.location,G(e))||c.setRequestHeader(\"X-Requested-With\",\"XMLHttpRequest\"),c.withCredentials=i,c.send(g);}catch(p){a.setTimeout(T(l,N(f,f,p)),0);}}function J(a,b){return{key:a,node:b};}function K(a){function b(a,b){var d=bb(Y(a)); return p(c,d)?f(a,V(d),b):a;}function d(a,c){if(!a)return j(c),f(a,cb,c); var d=b(a,c),g=Z(d),h=ab(Y(d)); return e(g,h,c),s(J(h,c),g);}function e(a,b,c){bb(Y(a))[b]=c;}function f(a,b,c){a&&e(a,b,c); var d=s(J(b,c),a); return h(d),d;}function g(a){return i(a),Z(a)||k(bb(Y(a)));}var h=a(fb).emit,i=a(gb).emit,j=a(lb).emit,k=a(kb).emit,l={}; return l[rb]=d,l[sb]=g,l[qb]=f,l;}function L(a,b,c){function d(a){return function(b){return b.id==a;};}var e,f; return{on:function(c,d){var g={listener:c,id:d||c}; return b&&b.emit(a,c,g.id),e=s(g,e),f=s(c,f),this;},emit:function(){z(f,arguments);},un:function(b){var g; e=x(e,d(b),function(a){g=a;}),g&&(f=x(f,function(a){return a==g.listener;}),c&&c.emit(a,g.listener,g.id));},listeners:function(){return f;},hasListener:function(a){var b=a?d(a):n; return q(B(b,e));}};}function M(){function a(a){return c[a]=L(a,d,e);}function b(b){return c[b]||a(b);}var c={},d=a(\"newListener\"),e=a(\"removeListener\"); return[\"emit\",\"on\",\"un\"].forEach(function(a){b[a]=j(function(c,d){i(d,b(c)[a]);});}),b;}function N(a,b,c){try{var d=e.parse(b);}catch(f){}return{statusCode:a,body:b,jsonBody:d,thrown:c};}function O(a,b){function c(a,b,c){var d=A(c); a(b,u(Z(v(ab,d))),u(v(bb,d)));}function d(b,d,e){var f=a(b).emit; d.on(function(a){var b=e(a); b!==!1&&c(f,bb(b),a);},b),a(\"removeListener\").on(function(c){c==b&&(a(c).listeners()||d.un(b));});}var e={node:a(gb),path:a(fb)}; a(\"newListener\").on(function(a){var c=/(node|path):(.*)/.exec(a); if(c){var f=e[c[1]]; f.hasListener(a)||d(a,f,b(c[2]));}});}function P(a,b){function c(b,c){return a(b).on(e(c),c),p;}function d(a,b,c){c=c||b; var d=e(b); return a.on(function(){var b=!1; p.forget=function(){b=!0;},i(arguments,d),delete p.forget,b&&a.un(c);},c),p;}function e(b){return function(){try{return b.apply(p,arguments);}catch(c){a(jb).emit(N(f,f,c));}};}function g(b,c){return a(b+\":\"+c);}function h(a){return function(){var b=a.apply(this,arguments); q(b)&&(b==S.drop?t():u(b));};}function k(a,b,c){var e; e=\"node\"==a?h(c):c,d(g(a,b),e,c);}function l(a,b){for(var c in b)k(a,c,b[c]);}function n(a,b,c){return W(b)?k(a,b,c):l(a,b),p;}var p,r=/^(node|path):./,s=a(kb),t=a(ib).emit,u=a(hb).emit,v=j(function(b,c){if(p[b])i(c,p[b]); else{var e=a(b),f=c[0]; r.test(b)?d(e,f):e.on(f);}return p;}),w=function(b,c,d){if(\"done\"==b)s.un(c); else if(\"node\"==b||\"path\"==b)a.un(b+\":\"+c,d); else{var e=c; a(b).un(e);}return p;}; return a(lb).on(function(a){p.root=o(a);}),a(mb).on(function(a,b){p.header=function(a){return a?b[a]:b;};}),p={on:v,addListener:v,removeListener:w,emit:a.emit,node:T(n,\"node\"),path:T(n,\"path\"),done:T(d,s),start:T(c,mb),fail:a(jb).on,abort:a(pb).emit,header:m,root:m,source:b};}function Q(a,b,c,d,e){var f=M(); return b&&I(f,H(),a,b,c,d,e),C(f),D(f,K(f)),O(f,db),P(f,b);}function R(a,b,c,d,f,g,h){function i(a,b){return b===!1&&(a+=-1==a.indexOf(\"?\")?\"?\":\"&\",a+=\"_=\"+(new Date).getTime()),a;}return f=f?e.parse(e.stringify(f)):{},d?W(d)||(d=e.stringify(d),f[\"Content-Type\"]=f[\"Content-Type\"]||\"application/json\"):d=null,a(c||\"GET\",i(b,h),d,f,g||!1);}function S(a){var b=$(\"resume\",\"pause\",\"pipe\"),c=T(r,b); return a?c(a)||W(a)?R(Q,a):R(Q,a.url,a.method,a.body,a.headers,a.withCredentials,a.cached):Q();}var T=j(function(a,b){var c=b.length; return j(function(d){for(var e=0; e Linking.openSettings(),\n },\n ],\n );\n}\n\n/**\n * Generate a random file name with timestamp and file extension\n * @param {String} url\n * @returns {String}\n */\nfunction getAttachmentName(url) {\n if (!url) {\n return '';\n }\n return `${moment().format('DDMMYYYYHHmmss')}.${url.split(/[#?]/)[0].split('.').pop().trim()}`;\n}\n\n/**\n * @param {String} fileName\n * @returns {Boolean}\n */\nfunction isImage(fileName) {\n return CONST.FILE_TYPE_REGEX.IMAGE.test(fileName);\n}\n\n/**\n * @param {String} fileName\n * @returns {Boolean}\n */\nfunction isVideo(fileName) {\n return CONST.FILE_TYPE_REGEX.VIDEO.test(fileName);\n}\n\n/**\n * Returns file type based on the uri\n * @param {String} fileUrl\n * @returns {String}\n */\nfunction getFileType(fileUrl) {\n if (!fileUrl) {\n return;\n }\n const fileName = fileUrl.split('/').pop().split('?')[0].split('#')[0];\n if (isImage(fileName)) {\n return CONST.ATTACHMENT_FILE_TYPE.IMAGE;\n }\n if (isVideo(fileName)) {\n return CONST.ATTACHMENT_FILE_TYPE.VIDEO;\n }\n return CONST.ATTACHMENT_FILE_TYPE.FILE;\n}\n\n/**\n * Returns the filename split into fileName and fileExtension\n *\n * @param {String} fullFileName\n * @returns {Object}\n */\nfunction splitExtensionFromFileName(fullFileName) {\n const fileName = fullFileName.trim();\n const splitFileName = fileName.split('.');\n const fileExtension = splitFileName.pop();\n return {fileName: splitFileName.join('.'), fileExtension};\n}\n\n/**\n * Returns the filename replacing special characters with underscore\n *\n * @param {String} fileName\n * @returns {String}\n */\nfunction cleanFileName(fileName) {\n return fileName.replace(/[^a-zA-Z0-9\\-._]/g, '_');\n}\n\nexport {\n showGeneralErrorAlert,\n showSuccessAlert,\n showPermissionErrorAlert,\n splitExtensionFromFileName,\n getAttachmentName,\n getFileType,\n cleanFileName,\n};\n","export * from './useCameraRoll';\nexport * from './CameraRoll';\nexport * from './CameraRollIOSPermission';\n","import {useState} from 'react';\nimport type {\n GetPhotosParams,\n PhotoIdentifiersPage,\n SaveToCameraRollOptions,\n} from './CameraRoll';\nimport {CameraRoll} from './CameraRoll';\n\nconst initialState: PhotoIdentifiersPage = {\n edges: [],\n page_info: {\n end_cursor: '',\n has_next_page: false,\n start_cursor: '',\n },\n};\n\nconst defaultConfig: GetPhotosParams = {\n first: 20,\n groupTypes: 'All',\n};\n\ntype UseCameraRollResult = [\n PhotoIdentifiersPage,\n (config?: GetPhotosParams) => Promise,\n (tag: string, options?: SaveToCameraRollOptions) => Promise,\n];\n\nexport function useCameraRoll(): UseCameraRollResult {\n const [photos, setPhotos] = useState(initialState);\n\n async function getPhotos(\n config: GetPhotosParams = defaultConfig,\n ): Promise {\n try {\n const result = await CameraRoll.getPhotos(config);\n setPhotos(result);\n } catch (error) {\n if (__DEV__) console.log('[useCameraRoll] Error getting photos: ', error);\n }\n }\n\n async function save(\n ...args: Parameters\n ): Promise {\n try {\n await CameraRoll.save(...args);\n } catch (error) {\n if (__DEV__)\n console.log('[useCameraRoll] Error saving to camera roll: ', error);\n }\n }\n\n return [photos, getPhotos, save];\n}\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport {Platform} from 'react-native';\nimport RNCCameraRoll from './NativeCameraRollModule';\n\nconst GROUP_TYPES_OPTIONS = {\n Album: 'Album',\n All: 'All', // default\n Event: 'Event',\n Faces: 'Faces',\n Library: 'Library',\n PhotoStream: 'PhotoStream',\n SavedPhotos: 'SavedPhotos',\n};\n\nconst ASSET_TYPE_OPTIONS = {\n All: 'All',\n Videos: 'Videos',\n Photos: 'Photos',\n};\n\nexport type GroupTypes =\n | 'Album'\n | 'All'\n | 'Event'\n | 'Faces'\n | 'Library'\n | 'PhotoStream'\n | 'SavedPhotos';\n\nexport type Include =\n | 'filename'\n | 'fileSize'\n | 'fileExtension'\n | 'location'\n | 'imageSize'\n | 'playableDuration'\n | 'orientation';\n\nexport type AssetType = 'All' | 'Videos' | 'Photos';\n\n/**\n * Shape of the param arg for the `getPhotos` function.\n */\nexport type GetPhotosParams = {\n /**\n * The number of photos wanted in reverse order of the photo application\n * (i.e. most recent first).\n */\n first: number;\n\n /**\n * A cursor that matches `page_info { end_cursor }` returned from a previous\n * call to `getPhotos`\n */\n after?: string;\n\n /**\n * Specifies which group types to filter the results to.\n */\n groupTypes?: GroupTypes;\n\n /**\n * Specifies filter on group names, like 'Recent Photos' or custom album\n * titles.\n */\n groupName?: string;\n\n /**\n * Specifies filter on asset type\n */\n assetType?: AssetType;\n\n /**\n * Earliest time to get photos from. A timestamp in milliseconds. Exclusive.\n */\n fromTime?: number;\n\n /**\n * Latest time to get photos from. A timestamp in milliseconds. Inclusive.\n */\n toTime?: number;\n\n /**\n * Filter by mimetype (e.g. image/jpeg).\n */\n mimeTypes?: Array;\n\n /**\n * Specific fields in the output that we want to include, even though they\n * might have some performance impact.\n */\n include?: Include[];\n};\n\nexport type PhotoIdentifier = {\n node: {\n type: string;\n group_name: string;\n image: {\n filename: string | null;\n filepath: string | null;\n extension: string | null;\n uri: string;\n height: number;\n width: number;\n fileSize: number | null;\n playableDuration: number;\n orientation: number | null;\n };\n timestamp: number;\n location: {\n latitude?: number;\n longitude?: number;\n altitude?: number;\n heading?: number;\n speed?: number;\n } | null;\n };\n};\n\nexport type PhotoConvertionOptions = {\n convertHeicImages: boolean;\n};\n\nexport type PhotoIdentifiersPage = {\n edges: Array;\n page_info: {\n has_next_page: boolean;\n start_cursor?: string;\n end_cursor?: string;\n };\n limited?: boolean;\n};\n\nexport type SaveToCameraRollOptions = {\n type?: 'photo' | 'video' | 'auto';\n album?: string;\n};\n\nexport type GetAlbumsParams = {\n assetType?: AssetType;\n};\n\nexport type Album = {\n title: string;\n count: number;\n};\n\n/**\n * `CameraRoll` provides access to the local camera roll or photo library.\n *\n * See https://facebook.github.io/react-native/docs/cameraroll.html\n */\nexport class CameraRoll {\n static GroupTypesOptions = GROUP_TYPES_OPTIONS;\n static AssetTypeOptions = ASSET_TYPE_OPTIONS;\n\n /**\n * On iOS: requests deletion of a set of photos from the camera roll.\n * On Android: Deletes a set of photos from the camera roll.\n *\n */\n static deletePhotos(photoUris: Array): Promise {\n return RNCCameraRoll.deletePhotos(photoUris);\n }\n\n /**\n * Saves the photo or video to the camera roll or photo library.\n *\n */\n static save(\n tag: string,\n options: SaveToCameraRollOptions = {},\n ): Promise {\n let {type = 'auto'} = options;\n const {album = ''} = options;\n if (tag === '') throw new Error('tag must be a valid string');\n\n if (type === 'auto') {\n const fileExtension = tag.split('.').slice(-1)[0] ?? '';\n if (['mov', 'mp4'].indexOf(fileExtension.toLowerCase()) >= 0)\n type = 'video';\n else type = 'photo';\n }\n return RNCCameraRoll.saveToCameraRoll(tag, {type, album});\n }\n\n static saveToCameraRoll(\n tag: string,\n type?: 'photo' | 'video' | 'auto',\n ): Promise {\n console.warn(\n 'CameraRoll.saveToCameraRoll(tag, type) is deprecated. Use the save function instead',\n );\n return CameraRoll.save(tag, {type});\n }\n\n static getAlbums(\n params: GetAlbumsParams = {assetType: 'All'},\n ): Promise {\n return RNCCameraRoll.getAlbums(params);\n }\n\n static getParamsWithDefaults(params: GetPhotosParams): GetPhotosParams {\n const newParams = {...params};\n if (newParams.assetType === undefined) newParams.assetType = 'All';\n\n if (newParams.groupTypes === undefined && Platform.OS !== 'android')\n newParams.groupTypes = 'All';\n\n return newParams;\n }\n\n /**\n * Returns a Promise with photo identifier objects from the local camera\n * roll of the device matching shape defined by `getPhotosReturnChecker`.\n *\n * See https://facebook.github.io/react-native/docs/cameraroll.html#getphotos\n */\n static getPhotos(params: GetPhotosParams): Promise {\n params = CameraRoll.getParamsWithDefaults(params);\n return RNCCameraRoll.getPhotos(params);\n }\n\n /**\n * Returns a Promise with photo internal path.\n * if conversion is requested from HEIC then temporary file is created.\n *\n * @param internalID - PH photo internal ID.\n * @param convertHeicImages - whether to convert or not heic images to JPEG.\n * @returns Promise\n */\n static iosGetImageDataById(\n internalID: string,\n convertHeicImages = false,\n ): Promise {\n const conversionOption: PhotoConvertionOptions = {\n convertHeicImages: convertHeicImages,\n };\n return RNCCameraRoll.getPhotoByInternalID(internalID, conversionOption);\n }\n}\n","/* eslint-disable @typescript-eslint/ban-types */\n// we use Object type because methods on the native side use NSDictionary and ReadableMap\n// and we want to stay compatible with those\nimport {TurboModuleRegistry, TurboModule} from 'react-native';\n\ntype Album = {\n title: string;\n count: number;\n};\n\ntype PhotoIdentifier = {\n node: {\n type: string;\n group_name: string;\n image: {\n filename: string | null;\n filepath: string | null;\n extension: string | null;\n uri: string;\n height: number;\n width: number;\n fileSize: number | null;\n playableDuration: number;\n orientation: number | null;\n };\n timestamp: number;\n location: {\n latitude?: number;\n longitude?: number;\n altitude?: number;\n heading?: number;\n speed?: number;\n } | null;\n };\n};\n\ntype PhotoIdentifiersPage = {\n edges: Array;\n page_info: {\n has_next_page: boolean;\n start_cursor?: string;\n end_cursor?: string;\n };\n limited?: boolean;\n};\n\nexport interface Spec extends TurboModule {\n saveToCameraRoll(uri: string, options: Object): Promise;\n getPhotos(params: Object): Promise;\n getAlbums(params: Object): Promise;\n deletePhotos(photoUris: Array): Promise;\n getPhotoByInternalID(\n internalID: string,\n options: Object,\n ): Promise;\n}\n\nexport default TurboModuleRegistry.getEnforcing('RNCCameraRoll');\n","import {NativeEventEmitter, Platform} from 'react-native';\nimport CameraRollPermissionModule from './NativeCameraRollPermissionModule';\n\n/** Defines ios permission access levels for gallery */\nexport type AccessLevel = 'addOnly' | 'readWrite';\n\nexport type CameraRollAuthorizationStatus =\n | 'granted'\n | 'limited'\n | 'denied'\n | 'unavailable'\n | 'blocked'\n | 'not-determined';\n\nconst isIOS = Platform.OS === 'ios';\n// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition\nif (isIOS && CameraRollPermissionModule == null) {\n console.error(\n \"photoLibraryPermissionModule: Native Module 'photoLibraryPermissionModule' was null! Did you run pod install?\",\n );\n}\nexport const cameraRollEventEmitter = new NativeEventEmitter(\n isIOS ? CameraRollPermissionModule : undefined,\n);\n\nexport const iosReadGalleryPermission = (\n accessLevel: AccessLevel,\n): Promise => {\n if (!isIOS) throw new Error('this module is available only for ios');\n\n return CameraRollPermissionModule.checkPermission(accessLevel);\n};\n\nexport const iosRequestReadWriteGalleryPermission =\n (): Promise => {\n if (!isIOS) throw new Error('this module is available only for ios');\n\n return CameraRollPermissionModule.requestReadWritePermission();\n };\n\nexport const iosRequestAddOnlyGalleryPermission =\n (): Promise => {\n if (!isIOS) throw new Error('this module is available only for ios');\n\n return CameraRollPermissionModule.requestAddOnlyPermission();\n };\n\nexport const iosRefreshGallerySelection = (): Promise => {\n if (!isIOS) throw new Error('this module is available only for ios');\n\n return CameraRollPermissionModule.refreshPhotoSelection();\n};\n","import {TurboModuleRegistry, TurboModule} from 'react-native';\nimport type {Int32} from 'react-native/Libraries/Types/CodegenTypes';\n\ntype CameraRollAuthorizationStatus =\n | 'granted'\n | 'limited'\n | 'denied'\n | 'unavailable'\n | 'blocked'\n | 'not-determined';\n\nexport interface Spec extends TurboModule {\n checkPermission(content: string): Promise;\n requestReadWritePermission(): Promise;\n requestAddOnlyPermission(): Promise;\n refreshPhotoSelection(): Promise;\n addListener(eventName: string): void;\n removeListeners(count: Int32): void;\n}\n\n// we call get here since on Android this module does not exist and it would throw\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nexport default TurboModuleRegistry.get('RNCCameraRollPermission')!;\n","import lodashGet from 'lodash/get';\nimport Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../ONYXKEYS';\n\nlet encryptedAuthToken = '';\nOnyx.connect({\n key: ONYXKEYS.SESSION,\n callback: session => encryptedAuthToken = lodashGet(session, 'encryptedAuthToken', ''),\n});\n\n/**\n * Add encryptedAuthToken to this attachment URL\n *\n * @param {String} url\n * @returns {String}\n */\nexport default function (url) {\n return `${url}?encryptedAuthToken=${encodeURIComponent(encryptedAuthToken)}`;\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport BaseQuickEmojiReactions, {baseQuickEmojiReactionsPropTypes} from './BaseQuickEmojiReactions';\nimport ReportActionComposeFocusManager from '../../../libs/ReportActionComposeFocusManager';\n\nconst propTypes = {\n ...baseQuickEmojiReactionsPropTypes,\n\n /**\n * Function that can be called to close the\n * context menu in which this component is\n * rendered.\n */\n closeContextMenu: PropTypes.func.isRequired,\n};\n\nconst QuickEmojiReactions = (props) => {\n const onPressOpenPicker = (openPicker) => {\n // We first need to close the menu as it's a popover.\n // The picker is a popover as well and on mobile there can only\n // be one active popover at a time.\n props.closeContextMenu(() => {\n // As the menu which includes the button to open the emoji picker\n // gets closed, before the picker actually opens, we pass the composer\n // ref as anchor for the emoji picker popover.\n openPicker(ReportActionComposeFocusManager.composerRef.current);\n });\n };\n\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n );\n};\n\nQuickEmojiReactions.displayName = 'QuickEmojiReactions';\nQuickEmojiReactions.propTypes = propTypes;\nexport default QuickEmojiReactions;\n","import React from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport EmojiReactionBubble from '../EmojiReactionBubble';\nimport AddReactionBubble from '../AddReactionBubble';\nimport CONST from '../../../CONST';\nimport styles from '../../../styles/styles';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport getPreferredEmojiCode from '../getPreferredEmojiCode';\nimport Tooltip from '../../Tooltip';\n\nconst baseQuickEmojiReactionsPropTypes = {\n /**\n * Callback to fire when an emoji is selected.\n */\n onEmojiSelected: PropTypes.func.isRequired,\n\n /**\n * Will be called when the emoji picker is about to show.\n */\n onWillShowPicker: PropTypes.func,\n\n /**\n * Callback to fire when the \"open emoji picker\" button is pressed.\n * The function receives an argument which can be called\n * to actually open the emoji picker.\n */\n onPressOpenPicker: PropTypes.func,\n};\n\nconst baseQuickEmojiReactionsDefaultProps = {\n onWillShowPicker: () => {},\n onPressOpenPicker: () => {},\n};\n\nconst propTypes = {\n ...baseQuickEmojiReactionsPropTypes,\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n};\n\nconst defaultProps = {\n ...baseQuickEmojiReactionsDefaultProps,\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n};\n\nconst BaseQuickEmojiReactions = props => (\n \n {_.map(CONST.QUICK_REACTIONS, emoji => (\n\n // Note: focus is handled by the Pressable component in EmojiReactionBubble\n \n {\n props.onEmojiSelected(emoji);\n }}\n />\n \n ))}\n \n \n);\n\nBaseQuickEmojiReactions.displayName = 'BaseQuickEmojiReactions';\nBaseQuickEmojiReactions.propTypes = propTypes;\nBaseQuickEmojiReactions.defaultProps = defaultProps;\nexport default withOnyx({\n preferredSkinTone: {\n key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,\n },\n})(BaseQuickEmojiReactions);\n\nexport {\n baseQuickEmojiReactionsPropTypes,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {Pressable} from 'react-native';\nimport styles from '../../styles/styles';\nimport Text from '../Text';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport withCurrentUserPersonalDetails, {\n withCurrentUserPersonalDetailsDefaultProps,\n withCurrentUserPersonalDetailsPropTypes,\n} from '../withCurrentUserPersonalDetails';\nimport * as Report from '../../libs/actions/Report';\n\nconst propTypes = {\n /**\n * The emoji codes to display in the bubble.\n */\n emojiCodes: PropTypes.arrayOf(PropTypes.string).isRequired,\n\n /**\n * Called when the user presses on the reaction bubble.\n */\n onPress: PropTypes.func.isRequired,\n\n /**\n * Called when the user long presses or right clicks\n * on the reaction bubble.\n */\n onReactionListOpen: PropTypes.func,\n\n /**\n * The number of reactions to display in the bubble.\n */\n count: PropTypes.number,\n\n /**\n * The account ids of the users who reacted.\n */\n reactionUsers: PropTypes.arrayOf(PropTypes.string),\n\n /** Whether it is for context menu so we can modify its style */\n isContextMenu: PropTypes.bool,\n\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n count: 0,\n onReactionListOpen: () => {},\n reactionUsers: [],\n isContextMenu: false,\n\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nconst EmojiReactionBubble = (props) => {\n const hasUserReacted = Report.hasAccountIDReacted(props.currentUserPersonalDetails.accountID, props.reactionUsers);\n return (\n [\n styles.emojiReactionBubble,\n StyleUtils.getEmojiReactionBubbleStyle(hovered || pressed, hasUserReacted, props.isContextMenu),\n ]}\n onPress={props.onPress}\n onLongPress={props.onReactionListOpen}\n\n // Prevent text input blur when emoji reaction is clicked\n onMouseDown={e => e.preventDefault()}\n >\n \n {props.emojiCodes.join('')}\n \n {props.count > 0 && (\n \n {props.count}\n \n )}\n \n );\n};\n\nEmojiReactionBubble.propTypes = propTypes;\nEmojiReactionBubble.defaultProps = defaultProps;\nEmojiReactionBubble.displayName = 'EmojiReactionBubble';\n\nexport default withCurrentUserPersonalDetails(EmojiReactionBubble);\n","import React, {useRef} from 'react';\nimport {Pressable, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Tooltip from '../Tooltip';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport Text from '../Text';\nimport getButtonState from '../../libs/getButtonState';\nimport * as EmojiPickerAction from '../../libs/actions/EmojiPickerAction';\nimport variables from '../../styles/variables';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n /** Whether it is for context menu so we can modify its style */\n isContextMenu: PropTypes.bool,\n\n /**\n * Called when the user presses on the icon button.\n * Will have a function as parameter which you can call\n * to open the picker.\n */\n onPressOpenPicker: PropTypes.func,\n\n /**\n * Will get called the moment before the picker opens.\n */\n onWillShowPicker: PropTypes.func,\n\n /**\n * Called when the user selects an emoji.\n */\n onSelectEmoji: PropTypes.func.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isContextMenu: false,\n onWillShowPicker: () => {},\n onPressOpenPicker: undefined,\n};\n\nconst AddReactionBubble = (props) => {\n const ref = useRef();\n\n const onPress = () => {\n const openPicker = (refParam, anchorOrigin) => {\n EmojiPickerAction.showEmojiPicker(\n () => {},\n (emojiCode, emojiObject) => {\n props.onSelectEmoji(emojiObject);\n },\n refParam || ref.current,\n anchorOrigin,\n props.onWillShowPicker,\n );\n };\n\n if (props.onPressOpenPicker) {\n props.onPressOpenPicker(openPicker);\n } else {\n openPicker();\n }\n };\n\n return (\n \n [\n styles.emojiReactionBubble,\n StyleUtils.getEmojiReactionBubbleStyle(hovered || pressed, false, props.isContextMenu),\n ]}\n onPress={onPress}\n\n // Prevent text input blur when Add reaction is clicked\n onMouseDown={e => e.preventDefault()}\n >\n {({\n hovered,\n pressed,\n }) => (\n <>\n {/* This (invisible) text will make the view have the same size as a regular\n emoji reaction. We make the text invisible and put the\n icon on top of it. */}\n \n {'\\u2800\\u2800'}\n \n \n \n \n \n )}\n \n\n \n );\n};\n\nAddReactionBubble.propTypes = propTypes;\nAddReactionBubble.defaultProps = defaultProps;\nAddReactionBubble.displayName = 'AddReactionBubble';\n\nexport default withLocalize(AddReactionBubble);\n","import React from 'react';\n\nconst emojiPickerRef = React.createRef();\n\n/**\n * Show the ReportActionContextMenu modal popover.\n *\n * @param {Function} [onModalHide=() => {}] - Run a callback when Modal hides.\n * @param {Function} [onEmojiSelected=() => {}] - Run a callback when Emoji selected.\n * @param {Element} emojiPopoverAnchor - Element on which EmojiPicker is anchored\n * @param {Object} [anchorOrigin] - Anchor origin for Popover\n * @param {Function} [onWillShow=() => {}] - Run a callback when Popover will show\n */\nfunction showEmojiPicker(\n onModalHide = () => {},\n onEmojiSelected = () => {},\n emojiPopoverAnchor,\n anchorOrigin = undefined,\n onWillShow = () => {},\n) {\n if (!emojiPickerRef.current) {\n return;\n }\n\n emojiPickerRef.current.showEmojiPicker(\n onModalHide,\n onEmojiSelected,\n emojiPopoverAnchor,\n anchorOrigin,\n onWillShow,\n );\n}\n\nexport {\n emojiPickerRef,\n showEmojiPicker,\n};\n","/**\n * Given an emoji object it returns the correct emoji code\n * based on the users preferred skin tone.\n * @param {Object} emoji\n * @param {String | Number} preferredSkinTone\n * @returns {String}\n */\nexport default function getPreferredEmojiCode(emoji, preferredSkinTone) {\n if (emoji.types) {\n const emojiCodeWithSkinTone = emoji.types[preferredSkinTone];\n\n // Note: it can happen that preferredSkinTone has a outdated format,\n // so it makes sense to check if we actually got a valid emoji code back\n if (emojiCodeWithSkinTone) {\n return emojiCodeWithSkinTone;\n }\n }\n\n return emoji.code;\n}\n","import React, {useRef} from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport CONST from '../../CONST';\nimport styles from '../../styles/styles';\nimport Text from '../Text';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport BaseMiniContextMenuItem from '../BaseMiniContextMenuItem';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport getButtonState from '../../libs/getButtonState';\nimport * as EmojiPickerAction from '../../libs/actions/EmojiPickerAction';\nimport {\n baseQuickEmojiReactionsPropTypes,\n} from './QuickEmojiReactions/BaseQuickEmojiReactions';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport getPreferredEmojiCode from './getPreferredEmojiCode';\n\nconst propTypes = {\n ...baseQuickEmojiReactionsPropTypes,\n\n /**\n * Will be called when the user closed the emoji picker\n * without selecting an emoji.\n */\n onEmojiPickerClosed: PropTypes.func,\n\n ...withLocalizePropTypes,\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n};\n\nconst defaultProps = {\n onEmojiPickerClosed: () => {},\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n};\n\n/**\n * Shows the four common quick reactions and a\n * emoji picker icon button. This is used for the mini\n * context menu which we just show on web, when hovering\n * a message.\n * @param {Props} props\n * @returns {JSX.Element}\n */\nconst MiniQuickEmojiReactions = (props) => {\n const ref = useRef();\n\n const openEmojiPicker = () => {\n props.onPressOpenPicker();\n EmojiPickerAction.showEmojiPicker(\n props.onEmojiPickerClosed,\n (emojiCode, emojiObject) => {\n props.onEmojiSelected(emojiObject);\n },\n ref.current,\n );\n };\n\n return (\n \n {_.map(CONST.QUICK_REACTIONS, emoji => (\n props.onEmojiSelected(emoji)}\n >\n \n {getPreferredEmojiCode(emoji, props.preferredSkinTone)}\n \n \n ))}\n \n {({hovered, pressed}) => (\n \n )}\n \n \n );\n};\n\nMiniQuickEmojiReactions.displayName = 'MiniQuickEmojiReactions';\nMiniQuickEmojiReactions.propTypes = propTypes;\nMiniQuickEmojiReactions.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withOnyx({\n preferredSkinTone: {\n key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,\n },\n }),\n)(MiniQuickEmojiReactions);\n","import {Pressable, View} from 'react-native';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport getButtonState from '../libs/getButtonState';\nimport variables from '../styles/variables';\nimport Tooltip from './Tooltip';\n\nconst propTypes = {\n /**\n * Text to display when hovering the menu item\n */\n tooltipText: PropTypes.string.isRequired,\n\n /**\n * Callback to fire on press\n */\n onPress: PropTypes.func.isRequired,\n\n /**\n * The children to display within the menu item\n */\n children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]).isRequired,\n\n /**\n * Whether the button should be in the active state\n */\n isDelayButtonStateComplete: PropTypes.bool,\n\n /**\n * A ref to forward to the Pressable\n */\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n};\n\nconst defaultProps = {\n isDelayButtonStateComplete: true,\n innerRef: () => {},\n};\n\n/**\n * Component that renders a mini context menu item with a\n * pressable. Also renders a tooltip when hovering the item.\n * @param {Object} props\n * @returns {JSX.Element}\n */\nconst BaseMiniContextMenuItem = props => (\n \n [\n styles.reportActionContextMenuMiniButton,\n StyleUtils.getButtonBackgroundColorStyle(getButtonState(hovered, pressed, props.isDelayButtonStateComplete)),\n ]\n }\n >\n {pressableState => (\n \n {_.isFunction(props.children) ? props.children(pressableState) : props.children}\n \n )}\n \n \n);\n\nBaseMiniContextMenuItem.propTypes = propTypes;\nBaseMiniContextMenuItem.defaultProps = defaultProps;\nBaseMiniContextMenuItem.displayName = 'BaseMiniContextMenuItem';\n\n// eslint-disable-next-line react/jsx-props-no-spreading\nexport default React.forwardRef((props, ref) => );\n","import React, {Component} from 'react';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport styles from '../../styles/styles';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as ReportActionsUtils from '../../libs/ReportActionsUtils';\nimport reportActionPropTypes from '../home/report/reportActionPropTypes';\nimport ReportTransaction from '../../components/ReportTransaction';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /** Actions from the ChatReport */\n reportActions: PropTypes.shape(reportActionPropTypes),\n\n /** ReportID for the associated chat report */\n chatReportID: PropTypes.string.isRequired,\n\n /** ReportID for the associated IOU report */\n iouReportID: PropTypes.string.isRequired,\n\n /** Email for the authenticated user */\n userEmail: PropTypes.string.isRequired,\n\n /** Is the associated IOU settled? */\n isIOUSettled: PropTypes.bool,\n};\n\nconst defaultProps = {\n reportActions: {},\n isIOUSettled: false,\n};\n\nclass IOUTransactions extends Component {\n constructor(props) {\n super(props);\n\n this.getRejectableTransactions = this.getRejectableTransactions.bind(this);\n }\n\n /**\n * Builds and returns the rejectableTransactionIDs array. A transaction must meet multiple requirements in order\n * to be rejectable. We must exclude transactions not associated with the iouReportID, actions which have already\n * been rejected, and those which are not of type 'create'.\n *\n * @returns {Array}\n */\n getRejectableTransactions() {\n if (this.props.isIOUSettled) {\n return [];\n }\n\n // iouReportIDs should be strings, but we still have places that send them as ints so we convert them both to Numbers for comparison\n const actionsForIOUReport = _.filter(this.props.reportActions, action => action.originalMessage\n && action.originalMessage.type && Number(action.originalMessage.IOUReportID) === Number(this.props.iouReportID));\n\n const rejectedTransactionIDs = _.chain(actionsForIOUReport)\n .filter(action => _.contains(['cancel', 'decline'], action.originalMessage.type))\n .map(rejectedAction => lodashGet(rejectedAction, 'originalMessage.IOUTransactionID', ''))\n .compact()\n .value();\n\n return _.chain(actionsForIOUReport)\n .filter(action => action.originalMessage.type === 'create')\n .filter(action => !_.contains(rejectedTransactionIDs, action.originalMessage.IOUTransactionID))\n .map(action => lodashGet(action, 'originalMessage.IOUTransactionID', ''))\n .compact()\n .value();\n }\n\n render() {\n const sortedReportActions = ReportActionsUtils.getSortedReportActionsForDisplay(this.props.reportActions);\n return (\n \n {_.map(sortedReportActions, (reportAction) => {\n // iouReportIDs should be strings, but we still have places that send them as ints so we convert them both to Numbers for comparison\n if (!reportAction.originalMessage || Number(reportAction.originalMessage.IOUReportID) !== Number(this.props.iouReportID)) {\n return;\n }\n\n const rejectableTransactions = this.getRejectableTransactions();\n const canBeRejected = _.contains(rejectableTransactions,\n reportAction.originalMessage.IOUTransactionID);\n const isCurrentUserTransactionCreator = this.props.userEmail === reportAction.actorEmail;\n return (\n \n );\n })}\n \n );\n }\n}\n\nIOUTransactions.defaultProps = defaultProps;\nIOUTransactions.propTypes = propTypes;\nexport default withOnyx({\n reportActions: {\n key: ({chatReportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReportID}`,\n canEvict: false,\n },\n})(IOUTransactions);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport styles from '../styles/styles';\nimport CONST from '../CONST';\nimport * as IOU from '../libs/actions/IOU';\nimport * as ReportActions from '../libs/actions/ReportActions';\nimport reportActionPropTypes from '../pages/home/report/reportActionPropTypes';\nimport ReportActionItemSingle from '../pages/home/report/ReportActionItemSingle';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport OfflineWithFeedback from './OfflineWithFeedback';\nimport Text from './Text';\nimport Button from './Button';\n\nconst propTypes = {\n /** The chatReport which the transaction is associated with */\n /* eslint-disable-next-line react/no-unused-prop-types */\n chatReportID: PropTypes.string.isRequired,\n\n /** ID for the IOU report */\n /* eslint-disable-next-line react/no-unused-prop-types */\n iouReportID: PropTypes.string.isRequired,\n\n /** The report action which we are displaying */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** Can this transaction be rejected? */\n canBeRejected: PropTypes.bool,\n\n /** Type of the reject transaction button */\n rejectButtonType: PropTypes.oneOf([CONST.IOU.REPORT_ACTION_TYPE.DECLINE, CONST.IOU.REPORT_ACTION_TYPE.CANCEL]).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n canBeRejected: false,\n};\n\nclass ReportTransaction extends Component {\n constructor(props) {\n super(props);\n\n this.cancelMoneyRequest = this.cancelMoneyRequest.bind(this);\n }\n\n cancelMoneyRequest() {\n IOU.cancelMoneyRequest(\n this.props.chatReportID,\n this.props.iouReportID,\n this.props.rejectButtonType,\n this.props.action,\n );\n }\n\n render() {\n return (\n {\n if (this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.IOU) {\n ReportActions.clearSendMoneyErrors(this.props.chatReportID, this.props.action.reportActionID);\n }\n if (this.props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD) {\n ReportActions.deleteOptimisticReportAction(this.props.chatReportID, this.props.action.reportActionID);\n } else {\n ReportActions.clearReportActionErrors(this.props.chatReportID, this.props.action.reportActionID);\n }\n }}\n pendingAction={this.props.action.pendingAction}\n errors={this.props.action.errors}\n errorRowStyles={[styles.ml10, styles.mr2]}\n >\n \n \n \n {this.props.action.message[0].text}\n \n \n {this.props.canBeRejected && (\n \n \n \n )}\n \n \n );\n }\n}\n\nReportTransaction.defaultProps = defaultProps;\nReportTransaction.propTypes = propTypes;\nexport default withLocalize(ReportTransaction);\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\n\n/**\n * @param {String} reportID\n * @param {String} reportActionID\n */\nfunction deleteOptimisticReportAction(reportID, reportActionID) {\n Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {\n [reportActionID]: null,\n });\n}\n\n/**\n * @param {String} reportID\n * @param {String} reportActionID\n */\nfunction clearReportActionErrors(reportID, reportActionID) {\n Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`, {\n [reportActionID]: {\n errors: null,\n },\n });\n}\n\n/**\n * This method clears the errors for a chat where send money action was done\n * @param {String} chatReportID\n * @param {String} reportActionID\n */\nfunction clearSendMoneyErrors(chatReportID, reportActionID) {\n Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReportID}`, {\n [reportActionID]: {\n errors: null,\n },\n });\n}\n\nexport {\n clearReportActionErrors,\n deleteOptimisticReportAction,\n clearSendMoneyErrors,\n};\n","import lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport Str from 'expensify-common/lib/str';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport ReportActionItemFragment from './ReportActionItemFragment';\nimport styles from '../../../styles/styles';\nimport ReportActionItemDate from './ReportActionItemDate';\nimport Avatar from '../../../components/Avatar';\nimport personalDetailsPropType from '../../personalDetailsPropType';\nimport compose from '../../../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport {withPersonalDetails} from '../../../components/OnyxProvider';\nimport Tooltip from '../../../components/Tooltip';\nimport ControlSelection from '../../../libs/ControlSelection';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** All of the personalDetails */\n personalDetails: PropTypes.objectOf(personalDetailsPropType),\n\n /** Styles for the outermost View */\n // eslint-disable-next-line react/forbid-prop-types\n wrapperStyles: PropTypes.arrayOf(PropTypes.object),\n\n /** Children view component for this action item */\n children: PropTypes.node.isRequired,\n\n /** Show header for action */\n showHeader: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n personalDetails: {},\n wrapperStyles: [styles.chatItem],\n showHeader: true,\n};\n\nconst showUserDetails = (email) => {\n Navigation.navigate(ROUTES.getDetailsRoute(email));\n};\n\nconst ReportActionItemSingle = (props) => {\n const actorEmail = props.action.actorEmail.replace(CONST.REGEX.MERGED_ACCOUNT_PREFIX, '');\n const {\n avatar,\n displayName,\n login,\n pendingFields,\n } = props.personalDetails[actorEmail] || {};\n const avatarSource = ReportUtils.getAvatar(avatar, actorEmail);\n\n // Since the display name for a report action message is delivered with the report history as an array of fragments\n // we'll need to take the displayName from personal details and have it be in the same format for now. Eventually,\n // we should stop referring to the report history items entirely for this information.\n const personArray = displayName\n ? [{type: 'TEXT', text: Str.isSMSLogin(login) ? props.toLocalPhone(displayName) : displayName}]\n : props.action.person;\n\n return (\n \n showUserDetails(actorEmail)}\n >\n \n \n \n \n \n \n \n {props.showHeader ? (\n \n showUserDetails(actorEmail)}\n >\n {_.map(personArray, (fragment, index) => (\n \n ))}\n \n \n \n ) : null}\n {props.children}\n \n \n );\n};\n\nReportActionItemSingle.propTypes = propTypes;\nReportActionItemSingle.defaultProps = defaultProps;\nReportActionItemSingle.displayName = 'ReportActionItemSingle';\n\nexport default compose(\n withLocalize,\n withPersonalDetails(),\n)(ReportActionItemSingle);\n","import React, {memo} from 'react';\nimport {ActivityIndicator, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Str from 'expensify-common/lib/str';\nimport reportActionFragmentPropTypes from './reportActionFragmentPropTypes';\nimport styles from '../../../styles/styles';\nimport variables from '../../../styles/variables';\nimport themeColors from '../../../styles/themes/default';\nimport RenderHTML from '../../../components/RenderHTML';\nimport Text from '../../../components/Text';\nimport Tooltip from '../../../components/Tooltip';\nimport * as EmojiUtils from '../../../libs/EmojiUtils';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as DeviceCapabilities from '../../../libs/DeviceCapabilities';\nimport compose from '../../../libs/compose';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport CONST from '../../../CONST';\nimport applyStrikethrough from '../../../components/HTMLEngineProvider/applyStrikethrough';\n\nconst propTypes = {\n /** The message fragment needing to be displayed */\n fragment: reportActionFragmentPropTypes.isRequired,\n\n /** Text to be shown for tooltip When Fragment is report Actor */\n tooltipText: PropTypes.string,\n\n /** Is this fragment an attachment? */\n isAttachment: PropTypes.bool,\n\n /** If this fragment is attachment than has info? */\n attachmentInfo: PropTypes.shape({\n\n /** The file name of attachment */\n name: PropTypes.string,\n\n /** The file size of the attachment in bytes. */\n size: PropTypes.number,\n\n /** The MIME type of the attachment. */\n type: PropTypes.string,\n\n /** Attachment's URL represents the specified File object or Blob object */\n source: PropTypes.string,\n }),\n\n /** Does this fragment belong to a reportAction that has not yet loaded? */\n loading: PropTypes.bool,\n\n /** The reportAction's source */\n source: PropTypes.oneOf(['Chronos', 'email', 'ios', 'android', 'web', 'email', '']),\n\n /** Should this fragment be contained in a single line? */\n isSingleLine: PropTypes.bool,\n\n // Additional styles to add after local styles\n style: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.object),\n PropTypes.object,\n ]),\n\n ...windowDimensionsPropTypes,\n\n /** localization props */\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isAttachment: false,\n attachmentInfo: {\n name: '',\n size: 0,\n type: '',\n source: '',\n },\n loading: false,\n isSingleLine: false,\n tooltipText: '',\n source: '',\n style: [],\n};\n\nconst ReportActionItemFragment = (props) => {\n switch (props.fragment.type) {\n case 'COMMENT': {\n // If this is an attachment placeholder, return the placeholder component\n if (props.isAttachment && props.loading) {\n return (\n Str.isImage(props.attachmentInfo.name)\n ? (\n `} />\n ) : (\n \n \n \n )\n );\n }\n const {html, text} = props.fragment;\n\n // If the only difference between fragment.text and fragment.html is
          tags\n // we render it as text, not as html.\n // This is done to render emojis with line breaks between them as text.\n const differByLineBreaksOnly = Str.replaceAll(html, '
          ', '\\n') === text;\n\n // Only render HTML if we have html in the fragment\n if (!differByLineBreaksOnly) {\n const isPendingDelete = props.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE && props.network.isOffline;\n const editedTag = props.fragment.isEdited ? '' : '';\n const htmlContent = applyStrikethrough(html + editedTag, isPendingDelete);\n\n return (\n ${htmlContent}`\n : `${htmlContent}`}\n />\n );\n }\n return (\n \n {StyleUtils.convertToLTR(Str.htmlDecode(text))}\n {Boolean(props.fragment.isEdited) && (\n \n {` ${props.translate('reportActionCompose.edited')}`}\n \n )}\n \n );\n }\n case 'TEXT':\n return (\n \n \n {props.fragment.text}\n \n \n );\n case 'LINK':\n return LINK;\n case 'INTEGRATION_COMMENT':\n return REPORT_LINK;\n case 'REPORT_LINK':\n return REPORT_LINK;\n case 'POLICY_LINK':\n return POLICY_LINK;\n\n // If we have a message fragment type of OLD_MESSAGE this means we have not yet converted this over to the\n // new data structure. So we simply set this message as inner html and render it like we did before.\n // This wil allow us to convert messages over to the new structure without needing to do it all at once.\n case 'OLD_MESSAGE':\n return OLD_MESSAGE;\n default:\n return fragment.text;\n }\n};\n\nReportActionItemFragment.propTypes = propTypes;\nReportActionItemFragment.defaultProps = defaultProps;\nReportActionItemFragment.displayName = 'ReportActionItemFragment';\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withNetwork(),\n)(memo(ReportActionItemFragment));\n","import _ from 'underscore';\nimport lodashOrderBy from 'lodash/orderBy';\nimport moment from 'moment';\nimport Str from 'expensify-common/lib/str';\nimport CONST from '../CONST';\nimport * as User from './actions/User';\nimport emojisTrie from './EmojiTrie';\nimport FrequentlyUsed from '../../assets/images/history.svg';\n\n/**\n * Get the unicode code of an emoji in base 16.\n * @param {String} input\n * @returns {String}\n */\nconst getEmojiUnicode = _.memoize((input) => {\n if (input.length === 0) {\n return '';\n }\n\n if (input.length === 1) {\n return _.map(input.charCodeAt(0).toString().split(' '), val => parseInt(val, 10).toString(16)).join(' ');\n }\n\n const pairs = [];\n\n // Some Emojis in UTF-16 are stored as pair of 2 Unicode characters (eg Flags)\n // The first char is generally between the range U+D800 to U+DBFF called High surrogate\n // & the second char between the range U+DC00 to U+DFFF called low surrogate\n // More info in the following links:\n // 1. https://docs.microsoft.com/en-us/windows/win32/intl/surrogates-and-supplementary-characters\n // 2. https://thekevinscott.com/emojis-in-javascript/\n for (let i = 0; i < input.length; i++) {\n if (input.charCodeAt(i) >= 0xd800 && input.charCodeAt(i) <= 0xdbff) { // high surrogate\n if (input.charCodeAt(i + 1) >= 0xdc00 && input.charCodeAt(i + 1) <= 0xdfff) { // low surrogate\n pairs.push(\n ((input.charCodeAt(i) - 0xd800) * 0x400)\n + (input.charCodeAt(i + 1) - 0xdc00) + 0x10000,\n );\n }\n } else if (input.charCodeAt(i) < 0xd800 || input.charCodeAt(i) > 0xdfff) {\n // modifiers and joiners\n pairs.push(input.charCodeAt(i));\n }\n }\n return _.map(pairs, val => parseInt(val, 10).toString(16)).join(' ');\n});\n\n/**\n * Function to remove Skin Tone and utf16 surrogates from Emoji\n * @param {String} emojiCode\n * @returns {String}\n */\nfunction trimEmojiUnicode(emojiCode) {\n return emojiCode.replace(/(fe0f|1f3fb|1f3fc|1f3fd|1f3fe|1f3ff)$/, '').trim();\n}\n\n/**\n * Validates that this message contains only emojis\n *\n * @param {String} message\n * @returns {Boolean}\n */\nfunction containsOnlyEmojis(message) {\n const trimmedMessage = Str.replaceAll(message.replace(/ /g, ''), '\\n', '');\n const match = trimmedMessage.match(CONST.REGEX.EMOJIS);\n\n if (!match) {\n return false;\n }\n\n const codes = [];\n _.map(match, emoji => _.map(getEmojiUnicode(emoji).split(' '), (code) => {\n if (!CONST.INVISIBLE_CODEPOINTS.includes(code)) {\n codes.push(code);\n }\n return code;\n }));\n\n // Emojis are stored as multiple characters, so we're using spread operator\n // to iterate over the actual emojis, not just characters that compose them\n const messageCodes = _.filter(_.map([...trimmedMessage], char => getEmojiUnicode(char)), string => string.length > 0 && !CONST.INVISIBLE_CODEPOINTS.includes(string));\n return codes.length === messageCodes.length;\n}\n\n/**\n * Get the header emojis with their code, icon and index\n * @param {Object[]} emojis\n * @returns {Object[]}\n */\nfunction getHeaderEmojis(emojis) {\n const headerIndices = [];\n _.each(emojis, (emoji, index) => {\n if (!emoji.header) {\n return;\n }\n headerIndices.push({code: emoji.code, index, icon: emoji.icon});\n });\n return headerIndices;\n}\n\n/**\n * Get number of empty spaces to be filled to get equal emojis for every row\n * @param {Number} emojiCount\n * @param {Number} suffix\n * @returns {Object[]}\n */\nfunction getDynamicSpacing(emojiCount, suffix) {\n const spacerEmojis = [];\n let modLength = CONST.EMOJI_NUM_PER_ROW - (emojiCount % CONST.EMOJI_NUM_PER_ROW);\n\n // Empty spaces is pushed if the given row has less than eight emojis\n while (modLength > 0 && modLength < CONST.EMOJI_NUM_PER_ROW) {\n spacerEmojis.push({\n code: `${CONST.EMOJI_SPACER}_${suffix}_${modLength}`,\n spacer: true,\n });\n modLength -= 1;\n }\n return spacerEmojis;\n}\n\n/**\n * Add dynamic spaces to emoji categories\n * @param {Object[]} emojis\n * @returns {Object[]}\n */\nfunction addSpacesToEmojiCategories(emojis) {\n let updatedEmojis = [];\n _.each(emojis, (emoji, index) => {\n if (emoji.header) {\n updatedEmojis = updatedEmojis.concat(getDynamicSpacing(updatedEmojis.length, index), [emoji], getDynamicSpacing(1, index));\n return;\n }\n updatedEmojis.push(emoji);\n });\n return updatedEmojis;\n}\n\n/**\n * Get a merged array with frequently used emojis\n * @param {Object[]} emojis\n * @param {Object[]} frequentlyUsedEmojis\n * @returns {Object[]}\n */\nfunction mergeEmojisWithFrequentlyUsedEmojis(emojis, frequentlyUsedEmojis = []) {\n if (frequentlyUsedEmojis.length === 0) {\n return addSpacesToEmojiCategories(emojis);\n }\n\n let allEmojis = [{\n header: true,\n code: 'frequentlyUsed',\n icon: FrequentlyUsed,\n }];\n\n allEmojis = allEmojis.concat(frequentlyUsedEmojis, emojis);\n return addSpacesToEmojiCategories(allEmojis);\n}\n\n/**\n * Update the frequently used emojis list by usage and sync with API\n * @param {Object[]} frequentlyUsedEmojis\n * @param {Object} newEmoji\n */\nfunction addToFrequentlyUsedEmojis(frequentlyUsedEmojis, newEmoji) {\n let frequentEmojiList = frequentlyUsedEmojis;\n let currentEmojiCount = 1;\n const currentTimestamp = moment().unix();\n const emojiIndex = _.findIndex(frequentEmojiList, e => e.code === newEmoji.code);\n if (emojiIndex >= 0) {\n currentEmojiCount = frequentEmojiList[emojiIndex].count + 1;\n frequentEmojiList.splice(emojiIndex, 1);\n }\n const updatedEmoji = {...newEmoji, ...{count: currentEmojiCount, lastUpdatedAt: currentTimestamp}};\n const maxFrequentEmojiCount = (CONST.EMOJI_FREQUENT_ROW_COUNT * CONST.EMOJI_NUM_PER_ROW) - 1;\n\n // We want to make sure the current emoji is added to the list\n // Hence, we take one less than the current high frequent used emojis and if same then sorted by lastUpdatedAt\n frequentEmojiList = lodashOrderBy(frequentEmojiList, ['count', 'lastUpdatedAt'], ['desc', 'desc']);\n frequentEmojiList = frequentEmojiList.slice(0, maxFrequentEmojiCount);\n frequentEmojiList.push(updatedEmoji);\n\n // Second sorting is required so that new emoji is properly placed at sort-ordered location\n frequentEmojiList = lodashOrderBy(frequentEmojiList, ['count', 'lastUpdatedAt'], ['desc', 'desc']);\n User.updateFrequentlyUsedEmojis(frequentEmojiList);\n}\n\n/**\n * Given an emoji item object, return an emoji code based on its type.\n *\n * @param {Object} item\n * @param {Number} preferredSkinToneIndex\n * @returns {String}\n */\nconst getEmojiCodeWithSkinColor = (item, preferredSkinToneIndex) => {\n const {code, types} = item;\n if (types && types[preferredSkinToneIndex]) {\n return types[preferredSkinToneIndex];\n }\n\n return code;\n};\n\n/**\n * Replace any emoji name in a text with the emoji icon.\n * If we're on mobile, we also add a space after the emoji granted there's no text after it.\n * @param {String} text\n * @param {Boolean} isSmallScreenWidth\n * @param {Number} preferredSkinTone\n * @returns {String}\n */\nfunction replaceEmojis(text, isSmallScreenWidth = false, preferredSkinTone = CONST.EMOJI_DEFAULT_SKIN_TONE) {\n let newText = text;\n const emojiData = text.match(CONST.REGEX.EMOJI_NAME);\n if (!emojiData || emojiData.length === 0) {\n return text;\n }\n for (let i = 0; i < emojiData.length; i++) {\n const checkEmoji = emojisTrie.search(emojiData[i].slice(1, -1));\n if (checkEmoji && checkEmoji.metaData.code) {\n let emojiReplacement = getEmojiCodeWithSkinColor(checkEmoji.metaData, preferredSkinTone);\n\n // If this is the last emoji in the message and it's the end of the message so far,\n // add a space after it so the user can keep typing easily.\n if (isSmallScreenWidth && i === emojiData.length - 1 && text.endsWith(emojiData[i])) {\n emojiReplacement += ' ';\n }\n newText = newText.replace(emojiData[i], emojiReplacement);\n }\n }\n return newText;\n}\n\n/**\n * Suggest emojis when typing emojis prefix after colon\n * @param {String} text\n * @param {Number} [limit] - matching emojis limit\n * @returns {Array}\n */\nfunction suggestEmojis(text, limit = 5) {\n const emojiData = text.match(CONST.REGEX.EMOJI_SUGGESTIONS);\n if (emojiData) {\n const matching = [];\n const nodes = emojisTrie.getAllMatchingWords(emojiData[0].toLowerCase().slice(1), limit);\n for (let j = 0; j < nodes.length; j++) {\n if (nodes[j].metaData.code && !_.find(matching, obj => obj.name === nodes[j].name)) {\n if (matching.length === limit) {\n return matching;\n }\n matching.push({code: nodes[j].metaData.code, name: nodes[j].name, types: nodes[j].metaData.types});\n }\n const suggestions = nodes[j].metaData.suggestions;\n for (let i = 0; i < suggestions.length; i++) {\n if (matching.length === limit) {\n return matching;\n }\n if (!_.find(matching, obj => obj.name === suggestions[i].name)) {\n matching.push(suggestions[i]);\n }\n }\n }\n return matching;\n }\n return [];\n}\n\nexport {\n getHeaderEmojis,\n mergeEmojisWithFrequentlyUsedEmojis,\n addToFrequentlyUsedEmojis,\n containsOnlyEmojis,\n replaceEmojis,\n suggestEmojis,\n trimEmojiUnicode,\n getEmojiCodeWithSkinColor,\n};\n","import emojis from '../../assets/emojis';\nimport Trie from './Trie';\nimport Timing from './actions/Timing';\nimport CONST from '../CONST';\n\nTiming.start(CONST.TIMING.TRIE_INITIALIZATION);\n\nconst emojisTrie = new Trie();\n\n// Inserting all emojis into the Trie object\nfor (let i = 0; i < emojis.length; i++) {\n if (emojis[i].name) {\n const node = emojisTrie.search(emojis[i].name);\n if (!node) {\n emojisTrie.add(emojis[i].name, {code: emojis[i].code, types: emojis[i].types, suggestions: []});\n } else {\n emojisTrie.update(emojis[i].name, {code: emojis[i].code, types: emojis[i].types, suggestions: node.metaData.suggestions});\n }\n\n if (emojis[i].keywords) {\n for (let j = 0; j < emojis[i].keywords.length; j++) {\n const keywordNode = emojisTrie.search(emojis[i].keywords[j]);\n if (!keywordNode) {\n emojisTrie.add(emojis[i].keywords[j], {suggestions: [{code: emojis[i].code, types: emojis[i].types, name: emojis[i].name}]});\n } else {\n emojisTrie.update(emojis[i].keywords[j],\n {...keywordNode.metaData, suggestions: [...keywordNode.metaData.suggestions, {code: emojis[i].code, types: emojis[i].types, name: emojis[i].name}]});\n }\n }\n }\n }\n}\nTiming.end(CONST.TIMING.TRIE_INITIALIZATION);\n\nexport default emojisTrie;\n","import Smiley from './images/emoji.svg';\nimport AnimalsAndNature from './images/emojiCategoryIcons/plant.svg';\nimport FoodAndDrink from './images/emojiCategoryIcons/hamburger.svg';\nimport TravelAndPlaces from './images/emojiCategoryIcons/plane.svg';\nimport Activities from './images/emojiCategoryIcons/soccer-ball.svg';\nimport Objects from './images/emojiCategoryIcons/light-bulb.svg';\nimport Symbols from './images/emojiCategoryIcons/peace-sign.svg';\nimport Flags from './images/emojiCategoryIcons/flag.svg';\n\n/*\n * This list is generated from the code here https://github.com/github/gemoji/blob/master/db/emoji.json\n * Each code is then converted to hex by replacing the \"U+\" with \"0x\"\n * Each hex is then converted to a string using this function (each section is defined as \"emojis\" in this function)\n * const emojiData = require('./gemoji.json');\n * const { getEmojiUnicode } = require('./EmojiUtils');\n * const emojisGroupedByCategory = _.groupBy(emojiData, 'category');\n * const skinTones = ['1f3fb', '1f3fc', '1f3fd', '1f3fe', '1f3ff'];\n * const emojisList = []\n * for(let category in emojisGroupedByCategory) {\n * let categoryName = category.replace(' & ', 'And');\n * categoryName = categoryName.charAt(0).toLowerCase() + categoryName.slice(1);\n * emojisList.push({\n * code: categoryName,\n * header: true\n * });\n *\n * const emojisPerCategory = emojisGroupedByCategory[category];\n * for(let i = 0; i < emojisPerCategory.length; i++) {\n * const emoji = emojisPerCategory[i];\n * let keywords = [...emoji.tags , ...emoji.aliases];\n * if(oldEmojiMap[emoji.emoji]) { // old Emoji Map is old assets/emojis.js data\n * keywords = keywords.concat(oldEmojiMap[emoji.emoji].keywords);\n * }\n * const emojiRow = {\n * code: emoji.emoji,\n * keywords: _.uniq(keywords)\n * };\n *\n * if (emoji.skin_tones) {\n * emojiRow.types = skinTones.map(skinTone => {\n * const emojiUnicode = trimEmojiUnicode(getEmojiUnicode(emoji.emoji)).split(' ').map(p => parseInt(p, 16));\n * if(emojiUnicode.length > 0) {\n * emojiUnicode.splice(1, 0, parseInt(skinTone, 16));\n * } else {\n * emojiUnicode.push(parseInt(skinTone, 16));\n * }\n * return String.fromCodePoint(...emojiUnicode);\n * });\n * }\n * emojisList.push(emojiRow);\n * }\n * };\n */\n\n// BEFORE YOU EDIT THIS, PLEASE SEE WARNINGS IN EmojiPickerMenu.js\nconst skinTones = [{\n code: '🖐',\n skinTone: -1,\n}, {\n code: '🖐🏻',\n skinTone: 4,\n}, {\n code: '🖐🏼',\n skinTone: 3,\n}, {\n code: '🖐🏽',\n skinTone: 2,\n}, {\n code: '🖐🏾',\n skinTone: 1,\n}, {\n code: '🖐🏿',\n skinTone: 0,\n}];\n\nconst emojis = [\n {\n code: 'smileysAndEmotion',\n header: true,\n icon: Smiley,\n },\n {\n name: 'grinning',\n code: '😀',\n keywords: [\n 'smile',\n 'happy',\n 'grinning',\n 'face',\n 'grin',\n ],\n },\n {\n name: 'smiley',\n code: '😃',\n keywords: [\n 'happy',\n 'joy',\n 'haha',\n 'smiley',\n 'face',\n 'mouth',\n 'open',\n 'smile',\n ],\n },\n {\n name: 'smile',\n code: '😄',\n keywords: [\n 'happy',\n 'joy',\n 'laugh',\n 'pleased',\n 'smile',\n 'eye',\n 'face',\n 'mouth',\n 'open',\n ],\n },\n {\n name: 'grin',\n code: '😁',\n keywords: [\n 'grin',\n 'eye',\n 'face',\n 'smile',\n ],\n },\n {\n name: 'laughing',\n code: '😆',\n keywords: [\n 'happy',\n 'haha',\n 'laughing',\n 'satisfied',\n 'face',\n 'laugh',\n 'mouth',\n 'open',\n 'smile',\n ],\n },\n {\n name: 'sweat_smile',\n code: '😅',\n keywords: [\n 'hot',\n 'sweat_smile',\n 'cold',\n 'face',\n 'open',\n 'smile',\n 'sweat',\n ],\n },\n {\n name: 'rofl',\n code: '🤣',\n keywords: [\n 'lol',\n 'laughing',\n 'rofl',\n 'face',\n 'floor',\n 'laugh',\n 'rolling',\n ],\n },\n {\n name: 'joy',\n code: '😂',\n keywords: [\n 'tears',\n 'joy',\n 'face',\n 'laugh',\n 'tear',\n ],\n },\n {\n name: 'slightly_smiling_face',\n code: '🙂',\n keywords: [\n 'slightly_smiling_face',\n 'face',\n 'smile',\n ],\n },\n {\n name: 'upside_down_face',\n code: '🙃',\n keywords: [\n 'upside_down_face',\n 'face',\n 'upside-down',\n ],\n },\n {\n name: 'wink',\n code: '😉',\n keywords: [\n 'flirt',\n 'wink',\n 'face',\n ],\n },\n {\n name: 'blush',\n code: '😊',\n keywords: [\n 'proud',\n 'blush',\n 'eye',\n 'face',\n 'smile',\n ],\n },\n {\n name: 'innocent',\n code: '😇',\n keywords: [\n 'angel',\n 'innocent',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'halo',\n 'smile',\n ],\n },\n {\n name: 'smiling_face_with_three_hearts',\n code: '🥰',\n keywords: [\n 'love',\n 'smiling_face_with_three_hearts',\n ],\n },\n {\n name: 'heart_eyes',\n code: '😍',\n keywords: [\n 'love',\n 'crush',\n 'heart_eyes',\n 'eye',\n 'face',\n 'heart',\n 'smile',\n ],\n },\n {\n name: 'star_struck',\n code: '🤩',\n keywords: [\n 'eyes',\n 'star_struck',\n ],\n },\n {\n name: 'kissing_heart',\n code: '😘',\n keywords: [\n 'flirt',\n 'kissing_heart',\n 'face',\n 'heart',\n 'kiss',\n ],\n },\n {\n name: 'kissing',\n code: '😗',\n keywords: [\n 'kissing',\n 'face',\n 'kiss',\n ],\n },\n {\n name: 'relaxed',\n code: '☺️',\n keywords: [\n 'blush',\n 'pleased',\n 'relaxed',\n ],\n },\n {\n name: 'kissing_closed_eyes',\n code: '😚',\n keywords: [\n 'kissing_closed_eyes',\n 'closed',\n 'eye',\n 'face',\n 'kiss',\n ],\n },\n {\n name: 'kissing_smiling_eyes',\n code: '😙',\n keywords: [\n 'kissing_smiling_eyes',\n 'eye',\n 'face',\n 'kiss',\n 'smile',\n ],\n },\n {\n name: 'smiling_face_with_tear',\n code: '🥲',\n keywords: [\n 'smiling_face_with_tear',\n ],\n },\n {\n name: 'yum',\n code: '😋',\n keywords: [\n 'tongue',\n 'lick',\n 'yum',\n 'delicious',\n 'face',\n 'savouring',\n 'smile',\n 'um',\n ],\n },\n {\n name: 'stuck_out_tongue',\n code: '😛',\n keywords: [\n 'stuck_out_tongue',\n 'face',\n 'tongue',\n ],\n },\n {\n name: 'stuck_out_tongue_winking_eye',\n code: '😜',\n keywords: [\n 'prank',\n 'silly',\n 'stuck_out_tongue_winking_eye',\n 'eye',\n 'face',\n 'joke',\n 'tongue',\n 'wink',\n ],\n },\n {\n name: 'zany_face',\n code: '🤪',\n keywords: [\n 'goofy',\n 'wacky',\n 'zany_face',\n ],\n },\n {\n name: 'stuck_out_tongue_closed_eyes',\n code: '😝',\n keywords: [\n 'prank',\n 'stuck_out_tongue_closed_eyes',\n 'eye',\n 'face',\n 'horrible',\n 'taste',\n 'tongue',\n ],\n },\n {\n name: 'money_mouth_face',\n code: '🤑',\n keywords: [\n 'rich',\n 'money_mouth_face',\n 'face',\n 'money',\n 'mouth',\n ],\n },\n {\n name: 'hugs',\n code: '🤗',\n keywords: [\n 'hugs',\n 'face',\n 'hug',\n 'hugging',\n ],\n },\n {\n name: 'hand_over_mouth',\n code: '🤭',\n keywords: [\n 'quiet',\n 'whoops',\n 'hand_over_mouth',\n ],\n },\n {\n name: 'shushing_face',\n code: '🤫',\n keywords: [\n 'silence',\n 'quiet',\n 'shushing_face',\n ],\n },\n {\n name: 'thinking',\n code: '🤔',\n keywords: [\n 'thinking',\n 'face',\n ],\n },\n {\n name: 'zipper_mouth_face',\n code: '🤐',\n keywords: [\n 'silence',\n 'hush',\n 'zipper_mouth_face',\n 'face',\n 'mouth',\n 'zipper',\n ],\n },\n {\n name: 'raised_eyebrow',\n code: '🤨',\n keywords: [\n 'suspicious',\n 'raised_eyebrow',\n ],\n },\n {\n name: 'neutral_face',\n code: '😐',\n keywords: [\n 'meh',\n 'neutral_face',\n 'deadpan',\n 'face',\n 'neutral',\n ],\n },\n {\n name: 'expressionless',\n code: '😑',\n keywords: [\n 'expressionless',\n 'face',\n 'inexpressive',\n 'unexpressive',\n ],\n },\n {\n name: 'no_mouth',\n code: '😶',\n keywords: [\n 'mute',\n 'silence',\n 'no_mouth',\n 'face',\n 'mouth',\n 'quiet',\n 'silent',\n ],\n },\n {\n name: 'face_in_clouds',\n code: '😶‍🌫️',\n keywords: [\n 'face_in_clouds',\n ],\n },\n {\n name: 'smirk',\n code: '😏',\n keywords: [\n 'smug',\n 'smirk',\n 'face',\n ],\n },\n {\n name: 'unamused',\n code: '😒',\n keywords: [\n 'meh',\n 'unamused',\n 'face',\n 'unhappy',\n ],\n },\n {\n name: 'roll_eyes',\n code: '🙄',\n keywords: [\n 'roll_eyes',\n 'eyes',\n 'face',\n 'rolling',\n ],\n },\n {\n name: 'grimacing',\n code: '😬',\n keywords: [\n 'grimacing',\n 'face',\n 'grimace',\n ],\n },\n {\n name: 'face_exhaling',\n code: '😮‍💨',\n keywords: [\n 'face_exhaling',\n ],\n },\n {\n name: 'lying_face',\n code: '🤥',\n keywords: [\n 'liar',\n 'lying_face',\n 'face',\n 'lie',\n 'pinocchio',\n ],\n },\n {\n name: 'relieved',\n code: '😌',\n keywords: [\n 'whew',\n 'relieved',\n 'face',\n ],\n },\n {\n name: 'pensive',\n code: '😔',\n keywords: [\n 'pensive',\n 'dejected',\n 'face',\n ],\n },\n {\n name: 'sleepy',\n code: '😪',\n keywords: [\n 'tired',\n 'sleepy',\n 'face',\n 'sleep',\n ],\n },\n {\n name: 'drooling_face',\n code: '🤤',\n keywords: [\n 'drooling_face',\n 'drooling',\n 'face',\n ],\n },\n {\n name: 'sleeping',\n code: '😴',\n keywords: [\n 'zzz',\n 'sleeping',\n 'face',\n 'sleep',\n ],\n },\n {\n name: 'mask',\n code: '😷',\n keywords: [\n 'sick',\n 'ill',\n 'mask',\n 'cold',\n 'doctor',\n 'face',\n 'medicine',\n ],\n },\n {\n name: 'face_with_thermometer',\n code: '🤒',\n keywords: [\n 'sick',\n 'face_with_thermometer',\n 'face',\n 'ill',\n 'thermometer',\n ],\n },\n {\n name: 'face_with_head_bandage',\n code: '🤕',\n keywords: [\n 'hurt',\n 'face_with_head_bandage',\n 'bandage',\n 'face',\n 'injury',\n ],\n },\n {\n name: 'nauseated_face',\n code: '🤢',\n keywords: [\n 'sick',\n 'barf',\n 'disgusted',\n 'nauseated_face',\n 'face',\n 'nauseated',\n 'vomit',\n ],\n },\n {\n name: 'vomiting_face',\n code: '🤮',\n keywords: [\n 'barf',\n 'sick',\n 'vomiting_face',\n ],\n },\n {\n name: 'sneezing_face',\n code: '🤧',\n keywords: [\n 'achoo',\n 'sick',\n 'sneezing_face',\n 'face',\n 'gesundheit',\n 'sneeze',\n ],\n },\n {\n name: 'hot_face',\n code: '🥵',\n keywords: [\n 'heat',\n 'sweating',\n 'hot_face',\n ],\n },\n {\n name: 'cold_face',\n code: '🥶',\n keywords: [\n 'freezing',\n 'ice',\n 'cold_face',\n ],\n },\n {\n name: 'woozy_face',\n code: '🥴',\n keywords: [\n 'groggy',\n 'woozy_face',\n ],\n },\n {\n name: 'dizzy_face',\n code: '😵',\n keywords: [\n 'dizzy_face',\n 'dizzy',\n 'face',\n ],\n },\n {\n name: 'face_with_spiral_eyes',\n code: '😵‍💫',\n keywords: [\n 'face_with_spiral_eyes',\n ],\n },\n {\n name: 'exploding_head',\n code: '🤯',\n keywords: [\n 'mind',\n 'blown',\n 'exploding_head',\n ],\n },\n {\n name: 'cowboy_hat_face',\n code: '🤠',\n keywords: [\n 'cowboy_hat_face',\n 'cowboy',\n 'cowgirl',\n 'face',\n 'hat',\n ],\n },\n {\n name: 'partying_face',\n code: '🥳',\n keywords: [\n 'celebration',\n 'birthday',\n 'partying_face',\n ],\n },\n {\n name: 'disguised_face',\n code: '🥸',\n keywords: [\n 'disguised_face',\n ],\n },\n {\n name: 'sunglasses',\n code: '😎',\n keywords: [\n 'cool',\n 'sunglasses',\n 'bright',\n 'eye',\n 'eyewear',\n 'face',\n 'glasses',\n 'smile',\n 'sun',\n 'weather',\n ],\n },\n {\n name: 'nerd_face',\n code: '🤓',\n keywords: [\n 'geek',\n 'glasses',\n 'nerd_face',\n 'face',\n 'nerd',\n ],\n },\n {\n name: 'monocle_face',\n code: '🧐',\n keywords: [\n 'monocle_face',\n ],\n },\n {\n name: 'confused',\n code: '😕',\n keywords: [\n 'confused',\n 'face',\n ],\n },\n {\n name: 'worried',\n code: '😟',\n keywords: [\n 'nervous',\n 'worried',\n 'face',\n ],\n },\n {\n name: 'slightly_frowning_face',\n code: '🙁',\n keywords: [\n 'slightly_frowning_face',\n 'face',\n 'frown',\n ],\n },\n {\n name: 'frowning_face',\n code: '☹️',\n keywords: [\n 'frowning_face',\n ],\n },\n {\n name: 'open_mouth',\n code: '😮',\n keywords: [\n 'surprise',\n 'impressed',\n 'wow',\n 'open_mouth',\n 'face',\n 'mouth',\n 'open',\n 'sympathy',\n ],\n },\n {\n name: 'hushed',\n code: '😯',\n keywords: [\n 'silence',\n 'speechless',\n 'hushed',\n 'face',\n 'stunned',\n 'surprised',\n ],\n },\n {\n name: 'astonished',\n code: '😲',\n keywords: [\n 'amazed',\n 'gasp',\n 'astonished',\n 'face',\n 'shocked',\n 'totally',\n ],\n },\n {\n name: 'flushed',\n code: '😳',\n keywords: [\n 'flushed',\n 'dazed',\n 'face',\n ],\n },\n {\n name: 'pleading_face',\n code: '🥺',\n keywords: [\n 'puppy',\n 'eyes',\n 'pleading_face',\n ],\n },\n {\n name: 'frowning',\n code: '😦',\n keywords: [\n 'frowning',\n 'face',\n 'frown',\n 'mouth',\n 'open',\n ],\n },\n {\n name: 'anguished',\n code: '😧',\n keywords: [\n 'stunned',\n 'anguished',\n 'face',\n ],\n },\n {\n name: 'fearful',\n code: '😨',\n keywords: [\n 'scared',\n 'shocked',\n 'oops',\n 'fearful',\n 'face',\n 'fear',\n ],\n },\n {\n name: 'cold_sweat',\n code: '😰',\n keywords: [\n 'nervous',\n 'cold_sweat',\n 'blue',\n 'cold',\n 'face',\n 'mouth',\n 'open',\n 'rushed',\n 'sweat',\n ],\n },\n {\n name: 'disappointed_relieved',\n code: '😥',\n keywords: [\n 'phew',\n 'sweat',\n 'nervous',\n 'disappointed_relieved',\n 'disappointed',\n 'face',\n 'relieved',\n 'whew',\n ],\n },\n {\n name: 'cry',\n code: '😢',\n keywords: [\n 'sad',\n 'tear',\n 'cry',\n 'face',\n ],\n },\n {\n name: 'sob',\n code: '😭',\n keywords: [\n 'sad',\n 'cry',\n 'bawling',\n 'sob',\n 'face',\n 'tear',\n ],\n },\n {\n name: 'scream',\n code: '😱',\n keywords: [\n 'horror',\n 'shocked',\n 'scream',\n 'face',\n 'fear',\n 'fearful',\n 'munch',\n 'scared',\n ],\n },\n {\n name: 'confounded',\n code: '😖',\n keywords: [\n 'confounded',\n 'face',\n ],\n },\n {\n name: 'persevere',\n code: '😣',\n keywords: [\n 'struggling',\n 'persevere',\n 'face',\n ],\n },\n {\n name: 'disappointed',\n code: '😞',\n keywords: [\n 'sad',\n 'disappointed',\n 'face',\n ],\n },\n {\n name: 'sweat',\n code: '😓',\n keywords: [\n 'sweat',\n 'cold',\n 'face',\n ],\n },\n {\n name: 'weary',\n code: '😩',\n keywords: [\n 'tired',\n 'weary',\n 'face',\n ],\n },\n {\n name: 'tired_face',\n code: '😫',\n keywords: [\n 'upset',\n 'whine',\n 'tired_face',\n 'face',\n 'tired',\n ],\n },\n {\n name: 'yawning_face',\n code: '🥱',\n keywords: [\n 'yawning_face',\n ],\n },\n {\n name: 'triumph',\n code: '😤',\n keywords: [\n 'smug',\n 'triumph',\n 'face',\n 'won',\n ],\n },\n {\n name: 'rage',\n code: '😡',\n keywords: [\n 'angry',\n 'rage',\n 'pout',\n 'face',\n 'mad',\n 'pouting',\n 'red',\n ],\n },\n {\n name: 'angry',\n code: '😠',\n keywords: [\n 'mad',\n 'annoyed',\n 'angry',\n 'face',\n ],\n },\n {\n name: 'cursing_face',\n code: '🤬',\n keywords: [\n 'foul',\n 'cursing_face',\n ],\n },\n {\n name: 'smiling_imp',\n code: '😈',\n keywords: [\n 'devil',\n 'evil',\n 'horns',\n 'smiling_imp',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'smile',\n ],\n },\n {\n name: 'imp',\n code: '👿',\n keywords: [\n 'angry',\n 'devil',\n 'evil',\n 'horns',\n 'imp',\n 'demon',\n 'face',\n 'fairy tale',\n 'fantasy',\n ],\n },\n {\n name: 'skull',\n code: '💀',\n keywords: [\n 'dead',\n 'danger',\n 'poison',\n 'skull',\n 'body',\n 'death',\n 'face',\n 'fairy tale',\n 'monster',\n ],\n },\n {\n name: 'skull_and_crossbones',\n code: '☠️',\n keywords: [\n 'danger',\n 'pirate',\n 'skull_and_crossbones',\n 'body',\n 'crossbones',\n 'death',\n 'face',\n 'monster',\n 'skull',\n ],\n },\n {\n name: 'hankey',\n code: '💩',\n keywords: [\n 'crap',\n 'hankey',\n 'poop',\n 'shit',\n 'comic',\n 'dung',\n 'face',\n 'monster',\n 'poo',\n ],\n },\n {\n name: 'clown_face',\n code: '🤡',\n keywords: [\n 'clown_face',\n 'clown',\n 'face',\n ],\n },\n {\n name: 'japanese_ogre',\n code: '👹',\n keywords: [\n 'monster',\n 'japanese_ogre',\n 'creature',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'japanese',\n 'ogre',\n ],\n },\n {\n name: 'japanese_goblin',\n code: '👺',\n keywords: [\n 'japanese_goblin',\n 'creature',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'goblin',\n 'japanese',\n 'monster',\n ],\n },\n {\n name: 'ghost',\n code: '👻',\n keywords: [\n 'halloween',\n 'ghost',\n 'creature',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'monster',\n ],\n },\n {\n name: 'alien',\n code: '👽',\n keywords: [\n 'ufo',\n 'alien',\n 'creature',\n 'extraterrestrial',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'monster',\n 'space',\n ],\n },\n {\n name: 'space_invader',\n code: '👾',\n keywords: [\n 'game',\n 'retro',\n 'space_invader',\n 'alien',\n 'creature',\n 'extraterrestrial',\n 'face',\n 'fairy tale',\n 'fantasy',\n 'monster',\n 'space',\n 'ufo',\n ],\n },\n {\n name: 'robot',\n code: '🤖',\n keywords: [\n 'robot',\n 'face',\n 'monster',\n ],\n },\n {\n name: 'smiley_cat',\n code: '😺',\n keywords: [\n 'smiley_cat',\n 'cat',\n 'face',\n 'mouth',\n 'open',\n 'smile',\n ],\n },\n {\n name: 'smile_cat',\n code: '😸',\n keywords: [\n 'smile_cat',\n 'cat',\n 'eye',\n 'face',\n 'grin',\n 'smile',\n ],\n },\n {\n name: 'joy_cat',\n code: '😹',\n keywords: [\n 'joy_cat',\n 'cat',\n 'face',\n 'joy',\n 'tear',\n ],\n },\n {\n name: 'heart_eyes_cat',\n code: '😻',\n keywords: [\n 'heart_eyes_cat',\n 'cat',\n 'eye',\n 'face',\n 'heart',\n 'love',\n 'smile',\n ],\n },\n {\n name: 'smirk_cat',\n code: '😼',\n keywords: [\n 'smirk_cat',\n 'cat',\n 'face',\n 'ironic',\n 'smile',\n 'wry',\n ],\n },\n {\n name: 'kissing_cat',\n code: '😽',\n keywords: [\n 'kissing_cat',\n 'cat',\n 'eye',\n 'face',\n 'kiss',\n ],\n },\n {\n name: 'scream_cat',\n code: '🙀',\n keywords: [\n 'horror',\n 'scream_cat',\n 'cat',\n 'face',\n 'oh',\n 'surprised',\n 'weary',\n ],\n },\n {\n name: 'crying_cat_face',\n code: '😿',\n keywords: [\n 'sad',\n 'tear',\n 'crying_cat_face',\n 'cat',\n 'cry',\n 'face',\n ],\n },\n {\n name: 'pouting_cat',\n code: '😾',\n keywords: [\n 'pouting_cat',\n 'cat',\n 'face',\n 'pouting',\n ],\n },\n {\n name: 'see_no_evil',\n code: '🙈',\n keywords: [\n 'monkey',\n 'blind',\n 'ignore',\n 'see_no_evil',\n 'evil',\n 'face',\n 'forbidden',\n 'gesture',\n 'no',\n 'not',\n 'prohibited',\n 'see',\n ],\n },\n {\n name: 'hear_no_evil',\n code: '🙉',\n keywords: [\n 'monkey',\n 'deaf',\n 'hear_no_evil',\n 'evil',\n 'face',\n 'forbidden',\n 'gesture',\n 'hear',\n 'no',\n 'not',\n 'prohibited',\n ],\n },\n {\n name: 'speak_no_evil',\n code: '🙊',\n keywords: [\n 'monkey',\n 'mute',\n 'hush',\n 'speak_no_evil',\n 'evil',\n 'face',\n 'forbidden',\n 'gesture',\n 'no',\n 'not',\n 'prohibited',\n 'speak',\n ],\n },\n {\n name: 'kiss',\n code: '💋',\n keywords: [\n 'lipstick',\n 'kiss',\n 'heart',\n 'lips',\n 'mark',\n 'romance',\n ],\n },\n {\n name: 'love_letter',\n code: '💌',\n keywords: [\n 'email',\n 'envelope',\n 'love_letter',\n 'heart',\n 'letter',\n 'love',\n 'mail',\n 'romance',\n ],\n },\n {\n name: 'cupid',\n code: '💘',\n keywords: [\n 'love',\n 'heart',\n 'cupid',\n 'arrow',\n 'romance',\n ],\n },\n {\n name: 'gift_heart',\n code: '💝',\n keywords: [\n 'chocolates',\n 'gift_heart',\n 'heart',\n 'ribbon',\n 'valentine',\n ],\n },\n {\n name: 'sparkling_heart',\n code: '💖',\n keywords: [\n 'sparkling_heart',\n 'excited',\n 'heart',\n 'sparkle',\n ],\n },\n {\n name: 'heartpulse',\n code: '💗',\n keywords: [\n 'heartpulse',\n 'excited',\n 'growing',\n 'heart',\n 'nervous',\n ],\n },\n {\n name: 'heartbeat',\n code: '💓',\n keywords: [\n 'heartbeat',\n 'beating',\n 'heart',\n 'pulsating',\n ],\n },\n {\n name: 'revolving_hearts',\n code: '💞',\n keywords: [\n 'revolving_hearts',\n 'heart',\n 'revolving',\n ],\n },\n {\n name: 'two_hearts',\n code: '💕',\n keywords: [\n 'two_hearts',\n 'heart',\n 'love',\n ],\n },\n {\n name: 'heart_decoration',\n code: '💟',\n keywords: [\n 'heart_decoration',\n 'heart',\n ],\n },\n {\n name: 'heavy_heart_exclamation',\n code: '❣️',\n keywords: [\n 'heavy_heart_exclamation',\n 'exclamation',\n 'heart',\n 'mark',\n 'punctuation',\n ],\n },\n {\n name: 'broken_heart',\n code: '💔',\n keywords: [\n 'broken_heart',\n 'break',\n 'broken',\n 'heart',\n ],\n },\n {\n name: 'heart_on_fire',\n code: '❤️‍🔥',\n keywords: [\n 'heart_on_fire',\n ],\n },\n {\n name: 'mending_heart',\n code: '❤️‍🩹',\n keywords: [\n 'mending_heart',\n ],\n },\n {\n name: 'heart',\n code: '❤️',\n keywords: [\n 'love',\n 'heart',\n ],\n },\n {\n name: 'orange_heart',\n code: '🧡',\n keywords: [\n 'orange_heart',\n ],\n },\n {\n name: 'yellow_heart',\n code: '💛',\n keywords: [\n 'yellow_heart',\n 'heart',\n 'yellow',\n ],\n },\n {\n name: 'green_heart',\n code: '💚',\n keywords: [\n 'green_heart',\n 'green',\n 'heart',\n ],\n },\n {\n name: 'blue_heart',\n code: '💙',\n keywords: [\n 'blue_heart',\n 'blue',\n 'heart',\n ],\n },\n {\n name: 'purple_heart',\n code: '💜',\n keywords: [\n 'purple_heart',\n 'heart',\n 'purple',\n ],\n },\n {\n name: 'brown_heart',\n code: '🤎',\n keywords: [\n 'brown_heart',\n ],\n },\n {\n name: 'black_heart',\n code: '🖤',\n keywords: [\n 'black_heart',\n 'black',\n 'evil',\n 'heart',\n 'wicked',\n ],\n },\n {\n name: 'white_heart',\n code: '🤍',\n keywords: [\n 'white_heart',\n ],\n },\n {\n name: '100',\n code: '💯',\n keywords: [\n 'score',\n 'perfect',\n '100',\n 'full',\n 'hundred',\n ],\n },\n {\n name: 'anger',\n code: '💢',\n keywords: [\n 'angry',\n 'anger',\n 'comic',\n 'mad',\n ],\n },\n {\n name: 'boom',\n code: '💥',\n keywords: [\n 'explode',\n 'boom',\n 'collision',\n 'comic',\n ],\n },\n {\n name: 'dizzy',\n code: '💫',\n keywords: [\n 'star',\n 'dizzy',\n 'comic',\n ],\n },\n {\n name: 'sweat_drops',\n code: '💦',\n keywords: [\n 'water',\n 'workout',\n 'sweat_drops',\n 'comic',\n 'splashing',\n 'sweat',\n ],\n },\n {\n name: 'dash',\n code: '💨',\n keywords: [\n 'wind',\n 'blow',\n 'fast',\n 'dash',\n 'comic',\n 'running',\n ],\n },\n {\n name: 'hole',\n code: '🕳️',\n keywords: [\n 'hole',\n ],\n },\n {\n name: 'bomb',\n code: '💣',\n keywords: [\n 'boom',\n 'bomb',\n 'comic',\n ],\n },\n {\n name: 'speech_balloon',\n code: '💬',\n keywords: [\n 'comment',\n 'speech_balloon',\n 'balloon',\n 'bubble',\n 'comic',\n 'dialog',\n 'speech',\n ],\n },\n {\n name: 'eye_speech_bubble',\n code: '👁️‍🗨️',\n keywords: [\n 'eye_speech_bubble',\n ],\n },\n {\n name: 'left_speech_bubble',\n code: '🗨️',\n keywords: [\n 'left_speech_bubble',\n ],\n },\n {\n name: 'right_anger_bubble',\n code: '🗯️',\n keywords: [\n 'right_anger_bubble',\n ],\n },\n {\n name: 'thought_balloon',\n code: '💭',\n keywords: [\n 'thinking',\n 'thought_balloon',\n 'balloon',\n 'bubble',\n 'comic',\n 'thought',\n ],\n },\n {\n name: 'zzz',\n code: '💤',\n keywords: [\n 'sleeping',\n 'zzz',\n 'comic',\n 'sleep',\n ],\n },\n {\n name: 'wave',\n code: '👋',\n keywords: [\n 'goodbye',\n 'wave',\n 'body',\n 'hand',\n 'waving',\n ],\n types: [\n '👋🏿',\n '👋🏾',\n '👋🏽',\n '👋🏼',\n '👋🏻',\n ],\n },\n {\n name: 'raised_back_of_hand',\n code: '🤚',\n keywords: [\n 'raised_back_of_hand',\n 'backhand',\n 'raised',\n ],\n types: [\n '🤚🏿',\n '🤚🏾',\n '🤚🏽',\n '🤚🏼',\n '🤚🏻',\n ],\n },\n {\n name: 'raised_hand_with_fingers_splayed',\n code: '🖐️',\n keywords: [\n 'raised_hand_with_fingers_splayed',\n ],\n types: [\n '🖐🏿',\n '🖐🏾',\n '🖐🏽',\n '🖐🏼',\n '🖐🏻',\n ],\n },\n {\n name: 'hand',\n code: '✋',\n keywords: [\n 'highfive',\n 'stop',\n 'hand',\n 'raised_hand',\n 'body',\n ],\n types: [\n '✋🏿',\n '✋🏾',\n '✋🏽',\n '✋🏼',\n '✋🏻',\n ],\n },\n {\n name: 'vulcan_salute',\n code: '🖖',\n keywords: [\n 'prosper',\n 'spock',\n 'vulcan_salute',\n 'body',\n 'finger',\n 'hand',\n 'vulcan',\n ],\n types: [\n '🖖🏿',\n '🖖🏾',\n '🖖🏽',\n '🖖🏼',\n '🖖🏻',\n ],\n },\n {\n name: 'ok_hand',\n code: '👌',\n keywords: [\n 'ok_hand',\n 'body',\n 'hand',\n 'ok',\n ],\n types: [\n '👌🏿',\n '👌🏾',\n '👌🏽',\n '👌🏼',\n '👌🏻',\n ],\n },\n {\n name: 'pinched_fingers',\n code: '🤌',\n keywords: [\n 'pinched_fingers',\n ],\n types: [\n '🤌🏿',\n '🤌🏾',\n '🤌🏽',\n '🤌🏼',\n '🤌🏻',\n ],\n },\n {\n name: 'pinching_hand',\n code: '🤏',\n keywords: [\n 'pinching_hand',\n ],\n types: [\n '🤏🏿',\n '🤏🏾',\n '🤏🏽',\n '🤏🏼',\n '🤏🏻',\n ],\n },\n {\n name: 'v',\n code: '✌️',\n keywords: [\n 'victory',\n 'peace',\n 'v',\n ],\n types: [\n '✌🏿',\n '✌🏾',\n '✌🏽',\n '✌🏼',\n '✌🏻',\n ],\n },\n {\n name: 'crossed_fingers',\n code: '🤞',\n keywords: [\n 'luck',\n 'hopeful',\n 'crossed_fingers',\n 'cross',\n 'finger',\n 'hand',\n ],\n types: [\n '🤞🏿',\n '🤞🏾',\n '🤞🏽',\n '🤞🏼',\n '🤞🏻',\n ],\n },\n {\n name: 'love_you_gesture',\n code: '🤟',\n keywords: [\n 'love_you_gesture',\n ],\n types: [\n '🤟🏿',\n '🤟🏾',\n '🤟🏽',\n '🤟🏼',\n '🤟🏻',\n ],\n },\n {\n name: 'metal',\n code: '🤘',\n keywords: [\n 'metal',\n 'body',\n 'finger',\n 'hand',\n 'horns',\n 'rock-on',\n ],\n types: [\n '🤘🏿',\n '🤘🏾',\n '🤘🏽',\n '🤘🏼',\n '🤘🏻',\n ],\n },\n {\n name: 'call_me_hand',\n code: '🤙',\n keywords: [\n 'call_me_hand',\n 'call',\n 'hand',\n 'shaka',\n ],\n types: [\n '🤙🏿',\n '🤙🏾',\n '🤙🏽',\n '🤙🏼',\n '🤙🏻',\n ],\n },\n {\n name: 'point_left',\n code: '👈',\n keywords: [\n 'point_left',\n 'backhand',\n 'body',\n 'finger',\n 'hand',\n 'index',\n 'point',\n ],\n types: [\n '👈🏿',\n '👈🏾',\n '👈🏽',\n '👈🏼',\n '👈🏻',\n ],\n },\n {\n name: 'point_right',\n code: '👉',\n keywords: [\n 'point_right',\n 'backhand',\n 'body',\n 'finger',\n 'hand',\n 'index',\n 'point',\n ],\n types: [\n '👉🏿',\n '👉🏾',\n '👉🏽',\n '👉🏼',\n '👉🏻',\n ],\n },\n {\n name: 'point_up_2',\n code: '👆',\n keywords: [\n 'point_up_2',\n 'backhand',\n 'body',\n 'finger',\n 'hand',\n 'index',\n 'point',\n 'up',\n ],\n types: [\n '👆🏿',\n '👆🏾',\n '👆🏽',\n '👆🏼',\n '👆🏻',\n ],\n },\n {\n name: 'middle_finger',\n code: '🖕',\n keywords: [\n 'middle_finger',\n 'fu',\n 'body',\n 'finger',\n 'hand',\n 'middle finger',\n ],\n types: [\n '🖕🏿',\n '🖕🏾',\n '🖕🏽',\n '🖕🏼',\n '🖕🏻',\n ],\n },\n {\n name: 'point_down',\n code: '👇',\n keywords: [\n 'point_down',\n 'backhand',\n 'body',\n 'down',\n 'finger',\n 'hand',\n 'index',\n 'point',\n ],\n types: [\n '👇🏿',\n '👇🏾',\n '👇🏽',\n '👇🏼',\n '👇🏻',\n ],\n },\n {\n name: 'point_up',\n code: '☝️',\n keywords: [\n 'point_up',\n ],\n types: [\n '☝🏿',\n '☝🏾',\n '☝🏽',\n '☝🏼',\n '☝🏻',\n ],\n },\n {\n name: '+1',\n code: '👍',\n keywords: [\n 'approve',\n 'ok',\n '+1',\n 'thumbsup',\n 'body',\n 'hand',\n 'thumb',\n 'thumbs up',\n 'up',\n ],\n types: [\n '👍🏿',\n '👍🏾',\n '👍🏽',\n '👍🏼',\n '👍🏻',\n ],\n },\n {\n name: '-1',\n code: '👎',\n keywords: [\n 'disapprove',\n 'bury',\n '-1',\n 'thumbsdown',\n 'body',\n 'down',\n 'hand',\n 'thumb',\n 'thumbs down',\n ],\n types: [\n '👎🏿',\n '👎🏾',\n '👎🏽',\n '👎🏼',\n '👎🏻',\n ],\n },\n {\n name: 'fist_raised',\n code: '✊',\n keywords: [\n 'power',\n 'fist_raised',\n 'fist',\n 'body',\n 'clenched',\n 'hand',\n 'punch',\n ],\n types: [\n '✊🏿',\n '✊🏾',\n '✊🏽',\n '✊🏼',\n '✊🏻',\n ],\n },\n {\n name: 'fist_oncoming',\n code: '👊',\n keywords: [\n 'attack',\n 'fist_oncoming',\n 'facepunch',\n 'punch',\n 'body',\n 'clenched',\n 'fist',\n 'hand',\n ],\n types: [\n '👊🏿',\n '👊🏾',\n '👊🏽',\n '👊🏼',\n '👊🏻',\n ],\n },\n {\n name: 'fist_left',\n code: '🤛',\n keywords: [\n 'fist_left',\n 'fist',\n 'leftwards',\n ],\n types: [\n '🤛🏿',\n '🤛🏾',\n '🤛🏽',\n '🤛🏼',\n '🤛🏻',\n ],\n },\n {\n name: 'fist_right',\n code: '🤜',\n keywords: [\n 'fist_right',\n 'fist',\n 'rightwards',\n ],\n types: [\n '🤜🏿',\n '🤜🏾',\n '🤜🏽',\n '🤜🏼',\n '🤜🏻',\n ],\n },\n {\n name: 'clap',\n code: '👏',\n keywords: [\n 'praise',\n 'applause',\n 'clap',\n 'body',\n 'hand',\n ],\n types: [\n '👏🏿',\n '👏🏾',\n '👏🏽',\n '👏🏼',\n '👏🏻',\n ],\n },\n {\n name: 'raised_hands',\n code: '🙌',\n keywords: [\n 'hooray',\n 'raised_hands',\n 'body',\n 'celebration',\n 'gesture',\n 'hand',\n 'raised',\n ],\n types: [\n '🙌🏿',\n '🙌🏾',\n '🙌🏽',\n '🙌🏼',\n '🙌🏻',\n ],\n },\n {\n name: 'open_hands',\n code: '👐',\n keywords: [\n 'open_hands',\n 'body',\n 'hand',\n 'open',\n ],\n types: [\n '👐🏿',\n '👐🏾',\n '👐🏽',\n '👐🏼',\n '👐🏻',\n ],\n },\n {\n name: 'palms_up_together',\n code: '🤲',\n keywords: [\n 'palms_up_together',\n ],\n types: [\n '🤲🏿',\n '🤲🏾',\n '🤲🏽',\n '🤲🏼',\n '🤲🏻',\n ],\n },\n {\n name: 'handshake',\n code: '🤝',\n keywords: [\n 'deal',\n 'handshake',\n 'agreement',\n 'hand',\n 'meeting',\n 'shake',\n ],\n types: [\n '🤝🏿',\n '🤝🏾',\n '🤝🏽',\n '🤝🏼',\n '🤝🏻',\n ],\n },\n {\n name: 'pray',\n code: '🙏',\n keywords: [\n 'please',\n 'hope',\n 'wish',\n 'pray',\n 'ask',\n 'body',\n 'bow',\n 'folded',\n 'gesture',\n 'hand',\n 'thanks',\n ],\n types: [\n '🙏🏿',\n '🙏🏾',\n '🙏🏽',\n '🙏🏼',\n '🙏🏻',\n ],\n },\n {\n name: 'writing_hand',\n code: '✍️',\n keywords: [\n 'writing_hand',\n ],\n types: [\n '✍🏿',\n '✍🏾',\n '✍🏽',\n '✍🏼',\n '✍🏻',\n ],\n },\n {\n name: 'nail_care',\n code: '💅',\n keywords: [\n 'beauty',\n 'manicure',\n 'nail_care',\n 'body',\n 'care',\n 'cosmetics',\n 'nail',\n 'polish',\n ],\n types: [\n '💅🏿',\n '💅🏾',\n '💅🏽',\n '💅🏼',\n '💅🏻',\n ],\n },\n {\n name: 'selfie',\n code: '🤳',\n keywords: [\n 'selfie',\n 'camera',\n 'phone',\n ],\n types: [\n '🤳🏿',\n '🤳🏾',\n '🤳🏽',\n '🤳🏼',\n '🤳🏻',\n ],\n },\n {\n name: 'muscle',\n code: '💪',\n keywords: [\n 'flex',\n 'bicep',\n 'strong',\n 'workout',\n 'muscle',\n 'biceps',\n 'body',\n 'comic',\n ],\n types: [\n '💪🏿',\n '💪🏾',\n '💪🏽',\n '💪🏼',\n '💪🏻',\n ],\n },\n {\n name: 'mechanical_arm',\n code: '🦾',\n keywords: [\n 'mechanical_arm',\n ],\n },\n {\n name: 'mechanical_leg',\n code: '🦿',\n keywords: [\n 'mechanical_leg',\n ],\n },\n {\n name: 'leg',\n code: '🦵',\n keywords: [\n 'leg',\n ],\n types: [\n '🦵🏿',\n '🦵🏾',\n '🦵🏽',\n '🦵🏼',\n '🦵🏻',\n ],\n },\n {\n name: 'foot',\n code: '🦶',\n keywords: [\n 'foot',\n ],\n types: [\n '🦶🏿',\n '🦶🏾',\n '🦶🏽',\n '🦶🏼',\n '🦶🏻',\n ],\n },\n {\n name: 'ear',\n code: '👂',\n keywords: [\n 'hear',\n 'sound',\n 'listen',\n 'ear',\n 'body',\n ],\n types: [\n '👂🏿',\n '👂🏾',\n '👂🏽',\n '👂🏼',\n '👂🏻',\n ],\n },\n {\n name: 'ear_with_hearing_aid',\n code: '🦻',\n keywords: [\n 'ear_with_hearing_aid',\n ],\n types: [\n '🦻🏿',\n '🦻🏾',\n '🦻🏽',\n '🦻🏼',\n '🦻🏻',\n ],\n },\n {\n name: 'nose',\n code: '👃',\n keywords: [\n 'smell',\n 'nose',\n 'body',\n ],\n types: [\n '👃🏿',\n '👃🏾',\n '👃🏽',\n '👃🏼',\n '👃🏻',\n ],\n },\n {\n name: 'brain',\n code: '🧠',\n keywords: [\n 'brain',\n ],\n },\n {\n name: 'anatomical_heart',\n code: '🫀',\n keywords: [\n 'anatomical_heart',\n ],\n },\n {\n name: 'lungs',\n code: '🫁',\n keywords: [\n 'lungs',\n ],\n },\n {\n name: 'tooth',\n code: '🦷',\n keywords: [\n 'tooth',\n ],\n },\n {\n name: 'bone',\n code: '🦴',\n keywords: [\n 'bone',\n ],\n },\n {\n name: 'eyes',\n code: '👀',\n keywords: [\n 'look',\n 'see',\n 'watch',\n 'eyes',\n 'body',\n 'eye',\n 'face',\n ],\n },\n {\n name: 'eye',\n code: '👁️',\n keywords: [\n 'eye',\n ],\n },\n {\n name: 'tongue',\n code: '👅',\n keywords: [\n 'taste',\n 'tongue',\n 'body',\n ],\n },\n {\n name: 'lips',\n code: '👄',\n keywords: [\n 'kiss',\n 'lips',\n 'body',\n 'mouth',\n ],\n },\n {\n name: 'baby',\n code: '👶',\n keywords: [\n 'child',\n 'newborn',\n 'baby',\n ],\n types: [\n '👶🏿',\n '👶🏾',\n '👶🏽',\n '👶🏼',\n '👶🏻',\n ],\n },\n {\n name: 'child',\n code: '🧒',\n keywords: [\n 'child',\n ],\n types: [\n '🧒🏿',\n '🧒🏾',\n '🧒🏽',\n '🧒🏼',\n '🧒🏻',\n ],\n },\n {\n name: 'boy',\n code: '👦',\n keywords: [\n 'child',\n 'boy',\n ],\n types: [\n '👦🏿',\n '👦🏾',\n '👦🏽',\n '👦🏼',\n '👦🏻',\n ],\n },\n {\n name: 'girl',\n code: '👧',\n keywords: [\n 'child',\n 'girl',\n 'maiden',\n 'virgin',\n 'virgo',\n 'zodiac',\n ],\n types: [\n '👧🏿',\n '👧🏾',\n '👧🏽',\n '👧🏼',\n '👧🏻',\n ],\n },\n {\n name: 'adult',\n code: '🧑',\n keywords: [\n 'adult',\n ],\n types: [\n '🧑🏿',\n '🧑🏾',\n '🧑🏽',\n '🧑🏼',\n '🧑🏻',\n ],\n },\n {\n name: 'blond_haired_person',\n code: '👱',\n keywords: [\n 'blond_haired_person',\n 'blond',\n ],\n types: [\n '👱🏿',\n '👱🏾',\n '👱🏽',\n '👱🏼',\n '👱🏻',\n ],\n },\n {\n name: 'man',\n code: '👨',\n keywords: [\n 'mustache',\n 'father',\n 'dad',\n 'man',\n ],\n types: [\n '👨🏿',\n '👨🏾',\n '👨🏽',\n '👨🏼',\n '👨🏻',\n ],\n },\n {\n name: 'bearded_person',\n code: '🧔',\n keywords: [\n 'bearded_person',\n ],\n types: [\n '🧔🏿',\n '🧔🏾',\n '🧔🏽',\n '🧔🏼',\n '🧔🏻',\n ],\n },\n {\n name: 'man_beard',\n code: '🧔‍♂️',\n keywords: [\n 'man_beard',\n ],\n types: [\n '🧔🏿‍♂️',\n '🧔🏾‍♂️',\n '🧔🏽‍♂️',\n '🧔🏼‍♂️',\n '🧔🏻‍♂️',\n ],\n },\n {\n name: 'woman_beard',\n code: '🧔‍♀️',\n keywords: [\n 'woman_beard',\n ],\n types: [\n '🧔🏿‍♀️',\n '🧔🏾‍♀️',\n '🧔🏽‍♀️',\n '🧔🏼‍♀️',\n '🧔🏻‍♀️',\n ],\n },\n {\n name: 'red_haired_man',\n code: '👨‍🦰',\n keywords: [\n 'red_haired_man',\n ],\n types: [\n '👨🏿‍🦰',\n '👨🏾‍🦰',\n '👨🏽‍🦰',\n '👨🏼‍🦰',\n '👨🏻‍🦰',\n ],\n },\n {\n name: 'curly_haired_man',\n code: '👨‍🦱',\n keywords: [\n 'curly_haired_man',\n ],\n types: [\n '👨🏿‍🦱',\n '👨🏾‍🦱',\n '👨🏽‍🦱',\n '👨🏼‍🦱',\n '👨🏻‍🦱',\n ],\n },\n {\n name: 'white_haired_man',\n code: '👨‍🦳',\n keywords: [\n 'white_haired_man',\n ],\n types: [\n '👨🏿‍🦳',\n '👨🏾‍🦳',\n '👨🏽‍🦳',\n '👨🏼‍🦳',\n '👨🏻‍🦳',\n ],\n },\n {\n name: 'bald_man',\n code: '👨‍🦲',\n keywords: [\n 'bald_man',\n ],\n types: [\n '👨🏿‍🦲',\n '👨🏾‍🦲',\n '👨🏽‍🦲',\n '👨🏼‍🦲',\n '👨🏻‍🦲',\n ],\n },\n {\n name: 'woman',\n code: '👩',\n keywords: [\n 'girls',\n 'woman',\n ],\n types: [\n '👩🏿',\n '👩🏾',\n '👩🏽',\n '👩🏼',\n '👩🏻',\n ],\n },\n {\n name: 'red_haired_woman',\n code: '👩‍🦰',\n keywords: [\n 'red_haired_woman',\n ],\n types: [\n '👩🏿‍🦰',\n '👩🏾‍🦰',\n '👩🏽‍🦰',\n '👩🏼‍🦰',\n '👩🏻‍🦰',\n ],\n },\n {\n name: 'person_red_hair',\n code: '🧑‍🦰',\n keywords: [\n 'person_red_hair',\n ],\n types: [\n '🧑🏿‍🦰',\n '🧑🏾‍🦰',\n '🧑🏽‍🦰',\n '🧑🏼‍🦰',\n '🧑🏻‍🦰',\n ],\n },\n {\n name: 'curly_haired_woman',\n code: '👩‍🦱',\n keywords: [\n 'curly_haired_woman',\n ],\n types: [\n '👩🏿‍🦱',\n '👩🏾‍🦱',\n '👩🏽‍🦱',\n '👩🏼‍🦱',\n '👩🏻‍🦱',\n ],\n },\n {\n name: 'person_curly_hair',\n code: '🧑‍🦱',\n keywords: [\n 'person_curly_hair',\n ],\n types: [\n '🧑🏿‍🦱',\n '🧑🏾‍🦱',\n '🧑🏽‍🦱',\n '🧑🏼‍🦱',\n '🧑🏻‍🦱',\n ],\n },\n {\n name: 'white_haired_woman',\n code: '👩‍🦳',\n keywords: [\n 'white_haired_woman',\n ],\n types: [\n '👩🏿‍🦳',\n '👩🏾‍🦳',\n '👩🏽‍🦳',\n '👩🏼‍🦳',\n '👩🏻‍🦳',\n ],\n },\n {\n name: 'person_white_hair',\n code: '🧑‍🦳',\n keywords: [\n 'person_white_hair',\n ],\n types: [\n '🧑🏿‍🦳',\n '🧑🏾‍🦳',\n '🧑🏽‍🦳',\n '🧑🏼‍🦳',\n '🧑🏻‍🦳',\n ],\n },\n {\n name: 'bald_woman',\n code: '👩‍🦲',\n keywords: [\n 'bald_woman',\n ],\n types: [\n '👩🏿‍🦲',\n '👩🏾‍🦲',\n '👩🏽‍🦲',\n '👩🏼‍🦲',\n '👩🏻‍🦲',\n ],\n },\n {\n name: 'person_bald',\n code: '🧑‍🦲',\n keywords: [\n 'person_bald',\n ],\n types: [\n '🧑🏿‍🦲',\n '🧑🏾‍🦲',\n '🧑🏽‍🦲',\n '🧑🏼‍🦲',\n '🧑🏻‍🦲',\n ],\n },\n {\n name: 'blond_haired_woman',\n code: '👱‍♀️',\n keywords: [\n 'blond_haired_woman',\n 'blonde_woman',\n ],\n types: [\n '👱🏿‍♀️',\n '👱🏾‍♀️',\n '👱🏽‍♀️',\n '👱🏼‍♀️',\n '👱🏻‍♀️',\n ],\n },\n {\n name: 'blond_haired_man',\n code: '👱‍♂️',\n keywords: [\n 'blond_haired_man',\n ],\n types: [\n '👱🏿‍♂️',\n '👱🏾‍♂️',\n '👱🏽‍♂️',\n '👱🏼‍♂️',\n '👱🏻‍♂️',\n ],\n },\n {\n name: 'older_adult',\n code: '🧓',\n keywords: [\n 'older_adult',\n ],\n types: [\n '🧓🏿',\n '🧓🏾',\n '🧓🏽',\n '🧓🏼',\n '🧓🏻',\n ],\n },\n {\n name: 'older_man',\n code: '👴',\n keywords: [\n 'older_man',\n 'man',\n 'old',\n ],\n types: [\n '👴🏿',\n '👴🏾',\n '👴🏽',\n '👴🏼',\n '👴🏻',\n ],\n },\n {\n name: 'older_woman',\n code: '👵',\n keywords: [\n 'older_woman',\n 'old',\n 'woman',\n ],\n types: [\n '👵🏿',\n '👵🏾',\n '👵🏽',\n '👵🏼',\n '👵🏻',\n ],\n },\n {\n name: 'frowning_person',\n code: '🙍',\n keywords: [\n 'frowning_person',\n 'frown',\n 'gesture',\n ],\n types: [\n '🙍🏿',\n '🙍🏾',\n '🙍🏽',\n '🙍🏼',\n '🙍🏻',\n ],\n },\n {\n name: 'frowning_man',\n code: '🙍‍♂️',\n keywords: [\n 'frowning_man',\n ],\n types: [\n '🙍🏿‍♂️',\n '🙍🏾‍♂️',\n '🙍🏽‍♂️',\n '🙍🏼‍♂️',\n '🙍🏻‍♂️',\n ],\n },\n {\n name: 'frowning_woman',\n code: '🙍‍♀️',\n keywords: [\n 'frowning_woman',\n ],\n types: [\n '🙍🏿‍♀️',\n '🙍🏾‍♀️',\n '🙍🏽‍♀️',\n '🙍🏼‍♀️',\n '🙍🏻‍♀️',\n ],\n },\n {\n name: 'pouting_face',\n code: '🙎',\n keywords: [\n 'pouting_face',\n 'gesture',\n 'pouting',\n ],\n types: [\n '🙎🏿',\n '🙎🏾',\n '🙎🏽',\n '🙎🏼',\n '🙎🏻',\n ],\n },\n {\n name: 'pouting_man',\n code: '🙎‍♂️',\n keywords: [\n 'pouting_man',\n ],\n types: [\n '🙎🏿‍♂️',\n '🙎🏾‍♂️',\n '🙎🏽‍♂️',\n '🙎🏼‍♂️',\n '🙎🏻‍♂️',\n ],\n },\n {\n name: 'pouting_woman',\n code: '🙎‍♀️',\n keywords: [\n 'pouting_woman',\n ],\n types: [\n '🙎🏿‍♀️',\n '🙎🏾‍♀️',\n '🙎🏽‍♀️',\n '🙎🏼‍♀️',\n '🙎🏻‍♀️',\n ],\n },\n {\n name: 'no_good',\n code: '🙅',\n keywords: [\n 'stop',\n 'halt',\n 'denied',\n 'no_good',\n 'forbidden',\n 'gesture',\n 'hand',\n 'no',\n 'not',\n 'prohibited',\n ],\n types: [\n '🙅🏿',\n '🙅🏾',\n '🙅🏽',\n '🙅🏼',\n '🙅🏻',\n ],\n },\n {\n name: 'no_good_man',\n code: '🙅‍♂️',\n keywords: [\n 'stop',\n 'halt',\n 'denied',\n 'no_good_man',\n 'ng_man',\n ],\n types: [\n '🙅🏿‍♂️',\n '🙅🏾‍♂️',\n '🙅🏽‍♂️',\n '🙅🏼‍♂️',\n '🙅🏻‍♂️',\n ],\n },\n {\n name: 'no_good_woman',\n code: '🙅‍♀️',\n keywords: [\n 'stop',\n 'halt',\n 'denied',\n 'no_good_woman',\n 'ng_woman',\n ],\n types: [\n '🙅🏿‍♀️',\n '🙅🏾‍♀️',\n '🙅🏽‍♀️',\n '🙅🏼‍♀️',\n '🙅🏻‍♀️',\n ],\n },\n {\n name: 'ok_person',\n code: '🙆',\n keywords: [\n 'ok_person',\n 'gesture',\n 'hand',\n 'ok',\n ],\n types: [\n '🙆🏿',\n '🙆🏾',\n '🙆🏽',\n '🙆🏼',\n '🙆🏻',\n ],\n },\n {\n name: 'ok_man',\n code: '🙆‍♂️',\n keywords: [\n 'ok_man',\n ],\n types: [\n '🙆🏿‍♂️',\n '🙆🏾‍♂️',\n '🙆🏽‍♂️',\n '🙆🏼‍♂️',\n '🙆🏻‍♂️',\n ],\n },\n {\n name: 'ok_woman',\n code: '🙆‍♀️',\n keywords: [\n 'ok_woman',\n ],\n types: [\n '🙆🏿‍♀️',\n '🙆🏾‍♀️',\n '🙆🏽‍♀️',\n '🙆🏼‍♀️',\n '🙆🏻‍♀️',\n ],\n },\n {\n name: 'tipping_hand_person',\n code: '💁',\n keywords: [\n 'tipping_hand_person',\n 'information_desk_person',\n 'hand',\n 'help',\n 'information',\n 'sassy',\n ],\n types: [\n '💁🏿',\n '💁🏾',\n '💁🏽',\n '💁🏼',\n '💁🏻',\n ],\n },\n {\n name: 'tipping_hand_man',\n code: '💁‍♂️',\n keywords: [\n 'information',\n 'tipping_hand_man',\n 'sassy_man',\n ],\n types: [\n '💁🏿‍♂️',\n '💁🏾‍♂️',\n '💁🏽‍♂️',\n '💁🏼‍♂️',\n '💁🏻‍♂️',\n ],\n },\n {\n name: 'tipping_hand_woman',\n code: '💁‍♀️',\n keywords: [\n 'information',\n 'tipping_hand_woman',\n 'sassy_woman',\n ],\n types: [\n '💁🏿‍♀️',\n '💁🏾‍♀️',\n '💁🏽‍♀️',\n '💁🏼‍♀️',\n '💁🏻‍♀️',\n ],\n },\n {\n name: 'raising_hand',\n code: '🙋',\n keywords: [\n 'raising_hand',\n 'gesture',\n 'hand',\n 'happy',\n 'raised',\n ],\n types: [\n '🙋🏿',\n '🙋🏾',\n '🙋🏽',\n '🙋🏼',\n '🙋🏻',\n ],\n },\n {\n name: 'raising_hand_man',\n code: '🙋‍♂️',\n keywords: [\n 'raising_hand_man',\n ],\n types: [\n '🙋🏿‍♂️',\n '🙋🏾‍♂️',\n '🙋🏽‍♂️',\n '🙋🏼‍♂️',\n '🙋🏻‍♂️',\n ],\n },\n {\n name: 'raising_hand_woman',\n code: '🙋‍♀️',\n keywords: [\n 'raising_hand_woman',\n ],\n types: [\n '🙋🏿‍♀️',\n '🙋🏾‍♀️',\n '🙋🏽‍♀️',\n '🙋🏼‍♀️',\n '🙋🏻‍♀️',\n ],\n },\n {\n name: 'deaf_person',\n code: '🧏',\n keywords: [\n 'deaf_person',\n ],\n types: [\n '🧏🏿',\n '🧏🏾',\n '🧏🏽',\n '🧏🏼',\n '🧏🏻',\n ],\n },\n {\n name: 'deaf_man',\n code: '🧏‍♂️',\n keywords: [\n 'deaf_man',\n ],\n types: [\n '🧏🏿‍♂️',\n '🧏🏾‍♂️',\n '🧏🏽‍♂️',\n '🧏🏼‍♂️',\n '🧏🏻‍♂️',\n ],\n },\n {\n name: 'deaf_woman',\n code: '🧏‍♀️',\n keywords: [\n 'deaf_woman',\n ],\n types: [\n '🧏🏿‍♀️',\n '🧏🏾‍♀️',\n '🧏🏽‍♀️',\n '🧏🏼‍♀️',\n '🧏🏻‍♀️',\n ],\n },\n {\n name: 'bow',\n code: '🙇',\n keywords: [\n 'respect',\n 'thanks',\n 'bow',\n 'apology',\n 'gesture',\n 'sorry',\n ],\n types: [\n '🙇🏿',\n '🙇🏾',\n '🙇🏽',\n '🙇🏼',\n '🙇🏻',\n ],\n },\n {\n name: 'bowing_man',\n code: '🙇‍♂️',\n keywords: [\n 'respect',\n 'thanks',\n 'bowing_man',\n ],\n types: [\n '🙇🏿‍♂️',\n '🙇🏾‍♂️',\n '🙇🏽‍♂️',\n '🙇🏼‍♂️',\n '🙇🏻‍♂️',\n ],\n },\n {\n name: 'bowing_woman',\n code: '🙇‍♀️',\n keywords: [\n 'respect',\n 'thanks',\n 'bowing_woman',\n ],\n types: [\n '🙇🏿‍♀️',\n '🙇🏾‍♀️',\n '🙇🏽‍♀️',\n '🙇🏼‍♀️',\n '🙇🏻‍♀️',\n ],\n },\n {\n name: 'facepalm',\n code: '🤦',\n keywords: [\n 'facepalm',\n 'disbelief',\n 'exasperation',\n 'face',\n 'palm',\n ],\n types: [\n '🤦🏿',\n '🤦🏾',\n '🤦🏽',\n '🤦🏼',\n '🤦🏻',\n ],\n },\n {\n name: 'man_facepalming',\n code: '🤦‍♂️',\n keywords: [\n 'man_facepalming',\n ],\n types: [\n '🤦🏿‍♂️',\n '🤦🏾‍♂️',\n '🤦🏽‍♂️',\n '🤦🏼‍♂️',\n '🤦🏻‍♂️',\n ],\n },\n {\n name: 'woman_facepalming',\n code: '🤦‍♀️',\n keywords: [\n 'woman_facepalming',\n ],\n types: [\n '🤦🏿‍♀️',\n '🤦🏾‍♀️',\n '🤦🏽‍♀️',\n '🤦🏼‍♀️',\n '🤦🏻‍♀️',\n ],\n },\n {\n name: 'shrug',\n code: '🤷',\n keywords: [\n 'shrug',\n 'doubt',\n 'ignorance',\n 'indifference',\n ],\n types: [\n '🤷🏿',\n '🤷🏾',\n '🤷🏽',\n '🤷🏼',\n '🤷🏻',\n ],\n },\n {\n name: 'man_shrugging',\n code: '🤷‍♂️',\n keywords: [\n 'man_shrugging',\n ],\n types: [\n '🤷🏿‍♂️',\n '🤷🏾‍♂️',\n '🤷🏽‍♂️',\n '🤷🏼‍♂️',\n '🤷🏻‍♂️',\n ],\n },\n {\n name: 'woman_shrugging',\n code: '🤷‍♀️',\n keywords: [\n 'woman_shrugging',\n ],\n types: [\n '🤷🏿‍♀️',\n '🤷🏾‍♀️',\n '🤷🏽‍♀️',\n '🤷🏼‍♀️',\n '🤷🏻‍♀️',\n ],\n },\n {\n name: 'health_worker',\n code: '🧑‍⚕️',\n keywords: [\n 'health_worker',\n ],\n types: [\n '🧑🏿‍⚕️',\n '🧑🏾‍⚕️',\n '🧑🏽‍⚕️',\n '🧑🏼‍⚕️',\n '🧑🏻‍⚕️',\n ],\n },\n {\n name: 'man_health_worker',\n code: '👨‍⚕️',\n keywords: [\n 'doctor',\n 'nurse',\n 'man_health_worker',\n ],\n types: [\n '👨🏿‍⚕️',\n '👨🏾‍⚕️',\n '👨🏽‍⚕️',\n '👨🏼‍⚕️',\n '👨🏻‍⚕️',\n ],\n },\n {\n name: 'woman_health_worker',\n code: '👩‍⚕️',\n keywords: [\n 'doctor',\n 'nurse',\n 'woman_health_worker',\n ],\n types: [\n '👩🏿‍⚕️',\n '👩🏾‍⚕️',\n '👩🏽‍⚕️',\n '👩🏼‍⚕️',\n '👩🏻‍⚕️',\n ],\n },\n {\n name: 'student',\n code: '🧑‍🎓',\n keywords: [\n 'student',\n ],\n types: [\n '🧑🏿‍🎓',\n '🧑🏾‍🎓',\n '🧑🏽‍🎓',\n '🧑🏼‍🎓',\n '🧑🏻‍🎓',\n ],\n },\n {\n name: 'man_student',\n code: '👨‍🎓',\n keywords: [\n 'graduation',\n 'man_student',\n ],\n types: [\n '👨🏿‍🎓',\n '👨🏾‍🎓',\n '👨🏽‍🎓',\n '👨🏼‍🎓',\n '👨🏻‍🎓',\n ],\n },\n {\n name: 'woman_student',\n code: '👩‍🎓',\n keywords: [\n 'graduation',\n 'woman_student',\n ],\n types: [\n '👩🏿‍🎓',\n '👩🏾‍🎓',\n '👩🏽‍🎓',\n '👩🏼‍🎓',\n '👩🏻‍🎓',\n ],\n },\n {\n name: 'teacher',\n code: '🧑‍🏫',\n keywords: [\n 'teacher',\n ],\n types: [\n '🧑🏿‍🏫',\n '🧑🏾‍🏫',\n '🧑🏽‍🏫',\n '🧑🏼‍🏫',\n '🧑🏻‍🏫',\n ],\n },\n {\n name: 'man_teacher',\n code: '👨‍🏫',\n keywords: [\n 'school',\n 'professor',\n 'man_teacher',\n ],\n types: [\n '👨🏿‍🏫',\n '👨🏾‍🏫',\n '👨🏽‍🏫',\n '👨🏼‍🏫',\n '👨🏻‍🏫',\n ],\n },\n {\n name: 'woman_teacher',\n code: '👩‍🏫',\n keywords: [\n 'school',\n 'professor',\n 'woman_teacher',\n ],\n types: [\n '👩🏿‍🏫',\n '👩🏾‍🏫',\n '👩🏽‍🏫',\n '👩🏼‍🏫',\n '👩🏻‍🏫',\n ],\n },\n {\n name: 'judge',\n code: '🧑‍⚖️',\n keywords: [\n 'judge',\n ],\n types: [\n '🧑🏿‍⚖️',\n '🧑🏾‍⚖️',\n '🧑🏽‍⚖️',\n '🧑🏼‍⚖️',\n '🧑🏻‍⚖️',\n ],\n },\n {\n name: 'man_judge',\n code: '👨‍⚖️',\n keywords: [\n 'justice',\n 'man_judge',\n ],\n types: [\n '👨🏿‍⚖️',\n '👨🏾‍⚖️',\n '👨🏽‍⚖️',\n '👨🏼‍⚖️',\n '👨🏻‍⚖️',\n ],\n },\n {\n name: 'woman_judge',\n code: '👩‍⚖️',\n keywords: [\n 'justice',\n 'woman_judge',\n ],\n types: [\n '👩🏿‍⚖️',\n '👩🏾‍⚖️',\n '👩🏽‍⚖️',\n '👩🏼‍⚖️',\n '👩🏻‍⚖️',\n ],\n },\n {\n name: 'farmer',\n code: '🧑‍🌾',\n keywords: [\n 'farmer',\n ],\n types: [\n '🧑🏿‍🌾',\n '🧑🏾‍🌾',\n '🧑🏽‍🌾',\n '🧑🏼‍🌾',\n '🧑🏻‍🌾',\n ],\n },\n {\n name: 'man_farmer',\n code: '👨‍🌾',\n keywords: [\n 'man_farmer',\n ],\n types: [\n '👨🏿‍🌾',\n '👨🏾‍🌾',\n '👨🏽‍🌾',\n '👨🏼‍🌾',\n '👨🏻‍🌾',\n ],\n },\n {\n name: 'woman_farmer',\n code: '👩‍🌾',\n keywords: [\n 'woman_farmer',\n ],\n types: [\n '👩🏿‍🌾',\n '👩🏾‍🌾',\n '👩🏽‍🌾',\n '👩🏼‍🌾',\n '👩🏻‍🌾',\n ],\n },\n {\n name: 'cook',\n code: '🧑‍🍳',\n keywords: [\n 'cook',\n ],\n types: [\n '🧑🏿‍🍳',\n '🧑🏾‍🍳',\n '🧑🏽‍🍳',\n '🧑🏼‍🍳',\n '🧑🏻‍🍳',\n ],\n },\n {\n name: 'man_cook',\n code: '👨‍🍳',\n keywords: [\n 'chef',\n 'man_cook',\n ],\n types: [\n '👨🏿‍🍳',\n '👨🏾‍🍳',\n '👨🏽‍🍳',\n '👨🏼‍🍳',\n '👨🏻‍🍳',\n ],\n },\n {\n name: 'woman_cook',\n code: '👩‍🍳',\n keywords: [\n 'chef',\n 'woman_cook',\n ],\n types: [\n '👩🏿‍🍳',\n '👩🏾‍🍳',\n '👩🏽‍🍳',\n '👩🏼‍🍳',\n '👩🏻‍🍳',\n ],\n },\n {\n name: 'mechanic',\n code: '🧑‍🔧',\n keywords: [\n 'mechanic',\n ],\n types: [\n '🧑🏿‍🔧',\n '🧑🏾‍🔧',\n '🧑🏽‍🔧',\n '🧑🏼‍🔧',\n '🧑🏻‍🔧',\n ],\n },\n {\n name: 'man_mechanic',\n code: '👨‍🔧',\n keywords: [\n 'man_mechanic',\n ],\n types: [\n '👨🏿‍🔧',\n '👨🏾‍🔧',\n '👨🏽‍🔧',\n '👨🏼‍🔧',\n '👨🏻‍🔧',\n ],\n },\n {\n name: 'woman_mechanic',\n code: '👩‍🔧',\n keywords: [\n 'woman_mechanic',\n ],\n types: [\n '👩🏿‍🔧',\n '👩🏾‍🔧',\n '👩🏽‍🔧',\n '👩🏼‍🔧',\n '👩🏻‍🔧',\n ],\n },\n {\n name: 'factory_worker',\n code: '🧑‍🏭',\n keywords: [\n 'factory_worker',\n ],\n types: [\n '🧑🏿‍🏭',\n '🧑🏾‍🏭',\n '🧑🏽‍🏭',\n '🧑🏼‍🏭',\n '🧑🏻‍🏭',\n ],\n },\n {\n name: 'man_factory_worker',\n code: '👨‍🏭',\n keywords: [\n 'man_factory_worker',\n ],\n types: [\n '👨🏿‍🏭',\n '👨🏾‍🏭',\n '👨🏽‍🏭',\n '👨🏼‍🏭',\n '👨🏻‍🏭',\n ],\n },\n {\n name: 'woman_factory_worker',\n code: '👩‍🏭',\n keywords: [\n 'woman_factory_worker',\n ],\n types: [\n '👩🏿‍🏭',\n '👩🏾‍🏭',\n '👩🏽‍🏭',\n '👩🏼‍🏭',\n '👩🏻‍🏭',\n ],\n },\n {\n name: 'office_worker',\n code: '🧑‍💼',\n keywords: [\n 'office_worker',\n ],\n types: [\n '🧑🏿‍💼',\n '🧑🏾‍💼',\n '🧑🏽‍💼',\n '🧑🏼‍💼',\n '🧑🏻‍💼',\n ],\n },\n {\n name: 'man_office_worker',\n code: '👨‍💼',\n keywords: [\n 'business',\n 'man_office_worker',\n ],\n types: [\n '👨🏿‍💼',\n '👨🏾‍💼',\n '👨🏽‍💼',\n '👨🏼‍💼',\n '👨🏻‍💼',\n ],\n },\n {\n name: 'woman_office_worker',\n code: '👩‍💼',\n keywords: [\n 'business',\n 'woman_office_worker',\n ],\n types: [\n '👩🏿‍💼',\n '👩🏾‍💼',\n '👩🏽‍💼',\n '👩🏼‍💼',\n '👩🏻‍💼',\n ],\n },\n {\n name: 'scientist',\n code: '🧑‍🔬',\n keywords: [\n 'scientist',\n ],\n types: [\n '🧑🏿‍🔬',\n '🧑🏾‍🔬',\n '🧑🏽‍🔬',\n '🧑🏼‍🔬',\n '🧑🏻‍🔬',\n ],\n },\n {\n name: 'man_scientist',\n code: '👨‍🔬',\n keywords: [\n 'research',\n 'man_scientist',\n ],\n types: [\n '👨🏿‍🔬',\n '👨🏾‍🔬',\n '👨🏽‍🔬',\n '👨🏼‍🔬',\n '👨🏻‍🔬',\n ],\n },\n {\n name: 'woman_scientist',\n code: '👩‍🔬',\n keywords: [\n 'research',\n 'woman_scientist',\n ],\n types: [\n '👩🏿‍🔬',\n '👩🏾‍🔬',\n '👩🏽‍🔬',\n '👩🏼‍🔬',\n '👩🏻‍🔬',\n ],\n },\n {\n name: 'technologist',\n code: '🧑‍💻',\n keywords: [\n 'technologist',\n ],\n types: [\n '🧑🏿‍💻',\n '🧑🏾‍💻',\n '🧑🏽‍💻',\n '🧑🏼‍💻',\n '🧑🏻‍💻',\n ],\n },\n {\n name: 'man_technologist',\n code: '👨‍💻',\n keywords: [\n 'coder',\n 'man_technologist',\n ],\n types: [\n '👨🏿‍💻',\n '👨🏾‍💻',\n '👨🏽‍💻',\n '👨🏼‍💻',\n '👨🏻‍💻',\n ],\n },\n {\n name: 'woman_technologist',\n code: '👩‍💻',\n keywords: [\n 'coder',\n 'woman_technologist',\n ],\n types: [\n '👩🏿‍💻',\n '👩🏾‍💻',\n '👩🏽‍💻',\n '👩🏼‍💻',\n '👩🏻‍💻',\n ],\n },\n {\n name: 'singer',\n code: '🧑‍🎤',\n keywords: [\n 'singer',\n ],\n types: [\n '🧑🏿‍🎤',\n '🧑🏾‍🎤',\n '🧑🏽‍🎤',\n '🧑🏼‍🎤',\n '🧑🏻‍🎤',\n ],\n },\n {\n name: 'man_singer',\n code: '👨‍🎤',\n keywords: [\n 'rockstar',\n 'man_singer',\n ],\n types: [\n '👨🏿‍🎤',\n '👨🏾‍🎤',\n '👨🏽‍🎤',\n '👨🏼‍🎤',\n '👨🏻‍🎤',\n ],\n },\n {\n name: 'woman_singer',\n code: '👩‍🎤',\n keywords: [\n 'rockstar',\n 'woman_singer',\n ],\n types: [\n '👩🏿‍🎤',\n '👩🏾‍🎤',\n '👩🏽‍🎤',\n '👩🏼‍🎤',\n '👩🏻‍🎤',\n ],\n },\n {\n name: 'artist',\n code: '🧑‍🎨',\n keywords: [\n 'artist',\n ],\n types: [\n '🧑🏿‍🎨',\n '🧑🏾‍🎨',\n '🧑🏽‍🎨',\n '🧑🏼‍🎨',\n '🧑🏻‍🎨',\n ],\n },\n {\n name: 'man_artist',\n code: '👨‍🎨',\n keywords: [\n 'painter',\n 'man_artist',\n ],\n types: [\n '👨🏿‍🎨',\n '👨🏾‍🎨',\n '👨🏽‍🎨',\n '👨🏼‍🎨',\n '👨🏻‍🎨',\n ],\n },\n {\n name: 'woman_artist',\n code: '👩‍🎨',\n keywords: [\n 'painter',\n 'woman_artist',\n ],\n types: [\n '👩🏿‍🎨',\n '👩🏾‍🎨',\n '👩🏽‍🎨',\n '👩🏼‍🎨',\n '👩🏻‍🎨',\n ],\n },\n {\n name: 'pilot',\n code: '🧑‍✈️',\n keywords: [\n 'pilot',\n ],\n types: [\n '🧑🏿‍✈️',\n '🧑🏾‍✈️',\n '🧑🏽‍✈️',\n '🧑🏼‍✈️',\n '🧑🏻‍✈️',\n ],\n },\n {\n name: 'man_pilot',\n code: '👨‍✈️',\n keywords: [\n 'man_pilot',\n ],\n types: [\n '👨🏿‍✈️',\n '👨🏾‍✈️',\n '👨🏽‍✈️',\n '👨🏼‍✈️',\n '👨🏻‍✈️',\n ],\n },\n {\n name: 'woman_pilot',\n code: '👩‍✈️',\n keywords: [\n 'woman_pilot',\n ],\n types: [\n '👩🏿‍✈️',\n '👩🏾‍✈️',\n '👩🏽‍✈️',\n '👩🏼‍✈️',\n '👩🏻‍✈️',\n ],\n },\n {\n name: 'astronaut',\n code: '🧑‍🚀',\n keywords: [\n 'astronaut',\n ],\n types: [\n '🧑🏿‍🚀',\n '🧑🏾‍🚀',\n '🧑🏽‍🚀',\n '🧑🏼‍🚀',\n '🧑🏻‍🚀',\n ],\n },\n {\n name: 'man_astronaut',\n code: '👨‍🚀',\n keywords: [\n 'space',\n 'man_astronaut',\n ],\n types: [\n '👨🏿‍🚀',\n '👨🏾‍🚀',\n '👨🏽‍🚀',\n '👨🏼‍🚀',\n '👨🏻‍🚀',\n ],\n },\n {\n name: 'woman_astronaut',\n code: '👩‍🚀',\n keywords: [\n 'space',\n 'woman_astronaut',\n ],\n types: [\n '👩🏿‍🚀',\n '👩🏾‍🚀',\n '👩🏽‍🚀',\n '👩🏼‍🚀',\n '👩🏻‍🚀',\n ],\n },\n {\n name: 'firefighter',\n code: '🧑‍🚒',\n keywords: [\n 'firefighter',\n ],\n types: [\n '🧑🏿‍🚒',\n '🧑🏾‍🚒',\n '🧑🏽‍🚒',\n '🧑🏼‍🚒',\n '🧑🏻‍🚒',\n ],\n },\n {\n name: 'man_firefighter',\n code: '👨‍🚒',\n keywords: [\n 'man_firefighter',\n ],\n types: [\n '👨🏿‍🚒',\n '👨🏾‍🚒',\n '👨🏽‍🚒',\n '👨🏼‍🚒',\n '👨🏻‍🚒',\n ],\n },\n {\n name: 'woman_firefighter',\n code: '👩‍🚒',\n keywords: [\n 'woman_firefighter',\n ],\n types: [\n '👩🏿‍🚒',\n '👩🏾‍🚒',\n '👩🏽‍🚒',\n '👩🏼‍🚒',\n '👩🏻‍🚒',\n ],\n },\n {\n name: 'police_officer',\n code: '👮',\n keywords: [\n 'law',\n 'police_officer',\n 'cop',\n 'officer',\n 'police',\n ],\n types: [\n '👮🏿',\n '👮🏾',\n '👮🏽',\n '👮🏼',\n '👮🏻',\n ],\n },\n {\n name: 'policeman',\n code: '👮‍♂️',\n keywords: [\n 'law',\n 'cop',\n 'policeman',\n ],\n types: [\n '👮🏿‍♂️',\n '👮🏾‍♂️',\n '👮🏽‍♂️',\n '👮🏼‍♂️',\n '👮🏻‍♂️',\n ],\n },\n {\n name: 'policewoman',\n code: '👮‍♀️',\n keywords: [\n 'law',\n 'cop',\n 'policewoman',\n ],\n types: [\n '👮🏿‍♀️',\n '👮🏾‍♀️',\n '👮🏽‍♀️',\n '👮🏼‍♀️',\n '👮🏻‍♀️',\n ],\n },\n {\n name: 'detective',\n code: '🕵️',\n keywords: [\n 'sleuth',\n 'detective',\n ],\n types: [\n '🕵🏿',\n '🕵🏾',\n '🕵🏽',\n '🕵🏼',\n '🕵🏻',\n ],\n },\n {\n name: 'male_detective',\n code: '🕵️‍♂️',\n keywords: [\n 'sleuth',\n 'male_detective',\n ],\n types: [\n '🕵🏿‍♂️',\n '🕵🏾‍♂️',\n '🕵🏽‍♂️',\n '🕵🏼‍♂️',\n '🕵🏻‍♂️',\n ],\n },\n {\n name: 'female_detective',\n code: '🕵️‍♀️',\n keywords: [\n 'sleuth',\n 'female_detective',\n ],\n types: [\n '🕵🏿‍♀️',\n '🕵🏾‍♀️',\n '🕵🏽‍♀️',\n '🕵🏼‍♀️',\n '🕵🏻‍♀️',\n ],\n },\n {\n name: 'guard',\n code: '💂',\n keywords: [\n 'guard',\n 'guardsman',\n ],\n types: [\n '💂🏿',\n '💂🏾',\n '💂🏽',\n '💂🏼',\n '💂🏻',\n ],\n },\n {\n name: 'guardsman',\n code: '💂‍♂️',\n keywords: [\n 'guardsman',\n ],\n types: [\n '💂🏿‍♂️',\n '💂🏾‍♂️',\n '💂🏽‍♂️',\n '💂🏼‍♂️',\n '💂🏻‍♂️',\n ],\n },\n {\n name: 'guardswoman',\n code: '💂‍♀️',\n keywords: [\n 'guardswoman',\n ],\n types: [\n '💂🏿‍♀️',\n '💂🏾‍♀️',\n '💂🏽‍♀️',\n '💂🏼‍♀️',\n '💂🏻‍♀️',\n ],\n },\n {\n name: 'ninja',\n code: '🥷',\n keywords: [\n 'ninja',\n ],\n types: [\n '🥷🏿',\n '🥷🏾',\n '🥷🏽',\n '🥷🏼',\n '🥷🏻',\n ],\n },\n {\n name: 'construction_worker',\n code: '👷',\n keywords: [\n 'helmet',\n 'construction_worker',\n 'construction',\n 'hat',\n 'worker',\n ],\n types: [\n '👷🏿',\n '👷🏾',\n '👷🏽',\n '👷🏼',\n '👷🏻',\n ],\n },\n {\n name: 'construction_worker_man',\n code: '👷‍♂️',\n keywords: [\n 'helmet',\n 'construction_worker_man',\n ],\n types: [\n '👷🏿‍♂️',\n '👷🏾‍♂️',\n '👷🏽‍♂️',\n '👷🏼‍♂️',\n '👷🏻‍♂️',\n ],\n },\n {\n name: 'construction_worker_woman',\n code: '👷‍♀️',\n keywords: [\n 'helmet',\n 'construction_worker_woman',\n ],\n types: [\n '👷🏿‍♀️',\n '👷🏾‍♀️',\n '👷🏽‍♀️',\n '👷🏼‍♀️',\n '👷🏻‍♀️',\n ],\n },\n {\n name: 'prince',\n code: '🤴',\n keywords: [\n 'crown',\n 'royal',\n 'prince',\n ],\n types: [\n '🤴🏿',\n '🤴🏾',\n '🤴🏽',\n '🤴🏼',\n '🤴🏻',\n ],\n },\n {\n name: 'princess',\n code: '👸',\n keywords: [\n 'crown',\n 'royal',\n 'princess',\n 'fairy tale',\n 'fantasy',\n ],\n types: [\n '👸🏿',\n '👸🏾',\n '👸🏽',\n '👸🏼',\n '👸🏻',\n ],\n },\n {\n name: 'person_with_turban',\n code: '👳',\n keywords: [\n 'person_with_turban',\n 'man',\n 'turban',\n ],\n types: [\n '👳🏿',\n '👳🏾',\n '👳🏽',\n '👳🏼',\n '👳🏻',\n ],\n },\n {\n name: 'man_with_turban',\n code: '👳‍♂️',\n keywords: [\n 'man_with_turban',\n ],\n types: [\n '👳🏿‍♂️',\n '👳🏾‍♂️',\n '👳🏽‍♂️',\n '👳🏼‍♂️',\n '👳🏻‍♂️',\n ],\n },\n {\n name: 'woman_with_turban',\n code: '👳‍♀️',\n keywords: [\n 'woman_with_turban',\n ],\n types: [\n '👳🏿‍♀️',\n '👳🏾‍♀️',\n '👳🏽‍♀️',\n '👳🏼‍♀️',\n '👳🏻‍♀️',\n ],\n },\n {\n name: 'man_with_gua_pi_mao',\n code: '👲',\n keywords: [\n 'man_with_gua_pi_mao',\n 'gua pi mao',\n 'hat',\n 'man',\n ],\n types: [\n '👲🏿',\n '👲🏾',\n '👲🏽',\n '👲🏼',\n '👲🏻',\n ],\n },\n {\n name: 'woman_with_headscarf',\n code: '🧕',\n keywords: [\n 'hijab',\n 'woman_with_headscarf',\n ],\n types: [\n '🧕🏿',\n '🧕🏾',\n '🧕🏽',\n '🧕🏼',\n '🧕🏻',\n ],\n },\n {\n name: 'person_in_tuxedo',\n code: '🤵',\n keywords: [\n 'groom',\n 'marriage',\n 'wedding',\n 'person_in_tuxedo',\n 'man',\n 'tuxedo',\n ],\n types: [\n '🤵🏿',\n '🤵🏾',\n '🤵🏽',\n '🤵🏼',\n '🤵🏻',\n ],\n },\n {\n name: 'man_in_tuxedo',\n code: '🤵‍♂️',\n keywords: [\n 'man_in_tuxedo',\n ],\n types: [\n '🤵🏿‍♂️',\n '🤵🏾‍♂️',\n '🤵🏽‍♂️',\n '🤵🏼‍♂️',\n '🤵🏻‍♂️',\n ],\n },\n {\n name: 'woman_in_tuxedo',\n code: '🤵‍♀️',\n keywords: [\n 'woman_in_tuxedo',\n ],\n types: [\n '🤵🏿‍♀️',\n '🤵🏾‍♀️',\n '🤵🏽‍♀️',\n '🤵🏼‍♀️',\n '🤵🏻‍♀️',\n ],\n },\n {\n name: 'person_with_veil',\n code: '👰',\n keywords: [\n 'marriage',\n 'wedding',\n 'person_with_veil',\n 'bride',\n 'veil',\n ],\n types: [\n '👰🏿',\n '👰🏾',\n '👰🏽',\n '👰🏼',\n '👰🏻',\n ],\n },\n {\n name: 'man_with_veil',\n code: '👰‍♂️',\n keywords: [\n 'man_with_veil',\n ],\n types: [\n '👰🏿‍♂️',\n '👰🏾‍♂️',\n '👰🏽‍♂️',\n '👰🏼‍♂️',\n '👰🏻‍♂️',\n ],\n },\n {\n name: 'woman_with_veil',\n code: '👰‍♀️',\n keywords: [\n 'woman_with_veil',\n 'bride_with_veil',\n ],\n types: [\n '👰🏿‍♀️',\n '👰🏾‍♀️',\n '👰🏽‍♀️',\n '👰🏼‍♀️',\n '👰🏻‍♀️',\n ],\n },\n {\n name: 'pregnant_woman',\n code: '🤰',\n keywords: [\n 'pregnant_woman',\n 'pregnant',\n 'woman',\n ],\n types: [\n '🤰🏿',\n '🤰🏾',\n '🤰🏽',\n '🤰🏼',\n '🤰🏻',\n ],\n },\n {\n name: 'breast_feeding',\n code: '🤱',\n keywords: [\n 'nursing',\n 'breast_feeding',\n ],\n types: [\n '🤱🏿',\n '🤱🏾',\n '🤱🏽',\n '🤱🏼',\n '🤱🏻',\n ],\n },\n {\n name: 'woman_feeding_baby',\n code: '👩‍🍼',\n keywords: [\n 'woman_feeding_baby',\n ],\n types: [\n '👩🏿‍🍼',\n '👩🏾‍🍼',\n '👩🏽‍🍼',\n '👩🏼‍🍼',\n '👩🏻‍🍼',\n ],\n },\n {\n name: 'man_feeding_baby',\n code: '👨‍🍼',\n keywords: [\n 'man_feeding_baby',\n ],\n types: [\n '👨🏿‍🍼',\n '👨🏾‍🍼',\n '👨🏽‍🍼',\n '👨🏼‍🍼',\n '👨🏻‍🍼',\n ],\n },\n {\n name: 'person_feeding_baby',\n code: '🧑‍🍼',\n keywords: [\n 'person_feeding_baby',\n ],\n types: [\n '🧑🏿‍🍼',\n '🧑🏾‍🍼',\n '🧑🏽‍🍼',\n '🧑🏼‍🍼',\n '🧑🏻‍🍼',\n ],\n },\n {\n name: 'angel',\n code: '👼',\n keywords: [\n 'angel',\n 'baby',\n 'face',\n 'fairy tale',\n 'fantasy',\n ],\n types: [\n '👼🏿',\n '👼🏾',\n '👼🏽',\n '👼🏼',\n '👼🏻',\n ],\n },\n {\n name: 'santa',\n code: '🎅',\n keywords: [\n 'christmas',\n 'santa',\n 'activity',\n 'celebration',\n 'fairy tale',\n 'fantasy',\n 'father',\n ],\n types: [\n '🎅🏿',\n '🎅🏾',\n '🎅🏽',\n '🎅🏼',\n '🎅🏻',\n ],\n },\n {\n name: 'mrs_claus',\n code: '🤶',\n keywords: [\n 'santa',\n 'mrs_claus',\n 'christmas',\n 'mother',\n 'mrs. claus',\n ],\n types: [\n '🤶🏿',\n '🤶🏾',\n '🤶🏽',\n '🤶🏼',\n '🤶🏻',\n ],\n },\n {\n name: 'mx_claus',\n code: '🧑‍🎄',\n keywords: [\n 'mx_claus',\n ],\n types: [\n '🧑🏿‍🎄',\n '🧑🏾‍🎄',\n '🧑🏽‍🎄',\n '🧑🏼‍🎄',\n '🧑🏻‍🎄',\n ],\n },\n {\n name: 'superhero',\n code: '🦸',\n keywords: [\n 'superhero',\n ],\n types: [\n '🦸🏿',\n '🦸🏾',\n '🦸🏽',\n '🦸🏼',\n '🦸🏻',\n ],\n },\n {\n name: 'superhero_man',\n code: '🦸‍♂️',\n keywords: [\n 'superhero_man',\n ],\n types: [\n '🦸🏿‍♂️',\n '🦸🏾‍♂️',\n '🦸🏽‍♂️',\n '🦸🏼‍♂️',\n '🦸🏻‍♂️',\n ],\n },\n {\n name: 'superhero_woman',\n code: '🦸‍♀️',\n keywords: [\n 'superhero_woman',\n ],\n types: [\n '🦸🏿‍♀️',\n '🦸🏾‍♀️',\n '🦸🏽‍♀️',\n '🦸🏼‍♀️',\n '🦸🏻‍♀️',\n ],\n },\n {\n name: 'supervillain',\n code: '🦹',\n keywords: [\n 'supervillain',\n ],\n types: [\n '🦹🏿',\n '🦹🏾',\n '🦹🏽',\n '🦹🏼',\n '🦹🏻',\n ],\n },\n {\n name: 'supervillain_man',\n code: '🦹‍♂️',\n keywords: [\n 'supervillain_man',\n ],\n types: [\n '🦹🏿‍♂️',\n '🦹🏾‍♂️',\n '🦹🏽‍♂️',\n '🦹🏼‍♂️',\n '🦹🏻‍♂️',\n ],\n },\n {\n name: 'supervillain_woman',\n code: '🦹‍♀️',\n keywords: [\n 'supervillain_woman',\n ],\n types: [\n '🦹🏿‍♀️',\n '🦹🏾‍♀️',\n '🦹🏽‍♀️',\n '🦹🏼‍♀️',\n '🦹🏻‍♀️',\n ],\n },\n {\n name: 'mage',\n code: '🧙',\n keywords: [\n 'wizard',\n 'mage',\n ],\n types: [\n '🧙🏿',\n '🧙🏾',\n '🧙🏽',\n '🧙🏼',\n '🧙🏻',\n ],\n },\n {\n name: 'mage_man',\n code: '🧙‍♂️',\n keywords: [\n 'wizard',\n 'mage_man',\n ],\n types: [\n '🧙🏿‍♂️',\n '🧙🏾‍♂️',\n '🧙🏽‍♂️',\n '🧙🏼‍♂️',\n '🧙🏻‍♂️',\n ],\n },\n {\n name: 'mage_woman',\n code: '🧙‍♀️',\n keywords: [\n 'wizard',\n 'mage_woman',\n ],\n types: [\n '🧙🏿‍♀️',\n '🧙🏾‍♀️',\n '🧙🏽‍♀️',\n '🧙🏼‍♀️',\n '🧙🏻‍♀️',\n ],\n },\n {\n name: 'fairy',\n code: '🧚',\n keywords: [\n 'fairy',\n ],\n types: [\n '🧚🏿',\n '🧚🏾',\n '🧚🏽',\n '🧚🏼',\n '🧚🏻',\n ],\n },\n {\n name: 'fairy_man',\n code: '🧚‍♂️',\n keywords: [\n 'fairy_man',\n ],\n types: [\n '🧚🏿‍♂️',\n '🧚🏾‍♂️',\n '🧚🏽‍♂️',\n '🧚🏼‍♂️',\n '🧚🏻‍♂️',\n ],\n },\n {\n name: 'fairy_woman',\n code: '🧚‍♀️',\n keywords: [\n 'fairy_woman',\n ],\n types: [\n '🧚🏿‍♀️',\n '🧚🏾‍♀️',\n '🧚🏽‍♀️',\n '🧚🏼‍♀️',\n '🧚🏻‍♀️',\n ],\n },\n {\n name: 'vampire',\n code: '🧛',\n keywords: [\n 'vampire',\n ],\n types: [\n '🧛🏿',\n '🧛🏾',\n '🧛🏽',\n '🧛🏼',\n '🧛🏻',\n ],\n },\n {\n name: 'vampire_man',\n code: '🧛‍♂️',\n keywords: [\n 'vampire_man',\n ],\n types: [\n '🧛🏿‍♂️',\n '🧛🏾‍♂️',\n '🧛🏽‍♂️',\n '🧛🏼‍♂️',\n '🧛🏻‍♂️',\n ],\n },\n {\n name: 'vampire_woman',\n code: '🧛‍♀️',\n keywords: [\n 'vampire_woman',\n ],\n types: [\n '🧛🏿‍♀️',\n '🧛🏾‍♀️',\n '🧛🏽‍♀️',\n '🧛🏼‍♀️',\n '🧛🏻‍♀️',\n ],\n },\n {\n name: 'merperson',\n code: '🧜',\n keywords: [\n 'merperson',\n ],\n types: [\n '🧜🏿',\n '🧜🏾',\n '🧜🏽',\n '🧜🏼',\n '🧜🏻',\n ],\n },\n {\n name: 'merman',\n code: '🧜‍♂️',\n keywords: [\n 'merman',\n ],\n types: [\n '🧜🏿‍♂️',\n '🧜🏾‍♂️',\n '🧜🏽‍♂️',\n '🧜🏼‍♂️',\n '🧜🏻‍♂️',\n ],\n },\n {\n name: 'mermaid',\n code: '🧜‍♀️',\n keywords: [\n 'mermaid',\n ],\n types: [\n '🧜🏿‍♀️',\n '🧜🏾‍♀️',\n '🧜🏽‍♀️',\n '🧜🏼‍♀️',\n '🧜🏻‍♀️',\n ],\n },\n {\n name: 'elf',\n code: '🧝',\n keywords: [\n 'elf',\n ],\n types: [\n '🧝🏿',\n '🧝🏾',\n '🧝🏽',\n '🧝🏼',\n '🧝🏻',\n ],\n },\n {\n name: 'elf_man',\n code: '🧝‍♂️',\n keywords: [\n 'elf_man',\n ],\n types: [\n '🧝🏿‍♂️',\n '🧝🏾‍♂️',\n '🧝🏽‍♂️',\n '🧝🏼‍♂️',\n '🧝🏻‍♂️',\n ],\n },\n {\n name: 'elf_woman',\n code: '🧝‍♀️',\n keywords: [\n 'elf_woman',\n ],\n types: [\n '🧝🏿‍♀️',\n '🧝🏾‍♀️',\n '🧝🏽‍♀️',\n '🧝🏼‍♀️',\n '🧝🏻‍♀️',\n ],\n },\n {\n name: 'genie',\n code: '🧞',\n keywords: [\n 'genie',\n ],\n },\n {\n name: 'genie_man',\n code: '🧞‍♂️',\n keywords: [\n 'genie_man',\n ],\n },\n {\n name: 'genie_woman',\n code: '🧞‍♀️',\n keywords: [\n 'genie_woman',\n ],\n },\n {\n name: 'zombie',\n code: '🧟',\n keywords: [\n 'zombie',\n ],\n },\n {\n name: 'zombie_man',\n code: '🧟‍♂️',\n keywords: [\n 'zombie_man',\n ],\n },\n {\n name: 'zombie_woman',\n code: '🧟‍♀️',\n keywords: [\n 'zombie_woman',\n ],\n },\n {\n name: 'massage',\n code: '💆',\n keywords: [\n 'spa',\n 'massage',\n 'salon',\n ],\n types: [\n '💆🏿',\n '💆🏾',\n '💆🏽',\n '💆🏼',\n '💆🏻',\n ],\n },\n {\n name: 'massage_man',\n code: '💆‍♂️',\n keywords: [\n 'spa',\n 'massage_man',\n ],\n types: [\n '💆🏿‍♂️',\n '💆🏾‍♂️',\n '💆🏽‍♂️',\n '💆🏼‍♂️',\n '💆🏻‍♂️',\n ],\n },\n {\n name: 'massage_woman',\n code: '💆‍♀️',\n keywords: [\n 'spa',\n 'massage_woman',\n ],\n types: [\n '💆🏿‍♀️',\n '💆🏾‍♀️',\n '💆🏽‍♀️',\n '💆🏼‍♀️',\n '💆🏻‍♀️',\n ],\n },\n {\n name: 'haircut',\n code: '💇',\n keywords: [\n 'beauty',\n 'haircut',\n 'barber',\n 'parlor',\n ],\n types: [\n '💇🏿',\n '💇🏾',\n '💇🏽',\n '💇🏼',\n '💇🏻',\n ],\n },\n {\n name: 'haircut_man',\n code: '💇‍♂️',\n keywords: [\n 'haircut_man',\n ],\n types: [\n '💇🏿‍♂️',\n '💇🏾‍♂️',\n '💇🏽‍♂️',\n '💇🏼‍♂️',\n '💇🏻‍♂️',\n ],\n },\n {\n name: 'haircut_woman',\n code: '💇‍♀️',\n keywords: [\n 'haircut_woman',\n ],\n types: [\n '💇🏿‍♀️',\n '💇🏾‍♀️',\n '💇🏽‍♀️',\n '💇🏼‍♀️',\n '💇🏻‍♀️',\n ],\n },\n {\n name: 'walking',\n code: '🚶',\n keywords: [\n 'walking',\n 'hike',\n 'pedestrian',\n 'walk',\n ],\n types: [\n '🚶🏿',\n '🚶🏾',\n '🚶🏽',\n '🚶🏼',\n '🚶🏻',\n ],\n },\n {\n name: 'walking_man',\n code: '🚶‍♂️',\n keywords: [\n 'walking_man',\n ],\n types: [\n '🚶🏿‍♂️',\n '🚶🏾‍♂️',\n '🚶🏽‍♂️',\n '🚶🏼‍♂️',\n '🚶🏻‍♂️',\n ],\n },\n {\n name: 'walking_woman',\n code: '🚶‍♀️',\n keywords: [\n 'walking_woman',\n ],\n types: [\n '🚶🏿‍♀️',\n '🚶🏾‍♀️',\n '🚶🏽‍♀️',\n '🚶🏼‍♀️',\n '🚶🏻‍♀️',\n ],\n },\n {\n name: 'standing_person',\n code: '🧍',\n keywords: [\n 'standing_person',\n ],\n types: [\n '🧍🏿',\n '🧍🏾',\n '🧍🏽',\n '🧍🏼',\n '🧍🏻',\n ],\n },\n {\n name: 'standing_man',\n code: '🧍‍♂️',\n keywords: [\n 'standing_man',\n ],\n types: [\n '🧍🏿‍♂️',\n '🧍🏾‍♂️',\n '🧍🏽‍♂️',\n '🧍🏼‍♂️',\n '🧍🏻‍♂️',\n ],\n },\n {\n name: 'standing_woman',\n code: '🧍‍♀️',\n keywords: [\n 'standing_woman',\n ],\n types: [\n '🧍🏿‍♀️',\n '🧍🏾‍♀️',\n '🧍🏽‍♀️',\n '🧍🏼‍♀️',\n '🧍🏻‍♀️',\n ],\n },\n {\n name: 'kneeling_person',\n code: '🧎',\n keywords: [\n 'kneeling_person',\n ],\n types: [\n '🧎🏿',\n '🧎🏾',\n '🧎🏽',\n '🧎🏼',\n '🧎🏻',\n ],\n },\n {\n name: 'kneeling_man',\n code: '🧎‍♂️',\n keywords: [\n 'kneeling_man',\n ],\n types: [\n '🧎🏿‍♂️',\n '🧎🏾‍♂️',\n '🧎🏽‍♂️',\n '🧎🏼‍♂️',\n '🧎🏻‍♂️',\n ],\n },\n {\n name: 'kneeling_woman',\n code: '🧎‍♀️',\n keywords: [\n 'kneeling_woman',\n ],\n types: [\n '🧎🏿‍♀️',\n '🧎🏾‍♀️',\n '🧎🏽‍♀️',\n '🧎🏼‍♀️',\n '🧎🏻‍♀️',\n ],\n },\n {\n name: 'person_with_probing_cane',\n code: '🧑‍🦯',\n keywords: [\n 'person_with_probing_cane',\n ],\n types: [\n '🧑🏿‍🦯',\n '🧑🏾‍🦯',\n '🧑🏽‍🦯',\n '🧑🏼‍🦯',\n '🧑🏻‍🦯',\n ],\n },\n {\n name: 'man_with_probing_cane',\n code: '👨‍🦯',\n keywords: [\n 'man_with_probing_cane',\n ],\n types: [\n '👨🏿‍🦯',\n '👨🏾‍🦯',\n '👨🏽‍🦯',\n '👨🏼‍🦯',\n '👨🏻‍🦯',\n ],\n },\n {\n name: 'woman_with_probing_cane',\n code: '👩‍🦯',\n keywords: [\n 'woman_with_probing_cane',\n ],\n types: [\n '👩🏿‍🦯',\n '👩🏾‍🦯',\n '👩🏽‍🦯',\n '👩🏼‍🦯',\n '👩🏻‍🦯',\n ],\n },\n {\n name: 'person_in_motorized_wheelchair',\n code: '🧑‍🦼',\n keywords: [\n 'person_in_motorized_wheelchair',\n ],\n types: [\n '🧑🏿‍🦼',\n '🧑🏾‍🦼',\n '🧑🏽‍🦼',\n '🧑🏼‍🦼',\n '🧑🏻‍🦼',\n ],\n },\n {\n name: 'man_in_motorized_wheelchair',\n code: '👨‍🦼',\n keywords: [\n 'man_in_motorized_wheelchair',\n ],\n types: [\n '👨🏿‍🦼',\n '👨🏾‍🦼',\n '👨🏽‍🦼',\n '👨🏼‍🦼',\n '👨🏻‍🦼',\n ],\n },\n {\n name: 'woman_in_motorized_wheelchair',\n code: '👩‍🦼',\n keywords: [\n 'woman_in_motorized_wheelchair',\n ],\n types: [\n '👩🏿‍🦼',\n '👩🏾‍🦼',\n '👩🏽‍🦼',\n '👩🏼‍🦼',\n '👩🏻‍🦼',\n ],\n },\n {\n name: 'person_in_manual_wheelchair',\n code: '🧑‍🦽',\n keywords: [\n 'person_in_manual_wheelchair',\n ],\n types: [\n '🧑🏿‍🦽',\n '🧑🏾‍🦽',\n '🧑🏽‍🦽',\n '🧑🏼‍🦽',\n '🧑🏻‍🦽',\n ],\n },\n {\n name: 'man_in_manual_wheelchair',\n code: '👨‍🦽',\n keywords: [\n 'man_in_manual_wheelchair',\n ],\n types: [\n '👨🏿‍🦽',\n '👨🏾‍🦽',\n '👨🏽‍🦽',\n '👨🏼‍🦽',\n '👨🏻‍🦽',\n ],\n },\n {\n name: 'woman_in_manual_wheelchair',\n code: '👩‍🦽',\n keywords: [\n 'woman_in_manual_wheelchair',\n ],\n types: [\n '👩🏿‍🦽',\n '👩🏾‍🦽',\n '👩🏽‍🦽',\n '👩🏼‍🦽',\n '👩🏻‍🦽',\n ],\n },\n {\n name: 'runner',\n code: '🏃',\n keywords: [\n 'exercise',\n 'workout',\n 'marathon',\n 'runner',\n 'running',\n ],\n types: [\n '🏃🏿',\n '🏃🏾',\n '🏃🏽',\n '🏃🏼',\n '🏃🏻',\n ],\n },\n {\n name: 'running_man',\n code: '🏃‍♂️',\n keywords: [\n 'exercise',\n 'workout',\n 'marathon',\n 'running_man',\n ],\n types: [\n '🏃🏿‍♂️',\n '🏃🏾‍♂️',\n '🏃🏽‍♂️',\n '🏃🏼‍♂️',\n '🏃🏻‍♂️',\n ],\n },\n {\n name: 'running_woman',\n code: '🏃‍♀️',\n keywords: [\n 'exercise',\n 'workout',\n 'marathon',\n 'running_woman',\n ],\n types: [\n '🏃🏿‍♀️',\n '🏃🏾‍♀️',\n '🏃🏽‍♀️',\n '🏃🏼‍♀️',\n '🏃🏻‍♀️',\n ],\n },\n {\n name: 'woman_dancing',\n code: '💃',\n keywords: [\n 'dress',\n 'woman_dancing',\n 'dancer',\n ],\n types: [\n '💃🏿',\n '💃🏾',\n '💃🏽',\n '💃🏼',\n '💃🏻',\n ],\n },\n {\n name: 'man_dancing',\n code: '🕺',\n keywords: [\n 'dancer',\n 'man_dancing',\n 'dance',\n 'man',\n ],\n types: [\n '🕺🏿',\n '🕺🏾',\n '🕺🏽',\n '🕺🏼',\n '🕺🏻',\n ],\n },\n {\n name: 'business_suit_levitating',\n code: '🕴️',\n keywords: [\n 'business_suit_levitating',\n ],\n types: [\n '🕴🏿',\n '🕴🏾',\n '🕴🏽',\n '🕴🏼',\n '🕴🏻',\n ],\n },\n {\n name: 'dancers',\n code: '👯',\n keywords: [\n 'bunny',\n 'dancers',\n 'dancer',\n 'ear',\n 'girl',\n 'woman',\n ],\n },\n {\n name: 'dancing_men',\n code: '👯‍♂️',\n keywords: [\n 'bunny',\n 'dancing_men',\n ],\n },\n {\n name: 'dancing_women',\n code: '👯‍♀️',\n keywords: [\n 'bunny',\n 'dancing_women',\n ],\n },\n {\n name: 'sauna_person',\n code: '🧖',\n keywords: [\n 'steamy',\n 'sauna_person',\n ],\n types: [\n '🧖🏿',\n '🧖🏾',\n '🧖🏽',\n '🧖🏼',\n '🧖🏻',\n ],\n },\n {\n name: 'sauna_man',\n code: '🧖‍♂️',\n keywords: [\n 'steamy',\n 'sauna_man',\n ],\n types: [\n '🧖🏿‍♂️',\n '🧖🏾‍♂️',\n '🧖🏽‍♂️',\n '🧖🏼‍♂️',\n '🧖🏻‍♂️',\n ],\n },\n {\n name: 'sauna_woman',\n code: '🧖‍♀️',\n keywords: [\n 'steamy',\n 'sauna_woman',\n ],\n types: [\n '🧖🏿‍♀️',\n '🧖🏾‍♀️',\n '🧖🏽‍♀️',\n '🧖🏼‍♀️',\n '🧖🏻‍♀️',\n ],\n },\n {\n name: 'climbing',\n code: '🧗',\n keywords: [\n 'bouldering',\n 'climbing',\n ],\n types: [\n '🧗🏿',\n '🧗🏾',\n '🧗🏽',\n '🧗🏼',\n '🧗🏻',\n ],\n },\n {\n name: 'climbing_man',\n code: '🧗‍♂️',\n keywords: [\n 'bouldering',\n 'climbing_man',\n ],\n types: [\n '🧗🏿‍♂️',\n '🧗🏾‍♂️',\n '🧗🏽‍♂️',\n '🧗🏼‍♂️',\n '🧗🏻‍♂️',\n ],\n },\n {\n name: 'climbing_woman',\n code: '🧗‍♀️',\n keywords: [\n 'bouldering',\n 'climbing_woman',\n ],\n types: [\n '🧗🏿‍♀️',\n '🧗🏾‍♀️',\n '🧗🏽‍♀️',\n '🧗🏼‍♀️',\n '🧗🏻‍♀️',\n ],\n },\n {\n name: 'person_fencing',\n code: '🤺',\n keywords: [\n 'person_fencing',\n 'fencer',\n 'fencing',\n 'sword',\n ],\n },\n {\n name: 'horse_racing',\n code: '🏇',\n keywords: [\n 'horse_racing',\n 'horse',\n 'jockey',\n 'racehorse',\n 'racing',\n ],\n types: [\n '🏇🏿',\n '🏇🏾',\n '🏇🏽',\n '🏇🏼',\n '🏇🏻',\n ],\n },\n {\n name: 'skier',\n code: '⛷️',\n keywords: [\n 'skier',\n ],\n },\n {\n name: 'snowboarder',\n code: '🏂',\n keywords: [\n 'snowboarder',\n 'ski',\n 'snow',\n 'snowboard',\n ],\n types: [\n '🏂🏿',\n '🏂🏾',\n '🏂🏽',\n '🏂🏼',\n '🏂🏻',\n ],\n },\n {\n name: 'golfing',\n code: '🏌️',\n keywords: [\n 'golfing',\n ],\n types: [\n '🏌🏿',\n '🏌🏾',\n '🏌🏽',\n '🏌🏼',\n '🏌🏻',\n ],\n },\n {\n name: 'golfing_man',\n code: '🏌️‍♂️',\n keywords: [\n 'golfing_man',\n ],\n types: [\n '🏌🏿‍♂️',\n '🏌🏾‍♂️',\n '🏌🏽‍♂️',\n '🏌🏼‍♂️',\n '🏌🏻‍♂️',\n ],\n },\n {\n name: 'golfing_woman',\n code: '🏌️‍♀️',\n keywords: [\n 'golfing_woman',\n ],\n types: [\n '🏌🏿‍♀️',\n '🏌🏾‍♀️',\n '🏌🏽‍♀️',\n '🏌🏼‍♀️',\n '🏌🏻‍♀️',\n ],\n },\n {\n name: 'surfer',\n code: '🏄',\n keywords: [\n 'surfer',\n 'surfing',\n ],\n types: [\n '🏄🏿',\n '🏄🏾',\n '🏄🏽',\n '🏄🏼',\n '🏄🏻',\n ],\n },\n {\n name: 'surfing_man',\n code: '🏄‍♂️',\n keywords: [\n 'surfing_man',\n ],\n types: [\n '🏄🏿‍♂️',\n '🏄🏾‍♂️',\n '🏄🏽‍♂️',\n '🏄🏼‍♂️',\n '🏄🏻‍♂️',\n ],\n },\n {\n name: 'surfing_woman',\n code: '🏄‍♀️',\n keywords: [\n 'surfing_woman',\n ],\n types: [\n '🏄🏿‍♀️',\n '🏄🏾‍♀️',\n '🏄🏽‍♀️',\n '🏄🏼‍♀️',\n '🏄🏻‍♀️',\n ],\n },\n {\n name: 'rowboat',\n code: '🚣',\n keywords: [\n 'rowboat',\n 'boat',\n 'vehicle',\n ],\n types: [\n '🚣🏿',\n '🚣🏾',\n '🚣🏽',\n '🚣🏼',\n '🚣🏻',\n ],\n },\n {\n name: 'rowing_man',\n code: '🚣‍♂️',\n keywords: [\n 'rowing_man',\n ],\n types: [\n '🚣🏿‍♂️',\n '🚣🏾‍♂️',\n '🚣🏽‍♂️',\n '🚣🏼‍♂️',\n '🚣🏻‍♂️',\n ],\n },\n {\n name: 'rowing_woman',\n code: '🚣‍♀️',\n keywords: [\n 'rowing_woman',\n ],\n types: [\n '🚣🏿‍♀️',\n '🚣🏾‍♀️',\n '🚣🏽‍♀️',\n '🚣🏼‍♀️',\n '🚣🏻‍♀️',\n ],\n },\n {\n name: 'swimmer',\n code: '🏊',\n keywords: [\n 'swimmer',\n 'swim',\n ],\n types: [\n '🏊🏿',\n '🏊🏾',\n '🏊🏽',\n '🏊🏼',\n '🏊🏻',\n ],\n },\n {\n name: 'swimming_man',\n code: '🏊‍♂️',\n keywords: [\n 'swimming_man',\n ],\n types: [\n '🏊🏿‍♂️',\n '🏊🏾‍♂️',\n '🏊🏽‍♂️',\n '🏊🏼‍♂️',\n '🏊🏻‍♂️',\n ],\n },\n {\n name: 'swimming_woman',\n code: '🏊‍♀️',\n keywords: [\n 'swimming_woman',\n ],\n types: [\n '🏊🏿‍♀️',\n '🏊🏾‍♀️',\n '🏊🏽‍♀️',\n '🏊🏼‍♀️',\n '🏊🏻‍♀️',\n ],\n },\n {\n name: 'bouncing_ball_person',\n code: '⛹️',\n keywords: [\n 'basketball',\n 'bouncing_ball_person',\n ],\n types: [\n '⛹🏿',\n '⛹🏾',\n '⛹🏽',\n '⛹🏼',\n '⛹🏻',\n ],\n },\n {\n name: 'bouncing_ball_man',\n code: '⛹️‍♂️',\n keywords: [\n 'bouncing_ball_man',\n 'basketball_man',\n ],\n types: [\n '⛹🏿‍♂️',\n '⛹🏾‍♂️',\n '⛹🏽‍♂️',\n '⛹🏼‍♂️',\n '⛹🏻‍♂️',\n ],\n },\n {\n name: 'bouncing_ball_woman',\n code: '⛹️‍♀️',\n keywords: [\n 'bouncing_ball_woman',\n 'basketball_woman',\n ],\n types: [\n '⛹🏿‍♀️',\n '⛹🏾‍♀️',\n '⛹🏽‍♀️',\n '⛹🏼‍♀️',\n '⛹🏻‍♀️',\n ],\n },\n {\n name: 'weight_lifting',\n code: '🏋️',\n keywords: [\n 'gym',\n 'workout',\n 'weight_lifting',\n ],\n types: [\n '🏋🏿',\n '🏋🏾',\n '🏋🏽',\n '🏋🏼',\n '🏋🏻',\n ],\n },\n {\n name: 'weight_lifting_man',\n code: '🏋️‍♂️',\n keywords: [\n 'gym',\n 'workout',\n 'weight_lifting_man',\n ],\n types: [\n '🏋🏿‍♂️',\n '🏋🏾‍♂️',\n '🏋🏽‍♂️',\n '🏋🏼‍♂️',\n '🏋🏻‍♂️',\n ],\n },\n {\n name: 'weight_lifting_woman',\n code: '🏋️‍♀️',\n keywords: [\n 'gym',\n 'workout',\n 'weight_lifting_woman',\n ],\n types: [\n '🏋🏿‍♀️',\n '🏋🏾‍♀️',\n '🏋🏽‍♀️',\n '🏋🏼‍♀️',\n '🏋🏻‍♀️',\n ],\n },\n {\n name: 'bicyclist',\n code: '🚴',\n keywords: [\n 'bicyclist',\n 'bicycle',\n 'bike',\n 'cyclist',\n ],\n types: [\n '🚴🏿',\n '🚴🏾',\n '🚴🏽',\n '🚴🏼',\n '🚴🏻',\n ],\n },\n {\n name: 'biking_man',\n code: '🚴‍♂️',\n keywords: [\n 'biking_man',\n ],\n types: [\n '🚴🏿‍♂️',\n '🚴🏾‍♂️',\n '🚴🏽‍♂️',\n '🚴🏼‍♂️',\n '🚴🏻‍♂️',\n ],\n },\n {\n name: 'biking_woman',\n code: '🚴‍♀️',\n keywords: [\n 'biking_woman',\n ],\n types: [\n '🚴🏿‍♀️',\n '🚴🏾‍♀️',\n '🚴🏽‍♀️',\n '🚴🏼‍♀️',\n '🚴🏻‍♀️',\n ],\n },\n {\n name: 'mountain_bicyclist',\n code: '🚵',\n keywords: [\n 'mountain_bicyclist',\n 'bicycle',\n 'bicyclist',\n 'bike',\n 'cyclist',\n 'mountain',\n ],\n types: [\n '🚵🏿',\n '🚵🏾',\n '🚵🏽',\n '🚵🏼',\n '🚵🏻',\n ],\n },\n {\n name: 'mountain_biking_man',\n code: '🚵‍♂️',\n keywords: [\n 'mountain_biking_man',\n ],\n types: [\n '🚵🏿‍♂️',\n '🚵🏾‍♂️',\n '🚵🏽‍♂️',\n '🚵🏼‍♂️',\n '🚵🏻‍♂️',\n ],\n },\n {\n name: 'mountain_biking_woman',\n code: '🚵‍♀️',\n keywords: [\n 'mountain_biking_woman',\n ],\n types: [\n '🚵🏿‍♀️',\n '🚵🏾‍♀️',\n '🚵🏽‍♀️',\n '🚵🏼‍♀️',\n '🚵🏻‍♀️',\n ],\n },\n {\n name: 'cartwheeling',\n code: '🤸',\n keywords: [\n 'cartwheeling',\n 'cartwheel',\n 'gymnastics',\n ],\n types: [\n '🤸🏿',\n '🤸🏾',\n '🤸🏽',\n '🤸🏼',\n '🤸🏻',\n ],\n },\n {\n name: 'man_cartwheeling',\n code: '🤸‍♂️',\n keywords: [\n 'man_cartwheeling',\n ],\n types: [\n '🤸🏿‍♂️',\n '🤸🏾‍♂️',\n '🤸🏽‍♂️',\n '🤸🏼‍♂️',\n '🤸🏻‍♂️',\n ],\n },\n {\n name: 'woman_cartwheeling',\n code: '🤸‍♀️',\n keywords: [\n 'woman_cartwheeling',\n ],\n types: [\n '🤸🏿‍♀️',\n '🤸🏾‍♀️',\n '🤸🏽‍♀️',\n '🤸🏼‍♀️',\n '🤸🏻‍♀️',\n ],\n },\n {\n name: 'wrestling',\n code: '🤼',\n keywords: [\n 'wrestling',\n 'wrestle',\n 'wrestler',\n ],\n },\n {\n name: 'men_wrestling',\n code: '🤼‍♂️',\n keywords: [\n 'men_wrestling',\n ],\n },\n {\n name: 'women_wrestling',\n code: '🤼‍♀️',\n keywords: [\n 'women_wrestling',\n ],\n },\n {\n name: 'water_polo',\n code: '🤽',\n keywords: [\n 'water_polo',\n 'polo',\n 'water',\n ],\n types: [\n '🤽🏿',\n '🤽🏾',\n '🤽🏽',\n '🤽🏼',\n '🤽🏻',\n ],\n },\n {\n name: 'man_playing_water_polo',\n code: '🤽‍♂️',\n keywords: [\n 'man_playing_water_polo',\n ],\n types: [\n '🤽🏿‍♂️',\n '🤽🏾‍♂️',\n '🤽🏽‍♂️',\n '🤽🏼‍♂️',\n '🤽🏻‍♂️',\n ],\n },\n {\n name: 'woman_playing_water_polo',\n code: '🤽‍♀️',\n keywords: [\n 'woman_playing_water_polo',\n ],\n types: [\n '🤽🏿‍♀️',\n '🤽🏾‍♀️',\n '🤽🏽‍♀️',\n '🤽🏼‍♀️',\n '🤽🏻‍♀️',\n ],\n },\n {\n name: 'handball_person',\n code: '🤾',\n keywords: [\n 'handball_person',\n 'ball',\n 'handball',\n ],\n types: [\n '🤾🏿',\n '🤾🏾',\n '🤾🏽',\n '🤾🏼',\n '🤾🏻',\n ],\n },\n {\n name: 'man_playing_handball',\n code: '🤾‍♂️',\n keywords: [\n 'man_playing_handball',\n ],\n types: [\n '🤾🏿‍♂️',\n '🤾🏾‍♂️',\n '🤾🏽‍♂️',\n '🤾🏼‍♂️',\n '🤾🏻‍♂️',\n ],\n },\n {\n name: 'woman_playing_handball',\n code: '🤾‍♀️',\n keywords: [\n 'woman_playing_handball',\n ],\n types: [\n '🤾🏿‍♀️',\n '🤾🏾‍♀️',\n '🤾🏽‍♀️',\n '🤾🏼‍♀️',\n '🤾🏻‍♀️',\n ],\n },\n {\n name: 'juggling_person',\n code: '🤹',\n keywords: [\n 'juggling_person',\n 'balance',\n 'juggle',\n 'multitask',\n 'skill',\n ],\n types: [\n '🤹🏿',\n '🤹🏾',\n '🤹🏽',\n '🤹🏼',\n '🤹🏻',\n ],\n },\n {\n name: 'man_juggling',\n code: '🤹‍♂️',\n keywords: [\n 'man_juggling',\n ],\n types: [\n '🤹🏿‍♂️',\n '🤹🏾‍♂️',\n '🤹🏽‍♂️',\n '🤹🏼‍♂️',\n '🤹🏻‍♂️',\n ],\n },\n {\n name: 'woman_juggling',\n code: '🤹‍♀️',\n keywords: [\n 'woman_juggling',\n ],\n types: [\n '🤹🏿‍♀️',\n '🤹🏾‍♀️',\n '🤹🏽‍♀️',\n '🤹🏼‍♀️',\n '🤹🏻‍♀️',\n ],\n },\n {\n name: 'lotus_position',\n code: '🧘',\n keywords: [\n 'meditation',\n 'lotus_position',\n ],\n types: [\n '🧘🏿',\n '🧘🏾',\n '🧘🏽',\n '🧘🏼',\n '🧘🏻',\n ],\n },\n {\n name: 'lotus_position_man',\n code: '🧘‍♂️',\n keywords: [\n 'meditation',\n 'lotus_position_man',\n ],\n types: [\n '🧘🏿‍♂️',\n '🧘🏾‍♂️',\n '🧘🏽‍♂️',\n '🧘🏼‍♂️',\n '🧘🏻‍♂️',\n ],\n },\n {\n name: 'lotus_position_woman',\n code: '🧘‍♀️',\n keywords: [\n 'meditation',\n 'lotus_position_woman',\n ],\n types: [\n '🧘🏿‍♀️',\n '🧘🏾‍♀️',\n '🧘🏽‍♀️',\n '🧘🏼‍♀️',\n '🧘🏻‍♀️',\n ],\n },\n {\n name: 'bath',\n code: '🛀',\n keywords: [\n 'shower',\n 'bath',\n 'bathtub',\n ],\n types: [\n '🛀🏿',\n '🛀🏾',\n '🛀🏽',\n '🛀🏼',\n '🛀🏻',\n ],\n },\n {\n name: 'sleeping_bed',\n code: '🛌',\n keywords: [\n 'sleeping_bed',\n 'hotel',\n 'sleep',\n ],\n types: [\n '🛌🏿',\n '🛌🏾',\n '🛌🏽',\n '🛌🏼',\n '🛌🏻',\n ],\n },\n {\n name: 'people_holding_hands',\n code: '🧑‍🤝‍🧑',\n keywords: [\n 'couple',\n 'date',\n 'people_holding_hands',\n ],\n types: [\n '🧑🏿‍🤝‍🧑🏿',\n '🧑🏿‍🤝‍🧑🏾',\n '🧑🏿‍🤝‍🧑🏽',\n '🧑🏿‍🤝‍🧑🏼',\n '🧑🏿‍🤝‍🧑🏻',\n '🧑🏾‍🤝‍🧑🏿',\n '🧑🏾‍🤝‍🧑🏾',\n '🧑🏾‍🤝‍🧑🏽',\n '🧑🏾‍🤝‍🧑🏼',\n '🧑🏾‍🤝‍🧑🏻',\n '🧑🏽‍🤝‍🧑🏿',\n '🧑🏽‍🤝‍🧑🏾',\n '🧑🏽‍🤝‍🧑🏽',\n '🧑🏽‍🤝‍🧑🏼',\n '🧑🏽‍🤝‍🧑🏻',\n '🧑🏼‍🤝‍🧑🏿',\n '🧑🏼‍🤝‍🧑🏾',\n '🧑🏼‍🤝‍🧑🏽',\n '🧑🏼‍🤝‍🧑🏼',\n '🧑🏼‍🤝‍🧑🏻',\n '🧑🏻‍🤝‍🧑🏿',\n '🧑🏻‍🤝‍🧑🏾',\n '🧑🏻‍🤝‍🧑🏽',\n '🧑🏻‍🤝‍🧑🏼',\n '🧑🏻‍🤝‍🧑🏻',\n ],\n },\n {\n name: 'two_women_holding_hands',\n code: '👭',\n keywords: [\n 'couple',\n 'date',\n 'two_women_holding_hands',\n 'hand',\n 'hold',\n 'woman',\n ],\n types: [\n '👩🏿‍🤝‍👩🏾',\n '👩🏿‍🤝‍👩🏽',\n '👩🏿‍🤝‍👩🏼',\n '👩🏿‍🤝‍👩🏻',\n '👩🏾‍🤝‍👩🏿',\n '👩🏾‍🤝‍👩🏽',\n '👩🏾‍🤝‍👩🏼',\n '👩🏾‍🤝‍👩🏻',\n '👩🏽‍🤝‍👩🏿',\n '👩🏽‍🤝‍👩🏾',\n '👩🏽‍🤝‍👩🏼',\n '👩🏽‍🤝‍👩🏻',\n '👩🏼‍🤝‍👩🏿',\n '👩🏼‍🤝‍👩🏾',\n '👩🏼‍🤝‍👩🏽',\n '👩🏼‍🤝‍👩🏻',\n '👩🏻‍🤝‍👩🏿',\n '👩🏻‍🤝‍👩🏾',\n '👩🏻‍🤝‍👩🏽',\n '👩🏻‍🤝‍👩🏼',\n '👭🏿',\n '👭🏾',\n '👭🏽',\n '👭🏼',\n '👭🏻',\n ],\n },\n {\n name: 'couple',\n code: '👫',\n keywords: [\n 'date',\n 'couple',\n 'hand',\n 'hold',\n 'man',\n 'woman',\n ],\n types: [\n '👩🏿‍🤝‍👨🏾',\n '👩🏿‍🤝‍👨🏽',\n '👩🏿‍🤝‍👨🏼',\n '👩🏿‍🤝‍👨🏻',\n '👩🏾‍🤝‍👨🏿',\n '👩🏾‍🤝‍👨🏽',\n '👩🏾‍🤝‍👨🏼',\n '👩🏾‍🤝‍👨🏻',\n '👩🏽‍🤝‍👨🏿',\n '👩🏽‍🤝‍👨🏾',\n '👩🏽‍🤝‍👨🏼',\n '👩🏽‍🤝‍👨🏻',\n '👩🏼‍🤝‍👨🏿',\n '👩🏼‍🤝‍👨🏾',\n '👩🏼‍🤝‍👨🏽',\n '👩🏼‍🤝‍👨🏻',\n '👩🏻‍🤝‍👨🏿',\n '👩🏻‍🤝‍👨🏾',\n '👩🏻‍🤝‍👨🏽',\n '👩🏻‍🤝‍👨🏼',\n '👫🏿',\n '👫🏾',\n '👫🏽',\n '👫🏼',\n '👫🏻',\n ],\n },\n {\n name: 'two_men_holding_hands',\n code: '👬',\n keywords: [\n 'couple',\n 'date',\n 'two_men_holding_hands',\n 'gemini',\n 'hand',\n 'hold',\n 'man',\n 'twins',\n 'zodiac',\n ],\n types: [\n '👨🏿‍🤝‍👨🏾',\n '👨🏿‍🤝‍👨🏽',\n '👨🏿‍🤝‍👨🏼',\n '👨🏿‍🤝‍👨🏻',\n '👨🏾‍🤝‍👨🏿',\n '👨🏾‍🤝‍👨🏽',\n '👨🏾‍🤝‍👨🏼',\n '👨🏾‍🤝‍👨🏻',\n '👨🏽‍🤝‍👨🏿',\n '👨🏽‍🤝‍👨🏾',\n '👨🏽‍🤝‍👨🏼',\n '👨🏽‍🤝‍👨🏻',\n '👨🏼‍🤝‍👨🏿',\n '👨🏼‍🤝‍👨🏾',\n '👨🏼‍🤝‍👨🏽',\n '👨🏼‍🤝‍👨🏻',\n '👨🏻‍🤝‍👨🏿',\n '👨🏻‍🤝‍👨🏾',\n '👨🏻‍🤝‍👨🏽',\n '👨🏻‍🤝‍👨🏼',\n '👬🏿',\n '👬🏾',\n '👬🏽',\n '👬🏼',\n '👬🏻',\n ],\n },\n {\n name: 'couplekiss',\n code: '💏',\n keywords: [\n 'couplekiss',\n 'couple',\n 'kiss',\n 'romance',\n ],\n types: [\n '🧑🏿‍❤️‍💋‍🧑🏾',\n '🧑🏿‍❤️‍💋‍🧑🏽',\n '🧑🏿‍❤️‍💋‍🧑🏼',\n '🧑🏿‍❤️‍💋‍🧑🏻',\n '🧑🏾‍❤️‍💋‍🧑🏿',\n '🧑🏾‍❤️‍💋‍🧑🏽',\n '🧑🏾‍❤️‍💋‍🧑🏼',\n '🧑🏾‍❤️‍💋‍🧑🏻',\n '🧑🏽‍❤️‍💋‍🧑🏿',\n '🧑🏽‍❤️‍💋‍🧑🏾',\n '🧑🏽‍❤️‍💋‍🧑🏼',\n '🧑🏽‍❤️‍💋‍🧑🏻',\n '🧑🏼‍❤️‍💋‍🧑🏿',\n '🧑🏼‍❤️‍💋‍🧑🏾',\n '🧑🏼‍❤️‍💋‍🧑🏽',\n '🧑🏼‍❤️‍💋‍🧑🏻',\n '🧑🏻‍❤️‍💋‍🧑🏿',\n '🧑🏻‍❤️‍💋‍🧑🏾',\n '🧑🏻‍❤️‍💋‍🧑🏽',\n '🧑🏻‍❤️‍💋‍🧑🏼',\n '💏🏿',\n '💏🏾',\n '💏🏽',\n '💏🏼',\n '💏🏻',\n ],\n },\n {\n name: 'couplekiss_man_woman',\n code: '👩‍❤️‍💋‍👨',\n keywords: [\n 'couplekiss_man_woman',\n ],\n types: [\n '👩🏿‍❤️‍💋‍👨🏿',\n '👩🏿‍❤️‍💋‍👨🏾',\n '👩🏿‍❤️‍💋‍👨🏽',\n '👩🏿‍❤️‍💋‍👨🏼',\n '👩🏿‍❤️‍💋‍👨🏻',\n '👩🏾‍❤️‍💋‍👨🏿',\n '👩🏾‍❤️‍💋‍👨🏾',\n '👩🏾‍❤️‍💋‍👨🏽',\n '👩🏾‍❤️‍💋‍👨🏼',\n '👩🏾‍❤️‍💋‍👨🏻',\n '👩🏽‍❤️‍💋‍👨🏿',\n '👩🏽‍❤️‍💋‍👨🏾',\n '👩🏽‍❤️‍💋‍👨🏽',\n '👩🏽‍❤️‍💋‍👨🏼',\n '👩🏽‍❤️‍💋‍👨🏻',\n '👩🏼‍❤️‍💋‍👨🏿',\n '👩🏼‍❤️‍💋‍👨🏾',\n '👩🏼‍❤️‍💋‍👨🏽',\n '👩🏼‍❤️‍💋‍👨🏼',\n '👩🏼‍❤️‍💋‍👨🏻',\n '👩🏻‍❤️‍💋‍👨🏿',\n '👩🏻‍❤️‍💋‍👨🏾',\n '👩🏻‍❤️‍💋‍👨🏽',\n '👩🏻‍❤️‍💋‍👨🏼',\n '👩🏻‍❤️‍💋‍👨🏻',\n ],\n },\n {\n name: 'couplekiss_man_man',\n code: '👨‍❤️‍💋‍👨',\n keywords: [\n 'couplekiss_man_man',\n ],\n types: [\n '👨🏿‍❤️‍💋‍👨🏿',\n '👨🏿‍❤️‍💋‍👨🏾',\n '👨🏿‍❤️‍💋‍👨🏽',\n '👨🏿‍❤️‍💋‍👨🏼',\n '👨🏿‍❤️‍💋‍👨🏻',\n '👨🏾‍❤️‍💋‍👨🏿',\n '👨🏾‍❤️‍💋‍👨🏾',\n '👨🏾‍❤️‍💋‍👨🏽',\n '👨🏾‍❤️‍💋‍👨🏼',\n '👨🏾‍❤️‍💋‍👨🏻',\n '👨🏽‍❤️‍💋‍👨🏿',\n '👨🏽‍❤️‍💋‍👨🏾',\n '👨🏽‍❤️‍💋‍👨🏽',\n '👨🏽‍❤️‍💋‍👨🏼',\n '👨🏽‍❤️‍💋‍👨🏻',\n '👨🏼‍❤️‍💋‍👨🏿',\n '👨🏼‍❤️‍💋‍👨🏾',\n '👨🏼‍❤️‍💋‍👨🏽',\n '👨🏼‍❤️‍💋‍👨🏼',\n '👨🏼‍❤️‍💋‍👨🏻',\n '👨🏻‍❤️‍💋‍👨🏿',\n '👨🏻‍❤️‍💋‍👨🏾',\n '👨🏻‍❤️‍💋‍👨🏽',\n '👨🏻‍❤️‍💋‍👨🏼',\n '👨🏻‍❤️‍💋‍👨🏻',\n ],\n },\n {\n name: 'couplekiss_woman_woman',\n code: '👩‍❤️‍💋‍👩',\n keywords: [\n 'couplekiss_woman_woman',\n ],\n types: [\n '👩🏿‍❤️‍💋‍👩🏿',\n '👩🏿‍❤️‍💋‍👩🏾',\n '👩🏿‍❤️‍💋‍👩🏽',\n '👩🏿‍❤️‍💋‍👩🏼',\n '👩🏿‍❤️‍💋‍👩🏻',\n '👩🏾‍❤️‍💋‍👩🏿',\n '👩🏾‍❤️‍💋‍👩🏾',\n '👩🏾‍❤️‍💋‍👩🏽',\n '👩🏾‍❤️‍💋‍👩🏼',\n '👩🏾‍❤️‍💋‍👩🏻',\n '👩🏽‍❤️‍💋‍👩🏿',\n '👩🏽‍❤️‍💋‍👩🏾',\n '👩🏽‍❤️‍💋‍👩🏽',\n '👩🏽‍❤️‍💋‍👩🏼',\n '👩🏽‍❤️‍💋‍👩🏻',\n '👩🏼‍❤️‍💋‍👩🏿',\n '👩🏼‍❤️‍💋‍👩🏾',\n '👩🏼‍❤️‍💋‍👩🏽',\n '👩🏼‍❤️‍💋‍👩🏼',\n '👩🏼‍❤️‍💋‍👩🏻',\n '👩🏻‍❤️‍💋‍👩🏿',\n '👩🏻‍❤️‍💋‍👩🏾',\n '👩🏻‍❤️‍💋‍👩🏽',\n '👩🏻‍❤️‍💋‍👩🏼',\n '👩🏻‍❤️‍💋‍👩🏻',\n ],\n },\n {\n name: 'couple_with_heart',\n code: '💑',\n keywords: [\n 'couple_with_heart',\n 'couple',\n 'heart',\n 'love',\n 'romance',\n ],\n types: [\n '🧑🏿‍❤️‍🧑🏾',\n '🧑🏿‍❤️‍🧑🏽',\n '🧑🏿‍❤️‍🧑🏼',\n '🧑🏿‍❤️‍🧑🏻',\n '🧑🏾‍❤️‍🧑🏿',\n '🧑🏾‍❤️‍🧑🏽',\n '🧑🏾‍❤️‍🧑🏼',\n '🧑🏾‍❤️‍🧑🏻',\n '🧑🏽‍❤️‍🧑🏿',\n '🧑🏽‍❤️‍🧑🏾',\n '🧑🏽‍❤️‍🧑🏼',\n '🧑🏽‍❤️‍🧑🏻',\n '🧑🏼‍❤️‍🧑🏿',\n '🧑🏼‍❤️‍🧑🏾',\n '🧑🏼‍❤️‍🧑🏽',\n '🧑🏼‍❤️‍🧑🏻',\n '🧑🏻‍❤️‍🧑🏿',\n '🧑🏻‍❤️‍🧑🏾',\n '🧑🏻‍❤️‍🧑🏽',\n '🧑🏻‍❤️‍🧑🏼',\n '💑🏿',\n '💑🏾',\n '💑🏽',\n '💑🏼',\n '💑🏻',\n ],\n },\n {\n name: 'couple_with_heart_woman_man',\n code: '👩‍❤️‍👨',\n keywords: [\n 'couple_with_heart_woman_man',\n ],\n types: [\n '👩🏿‍❤️‍👨🏿',\n '👩🏿‍❤️‍👨🏾',\n '👩🏿‍❤️‍👨🏽',\n '👩🏿‍❤️‍👨🏼',\n '👩🏿‍❤️‍👨🏻',\n '👩🏾‍❤️‍👨🏿',\n '👩🏾‍❤️‍👨🏾',\n '👩🏾‍❤️‍👨🏽',\n '👩🏾‍❤️‍👨🏼',\n '👩🏾‍❤️‍👨🏻',\n '👩🏽‍❤️‍👨🏿',\n '👩🏽‍❤️‍👨🏾',\n '👩🏽‍❤️‍👨🏽',\n '👩🏽‍❤️‍👨🏼',\n '👩🏽‍❤️‍👨🏻',\n '👩🏼‍❤️‍👨🏿',\n '👩🏼‍❤️‍👨🏾',\n '👩🏼‍❤️‍👨🏽',\n '👩🏼‍❤️‍👨🏼',\n '👩🏼‍❤️‍👨🏻',\n '👩🏻‍❤️‍👨🏿',\n '👩🏻‍❤️‍👨🏾',\n '👩🏻‍❤️‍👨🏽',\n '👩🏻‍❤️‍👨🏼',\n '👩🏻‍❤️‍👨🏻',\n ],\n },\n {\n name: 'couple_with_heart_man_man',\n code: '👨‍❤️‍👨',\n keywords: [\n 'couple_with_heart_man_man',\n ],\n types: [\n '👨🏿‍❤️‍👨🏿',\n '👨🏿‍❤️‍👨🏾',\n '👨🏿‍❤️‍👨🏽',\n '👨🏿‍❤️‍👨🏼',\n '👨🏿‍❤️‍👨🏻',\n '👨🏾‍❤️‍👨🏿',\n '👨🏾‍❤️‍👨🏾',\n '👨🏾‍❤️‍👨🏽',\n '👨🏾‍❤️‍👨🏼',\n '👨🏾‍❤️‍👨🏻',\n '👨🏽‍❤️‍👨🏿',\n '👨🏽‍❤️‍👨🏾',\n '👨🏽‍❤️‍👨🏽',\n '👨🏽‍❤️‍👨🏼',\n '👨🏽‍❤️‍👨🏻',\n '👨🏼‍❤️‍👨🏿',\n '👨🏼‍❤️‍👨🏾',\n '👨🏼‍❤️‍👨🏽',\n '👨🏼‍❤️‍👨🏼',\n '👨🏼‍❤️‍👨🏻',\n '👨🏻‍❤️‍👨🏿',\n '👨🏻‍❤️‍👨🏾',\n '👨🏻‍❤️‍👨🏽',\n '👨🏻‍❤️‍👨🏼',\n '👨🏻‍❤️‍👨🏻',\n ],\n },\n {\n name: 'couple_with_heart_woman_woman',\n code: '👩‍❤️‍👩',\n keywords: [\n 'couple_with_heart_woman_woman',\n ],\n types: [\n '👩🏿‍❤️‍👩🏿',\n '👩🏿‍❤️‍👩🏾',\n '👩🏿‍❤️‍👩🏽',\n '👩🏿‍❤️‍👩🏼',\n '👩🏿‍❤️‍👩🏻',\n '👩🏾‍❤️‍👩🏿',\n '👩🏾‍❤️‍👩🏾',\n '👩🏾‍❤️‍👩🏽',\n '👩🏾‍❤️‍👩🏼',\n '👩🏾‍❤️‍👩🏻',\n '👩🏽‍❤️‍👩🏿',\n '👩🏽‍❤️‍👩🏾',\n '👩🏽‍❤️‍👩🏽',\n '👩🏽‍❤️‍👩🏼',\n '👩🏽‍❤️‍👩🏻',\n '👩🏼‍❤️‍👩🏿',\n '👩🏼‍❤️‍👩🏾',\n '👩🏼‍❤️‍👩🏽',\n '👩🏼‍❤️‍👩🏼',\n '👩🏼‍❤️‍👩🏻',\n '👩🏻‍❤️‍👩🏿',\n '👩🏻‍❤️‍👩🏾',\n '👩🏻‍❤️‍👩🏽',\n '👩🏻‍❤️‍👩🏼',\n '👩🏻‍❤️‍👩🏻',\n ],\n },\n {\n name: 'family',\n code: '👪',\n keywords: [\n 'home',\n 'parents',\n 'child',\n 'family',\n 'father',\n 'mother',\n ],\n },\n {\n name: 'family_man_woman_boy',\n code: '👨‍👩‍👦',\n keywords: [\n 'family_man_woman_boy',\n 'boy',\n 'family',\n 'man',\n 'woman',\n ],\n },\n {\n name: 'family_man_woman_girl',\n code: '👨‍👩‍👧',\n keywords: [\n 'family_man_woman_girl',\n 'family',\n 'girl',\n 'man',\n 'woman',\n ],\n },\n {\n name: 'family_man_woman_girl_boy',\n code: '👨‍👩‍👧‍👦',\n keywords: [\n 'family_man_woman_girl_boy',\n 'boy',\n 'family',\n 'girl',\n 'man',\n 'woman',\n ],\n },\n {\n name: 'family_man_woman_boy_boy',\n code: '👨‍👩‍👦‍👦',\n keywords: [\n 'family_man_woman_boy_boy',\n 'boy',\n 'family',\n 'man',\n 'woman',\n ],\n },\n {\n name: 'family_man_woman_girl_girl',\n code: '👨‍👩‍👧‍👧',\n keywords: [\n 'family_man_woman_girl_girl',\n 'family',\n 'girl',\n 'man',\n 'woman',\n ],\n },\n {\n name: 'family_man_man_boy',\n code: '👨‍👨‍👦',\n keywords: [\n 'family_man_man_boy',\n 'boy',\n 'family',\n 'man',\n ],\n },\n {\n name: 'family_man_man_girl',\n code: '👨‍👨‍👧',\n keywords: [\n 'family_man_man_girl',\n 'family',\n 'girl',\n 'man',\n ],\n },\n {\n name: 'family_man_man_girl_boy',\n code: '👨‍👨‍👧‍👦',\n keywords: [\n 'family_man_man_girl_boy',\n 'boy',\n 'family',\n 'girl',\n 'man',\n ],\n },\n {\n name: 'family_man_man_boy_boy',\n code: '👨‍👨‍👦‍👦',\n keywords: [\n 'family_man_man_boy_boy',\n 'boy',\n 'family',\n 'man',\n ],\n },\n {\n name: 'family_man_man_girl_girl',\n code: '👨‍👨‍👧‍👧',\n keywords: [\n 'family_man_man_girl_girl',\n 'family',\n 'girl',\n 'man',\n ],\n },\n {\n name: 'family_woman_woman_boy',\n code: '👩‍👩‍👦',\n keywords: [\n 'family_woman_woman_boy',\n 'boy',\n 'family',\n 'woman',\n ],\n },\n {\n name: 'family_woman_woman_girl',\n code: '👩‍👩‍👧',\n keywords: [\n 'family_woman_woman_girl',\n 'family',\n 'girl',\n 'woman',\n ],\n },\n {\n name: 'family_woman_woman_girl_boy',\n code: '👩‍👩‍👧‍👦',\n keywords: [\n 'family_woman_woman_girl_boy',\n 'boy',\n 'family',\n 'girl',\n 'woman',\n ],\n },\n {\n name: 'family_woman_woman_boy_boy',\n code: '👩‍👩‍👦‍👦',\n keywords: [\n 'family_woman_woman_boy_boy',\n 'boy',\n 'family',\n 'woman',\n ],\n },\n {\n name: 'family_woman_woman_girl_girl',\n code: '👩‍👩‍👧‍👧',\n keywords: [\n 'family_woman_woman_girl_girl',\n 'family',\n 'girl',\n 'woman',\n ],\n },\n {\n name: 'family_man_boy',\n code: '👨‍👦',\n keywords: [\n 'family_man_boy',\n ],\n },\n {\n name: 'family_man_boy_boy',\n code: '👨‍👦‍👦',\n keywords: [\n 'family_man_boy_boy',\n ],\n },\n {\n name: 'family_man_girl',\n code: '👨‍👧',\n keywords: [\n 'family_man_girl',\n ],\n },\n {\n name: 'family_man_girl_boy',\n code: '👨‍👧‍👦',\n keywords: [\n 'family_man_girl_boy',\n ],\n },\n {\n name: 'family_man_girl_girl',\n code: '👨‍👧‍👧',\n keywords: [\n 'family_man_girl_girl',\n ],\n },\n {\n name: 'family_woman_boy',\n code: '👩‍👦',\n keywords: [\n 'family_woman_boy',\n ],\n },\n {\n name: 'family_woman_boy_boy',\n code: '👩‍👦‍👦',\n keywords: [\n 'family_woman_boy_boy',\n ],\n },\n {\n name: 'family_woman_girl',\n code: '👩‍👧',\n keywords: [\n 'family_woman_girl',\n ],\n },\n {\n name: 'family_woman_girl_boy',\n code: '👩‍👧‍👦',\n keywords: [\n 'family_woman_girl_boy',\n ],\n },\n {\n name: 'family_woman_girl_girl',\n code: '👩‍👧‍👧',\n keywords: [\n 'family_woman_girl_girl',\n ],\n },\n {\n name: 'speaking_head',\n code: '🗣️',\n keywords: [\n 'speaking_head',\n ],\n },\n {\n name: 'bust_in_silhouette',\n code: '👤',\n keywords: [\n 'user',\n 'bust_in_silhouette',\n 'bust',\n 'silhouette',\n ],\n },\n {\n name: 'busts_in_silhouette',\n code: '👥',\n keywords: [\n 'users',\n 'group',\n 'team',\n 'busts_in_silhouette',\n 'bust',\n 'silhouette',\n ],\n },\n {\n name: 'people_hugging',\n code: '🫂',\n keywords: [\n 'people_hugging',\n ],\n },\n {\n name: 'footprints',\n code: '👣',\n keywords: [\n 'feet',\n 'tracks',\n 'footprints',\n 'body',\n 'clothing',\n 'footprint',\n 'print',\n ],\n },\n {\n code: 'animalsAndNature',\n header: true,\n icon: AnimalsAndNature,\n },\n {\n name: 'monkey_face',\n code: '🐵',\n keywords: [\n 'monkey_face',\n 'face',\n 'monkey',\n ],\n },\n {\n name: 'monkey',\n code: '🐒',\n keywords: [\n 'monkey',\n ],\n },\n {\n name: 'gorilla',\n code: '🦍',\n keywords: [\n 'gorilla',\n ],\n },\n {\n name: 'orangutan',\n code: '🦧',\n keywords: [\n 'orangutan',\n ],\n },\n {\n name: 'dog',\n code: '🐶',\n keywords: [\n 'pet',\n 'dog',\n 'face',\n ],\n },\n {\n name: 'dog2',\n code: '🐕',\n keywords: [\n 'dog2',\n 'dog',\n 'pet',\n ],\n },\n {\n name: 'guide_dog',\n code: '🦮',\n keywords: [\n 'guide_dog',\n ],\n },\n {\n name: 'service_dog',\n code: '🐕‍🦺',\n keywords: [\n 'service_dog',\n ],\n },\n {\n name: 'poodle',\n code: '🐩',\n keywords: [\n 'dog',\n 'poodle',\n ],\n },\n {\n name: 'wolf',\n code: '🐺',\n keywords: [\n 'wolf',\n 'face',\n ],\n },\n {\n name: 'fox_face',\n code: '🦊',\n keywords: [\n 'fox_face',\n 'face',\n 'fox',\n ],\n },\n {\n name: 'raccoon',\n code: '🦝',\n keywords: [\n 'raccoon',\n ],\n },\n {\n name: 'cat',\n code: '🐱',\n keywords: [\n 'pet',\n 'cat',\n 'face',\n ],\n },\n {\n name: 'cat2',\n code: '🐈',\n keywords: [\n 'cat2',\n 'cat',\n 'pet',\n ],\n },\n {\n name: 'black_cat',\n code: '🐈‍⬛',\n keywords: [\n 'black_cat',\n ],\n },\n {\n name: 'lion',\n code: '🦁',\n keywords: [\n 'lion',\n 'face',\n 'leo',\n 'zodiac',\n ],\n },\n {\n name: 'tiger',\n code: '🐯',\n keywords: [\n 'tiger',\n 'face',\n ],\n },\n {\n name: 'tiger2',\n code: '🐅',\n keywords: [\n 'tiger2',\n 'tiger',\n ],\n },\n {\n name: 'leopard',\n code: '🐆',\n keywords: [\n 'leopard',\n ],\n },\n {\n name: 'horse',\n code: '🐴',\n keywords: [\n 'horse',\n 'face',\n ],\n },\n {\n name: 'racehorse',\n code: '🐎',\n keywords: [\n 'speed',\n 'racehorse',\n 'horse',\n 'racing',\n ],\n },\n {\n name: 'unicorn',\n code: '🦄',\n keywords: [\n 'unicorn',\n 'face',\n ],\n },\n {\n name: 'zebra',\n code: '🦓',\n keywords: [\n 'zebra',\n ],\n },\n {\n name: 'deer',\n code: '🦌',\n keywords: [\n 'deer',\n ],\n },\n {\n name: 'bison',\n code: '🦬',\n keywords: [\n 'bison',\n ],\n },\n {\n name: 'cow',\n code: '🐮',\n keywords: [\n 'cow',\n 'face',\n ],\n },\n {\n name: 'ox',\n code: '🐂',\n keywords: [\n 'ox',\n 'bull',\n 'taurus',\n 'zodiac',\n ],\n },\n {\n name: 'water_buffalo',\n code: '🐃',\n keywords: [\n 'water_buffalo',\n 'buffalo',\n 'water',\n ],\n },\n {\n name: 'cow2',\n code: '🐄',\n keywords: [\n 'cow2',\n 'cow',\n ],\n },\n {\n name: 'pig',\n code: '🐷',\n keywords: [\n 'pig',\n 'face',\n ],\n },\n {\n name: 'pig2',\n code: '🐖',\n keywords: [\n 'pig2',\n 'pig',\n 'sow',\n ],\n },\n {\n name: 'boar',\n code: '🐗',\n keywords: [\n 'boar',\n 'pig',\n ],\n },\n {\n name: 'pig_nose',\n code: '🐽',\n keywords: [\n 'pig_nose',\n 'face',\n 'nose',\n 'pig',\n ],\n },\n {\n name: 'ram',\n code: '🐏',\n keywords: [\n 'ram',\n 'aries',\n 'sheep',\n 'zodiac',\n ],\n },\n {\n name: 'sheep',\n code: '🐑',\n keywords: [\n 'sheep',\n 'ewe',\n ],\n },\n {\n name: 'goat',\n code: '🐐',\n keywords: [\n 'goat',\n 'capricorn',\n 'zodiac',\n ],\n },\n {\n name: 'dromedary_camel',\n code: '🐪',\n keywords: [\n 'desert',\n 'dromedary_camel',\n 'camel',\n 'dromedary',\n 'hump',\n ],\n },\n {\n name: 'camel',\n code: '🐫',\n keywords: [\n 'camel',\n 'bactrian',\n 'hump',\n ],\n },\n {\n name: 'llama',\n code: '🦙',\n keywords: [\n 'llama',\n ],\n },\n {\n name: 'giraffe',\n code: '🦒',\n keywords: [\n 'giraffe',\n ],\n },\n {\n name: 'elephant',\n code: '🐘',\n keywords: [\n 'elephant',\n ],\n },\n {\n name: 'mammoth',\n code: '🦣',\n keywords: [\n 'mammoth',\n ],\n },\n {\n name: 'rhinoceros',\n code: '🦏',\n keywords: [\n 'rhinoceros',\n ],\n },\n {\n name: 'hippopotamus',\n code: '🦛',\n keywords: [\n 'hippopotamus',\n ],\n },\n {\n name: 'mouse',\n code: '🐭',\n keywords: [\n 'mouse',\n 'face',\n ],\n },\n {\n name: 'mouse2',\n code: '🐁',\n keywords: [\n 'mouse2',\n 'mouse',\n ],\n },\n {\n name: 'rat',\n code: '🐀',\n keywords: [\n 'rat',\n ],\n },\n {\n name: 'hamster',\n code: '🐹',\n keywords: [\n 'pet',\n 'hamster',\n 'face',\n ],\n },\n {\n name: 'rabbit',\n code: '🐰',\n keywords: [\n 'bunny',\n 'rabbit',\n 'face',\n 'pet',\n ],\n },\n {\n name: 'rabbit2',\n code: '🐇',\n keywords: [\n 'rabbit2',\n 'bunny',\n 'pet',\n 'rabbit',\n ],\n },\n {\n name: 'chipmunk',\n code: '🐿️',\n keywords: [\n 'chipmunk',\n ],\n },\n {\n name: 'beaver',\n code: '🦫',\n keywords: [\n 'beaver',\n ],\n },\n {\n name: 'hedgehog',\n code: '🦔',\n keywords: [\n 'hedgehog',\n ],\n },\n {\n name: 'bat',\n code: '🦇',\n keywords: [\n 'bat',\n 'vampire',\n ],\n },\n {\n name: 'bear',\n code: '🐻',\n keywords: [\n 'bear',\n 'face',\n ],\n },\n {\n name: 'polar_bear',\n code: '🐻‍❄️',\n keywords: [\n 'polar_bear',\n ],\n },\n {\n name: 'koala',\n code: '🐨',\n keywords: [\n 'koala',\n 'bear',\n ],\n },\n {\n name: 'panda_face',\n code: '🐼',\n keywords: [\n 'panda_face',\n 'face',\n 'panda',\n ],\n },\n {\n name: 'sloth',\n code: '🦥',\n keywords: [\n 'sloth',\n ],\n },\n {\n name: 'otter',\n code: '🦦',\n keywords: [\n 'otter',\n ],\n },\n {\n name: 'skunk',\n code: '🦨',\n keywords: [\n 'skunk',\n ],\n },\n {\n name: 'kangaroo',\n code: '🦘',\n keywords: [\n 'kangaroo',\n ],\n },\n {\n name: 'badger',\n code: '🦡',\n keywords: [\n 'badger',\n ],\n },\n {\n name: 'feet',\n code: '🐾',\n keywords: [\n 'feet',\n 'paw_prints',\n 'paw',\n 'print',\n ],\n },\n {\n name: 'turkey',\n code: '🦃',\n keywords: [\n 'thanksgiving',\n 'turkey',\n ],\n },\n {\n name: 'chicken',\n code: '🐔',\n keywords: [\n 'chicken',\n ],\n },\n {\n name: 'rooster',\n code: '🐓',\n keywords: [\n 'rooster',\n ],\n },\n {\n name: 'hatching_chick',\n code: '🐣',\n keywords: [\n 'hatching_chick',\n 'baby',\n 'chick',\n 'hatching',\n ],\n },\n {\n name: 'baby_chick',\n code: '🐤',\n keywords: [\n 'baby_chick',\n 'baby',\n 'chick',\n ],\n },\n {\n name: 'hatched_chick',\n code: '🐥',\n keywords: [\n 'hatched_chick',\n 'baby',\n 'chick',\n ],\n },\n {\n name: 'bird',\n code: '🐦',\n keywords: [\n 'bird',\n ],\n },\n {\n name: 'penguin',\n code: '🐧',\n keywords: [\n 'penguin',\n ],\n },\n {\n name: 'dove',\n code: '🕊️',\n keywords: [\n 'peace',\n 'dove',\n ],\n },\n {\n name: 'eagle',\n code: '🦅',\n keywords: [\n 'eagle',\n 'bird',\n ],\n },\n {\n name: 'duck',\n code: '🦆',\n keywords: [\n 'duck',\n 'bird',\n ],\n },\n {\n name: 'swan',\n code: '🦢',\n keywords: [\n 'swan',\n ],\n },\n {\n name: 'owl',\n code: '🦉',\n keywords: [\n 'owl',\n 'bird',\n 'wise',\n ],\n },\n {\n name: 'dodo',\n code: '🦤',\n keywords: [\n 'dodo',\n ],\n },\n {\n name: 'feather',\n code: '🪶',\n keywords: [\n 'feather',\n ],\n },\n {\n name: 'flamingo',\n code: '🦩',\n keywords: [\n 'flamingo',\n ],\n },\n {\n name: 'peacock',\n code: '🦚',\n keywords: [\n 'peacock',\n ],\n },\n {\n name: 'parrot',\n code: '🦜',\n keywords: [\n 'parrot',\n ],\n },\n {\n name: 'frog',\n code: '🐸',\n keywords: [\n 'frog',\n 'face',\n ],\n },\n {\n name: 'crocodile',\n code: '🐊',\n keywords: [\n 'crocodile',\n ],\n },\n {\n name: 'turtle',\n code: '🐢',\n keywords: [\n 'slow',\n 'turtle',\n ],\n },\n {\n name: 'lizard',\n code: '🦎',\n keywords: [\n 'lizard',\n 'reptile',\n ],\n },\n {\n name: 'snake',\n code: '🐍',\n keywords: [\n 'snake',\n 'bearer',\n 'ophiuchus',\n 'serpent',\n 'zodiac',\n ],\n },\n {\n name: 'dragon_face',\n code: '🐲',\n keywords: [\n 'dragon_face',\n 'dragon',\n 'face',\n 'fairy tale',\n ],\n },\n {\n name: 'dragon',\n code: '🐉',\n keywords: [\n 'dragon',\n 'fairy tale',\n ],\n },\n {\n name: 'sauropod',\n code: '🦕',\n keywords: [\n 'dinosaur',\n 'sauropod',\n ],\n },\n {\n name: 't-rex',\n code: '🦖',\n keywords: [\n 'dinosaur',\n 't-rex',\n ],\n },\n {\n name: 'whale',\n code: '🐳',\n keywords: [\n 'sea',\n 'whale',\n 'face',\n 'spouting',\n ],\n },\n {\n name: 'whale2',\n code: '🐋',\n keywords: [\n 'whale2',\n 'whale',\n ],\n },\n {\n name: 'dolphin',\n code: '🐬',\n keywords: [\n 'dolphin',\n 'flipper',\n ],\n },\n {\n name: 'seal',\n code: '🦭',\n keywords: [\n 'seal',\n ],\n },\n {\n name: 'fish',\n code: '🐟',\n keywords: [\n 'fish',\n 'pisces',\n 'zodiac',\n ],\n },\n {\n name: 'tropical_fish',\n code: '🐠',\n keywords: [\n 'tropical_fish',\n 'fish',\n 'tropical',\n ],\n },\n {\n name: 'blowfish',\n code: '🐡',\n keywords: [\n 'blowfish',\n 'fish',\n ],\n },\n {\n name: 'shark',\n code: '🦈',\n keywords: [\n 'shark',\n 'fish',\n ],\n },\n {\n name: 'octopus',\n code: '🐙',\n keywords: [\n 'octopus',\n ],\n },\n {\n name: 'shell',\n code: '🐚',\n keywords: [\n 'sea',\n 'beach',\n 'shell',\n 'spiral',\n ],\n },\n {\n name: 'snail',\n code: '🐌',\n keywords: [\n 'slow',\n 'snail',\n ],\n },\n {\n name: 'butterfly',\n code: '🦋',\n keywords: [\n 'butterfly',\n 'insect',\n 'pretty',\n ],\n },\n {\n name: 'bug',\n code: '🐛',\n keywords: [\n 'bug',\n 'insect',\n ],\n },\n {\n name: 'ant',\n code: '🐜',\n keywords: [\n 'ant',\n 'insect',\n ],\n },\n {\n name: 'bee',\n code: '🐝',\n keywords: [\n 'bee',\n 'honeybee',\n 'insect',\n ],\n },\n {\n name: 'beetle',\n code: '🪲',\n keywords: [\n 'beetle',\n ],\n },\n {\n name: 'lady_beetle',\n code: '🐞',\n keywords: [\n 'bug',\n 'lady_beetle',\n 'beetle',\n 'insect',\n 'lady beetle',\n 'ladybird',\n 'ladybug',\n ],\n },\n {\n name: 'cricket',\n code: '🦗',\n keywords: [\n 'cricket',\n ],\n },\n {\n name: 'cockroach',\n code: '🪳',\n keywords: [\n 'cockroach',\n ],\n },\n {\n name: 'spider',\n code: '🕷️',\n keywords: [\n 'spider',\n ],\n },\n {\n name: 'spider_web',\n code: '🕸️',\n keywords: [\n 'spider_web',\n ],\n },\n {\n name: 'scorpion',\n code: '🦂',\n keywords: [\n 'scorpion',\n 'scorpio',\n 'scorpius',\n 'zodiac',\n ],\n },\n {\n name: 'mosquito',\n code: '🦟',\n keywords: [\n 'mosquito',\n ],\n },\n {\n name: 'fly',\n code: '🪰',\n keywords: [\n 'fly',\n ],\n },\n {\n name: 'worm',\n code: '🪱',\n keywords: [\n 'worm',\n ],\n },\n {\n name: 'microbe',\n code: '🦠',\n keywords: [\n 'germ',\n 'microbe',\n ],\n },\n {\n name: 'bouquet',\n code: '💐',\n keywords: [\n 'flowers',\n 'bouquet',\n 'flower',\n 'plant',\n 'romance',\n ],\n },\n {\n name: 'cherry_blossom',\n code: '🌸',\n keywords: [\n 'flower',\n 'spring',\n 'cherry_blossom',\n 'blossom',\n 'cherry',\n 'plant',\n ],\n },\n {\n name: 'white_flower',\n code: '💮',\n keywords: [\n 'white_flower',\n 'flower',\n ],\n },\n {\n name: 'rosette',\n code: '🏵️',\n keywords: [\n 'rosette',\n ],\n },\n {\n name: 'rose',\n code: '🌹',\n keywords: [\n 'flower',\n 'rose',\n 'plant',\n ],\n },\n {\n name: 'wilted_flower',\n code: '🥀',\n keywords: [\n 'wilted_flower',\n 'flower',\n 'wilted',\n ],\n },\n {\n name: 'hibiscus',\n code: '🌺',\n keywords: [\n 'hibiscus',\n 'flower',\n 'plant',\n ],\n },\n {\n name: 'sunflower',\n code: '🌻',\n keywords: [\n 'sunflower',\n 'flower',\n 'plant',\n 'sun',\n ],\n },\n {\n name: 'blossom',\n code: '🌼',\n keywords: [\n 'blossom',\n 'flower',\n 'plant',\n ],\n },\n {\n name: 'tulip',\n code: '🌷',\n keywords: [\n 'flower',\n 'tulip',\n 'plant',\n ],\n },\n {\n name: 'seedling',\n code: '🌱',\n keywords: [\n 'plant',\n 'seedling',\n 'young',\n ],\n },\n {\n name: 'potted_plant',\n code: '🪴',\n keywords: [\n 'potted_plant',\n ],\n },\n {\n name: 'evergreen_tree',\n code: '🌲',\n keywords: [\n 'wood',\n 'evergreen_tree',\n 'evergreen',\n 'plant',\n 'tree',\n ],\n },\n {\n name: 'deciduous_tree',\n code: '🌳',\n keywords: [\n 'wood',\n 'deciduous_tree',\n 'deciduous',\n 'plant',\n 'shedding',\n 'tree',\n ],\n },\n {\n name: 'palm_tree',\n code: '🌴',\n keywords: [\n 'palm_tree',\n 'palm',\n 'plant',\n 'tree',\n ],\n },\n {\n name: 'cactus',\n code: '🌵',\n keywords: [\n 'cactus',\n 'plant',\n ],\n },\n {\n name: 'ear_of_rice',\n code: '🌾',\n keywords: [\n 'ear_of_rice',\n 'ear',\n 'plant',\n 'rice',\n ],\n },\n {\n name: 'herb',\n code: '🌿',\n keywords: [\n 'herb',\n 'leaf',\n 'plant',\n ],\n },\n {\n name: 'shamrock',\n code: '☘️',\n keywords: [\n 'shamrock',\n 'plant',\n ],\n },\n {\n name: 'four_leaf_clover',\n code: '🍀',\n keywords: [\n 'luck',\n 'four_leaf_clover',\n '4',\n 'clover',\n 'four',\n 'leaf',\n 'plant',\n ],\n },\n {\n name: 'maple_leaf',\n code: '🍁',\n keywords: [\n 'canada',\n 'maple_leaf',\n 'falling',\n 'leaf',\n 'maple',\n 'plant',\n ],\n },\n {\n name: 'fallen_leaf',\n code: '🍂',\n keywords: [\n 'autumn',\n 'fallen_leaf',\n 'falling',\n 'leaf',\n 'plant',\n ],\n },\n {\n name: 'leaves',\n code: '🍃',\n keywords: [\n 'leaf',\n 'leaves',\n 'blow',\n 'flutter',\n 'plant',\n 'wind',\n ],\n },\n {\n code: 'foodAndDrink',\n header: true,\n icon: FoodAndDrink,\n },\n {\n name: 'grapes',\n code: '🍇',\n keywords: [\n 'grapes',\n 'fruit',\n 'grape',\n 'plant',\n ],\n },\n {\n name: 'melon',\n code: '🍈',\n keywords: [\n 'melon',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'watermelon',\n code: '🍉',\n keywords: [\n 'watermelon',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'tangerine',\n code: '🍊',\n keywords: [\n 'tangerine',\n 'orange',\n 'mandarin',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'lemon',\n code: '🍋',\n keywords: [\n 'lemon',\n 'citrus',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'banana',\n code: '🍌',\n keywords: [\n 'fruit',\n 'banana',\n 'plant',\n ],\n },\n {\n name: 'pineapple',\n code: '🍍',\n keywords: [\n 'pineapple',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'mango',\n code: '🥭',\n keywords: [\n 'mango',\n ],\n },\n {\n name: 'apple',\n code: '🍎',\n keywords: [\n 'apple',\n 'fruit',\n 'plant',\n 'red',\n ],\n },\n {\n name: 'green_apple',\n code: '🍏',\n keywords: [\n 'fruit',\n 'green_apple',\n 'apple',\n 'green',\n 'plant',\n ],\n },\n {\n name: 'pear',\n code: '🍐',\n keywords: [\n 'pear',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'peach',\n code: '🍑',\n keywords: [\n 'peach',\n 'fruit',\n 'plant',\n ],\n },\n {\n name: 'cherries',\n code: '🍒',\n keywords: [\n 'fruit',\n 'cherries',\n 'cherry',\n 'plant',\n ],\n },\n {\n name: 'strawberry',\n code: '🍓',\n keywords: [\n 'fruit',\n 'strawberry',\n 'berry',\n 'plant',\n ],\n },\n {\n name: 'blueberries',\n code: '🫐',\n keywords: [\n 'blueberries',\n ],\n },\n {\n name: 'kiwi_fruit',\n code: '🥝',\n keywords: [\n 'kiwi_fruit',\n 'fruit',\n 'kiwi',\n ],\n },\n {\n name: 'tomato',\n code: '🍅',\n keywords: [\n 'tomato',\n 'plant',\n 'vegetable',\n ],\n },\n {\n name: 'olive',\n code: '🫒',\n keywords: [\n 'olive',\n ],\n },\n {\n name: 'coconut',\n code: '🥥',\n keywords: [\n 'coconut',\n ],\n },\n {\n name: 'avocado',\n code: '🥑',\n keywords: [\n 'avocado',\n 'fruit',\n ],\n },\n {\n name: 'eggplant',\n code: '🍆',\n keywords: [\n 'aubergine',\n 'eggplant',\n 'plant',\n 'vegetable',\n ],\n },\n {\n name: 'potato',\n code: '🥔',\n keywords: [\n 'potato',\n 'vegetable',\n ],\n },\n {\n name: 'carrot',\n code: '🥕',\n keywords: [\n 'carrot',\n 'vegetable',\n ],\n },\n {\n name: 'corn',\n code: '🌽',\n keywords: [\n 'corn',\n 'ear',\n 'maize',\n 'maze',\n 'plant',\n ],\n },\n {\n name: 'hot_pepper',\n code: '🌶️',\n keywords: [\n 'spicy',\n 'hot_pepper',\n ],\n },\n {\n name: 'bell_pepper',\n code: '🫑',\n keywords: [\n 'bell_pepper',\n ],\n },\n {\n name: 'cucumber',\n code: '🥒',\n keywords: [\n 'cucumber',\n 'pickle',\n 'vegetable',\n ],\n },\n {\n name: 'leafy_green',\n code: '🥬',\n keywords: [\n 'leafy_green',\n ],\n },\n {\n name: 'broccoli',\n code: '🥦',\n keywords: [\n 'broccoli',\n ],\n },\n {\n name: 'garlic',\n code: '🧄',\n keywords: [\n 'garlic',\n ],\n },\n {\n name: 'onion',\n code: '🧅',\n keywords: [\n 'onion',\n ],\n },\n {\n name: 'mushroom',\n code: '🍄',\n keywords: [\n 'mushroom',\n 'plant',\n ],\n },\n {\n name: 'peanuts',\n code: '🥜',\n keywords: [\n 'peanuts',\n 'nut',\n 'peanut',\n 'vegetable',\n ],\n },\n {\n name: 'chestnut',\n code: '🌰',\n keywords: [\n 'chestnut',\n 'plant',\n ],\n },\n {\n name: 'bread',\n code: '🍞',\n keywords: [\n 'toast',\n 'bread',\n 'loaf',\n ],\n },\n {\n name: 'croissant',\n code: '🥐',\n keywords: [\n 'croissant',\n 'bread',\n 'crescent roll',\n 'french',\n ],\n },\n {\n name: 'baguette_bread',\n code: '🥖',\n keywords: [\n 'baguette_bread',\n 'baguette',\n 'bread',\n 'french',\n ],\n },\n {\n name: 'flatbread',\n code: '🫓',\n keywords: [\n 'flatbread',\n ],\n },\n {\n name: 'pretzel',\n code: '🥨',\n keywords: [\n 'pretzel',\n ],\n },\n {\n name: 'bagel',\n code: '🥯',\n keywords: [\n 'bagel',\n ],\n },\n {\n name: 'pancakes',\n code: '🥞',\n keywords: [\n 'pancakes',\n 'crêpe',\n 'hotcake',\n 'pancake',\n ],\n },\n {\n name: 'waffle',\n code: '🧇',\n keywords: [\n 'waffle',\n ],\n },\n {\n name: 'cheese',\n code: '🧀',\n keywords: [\n 'cheese',\n ],\n },\n {\n name: 'meat_on_bone',\n code: '🍖',\n keywords: [\n 'meat_on_bone',\n 'bone',\n 'meat',\n ],\n },\n {\n name: 'poultry_leg',\n code: '🍗',\n keywords: [\n 'meat',\n 'chicken',\n 'poultry_leg',\n 'bone',\n 'leg',\n 'poultry',\n ],\n },\n {\n name: 'cut_of_meat',\n code: '🥩',\n keywords: [\n 'cut_of_meat',\n ],\n },\n {\n name: 'bacon',\n code: '🥓',\n keywords: [\n 'bacon',\n 'meat',\n ],\n },\n {\n name: 'hamburger',\n code: '🍔',\n keywords: [\n 'burger',\n 'hamburger',\n ],\n },\n {\n name: 'fries',\n code: '🍟',\n keywords: [\n 'fries',\n 'french',\n ],\n },\n {\n name: 'pizza',\n code: '🍕',\n keywords: [\n 'pizza',\n 'cheese',\n 'slice',\n ],\n },\n {\n name: 'hotdog',\n code: '🌭',\n keywords: [\n 'hotdog',\n 'frankfurter',\n 'hot dog',\n 'sausage',\n ],\n },\n {\n name: 'sandwich',\n code: '🥪',\n keywords: [\n 'sandwich',\n ],\n },\n {\n name: 'taco',\n code: '🌮',\n keywords: [\n 'taco',\n 'mexican',\n ],\n },\n {\n name: 'burrito',\n code: '🌯',\n keywords: [\n 'burrito',\n 'mexican',\n ],\n },\n {\n name: 'tamale',\n code: '🫔',\n keywords: [\n 'tamale',\n ],\n },\n {\n name: 'stuffed_flatbread',\n code: '🥙',\n keywords: [\n 'stuffed_flatbread',\n 'falafel',\n 'flatbread',\n 'gyro',\n 'kebab',\n 'stuffed',\n ],\n },\n {\n name: 'falafel',\n code: '🧆',\n keywords: [\n 'falafel',\n ],\n },\n {\n name: 'egg',\n code: '🥚',\n keywords: [\n 'egg',\n ],\n },\n {\n name: 'fried_egg',\n code: '🍳',\n keywords: [\n 'breakfast',\n 'fried_egg',\n 'cooking',\n 'egg',\n 'frying',\n 'pan',\n ],\n },\n {\n name: 'shallow_pan_of_food',\n code: '🥘',\n keywords: [\n 'paella',\n 'curry',\n 'shallow_pan_of_food',\n 'casserole',\n 'pan',\n 'shallow',\n ],\n },\n {\n name: 'stew',\n code: '🍲',\n keywords: [\n 'stew',\n 'pot',\n ],\n },\n {\n name: 'fondue',\n code: '🫕',\n keywords: [\n 'fondue',\n ],\n },\n {\n name: 'bowl_with_spoon',\n code: '🥣',\n keywords: [\n 'bowl_with_spoon',\n ],\n },\n {\n name: 'green_salad',\n code: '🥗',\n keywords: [\n 'green_salad',\n 'green',\n 'salad',\n ],\n },\n {\n name: 'popcorn',\n code: '🍿',\n keywords: [\n 'popcorn',\n ],\n },\n {\n name: 'butter',\n code: '🧈',\n keywords: [\n 'butter',\n ],\n },\n {\n name: 'salt',\n code: '🧂',\n keywords: [\n 'salt',\n ],\n },\n {\n name: 'canned_food',\n code: '🥫',\n keywords: [\n 'canned_food',\n ],\n },\n {\n name: 'bento',\n code: '🍱',\n keywords: [\n 'bento',\n 'box',\n ],\n },\n {\n name: 'rice_cracker',\n code: '🍘',\n keywords: [\n 'rice_cracker',\n 'cracker',\n 'rice',\n ],\n },\n {\n name: 'rice_ball',\n code: '🍙',\n keywords: [\n 'rice_ball',\n 'ball',\n 'japanese',\n 'rice',\n ],\n },\n {\n name: 'rice',\n code: '🍚',\n keywords: [\n 'rice',\n 'cooked',\n ],\n },\n {\n name: 'curry',\n code: '🍛',\n keywords: [\n 'curry',\n 'rice',\n ],\n },\n {\n name: 'ramen',\n code: '🍜',\n keywords: [\n 'noodle',\n 'ramen',\n 'bowl',\n 'steaming',\n ],\n },\n {\n name: 'spaghetti',\n code: '🍝',\n keywords: [\n 'pasta',\n 'spaghetti',\n ],\n },\n {\n name: 'sweet_potato',\n code: '🍠',\n keywords: [\n 'sweet_potato',\n 'potato',\n 'roasted',\n 'sweet',\n ],\n },\n {\n name: 'oden',\n code: '🍢',\n keywords: [\n 'oden',\n 'kebab',\n 'seafood',\n 'skewer',\n 'stick',\n ],\n },\n {\n name: 'sushi',\n code: '🍣',\n keywords: [\n 'sushi',\n ],\n },\n {\n name: 'fried_shrimp',\n code: '🍤',\n keywords: [\n 'tempura',\n 'fried_shrimp',\n 'fried',\n 'prawn',\n 'shrimp',\n ],\n },\n {\n name: 'fish_cake',\n code: '🍥',\n keywords: [\n 'fish_cake',\n 'cake',\n 'fish',\n 'pastry',\n 'swirl',\n ],\n },\n {\n name: 'moon_cake',\n code: '🥮',\n keywords: [\n 'moon_cake',\n ],\n },\n {\n name: 'dango',\n code: '🍡',\n keywords: [\n 'dango',\n 'dessert',\n 'japanese',\n 'skewer',\n 'stick',\n 'sweet',\n ],\n },\n {\n name: 'dumpling',\n code: '🥟',\n keywords: [\n 'dumpling',\n ],\n },\n {\n name: 'fortune_cookie',\n code: '🥠',\n keywords: [\n 'fortune_cookie',\n ],\n },\n {\n name: 'takeout_box',\n code: '🥡',\n keywords: [\n 'takeout_box',\n ],\n },\n {\n name: 'crab',\n code: '🦀',\n keywords: [\n 'crab',\n 'cancer',\n 'zodiac',\n ],\n },\n {\n name: 'lobster',\n code: '🦞',\n keywords: [\n 'lobster',\n ],\n },\n {\n name: 'shrimp',\n code: '🦐',\n keywords: [\n 'shrimp',\n 'shellfish',\n 'small',\n ],\n },\n {\n name: 'squid',\n code: '🦑',\n keywords: [\n 'squid',\n 'molusc',\n ],\n },\n {\n name: 'oyster',\n code: '🦪',\n keywords: [\n 'oyster',\n ],\n },\n {\n name: 'icecream',\n code: '🍦',\n keywords: [\n 'icecream',\n 'cream',\n 'dessert',\n 'ice',\n 'soft',\n 'sweet',\n ],\n },\n {\n name: 'shaved_ice',\n code: '🍧',\n keywords: [\n 'shaved_ice',\n 'dessert',\n 'ice',\n 'shaved',\n 'sweet',\n ],\n },\n {\n name: 'ice_cream',\n code: '🍨',\n keywords: [\n 'ice_cream',\n 'cream',\n 'dessert',\n 'ice',\n 'sweet',\n ],\n },\n {\n name: 'doughnut',\n code: '🍩',\n keywords: [\n 'doughnut',\n 'dessert',\n 'donut',\n 'sweet',\n ],\n },\n {\n name: 'cookie',\n code: '🍪',\n keywords: [\n 'cookie',\n 'dessert',\n 'sweet',\n ],\n },\n {\n name: 'birthday',\n code: '🎂',\n keywords: [\n 'party',\n 'birthday',\n 'cake',\n 'celebration',\n 'dessert',\n 'pastry',\n 'sweet',\n ],\n },\n {\n name: 'cake',\n code: '🍰',\n keywords: [\n 'dessert',\n 'cake',\n 'pastry',\n 'shortcake',\n 'slice',\n 'sweet',\n ],\n },\n {\n name: 'cupcake',\n code: '🧁',\n keywords: [\n 'cupcake',\n ],\n },\n {\n name: 'pie',\n code: '🥧',\n keywords: [\n 'pie',\n ],\n },\n {\n name: 'chocolate_bar',\n code: '🍫',\n keywords: [\n 'chocolate_bar',\n 'bar',\n 'chocolate',\n 'dessert',\n 'sweet',\n ],\n },\n {\n name: 'candy',\n code: '🍬',\n keywords: [\n 'sweet',\n 'candy',\n 'dessert',\n ],\n },\n {\n name: 'lollipop',\n code: '🍭',\n keywords: [\n 'lollipop',\n 'candy',\n 'dessert',\n 'sweet',\n ],\n },\n {\n name: 'custard',\n code: '🍮',\n keywords: [\n 'custard',\n 'dessert',\n 'pudding',\n 'sweet',\n ],\n },\n {\n name: 'honey_pot',\n code: '🍯',\n keywords: [\n 'honey_pot',\n 'honey',\n 'honeypot',\n 'pot',\n 'sweet',\n ],\n },\n {\n name: 'baby_bottle',\n code: '🍼',\n keywords: [\n 'milk',\n 'baby_bottle',\n 'baby',\n 'bottle',\n 'drink',\n ],\n },\n {\n name: 'milk_glass',\n code: '🥛',\n keywords: [\n 'milk_glass',\n 'drink',\n 'glass',\n 'milk',\n ],\n },\n {\n name: 'coffee',\n code: '☕',\n keywords: [\n 'cafe',\n 'espresso',\n 'coffee',\n 'beverage',\n 'drink',\n 'hot',\n 'steaming',\n 'tea',\n ],\n },\n {\n name: 'teapot',\n code: '🫖',\n keywords: [\n 'teapot',\n ],\n },\n {\n name: 'tea',\n code: '🍵',\n keywords: [\n 'green',\n 'breakfast',\n 'tea',\n 'beverage',\n 'cup',\n 'drink',\n 'teacup',\n ],\n },\n {\n name: 'sake',\n code: '🍶',\n keywords: [\n 'sake',\n 'bar',\n 'beverage',\n 'bottle',\n 'cup',\n 'drink',\n ],\n },\n {\n name: 'champagne',\n code: '🍾',\n keywords: [\n 'bottle',\n 'bubbly',\n 'celebration',\n 'champagne',\n 'bar',\n 'cork',\n 'drink',\n 'popping',\n ],\n },\n {\n name: 'wine_glass',\n code: '🍷',\n keywords: [\n 'wine_glass',\n 'bar',\n 'beverage',\n 'drink',\n 'glass',\n 'wine',\n ],\n },\n {\n name: 'cocktail',\n code: '🍸',\n keywords: [\n 'drink',\n 'cocktail',\n 'bar',\n 'glass',\n ],\n },\n {\n name: 'tropical_drink',\n code: '🍹',\n keywords: [\n 'summer',\n 'vacation',\n 'tropical_drink',\n 'bar',\n 'drink',\n 'tropical',\n ],\n },\n {\n name: 'beer',\n code: '🍺',\n keywords: [\n 'drink',\n 'beer',\n 'bar',\n 'mug',\n ],\n },\n {\n name: 'beers',\n code: '🍻',\n keywords: [\n 'drinks',\n 'beers',\n 'bar',\n 'beer',\n 'clink',\n 'drink',\n 'mug',\n ],\n },\n {\n name: 'clinking_glasses',\n code: '🥂',\n keywords: [\n 'cheers',\n 'toast',\n 'clinking_glasses',\n 'celebrate',\n 'clink',\n 'drink',\n 'glass',\n ],\n },\n {\n name: 'tumbler_glass',\n code: '🥃',\n keywords: [\n 'whisky',\n 'tumbler_glass',\n 'glass',\n 'liquor',\n 'shot',\n 'tumbler',\n ],\n },\n {\n name: 'cup_with_straw',\n code: '🥤',\n keywords: [\n 'cup_with_straw',\n ],\n },\n {\n name: 'bubble_tea',\n code: '🧋',\n keywords: [\n 'bubble_tea',\n ],\n },\n {\n name: 'beverage_box',\n code: '🧃',\n keywords: [\n 'beverage_box',\n ],\n },\n {\n name: 'mate',\n code: '🧉',\n keywords: [\n 'mate',\n ],\n },\n {\n name: 'ice_cube',\n code: '🧊',\n keywords: [\n 'ice_cube',\n ],\n },\n {\n name: 'chopsticks',\n code: '🥢',\n keywords: [\n 'chopsticks',\n ],\n },\n {\n name: 'plate_with_cutlery',\n code: '🍽️',\n keywords: [\n 'dining',\n 'dinner',\n 'plate_with_cutlery',\n ],\n },\n {\n name: 'fork_and_knife',\n code: '🍴',\n keywords: [\n 'cutlery',\n 'fork_and_knife',\n 'cooking',\n 'fork',\n 'knife',\n ],\n },\n {\n name: 'spoon',\n code: '🥄',\n keywords: [\n 'spoon',\n 'tableware',\n ],\n },\n {\n name: 'hocho',\n code: '🔪',\n keywords: [\n 'cut',\n 'chop',\n 'hocho',\n 'knife',\n 'cooking',\n 'tool',\n 'weapon',\n ],\n },\n {\n name: 'amphora',\n code: '🏺',\n keywords: [\n 'amphora',\n 'aquarius',\n 'cooking',\n 'drink',\n 'jug',\n 'tool',\n 'weapon',\n 'zodiac',\n ],\n },\n {\n code: 'travelAndPlaces',\n header: true,\n icon: TravelAndPlaces,\n },\n {\n name: 'earth_africa',\n code: '🌍',\n keywords: [\n 'globe',\n 'world',\n 'international',\n 'earth_africa',\n 'africa',\n 'earth',\n 'europe',\n ],\n },\n {\n name: 'earth_americas',\n code: '🌎',\n keywords: [\n 'globe',\n 'world',\n 'international',\n 'earth_americas',\n 'americas',\n 'earth',\n ],\n },\n {\n name: 'earth_asia',\n code: '🌏',\n keywords: [\n 'globe',\n 'world',\n 'international',\n 'earth_asia',\n 'asia',\n 'australia',\n 'earth',\n ],\n },\n {\n name: 'globe_with_meridians',\n code: '🌐',\n keywords: [\n 'world',\n 'global',\n 'international',\n 'globe_with_meridians',\n 'earth',\n 'globe',\n 'meridians',\n ],\n },\n {\n name: 'world_map',\n code: '🗺️',\n keywords: [\n 'travel',\n 'world_map',\n ],\n },\n {\n name: 'japan',\n code: '🗾',\n keywords: [\n 'japan',\n 'map',\n ],\n },\n {\n name: 'compass',\n code: '🧭',\n keywords: [\n 'compass',\n ],\n },\n {\n name: 'mountain_snow',\n code: '🏔️',\n keywords: [\n 'mountain_snow',\n ],\n },\n {\n name: 'mountain',\n code: '⛰️',\n keywords: [\n 'mountain',\n ],\n },\n {\n name: 'volcano',\n code: '🌋',\n keywords: [\n 'volcano',\n 'eruption',\n 'mountain',\n 'weather',\n ],\n },\n {\n name: 'mount_fuji',\n code: '🗻',\n keywords: [\n 'mount_fuji',\n 'fuji',\n 'mountain',\n ],\n },\n {\n name: 'camping',\n code: '🏕️',\n keywords: [\n 'camping',\n ],\n },\n {\n name: 'beach_umbrella',\n code: '🏖️',\n keywords: [\n 'beach_umbrella',\n ],\n },\n {\n name: 'desert',\n code: '🏜️',\n keywords: [\n 'desert',\n ],\n },\n {\n name: 'desert_island',\n code: '🏝️',\n keywords: [\n 'desert_island',\n ],\n },\n {\n name: 'national_park',\n code: '🏞️',\n keywords: [\n 'national_park',\n ],\n },\n {\n name: 'stadium',\n code: '🏟️',\n keywords: [\n 'stadium',\n ],\n },\n {\n name: 'classical_building',\n code: '🏛️',\n keywords: [\n 'classical_building',\n ],\n },\n {\n name: 'building_construction',\n code: '🏗️',\n keywords: [\n 'building_construction',\n ],\n },\n {\n name: 'bricks',\n code: '🧱',\n keywords: [\n 'bricks',\n ],\n },\n {\n name: 'rock',\n code: '🪨',\n keywords: [\n 'rock',\n ],\n },\n {\n name: 'wood',\n code: '🪵',\n keywords: [\n 'wood',\n ],\n },\n {\n name: 'hut',\n code: '🛖',\n keywords: [\n 'hut',\n ],\n },\n {\n name: 'houses',\n code: '🏘️',\n keywords: [\n 'houses',\n ],\n },\n {\n name: 'derelict_house',\n code: '🏚️',\n keywords: [\n 'derelict_house',\n ],\n },\n {\n name: 'house',\n code: '🏠',\n keywords: [\n 'house',\n 'building',\n 'home',\n ],\n },\n {\n name: 'house_with_garden',\n code: '🏡',\n keywords: [\n 'house_with_garden',\n 'building',\n 'garden',\n 'home',\n 'house',\n ],\n },\n {\n name: 'office',\n code: '🏢',\n keywords: [\n 'office',\n 'building',\n ],\n },\n {\n name: 'post_office',\n code: '🏣',\n keywords: [\n 'post_office',\n 'building',\n 'japanese',\n 'post',\n ],\n },\n {\n name: 'european_post_office',\n code: '🏤',\n keywords: [\n 'european_post_office',\n 'building',\n 'european',\n 'post',\n ],\n },\n {\n name: 'hospital',\n code: '🏥',\n keywords: [\n 'hospital',\n 'building',\n 'doctor',\n 'medicine',\n ],\n },\n {\n name: 'bank',\n code: '🏦',\n keywords: [\n 'bank',\n 'building',\n ],\n },\n {\n name: 'hotel',\n code: '🏨',\n keywords: [\n 'hotel',\n 'building',\n ],\n },\n {\n name: 'love_hotel',\n code: '🏩',\n keywords: [\n 'love_hotel',\n 'building',\n 'hotel',\n 'love',\n ],\n },\n {\n name: 'convenience_store',\n code: '🏪',\n keywords: [\n 'convenience_store',\n 'building',\n 'convenience',\n 'store',\n ],\n },\n {\n name: 'school',\n code: '🏫',\n keywords: [\n 'school',\n 'building',\n ],\n },\n {\n name: 'department_store',\n code: '🏬',\n keywords: [\n 'department_store',\n 'building',\n 'department',\n 'store',\n ],\n },\n {\n name: 'factory',\n code: '🏭',\n keywords: [\n 'factory',\n 'building',\n ],\n },\n {\n name: 'japanese_castle',\n code: '🏯',\n keywords: [\n 'japanese_castle',\n 'building',\n 'castle',\n 'japanese',\n ],\n },\n {\n name: 'european_castle',\n code: '🏰',\n keywords: [\n 'european_castle',\n 'building',\n 'castle',\n 'european',\n ],\n },\n {\n name: 'wedding',\n code: '💒',\n keywords: [\n 'marriage',\n 'wedding',\n 'activity',\n 'chapel',\n 'romance',\n ],\n },\n {\n name: 'tokyo_tower',\n code: '🗼',\n keywords: [\n 'tokyo_tower',\n 'tokyo',\n 'tower',\n ],\n },\n {\n name: 'statue_of_liberty',\n code: '🗽',\n keywords: [\n 'statue_of_liberty',\n 'liberty',\n 'statue',\n ],\n },\n {\n name: 'church',\n code: '⛪',\n keywords: [\n 'church',\n 'building',\n 'christian',\n 'cross',\n 'religion',\n ],\n },\n {\n name: 'mosque',\n code: '🕌',\n keywords: [\n 'mosque',\n 'islam',\n 'muslim',\n 'religion',\n ],\n },\n {\n name: 'hindu_temple',\n code: '🛕',\n keywords: [\n 'hindu_temple',\n ],\n },\n {\n name: 'synagogue',\n code: '🕍',\n keywords: [\n 'synagogue',\n 'jew',\n 'jewish',\n 'religion',\n 'temple',\n ],\n },\n {\n name: 'shinto_shrine',\n code: '⛩️',\n keywords: [\n 'shinto_shrine',\n ],\n },\n {\n name: 'kaaba',\n code: '🕋',\n keywords: [\n 'kaaba',\n 'islam',\n 'muslim',\n 'religion',\n ],\n },\n {\n name: 'fountain',\n code: '⛲',\n keywords: [\n 'fountain',\n ],\n },\n {\n name: 'tent',\n code: '⛺',\n keywords: [\n 'camping',\n 'tent',\n ],\n },\n {\n name: 'foggy',\n code: '🌁',\n keywords: [\n 'karl',\n 'foggy',\n 'fog',\n 'weather',\n ],\n },\n {\n name: 'night_with_stars',\n code: '🌃',\n keywords: [\n 'night_with_stars',\n 'night',\n 'star',\n 'weather',\n ],\n },\n {\n name: 'cityscape',\n code: '🏙️',\n keywords: [\n 'skyline',\n 'cityscape',\n ],\n },\n {\n name: 'sunrise_over_mountains',\n code: '🌄',\n keywords: [\n 'sunrise_over_mountains',\n 'morning',\n 'mountain',\n 'sun',\n 'sunrise',\n 'weather',\n ],\n },\n {\n name: 'sunrise',\n code: '🌅',\n keywords: [\n 'sunrise',\n 'morning',\n 'sun',\n 'weather',\n ],\n },\n {\n name: 'city_sunset',\n code: '🌆',\n keywords: [\n 'city_sunset',\n 'building',\n 'city',\n 'dusk',\n 'evening',\n 'landscape',\n 'sun',\n 'sunset',\n 'weather',\n ],\n },\n {\n name: 'city_sunrise',\n code: '🌇',\n keywords: [\n 'city_sunrise',\n 'building',\n 'dusk',\n 'sun',\n 'sunset',\n 'weather',\n ],\n },\n {\n name: 'bridge_at_night',\n code: '🌉',\n keywords: [\n 'bridge_at_night',\n 'bridge',\n 'night',\n 'weather',\n ],\n },\n {\n name: 'hotsprings',\n code: '♨️',\n keywords: [\n 'hotsprings',\n 'hot',\n 'springs',\n 'steaming',\n ],\n },\n {\n name: 'carousel_horse',\n code: '🎠',\n keywords: [\n 'carousel_horse',\n 'activity',\n 'carousel',\n 'entertainment',\n 'horse',\n ],\n },\n {\n name: 'ferris_wheel',\n code: '🎡',\n keywords: [\n 'ferris_wheel',\n 'activity',\n 'amusement park',\n 'entertainment',\n 'ferris',\n 'wheel',\n ],\n },\n {\n name: 'roller_coaster',\n code: '🎢',\n keywords: [\n 'roller_coaster',\n 'activity',\n 'amusement park',\n 'coaster',\n 'entertainment',\n 'roller',\n ],\n },\n {\n name: 'barber',\n code: '💈',\n keywords: [\n 'barber',\n 'haircut',\n 'pole',\n ],\n },\n {\n name: 'circus_tent',\n code: '🎪',\n keywords: [\n 'circus_tent',\n 'activity',\n 'circus',\n 'entertainment',\n 'tent',\n ],\n },\n {\n name: 'steam_locomotive',\n code: '🚂',\n keywords: [\n 'train',\n 'steam_locomotive',\n 'engine',\n 'locomotive',\n 'railway',\n 'steam',\n 'vehicle',\n ],\n },\n {\n name: 'railway_car',\n code: '🚃',\n keywords: [\n 'railway_car',\n 'car',\n 'electric',\n 'railway',\n 'train',\n 'tram',\n 'trolleybus',\n 'vehicle',\n ],\n },\n {\n name: 'bullettrain_side',\n code: '🚄',\n keywords: [\n 'train',\n 'bullettrain_side',\n 'railway',\n 'shinkansen',\n 'speed',\n 'vehicle',\n ],\n },\n {\n name: 'bullettrain_front',\n code: '🚅',\n keywords: [\n 'train',\n 'bullettrain_front',\n 'bullet',\n 'railway',\n 'shinkansen',\n 'speed',\n 'vehicle',\n ],\n },\n {\n name: 'train2',\n code: '🚆',\n keywords: [\n 'train2',\n 'railway',\n 'train',\n 'vehicle',\n ],\n },\n {\n name: 'metro',\n code: '🚇',\n keywords: [\n 'metro',\n 'subway',\n 'vehicle',\n ],\n },\n {\n name: 'light_rail',\n code: '🚈',\n keywords: [\n 'light_rail',\n 'railway',\n 'vehicle',\n ],\n },\n {\n name: 'station',\n code: '🚉',\n keywords: [\n 'station',\n 'railway',\n 'train',\n 'vehicle',\n ],\n },\n {\n name: 'tram',\n code: '🚊',\n keywords: [\n 'tram',\n 'trolleybus',\n 'vehicle',\n ],\n },\n {\n name: 'monorail',\n code: '🚝',\n keywords: [\n 'monorail',\n 'vehicle',\n ],\n },\n {\n name: 'mountain_railway',\n code: '🚞',\n keywords: [\n 'mountain_railway',\n 'car',\n 'mountain',\n 'railway',\n 'vehicle',\n ],\n },\n {\n name: 'train',\n code: '🚋',\n keywords: [\n 'train',\n 'car',\n 'tram',\n 'trolleybus',\n 'vehicle',\n ],\n },\n {\n name: 'bus',\n code: '🚌',\n keywords: [\n 'bus',\n 'vehicle',\n ],\n },\n {\n name: 'oncoming_bus',\n code: '🚍',\n keywords: [\n 'oncoming_bus',\n 'bus',\n 'oncoming',\n 'vehicle',\n ],\n },\n {\n name: 'trolleybus',\n code: '🚎',\n keywords: [\n 'trolleybus',\n 'bus',\n 'tram',\n 'trolley',\n 'vehicle',\n ],\n },\n {\n name: 'minibus',\n code: '🚐',\n keywords: [\n 'minibus',\n 'bus',\n 'vehicle',\n ],\n },\n {\n name: 'ambulance',\n code: '🚑',\n keywords: [\n 'ambulance',\n 'vehicle',\n ],\n },\n {\n name: 'fire_engine',\n code: '🚒',\n keywords: [\n 'fire_engine',\n 'engine',\n 'fire',\n 'truck',\n 'vehicle',\n ],\n },\n {\n name: 'police_car',\n code: '🚓',\n keywords: [\n 'police_car',\n 'car',\n 'patrol',\n 'police',\n 'vehicle',\n ],\n },\n {\n name: 'oncoming_police_car',\n code: '🚔',\n keywords: [\n 'oncoming_police_car',\n 'car',\n 'oncoming',\n 'police',\n 'vehicle',\n ],\n },\n {\n name: 'taxi',\n code: '🚕',\n keywords: [\n 'taxi',\n 'vehicle',\n ],\n },\n {\n name: 'oncoming_taxi',\n code: '🚖',\n keywords: [\n 'oncoming_taxi',\n 'oncoming',\n 'taxi',\n 'vehicle',\n ],\n },\n {\n name: 'car',\n code: '🚗',\n keywords: [\n 'car',\n 'red_car',\n 'automobile',\n 'vehicle',\n ],\n },\n {\n name: 'oncoming_automobile',\n code: '🚘',\n keywords: [\n 'oncoming_automobile',\n 'automobile',\n 'car',\n 'oncoming',\n 'vehicle',\n ],\n },\n {\n name: 'blue_car',\n code: '🚙',\n keywords: [\n 'blue_car',\n 'recreational',\n 'rv',\n 'vehicle',\n ],\n },\n {\n name: 'pickup_truck',\n code: '🛻',\n keywords: [\n 'pickup_truck',\n ],\n },\n {\n name: 'truck',\n code: '🚚',\n keywords: [\n 'truck',\n 'delivery',\n 'vehicle',\n ],\n },\n {\n name: 'articulated_lorry',\n code: '🚛',\n keywords: [\n 'articulated_lorry',\n 'lorry',\n 'semi',\n 'truck',\n 'vehicle',\n ],\n },\n {\n name: 'tractor',\n code: '🚜',\n keywords: [\n 'tractor',\n 'vehicle',\n ],\n },\n {\n name: 'racing_car',\n code: '🏎️',\n keywords: [\n 'racing_car',\n ],\n },\n {\n name: 'motorcycle',\n code: '🏍️',\n keywords: [\n 'motorcycle',\n ],\n },\n {\n name: 'motor_scooter',\n code: '🛵',\n keywords: [\n 'motor_scooter',\n 'motor',\n 'scooter',\n ],\n },\n {\n name: 'manual_wheelchair',\n code: '🦽',\n keywords: [\n 'manual_wheelchair',\n ],\n },\n {\n name: 'motorized_wheelchair',\n code: '🦼',\n keywords: [\n 'motorized_wheelchair',\n ],\n },\n {\n name: 'auto_rickshaw',\n code: '🛺',\n keywords: [\n 'auto_rickshaw',\n ],\n },\n {\n name: 'bike',\n code: '🚲',\n keywords: [\n 'bicycle',\n 'bike',\n 'vehicle',\n ],\n },\n {\n name: 'kick_scooter',\n code: '🛴',\n keywords: [\n 'kick_scooter',\n 'kick',\n 'scooter',\n ],\n },\n {\n name: 'skateboard',\n code: '🛹',\n keywords: [\n 'skateboard',\n ],\n },\n {\n name: 'roller_skate',\n code: '🛼',\n keywords: [\n 'roller_skate',\n ],\n },\n {\n name: 'busstop',\n code: '🚏',\n keywords: [\n 'busstop',\n 'bus',\n 'stop',\n ],\n },\n {\n name: 'motorway',\n code: '🛣️',\n keywords: [\n 'motorway',\n ],\n },\n {\n name: 'railway_track',\n code: '🛤️',\n keywords: [\n 'railway_track',\n ],\n },\n {\n name: 'oil_drum',\n code: '🛢️',\n keywords: [\n 'oil_drum',\n ],\n },\n {\n name: 'fuelpump',\n code: '⛽',\n keywords: [\n 'fuelpump',\n 'fuel',\n 'gas',\n 'pump',\n 'station',\n ],\n },\n {\n name: 'rotating_light',\n code: '🚨',\n keywords: [\n '911',\n 'emergency',\n 'rotating_light',\n 'beacon',\n 'car',\n 'light',\n 'police',\n 'revolving',\n 'vehicle',\n ],\n },\n {\n name: 'traffic_light',\n code: '🚥',\n keywords: [\n 'traffic_light',\n 'light',\n 'signal',\n 'traffic',\n ],\n },\n {\n name: 'vertical_traffic_light',\n code: '🚦',\n keywords: [\n 'semaphore',\n 'vertical_traffic_light',\n 'light',\n 'signal',\n 'traffic',\n ],\n },\n {\n name: 'stop_sign',\n code: '🛑',\n keywords: [\n 'stop_sign',\n 'octagonal',\n 'stop',\n ],\n },\n {\n name: 'construction',\n code: '🚧',\n keywords: [\n 'wip',\n 'construction',\n 'barrier',\n ],\n },\n {\n name: 'anchor',\n code: '⚓',\n keywords: [\n 'ship',\n 'anchor',\n 'tool',\n ],\n },\n {\n name: 'boat',\n code: '⛵',\n keywords: [\n 'boat',\n 'sailboat',\n 'resort',\n 'sea',\n 'vehicle',\n 'yacht',\n ],\n },\n {\n name: 'canoe',\n code: '🛶',\n keywords: [\n 'canoe',\n 'boat',\n ],\n },\n {\n name: 'speedboat',\n code: '🚤',\n keywords: [\n 'ship',\n 'speedboat',\n 'boat',\n 'vehicle',\n ],\n },\n {\n name: 'passenger_ship',\n code: '🛳️',\n keywords: [\n 'cruise',\n 'passenger_ship',\n ],\n },\n {\n name: 'ferry',\n code: '⛴️',\n keywords: [\n 'ferry',\n ],\n },\n {\n name: 'motor_boat',\n code: '🛥️',\n keywords: [\n 'motor_boat',\n ],\n },\n {\n name: 'ship',\n code: '🚢',\n keywords: [\n 'ship',\n 'vehicle',\n ],\n },\n {\n name: 'airplane',\n code: '✈️',\n keywords: [\n 'flight',\n 'airplane',\n 'vehicle',\n ],\n },\n {\n name: 'small_airplane',\n code: '🛩️',\n keywords: [\n 'flight',\n 'small_airplane',\n ],\n },\n {\n name: 'flight_departure',\n code: '🛫',\n keywords: [\n 'flight_departure',\n 'airplane',\n 'check-in',\n 'departure',\n 'departures',\n 'vehicle',\n ],\n },\n {\n name: 'flight_arrival',\n code: '🛬',\n keywords: [\n 'flight_arrival',\n 'airplane',\n 'arrivals',\n 'arriving',\n 'landing',\n 'vehicle',\n ],\n },\n {\n name: 'parachute',\n code: '🪂',\n keywords: [\n 'parachute',\n ],\n },\n {\n name: 'seat',\n code: '💺',\n keywords: [\n 'seat',\n 'chair',\n ],\n },\n {\n name: 'helicopter',\n code: '🚁',\n keywords: [\n 'helicopter',\n 'vehicle',\n ],\n },\n {\n name: 'suspension_railway',\n code: '🚟',\n keywords: [\n 'suspension_railway',\n 'railway',\n 'suspension',\n 'vehicle',\n ],\n },\n {\n name: 'mountain_cableway',\n code: '🚠',\n keywords: [\n 'mountain_cableway',\n 'cable',\n 'gondola',\n 'mountain',\n 'vehicle',\n ],\n },\n {\n name: 'aerial_tramway',\n code: '🚡',\n keywords: [\n 'aerial_tramway',\n 'aerial',\n 'cable',\n 'car',\n 'gondola',\n 'ropeway',\n 'tramway',\n 'vehicle',\n ],\n },\n {\n name: 'artificial_satellite',\n code: '🛰️',\n keywords: [\n 'orbit',\n 'space',\n 'artificial_satellite',\n ],\n },\n {\n name: 'rocket',\n code: '🚀',\n keywords: [\n 'ship',\n 'launch',\n 'rocket',\n 'space',\n 'vehicle',\n ],\n },\n {\n name: 'flying_saucer',\n code: '🛸',\n keywords: [\n 'ufo',\n 'flying_saucer',\n ],\n },\n {\n name: 'bellhop_bell',\n code: '🛎️',\n keywords: [\n 'bellhop_bell',\n ],\n },\n {\n name: 'luggage',\n code: '🧳',\n keywords: [\n 'luggage',\n ],\n },\n {\n name: 'hourglass',\n code: '⌛',\n keywords: [\n 'time',\n 'hourglass',\n 'sand',\n 'timer',\n ],\n },\n {\n name: 'hourglass_flowing_sand',\n code: '⏳',\n keywords: [\n 'time',\n 'hourglass_flowing_sand',\n 'hourglass',\n 'sand',\n 'timer',\n ],\n },\n {\n name: 'watch',\n code: '⌚',\n keywords: [\n 'time',\n 'watch',\n 'clock',\n ],\n },\n {\n name: 'alarm_clock',\n code: '⏰',\n keywords: [\n 'morning',\n 'alarm_clock',\n 'alarm',\n 'clock',\n ],\n },\n {\n name: 'stopwatch',\n code: '⏱️',\n keywords: [\n 'stopwatch',\n ],\n },\n {\n name: 'timer_clock',\n code: '⏲️',\n keywords: [\n 'timer_clock',\n ],\n },\n {\n name: 'mantelpiece_clock',\n code: '🕰️',\n keywords: [\n 'mantelpiece_clock',\n ],\n },\n {\n name: 'clock12',\n code: '🕛',\n keywords: [\n 'clock12',\n '00',\n '12',\n '12:00',\n 'clock',\n 'o’clock',\n 'twelve',\n ],\n },\n {\n name: 'clock1230',\n code: '🕧',\n keywords: [\n 'clock1230',\n '12',\n '12:30',\n '30',\n 'clock',\n 'thirty',\n 'twelve',\n ],\n },\n {\n name: 'clock1',\n code: '🕐',\n keywords: [\n 'clock1',\n '00',\n '1',\n '1:00',\n 'clock',\n 'o’clock',\n 'one',\n ],\n },\n {\n name: 'clock130',\n code: '🕜',\n keywords: [\n 'clock130',\n '1',\n '1:30',\n '30',\n 'clock',\n 'one',\n 'thirty',\n ],\n },\n {\n name: 'clock2',\n code: '🕑',\n keywords: [\n 'clock2',\n '00',\n '2',\n '2:00',\n 'clock',\n 'o’clock',\n 'two',\n ],\n },\n {\n name: 'clock230',\n code: '🕝',\n keywords: [\n 'clock230',\n '2',\n '2:30',\n '30',\n 'clock',\n 'thirty',\n 'two',\n ],\n },\n {\n name: 'clock3',\n code: '🕒',\n keywords: [\n 'clock3',\n '00',\n '3',\n '3:00',\n 'clock',\n 'o’clock',\n 'three',\n ],\n },\n {\n name: 'clock330',\n code: '🕞',\n keywords: [\n 'clock330',\n '3',\n '3:30',\n '30',\n 'clock',\n 'thirty',\n 'three',\n ],\n },\n {\n name: 'clock4',\n code: '🕓',\n keywords: [\n 'clock4',\n '00',\n '4',\n '4:00',\n 'clock',\n 'four',\n 'o’clock',\n ],\n },\n {\n name: 'clock430',\n code: '🕟',\n keywords: [\n 'clock430',\n '30',\n '4',\n '4:30',\n 'clock',\n 'four',\n 'thirty',\n ],\n },\n {\n name: 'clock5',\n code: '🕔',\n keywords: [\n 'clock5',\n '00',\n '5',\n '5:00',\n 'clock',\n 'five',\n 'o’clock',\n ],\n },\n {\n name: 'clock530',\n code: '🕠',\n keywords: [\n 'clock530',\n '30',\n '5',\n '5:30',\n 'clock',\n 'five',\n 'thirty',\n ],\n },\n {\n name: 'clock6',\n code: '🕕',\n keywords: [\n 'clock6',\n '00',\n '6',\n '6:00',\n 'clock',\n 'o’clock',\n 'six',\n ],\n },\n {\n name: 'clock630',\n code: '🕡',\n keywords: [\n 'clock630',\n '30',\n '6',\n '6:30',\n 'clock',\n 'six',\n 'thirty',\n ],\n },\n {\n name: 'clock7',\n code: '🕖',\n keywords: [\n 'clock7',\n '00',\n '7',\n '7:00',\n 'clock',\n 'o’clock',\n 'seven',\n ],\n },\n {\n name: 'clock730',\n code: '🕢',\n keywords: [\n 'clock730',\n '30',\n '7',\n '7:30',\n 'clock',\n 'seven',\n 'thirty',\n ],\n },\n {\n name: 'clock8',\n code: '🕗',\n keywords: [\n 'clock8',\n '00',\n '8',\n '8:00',\n 'clock',\n 'eight',\n 'o’clock',\n ],\n },\n {\n name: 'clock830',\n code: '🕣',\n keywords: [\n 'clock830',\n '30',\n '8',\n '8:30',\n 'clock',\n 'eight',\n 'thirty',\n ],\n },\n {\n name: 'clock9',\n code: '🕘',\n keywords: [\n 'clock9',\n '00',\n '9',\n '9:00',\n 'clock',\n 'nine',\n 'o’clock',\n ],\n },\n {\n name: 'clock930',\n code: '🕤',\n keywords: [\n 'clock930',\n '30',\n '9',\n '9:30',\n 'clock',\n 'nine',\n 'thirty',\n ],\n },\n {\n name: 'clock10',\n code: '🕙',\n keywords: [\n 'clock10',\n '00',\n '10',\n '10:00',\n 'clock',\n 'o’clock',\n 'ten',\n ],\n },\n {\n name: 'clock1030',\n code: '🕥',\n keywords: [\n 'clock1030',\n '10',\n '10:30',\n '30',\n 'clock',\n 'ten',\n 'thirty',\n ],\n },\n {\n name: 'clock11',\n code: '🕚',\n keywords: [\n 'clock11',\n '00',\n '11',\n '11:00',\n 'clock',\n 'eleven',\n 'o’clock',\n ],\n },\n {\n name: 'clock1130',\n code: '🕦',\n keywords: [\n 'clock1130',\n '11',\n '11:30',\n '30',\n 'clock',\n 'eleven',\n 'thirty',\n ],\n },\n {\n name: 'new_moon',\n code: '🌑',\n keywords: [\n 'new_moon',\n 'dark',\n 'moon',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'waxing_crescent_moon',\n code: '🌒',\n keywords: [\n 'waxing_crescent_moon',\n 'crescent',\n 'moon',\n 'space',\n 'waxing',\n 'weather',\n ],\n },\n {\n name: 'first_quarter_moon',\n code: '🌓',\n keywords: [\n 'first_quarter_moon',\n 'moon',\n 'quarter',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'moon',\n code: '🌔',\n keywords: [\n 'moon',\n 'waxing_gibbous_moon',\n 'gibbous',\n 'space',\n 'waxing',\n 'weather',\n ],\n },\n {\n name: 'full_moon',\n code: '🌕',\n keywords: [\n 'full_moon',\n 'full',\n 'moon',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'waning_gibbous_moon',\n code: '🌖',\n keywords: [\n 'waning_gibbous_moon',\n 'gibbous',\n 'moon',\n 'space',\n 'waning',\n 'weather',\n ],\n },\n {\n name: 'last_quarter_moon',\n code: '🌗',\n keywords: [\n 'last_quarter_moon',\n 'moon',\n 'quarter',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'waning_crescent_moon',\n code: '🌘',\n keywords: [\n 'waning_crescent_moon',\n 'crescent',\n 'moon',\n 'space',\n 'waning',\n 'weather',\n ],\n },\n {\n name: 'crescent_moon',\n code: '🌙',\n keywords: [\n 'night',\n 'crescent_moon',\n 'crescent',\n 'moon',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'new_moon_with_face',\n code: '🌚',\n keywords: [\n 'new_moon_with_face',\n 'face',\n 'moon',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'first_quarter_moon_with_face',\n code: '🌛',\n keywords: [\n 'first_quarter_moon_with_face',\n 'face',\n 'moon',\n 'quarter',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'last_quarter_moon_with_face',\n code: '🌜',\n keywords: [\n 'last_quarter_moon_with_face',\n 'face',\n 'moon',\n 'quarter',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'thermometer',\n code: '🌡️',\n keywords: [\n 'thermometer',\n ],\n },\n {\n name: 'sunny',\n code: '☀️',\n keywords: [\n 'weather',\n 'sunny',\n 'bright',\n 'rays',\n 'space',\n 'sun',\n ],\n },\n {\n name: 'full_moon_with_face',\n code: '🌝',\n keywords: [\n 'full_moon_with_face',\n 'bright',\n 'face',\n 'full',\n 'moon',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'sun_with_face',\n code: '🌞',\n keywords: [\n 'summer',\n 'sun_with_face',\n 'bright',\n 'face',\n 'space',\n 'sun',\n 'weather',\n ],\n },\n {\n name: 'ringed_planet',\n code: '🪐',\n keywords: [\n 'ringed_planet',\n ],\n },\n {\n name: 'star',\n code: '⭐',\n keywords: [\n 'star',\n ],\n },\n {\n name: 'star2',\n code: '🌟',\n keywords: [\n 'star2',\n 'glittery',\n 'glow',\n 'shining',\n 'sparkle',\n 'star',\n ],\n },\n {\n name: 'stars',\n code: '🌠',\n keywords: [\n 'stars',\n 'activity',\n 'falling',\n 'shooting',\n 'space',\n 'star',\n ],\n },\n {\n name: 'milky_way',\n code: '🌌',\n keywords: [\n 'milky_way',\n 'milky way',\n 'space',\n 'weather',\n ],\n },\n {\n name: 'cloud',\n code: '☁️',\n keywords: [\n 'cloud',\n 'weather',\n ],\n },\n {\n name: 'partly_sunny',\n code: '⛅',\n keywords: [\n 'weather',\n 'cloud',\n 'partly_sunny',\n 'sun',\n ],\n },\n {\n name: 'cloud_with_lightning_and_rain',\n code: '⛈️',\n keywords: [\n 'cloud_with_lightning_and_rain',\n ],\n },\n {\n name: 'sun_behind_small_cloud',\n code: '🌤️',\n keywords: [\n 'sun_behind_small_cloud',\n ],\n },\n {\n name: 'sun_behind_large_cloud',\n code: '🌥️',\n keywords: [\n 'sun_behind_large_cloud',\n ],\n },\n {\n name: 'sun_behind_rain_cloud',\n code: '🌦️',\n keywords: [\n 'sun_behind_rain_cloud',\n ],\n },\n {\n name: 'cloud_with_rain',\n code: '🌧️',\n keywords: [\n 'cloud_with_rain',\n ],\n },\n {\n name: 'cloud_with_snow',\n code: '🌨️',\n keywords: [\n 'cloud_with_snow',\n ],\n },\n {\n name: 'cloud_with_lightning',\n code: '🌩️',\n keywords: [\n 'cloud_with_lightning',\n ],\n },\n {\n name: 'tornado',\n code: '🌪️',\n keywords: [\n 'tornado',\n ],\n },\n {\n name: 'fog',\n code: '🌫️',\n keywords: [\n 'fog',\n ],\n },\n {\n name: 'wind_face',\n code: '🌬️',\n keywords: [\n 'wind_face',\n ],\n },\n {\n name: 'cyclone',\n code: '🌀',\n keywords: [\n 'swirl',\n 'cyclone',\n 'dizzy',\n 'twister',\n 'typhoon',\n 'weather',\n ],\n },\n {\n name: 'rainbow',\n code: '🌈',\n keywords: [\n 'rainbow',\n 'rain',\n 'weather',\n ],\n },\n {\n name: 'closed_umbrella',\n code: '🌂',\n keywords: [\n 'weather',\n 'rain',\n 'closed_umbrella',\n 'clothing',\n 'umbrella',\n ],\n },\n {\n name: 'open_umbrella',\n code: '☂️',\n keywords: [\n 'open_umbrella',\n 'clothing',\n 'rain',\n 'umbrella',\n 'weather',\n ],\n },\n {\n name: 'umbrella',\n code: '☔',\n keywords: [\n 'rain',\n 'weather',\n 'umbrella',\n 'clothing',\n 'drop',\n ],\n },\n {\n name: 'parasol_on_ground',\n code: '⛱️',\n keywords: [\n 'beach_umbrella',\n 'parasol_on_ground',\n ],\n },\n {\n name: 'zap',\n code: '⚡',\n keywords: [\n 'lightning',\n 'thunder',\n 'zap',\n 'danger',\n 'electric',\n 'electricity',\n 'voltage',\n ],\n },\n {\n name: 'snowflake',\n code: '❄️',\n keywords: [\n 'winter',\n 'cold',\n 'weather',\n 'snowflake',\n 'snow',\n ],\n },\n {\n name: 'snowman_with_snow',\n code: '☃️',\n keywords: [\n 'winter',\n 'christmas',\n 'snowman_with_snow',\n 'cold',\n 'snow',\n 'snowman',\n 'weather',\n ],\n },\n {\n name: 'snowman',\n code: '⛄',\n keywords: [\n 'winter',\n 'snowman',\n 'cold',\n 'snow',\n 'weather',\n ],\n },\n {\n name: 'comet',\n code: '☄️',\n keywords: [\n 'comet',\n 'space',\n ],\n },\n {\n name: 'fire',\n code: '🔥',\n keywords: [\n 'burn',\n 'fire',\n 'flame',\n 'tool',\n ],\n },\n {\n name: 'droplet',\n code: '💧',\n keywords: [\n 'water',\n 'droplet',\n 'cold',\n 'comic',\n 'drop',\n 'sweat',\n 'weather',\n ],\n },\n {\n name: 'ocean',\n code: '🌊',\n keywords: [\n 'sea',\n 'ocean',\n 'water',\n 'wave',\n 'weather',\n ],\n },\n {\n code: 'activities',\n header: true,\n icon: Activities,\n },\n {\n name: 'jack_o_lantern',\n code: '🎃',\n keywords: [\n 'halloween',\n 'jack_o_lantern',\n 'activity',\n 'celebration',\n 'entertainment',\n 'jack',\n 'lantern',\n ],\n },\n {\n name: 'christmas_tree',\n code: '🎄',\n keywords: [\n 'christmas_tree',\n 'activity',\n 'celebration',\n 'christmas',\n 'entertainment',\n 'tree',\n ],\n },\n {\n name: 'fireworks',\n code: '🎆',\n keywords: [\n 'festival',\n 'celebration',\n 'fireworks',\n 'activity',\n 'entertainment',\n ],\n },\n {\n name: 'sparkler',\n code: '🎇',\n keywords: [\n 'sparkler',\n 'activity',\n 'celebration',\n 'entertainment',\n 'fireworks',\n 'sparkle',\n ],\n },\n {\n name: 'firecracker',\n code: '🧨',\n keywords: [\n 'firecracker',\n ],\n },\n {\n name: 'sparkles',\n code: '✨',\n keywords: [\n 'shiny',\n 'sparkles',\n 'entertainment',\n 'sparkle',\n 'star',\n ],\n },\n {\n name: 'balloon',\n code: '🎈',\n keywords: [\n 'party',\n 'birthday',\n 'balloon',\n 'activity',\n 'celebration',\n 'entertainment',\n ],\n },\n {\n name: 'tada',\n code: '🎉',\n keywords: [\n 'hooray',\n 'party',\n 'tada',\n 'activity',\n 'celebration',\n 'entertainment',\n 'popper',\n ],\n },\n {\n name: 'confetti_ball',\n code: '🎊',\n keywords: [\n 'confetti_ball',\n 'activity',\n 'ball',\n 'celebration',\n 'confetti',\n 'entertainment',\n ],\n },\n {\n name: 'tanabata_tree',\n code: '🎋',\n keywords: [\n 'tanabata_tree',\n 'activity',\n 'banner',\n 'celebration',\n 'entertainment',\n 'japanese',\n 'tree',\n ],\n },\n {\n name: 'bamboo',\n code: '🎍',\n keywords: [\n 'bamboo',\n 'activity',\n 'celebration',\n 'japanese',\n 'pine',\n 'plant',\n ],\n },\n {\n name: 'dolls',\n code: '🎎',\n keywords: [\n 'dolls',\n 'activity',\n 'celebration',\n 'doll',\n 'entertainment',\n 'festival',\n 'japanese',\n ],\n },\n {\n name: 'flags',\n code: '🎏',\n keywords: [\n 'flags',\n 'activity',\n 'carp',\n 'celebration',\n 'entertainment',\n 'flag',\n 'streamer',\n ],\n },\n {\n name: 'wind_chime',\n code: '🎐',\n keywords: [\n 'wind_chime',\n 'activity',\n 'bell',\n 'celebration',\n 'chime',\n 'entertainment',\n 'wind',\n ],\n },\n {\n name: 'rice_scene',\n code: '🎑',\n keywords: [\n 'rice_scene',\n 'activity',\n 'celebration',\n 'ceremony',\n 'entertainment',\n 'moon',\n ],\n },\n {\n name: 'red_envelope',\n code: '🧧',\n keywords: [\n 'red_envelope',\n ],\n },\n {\n name: 'ribbon',\n code: '🎀',\n keywords: [\n 'ribbon',\n 'celebration',\n ],\n },\n {\n name: 'gift',\n code: '🎁',\n keywords: [\n 'present',\n 'birthday',\n 'christmas',\n 'gift',\n 'box',\n 'celebration',\n 'entertainment',\n 'wrapped',\n ],\n },\n {\n name: 'reminder_ribbon',\n code: '🎗️',\n keywords: [\n 'reminder_ribbon',\n ],\n },\n {\n name: 'tickets',\n code: '🎟️',\n keywords: [\n 'tickets',\n ],\n },\n {\n name: 'ticket',\n code: '🎫',\n keywords: [\n 'ticket',\n 'activity',\n 'admission',\n 'entertainment',\n ],\n },\n {\n name: 'medal_military',\n code: '🎖️',\n keywords: [\n 'medal_military',\n ],\n },\n {\n name: 'trophy',\n code: '🏆',\n keywords: [\n 'award',\n 'contest',\n 'winner',\n 'trophy',\n 'prize',\n ],\n },\n {\n name: 'medal_sports',\n code: '🏅',\n keywords: [\n 'gold',\n 'winner',\n 'medal_sports',\n 'medal',\n ],\n },\n {\n name: '1st_place_medal',\n code: '🥇',\n keywords: [\n 'gold',\n '1st_place_medal',\n 'first',\n 'medal',\n ],\n },\n {\n name: '2nd_place_medal',\n code: '🥈',\n keywords: [\n 'silver',\n '2nd_place_medal',\n 'medal',\n 'second',\n ],\n },\n {\n name: '3rd_place_medal',\n code: '🥉',\n keywords: [\n 'bronze',\n '3rd_place_medal',\n 'medal',\n 'third',\n ],\n },\n {\n name: 'soccer',\n code: '⚽',\n keywords: [\n 'sports',\n 'soccer',\n 'ball',\n ],\n },\n {\n name: 'baseball',\n code: '⚾',\n keywords: [\n 'sports',\n 'baseball',\n 'ball',\n ],\n },\n {\n name: 'softball',\n code: '🥎',\n keywords: [\n 'softball',\n ],\n },\n {\n name: 'basketball',\n code: '🏀',\n keywords: [\n 'sports',\n 'basketball',\n 'ball',\n 'hoop',\n ],\n },\n {\n name: 'volleyball',\n code: '🏐',\n keywords: [\n 'volleyball',\n 'ball',\n 'game',\n ],\n },\n {\n name: 'football',\n code: '🏈',\n keywords: [\n 'sports',\n 'football',\n 'american',\n 'ball',\n ],\n },\n {\n name: 'rugby_football',\n code: '🏉',\n keywords: [\n 'rugby_football',\n 'ball',\n 'football',\n 'rugby',\n ],\n },\n {\n name: 'tennis',\n code: '🎾',\n keywords: [\n 'sports',\n 'tennis',\n 'ball',\n 'racquet',\n ],\n },\n {\n name: 'flying_disc',\n code: '🥏',\n keywords: [\n 'flying_disc',\n ],\n },\n {\n name: 'bowling',\n code: '🎳',\n keywords: [\n 'bowling',\n 'ball',\n 'game',\n ],\n },\n {\n name: 'cricket_game',\n code: '🏏',\n keywords: [\n 'cricket_game',\n 'ball',\n 'bat',\n 'cricket',\n 'game',\n ],\n },\n {\n name: 'field_hockey',\n code: '🏑',\n keywords: [\n 'field_hockey',\n 'ball',\n 'field',\n 'game',\n 'hockey',\n 'stick',\n ],\n },\n {\n name: 'ice_hockey',\n code: '🏒',\n keywords: [\n 'ice_hockey',\n 'game',\n 'hockey',\n 'ice',\n 'puck',\n 'stick',\n ],\n },\n {\n name: 'lacrosse',\n code: '🥍',\n keywords: [\n 'lacrosse',\n ],\n },\n {\n name: 'ping_pong',\n code: '🏓',\n keywords: [\n 'ping_pong',\n 'ball',\n 'bat',\n 'game',\n 'paddle',\n 'table tennis',\n ],\n },\n {\n name: 'badminton',\n code: '🏸',\n keywords: [\n 'badminton',\n 'birdie',\n 'game',\n 'racquet',\n 'shuttlecock',\n ],\n },\n {\n name: 'boxing_glove',\n code: '🥊',\n keywords: [\n 'boxing_glove',\n 'boxing',\n 'glove',\n ],\n },\n {\n name: 'martial_arts_uniform',\n code: '🥋',\n keywords: [\n 'martial_arts_uniform',\n 'judo',\n 'karate',\n 'martial arts',\n 'taekwondo',\n 'uniform',\n ],\n },\n {\n name: 'goal_net',\n code: '🥅',\n keywords: [\n 'goal_net',\n 'goal',\n 'net',\n ],\n },\n {\n name: 'golf',\n code: '⛳',\n keywords: [\n 'golf',\n 'flag',\n 'hole',\n ],\n },\n {\n name: 'ice_skate',\n code: '⛸️',\n keywords: [\n 'skating',\n 'ice_skate',\n ],\n },\n {\n name: 'fishing_pole_and_fish',\n code: '🎣',\n keywords: [\n 'fishing_pole_and_fish',\n 'entertainment',\n 'fish',\n 'pole',\n ],\n },\n {\n name: 'diving_mask',\n code: '🤿',\n keywords: [\n 'diving_mask',\n ],\n },\n {\n name: 'running_shirt_with_sash',\n code: '🎽',\n keywords: [\n 'marathon',\n 'running_shirt_with_sash',\n 'running',\n 'sash',\n 'shirt',\n ],\n },\n {\n name: 'ski',\n code: '🎿',\n keywords: [\n 'ski',\n 'snow',\n ],\n },\n {\n name: 'sled',\n code: '🛷',\n keywords: [\n 'sled',\n ],\n },\n {\n name: 'curling_stone',\n code: '🥌',\n keywords: [\n 'curling_stone',\n ],\n },\n {\n name: 'dart',\n code: '🎯',\n keywords: [\n 'target',\n 'dart',\n 'activity',\n 'bull',\n 'bullseye',\n 'entertainment',\n 'eye',\n 'game',\n 'hit',\n ],\n },\n {\n name: 'yo_yo',\n code: '🪀',\n keywords: [\n 'yo_yo',\n ],\n },\n {\n name: 'kite',\n code: '🪁',\n keywords: [\n 'kite',\n ],\n },\n {\n name: '8ball',\n code: '🎱',\n keywords: [\n 'pool',\n 'billiards',\n '8ball',\n '8',\n '8 ball',\n 'ball',\n 'billiard',\n 'eight',\n 'game',\n ],\n },\n {\n name: 'crystal_ball',\n code: '🔮',\n keywords: [\n 'fortune',\n 'crystal_ball',\n 'ball',\n 'crystal',\n 'fairy tale',\n 'fantasy',\n 'tool',\n ],\n },\n {\n name: 'magic_wand',\n code: '🪄',\n keywords: [\n 'magic_wand',\n ],\n },\n {\n name: 'nazar_amulet',\n code: '🧿',\n keywords: [\n 'nazar_amulet',\n ],\n },\n {\n name: 'video_game',\n code: '🎮',\n keywords: [\n 'play',\n 'controller',\n 'console',\n 'video_game',\n 'entertainment',\n 'game',\n 'video game',\n ],\n },\n {\n name: 'joystick',\n code: '🕹️',\n keywords: [\n 'joystick',\n ],\n },\n {\n name: 'slot_machine',\n code: '🎰',\n keywords: [\n 'slot_machine',\n 'activity',\n 'game',\n 'slot',\n ],\n },\n {\n name: 'game_die',\n code: '🎲',\n keywords: [\n 'dice',\n 'gambling',\n 'game_die',\n 'die',\n 'entertainment',\n 'game',\n ],\n },\n {\n name: 'jigsaw',\n code: '🧩',\n keywords: [\n 'jigsaw',\n ],\n },\n {\n name: 'teddy_bear',\n code: '🧸',\n keywords: [\n 'teddy_bear',\n ],\n },\n {\n name: 'pinata',\n code: '🪅',\n keywords: [\n 'pinata',\n ],\n },\n {\n name: 'nesting_dolls',\n code: '🪆',\n keywords: [\n 'nesting_dolls',\n ],\n },\n {\n name: 'spades',\n code: '♠️',\n keywords: [\n 'spades',\n 'card',\n 'game',\n 'spade',\n 'suit',\n ],\n },\n {\n name: 'hearts',\n code: '♥️',\n keywords: [\n 'hearts',\n 'card',\n 'game',\n 'heart',\n 'suit',\n ],\n },\n {\n name: 'diamonds',\n code: '♦️',\n keywords: [\n 'diamonds',\n 'card',\n 'diamond',\n 'game',\n 'suit',\n ],\n },\n {\n name: 'clubs',\n code: '♣️',\n keywords: [\n 'clubs',\n 'card',\n 'club',\n 'game',\n 'suit',\n ],\n },\n {\n name: 'chess_pawn',\n code: '♟️',\n keywords: [\n 'chess_pawn',\n ],\n },\n {\n name: 'black_joker',\n code: '🃏',\n keywords: [\n 'black_joker',\n 'card',\n 'entertainment',\n 'game',\n 'joker',\n 'playing',\n ],\n },\n {\n name: 'mahjong',\n code: '🀄',\n keywords: [\n 'mahjong',\n 'game',\n 'red',\n ],\n },\n {\n name: 'flower_playing_cards',\n code: '🎴',\n keywords: [\n 'flower_playing_cards',\n 'activity',\n 'card',\n 'entertainment',\n 'flower',\n 'game',\n 'japanese',\n 'playing',\n ],\n },\n {\n name: 'performing_arts',\n code: '🎭',\n keywords: [\n 'theater',\n 'drama',\n 'performing_arts',\n 'activity',\n 'art',\n 'entertainment',\n 'mask',\n 'performing',\n 'theatre',\n ],\n },\n {\n name: 'framed_picture',\n code: '🖼️',\n keywords: [\n 'framed_picture',\n ],\n },\n {\n name: 'art',\n code: '🎨',\n keywords: [\n 'design',\n 'paint',\n 'art',\n 'activity',\n 'entertainment',\n 'museum',\n 'painting',\n 'palette',\n ],\n },\n {\n name: 'thread',\n code: '🧵',\n keywords: [\n 'thread',\n ],\n },\n {\n name: 'sewing_needle',\n code: '🪡',\n keywords: [\n 'sewing_needle',\n ],\n },\n {\n name: 'yarn',\n code: '🧶',\n keywords: [\n 'yarn',\n ],\n },\n {\n name: 'knot',\n code: '🪢',\n keywords: [\n 'knot',\n ],\n },\n {\n code: 'objects',\n header: true,\n icon: Objects,\n },\n {\n name: 'eyeglasses',\n code: '👓',\n keywords: [\n 'glasses',\n 'eyeglasses',\n 'clothing',\n 'eye',\n 'eyewear',\n ],\n },\n {\n name: 'dark_sunglasses',\n code: '🕶️',\n keywords: [\n 'dark_sunglasses',\n ],\n },\n {\n name: 'goggles',\n code: '🥽',\n keywords: [\n 'goggles',\n ],\n },\n {\n name: 'lab_coat',\n code: '🥼',\n keywords: [\n 'lab_coat',\n ],\n },\n {\n name: 'safety_vest',\n code: '🦺',\n keywords: [\n 'safety_vest',\n ],\n },\n {\n name: 'necktie',\n code: '👔',\n keywords: [\n 'shirt',\n 'formal',\n 'necktie',\n 'clothing',\n ],\n },\n {\n name: 'shirt',\n code: '👕',\n keywords: [\n 'shirt',\n 'tshirt',\n 'clothing',\n ],\n },\n {\n name: 'jeans',\n code: '👖',\n keywords: [\n 'pants',\n 'jeans',\n 'clothing',\n 'trousers',\n ],\n },\n {\n name: 'scarf',\n code: '🧣',\n keywords: [\n 'scarf',\n ],\n },\n {\n name: 'gloves',\n code: '🧤',\n keywords: [\n 'gloves',\n ],\n },\n {\n name: 'coat',\n code: '🧥',\n keywords: [\n 'coat',\n ],\n },\n {\n name: 'socks',\n code: '🧦',\n keywords: [\n 'socks',\n ],\n },\n {\n name: 'dress',\n code: '👗',\n keywords: [\n 'dress',\n 'clothing',\n ],\n },\n {\n name: 'kimono',\n code: '👘',\n keywords: [\n 'kimono',\n 'clothing',\n ],\n },\n {\n name: 'sari',\n code: '🥻',\n keywords: [\n 'sari',\n ],\n },\n {\n name: 'one_piece_swimsuit',\n code: '🩱',\n keywords: [\n 'one_piece_swimsuit',\n ],\n },\n {\n name: 'swim_brief',\n code: '🩲',\n keywords: [\n 'swim_brief',\n ],\n },\n {\n name: 'shorts',\n code: '🩳',\n keywords: [\n 'shorts',\n ],\n },\n {\n name: 'bikini',\n code: '👙',\n keywords: [\n 'beach',\n 'bikini',\n 'clothing',\n 'swim',\n ],\n },\n {\n name: 'womans_clothes',\n code: '👚',\n keywords: [\n 'womans_clothes',\n 'clothing',\n 'woman',\n ],\n },\n {\n name: 'purse',\n code: '👛',\n keywords: [\n 'purse',\n 'clothing',\n 'coin',\n ],\n },\n {\n name: 'handbag',\n code: '👜',\n keywords: [\n 'bag',\n 'handbag',\n 'clothing',\n ],\n },\n {\n name: 'pouch',\n code: '👝',\n keywords: [\n 'bag',\n 'pouch',\n 'clothing',\n ],\n },\n {\n name: 'shopping',\n code: '🛍️',\n keywords: [\n 'bags',\n 'shopping',\n ],\n },\n {\n name: 'school_satchel',\n code: '🎒',\n keywords: [\n 'school_satchel',\n 'activity',\n 'bag',\n 'satchel',\n 'school',\n ],\n },\n {\n name: 'thong_sandal',\n code: '🩴',\n keywords: [\n 'thong_sandal',\n ],\n },\n {\n name: 'mans_shoe',\n code: '👞',\n keywords: [\n 'mans_shoe',\n 'shoe',\n 'clothing',\n 'man',\n ],\n },\n {\n name: 'athletic_shoe',\n code: '👟',\n keywords: [\n 'sneaker',\n 'sport',\n 'running',\n 'athletic_shoe',\n 'athletic',\n 'clothing',\n 'shoe',\n ],\n },\n {\n name: 'hiking_boot',\n code: '🥾',\n keywords: [\n 'hiking_boot',\n ],\n },\n {\n name: 'flat_shoe',\n code: '🥿',\n keywords: [\n 'flat_shoe',\n ],\n },\n {\n name: 'high_heel',\n code: '👠',\n keywords: [\n 'shoe',\n 'high_heel',\n 'clothing',\n 'heel',\n 'woman',\n ],\n },\n {\n name: 'sandal',\n code: '👡',\n keywords: [\n 'shoe',\n 'sandal',\n 'clothing',\n 'woman',\n ],\n },\n {\n name: 'ballet_shoes',\n code: '🩰',\n keywords: [\n 'ballet_shoes',\n ],\n },\n {\n name: 'boot',\n code: '👢',\n keywords: [\n 'boot',\n 'clothing',\n 'shoe',\n 'woman',\n ],\n },\n {\n name: 'crown',\n code: '👑',\n keywords: [\n 'king',\n 'queen',\n 'royal',\n 'crown',\n 'clothing',\n ],\n },\n {\n name: 'womans_hat',\n code: '👒',\n keywords: [\n 'womans_hat',\n 'clothing',\n 'hat',\n 'woman',\n ],\n },\n {\n name: 'tophat',\n code: '🎩',\n keywords: [\n 'hat',\n 'classy',\n 'tophat',\n 'activity',\n 'clothing',\n 'entertainment',\n 'top',\n ],\n },\n {\n name: 'mortar_board',\n code: '🎓',\n keywords: [\n 'education',\n 'college',\n 'university',\n 'graduation',\n 'mortar_board',\n 'activity',\n 'cap',\n 'celebration',\n 'clothing',\n 'hat',\n ],\n },\n {\n name: 'billed_cap',\n code: '🧢',\n keywords: [\n 'billed_cap',\n ],\n },\n {\n name: 'military_helmet',\n code: '🪖',\n keywords: [\n 'military_helmet',\n ],\n },\n {\n name: 'rescue_worker_helmet',\n code: '⛑️',\n keywords: [\n 'rescue_worker_helmet',\n ],\n },\n {\n name: 'prayer_beads',\n code: '📿',\n keywords: [\n 'prayer_beads',\n 'beads',\n 'clothing',\n 'necklace',\n 'prayer',\n 'religion',\n ],\n },\n {\n name: 'lipstick',\n code: '💄',\n keywords: [\n 'makeup',\n 'lipstick',\n 'cosmetics',\n ],\n },\n {\n name: 'ring',\n code: '💍',\n keywords: [\n 'wedding',\n 'marriage',\n 'engaged',\n 'ring',\n 'diamond',\n 'romance',\n ],\n },\n {\n name: 'gem',\n code: '💎',\n keywords: [\n 'diamond',\n 'gem',\n 'jewel',\n 'romance',\n ],\n },\n {\n name: 'mute',\n code: '🔇',\n keywords: [\n 'sound',\n 'volume',\n 'mute',\n 'quiet',\n 'silent',\n 'speaker',\n ],\n },\n {\n name: 'speaker',\n code: '🔈',\n keywords: [\n 'speaker',\n 'volume',\n ],\n },\n {\n name: 'sound',\n code: '🔉',\n keywords: [\n 'volume',\n 'sound',\n 'low',\n 'speaker',\n 'wave',\n ],\n },\n {\n name: 'loud_sound',\n code: '🔊',\n keywords: [\n 'volume',\n 'loud_sound',\n '3',\n 'entertainment',\n 'high',\n 'loud',\n 'speaker',\n 'three',\n ],\n },\n {\n name: 'loudspeaker',\n code: '📢',\n keywords: [\n 'announcement',\n 'loudspeaker',\n 'communication',\n 'loud',\n 'public address',\n ],\n },\n {\n name: 'mega',\n code: '📣',\n keywords: [\n 'mega',\n 'cheering',\n 'communication',\n 'megaphone',\n ],\n },\n {\n name: 'postal_horn',\n code: '📯',\n keywords: [\n 'postal_horn',\n 'communication',\n 'entertainment',\n 'horn',\n 'post',\n 'postal',\n ],\n },\n {\n name: 'bell',\n code: '🔔',\n keywords: [\n 'sound',\n 'notification',\n 'bell',\n ],\n },\n {\n name: 'no_bell',\n code: '🔕',\n keywords: [\n 'volume',\n 'off',\n 'no_bell',\n 'bell',\n 'forbidden',\n 'mute',\n 'no',\n 'not',\n 'prohibited',\n 'quiet',\n 'silent',\n ],\n },\n {\n name: 'musical_score',\n code: '🎼',\n keywords: [\n 'musical_score',\n 'activity',\n 'entertainment',\n 'music',\n 'score',\n ],\n },\n {\n name: 'musical_note',\n code: '🎵',\n keywords: [\n 'musical_note',\n 'activity',\n 'entertainment',\n 'music',\n 'note',\n ],\n },\n {\n name: 'notes',\n code: '🎶',\n keywords: [\n 'music',\n 'notes',\n 'activity',\n 'entertainment',\n 'note',\n ],\n },\n {\n name: 'studio_microphone',\n code: '🎙️',\n keywords: [\n 'podcast',\n 'studio_microphone',\n ],\n },\n {\n name: 'level_slider',\n code: '🎚️',\n keywords: [\n 'level_slider',\n ],\n },\n {\n name: 'control_knobs',\n code: '🎛️',\n keywords: [\n 'control_knobs',\n ],\n },\n {\n name: 'microphone',\n code: '🎤',\n keywords: [\n 'sing',\n 'microphone',\n 'activity',\n 'entertainment',\n 'karaoke',\n 'mic',\n ],\n },\n {\n name: 'headphones',\n code: '🎧',\n keywords: [\n 'music',\n 'earphones',\n 'headphones',\n 'activity',\n 'earbud',\n 'entertainment',\n 'headphone',\n ],\n },\n {\n name: 'radio',\n code: '📻',\n keywords: [\n 'podcast',\n 'radio',\n 'entertainment',\n 'video',\n ],\n },\n {\n name: 'saxophone',\n code: '🎷',\n keywords: [\n 'saxophone',\n 'activity',\n 'entertainment',\n 'instrument',\n 'music',\n 'sax',\n ],\n },\n {\n name: 'accordion',\n code: '🪗',\n keywords: [\n 'accordion',\n ],\n },\n {\n name: 'guitar',\n code: '🎸',\n keywords: [\n 'rock',\n 'guitar',\n 'activity',\n 'entertainment',\n 'instrument',\n 'music',\n ],\n },\n {\n name: 'musical_keyboard',\n code: '🎹',\n keywords: [\n 'piano',\n 'musical_keyboard',\n 'activity',\n 'entertainment',\n 'instrument',\n 'keyboard',\n 'music',\n ],\n },\n {\n name: 'trumpet',\n code: '🎺',\n keywords: [\n 'trumpet',\n 'activity',\n 'entertainment',\n 'instrument',\n 'music',\n ],\n },\n {\n name: 'violin',\n code: '🎻',\n keywords: [\n 'violin',\n 'activity',\n 'entertainment',\n 'instrument',\n 'music',\n ],\n },\n {\n name: 'banjo',\n code: '🪕',\n keywords: [\n 'banjo',\n ],\n },\n {\n name: 'drum',\n code: '🥁',\n keywords: [\n 'drum',\n 'drumsticks',\n 'music',\n ],\n },\n {\n name: 'long_drum',\n code: '🪘',\n keywords: [\n 'long_drum',\n ],\n },\n {\n name: 'iphone',\n code: '📱',\n keywords: [\n 'smartphone',\n 'mobile',\n 'iphone',\n 'cell',\n 'communication',\n 'phone',\n 'telephone',\n ],\n },\n {\n name: 'calling',\n code: '📲',\n keywords: [\n 'call',\n 'incoming',\n 'calling',\n 'arrow',\n 'cell',\n 'communication',\n 'mobile',\n 'phone',\n 'receive',\n 'telephone',\n ],\n },\n {\n name: 'phone',\n code: '☎️',\n keywords: [\n 'phone',\n 'telephone',\n ],\n },\n {\n name: 'telephone_receiver',\n code: '📞',\n keywords: [\n 'phone',\n 'call',\n 'telephone_receiver',\n 'communication',\n 'receiver',\n 'telephone',\n ],\n },\n {\n name: 'pager',\n code: '📟',\n keywords: [\n 'pager',\n 'communication',\n ],\n },\n {\n name: 'fax',\n code: '📠',\n keywords: [\n 'fax',\n 'communication',\n ],\n },\n {\n name: 'battery',\n code: '🔋',\n keywords: [\n 'power',\n 'battery',\n ],\n },\n {\n name: 'electric_plug',\n code: '🔌',\n keywords: [\n 'electric_plug',\n 'electric',\n 'electricity',\n 'plug',\n ],\n },\n {\n name: 'computer',\n code: '💻',\n keywords: [\n 'desktop',\n 'screen',\n 'computer',\n 'pc',\n 'personal',\n ],\n },\n {\n name: 'desktop_computer',\n code: '🖥️',\n keywords: [\n 'desktop_computer',\n ],\n },\n {\n name: 'printer',\n code: '🖨️',\n keywords: [\n 'printer',\n ],\n },\n {\n name: 'keyboard',\n code: '⌨️',\n keywords: [\n 'keyboard',\n 'computer',\n ],\n },\n {\n name: 'computer_mouse',\n code: '🖱️',\n keywords: [\n 'computer_mouse',\n ],\n },\n {\n name: 'trackball',\n code: '🖲️',\n keywords: [\n 'trackball',\n ],\n },\n {\n name: 'minidisc',\n code: '💽',\n keywords: [\n 'minidisc',\n 'computer',\n 'disk',\n 'entertainment',\n 'minidisk',\n 'optical',\n ],\n },\n {\n name: 'floppy_disk',\n code: '💾',\n keywords: [\n 'save',\n 'floppy_disk',\n 'computer',\n 'disk',\n 'floppy',\n ],\n },\n {\n name: 'cd',\n code: '💿',\n keywords: [\n 'cd',\n 'blu-ray',\n 'computer',\n 'disk',\n 'dvd',\n 'optical',\n ],\n },\n {\n name: 'dvd',\n code: '📀',\n keywords: [\n 'dvd',\n 'blu-ray',\n 'cd',\n 'computer',\n 'disk',\n 'entertainment',\n 'optical',\n ],\n },\n {\n name: 'abacus',\n code: '🧮',\n keywords: [\n 'abacus',\n ],\n },\n {\n name: 'movie_camera',\n code: '🎥',\n keywords: [\n 'film',\n 'video',\n 'movie_camera',\n 'activity',\n 'camera',\n 'cinema',\n 'entertainment',\n 'movie',\n ],\n },\n {\n name: 'film_strip',\n code: '🎞️',\n keywords: [\n 'film_strip',\n ],\n },\n {\n name: 'film_projector',\n code: '📽️',\n keywords: [\n 'film_projector',\n ],\n },\n {\n name: 'clapper',\n code: '🎬',\n keywords: [\n 'film',\n 'clapper',\n 'activity',\n 'entertainment',\n 'movie',\n ],\n },\n {\n name: 'tv',\n code: '📺',\n keywords: [\n 'tv',\n 'entertainment',\n 'television',\n 'video',\n ],\n },\n {\n name: 'camera',\n code: '📷',\n keywords: [\n 'photo',\n 'camera',\n 'entertainment',\n 'video',\n ],\n },\n {\n name: 'camera_flash',\n code: '📸',\n keywords: [\n 'photo',\n 'camera_flash',\n 'camera',\n 'flash',\n 'video',\n ],\n },\n {\n name: 'video_camera',\n code: '📹',\n keywords: [\n 'video_camera',\n 'camera',\n 'entertainment',\n 'video',\n ],\n },\n {\n name: 'vhs',\n code: '📼',\n keywords: [\n 'vhs',\n 'entertainment',\n 'tape',\n 'video',\n 'videocassette',\n ],\n },\n {\n name: 'mag',\n code: '🔍',\n keywords: [\n 'search',\n 'zoom',\n 'mag',\n 'glass',\n 'magnifying',\n 'tool',\n ],\n },\n {\n name: 'mag_right',\n code: '🔎',\n keywords: [\n 'mag_right',\n 'glass',\n 'magnifying',\n 'search',\n 'tool',\n ],\n },\n {\n name: 'candle',\n code: '🕯️',\n keywords: [\n 'candle',\n ],\n },\n {\n name: 'bulb',\n code: '💡',\n keywords: [\n 'idea',\n 'light',\n 'bulb',\n 'comic',\n 'electric',\n ],\n },\n {\n name: 'flashlight',\n code: '🔦',\n keywords: [\n 'flashlight',\n 'electric',\n 'light',\n 'tool',\n 'torch',\n ],\n },\n {\n name: 'izakaya_lantern',\n code: '🏮',\n keywords: [\n 'izakaya_lantern',\n 'lantern',\n 'bar',\n 'japanese',\n 'light',\n 'red',\n ],\n },\n {\n name: 'diya_lamp',\n code: '🪔',\n keywords: [\n 'diya_lamp',\n ],\n },\n {\n name: 'notebook_with_decorative_cover',\n code: '📔',\n keywords: [\n 'notebook_with_decorative_cover',\n 'book',\n 'cover',\n 'decorated',\n 'notebook',\n ],\n },\n {\n name: 'closed_book',\n code: '📕',\n keywords: [\n 'closed_book',\n 'book',\n 'closed',\n ],\n },\n {\n name: 'book',\n code: '📖',\n keywords: [\n 'book',\n 'open_book',\n 'open',\n ],\n },\n {\n name: 'green_book',\n code: '📗',\n keywords: [\n 'green_book',\n 'book',\n 'green',\n ],\n },\n {\n name: 'blue_book',\n code: '📘',\n keywords: [\n 'blue_book',\n 'blue',\n 'book',\n ],\n },\n {\n name: 'orange_book',\n code: '📙',\n keywords: [\n 'orange_book',\n 'book',\n 'orange',\n ],\n },\n {\n name: 'books',\n code: '📚',\n keywords: [\n 'library',\n 'books',\n 'book',\n ],\n },\n {\n name: 'notebook',\n code: '📓',\n keywords: [\n 'notebook',\n ],\n },\n {\n name: 'ledger',\n code: '📒',\n keywords: [\n 'ledger',\n 'notebook',\n ],\n },\n {\n name: 'page_with_curl',\n code: '📃',\n keywords: [\n 'page_with_curl',\n 'curl',\n 'document',\n 'page',\n ],\n },\n {\n name: 'scroll',\n code: '📜',\n keywords: [\n 'document',\n 'scroll',\n 'paper',\n ],\n },\n {\n name: 'page_facing_up',\n code: '📄',\n keywords: [\n 'document',\n 'page_facing_up',\n 'page',\n ],\n },\n {\n name: 'newspaper',\n code: '📰',\n keywords: [\n 'press',\n 'newspaper',\n 'communication',\n 'news',\n 'paper',\n ],\n },\n {\n name: 'newspaper_roll',\n code: '🗞️',\n keywords: [\n 'press',\n 'newspaper_roll',\n ],\n },\n {\n name: 'bookmark_tabs',\n code: '📑',\n keywords: [\n 'bookmark_tabs',\n 'bookmark',\n 'mark',\n 'marker',\n 'tabs',\n ],\n },\n {\n name: 'bookmark',\n code: '🔖',\n keywords: [\n 'bookmark',\n 'mark',\n ],\n },\n {\n name: 'label',\n code: '🏷️',\n keywords: [\n 'tag',\n 'label',\n ],\n },\n {\n name: 'moneybag',\n code: '💰',\n keywords: [\n 'dollar',\n 'cream',\n 'moneybag',\n 'bag',\n 'money',\n ],\n },\n {\n name: 'coin',\n code: '🪙',\n keywords: [\n 'coin',\n ],\n },\n {\n name: 'yen',\n code: '💴',\n keywords: [\n 'yen',\n 'bank',\n 'banknote',\n 'bill',\n 'currency',\n 'money',\n 'note',\n ],\n },\n {\n name: 'dollar',\n code: '💵',\n keywords: [\n 'money',\n 'dollar',\n 'bank',\n 'banknote',\n 'bill',\n 'currency',\n 'note',\n ],\n },\n {\n name: 'euro',\n code: '💶',\n keywords: [\n 'euro',\n 'bank',\n 'banknote',\n 'bill',\n 'currency',\n 'money',\n 'note',\n ],\n },\n {\n name: 'pound',\n code: '💷',\n keywords: [\n 'pound',\n 'bank',\n 'banknote',\n 'bill',\n 'currency',\n 'money',\n 'note',\n ],\n },\n {\n name: 'money_with_wings',\n code: '💸',\n keywords: [\n 'dollar',\n 'money_with_wings',\n 'bank',\n 'banknote',\n 'bill',\n 'fly',\n 'money',\n 'note',\n 'wings',\n ],\n },\n {\n name: 'credit_card',\n code: '💳',\n keywords: [\n 'subscription',\n 'credit_card',\n 'bank',\n 'card',\n 'credit',\n 'money',\n ],\n },\n {\n name: 'receipt',\n code: '🧾',\n keywords: [\n 'receipt',\n ],\n },\n {\n name: 'chart',\n code: '💹',\n keywords: [\n 'chart',\n 'bank',\n 'currency',\n 'graph',\n 'growth',\n 'market',\n 'money',\n 'rise',\n 'trend',\n 'upward',\n 'yen',\n ],\n },\n {\n name: 'envelope',\n code: '✉️',\n keywords: [\n 'letter',\n 'email',\n 'envelope',\n 'e-mail',\n ],\n },\n {\n name: 'email',\n code: '📧',\n keywords: [\n 'email',\n 'e-mail',\n 'communication',\n 'letter',\n 'mail',\n ],\n },\n {\n name: 'incoming_envelope',\n code: '📨',\n keywords: [\n 'incoming_envelope',\n 'communication',\n 'e-mail',\n 'email',\n 'envelope',\n 'incoming',\n 'letter',\n 'mail',\n 'receive',\n ],\n },\n {\n name: 'envelope_with_arrow',\n code: '📩',\n keywords: [\n 'envelope_with_arrow',\n 'arrow',\n 'communication',\n 'down',\n 'e-mail',\n 'email',\n 'envelope',\n 'letter',\n 'mail',\n 'outgoing',\n 'sent',\n ],\n },\n {\n name: 'outbox_tray',\n code: '📤',\n keywords: [\n 'outbox_tray',\n 'box',\n 'communication',\n 'letter',\n 'mail',\n 'outbox',\n 'sent',\n 'tray',\n ],\n },\n {\n name: 'inbox_tray',\n code: '📥',\n keywords: [\n 'inbox_tray',\n 'box',\n 'communication',\n 'inbox',\n 'letter',\n 'mail',\n 'receive',\n 'tray',\n ],\n },\n {\n name: 'package',\n code: '📦',\n keywords: [\n 'shipping',\n 'package',\n 'box',\n 'communication',\n 'parcel',\n ],\n },\n {\n name: 'mailbox',\n code: '📫',\n keywords: [\n 'mailbox',\n 'closed',\n 'communication',\n 'flag',\n 'mail',\n 'postbox',\n ],\n },\n {\n name: 'mailbox_closed',\n code: '📪',\n keywords: [\n 'mailbox_closed',\n 'closed',\n 'communication',\n 'flag',\n 'lowered',\n 'mail',\n 'mailbox',\n 'postbox',\n ],\n },\n {\n name: 'mailbox_with_mail',\n code: '📬',\n keywords: [\n 'mailbox_with_mail',\n 'communication',\n 'flag',\n 'mail',\n 'mailbox',\n 'open',\n 'postbox',\n ],\n },\n {\n name: 'mailbox_with_no_mail',\n code: '📭',\n keywords: [\n 'mailbox_with_no_mail',\n 'communication',\n 'flag',\n 'lowered',\n 'mail',\n 'mailbox',\n 'open',\n 'postbox',\n ],\n },\n {\n name: 'postbox',\n code: '📮',\n keywords: [\n 'postbox',\n 'communication',\n 'mail',\n 'mailbox',\n ],\n },\n {\n name: 'ballot_box',\n code: '🗳️',\n keywords: [\n 'ballot_box',\n ],\n },\n {\n name: 'pencil2',\n code: '✏️',\n keywords: [\n 'pencil2',\n ],\n },\n {\n name: 'black_nib',\n code: '✒️',\n keywords: [\n 'black_nib',\n 'nib',\n 'pen',\n ],\n },\n {\n name: 'fountain_pen',\n code: '🖋️',\n keywords: [\n 'fountain_pen',\n ],\n },\n {\n name: 'pen',\n code: '🖊️',\n keywords: [\n 'pen',\n ],\n },\n {\n name: 'paintbrush',\n code: '🖌️',\n keywords: [\n 'paintbrush',\n ],\n },\n {\n name: 'crayon',\n code: '🖍️',\n keywords: [\n 'crayon',\n ],\n },\n {\n name: 'memo',\n code: '📝',\n keywords: [\n 'document',\n 'note',\n 'memo',\n 'pencil',\n 'communication',\n ],\n },\n {\n name: 'briefcase',\n code: '💼',\n keywords: [\n 'business',\n 'briefcase',\n ],\n },\n {\n name: 'file_folder',\n code: '📁',\n keywords: [\n 'directory',\n 'file_folder',\n 'file',\n 'folder',\n ],\n },\n {\n name: 'open_file_folder',\n code: '📂',\n keywords: [\n 'open_file_folder',\n 'file',\n 'folder',\n 'open',\n ],\n },\n {\n name: 'card_index_dividers',\n code: '🗂️',\n keywords: [\n 'card_index_dividers',\n ],\n },\n {\n name: 'date',\n code: '📅',\n keywords: [\n 'calendar',\n 'schedule',\n 'date',\n ],\n },\n {\n name: 'calendar',\n code: '📆',\n keywords: [\n 'schedule',\n 'calendar',\n ],\n },\n {\n name: 'spiral_notepad',\n code: '🗒️',\n keywords: [\n 'spiral_notepad',\n ],\n },\n {\n name: 'spiral_calendar',\n code: '🗓️',\n keywords: [\n 'spiral_calendar',\n ],\n },\n {\n name: 'card_index',\n code: '📇',\n keywords: [\n 'card_index',\n 'card',\n 'index',\n 'rolodex',\n ],\n },\n {\n name: 'chart_with_upwards_trend',\n code: '📈',\n keywords: [\n 'graph',\n 'metrics',\n 'chart_with_upwards_trend',\n 'chart',\n 'growth',\n 'trend',\n 'upward',\n ],\n },\n {\n name: 'chart_with_downwards_trend',\n code: '📉',\n keywords: [\n 'graph',\n 'metrics',\n 'chart_with_downwards_trend',\n 'chart',\n 'down',\n 'trend',\n ],\n },\n {\n name: 'bar_chart',\n code: '📊',\n keywords: [\n 'stats',\n 'metrics',\n 'bar_chart',\n 'bar',\n 'chart',\n 'graph',\n ],\n },\n {\n name: 'clipboard',\n code: '📋',\n keywords: [\n 'clipboard',\n ],\n },\n {\n name: 'pushpin',\n code: '📌',\n keywords: [\n 'location',\n 'pushpin',\n 'pin',\n ],\n },\n {\n name: 'round_pushpin',\n code: '📍',\n keywords: [\n 'location',\n 'round_pushpin',\n 'pin',\n 'pushpin',\n ],\n },\n {\n name: 'paperclip',\n code: '📎',\n keywords: [\n 'paperclip',\n ],\n },\n {\n name: 'paperclips',\n code: '🖇️',\n keywords: [\n 'paperclips',\n ],\n },\n {\n name: 'straight_ruler',\n code: '📏',\n keywords: [\n 'straight_ruler',\n 'ruler',\n 'straight edge',\n ],\n },\n {\n name: 'triangular_ruler',\n code: '📐',\n keywords: [\n 'triangular_ruler',\n 'ruler',\n 'set',\n 'triangle',\n ],\n },\n {\n name: 'scissors',\n code: '✂️',\n keywords: [\n 'cut',\n 'scissors',\n 'tool',\n ],\n },\n {\n name: 'card_file_box',\n code: '🗃️',\n keywords: [\n 'card_file_box',\n ],\n },\n {\n name: 'file_cabinet',\n code: '🗄️',\n keywords: [\n 'file_cabinet',\n ],\n },\n {\n name: 'wastebasket',\n code: '🗑️',\n keywords: [\n 'trash',\n 'wastebasket',\n ],\n },\n {\n name: 'lock',\n code: '🔒',\n keywords: [\n 'security',\n 'private',\n 'lock',\n 'closed',\n ],\n },\n {\n name: 'unlock',\n code: '🔓',\n keywords: [\n 'security',\n 'unlock',\n 'lock',\n 'open',\n ],\n },\n {\n name: 'lock_with_ink_pen',\n code: '🔏',\n keywords: [\n 'lock_with_ink_pen',\n 'ink',\n 'lock',\n 'nib',\n 'pen',\n 'privacy',\n ],\n },\n {\n name: 'closed_lock_with_key',\n code: '🔐',\n keywords: [\n 'security',\n 'closed_lock_with_key',\n 'closed',\n 'key',\n 'lock',\n 'secure',\n ],\n },\n {\n name: 'key',\n code: '🔑',\n keywords: [\n 'lock',\n 'password',\n 'key',\n ],\n },\n {\n name: 'old_key',\n code: '🗝️',\n keywords: [\n 'old_key',\n ],\n },\n {\n name: 'hammer',\n code: '🔨',\n keywords: [\n 'tool',\n 'hammer',\n ],\n },\n {\n name: 'axe',\n code: '🪓',\n keywords: [\n 'axe',\n ],\n },\n {\n name: 'pick',\n code: '⛏️',\n keywords: [\n 'pick',\n ],\n },\n {\n name: 'hammer_and_pick',\n code: '⚒️',\n keywords: [\n 'hammer_and_pick',\n 'hammer',\n 'pick',\n 'tool',\n ],\n },\n {\n name: 'hammer_and_wrench',\n code: '🛠️',\n keywords: [\n 'hammer_and_wrench',\n ],\n },\n {\n name: 'dagger',\n code: '🗡️',\n keywords: [\n 'dagger',\n ],\n },\n {\n name: 'crossed_swords',\n code: '⚔️',\n keywords: [\n 'crossed_swords',\n 'crossed',\n 'swords',\n 'weapon',\n ],\n },\n {\n name: 'gun',\n code: '🔫',\n keywords: [\n 'shoot',\n 'weapon',\n 'gun',\n 'handgun',\n 'pistol',\n 'revolver',\n 'tool',\n ],\n },\n {\n name: 'boomerang',\n code: '🪃',\n keywords: [\n 'boomerang',\n ],\n },\n {\n name: 'bow_and_arrow',\n code: '🏹',\n keywords: [\n 'archery',\n 'bow_and_arrow',\n 'archer',\n 'arrow',\n 'bow',\n 'sagittarius',\n 'tool',\n 'weapon',\n 'zodiac',\n ],\n },\n {\n name: 'shield',\n code: '🛡️',\n keywords: [\n 'shield',\n ],\n },\n {\n name: 'carpentry_saw',\n code: '🪚',\n keywords: [\n 'carpentry_saw',\n ],\n },\n {\n name: 'wrench',\n code: '🔧',\n keywords: [\n 'tool',\n 'wrench',\n ],\n },\n {\n name: 'screwdriver',\n code: '🪛',\n keywords: [\n 'screwdriver',\n ],\n },\n {\n name: 'nut_and_bolt',\n code: '🔩',\n keywords: [\n 'nut_and_bolt',\n 'bolt',\n 'nut',\n 'tool',\n ],\n },\n {\n name: 'gear',\n code: '⚙️',\n keywords: [\n 'gear',\n 'tool',\n ],\n },\n {\n name: 'clamp',\n code: '🗜️',\n keywords: [\n 'clamp',\n ],\n },\n {\n name: 'balance_scale',\n code: '⚖️',\n keywords: [\n 'balance_scale',\n 'balance',\n 'justice',\n 'libra',\n 'scales',\n 'tool',\n 'weight',\n 'zodiac',\n ],\n },\n {\n name: 'probing_cane',\n code: '🦯',\n keywords: [\n 'probing_cane',\n ],\n },\n {\n name: 'link',\n code: '🔗',\n keywords: [\n 'link',\n ],\n },\n {\n name: 'chains',\n code: '⛓️',\n keywords: [\n 'chains',\n ],\n },\n {\n name: 'hook',\n code: '🪝',\n keywords: [\n 'hook',\n ],\n },\n {\n name: 'toolbox',\n code: '🧰',\n keywords: [\n 'toolbox',\n ],\n },\n {\n name: 'magnet',\n code: '🧲',\n keywords: [\n 'magnet',\n ],\n },\n {\n name: 'ladder',\n code: '🪜',\n keywords: [\n 'ladder',\n ],\n },\n {\n name: 'alembic',\n code: '⚗️',\n keywords: [\n 'alembic',\n 'chemistry',\n 'tool',\n ],\n },\n {\n name: 'test_tube',\n code: '🧪',\n keywords: [\n 'test_tube',\n ],\n },\n {\n name: 'petri_dish',\n code: '🧫',\n keywords: [\n 'petri_dish',\n ],\n },\n {\n name: 'dna',\n code: '🧬',\n keywords: [\n 'dna',\n ],\n },\n {\n name: 'microscope',\n code: '🔬',\n keywords: [\n 'science',\n 'laboratory',\n 'investigate',\n 'microscope',\n 'tool',\n ],\n },\n {\n name: 'telescope',\n code: '🔭',\n keywords: [\n 'telescope',\n 'tool',\n ],\n },\n {\n name: 'satellite',\n code: '📡',\n keywords: [\n 'signal',\n 'satellite',\n 'antenna',\n 'communication',\n 'dish',\n ],\n },\n {\n name: 'syringe',\n code: '💉',\n keywords: [\n 'health',\n 'hospital',\n 'needle',\n 'syringe',\n 'doctor',\n 'medicine',\n 'shot',\n 'sick',\n 'tool',\n ],\n },\n {\n name: 'drop_of_blood',\n code: '🩸',\n keywords: [\n 'drop_of_blood',\n ],\n },\n {\n name: 'pill',\n code: '💊',\n keywords: [\n 'health',\n 'medicine',\n 'pill',\n 'doctor',\n 'sick',\n ],\n },\n {\n name: 'adhesive_bandage',\n code: '🩹',\n keywords: [\n 'adhesive_bandage',\n ],\n },\n {\n name: 'stethoscope',\n code: '🩺',\n keywords: [\n 'stethoscope',\n ],\n },\n {\n name: 'door',\n code: '🚪',\n keywords: [\n 'door',\n ],\n },\n {\n name: 'elevator',\n code: '🛗',\n keywords: [\n 'elevator',\n ],\n },\n {\n name: 'mirror',\n code: '🪞',\n keywords: [\n 'mirror',\n ],\n },\n {\n name: 'window',\n code: '🪟',\n keywords: [\n 'window',\n ],\n },\n {\n name: 'bed',\n code: '🛏️',\n keywords: [\n 'bed',\n ],\n },\n {\n name: 'couch_and_lamp',\n code: '🛋️',\n keywords: [\n 'couch_and_lamp',\n ],\n },\n {\n name: 'chair',\n code: '🪑',\n keywords: [\n 'chair',\n ],\n },\n {\n name: 'toilet',\n code: '🚽',\n keywords: [\n 'wc',\n 'toilet',\n ],\n },\n {\n name: 'plunger',\n code: '🪠',\n keywords: [\n 'plunger',\n ],\n },\n {\n name: 'shower',\n code: '🚿',\n keywords: [\n 'bath',\n 'shower',\n 'water',\n ],\n },\n {\n name: 'bathtub',\n code: '🛁',\n keywords: [\n 'bathtub',\n 'bath',\n ],\n },\n {\n name: 'mouse_trap',\n code: '🪤',\n keywords: [\n 'mouse_trap',\n ],\n },\n {\n name: 'razor',\n code: '🪒',\n keywords: [\n 'razor',\n ],\n },\n {\n name: 'lotion_bottle',\n code: '🧴',\n keywords: [\n 'lotion_bottle',\n ],\n },\n {\n name: 'safety_pin',\n code: '🧷',\n keywords: [\n 'safety_pin',\n ],\n },\n {\n name: 'broom',\n code: '🧹',\n keywords: [\n 'broom',\n ],\n },\n {\n name: 'basket',\n code: '🧺',\n keywords: [\n 'basket',\n ],\n },\n {\n name: 'roll_of_paper',\n code: '🧻',\n keywords: [\n 'toilet',\n 'roll_of_paper',\n ],\n },\n {\n name: 'bucket',\n code: '🪣',\n keywords: [\n 'bucket',\n ],\n },\n {\n name: 'soap',\n code: '🧼',\n keywords: [\n 'soap',\n ],\n },\n {\n name: 'toothbrush',\n code: '🪥',\n keywords: [\n 'toothbrush',\n ],\n },\n {\n name: 'sponge',\n code: '🧽',\n keywords: [\n 'sponge',\n ],\n },\n {\n name: 'fire_extinguisher',\n code: '🧯',\n keywords: [\n 'fire_extinguisher',\n ],\n },\n {\n name: 'shopping_cart',\n code: '🛒',\n keywords: [\n 'shopping_cart',\n 'cart',\n 'shopping',\n 'trolley',\n ],\n },\n {\n name: 'smoking',\n code: '🚬',\n keywords: [\n 'cigarette',\n 'smoking',\n 'activity',\n ],\n },\n {\n name: 'coffin',\n code: '⚰️',\n keywords: [\n 'funeral',\n 'coffin',\n ],\n },\n {\n name: 'headstone',\n code: '🪦',\n keywords: [\n 'headstone',\n ],\n },\n {\n name: 'funeral_urn',\n code: '⚱️',\n keywords: [\n 'funeral_urn',\n ],\n },\n {\n name: 'moyai',\n code: '🗿',\n keywords: [\n 'stone',\n 'moyai',\n 'face',\n 'statue',\n ],\n },\n {\n name: 'placard',\n code: '🪧',\n keywords: [\n 'placard',\n ],\n },\n {\n code: 'symbols',\n header: true,\n icon: Symbols,\n },\n {\n name: 'atm',\n code: '🏧',\n keywords: [\n 'atm',\n 'automated',\n 'bank',\n 'teller',\n ],\n },\n {\n name: 'put_litter_in_its_place',\n code: '🚮',\n keywords: [\n 'put_litter_in_its_place',\n 'litter',\n 'litterbox',\n ],\n },\n {\n name: 'potable_water',\n code: '🚰',\n keywords: [\n 'potable_water',\n 'drink',\n 'potable',\n 'water',\n ],\n },\n {\n name: 'wheelchair',\n code: '♿',\n keywords: [\n 'accessibility',\n 'wheelchair',\n 'access',\n ],\n },\n {\n name: 'mens',\n code: '🚹',\n keywords: [\n 'mens',\n 'lavatory',\n 'man',\n 'restroom',\n 'wc',\n ],\n },\n {\n name: 'womens',\n code: '🚺',\n keywords: [\n 'womens',\n 'lavatory',\n 'restroom',\n 'wc',\n 'woman',\n ],\n },\n {\n name: 'restroom',\n code: '🚻',\n keywords: [\n 'toilet',\n 'restroom',\n 'lavatory',\n 'wc',\n ],\n },\n {\n name: 'baby_symbol',\n code: '🚼',\n keywords: [\n 'baby_symbol',\n 'baby',\n 'changing',\n ],\n },\n {\n name: 'wc',\n code: '🚾',\n keywords: [\n 'toilet',\n 'restroom',\n 'wc',\n 'closet',\n 'lavatory',\n 'water',\n ],\n },\n {\n name: 'passport_control',\n code: '🛂',\n keywords: [\n 'passport_control',\n 'control',\n 'passport',\n ],\n },\n {\n name: 'customs',\n code: '🛃',\n keywords: [\n 'customs',\n ],\n },\n {\n name: 'baggage_claim',\n code: '🛄',\n keywords: [\n 'airport',\n 'baggage_claim',\n 'baggage',\n 'claim',\n ],\n },\n {\n name: 'left_luggage',\n code: '🛅',\n keywords: [\n 'left_luggage',\n 'baggage',\n 'left luggage',\n 'locker',\n 'luggage',\n ],\n },\n {\n name: 'warning',\n code: '⚠️',\n keywords: [\n 'wip',\n 'warning',\n ],\n },\n {\n name: 'children_crossing',\n code: '🚸',\n keywords: [\n 'children_crossing',\n 'child',\n 'crossing',\n 'pedestrian',\n 'traffic',\n ],\n },\n {\n name: 'no_entry',\n code: '⛔',\n keywords: [\n 'limit',\n 'no_entry',\n 'entry',\n 'forbidden',\n 'no',\n 'not',\n 'prohibited',\n 'traffic',\n ],\n },\n {\n name: 'no_entry_sign',\n code: '🚫',\n keywords: [\n 'block',\n 'forbidden',\n 'no_entry_sign',\n 'entry',\n 'no',\n 'not',\n 'prohibited',\n ],\n },\n {\n name: 'no_bicycles',\n code: '🚳',\n keywords: [\n 'no_bicycles',\n 'bicycle',\n 'bike',\n 'forbidden',\n 'no',\n 'not',\n 'prohibited',\n 'vehicle',\n ],\n },\n {\n name: 'no_smoking',\n code: '🚭',\n keywords: [\n 'no_smoking',\n 'forbidden',\n 'no',\n 'not',\n 'prohibited',\n 'smoking',\n ],\n },\n {\n name: 'do_not_litter',\n code: '🚯',\n keywords: [\n 'do_not_litter',\n 'forbidden',\n 'litter',\n 'no',\n 'not',\n 'prohibited',\n ],\n },\n {\n name: 'non-potable_water',\n code: '🚱',\n keywords: [\n 'non-potable_water',\n 'drink',\n 'forbidden',\n 'no',\n 'not',\n 'potable',\n 'prohibited',\n 'water',\n ],\n },\n {\n name: 'no_pedestrians',\n code: '🚷',\n keywords: [\n 'no_pedestrians',\n 'forbidden',\n 'no',\n 'not',\n 'pedestrian',\n 'prohibited',\n ],\n },\n {\n name: 'no_mobile_phones',\n code: '📵',\n keywords: [\n 'no_mobile_phones',\n 'cell',\n 'communication',\n 'forbidden',\n 'mobile',\n 'no',\n 'not',\n 'phone',\n 'prohibited',\n 'telephone',\n ],\n },\n {\n name: 'underage',\n code: '🔞',\n keywords: [\n 'underage',\n '18',\n 'age restriction',\n 'eighteen',\n 'forbidden',\n 'no',\n 'not',\n 'prohibited',\n ],\n },\n {\n name: 'radioactive',\n code: '☢️',\n keywords: [\n 'radioactive',\n ],\n },\n {\n name: 'biohazard',\n code: '☣️',\n keywords: [\n 'biohazard',\n ],\n },\n {\n name: 'arrow_up',\n code: '⬆️',\n keywords: [\n 'arrow_up',\n ],\n },\n {\n name: 'arrow_upper_right',\n code: '↗️',\n keywords: [\n 'arrow_upper_right',\n 'arrow',\n 'direction',\n 'intercardinal',\n 'northeast',\n ],\n },\n {\n name: 'arrow_right',\n code: '➡️',\n keywords: [\n 'arrow_right',\n ],\n },\n {\n name: 'arrow_lower_right',\n code: '↘️',\n keywords: [\n 'arrow_lower_right',\n 'arrow',\n 'direction',\n 'intercardinal',\n 'southeast',\n ],\n },\n {\n name: 'arrow_down',\n code: '⬇️',\n keywords: [\n 'arrow_down',\n ],\n },\n {\n name: 'arrow_lower_left',\n code: '↙️',\n keywords: [\n 'arrow_lower_left',\n 'arrow',\n 'direction',\n 'intercardinal',\n 'southwest',\n ],\n },\n {\n name: 'arrow_left',\n code: '⬅️',\n keywords: [\n 'arrow_left',\n ],\n },\n {\n name: 'arrow_upper_left',\n code: '↖️',\n keywords: [\n 'arrow_upper_left',\n 'arrow',\n 'direction',\n 'intercardinal',\n 'northwest',\n ],\n },\n {\n name: 'arrow_up_down',\n code: '↕️',\n keywords: [\n 'arrow_up_down',\n 'arrow',\n ],\n },\n {\n name: 'left_right_arrow',\n code: '↔️',\n keywords: [\n 'left_right_arrow',\n 'arrow',\n ],\n },\n {\n name: 'leftwards_arrow_with_hook',\n code: '↩️',\n keywords: [\n 'return',\n 'leftwards_arrow_with_hook',\n ],\n },\n {\n name: 'arrow_right_hook',\n code: '↪️',\n keywords: [\n 'arrow_right_hook',\n ],\n },\n {\n name: 'arrow_heading_up',\n code: '⤴️',\n keywords: [\n 'arrow_heading_up',\n 'arrow',\n 'up',\n ],\n },\n {\n name: 'arrow_heading_down',\n code: '⤵️',\n keywords: [\n 'arrow_heading_down',\n 'arrow',\n 'down',\n ],\n },\n {\n name: 'arrows_clockwise',\n code: '🔃',\n keywords: [\n 'arrows_clockwise',\n 'arrow',\n 'clockwise',\n 'reload',\n ],\n },\n {\n name: 'arrows_counterclockwise',\n code: '🔄',\n keywords: [\n 'sync',\n 'arrows_counterclockwise',\n 'anticlockwise',\n 'arrow',\n 'counterclockwise',\n 'withershins',\n ],\n },\n {\n name: 'back',\n code: '🔙',\n keywords: [\n 'back',\n 'arrow',\n ],\n },\n {\n name: 'end',\n code: '🔚',\n keywords: [\n 'end',\n 'arrow',\n ],\n },\n {\n name: 'on',\n code: '🔛',\n keywords: [\n 'on',\n 'arrow',\n 'mark',\n ],\n },\n {\n name: 'soon',\n code: '🔜',\n keywords: [\n 'soon',\n 'arrow',\n ],\n },\n {\n name: 'top',\n code: '🔝',\n keywords: [\n 'top',\n 'arrow',\n 'up',\n ],\n },\n {\n name: 'place_of_worship',\n code: '🛐',\n keywords: [\n 'place_of_worship',\n 'religion',\n 'worship',\n ],\n },\n {\n name: 'atom_symbol',\n code: '⚛️',\n keywords: [\n 'atom_symbol',\n ],\n },\n {\n name: 'om',\n code: '🕉️',\n keywords: [\n 'om',\n ],\n },\n {\n name: 'star_of_david',\n code: '✡️',\n keywords: [\n 'star_of_david',\n 'david',\n 'jew',\n 'jewish',\n 'religion',\n 'star',\n ],\n },\n {\n name: 'wheel_of_dharma',\n code: '☸️',\n keywords: [\n 'wheel_of_dharma',\n 'buddhist',\n 'dharma',\n 'religion',\n 'wheel',\n ],\n },\n {\n name: 'yin_yang',\n code: '☯️',\n keywords: [\n 'yin_yang',\n ],\n },\n {\n name: 'latin_cross',\n code: '✝️',\n keywords: [\n 'latin_cross',\n ],\n },\n {\n name: 'orthodox_cross',\n code: '☦️',\n keywords: [\n 'orthodox_cross',\n 'christian',\n 'cross',\n 'religion',\n ],\n },\n {\n name: 'star_and_crescent',\n code: '☪️',\n keywords: [\n 'star_and_crescent',\n ],\n },\n {\n name: 'peace_symbol',\n code: '☮️',\n keywords: [\n 'peace_symbol',\n ],\n },\n {\n name: 'menorah',\n code: '🕎',\n keywords: [\n 'menorah',\n 'candelabrum',\n 'candlestick',\n 'religion',\n ],\n },\n {\n name: 'six_pointed_star',\n code: '🔯',\n keywords: [\n 'six_pointed_star',\n 'fortune',\n 'star',\n ],\n },\n {\n name: 'aries',\n code: '♈',\n keywords: [\n 'aries',\n 'ram',\n 'zodiac',\n ],\n },\n {\n name: 'taurus',\n code: '♉',\n keywords: [\n 'taurus',\n 'bull',\n 'ox',\n 'zodiac',\n ],\n },\n {\n name: 'gemini',\n code: '♊',\n keywords: [\n 'gemini',\n 'twins',\n 'zodiac',\n ],\n },\n {\n name: 'cancer',\n code: '♋',\n keywords: [\n 'cancer',\n 'crab',\n 'zodiac',\n ],\n },\n {\n name: 'leo',\n code: '♌',\n keywords: [\n 'leo',\n 'lion',\n 'zodiac',\n ],\n },\n {\n name: 'virgo',\n code: '♍',\n keywords: [\n 'virgo',\n 'maiden',\n 'virgin',\n 'zodiac',\n ],\n },\n {\n name: 'libra',\n code: '♎',\n keywords: [\n 'libra',\n 'balance',\n 'justice',\n 'scales',\n 'zodiac',\n ],\n },\n {\n name: 'scorpius',\n code: '♏',\n keywords: [\n 'scorpius',\n 'scorpio',\n 'scorpion',\n 'zodiac',\n ],\n },\n {\n name: 'sagittarius',\n code: '♐',\n keywords: [\n 'sagittarius',\n 'archer',\n 'zodiac',\n ],\n },\n {\n name: 'capricorn',\n code: '♑',\n keywords: [\n 'capricorn',\n 'goat',\n 'zodiac',\n ],\n },\n {\n name: 'aquarius',\n code: '♒',\n keywords: [\n 'aquarius',\n 'bearer',\n 'water',\n 'zodiac',\n ],\n },\n {\n name: 'pisces',\n code: '♓',\n keywords: [\n 'pisces',\n 'fish',\n 'zodiac',\n ],\n },\n {\n name: 'ophiuchus',\n code: '⛎',\n keywords: [\n 'ophiuchus',\n 'bearer',\n 'serpent',\n 'snake',\n 'zodiac',\n ],\n },\n {\n name: 'twisted_rightwards_arrows',\n code: '🔀',\n keywords: [\n 'shuffle',\n 'twisted_rightwards_arrows',\n 'arrow',\n 'crossed',\n ],\n },\n {\n name: 'repeat',\n code: '🔁',\n keywords: [\n 'loop',\n 'repeat',\n 'arrow',\n 'clockwise',\n ],\n },\n {\n name: 'repeat_one',\n code: '🔂',\n keywords: [\n 'repeat_one',\n 'arrow',\n 'clockwise',\n 'once',\n ],\n },\n {\n name: 'arrow_forward',\n code: '▶️',\n keywords: [\n 'arrow_forward',\n ],\n },\n {\n name: 'fast_forward',\n code: '⏩',\n keywords: [\n 'fast_forward',\n 'arrow',\n 'double',\n 'fast',\n 'forward',\n ],\n },\n {\n name: 'next_track_button',\n code: '⏭️',\n keywords: [\n 'next_track_button',\n ],\n },\n {\n name: 'play_or_pause_button',\n code: '⏯️',\n keywords: [\n 'play_or_pause_button',\n ],\n },\n {\n name: 'arrow_backward',\n code: '◀️',\n keywords: [\n 'arrow_backward',\n ],\n },\n {\n name: 'rewind',\n code: '⏪',\n keywords: [\n 'rewind',\n 'arrow',\n 'double',\n ],\n },\n {\n name: 'previous_track_button',\n code: '⏮️',\n keywords: [\n 'previous_track_button',\n ],\n },\n {\n name: 'arrow_up_small',\n code: '🔼',\n keywords: [\n 'arrow_up_small',\n 'arrow',\n 'button',\n 'red',\n ],\n },\n {\n name: 'arrow_double_up',\n code: '⏫',\n keywords: [\n 'arrow_double_up',\n 'arrow',\n 'double',\n ],\n },\n {\n name: 'arrow_down_small',\n code: '🔽',\n keywords: [\n 'arrow_down_small',\n 'arrow',\n 'button',\n 'down',\n 'red',\n ],\n },\n {\n name: 'arrow_double_down',\n code: '⏬',\n keywords: [\n 'arrow_double_down',\n 'arrow',\n 'double',\n 'down',\n ],\n },\n {\n name: 'pause_button',\n code: '⏸️',\n keywords: [\n 'pause_button',\n ],\n },\n {\n name: 'stop_button',\n code: '⏹️',\n keywords: [\n 'stop_button',\n ],\n },\n {\n name: 'record_button',\n code: '⏺️',\n keywords: [\n 'record_button',\n ],\n },\n {\n name: 'eject_button',\n code: '⏏️',\n keywords: [\n 'eject_button',\n ],\n },\n {\n name: 'cinema',\n code: '🎦',\n keywords: [\n 'film',\n 'movie',\n 'cinema',\n 'activity',\n 'camera',\n 'entertainment',\n ],\n },\n {\n name: 'low_brightness',\n code: '🔅',\n keywords: [\n 'low_brightness',\n 'brightness',\n 'dim',\n 'low',\n ],\n },\n {\n name: 'high_brightness',\n code: '🔆',\n keywords: [\n 'high_brightness',\n 'bright',\n 'brightness',\n ],\n },\n {\n name: 'signal_strength',\n code: '📶',\n keywords: [\n 'wifi',\n 'signal_strength',\n 'antenna',\n 'bar',\n 'cell',\n 'communication',\n 'mobile',\n 'phone',\n 'signal',\n 'telephone',\n ],\n },\n {\n name: 'vibration_mode',\n code: '📳',\n keywords: [\n 'vibration_mode',\n 'cell',\n 'communication',\n 'mobile',\n 'mode',\n 'phone',\n 'telephone',\n 'vibration',\n ],\n },\n {\n name: 'mobile_phone_off',\n code: '📴',\n keywords: [\n 'mute',\n 'off',\n 'mobile_phone_off',\n 'cell',\n 'communication',\n 'mobile',\n 'phone',\n 'telephone',\n ],\n },\n {\n name: 'female_sign',\n code: '♀️',\n keywords: [\n 'female_sign',\n ],\n },\n {\n name: 'male_sign',\n code: '♂️',\n keywords: [\n 'male_sign',\n ],\n },\n {\n name: 'transgender_symbol',\n code: '⚧️',\n keywords: [\n 'transgender_symbol',\n ],\n },\n {\n name: 'heavy_multiplication_x',\n code: '✖️',\n keywords: [\n 'heavy_multiplication_x',\n 'cancel',\n 'multiplication',\n 'multiply',\n 'x',\n ],\n },\n {\n name: 'heavy_plus_sign',\n code: '➕',\n keywords: [\n 'heavy_plus_sign',\n 'math',\n 'plus',\n ],\n },\n {\n name: 'heavy_minus_sign',\n code: '➖',\n keywords: [\n 'heavy_minus_sign',\n 'math',\n 'minus',\n ],\n },\n {\n name: 'heavy_division_sign',\n code: '➗',\n keywords: [\n 'heavy_division_sign',\n 'division',\n 'math',\n ],\n },\n {\n name: 'infinity',\n code: '♾️',\n keywords: [\n 'infinity',\n ],\n },\n {\n name: 'bangbang',\n code: '‼️',\n keywords: [\n 'bangbang',\n ],\n },\n {\n name: 'interrobang',\n code: '⁉️',\n keywords: [\n 'interrobang',\n 'exclamation',\n 'mark',\n 'punctuation',\n 'question',\n ],\n },\n {\n name: 'question',\n code: '❓',\n keywords: [\n 'confused',\n 'question',\n 'mark',\n 'punctuation',\n ],\n },\n {\n name: 'grey_question',\n code: '❔',\n keywords: [\n 'grey_question',\n 'mark',\n 'outlined',\n 'punctuation',\n 'question',\n ],\n },\n {\n name: 'grey_exclamation',\n code: '❕',\n keywords: [\n 'grey_exclamation',\n 'exclamation',\n 'mark',\n 'outlined',\n 'punctuation',\n ],\n },\n {\n name: 'exclamation',\n code: '❗',\n keywords: [\n 'bang',\n 'exclamation',\n 'heavy_exclamation_mark',\n 'mark',\n 'punctuation',\n ],\n },\n {\n name: 'wavy_dash',\n code: '〰️',\n keywords: [\n 'wavy_dash',\n 'dash',\n 'punctuation',\n 'wavy',\n ],\n },\n {\n name: 'currency_exchange',\n code: '💱',\n keywords: [\n 'currency_exchange',\n 'bank',\n 'currency',\n 'exchange',\n 'money',\n ],\n },\n {\n name: 'heavy_dollar_sign',\n code: '💲',\n keywords: [\n 'heavy_dollar_sign',\n 'currency',\n 'dollar',\n 'money',\n ],\n },\n {\n name: 'medical_symbol',\n code: '⚕️',\n keywords: [\n 'medical_symbol',\n ],\n },\n {\n name: 'recycle',\n code: '♻️',\n keywords: [\n 'environment',\n 'green',\n 'recycle',\n ],\n },\n {\n name: 'fleur_de_lis',\n code: '⚜️',\n keywords: [\n 'fleur_de_lis',\n ],\n },\n {\n name: 'trident',\n code: '🔱',\n keywords: [\n 'trident',\n 'anchor',\n 'emblem',\n 'ship',\n 'tool',\n ],\n },\n {\n name: 'name_badge',\n code: '📛',\n keywords: [\n 'name_badge',\n 'badge',\n 'name',\n ],\n },\n {\n name: 'beginner',\n code: '🔰',\n keywords: [\n 'beginner',\n 'chevron',\n 'green',\n 'japanese',\n 'leaf',\n 'tool',\n 'yellow',\n ],\n },\n {\n name: 'o',\n code: '⭕',\n keywords: [\n 'o',\n 'circle',\n ],\n },\n {\n name: 'white_check_mark',\n code: '✅',\n keywords: [\n 'white_check_mark',\n 'check',\n 'mark',\n ],\n },\n {\n name: 'ballot_box_with_check',\n code: '☑️',\n keywords: [\n 'ballot_box_with_check',\n 'ballot',\n 'box',\n 'check',\n ],\n },\n {\n name: 'heavy_check_mark',\n code: '✔️',\n keywords: [\n 'heavy_check_mark',\n 'check',\n 'mark',\n ],\n },\n {\n name: 'x',\n code: '❌',\n keywords: [\n 'x',\n 'cancel',\n 'mark',\n 'multiplication',\n 'multiply',\n ],\n },\n {\n name: 'negative_squared_cross_mark',\n code: '❎',\n keywords: [\n 'negative_squared_cross_mark',\n 'mark',\n 'square',\n ],\n },\n {\n name: 'curly_loop',\n code: '➰',\n keywords: [\n 'curly_loop',\n 'curl',\n 'loop',\n ],\n },\n {\n name: 'loop',\n code: '➿',\n keywords: [\n 'loop',\n 'curl',\n 'double',\n ],\n },\n {\n name: 'part_alternation_mark',\n code: '〽️',\n keywords: [\n 'part_alternation_mark',\n ],\n },\n {\n name: 'eight_spoked_asterisk',\n code: '✳️',\n keywords: [\n 'eight_spoked_asterisk',\n 'asterisk',\n ],\n },\n {\n name: 'eight_pointed_black_star',\n code: '✴️',\n keywords: [\n 'eight_pointed_black_star',\n 'star',\n ],\n },\n {\n name: 'sparkle',\n code: '❇️',\n keywords: [\n 'sparkle',\n ],\n },\n {\n name: 'copyright',\n code: '©️',\n keywords: [\n 'copyright',\n ],\n },\n {\n name: 'registered',\n code: '®️',\n keywords: [\n 'registered',\n ],\n },\n {\n name: 'tm',\n code: '™️',\n keywords: [\n 'trademark',\n 'tm',\n 'mark',\n ],\n },\n {\n name: 'hash',\n code: '#️⃣',\n keywords: [\n 'number',\n 'hash',\n 'keycap',\n 'pound',\n ],\n },\n {\n name: 'asterisk',\n code: '*️⃣',\n keywords: [\n 'asterisk',\n 'keycap',\n 'star',\n ],\n },\n {\n name: 'zero',\n code: '0️⃣',\n keywords: [\n 'zero',\n '0',\n 'keycap',\n ],\n },\n {\n name: 'one',\n code: '1️⃣',\n keywords: [\n 'one',\n '1',\n 'keycap',\n ],\n },\n {\n name: 'two',\n code: '2️⃣',\n keywords: [\n 'two',\n '2',\n 'keycap',\n ],\n },\n {\n name: 'three',\n code: '3️⃣',\n keywords: [\n 'three',\n '3',\n 'keycap',\n ],\n },\n {\n name: 'four',\n code: '4️⃣',\n keywords: [\n 'four',\n '4',\n 'keycap',\n ],\n },\n {\n name: 'five',\n code: '5️⃣',\n keywords: [\n 'five',\n '5',\n 'keycap',\n ],\n },\n {\n name: 'six',\n code: '6️⃣',\n keywords: [\n 'six',\n '6',\n 'keycap',\n ],\n },\n {\n name: 'seven',\n code: '7️⃣',\n keywords: [\n 'seven',\n '7',\n 'keycap',\n ],\n },\n {\n name: 'eight',\n code: '8️⃣',\n keywords: [\n 'eight',\n '8',\n 'keycap',\n ],\n },\n {\n name: 'nine',\n code: '9️⃣',\n keywords: [\n 'nine',\n '9',\n 'keycap',\n ],\n },\n {\n name: 'keycap_ten',\n code: '🔟',\n keywords: [\n 'keycap_ten',\n '10',\n 'keycap',\n 'ten',\n ],\n },\n {\n name: 'capital_abcd',\n code: '🔠',\n keywords: [\n 'letters',\n 'capital_abcd',\n 'input',\n 'latin',\n 'uppercase',\n ],\n },\n {\n name: 'abcd',\n code: '🔡',\n keywords: [\n 'abcd',\n 'input',\n 'latin',\n 'letters',\n 'lowercase',\n ],\n },\n {\n name: '1234',\n code: '🔢',\n keywords: [\n 'numbers',\n '1234',\n 'input',\n ],\n },\n {\n name: 'symbols',\n code: '🔣',\n keywords: [\n 'symbols',\n 'input',\n ],\n },\n {\n name: 'abc',\n code: '🔤',\n keywords: [\n 'alphabet',\n 'abc',\n 'input',\n 'latin',\n 'letters',\n ],\n },\n {\n name: 'a',\n code: '🅰️',\n keywords: [\n 'a',\n ],\n },\n {\n name: 'ab',\n code: '🆎',\n keywords: [\n 'ab',\n 'blood',\n ],\n },\n {\n name: 'b',\n code: '🅱️',\n keywords: [\n 'b',\n ],\n },\n {\n name: 'cl',\n code: '🆑',\n keywords: [\n 'cl',\n ],\n },\n {\n name: 'cool',\n code: '🆒',\n keywords: [\n 'cool',\n ],\n },\n {\n name: 'free',\n code: '🆓',\n keywords: [\n 'free',\n ],\n },\n {\n name: 'information_source',\n code: 'ℹ️',\n keywords: [\n 'information_source',\n 'i',\n 'information',\n ],\n },\n {\n name: 'id',\n code: '🆔',\n keywords: [\n 'id',\n 'identity',\n ],\n },\n {\n name: 'm',\n code: 'Ⓜ️',\n keywords: [\n 'm',\n ],\n },\n {\n name: 'new',\n code: '🆕',\n keywords: [\n 'fresh',\n 'new',\n ],\n },\n {\n name: 'ng',\n code: '🆖',\n keywords: [\n 'ng',\n ],\n },\n {\n name: 'o2',\n code: '🅾️',\n keywords: [\n 'o2',\n ],\n },\n {\n name: 'ok',\n code: '🆗',\n keywords: [\n 'yes',\n 'ok',\n ],\n },\n {\n name: 'parking',\n code: '🅿️',\n keywords: [\n 'parking',\n ],\n },\n {\n name: 'sos',\n code: '🆘',\n keywords: [\n 'help',\n 'emergency',\n 'sos',\n ],\n },\n {\n name: 'up',\n code: '🆙',\n keywords: [\n 'up',\n 'mark',\n ],\n },\n {\n name: 'vs',\n code: '🆚',\n keywords: [\n 'vs',\n 'versus',\n ],\n },\n {\n name: 'koko',\n code: '🈁',\n keywords: [\n 'koko',\n 'japanese',\n ],\n },\n {\n name: 'sa',\n code: '🈂️',\n keywords: [\n 'sa',\n ],\n },\n {\n name: 'u6708',\n code: '🈷️',\n keywords: [\n 'u6708',\n ],\n },\n {\n name: 'u6709',\n code: '🈶',\n keywords: [\n 'u6709',\n 'japanese',\n ],\n },\n {\n name: 'u6307',\n code: '🈯',\n keywords: [\n 'u6307',\n 'japanese',\n ],\n },\n {\n name: 'ideograph_advantage',\n code: '🉐',\n keywords: [\n 'ideograph_advantage',\n 'japanese',\n ],\n },\n {\n name: 'u5272',\n code: '🈹',\n keywords: [\n 'u5272',\n 'japanese',\n ],\n },\n {\n name: 'u7121',\n code: '🈚',\n keywords: [\n 'u7121',\n 'japanese',\n ],\n },\n {\n name: 'u7981',\n code: '🈲',\n keywords: [\n 'u7981',\n 'japanese',\n ],\n },\n {\n name: 'accept',\n code: '🉑',\n keywords: [\n 'accept',\n 'chinese',\n ],\n },\n {\n name: 'u7533',\n code: '🈸',\n keywords: [\n 'u7533',\n 'chinese',\n ],\n },\n {\n name: 'u5408',\n code: '🈴',\n keywords: [\n 'u5408',\n 'chinese',\n ],\n },\n {\n name: 'u7a7a',\n code: '🈳',\n keywords: [\n 'u7a7a',\n 'chinese',\n ],\n },\n {\n name: 'congratulations',\n code: '㊗️',\n keywords: [\n 'congratulations',\n 'chinese',\n 'congratulation',\n 'ideograph',\n ],\n },\n {\n name: 'secret',\n code: '㊙️',\n keywords: [\n 'secret',\n 'chinese',\n 'ideograph',\n ],\n },\n {\n name: 'u55b6',\n code: '🈺',\n keywords: [\n 'u55b6',\n 'chinese',\n ],\n },\n {\n name: 'u6e80',\n code: '🈵',\n keywords: [\n 'u6e80',\n 'chinese',\n ],\n },\n {\n name: 'red_circle',\n code: '🔴',\n keywords: [\n 'red_circle',\n 'circle',\n 'geometric',\n 'red',\n ],\n },\n {\n name: 'orange_circle',\n code: '🟠',\n keywords: [\n 'orange_circle',\n ],\n },\n {\n name: 'yellow_circle',\n code: '🟡',\n keywords: [\n 'yellow_circle',\n ],\n },\n {\n name: 'green_circle',\n code: '🟢',\n keywords: [\n 'green_circle',\n ],\n },\n {\n name: 'large_blue_circle',\n code: '🔵',\n keywords: [\n 'large_blue_circle',\n 'blue',\n 'circle',\n 'geometric',\n ],\n },\n {\n name: 'purple_circle',\n code: '🟣',\n keywords: [\n 'purple_circle',\n ],\n },\n {\n name: 'brown_circle',\n code: '🟤',\n keywords: [\n 'brown_circle',\n ],\n },\n {\n name: 'black_circle',\n code: '⚫',\n keywords: [\n 'black_circle',\n 'circle',\n 'geometric',\n ],\n },\n {\n name: 'white_circle',\n code: '⚪',\n keywords: [\n 'white_circle',\n 'circle',\n 'geometric',\n ],\n },\n {\n name: 'red_square',\n code: '🟥',\n keywords: [\n 'red_square',\n ],\n },\n {\n name: 'orange_square',\n code: '🟧',\n keywords: [\n 'orange_square',\n ],\n },\n {\n name: 'yellow_square',\n code: '🟨',\n keywords: [\n 'yellow_square',\n ],\n },\n {\n name: 'green_square',\n code: '🟩',\n keywords: [\n 'green_square',\n ],\n },\n {\n name: 'blue_square',\n code: '🟦',\n keywords: [\n 'blue_square',\n ],\n },\n {\n name: 'purple_square',\n code: '🟪',\n keywords: [\n 'purple_square',\n ],\n },\n {\n name: 'brown_square',\n code: '🟫',\n keywords: [\n 'brown_square',\n ],\n },\n {\n name: 'black_large_square',\n code: '⬛',\n keywords: [\n 'black_large_square',\n 'geometric',\n 'square',\n ],\n },\n {\n name: 'white_large_square',\n code: '⬜',\n keywords: [\n 'white_large_square',\n 'geometric',\n 'square',\n ],\n },\n {\n name: 'black_medium_square',\n code: '◼️',\n keywords: [\n 'black_medium_square',\n ],\n },\n {\n name: 'white_medium_square',\n code: '◻️',\n keywords: [\n 'white_medium_square',\n ],\n },\n {\n name: 'black_medium_small_square',\n code: '◾',\n keywords: [\n 'black_medium_small_square',\n 'geometric',\n 'square',\n ],\n },\n {\n name: 'white_medium_small_square',\n code: '◽',\n keywords: [\n 'white_medium_small_square',\n 'geometric',\n 'square',\n ],\n },\n {\n name: 'black_small_square',\n code: '▪️',\n keywords: [\n 'black_small_square',\n ],\n },\n {\n name: 'white_small_square',\n code: '▫️',\n keywords: [\n 'white_small_square',\n ],\n },\n {\n name: 'large_orange_diamond',\n code: '🔶',\n keywords: [\n 'large_orange_diamond',\n 'diamond',\n 'geometric',\n 'orange',\n ],\n },\n {\n name: 'large_blue_diamond',\n code: '🔷',\n keywords: [\n 'large_blue_diamond',\n 'blue',\n 'diamond',\n 'geometric',\n ],\n },\n {\n name: 'small_orange_diamond',\n code: '🔸',\n keywords: [\n 'small_orange_diamond',\n 'diamond',\n 'geometric',\n 'orange',\n ],\n },\n {\n name: 'small_blue_diamond',\n code: '🔹',\n keywords: [\n 'small_blue_diamond',\n 'blue',\n 'diamond',\n 'geometric',\n ],\n },\n {\n name: 'small_red_triangle',\n code: '🔺',\n keywords: [\n 'small_red_triangle',\n 'geometric',\n 'red',\n ],\n },\n {\n name: 'small_red_triangle_down',\n code: '🔻',\n keywords: [\n 'small_red_triangle_down',\n 'down',\n 'geometric',\n 'red',\n ],\n },\n {\n name: 'diamond_shape_with_a_dot_inside',\n code: '💠',\n keywords: [\n 'diamond_shape_with_a_dot_inside',\n 'comic',\n 'diamond',\n 'geometric',\n 'inside',\n ],\n },\n {\n name: 'radio_button',\n code: '🔘',\n keywords: [\n 'radio_button',\n 'button',\n 'geometric',\n 'radio',\n ],\n },\n {\n name: 'white_square_button',\n code: '🔳',\n keywords: [\n 'white_square_button',\n 'button',\n 'geometric',\n 'outlined',\n 'square',\n ],\n },\n {\n name: 'black_square_button',\n code: '🔲',\n keywords: [\n 'black_square_button',\n 'button',\n 'geometric',\n 'square',\n ],\n },\n {\n code: 'flags',\n header: true,\n icon: Flags,\n },\n {\n name: 'checkered_flag',\n code: '🏁',\n keywords: [\n 'milestone',\n 'finish',\n 'checkered_flag',\n 'checkered',\n 'chequered',\n 'flag',\n 'racing',\n ],\n },\n {\n name: 'triangular_flag_on_post',\n code: '🚩',\n keywords: [\n 'triangular_flag_on_post',\n 'flag',\n 'post',\n ],\n },\n {\n name: 'crossed_flags',\n code: '🎌',\n keywords: [\n 'crossed_flags',\n 'activity',\n 'celebration',\n 'cross',\n 'crossed',\n 'flag',\n 'japanese',\n ],\n },\n {\n name: 'black_flag',\n code: '🏴',\n keywords: [\n 'black_flag',\n 'flag',\n 'waving',\n ],\n },\n {\n name: 'white_flag',\n code: '🏳️',\n keywords: [\n 'white_flag',\n ],\n },\n {\n name: 'rainbow_flag',\n code: '🏳️‍🌈',\n keywords: [\n 'pride',\n 'rainbow_flag',\n ],\n },\n {\n name: 'transgender_flag',\n code: '🏳️‍⚧️',\n keywords: [\n 'transgender_flag',\n ],\n },\n {\n name: 'pirate_flag',\n code: '🏴‍☠️',\n keywords: [\n 'pirate_flag',\n ],\n },\n {\n name: 'ascension_island',\n code: '🇦🇨',\n keywords: [\n 'ascension_island',\n 'ascension',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'andorra',\n code: '🇦🇩',\n keywords: [\n 'andorra',\n 'flag',\n ],\n },\n {\n name: 'united_arab_emirates',\n code: '🇦🇪',\n keywords: [\n 'united_arab_emirates',\n 'emirates',\n 'flag',\n 'uae',\n 'united',\n ],\n },\n {\n name: 'afghanistan',\n code: '🇦🇫',\n keywords: [\n 'afghanistan',\n 'flag',\n ],\n },\n {\n name: 'antigua_barbuda',\n code: '🇦🇬',\n keywords: [\n 'antigua_barbuda',\n 'antigua',\n 'barbuda',\n 'flag',\n ],\n },\n {\n name: 'anguilla',\n code: '🇦🇮',\n keywords: [\n 'anguilla',\n 'flag',\n ],\n },\n {\n name: 'albania',\n code: '🇦🇱',\n keywords: [\n 'albania',\n 'flag',\n ],\n },\n {\n name: 'armenia',\n code: '🇦🇲',\n keywords: [\n 'armenia',\n 'flag',\n ],\n },\n {\n name: 'angola',\n code: '🇦🇴',\n keywords: [\n 'angola',\n 'flag',\n ],\n },\n {\n name: 'antarctica',\n code: '🇦🇶',\n keywords: [\n 'antarctica',\n 'flag',\n ],\n },\n {\n name: 'argentina',\n code: '🇦🇷',\n keywords: [\n 'argentina',\n 'flag',\n ],\n },\n {\n name: 'american_samoa',\n code: '🇦🇸',\n keywords: [\n 'american_samoa',\n 'american',\n 'flag',\n 'samoa',\n ],\n },\n {\n name: 'austria',\n code: '🇦🇹',\n keywords: [\n 'austria',\n 'flag',\n ],\n },\n {\n name: 'australia',\n code: '🇦🇺',\n keywords: [\n 'australia',\n 'flag',\n ],\n },\n {\n name: 'aruba',\n code: '🇦🇼',\n keywords: [\n 'aruba',\n 'flag',\n ],\n },\n {\n name: 'aland_islands',\n code: '🇦🇽',\n keywords: [\n 'aland_islands',\n 'åland',\n 'flag',\n ],\n },\n {\n name: 'azerbaijan',\n code: '🇦🇿',\n keywords: [\n 'azerbaijan',\n 'flag',\n ],\n },\n {\n name: 'bosnia_herzegovina',\n code: '🇧🇦',\n keywords: [\n 'bosnia_herzegovina',\n 'bosnia',\n 'flag',\n 'herzegovina',\n ],\n },\n {\n name: 'barbados',\n code: '🇧🇧',\n keywords: [\n 'barbados',\n 'flag',\n ],\n },\n {\n name: 'bangladesh',\n code: '🇧🇩',\n keywords: [\n 'bangladesh',\n 'flag',\n ],\n },\n {\n name: 'belgium',\n code: '🇧🇪',\n keywords: [\n 'belgium',\n 'flag',\n ],\n },\n {\n name: 'burkina_faso',\n code: '🇧🇫',\n keywords: [\n 'burkina_faso',\n 'burkina faso',\n 'flag',\n ],\n },\n {\n name: 'bulgaria',\n code: '🇧🇬',\n keywords: [\n 'bulgaria',\n 'flag',\n ],\n },\n {\n name: 'bahrain',\n code: '🇧🇭',\n keywords: [\n 'bahrain',\n 'flag',\n ],\n },\n {\n name: 'burundi',\n code: '🇧🇮',\n keywords: [\n 'burundi',\n 'flag',\n ],\n },\n {\n name: 'benin',\n code: '🇧🇯',\n keywords: [\n 'benin',\n 'flag',\n ],\n },\n {\n name: 'st_barthelemy',\n code: '🇧🇱',\n keywords: [\n 'st_barthelemy',\n 'barthelemy',\n 'barthélemy',\n 'flag',\n 'saint',\n ],\n },\n {\n name: 'bermuda',\n code: '🇧🇲',\n keywords: [\n 'bermuda',\n 'flag',\n ],\n },\n {\n name: 'brunei',\n code: '🇧🇳',\n keywords: [\n 'brunei',\n 'darussalam',\n 'flag',\n ],\n },\n {\n name: 'bolivia',\n code: '🇧🇴',\n keywords: [\n 'bolivia',\n 'flag',\n ],\n },\n {\n name: 'caribbean_netherlands',\n code: '🇧🇶',\n keywords: [\n 'caribbean_netherlands',\n 'bonaire',\n 'caribbean',\n 'eustatius',\n 'flag',\n 'netherlands',\n 'saba',\n 'sint',\n ],\n },\n {\n name: 'brazil',\n code: '🇧🇷',\n keywords: [\n 'brazil',\n 'flag',\n ],\n },\n {\n name: 'bahamas',\n code: '🇧🇸',\n keywords: [\n 'bahamas',\n 'flag',\n ],\n },\n {\n name: 'bhutan',\n code: '🇧🇹',\n keywords: [\n 'bhutan',\n 'flag',\n ],\n },\n {\n name: 'bouvet_island',\n code: '🇧🇻',\n keywords: [\n 'bouvet_island',\n 'bouvet',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'botswana',\n code: '🇧🇼',\n keywords: [\n 'botswana',\n 'flag',\n ],\n },\n {\n name: 'belarus',\n code: '🇧🇾',\n keywords: [\n 'belarus',\n 'flag',\n ],\n },\n {\n name: 'belize',\n code: '🇧🇿',\n keywords: [\n 'belize',\n 'flag',\n ],\n },\n {\n name: 'canada',\n code: '🇨🇦',\n keywords: [\n 'canada',\n 'flag',\n ],\n },\n {\n name: 'cocos_islands',\n code: '🇨🇨',\n keywords: [\n 'keeling',\n 'cocos_islands',\n 'cocos',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'congo_kinshasa',\n code: '🇨🇩',\n keywords: [\n 'congo_kinshasa',\n 'congo',\n 'congo-kinshasa',\n 'democratic republic of congo',\n 'drc',\n 'flag',\n 'kinshasa',\n 'republic',\n ],\n },\n {\n name: 'central_african_republic',\n code: '🇨🇫',\n keywords: [\n 'central_african_republic',\n 'central african republic',\n 'flag',\n 'republic',\n ],\n },\n {\n name: 'congo_brazzaville',\n code: '🇨🇬',\n keywords: [\n 'congo_brazzaville',\n 'brazzaville',\n 'congo',\n 'congo republic',\n 'congo-brazzaville',\n 'flag',\n 'republic',\n 'republic of the congo',\n ],\n },\n {\n name: 'switzerland',\n code: '🇨🇭',\n keywords: [\n 'switzerland',\n 'flag',\n ],\n },\n {\n name: 'cote_divoire',\n code: '🇨🇮',\n keywords: [\n 'ivory',\n 'cote_divoire',\n 'cote ivoire',\n 'côte ivoire',\n 'flag',\n 'ivory coast',\n ],\n },\n {\n name: 'cook_islands',\n code: '🇨🇰',\n keywords: [\n 'cook_islands',\n 'cook',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'chile',\n code: '🇨🇱',\n keywords: [\n 'chile',\n 'flag',\n ],\n },\n {\n name: 'cameroon',\n code: '🇨🇲',\n keywords: [\n 'cameroon',\n 'flag',\n ],\n },\n {\n name: 'cn',\n code: '🇨🇳',\n keywords: [\n 'china',\n 'cn',\n 'flag',\n ],\n },\n {\n name: 'colombia',\n code: '🇨🇴',\n keywords: [\n 'colombia',\n 'flag',\n ],\n },\n {\n name: 'clipperton_island',\n code: '🇨🇵',\n keywords: [\n 'clipperton_island',\n 'clipperton',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'costa_rica',\n code: '🇨🇷',\n keywords: [\n 'costa_rica',\n 'costa rica',\n 'flag',\n ],\n },\n {\n name: 'cuba',\n code: '🇨🇺',\n keywords: [\n 'cuba',\n 'flag',\n ],\n },\n {\n name: 'cape_verde',\n code: '🇨🇻',\n keywords: [\n 'cape_verde',\n 'cabo',\n 'cape',\n 'flag',\n 'verde',\n ],\n },\n {\n name: 'curacao',\n code: '🇨🇼',\n keywords: [\n 'curacao',\n 'antilles',\n 'curaçao',\n 'flag',\n ],\n },\n {\n name: 'christmas_island',\n code: '🇨🇽',\n keywords: [\n 'christmas_island',\n 'christmas',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'cyprus',\n code: '🇨🇾',\n keywords: [\n 'cyprus',\n 'flag',\n ],\n },\n {\n name: 'czech_republic',\n code: '🇨🇿',\n keywords: [\n 'czech_republic',\n 'czech republic',\n 'flag',\n ],\n },\n {\n name: 'de',\n code: '🇩🇪',\n keywords: [\n 'flag',\n 'germany',\n 'de',\n ],\n },\n {\n name: 'diego_garcia',\n code: '🇩🇬',\n keywords: [\n 'diego_garcia',\n 'diego garcia',\n 'flag',\n ],\n },\n {\n name: 'djibouti',\n code: '🇩🇯',\n keywords: [\n 'djibouti',\n 'flag',\n ],\n },\n {\n name: 'denmark',\n code: '🇩🇰',\n keywords: [\n 'denmark',\n 'flag',\n ],\n },\n {\n name: 'dominica',\n code: '🇩🇲',\n keywords: [\n 'dominica',\n 'flag',\n ],\n },\n {\n name: 'dominican_republic',\n code: '🇩🇴',\n keywords: [\n 'dominican_republic',\n 'dominican republic',\n 'flag',\n ],\n },\n {\n name: 'algeria',\n code: '🇩🇿',\n keywords: [\n 'algeria',\n 'flag',\n ],\n },\n {\n name: 'ceuta_melilla',\n code: '🇪🇦',\n keywords: [\n 'ceuta_melilla',\n 'ceuta',\n 'flag',\n 'melilla',\n ],\n },\n {\n name: 'ecuador',\n code: '🇪🇨',\n keywords: [\n 'ecuador',\n 'flag',\n ],\n },\n {\n name: 'estonia',\n code: '🇪🇪',\n keywords: [\n 'estonia',\n 'flag',\n ],\n },\n {\n name: 'egypt',\n code: '🇪🇬',\n keywords: [\n 'egypt',\n 'flag',\n ],\n },\n {\n name: 'western_sahara',\n code: '🇪🇭',\n keywords: [\n 'western_sahara',\n 'flag',\n 'sahara',\n 'west',\n 'western sahara',\n ],\n },\n {\n name: 'eritrea',\n code: '🇪🇷',\n keywords: [\n 'eritrea',\n 'flag',\n ],\n },\n {\n name: 'es',\n code: '🇪🇸',\n keywords: [\n 'spain',\n 'es',\n 'flag',\n ],\n },\n {\n name: 'ethiopia',\n code: '🇪🇹',\n keywords: [\n 'ethiopia',\n 'flag',\n ],\n },\n {\n name: 'eu',\n code: '🇪🇺',\n keywords: [\n 'eu',\n 'european_union',\n 'european union',\n 'flag',\n ],\n },\n {\n name: 'finland',\n code: '🇫🇮',\n keywords: [\n 'finland',\n 'flag',\n ],\n },\n {\n name: 'fiji',\n code: '🇫🇯',\n keywords: [\n 'fiji',\n 'flag',\n ],\n },\n {\n name: 'falkland_islands',\n code: '🇫🇰',\n keywords: [\n 'falkland_islands',\n 'falkland',\n 'falklands',\n 'flag',\n 'island',\n 'islas',\n 'malvinas',\n ],\n },\n {\n name: 'micronesia',\n code: '🇫🇲',\n keywords: [\n 'micronesia',\n 'flag',\n ],\n },\n {\n name: 'faroe_islands',\n code: '🇫🇴',\n keywords: [\n 'faroe_islands',\n 'faroe',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'fr',\n code: '🇫🇷',\n keywords: [\n 'france',\n 'french',\n 'fr',\n 'flag',\n ],\n },\n {\n name: 'gabon',\n code: '🇬🇦',\n keywords: [\n 'gabon',\n 'flag',\n ],\n },\n {\n name: 'gb',\n code: '🇬🇧',\n keywords: [\n 'flag',\n 'british',\n 'gb',\n 'uk',\n 'britain',\n 'cornwall',\n 'england',\n 'great britain',\n 'ireland',\n 'northern ireland',\n 'scotland',\n 'union jack',\n 'united',\n 'united kingdom',\n 'wales',\n ],\n },\n {\n name: 'grenada',\n code: '🇬🇩',\n keywords: [\n 'grenada',\n 'flag',\n ],\n },\n {\n name: 'georgia',\n code: '🇬🇪',\n keywords: [\n 'georgia',\n 'flag',\n ],\n },\n {\n name: 'french_guiana',\n code: '🇬🇫',\n keywords: [\n 'french_guiana',\n 'flag',\n 'french',\n 'guiana',\n ],\n },\n {\n name: 'guernsey',\n code: '🇬🇬',\n keywords: [\n 'guernsey',\n 'flag',\n ],\n },\n {\n name: 'ghana',\n code: '🇬🇭',\n keywords: [\n 'ghana',\n 'flag',\n ],\n },\n {\n name: 'gibraltar',\n code: '🇬🇮',\n keywords: [\n 'gibraltar',\n 'flag',\n ],\n },\n {\n name: 'greenland',\n code: '🇬🇱',\n keywords: [\n 'greenland',\n 'flag',\n ],\n },\n {\n name: 'gambia',\n code: '🇬🇲',\n keywords: [\n 'gambia',\n 'flag',\n ],\n },\n {\n name: 'guinea',\n code: '🇬🇳',\n keywords: [\n 'guinea',\n 'flag',\n ],\n },\n {\n name: 'guadeloupe',\n code: '🇬🇵',\n keywords: [\n 'guadeloupe',\n 'flag',\n ],\n },\n {\n name: 'equatorial_guinea',\n code: '🇬🇶',\n keywords: [\n 'equatorial_guinea',\n 'equatorial guinea',\n 'flag',\n 'guinea',\n ],\n },\n {\n name: 'greece',\n code: '🇬🇷',\n keywords: [\n 'greece',\n 'flag',\n ],\n },\n {\n name: 'south_georgia_south_sandwich_islands',\n code: '🇬🇸',\n keywords: [\n 'south_georgia_south_sandwich_islands',\n 'flag',\n 'georgia',\n 'island',\n 'south',\n 'south georgia',\n 'south sandwich',\n ],\n },\n {\n name: 'guatemala',\n code: '🇬🇹',\n keywords: [\n 'guatemala',\n 'flag',\n ],\n },\n {\n name: 'guam',\n code: '🇬🇺',\n keywords: [\n 'guam',\n 'flag',\n ],\n },\n {\n name: 'guinea_bissau',\n code: '🇬🇼',\n keywords: [\n 'guinea_bissau',\n 'bissau',\n 'flag',\n 'guinea',\n ],\n },\n {\n name: 'guyana',\n code: '🇬🇾',\n keywords: [\n 'guyana',\n 'flag',\n ],\n },\n {\n name: 'hong_kong',\n code: '🇭🇰',\n keywords: [\n 'hong_kong',\n 'china',\n 'flag',\n 'hong kong',\n ],\n },\n {\n name: 'heard_mcdonald_islands',\n code: '🇭🇲',\n keywords: [\n 'heard_mcdonald_islands',\n 'flag',\n 'heard',\n 'island',\n 'mcdonald',\n ],\n },\n {\n name: 'honduras',\n code: '🇭🇳',\n keywords: [\n 'honduras',\n 'flag',\n ],\n },\n {\n name: 'croatia',\n code: '🇭🇷',\n keywords: [\n 'croatia',\n 'flag',\n ],\n },\n {\n name: 'haiti',\n code: '🇭🇹',\n keywords: [\n 'haiti',\n 'flag',\n ],\n },\n {\n name: 'hungary',\n code: '🇭🇺',\n keywords: [\n 'hungary',\n 'flag',\n ],\n },\n {\n name: 'canary_islands',\n code: '🇮🇨',\n keywords: [\n 'canary_islands',\n 'canary',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'indonesia',\n code: '🇮🇩',\n keywords: [\n 'indonesia',\n 'flag',\n ],\n },\n {\n name: 'ireland',\n code: '🇮🇪',\n keywords: [\n 'ireland',\n 'flag',\n ],\n },\n {\n name: 'israel',\n code: '🇮🇱',\n keywords: [\n 'israel',\n 'flag',\n ],\n },\n {\n name: 'isle_of_man',\n code: '🇮🇲',\n keywords: [\n 'isle_of_man',\n 'flag',\n 'isle of man',\n ],\n },\n {\n name: 'india',\n code: '🇮🇳',\n keywords: [\n 'india',\n 'flag',\n ],\n },\n {\n name: 'british_indian_ocean_territory',\n code: '🇮🇴',\n keywords: [\n 'british_indian_ocean_territory',\n 'british',\n 'chagos',\n 'flag',\n 'indian ocean',\n 'island',\n ],\n },\n {\n name: 'iraq',\n code: '🇮🇶',\n keywords: [\n 'iraq',\n 'flag',\n ],\n },\n {\n name: 'iran',\n code: '🇮🇷',\n keywords: [\n 'iran',\n 'flag',\n ],\n },\n {\n name: 'iceland',\n code: '🇮🇸',\n keywords: [\n 'iceland',\n 'flag',\n ],\n },\n {\n name: 'it',\n code: '🇮🇹',\n keywords: [\n 'italy',\n 'it',\n 'flag',\n ],\n },\n {\n name: 'jersey',\n code: '🇯🇪',\n keywords: [\n 'jersey',\n 'flag',\n ],\n },\n {\n name: 'jamaica',\n code: '🇯🇲',\n keywords: [\n 'jamaica',\n 'flag',\n ],\n },\n {\n name: 'jordan',\n code: '🇯🇴',\n keywords: [\n 'jordan',\n 'flag',\n ],\n },\n {\n name: 'jp',\n code: '🇯🇵',\n keywords: [\n 'japan',\n 'jp',\n 'flag',\n ],\n },\n {\n name: 'kenya',\n code: '🇰🇪',\n keywords: [\n 'kenya',\n 'flag',\n ],\n },\n {\n name: 'kyrgyzstan',\n code: '🇰🇬',\n keywords: [\n 'kyrgyzstan',\n 'flag',\n ],\n },\n {\n name: 'cambodia',\n code: '🇰🇭',\n keywords: [\n 'cambodia',\n 'flag',\n ],\n },\n {\n name: 'kiribati',\n code: '🇰🇮',\n keywords: [\n 'kiribati',\n 'flag',\n ],\n },\n {\n name: 'comoros',\n code: '🇰🇲',\n keywords: [\n 'comoros',\n 'flag',\n ],\n },\n {\n name: 'st_kitts_nevis',\n code: '🇰🇳',\n keywords: [\n 'st_kitts_nevis',\n 'flag',\n 'kitts',\n 'nevis',\n 'saint',\n ],\n },\n {\n name: 'north_korea',\n code: '🇰🇵',\n keywords: [\n 'north_korea',\n 'flag',\n 'korea',\n 'north',\n 'north korea',\n ],\n },\n {\n name: 'kr',\n code: '🇰🇷',\n keywords: [\n 'korea',\n 'kr',\n 'flag',\n 'south',\n 'south korea',\n ],\n },\n {\n name: 'kuwait',\n code: '🇰🇼',\n keywords: [\n 'kuwait',\n 'flag',\n ],\n },\n {\n name: 'cayman_islands',\n code: '🇰🇾',\n keywords: [\n 'cayman_islands',\n 'cayman',\n 'flag',\n 'island',\n ],\n },\n {\n name: 'kazakhstan',\n code: '🇰🇿',\n keywords: [\n 'kazakhstan',\n 'flag',\n ],\n },\n {\n name: 'laos',\n code: '🇱🇦',\n keywords: [\n 'laos',\n 'flag',\n ],\n },\n {\n name: 'lebanon',\n code: '🇱🇧',\n keywords: [\n 'lebanon',\n 'flag',\n ],\n },\n {\n name: 'st_lucia',\n code: '🇱🇨',\n keywords: [\n 'st_lucia',\n 'flag',\n 'lucia',\n 'saint',\n ],\n },\n {\n name: 'liechtenstein',\n code: '🇱🇮',\n keywords: [\n 'liechtenstein',\n 'flag',\n ],\n },\n {\n name: 'sri_lanka',\n code: '🇱🇰',\n keywords: [\n 'sri_lanka',\n 'flag',\n 'sri lanka',\n ],\n },\n {\n name: 'liberia',\n code: '🇱🇷',\n keywords: [\n 'liberia',\n 'flag',\n ],\n },\n {\n name: 'lesotho',\n code: '🇱🇸',\n keywords: [\n 'lesotho',\n 'flag',\n ],\n },\n {\n name: 'lithuania',\n code: '🇱🇹',\n keywords: [\n 'lithuania',\n 'flag',\n ],\n },\n {\n name: 'luxembourg',\n code: '🇱🇺',\n keywords: [\n 'luxembourg',\n 'flag',\n ],\n },\n {\n name: 'latvia',\n code: '🇱🇻',\n keywords: [\n 'latvia',\n 'flag',\n ],\n },\n {\n name: 'libya',\n code: '🇱🇾',\n keywords: [\n 'libya',\n 'flag',\n ],\n },\n {\n name: 'morocco',\n code: '🇲🇦',\n keywords: [\n 'morocco',\n 'flag',\n ],\n },\n {\n name: 'monaco',\n code: '🇲🇨',\n keywords: [\n 'monaco',\n 'flag',\n ],\n },\n {\n name: 'moldova',\n code: '🇲🇩',\n keywords: [\n 'moldova',\n 'flag',\n ],\n },\n {\n name: 'montenegro',\n code: '🇲🇪',\n keywords: [\n 'montenegro',\n 'flag',\n ],\n },\n {\n name: 'st_martin',\n code: '🇲🇫',\n keywords: [\n 'st_martin',\n 'flag',\n 'french',\n 'martin',\n 'saint',\n ],\n },\n {\n name: 'madagascar',\n code: '🇲🇬',\n keywords: [\n 'madagascar',\n 'flag',\n ],\n },\n {\n name: 'marshall_islands',\n code: '🇲🇭',\n keywords: [\n 'marshall_islands',\n 'flag',\n 'island',\n 'marshall',\n ],\n },\n {\n name: 'macedonia',\n code: '🇲🇰',\n keywords: [\n 'macedonia',\n 'flag',\n ],\n },\n {\n name: 'mali',\n code: '🇲🇱',\n keywords: [\n 'mali',\n 'flag',\n ],\n },\n {\n name: 'myanmar',\n code: '🇲🇲',\n keywords: [\n 'burma',\n 'myanmar',\n 'flag',\n ],\n },\n {\n name: 'mongolia',\n code: '🇲🇳',\n keywords: [\n 'mongolia',\n 'flag',\n ],\n },\n {\n name: 'macau',\n code: '🇲🇴',\n keywords: [\n 'macau',\n 'china',\n 'flag',\n 'macao',\n ],\n },\n {\n name: 'northern_mariana_islands',\n code: '🇲🇵',\n keywords: [\n 'northern_mariana_islands',\n 'flag',\n 'island',\n 'mariana',\n 'north',\n 'northern mariana',\n ],\n },\n {\n name: 'martinique',\n code: '🇲🇶',\n keywords: [\n 'martinique',\n 'flag',\n ],\n },\n {\n name: 'mauritania',\n code: '🇲🇷',\n keywords: [\n 'mauritania',\n 'flag',\n ],\n },\n {\n name: 'montserrat',\n code: '🇲🇸',\n keywords: [\n 'montserrat',\n 'flag',\n ],\n },\n {\n name: 'malta',\n code: '🇲🇹',\n keywords: [\n 'malta',\n 'flag',\n ],\n },\n {\n name: 'mauritius',\n code: '🇲🇺',\n keywords: [\n 'mauritius',\n 'flag',\n ],\n },\n {\n name: 'maldives',\n code: '🇲🇻',\n keywords: [\n 'maldives',\n 'flag',\n ],\n },\n {\n name: 'malawi',\n code: '🇲🇼',\n keywords: [\n 'malawi',\n 'flag',\n ],\n },\n {\n name: 'mexico',\n code: '🇲🇽',\n keywords: [\n 'mexico',\n 'flag',\n ],\n },\n {\n name: 'malaysia',\n code: '🇲🇾',\n keywords: [\n 'malaysia',\n 'flag',\n ],\n },\n {\n name: 'mozambique',\n code: '🇲🇿',\n keywords: [\n 'mozambique',\n 'flag',\n ],\n },\n {\n name: 'namibia',\n code: '🇳🇦',\n keywords: [\n 'namibia',\n 'flag',\n ],\n },\n {\n name: 'new_caledonia',\n code: '🇳🇨',\n keywords: [\n 'new_caledonia',\n 'flag',\n 'new',\n 'new caledonia',\n ],\n },\n {\n name: 'niger',\n code: '🇳🇪',\n keywords: [\n 'niger',\n 'flag',\n ],\n },\n {\n name: 'norfolk_island',\n code: '🇳🇫',\n keywords: [\n 'norfolk_island',\n 'flag',\n 'island',\n 'norfolk',\n ],\n },\n {\n name: 'nigeria',\n code: '🇳🇬',\n keywords: [\n 'nigeria',\n 'flag',\n ],\n },\n {\n name: 'nicaragua',\n code: '🇳🇮',\n keywords: [\n 'nicaragua',\n 'flag',\n ],\n },\n {\n name: 'netherlands',\n code: '🇳🇱',\n keywords: [\n 'netherlands',\n 'flag',\n ],\n },\n {\n name: 'norway',\n code: '🇳🇴',\n keywords: [\n 'norway',\n 'flag',\n ],\n },\n {\n name: 'nepal',\n code: '🇳🇵',\n keywords: [\n 'nepal',\n 'flag',\n ],\n },\n {\n name: 'nauru',\n code: '🇳🇷',\n keywords: [\n 'nauru',\n 'flag',\n ],\n },\n {\n name: 'niue',\n code: '🇳🇺',\n keywords: [\n 'niue',\n 'flag',\n ],\n },\n {\n name: 'new_zealand',\n code: '🇳🇿',\n keywords: [\n 'new_zealand',\n 'flag',\n 'new',\n 'new zealand',\n ],\n },\n {\n name: 'oman',\n code: '🇴🇲',\n keywords: [\n 'oman',\n 'flag',\n ],\n },\n {\n name: 'panama',\n code: '🇵🇦',\n keywords: [\n 'panama',\n 'flag',\n ],\n },\n {\n name: 'peru',\n code: '🇵🇪',\n keywords: [\n 'peru',\n 'flag',\n ],\n },\n {\n name: 'french_polynesia',\n code: '🇵🇫',\n keywords: [\n 'french_polynesia',\n 'flag',\n 'french',\n 'polynesia',\n ],\n },\n {\n name: 'papua_new_guinea',\n code: '🇵🇬',\n keywords: [\n 'papua_new_guinea',\n 'flag',\n 'guinea',\n 'new',\n 'papua new guinea',\n ],\n },\n {\n name: 'philippines',\n code: '🇵🇭',\n keywords: [\n 'philippines',\n 'flag',\n ],\n },\n {\n name: 'pakistan',\n code: '🇵🇰',\n keywords: [\n 'pakistan',\n 'flag',\n ],\n },\n {\n name: 'poland',\n code: '🇵🇱',\n keywords: [\n 'poland',\n 'flag',\n ],\n },\n {\n name: 'st_pierre_miquelon',\n code: '🇵🇲',\n keywords: [\n 'st_pierre_miquelon',\n 'flag',\n 'miquelon',\n 'pierre',\n 'saint',\n ],\n },\n {\n name: 'pitcairn_islands',\n code: '🇵🇳',\n keywords: [\n 'pitcairn_islands',\n 'flag',\n 'island',\n 'pitcairn',\n ],\n },\n {\n name: 'puerto_rico',\n code: '🇵🇷',\n keywords: [\n 'puerto_rico',\n 'flag',\n 'puerto rico',\n ],\n },\n {\n name: 'palestinian_territories',\n code: '🇵🇸',\n keywords: [\n 'palestinian_territories',\n 'flag',\n 'palestine',\n ],\n },\n {\n name: 'portugal',\n code: '🇵🇹',\n keywords: [\n 'portugal',\n 'flag',\n ],\n },\n {\n name: 'palau',\n code: '🇵🇼',\n keywords: [\n 'palau',\n 'flag',\n ],\n },\n {\n name: 'paraguay',\n code: '🇵🇾',\n keywords: [\n 'paraguay',\n 'flag',\n ],\n },\n {\n name: 'qatar',\n code: '🇶🇦',\n keywords: [\n 'qatar',\n 'flag',\n ],\n },\n {\n name: 'reunion',\n code: '🇷🇪',\n keywords: [\n 'reunion',\n 'flag',\n 'réunion',\n ],\n },\n {\n name: 'romania',\n code: '🇷🇴',\n keywords: [\n 'romania',\n 'flag',\n ],\n },\n {\n name: 'serbia',\n code: '🇷🇸',\n keywords: [\n 'serbia',\n 'flag',\n ],\n },\n {\n name: 'ru',\n code: '🇷🇺',\n keywords: [\n 'russia',\n 'ru',\n 'flag',\n ],\n },\n {\n name: 'rwanda',\n code: '🇷🇼',\n keywords: [\n 'rwanda',\n 'flag',\n ],\n },\n {\n name: 'saudi_arabia',\n code: '🇸🇦',\n keywords: [\n 'saudi_arabia',\n 'flag',\n 'saudi arabia',\n ],\n },\n {\n name: 'solomon_islands',\n code: '🇸🇧',\n keywords: [\n 'solomon_islands',\n 'flag',\n 'island',\n 'solomon',\n ],\n },\n {\n name: 'seychelles',\n code: '🇸🇨',\n keywords: [\n 'seychelles',\n 'flag',\n ],\n },\n {\n name: 'sudan',\n code: '🇸🇩',\n keywords: [\n 'sudan',\n 'flag',\n ],\n },\n {\n name: 'sweden',\n code: '🇸🇪',\n keywords: [\n 'sweden',\n 'flag',\n ],\n },\n {\n name: 'singapore',\n code: '🇸🇬',\n keywords: [\n 'singapore',\n 'flag',\n ],\n },\n {\n name: 'st_helena',\n code: '🇸🇭',\n keywords: [\n 'st_helena',\n 'flag',\n 'helena',\n 'saint',\n ],\n },\n {\n name: 'slovenia',\n code: '🇸🇮',\n keywords: [\n 'slovenia',\n 'flag',\n ],\n },\n {\n name: 'svalbard_jan_mayen',\n code: '🇸🇯',\n keywords: [\n 'svalbard_jan_mayen',\n 'flag',\n 'jan mayen',\n 'svalbard',\n ],\n },\n {\n name: 'slovakia',\n code: '🇸🇰',\n keywords: [\n 'slovakia',\n 'flag',\n ],\n },\n {\n name: 'sierra_leone',\n code: '🇸🇱',\n keywords: [\n 'sierra_leone',\n 'flag',\n 'sierra leone',\n ],\n },\n {\n name: 'san_marino',\n code: '🇸🇲',\n keywords: [\n 'san_marino',\n 'flag',\n 'san marino',\n ],\n },\n {\n name: 'senegal',\n code: '🇸🇳',\n keywords: [\n 'senegal',\n 'flag',\n ],\n },\n {\n name: 'somalia',\n code: '🇸🇴',\n keywords: [\n 'somalia',\n 'flag',\n ],\n },\n {\n name: 'suriname',\n code: '🇸🇷',\n keywords: [\n 'suriname',\n 'flag',\n ],\n },\n {\n name: 'south_sudan',\n code: '🇸🇸',\n keywords: [\n 'south_sudan',\n 'flag',\n 'south',\n 'south sudan',\n 'sudan',\n ],\n },\n {\n name: 'sao_tome_principe',\n code: '🇸🇹',\n keywords: [\n 'sao_tome_principe',\n 'flag',\n 'principe',\n 'príncipe',\n 'sao tome',\n 'são tomé',\n ],\n },\n {\n name: 'el_salvador',\n code: '🇸🇻',\n keywords: [\n 'el_salvador',\n 'el salvador',\n 'flag',\n ],\n },\n {\n name: 'sint_maarten',\n code: '🇸🇽',\n keywords: [\n 'sint_maarten',\n 'flag',\n 'maarten',\n 'sint',\n ],\n },\n {\n name: 'syria',\n code: '🇸🇾',\n keywords: [\n 'syria',\n 'flag',\n ],\n },\n {\n name: 'swaziland',\n code: '🇸🇿',\n keywords: [\n 'swaziland',\n 'flag',\n ],\n },\n {\n name: 'tristan_da_cunha',\n code: '🇹🇦',\n keywords: [\n 'tristan_da_cunha',\n 'flag',\n 'tristan da cunha',\n ],\n },\n {\n name: 'turks_caicos_islands',\n code: '🇹🇨',\n keywords: [\n 'turks_caicos_islands',\n 'caicos',\n 'flag',\n 'island',\n 'turks',\n ],\n },\n {\n name: 'chad',\n code: '🇹🇩',\n keywords: [\n 'chad',\n 'flag',\n ],\n },\n {\n name: 'french_southern_territories',\n code: '🇹🇫',\n keywords: [\n 'french_southern_territories',\n 'antarctic',\n 'flag',\n 'french',\n ],\n },\n {\n name: 'togo',\n code: '🇹🇬',\n keywords: [\n 'togo',\n 'flag',\n ],\n },\n {\n name: 'thailand',\n code: '🇹🇭',\n keywords: [\n 'thailand',\n 'flag',\n ],\n },\n {\n name: 'tajikistan',\n code: '🇹🇯',\n keywords: [\n 'tajikistan',\n 'flag',\n ],\n },\n {\n name: 'tokelau',\n code: '🇹🇰',\n keywords: [\n 'tokelau',\n 'flag',\n ],\n },\n {\n name: 'timor_leste',\n code: '🇹🇱',\n keywords: [\n 'timor_leste',\n 'east',\n 'east timor',\n 'flag',\n 'timor-leste',\n ],\n },\n {\n name: 'turkmenistan',\n code: '🇹🇲',\n keywords: [\n 'turkmenistan',\n 'flag',\n ],\n },\n {\n name: 'tunisia',\n code: '🇹🇳',\n keywords: [\n 'tunisia',\n 'flag',\n ],\n },\n {\n name: 'tonga',\n code: '🇹🇴',\n keywords: [\n 'tonga',\n 'flag',\n ],\n },\n {\n name: 'tr',\n code: '🇹🇷',\n keywords: [\n 'turkey',\n 'tr',\n 'flag',\n ],\n },\n {\n name: 'trinidad_tobago',\n code: '🇹🇹',\n keywords: [\n 'trinidad_tobago',\n 'flag',\n 'tobago',\n 'trinidad',\n ],\n },\n {\n name: 'tuvalu',\n code: '🇹🇻',\n keywords: [\n 'tuvalu',\n 'flag',\n ],\n },\n {\n name: 'taiwan',\n code: '🇹🇼',\n keywords: [\n 'taiwan',\n 'china',\n 'flag',\n ],\n },\n {\n name: 'tanzania',\n code: '🇹🇿',\n keywords: [\n 'tanzania',\n 'flag',\n ],\n },\n {\n name: 'ukraine',\n code: '🇺🇦',\n keywords: [\n 'ukraine',\n 'flag',\n ],\n },\n {\n name: 'uganda',\n code: '🇺🇬',\n keywords: [\n 'uganda',\n 'flag',\n ],\n },\n {\n name: 'us_outlying_islands',\n code: '🇺🇲',\n keywords: [\n 'us_outlying_islands',\n 'america',\n 'flag',\n 'island',\n 'minor outlying',\n 'united',\n 'united states',\n 'us',\n 'usa',\n ],\n },\n {\n name: 'united_nations',\n code: '🇺🇳',\n keywords: [\n 'united_nations',\n 'flag',\n ],\n },\n {\n name: 'us',\n code: '🇺🇸',\n keywords: [\n 'flag',\n 'united',\n 'america',\n 'us',\n 'stars and stripes',\n 'united states',\n ],\n },\n {\n name: 'uruguay',\n code: '🇺🇾',\n keywords: [\n 'uruguay',\n 'flag',\n ],\n },\n {\n name: 'uzbekistan',\n code: '🇺🇿',\n keywords: [\n 'uzbekistan',\n 'flag',\n ],\n },\n {\n name: 'vatican_city',\n code: '🇻🇦',\n keywords: [\n 'vatican_city',\n 'flag',\n 'vatican',\n ],\n },\n {\n name: 'st_vincent_grenadines',\n code: '🇻🇨',\n keywords: [\n 'st_vincent_grenadines',\n 'flag',\n 'grenadines',\n 'saint',\n 'vincent',\n ],\n },\n {\n name: 'venezuela',\n code: '🇻🇪',\n keywords: [\n 'venezuela',\n 'flag',\n ],\n },\n {\n name: 'british_virgin_islands',\n code: '🇻🇬',\n keywords: [\n 'british_virgin_islands',\n 'british',\n 'flag',\n 'island',\n 'virgin',\n ],\n },\n {\n name: 'us_virgin_islands',\n code: '🇻🇮',\n keywords: [\n 'us_virgin_islands',\n 'america',\n 'american',\n 'flag',\n 'island',\n 'united',\n 'united states',\n 'us',\n 'usa',\n 'virgin',\n ],\n },\n {\n name: 'vietnam',\n code: '🇻🇳',\n keywords: [\n 'vietnam',\n 'flag',\n 'viet nam',\n ],\n },\n {\n name: 'vanuatu',\n code: '🇻🇺',\n keywords: [\n 'vanuatu',\n 'flag',\n ],\n },\n {\n name: 'wallis_futuna',\n code: '🇼🇫',\n keywords: [\n 'wallis_futuna',\n 'flag',\n 'futuna',\n 'wallis',\n ],\n },\n {\n name: 'samoa',\n code: '🇼🇸',\n keywords: [\n 'samoa',\n 'flag',\n ],\n },\n {\n name: 'kosovo',\n code: '🇽🇰',\n keywords: [\n 'kosovo',\n 'flag',\n ],\n },\n {\n name: 'yemen',\n code: '🇾🇪',\n keywords: [\n 'yemen',\n 'flag',\n ],\n },\n {\n name: 'mayotte',\n code: '🇾🇹',\n keywords: [\n 'mayotte',\n 'flag',\n ],\n },\n {\n name: 'south_africa',\n code: '🇿🇦',\n keywords: [\n 'south_africa',\n 'flag',\n 'south',\n 'south africa',\n ],\n },\n {\n name: 'zambia',\n code: '🇿🇲',\n keywords: [\n 'zambia',\n 'flag',\n ],\n },\n {\n name: 'zimbabwe',\n code: '🇿🇼',\n keywords: [\n 'zimbabwe',\n 'flag',\n ],\n },\n {\n name: 'england',\n code: '🏴󠁧󠁢󠁥󠁮󠁧󠁿',\n keywords: [\n 'england',\n 'flag',\n ],\n },\n {\n name: 'scotland',\n code: '🏴󠁧󠁢󠁳󠁣󠁴󠁿',\n keywords: [\n 'scotland',\n 'flag',\n ],\n },\n {\n name: 'wales',\n code: '🏴󠁧󠁢󠁷󠁬󠁳󠁿',\n keywords: [\n 'wales',\n 'flag',\n ],\n },\n];\n\nexport {skinTones};\nexport default emojis;\n","\n\n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n\n\n","\n\n\n\n\n\n","\n\n\n\n\n","import _ from 'underscore';\nimport TrieNode from './TrieNode';\n\nclass Trie {\n constructor() {\n this.root = new TrieNode();\n }\n\n /**\n * Add a word to the Trie\n * @param {String} word\n * @param {Object} [metaData] - attach additional data to the word\n * @param {TrieNode} [node]\n * @param {Boolean} [allowEmptyWords] - empty word doesn't have any char, you shouldn't pass a true value for it because we are disallowing adding an empty word\n */\n add(word, metaData = {}, node = this.root, allowEmptyWords = false) {\n const newWord = word.toLowerCase();\n const newNode = node;\n if (newWord.length === 0 && !allowEmptyWords) {\n throw new Error('Cannot insert empty word into Trie');\n }\n if (newWord.length === 0) {\n newNode.isEndOfWord = true;\n newNode.metaData = metaData;\n return;\n }\n if (!newNode.children[newWord[0]]) {\n newNode.children[newWord[0]] = new TrieNode();\n this.add(newWord.substring(1), metaData, newNode.children[newWord[0]], true);\n }\n this.add(newWord.substring(1), metaData, newNode.children[newWord[0]], true);\n }\n\n /**\n * Search for a word in the Trie.\n * @param {String} word\n * @returns {Object|null} – the node for the word if it's found, or null if it's not found\n */\n search(word) {\n let newWord = word.toLowerCase();\n let node = this.root;\n while (newWord.length > 1) {\n if (!node.children[newWord[0]]) {\n return null;\n }\n node = node.children[newWord[0]];\n\n newWord = newWord.substring(1);\n }\n return node.children[newWord] && node.children[newWord].isEndOfWord ? node.children[newWord] : null;\n }\n\n /**\n * Update a word data in the Trie.\n * @param {String} word\n * @param {Object} metaData\n */\n update(word, metaData) {\n let newWord = word.toLowerCase();\n let node = this.root;\n while (newWord.length > 1) {\n if (!node.children[newWord[0]]) {\n throw new Error('Word does not exist in the Trie');\n }\n node = node.children[newWord[0]];\n newWord = newWord.substring(1);\n }\n node.children[newWord].metaData = metaData;\n }\n\n /**\n * Find all leaf nodes starting with a substring.\n * @param {String} substr\n * @param {Number} [limit] - matching words limit\n * @returns {Array}\n */\n getAllMatchingWords(substr, limit = 5) {\n const newSubstr = substr.toLowerCase();\n let node = this.root;\n let prefix = '';\n for (let i = 0; i < newSubstr.length; i++) {\n prefix += newSubstr[i];\n if (!node.children[newSubstr[i]]) {\n return [];\n }\n node = node.children[newSubstr[i]];\n }\n return this.getChildMatching(node, prefix, limit, []);\n }\n\n /**\n * Find all leaf nodes that are descendants of a given child node.\n * @param {TrieNode} node\n * @param {String} prefix\n * @param {Number} limit\n * @param {Array} [words]\n * @returns {Array}\n */\n getChildMatching(node, prefix, limit, words = []) {\n const matching = words;\n if (matching.length >= limit) {\n return matching;\n }\n if (node.isEndOfWord) {\n matching.push({name: prefix, metaData: node.metaData});\n }\n const children = _.keys(node.children);\n for (let i = 0; i < children.length; i++) {\n this.getChildMatching(node.children[children[i]], prefix + children[i], limit, matching);\n }\n return matching;\n }\n}\n\nexport default Trie;\n","class TrieNode {\n constructor() {\n this.children = {};\n this.isEndOfWord = false;\n this.metaData = {};\n }\n}\n\nexport default TrieNode;\n","function applyStrikethrough(html, isPendingDelete) {\n if (isPendingDelete) {\n return `${html}`;\n }\n return html;\n}\n\nexport default applyStrikethrough;\n","import React, {memo} from 'react';\nimport PropTypes from 'prop-types';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport compose from '../../../libs/compose';\nimport Text from '../../../components/Text';\nimport {withCurrentDate} from '../../../components/OnyxProvider';\n\nconst propTypes = {\n /** UTC timestamp for when the action was created */\n created: PropTypes.string.isRequired,\n ...withLocalizePropTypes,\n};\n\nconst ReportActionItemDate = props => (\n \n {props.datetimeToCalendarTime(props.created)}\n \n);\n\nReportActionItemDate.propTypes = propTypes;\nReportActionItemDate.displayName = 'ReportActionItemDate';\n\nexport default compose(\n withLocalize,\n\n /** This component is hooked to the current date so that relative times can update when necessary\n * e.g. past midnight */\n withCurrentDate(),\n memo,\n)(ReportActionItemDate);\n","import React from 'react';\nimport {View, ScrollView} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport styles from '../styles/styles';\nimport Text from '../components/Text';\nimport ONYXKEYS from '../ONYXKEYS';\nimport Avatar from '../components/Avatar';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport personalDetailsPropType from './personalDetailsPropType';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport compose from '../libs/compose';\nimport CommunicationsLink from '../components/CommunicationsLink';\nimport Tooltip from '../components/Tooltip';\nimport CONST from '../CONST';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport * as Expensicons from '../components/Icon/Expensicons';\nimport MenuItem from '../components/MenuItem';\nimport AttachmentModal from '../components/AttachmentModal';\nimport PressableWithoutFocus from '../components/PressableWithoutFocus';\nimport * as Report from '../libs/actions/Report';\nimport OfflineWithFeedback from '../components/OfflineWithFeedback';\nimport AutoUpdateTime from '../components/AutoUpdateTime';\nimport FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';\n\nconst matchType = PropTypes.shape({\n params: PropTypes.shape({\n /** login passed via route /details/:login */\n login: PropTypes.string,\n\n /** report ID passed */\n reportID: PropTypes.string,\n }),\n});\n\nconst propTypes = {\n /* Onyx Props */\n\n /** The personal details of the person who is logged in */\n personalDetails: personalDetailsPropType,\n\n /** Route params */\n route: matchType.isRequired,\n\n /** Session of currently logged in user */\n session: PropTypes.shape({\n email: PropTypes.string.isRequired,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n // When opening someone else's profile (via deep link) before login, this is empty\n personalDetails: {},\n session: {\n email: null,\n },\n};\n\n/**\n * Gets the phone number to display for SMS logins\n *\n * @param {Object} details\n * @param {String} details.login\n * @param {String} details.displayName\n * @returns {String}\n */\nconst getPhoneNumber = (details) => {\n // If the user hasn't set a displayName, it is set to their phone number, so use that\n if (Str.isValidPhone(details.displayName)) {\n return details.displayName;\n }\n\n // If the user has set a displayName, get the phone number from the SMS login\n return Str.removeSMSDomain(details.login);\n};\n\nclass DetailsPage extends React.PureComponent {\n render() {\n const login = lodashGet(this.props.route.params, 'login', '');\n const reportID = lodashGet(this.props.route.params, 'reportID', '');\n let details = lodashGet(this.props.personalDetails, login);\n\n if (!details) {\n details = {\n login,\n displayName: ReportUtils.getDisplayNameForParticipant(login),\n avatar: ReportUtils.getAvatar(lodashGet(details, 'avatar', ''), login),\n };\n }\n\n const isSMSLogin = Str.isSMSLogin(details.login);\n\n // If we have a reportID param this means that we\n // arrived here via the ParticipantsPage and should be allowed to navigate back to it\n const shouldShowBackButton = Boolean(reportID);\n const shouldShowLocalTime = !ReportUtils.hasAutomatedExpensifyEmails([details.login]) && details.timezone;\n let pronouns = details.pronouns;\n\n if (pronouns && pronouns.startsWith(CONST.PRONOUNS.PREFIX)) {\n const localeKey = pronouns.replace(CONST.PRONOUNS.PREFIX, '');\n pronouns = this.props.translate(`pronouns.${localeKey}`);\n }\n\n return (\n \n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal()}\n />\n \n {details ? (\n \n \n \n {({show}) => (\n \n \n \n \n \n )}\n \n {Boolean(details.displayName) && (\n \n {isSMSLogin ? this.props.toLocalPhone(details.displayName) : details.displayName}\n \n )}\n {details.login ? (\n \n \n {this.props.translate(isSMSLogin\n ? 'common.phoneNumber'\n : 'common.email')}\n \n \n \n \n {isSMSLogin\n ? this.props.toLocalPhone(getPhoneNumber(details))\n : details.login}\n \n \n \n \n ) : null}\n {pronouns ? (\n \n \n {this.props.translate('profilePage.preferredPronouns')}\n \n \n {pronouns}\n \n \n ) : null}\n {shouldShowLocalTime && }\n \n {details.login !== this.props.session.email && (\n Report.navigateToAndOpenReport([details.login])}\n wrapperStyle={styles.breakAll}\n shouldShowRightIcon\n />\n )}\n \n ) : null}\n \n \n \n );\n }\n}\n\nDetailsPage.propTypes = propTypes;\nDetailsPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n }),\n)(DetailsPage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\nimport * as Expensicons from './Icon/Expensicons';\nimport Clipboard from '../libs/Clipboard';\nimport ContextMenuItem from './ContextMenuItem';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst propTypes = {\n /** Children to wrap in CommunicationsLink. */\n children: PropTypes.node.isRequired,\n\n /** Styles to be assigned to Container */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n\n /** Value to be copied or passed via tap. */\n value: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n containerStyles: [],\n};\n\nconst CommunicationsLink = props => (\n \n \n \n {props.children}\n \n Clipboard.setString(props.value)}\n />\n \n \n);\n\nCommunicationsLink.propTypes = propTypes;\nCommunicationsLink.defaultProps = defaultProps;\nCommunicationsLink.displayName = 'CommunicationsLink';\n\nexport default withLocalize(CommunicationsLink);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport MenuItem from './MenuItem';\nimport Icon from './Icon';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport getButtonState from '../libs/getButtonState';\nimport withDelayToggleButtonState, {withDelayToggleButtonStatePropTypes} from './withDelayToggleButtonState';\nimport BaseMiniContextMenuItem from './BaseMiniContextMenuItem';\n\nconst propTypes = {\n /** Icon Component */\n icon: PropTypes.elementType.isRequired,\n\n /** Text to display */\n text: PropTypes.string.isRequired,\n\n /** Icon to show when interaction was successful */\n successIcon: PropTypes.elementType,\n\n /** Text to show when interaction was successful */\n successText: PropTypes.string,\n\n /** Whether to show the mini menu */\n isMini: PropTypes.bool,\n\n /** Callback to fire when the item is pressed */\n onPress: PropTypes.func.isRequired,\n\n /** Automatically reset the success status */\n autoReset: PropTypes.bool,\n\n /** A description text to show under the title */\n description: PropTypes.string,\n\n ...withDelayToggleButtonStatePropTypes,\n};\n\nconst defaultProps = {\n isMini: false,\n successIcon: null,\n successText: '',\n autoReset: true,\n description: '',\n};\n\nclass ContextMenuItem extends Component {\n constructor(props) {\n super(props);\n\n this.triggerPressAndUpdateSuccess = this.triggerPressAndUpdateSuccess.bind(this);\n }\n\n /**\n * Method to call parent onPress and toggleDelayButtonState\n */\n triggerPressAndUpdateSuccess() {\n if (!this.props.isDelayButtonStateComplete) {\n this.props.onPress();\n }\n\n // We only set the success state when we have icon or text to represent the success state\n // We may want to replace this check by checking the Result from OnPress Callback in future.\n if (this.props.successIcon || this.props.successText) {\n this.props.toggleDelayButtonState(this.props.autoReset);\n }\n }\n\n render() {\n const icon = this.props.isDelayButtonStateComplete ? this.props.successIcon || this.props.icon : this.props.icon;\n const text = this.props.isDelayButtonStateComplete ? this.props.successText || this.props.text : this.props.text;\n return (\n this.props.isMini\n ? (\n \n {({hovered, pressed}) => (\n \n )}\n
          \n ) : (\n \n )\n );\n }\n}\n\nContextMenuItem.propTypes = propTypes;\nContextMenuItem.defaultProps = defaultProps;\n\nexport default withDelayToggleButtonState(ContextMenuItem);\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {View, Animated, Keyboard} from 'react-native';\nimport Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport lodashExtend from 'lodash/extend';\nimport _ from 'underscore';\nimport CONST from '../CONST';\nimport Modal from './Modal';\nimport AttachmentView from './AttachmentView';\nimport AttachmentCarousel from './AttachmentCarousel';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport * as FileUtils from '../libs/fileDownload/FileUtils';\nimport themeColors from '../styles/themes/default';\nimport compose from '../libs/compose';\nimport withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimensions';\nimport Button from './Button';\nimport HeaderWithCloseButton from './HeaderWithCloseButton';\nimport fileDownload from '../libs/fileDownload';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport ConfirmModal from './ConfirmModal';\nimport HeaderGap from './HeaderGap';\nimport SafeAreaConsumer from './SafeAreaConsumer';\n\n/**\n * Modal render prop component that exposes modal launching triggers that can be used\n * to display a full size image or PDF modally with optional confirmation button.\n */\n\nconst propTypes = {\n /** Optional source (URL, SVG function) for the image shown. If not passed in via props must be specified when modal is opened. */\n source: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Optional callback to fire when we want to preview an image and approve it for use. */\n onConfirm: PropTypes.func,\n\n /** Optional callback to fire when we want to do something after modal hide. */\n onModalHide: PropTypes.func,\n\n /** Optional original filename when uploading */\n originalFileName: PropTypes.string,\n\n /** A function as a child to pass modal launching methods to */\n children: PropTypes.func.isRequired,\n\n /** Whether source url requires authentication */\n isAuthTokenRequired: PropTypes.bool,\n\n /** Determines if download Button should be shown or not */\n allowDownload: PropTypes.bool,\n\n /** Title shown in the header of the modal */\n headerTitle: PropTypes.string,\n\n /** The ID of the report that has this attachment */\n reportID: PropTypes.string,\n\n ...withLocalizePropTypes,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n source: '',\n onConfirm: null,\n originalFileName: '',\n isAuthTokenRequired: false,\n allowDownload: false,\n headerTitle: null,\n reportID: '',\n onModalHide: () => {},\n};\n\nclass AttachmentModal extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n isModalOpen: false,\n shouldLoadAttachment: false,\n isAttachmentInvalid: false,\n attachmentInvalidReasonTitle: null,\n attachmentInvalidReason: null,\n source: props.source,\n modalType: CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLE,\n isConfirmButtonDisabled: false,\n confirmButtonFadeAnimation: new Animated.Value(1),\n };\n\n this.submitAndClose = this.submitAndClose.bind(this);\n this.closeConfirmModal = this.closeConfirmModal.bind(this);\n this.onNavigate = this.onNavigate.bind(this);\n this.validateAndDisplayFileToUpload = this.validateAndDisplayFileToUpload.bind(this);\n this.updateConfirmButtonVisibility = this.updateConfirmButtonVisibility.bind(this);\n }\n\n /**\n * Helps to navigate between next/previous attachments\n * by setting sourceURL and file in state\n * @param {Object} attachmentData\n */\n onNavigate(attachmentData) {\n this.setState(attachmentData);\n }\n\n /**\n * If our attachment is a PDF, return the unswipeable Modal type.\n * @param {String} sourceURL\n * @param {Object} file\n * @returns {String}\n */\n getModalType(sourceURL, file) {\n return (\n sourceURL\n && (\n Str.isPDF(sourceURL)\n || (\n file\n && Str.isPDF(file.name || this.props.translate('attachmentView.unknownFilename'))\n )\n )\n )\n ? CONST.MODAL.MODAL_TYPE.CENTERED_UNSWIPEABLE\n : CONST.MODAL.MODAL_TYPE.CENTERED;\n }\n\n /**\n * @param {String} sourceURL\n */\n downloadAttachment(sourceURL) {\n const originalFileName = lodashGet(this.state, 'file.name') || this.props.originalFileName;\n fileDownload(sourceURL, originalFileName);\n\n // At ios, if the keyboard is open while opening the attachment, then after downloading\n // the attachment keyboard will show up. So, to fix it we need to dismiss the keyboard.\n Keyboard.dismiss();\n }\n\n /**\n * Execute the onConfirm callback and close the modal.\n */\n submitAndClose() {\n // If the modal has already been closed or the confirm button is disabled\n // do not submit.\n if (!this.state.isModalOpen || this.state.isConfirmButtonDisabled) {\n return;\n }\n\n if (this.props.onConfirm) {\n this.props.onConfirm(lodashExtend(this.state.file, {source: this.state.source}));\n }\n\n this.setState({isModalOpen: false});\n }\n\n /**\n * Close the confirm modal.\n */\n closeConfirmModal() {\n this.setState({isAttachmentInvalid: false});\n }\n\n /**\n * @param {Object} file\n * @returns {Boolean}\n */\n isValidFile(file) {\n const {fileExtension} = FileUtils.splitExtensionFromFileName(lodashGet(file, 'name', ''));\n if (!_.contains(CONST.API_ATTACHMENT_VALIDATIONS.ALLOWED_EXTENSIONS, fileExtension.toLowerCase())) {\n const invalidReason = `${this.props.translate('attachmentPicker.notAllowedExtension')} ${CONST.API_ATTACHMENT_VALIDATIONS.ALLOWED_EXTENSIONS.join(', ')}`;\n this.setState({\n isAttachmentInvalid: true,\n attachmentInvalidReasonTitle: this.props.translate('attachmentPicker.wrongFileType'),\n attachmentInvalidReason: invalidReason,\n });\n return false;\n }\n\n if (lodashGet(file, 'size', 0) > CONST.API_ATTACHMENT_VALIDATIONS.MAX_SIZE) {\n this.setState({\n isAttachmentInvalid: true,\n attachmentInvalidReasonTitle: this.props.translate('attachmentPicker.attachmentTooLarge'),\n attachmentInvalidReason: this.props.translate('attachmentPicker.sizeExceeded'),\n });\n return false;\n }\n\n if (lodashGet(file, 'size', 0) < CONST.API_ATTACHMENT_VALIDATIONS.MIN_SIZE) {\n this.setState({\n isAttachmentInvalid: true,\n attachmentInvalidReasonTitle: this.props.translate('attachmentPicker.attachmentTooSmall'),\n attachmentInvalidReason: this.props.translate('attachmentPicker.sizeNotMet'),\n });\n return false;\n }\n\n return true;\n }\n\n /**\n * @param {Object} file\n */\n validateAndDisplayFileToUpload(file) {\n if (!file) {\n return;\n }\n\n if (!this.isValidFile(file)) {\n return;\n }\n\n if (file instanceof File) {\n const source = URL.createObjectURL(file);\n const modalType = this.getModalType(source, file);\n this.setState({\n isModalOpen: true, source, file, modalType,\n });\n } else {\n const modalType = this.getModalType(file.uri, file);\n this.setState({\n isModalOpen: true, source: file.uri, file, modalType,\n });\n }\n }\n\n /**\n * In order to gracefully hide/show the confirm button when the keyboard\n * opens/closes, apply an animation to fade the confirm button out/in. And since\n * we're only updating the opacity of the confirm button, we must also conditionally\n * disable it.\n *\n * @param {Boolean} shouldFadeOut If true, fade out confirm button. Otherwise fade in.\n */\n updateConfirmButtonVisibility(shouldFadeOut) {\n this.setState({isConfirmButtonDisabled: shouldFadeOut});\n const toValue = shouldFadeOut ? 0 : 1;\n\n Animated.timing(this.state.confirmButtonFadeAnimation, {\n toValue,\n duration: 100,\n useNativeDriver: true,\n }).start();\n }\n\n render() {\n const source = this.state.source;\n return (\n <>\n this.setState({isModalOpen: false})}\n isVisible={this.state.isModalOpen}\n backgroundColor={themeColors.componentBG}\n onModalShow={() => this.setState({shouldLoadAttachment: true})}\n onModalHide={(e) => {\n this.props.onModalHide(e);\n this.setState({shouldLoadAttachment: false});\n }}\n propagateSwipe\n >\n {this.props.isSmallScreenWidth && }\n this.downloadAttachment(source)}\n onCloseButtonPress={() => this.setState({isModalOpen: false})}\n />\n \n {this.props.reportID ? (\n \n ) : Boolean(this.state.source) && this.state.shouldLoadAttachment && (\n \n )}\n \n {/* If we have an onConfirm method show a confirmation button */}\n {Boolean(this.props.onConfirm) && (\n \n {({safeAreaPaddingBottomStyle}) => (\n \n \n \n )}\n \n )}\n \n\n \n\n {this.props.children({\n displayFileInModal: this.validateAndDisplayFileToUpload,\n show: () => {\n this.setState({isModalOpen: true});\n },\n })}\n \n );\n }\n}\n\nAttachmentModal.propTypes = propTypes;\nAttachmentModal.defaultProps = defaultProps;\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(AttachmentModal);\n","module.exports = require('./assignIn');\n","var copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n keysIn = require('./keysIn');\n\n/**\n * This method is like `_.assign` except that it iterates over own and\n * inherited source properties.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @alias extend\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assign\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n */\nvar assignIn = createAssigner(function(object, source) {\n copyObject(source, keysIn(source), object);\n});\n\nmodule.exports = assignIn;\n","import React, {memo} from 'react';\nimport {View, ActivityIndicator} from 'react-native';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport Str from 'expensify-common/lib/str';\nimport styles from '../styles/styles';\nimport PDFView from './PDFView';\nimport ImageView from './ImageView';\nimport Icon from './Icon';\nimport * as Expensicons from './Icon/Expensicons';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport compose from '../libs/compose';\nimport Text from './Text';\nimport Tooltip from './Tooltip';\nimport themeColors from '../styles/themes/default';\nimport variables from '../styles/variables';\nimport addEncryptedAuthTokenToURL from '../libs/addEncryptedAuthTokenToURL';\n\nconst propTypes = {\n /** Whether source url requires authentication */\n isAuthTokenRequired: PropTypes.bool,\n\n /** URL to full-sized attachment or SVG function */\n source: PropTypes.oneOfType([PropTypes.string, PropTypes.func]).isRequired,\n\n /** File object maybe be instance of File or Object */\n file: PropTypes.shape({\n name: PropTypes.string,\n }),\n\n /** Flag to show/hide download icon */\n shouldShowDownloadIcon: PropTypes.bool,\n\n /** Flag to show the loading indicator */\n shouldShowLoadingSpinnerIcon: PropTypes.bool,\n\n /** Function for handle on press */\n onPress: PropTypes.func,\n\n /** Notify parent that the UI should be modified to accommodate keyboard */\n onToggleKeyboard: PropTypes.func,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isAuthTokenRequired: false,\n file: {\n name: '',\n },\n shouldShowDownloadIcon: false,\n shouldShowLoadingSpinnerIcon: false,\n onPress: () => {},\n onToggleKeyboard: () => {},\n};\n\nconst AttachmentView = (props) => {\n // Handles case where source is a component (ex: SVG)\n if (_.isFunction(props.source)) {\n return (\n \n );\n }\n\n // Check both source and file.name since PDFs dragged into the the text field\n // will appear with a source that is a blob\n if (Str.isPDF(props.source)\n || (props.file && Str.isPDF(props.file.name || props.translate('attachmentView.unknownFilename')))) {\n const sourceURL = props.isAuthTokenRequired\n ? addEncryptedAuthTokenToURL(props.source)\n : props.source;\n return (\n \n );\n }\n\n // For this check we use both source and file.name since temporary file source is a blob\n // both PDFs and images will appear as images when pasted into the the text field\n if (Str.isImage(props.source) || (props.file && Str.isImage(props.file.name))) {\n return (\n \n );\n }\n\n return (\n \n \n \n \n\n {props.file && props.file.name}\n {!props.shouldShowLoadingSpinnerIcon && props.shouldShowDownloadIcon && (\n \n \n \n \n \n )}\n {props.shouldShowLoadingSpinnerIcon && (\n \n \n \n \n \n )}\n \n );\n};\n\nAttachmentView.propTypes = propTypes;\nAttachmentView.defaultProps = defaultProps;\nAttachmentView.displayName = 'AttachmentView';\n\nexport default compose(\n memo,\n withLocalize,\n)(AttachmentView);\n","import React, {Component} from 'react';\nimport {TouchableWithoutFeedback, View} from 'react-native';\nimport PDF from 'react-native-pdf';\nimport KeyboardAvoidingView from '../KeyboardAvoidingView';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport FullScreenLoadingIndicator from '../FullscreenLoadingIndicator';\nimport Text from '../Text';\nimport PDFPasswordForm from './PDFPasswordForm';\nimport {propTypes as pdfViewPropTypes, defaultProps} from './pdfViewPropTypes';\nimport compose from '../../libs/compose';\nimport withWindowDimensions from '../withWindowDimensions';\nimport withKeyboardState, {keyboardStatePropTypes} from '../withKeyboardState';\nimport withLocalize from '../withLocalize';\n\nconst propTypes = {\n ...pdfViewPropTypes,\n ...keyboardStatePropTypes,\n};\n\n/**\n * On the native layer, we use react-native-pdf/PDF to display PDFs. If a PDF is\n * password-protected we render a PDFPasswordForm to request a password\n * from the user.\n *\n * In order to render things nicely during a password challenge we need\n * to keep track of additional state. In particular, the\n * react-native-pdf/PDF component is both conditionally rendered and hidden\n * depending upon the situation. It needs to be rerendered on each password\n * submission because it doesn't dynamically handle updates to its\n * password property. And we need to hide it during password challenges\n * so that PDFPasswordForm doesn't bounce when react-native-pdf/PDF\n * is (temporarily) rendered.\n */\nclass PDFView extends Component {\n constructor(props) {\n super(props);\n this.state = {\n shouldRequestPassword: false,\n shouldAttemptPDFLoad: true,\n shouldShowLoadingIndicator: true,\n isPasswordInvalid: false,\n failedToLoadPDF: false,\n password: '',\n };\n this.initiatePasswordChallenge = this.initiatePasswordChallenge.bind(this);\n this.attemptPDFLoadWithPassword = this.attemptPDFLoadWithPassword.bind(this);\n this.finishPDFLoad = this.finishPDFLoad.bind(this);\n this.handleFailureToLoadPDF = this.handleFailureToLoadPDF.bind(this);\n }\n\n componentDidUpdate() {\n this.props.onToggleKeyboard(this.props.isKeyboardShown);\n }\n\n handleFailureToLoadPDF(error) {\n if (error.message.match(/password/i)) {\n this.initiatePasswordChallenge();\n return;\n }\n\n this.setState({\n failedToLoadPDF: true,\n shouldAttemptPDFLoad: false,\n });\n }\n\n /**\n * Initiate password challenge if message received from react-native-pdf/PDF\n * indicates that a password is required or invalid.\n *\n * For a password challenge the message is \"Password required or incorrect password.\"\n * Note that the message doesn't specify whether the password is simply empty or\n * invalid.\n */\n initiatePasswordChallenge() {\n this.setState({shouldShowLoadingIndicator: false});\n\n // Render password form, and don't render PDF and loading indicator.\n this.setState({\n shouldRequestPassword: true,\n shouldAttemptPDFLoad: false,\n });\n\n // The message provided by react-native-pdf doesn't indicate whether this\n // is an initial password request or if the password is invalid. So we just assume\n // that if a password was already entered then it's an invalid password error.\n if (this.state.password) {\n this.setState({isPasswordInvalid: true});\n }\n }\n\n /**\n * When the password is submitted via PDFPasswordForm, save the password\n * in state and attempt to load the PDF. Also show the loading indicator\n * since react-native-pdf/PDF will need to reload the PDF.\n *\n * @param {String} password Password submitted via PDFPasswordForm\n */\n attemptPDFLoadWithPassword(password) {\n // Render react-native-pdf/PDF so that it can validate the password.\n // Note that at this point in the password challenge, shouldRequestPassword is true.\n // Thus react-native-pdf/PDF will be rendered - but not visible.\n this.setState({\n password,\n shouldAttemptPDFLoad: true,\n shouldShowLoadingIndicator: true,\n });\n }\n\n /**\n * After the PDF is successfully loaded hide PDFPasswordForm and the loading\n * indicator.\n */\n finishPDFLoad() {\n this.setState({\n shouldRequestPassword: false,\n shouldShowLoadingIndicator: false,\n });\n }\n\n render() {\n const pdfStyles = [\n styles.imageModalPDF,\n StyleUtils.getWidthAndHeightStyle(this.props.windowWidth, this.props.windowHeight),\n ];\n const touchableStyles = [\n styles.flex1,\n this.props.style,\n styles.w100,\n ];\n\n // If we haven't yet successfully validated the password and loaded the PDF,\n // then we need to hide the react-native-pdf/PDF component so that PDFPasswordForm\n // is positioned nicely. We're specifically hiding it because we still need to render\n // the PDF component so that it can validate the password.\n if (this.state.shouldRequestPassword) {\n pdfStyles.push(styles.invisible);\n }\n\n const containerStyles = this.state.shouldRequestPassword && this.props.isSmallScreenWidth\n ? [styles.w100, styles.flex1]\n : [styles.alignItemsCenter, styles.flex1];\n\n return (\n \n {this.state.failedToLoadPDF && (\n \n \n {this.props.translate('attachmentView.failedToLoadPDF')}\n \n \n )}\n {this.state.shouldAttemptPDFLoad && (\n \n }\n source={{uri: this.props.sourceURL}}\n style={pdfStyles}\n onError={this.handleFailureToLoadPDF}\n password={this.state.password}\n onLoadComplete={this.finishPDFLoad}\n onPageSingleTap={this.props.onPress}\n />\n \n )}\n {this.state.shouldRequestPassword && (\n \n this.setState({isPasswordInvalid: false})}\n isPasswordInvalid={this.state.isPasswordInvalid}\n shouldShowLoadingIndicator={this.state.shouldShowLoadingIndicator}\n />\n \n )}\n \n );\n }\n}\n\nPDFView.propTypes = propTypes;\nPDFView.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withKeyboardState,\n withLocalize,\n)(PDFView);\n","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n requireNativeComponent,\n View,\n Platform,\n StyleSheet,\n Image,\n Text\n} from 'react-native';\n\nimport ReactNativeBlobUtil from 'react-native-blob-util'\nimport {ViewPropTypes} from 'deprecated-react-native-prop-types';\nconst SHA1 = require('crypto-js/sha1');\nimport PdfView from './PdfView';\n\nexport default class Pdf extends Component {\n\n static propTypes = {\n ...ViewPropTypes,\n source: PropTypes.oneOfType([\n PropTypes.shape({\n uri: PropTypes.string,\n cache: PropTypes.bool,\n cacheFileName: PropTypes.string,\n expiration: PropTypes.number,\n }),\n // Opaque type returned by require('./test.pdf')\n PropTypes.number,\n ]).isRequired,\n page: PropTypes.number,\n scale: PropTypes.number,\n minScale: PropTypes.number,\n maxScale: PropTypes.number,\n horizontal: PropTypes.bool,\n spacing: PropTypes.number,\n password: PropTypes.string,\n renderActivityIndicator: PropTypes.func,\n enableAntialiasing: PropTypes.bool,\n enableAnnotationRendering: PropTypes.bool,\n enablePaging: PropTypes.bool,\n enableRTL: PropTypes.bool,\n fitPolicy: PropTypes.number,\n trustAllCerts: PropTypes.bool,\n singlePage: PropTypes.bool,\n onLoadComplete: PropTypes.func,\n onPageChanged: PropTypes.func,\n onError: PropTypes.func,\n onPageSingleTap: PropTypes.func,\n onScaleChanged: PropTypes.func,\n onPressLink: PropTypes.func,\n\n // Props that are not available in the earlier react native version, added to prevent crashed on android\n accessibilityLabel: PropTypes.string,\n importantForAccessibility: PropTypes.string,\n renderToHardwareTextureAndroid: PropTypes.string,\n testID: PropTypes.string,\n onLayout: PropTypes.bool,\n accessibilityLiveRegion: PropTypes.string,\n accessibilityComponentType: PropTypes.string,\n };\n\n static defaultProps = {\n password: \"\",\n scale: 1,\n minScale: 1,\n maxScale: 3,\n spacing: 10,\n fitPolicy: 2, //fit both\n horizontal: false,\n page: 1,\n enableAntialiasing: true,\n enableAnnotationRendering: true,\n enablePaging: false,\n enableRTL: false,\n trustAllCerts: true,\n usePDFKit: true,\n singlePage: false,\n onLoadProgress: (percent) => {\n },\n onLoadComplete: (numberOfPages, path) => {\n },\n onPageChanged: (page, numberOfPages) => {\n },\n onError: (error) => {\n },\n onPageSingleTap: (page, x, y) => {\n },\n onScaleChanged: (scale) => {\n },\n onPressLink: (url) => {\n },\n };\n\n constructor(props) {\n\n super(props);\n this.state = {\n path: '',\n isDownloaded: false,\n progress: 0,\n isSupportPDFKit: -1\n };\n\n this.lastRNBFTask = null;\n\n }\n\n componentDidUpdate(prevProps) {\n\n const nextSource = Image.resolveAssetSource(this.props.source);\n const curSource = Image.resolveAssetSource(prevProps.source);\n\n if ((nextSource.uri !== curSource.uri)) {\n // if has download task, then cancel it.\n if (this.lastRNBFTask) {\n this.lastRNBFTask.cancel(err => {\n this._loadFromSource(this.props.source);\n });\n this.lastRNBFTask = null;\n } else {\n this._loadFromSource(this.props.source);\n }\n }\n }\n\n componentDidMount() {\n this._mounted = true;\n if (Platform.OS === \"ios\") {\n const PdfViewManagerNative = require('react-native').NativeModules.PdfViewManager;\n PdfViewManagerNative.supportPDFKit((isSupportPDFKit) => {\n if (this._mounted) {\n this.setState({isSupportPDFKit: isSupportPDFKit ? 1 : 0});\n }\n });\n }\n this._loadFromSource(this.props.source);\n }\n\n componentWillUnmount() {\n this._mounted = false;\n if (this.lastRNBFTask) {\n this.lastRNBFTask.cancel(err => {\n });\n this.lastRNBFTask = null;\n }\n\n }\n\n _loadFromSource = (newSource) => {\n\n const source = Image.resolveAssetSource(newSource) || {};\n\n let uri = source.uri || '';\n // first set to initial state\n if (this._mounted) {\n this.setState({isDownloaded: false, path: '', progress: 0});\n }\n const filename = source.cacheFileName || SHA1(uri) + '.pdf';\n const cacheFile = ReactNativeBlobUtil.fs.dirs.CacheDir + '/' + filename;\n\n if (source.cache) {\n ReactNativeBlobUtil.fs\n .stat(cacheFile)\n .then(stats => {\n if (!Boolean(source.expiration) || (source.expiration * 1000 + stats.lastModified) > (new Date().getTime())) {\n if (this._mounted) {\n this.setState({path: cacheFile, isDownloaded: true});\n }\n } else {\n // cache expirated then reload it\n this._prepareFile(source);\n }\n })\n .catch(() => {\n this._prepareFile(source);\n })\n\n } else {\n this._prepareFile(source);\n }\n };\n\n _prepareFile = async (source) => {\n\n try {\n if (source.uri) {\n let uri = source.uri || '';\n\n const isNetwork = !!(uri && uri.match(/^https?:\\/\\//));\n const isAsset = !!(uri && uri.match(/^bundle-assets:\\/\\//));\n const isBase64 = !!(uri && uri.match(/^data:application\\/pdf;base64/));\n\n const filename = source.cacheFileName || SHA1(uri) + '.pdf';\n const cacheFile = ReactNativeBlobUtil.fs.dirs.CacheDir + '/' + filename;\n\n // delete old cache file\n this._unlinkFile(cacheFile);\n\n if (isNetwork) {\n this._downloadFile(source, cacheFile);\n } else if (isAsset) {\n ReactNativeBlobUtil.fs\n .cp(uri, cacheFile)\n .then(() => {\n if (this._mounted) {\n this.setState({path: cacheFile, isDownloaded: true, progress: 1});\n }\n })\n .catch(async (error) => {\n this._unlinkFile(cacheFile);\n this._onError(error);\n })\n } else if (isBase64) {\n let data = uri.replace(/data:application\\/pdf;base64,/i, '');\n ReactNativeBlobUtil.fs\n .writeFile(cacheFile, data, 'base64')\n .then(() => {\n if (this._mounted) {\n this.setState({path: cacheFile, isDownloaded: true, progress: 1});\n }\n })\n .catch(async (error) => {\n this._unlinkFile(cacheFile);\n this._onError(error)\n });\n } else {\n if (this._mounted) {\n this.setState({\n path: uri.replace(/file:\\/\\//i, ''),\n isDownloaded: true,\n });\n }\n }\n } else {\n this._onError(new Error('no pdf source!'));\n }\n } catch (e) {\n this._onError(e)\n }\n\n\n };\n\n _downloadFile = async (source, cacheFile) => {\n\n if (this.lastRNBFTask) {\n this.lastRNBFTask.cancel(err => {\n });\n this.lastRNBFTask = null;\n }\n\n const tempCacheFile = cacheFile + '.tmp';\n this._unlinkFile(tempCacheFile);\n\n this.lastRNBFTask = ReactNativeBlobUtil.config({\n // response data will be saved to this path if it has access right.\n path: tempCacheFile,\n trusty: this.props.trustAllCerts,\n })\n .fetch(\n source.method ? source.method : 'GET',\n source.uri,\n source.headers ? source.headers : {},\n source.body ? source.body : \"\"\n )\n // listen to download progress event\n .progress((received, total) => {\n this.props.onLoadProgress && this.props.onLoadProgress(received / total);\n if (this._mounted) {\n this.setState({progress: received / total});\n }\n });\n\n this.lastRNBFTask\n .then(async (res) => {\n\n this.lastRNBFTask = null;\n\n if (res && res.respInfo && res.respInfo.headers && !res.respInfo.headers[\"Content-Encoding\"] && !res.respInfo.headers[\"Transfer-Encoding\"] && res.respInfo.headers[\"Content-Length\"]) {\n const expectedContentLength = res.respInfo.headers[\"Content-Length\"];\n let actualContentLength;\n\n try {\n const fileStats = await ReactNativeBlobUtil.fs.stat(res.path());\n\n if (!fileStats || !fileStats.size) {\n throw new Error(\"FileNotFound:\" + source.uri);\n }\n\n actualContentLength = fileStats.size;\n } catch (error) {\n throw new Error(\"DownloadFailed:\" + source.uri);\n }\n\n if (expectedContentLength != actualContentLength) {\n throw new Error(\"DownloadFailed:\" + source.uri);\n }\n }\n\n this._unlinkFile(cacheFile);\n ReactNativeBlobUtil.fs\n .cp(tempCacheFile, cacheFile)\n .then(() => {\n if (this._mounted) {\n this.setState({path: cacheFile, isDownloaded: true, progress: 1});\n }\n this._unlinkFile(tempCacheFile);\n })\n .catch(async (error) => {\n throw error;\n });\n })\n .catch(async (error) => {\n this._unlinkFile(tempCacheFile);\n this._unlinkFile(cacheFile);\n this._onError(error);\n });\n\n };\n\n _unlinkFile = async (file) => {\n try {\n await ReactNativeBlobUtil.fs.unlink(file);\n } catch (e) {\n\n }\n }\n\n setNativeProps = nativeProps => {\n if (this._root){\n this._root.setNativeProps(nativeProps);\n }\n };\n\n setPage( pageNumber ) {\n if ( (pageNumber === null) || (isNaN(pageNumber)) ) {\n throw new Error('Specified pageNumber is not a number');\n }\n this.setNativeProps({\n page: pageNumber\n });\n }\n\n _onChange = (event) => {\n\n let message = event.nativeEvent.message.split('|');\n //__DEV__ && console.log(\"onChange: \" + message);\n if (message.length > 0) {\n if (message.length > 5) {\n message[4] = message.splice(4).join('|');\n }\n if (message[0] === 'loadComplete') {\n this.props.onLoadComplete && this.props.onLoadComplete(Number(message[1]), this.state.path, {\n width: Number(message[2]),\n height: Number(message[3]),\n },\n message[4]&&JSON.parse(message[4]));\n } else if (message[0] === 'pageChanged') {\n this.props.onPageChanged && this.props.onPageChanged(Number(message[1]), Number(message[2]));\n } else if (message[0] === 'error') {\n this._onError(new Error(message[1]));\n } else if (message[0] === 'pageSingleTap') {\n this.props.onPageSingleTap && this.props.onPageSingleTap(Number(message[1]), Number(message[2]), Number(message[3]));\n } else if (message[0] === 'scaleChanged') {\n this.props.onScaleChanged && this.props.onScaleChanged(Number(message[1]));\n } else if (message[0] === 'linkPressed') {\n this.props.onPressLink && this.props.onPressLink(message[1]);\n }\n }\n\n };\n\n _onError = (error) => {\n\n this.props.onError && this.props.onError(error);\n\n };\n\n render() {\n if (Platform.OS === \"android\" || Platform.OS === \"ios\" || Platform.OS === \"windows\") {\n return (\n \n {!this.state.isDownloaded?\n (\n {this.props.renderActivityIndicator\n ? this.props.renderActivityIndicator(this.state.progress)\n : {`${(this.state.progress * 100).toFixed(2)}%`}}\n ):(\n Platform.OS === \"android\" || Platform.OS === \"windows\"?(\n (this._root = component)}\n {...this.props}\n style={[{flex:1,backgroundColor: '#EEE'}, this.props.style]}\n path={this.state.path}\n onChange={this._onChange}\n />\n ):(\n this.props.usePDFKit && this.state.isSupportPDFKit === 1?(\n (this._root = component)}\n {...this.props}\n style={[{backgroundColor: '#EEE',overflow: 'hidden'}, this.props.style]}\n path={this.state.path}\n onChange={this._onChange}\n />\n ):()\n )\n )}\n );\n } else {\n return (null);\n }\n\n\n }\n}\n\n\nif (Platform.OS === \"android\") {\n var PdfCustom = requireNativeComponent('RCTPdf', Pdf, {\n nativeOnly: {path: true, onChange: true},\n })\n} else if (Platform.OS === \"ios\") {\n var PdfCustom = requireNativeComponent('RCTPdfView', Pdf, {\n nativeOnly: {path: true, onChange: true},\n })\n} else if (Platform.OS === \"windows\") {\n var PdfCustom = requireNativeComponent('RCTPdf', Pdf, {\n nativeOnly: {path: true, onChange: true},\n })\n}\n\n\nconst styles = StyleSheet.create({\n progressContainer: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n },\n progressBar: {\n width: 200,\n height: 2\n }\n});\n","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\nimport React, {Component} from 'react';\nimport {ScrollView, FlatList, View, StyleSheet} from 'react-native';\nimport {ViewPropTypes} from 'deprecated-react-native-prop-types';\nimport PropTypes from 'prop-types';\n\nimport PdfManager from './PdfManager';\nimport PdfPageView from './PdfPageView';\nimport DoubleTapView from './DoubleTapView';\nimport PinchZoomView from './PinchZoomView';\nimport PdfViewFlatList from './PdfViewFlatList';\n\nconst MIN_SCALE = 1;\nconst MAX_SCALE = 3;\n\nconst VIEWABILITYCONFIG = {minimumViewTime: 500, itemVisiblePercentThreshold: 10, waitForInteraction: false};\n\nexport default class PdfView extends Component {\n\n static propTypes = {\n ...ViewPropTypes,\n path: PropTypes.string,\n password: PropTypes.string,\n scale: PropTypes.number,\n minScale: PropTypes.number,\n maxScale: PropTypes.number,\n spacing: PropTypes.number,\n fitPolicy: PropTypes.number,\n horizontal: PropTypes.bool,\n page: PropTypes.number,\n currentPage: PropTypes.number,\n singlePage: PropTypes.bool,\n onPageSingleTap: PropTypes.func,\n onScaleChanged: PropTypes.func,\n };\n\n static defaultProps = {\n path: \"\",\n password: \"\",\n scale: 1,\n minScale: MIN_SCALE,\n maxScale: MAX_SCALE,\n spacing: 10,\n style: {},\n fitPolicy: 2,\n horizontal: false,\n centerContent: false,\n page: 1,\n currentPage: -1,\n enablePaging: false,\n singlePage: false,\n onPageSingleTap: (page, x, y) => {\n },\n onScaleChanged: (scale) => {\n },\n };\n\n constructor(props) {\n\n super(props);\n this.state = {\n pdfLoaded: false,\n fileNo: -1,\n numberOfPages: 0,\n page: -1,\n currentPage: -1,\n pageAspectRate: 0.5,\n pdfPageSize: {width: 0, height: 0},\n contentContainerSize: {width: 0, height: 0},\n scale: this.props.scale,\n contentOffset: {x: 0, y: 0},\n newContentOffset: {x: 0, y: 0},\n };\n\n this._flatList = null;\n this._scaleTimer = null;\n this._scrollTimer = null;\n this._mounted = false;\n\n }\n\n componentDidMount() {\n this._mounted = true;\n PdfManager.loadFile(this.props.path, this.props.password)\n .then((pdfInfo) => {\n if (this._mounted) {\n const fileNo = pdfInfo[0];\n const numberOfPages = pdfInfo[1];\n const width = pdfInfo[2];\n const height = pdfInfo[3];\n const pageAspectRatio = height === 0 ? 1 : width / height;\n\n this.setState({\n pdfLoaded: true,\n fileNo,\n numberOfPages,\n pageAspectRate: pageAspectRatio,\n pdfPageSize: {width, height},\n centerContent: numberOfPages > 1 ? false : true\n });\n if (this.props.onLoadComplete) {\n this.props.onLoadComplete(numberOfPages, this.props.path, {width, height});\n }\n }\n\n })\n .catch((error) => {\n this.props.onError(error);\n });\n\n clearTimeout(this._scrollTimer);\n this._scrollTimer = setTimeout(() => {\n if (this._flatList) {\n this._flatList.scrollToIndex({animated: false, index: this.props.page < 1 ? 0 : this.props.page - 1});\n }\n }, 200);\n }\n\n componentDidUpdate(prevProps) {\n\n if (this.props.scale !== this.state.scale) {\n this._onScaleChanged({\n scale: this.props.scale / this.state.scale,\n pageX: this.state.contentContainerSize.width / 2,\n pageY: this.state.contentContainerSize.height / 2\n });\n }\n\n if (this.props.horizontal !== prevProps.horizontal || this.props.page !== prevProps.page) {\n let page = (this.props.page) < 1 ? 1 : this.props.page;\n page = page > this.state.numberOfPages ? this.state.numberOfPages : page;\n\n if (this._flatList) {\n clearTimeout(this._scrollTimer);\n this._scrollTimer = setTimeout(() => {\n this._flatList.scrollToIndex({animated: false, index: page - 1});\n }, 200);\n }\n }\n\n }\n\n componentWillUnmount() {\n this._mounted = false;\n clearTimeout(this._scaleTimer);\n clearTimeout(this._scrollTimer);\n\n }\n\n _keyExtractor = (item, index) => \"pdf-page-\" + index;\n\n _getPageWidth = () => {\n\n let fitPolicy = this.props.fitPolicy;\n\n // if only one page, show whole page in center\n if (this.state.numberOfPages === 1 || this.props.singlePage) {\n fitPolicy = 2;\n }\n\n\n switch (fitPolicy) {\n case 0: //fit width\n return this.state.contentContainerSize.width * this.state.scale;\n case 1: //fit height\n return this.state.contentContainerSize.height * this.state.pageAspectRate * this.state.scale;\n case 2: //fit both\n default: {\n if (this.state.contentContainerSize.width/this.state.contentContainerSize.height {\n\n let fitPolicy = this.props.fitPolicy;\n\n // if only one page, show whole page in center\n if (this.state.numberOfPages === 1 || this.props.singlePage) {\n fitPolicy = 2;\n }\n\n switch (fitPolicy) {\n case 0: //fit width\n return this.state.contentContainerSize.width * (1 / this.state.pageAspectRate) * this.state.scale;\n case 1: //fit height\n return this.state.contentContainerSize.height * this.state.scale;\n case 2: //fit both\n default: {\n if (this.state.contentContainerSize.width/this.state.contentContainerSize.height (\n \n );\n\n _onItemSingleTap = (index, x, y) => {\n\n this.props.onPageSingleTap(index + 1, x, y);\n\n };\n\n _onItemDoubleTap = (index) => {\n\n if (this.state.scale >= this.props.maxScale) {\n this._onScaleChanged({\n scale: 1 / this.state.scale,\n pageX: this.state.contentContainerSize.width / 2,\n pageY: this.state.contentContainerSize.height / 2\n });\n } else {\n this._onScaleChanged({\n scale: 1.2,\n pageX: this.state.contentContainerSize.width / 2,\n pageY: this.state.contentContainerSize.height / 2\n });\n }\n\n };\n\n _onScaleChanged = (pinchInfo) => {\n\n let newScale = pinchInfo.scale * this.state.scale;\n newScale = newScale > this.props.maxScale ? this.props.maxScale : newScale;\n newScale = newScale < this.props.minScale ? this.props.minScale : newScale;\n let newContentOffset = {\n x: (this.state.contentOffset.x + pinchInfo.pageX) * (newScale / this.state.scale) - pinchInfo.pageX,\n y: (this.state.contentOffset.y + pinchInfo.pageY) * (newScale / this.state.scale) - pinchInfo.pageY\n }\n this.setState({scale: newScale, newContentOffset: newContentOffset});\n this.props.onScaleChanged(newScale);\n\n };\n\n _renderItem = ({item, index}) => {\n const pageView = (\n \n )\n\n if (this.props.singlePage) {\n return (\n \n {pageView}\n \n )\n }\n\n return (\n {\n this._onItemSingleTap(index, x, y);\n }}\n onDoubleTap={() => {\n this._onItemDoubleTap(index);\n }}\n >\n {pageView}\n {(index !== this.state.numberOfPages - 1) && this._renderSeparator()}\n \n );\n\n };\n\n _onViewableItemsChanged = (viewableInfo) => {\n\n for (let i = 0; i < viewableInfo.viewableItems.length; i++) {\n this._onPageChanged(viewableInfo.viewableItems[i].index + 1, this.state.numberOfPages);\n if (viewableInfo.viewableItems.length + viewableInfo.viewableItems[0].index < this.state.numberOfPages) break;\n }\n\n };\n\n _onPageChanged = (page, numberOfPages) => {\n if (this.props.onPageChanged && this.state.currentPage !== page) {\n this.props.onPageChanged(page, numberOfPages);\n this.setState({currentPage: page});\n }\n };\n\n\n _getRef = (ref) => this._flatList = ref;\n\n _getItemLayout = (data, index) => ({\n length: this.props.horizontal ? this._getPageWidth() : this._getPageHeight(),\n offset: ((this.props.horizontal ? this._getPageWidth() : this._getPageHeight()) + this.props.spacing * this.state.scale) * index,\n index\n });\n\n _onScroll = (e) => {\n this.setState({contentOffset: e.nativeEvent.contentOffset, newContentOffset: e.nativeEvent.contentOffset});\n };\n\n _onListContentSizeChange = (contentWidth, contentHeight) => {\n if (this.state.contentOffset.x != this.state.newContentOffset.x\n || this.state.contentOffset.y != this.state.newContentOffset.y) {\n this._flatList.scrollToXY(this.state.newContentOffset.x, this.state.newContentOffset.y);\n }\n };\n\n _renderList = () => {\n let data = [];\n\n if (this.props.singlePage) {\n data[0] = {key: this.props.currentPage >= 0 ? this.props.currentPage : 0}\n } else {\n for (let i = 0; i < this.state.numberOfPages; i++) {\n data[i] = {key: i};\n }\n }\n\n return (\n }\n initialScrollIndex={this.props.page < 1 ? 0 : this.props.page - 1}\n onViewableItemsChanged={this._onViewableItemsChanged}\n viewabilityConfig={VIEWABILITYCONFIG}\n onScroll={this._onScroll}\n onContentSizeChange={this._onListContentSizeChange}\n scrollEnabled={!this.props.singlePage}\n />\n );\n\n };\n\n _onLayout = (event) => {\n this.setState({\n contentContainerSize: {\n width: event.nativeEvent.layout.width,\n height: event.nativeEvent.layout.height\n }\n });\n };\n\n\n render() {\n if (this.props.singlePage) {\n return (\n \n {this.state.pdfLoaded && this._renderList()}\n \n )\n }\n\n return (\n \n {this.state.pdfLoaded && this._renderList()}\n \n );\n\n }\n\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1\n }\n});","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nconst PdfManagerNative = require('react-native').NativeModules.PdfManager;\n\nexport default class PdfManager {\n\n static loadFile(path, password) {\n if (typeof path !== 'string') {\n throw new TypeError('path must be a valid string.');\n }\n\n if (password === undefined) {\n password = \"\";\n }\n\n return PdfManagerNative.loadFile(path, password);\n }\n}\n","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n'use strict';\nimport React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n requireNativeComponent,\n} from 'react-native';\nimport {ViewPropTypes} from 'deprecated-react-native-prop-types';\nexport default class PdfPageView extends PureComponent {\n _getStylePropsProps = () => {\n const {width, height} = this.props;\n if (width || height) {\n return {width, height};\n }\n return {};\n };\n\n render() {\n const {\n style,\n ...restProps\n } = this.props;\n return (\n \n );\n\n }\n}\n\nPdfPageView.propTypes = {\n ...ViewPropTypes,\n fileNo: PropTypes.number,\n page: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number\n};\n\nPdfPageView.defaultProps = {\n style: {}\n};\n\nlet PdfPageViewCustom = requireNativeComponent('RCTPdfPageView', PdfPageView, {nativeOnly: {}});\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n * @flow\n */\n\n'use strict';\n\nmodule.exports = {\n get ColorPropType() {\n return require('./DeprecatedColorPropType');\n },\n get EdgeInsetsPropType() {\n return require('./DeprecatedEdgeInsetsPropType');\n },\n get ImagePropTypes() {\n return require('./DeprecatedImagePropType');\n },\n get PointPropType() {\n return require('./DeprecatedPointPropType');\n },\n get TextInputPropTypes() {\n return require('./DeprecatedTextInputPropTypes');\n },\n get TextPropTypes() {\n return require('./DeprecatedTextPropTypes');\n },\n get ViewPropTypes() {\n return require('./DeprecatedViewPropTypes');\n },\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst normalizeColor = require('@react-native/normalize-color');\n\nconst colorPropType = function(\n isRequired,\n props,\n propName,\n componentName,\n location,\n propFullName,\n) {\n const color = props[propName];\n\n if (color == null) {\n if (isRequired) {\n return new Error(\n 'Required ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` was not specified in `' +\n componentName +\n '`.',\n );\n }\n return;\n }\n\n if (typeof color === 'number') {\n // Developers should not use a number, but we are using the prop type\n // both for user provided colors and for transformed ones. This isn't ideal\n // and should be fixed but will do for now...\n return;\n }\n\n if (typeof color === 'string' && normalizeColor(color) === null) {\n return new Error(\n 'Invalid ' +\n location +\n ' `' +\n (propFullName || propName) +\n '` supplied to `' +\n componentName +\n '`: ' +\n color +\n '\\n' +\n `Valid color formats are\n - '#f0f' (#rgb)\n - '#f0fc' (#rgba)\n - '#ff00ff' (#rrggbb)\n - '#ff00ff00' (#rrggbbaa)\n - 'rgb(255, 255, 255)'\n - 'rgba(255, 255, 255, 1.0)'\n - 'hsl(360, 100%, 100%)'\n - 'hsla(360, 100%, 100%, 1.0)'\n - 'transparent'\n - 'red'\n - 0xff00ff00 (0xrrggbbaa)\n`,\n );\n }\n};\n\nconst ColorPropType = colorPropType.bind(null, false /* isRequired */);\nColorPropType.isRequired = colorPropType.bind(null, true /* isRequired */);\n\nmodule.exports = ColorPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst DeprecatedEdgeInsetsPropType = PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n bottom: PropTypes.number,\n right: PropTypes.number,\n});\n\nmodule.exports = DeprecatedEdgeInsetsPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedImageSourcePropType = require('./DeprecatedImageSourcePropType');\nconst DeprecatedImageStylePropTypes = require('./DeprecatedImageStylePropTypes');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\n\nmodule.exports = {\n style: DeprecatedStyleSheetPropType(DeprecatedImageStylePropTypes),\n source: DeprecatedImageSourcePropType,\n defaultSource: PropTypes.oneOfType([\n PropTypes.shape({\n uri: PropTypes.string,\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n }),\n PropTypes.number,\n ]),\n\n accessible: PropTypes.bool,\n\n accessibilityLabel: PropTypes.node,\n\n blurRadius: PropTypes.number,\n\n capInsets: DeprecatedEdgeInsetsPropType,\n\n resizeMethod: PropTypes.oneOf(['auto', 'resize', 'scale']),\n\n resizeMode: PropTypes.oneOf([\n 'cover',\n 'contain',\n 'stretch',\n 'repeat',\n 'center',\n ]),\n\n testID: PropTypes.string,\n\n onLayout: PropTypes.func,\n\n onLoadStart: PropTypes.func,\n\n onProgress: PropTypes.func,\n\n onError: PropTypes.func,\n\n onPartialLoad: PropTypes.func,\n\n onLoad: PropTypes.func,\n\n onLoadEnd: PropTypes.func,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst deprecatedCreateStrictShapeTypeChecker = require('./deprecatedCreateStrictShapeTypeChecker');\n\nfunction DeprecatedStyleSheetPropType(shape) {\n const shapePropType = deprecatedCreateStrictShapeTypeChecker(shape);\n return function(props, propName, componentName, location, ...rest) {\n let newProps = props;\n if (props[propName]) {\n // Just make a dummy prop object with only the flattened style\n newProps = {};\n newProps[propName] = flattenStyle(props[propName]);\n }\n return shapePropType(newProps, propName, componentName, location, ...rest);\n };\n}\n\nfunction flattenStyle(style) {\n if (style === null || typeof style !== 'object') {\n return undefined;\n }\n\n if (!Array.isArray(style)) {\n return style;\n }\n\n const result = {};\n for (let i = 0, styleLength = style.length; i < styleLength; ++i) {\n const computedStyle = flattenStyle(style[i]);\n if (computedStyle) {\n for (const key in computedStyle) {\n result[key] = computedStyle[key];\n }\n }\n }\n return result;\n}\n\nmodule.exports = DeprecatedStyleSheetPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst invariant = require('invariant');\n\nfunction deprecatedCreateStrictShapeTypeChecker(shapeTypes) {\n function checkType(\n isRequired,\n props,\n propName,\n componentName,\n location,\n ...rest\n ) {\n if (!props[propName]) {\n if (isRequired) {\n invariant(\n false,\n `Required object \\`${propName}\\` was not specified in ` +\n `\\`${componentName}\\`.`,\n );\n }\n return;\n }\n const propValue = props[propName];\n const propType = typeof propValue;\n const locationName = location || '(unknown)';\n if (propType !== 'object') {\n invariant(\n false,\n `Invalid ${locationName} \\`${propName}\\` of type \\`${propType}\\` ` +\n `supplied to \\`${componentName}\\`, expected \\`object\\`.`,\n );\n }\n // We need to check all keys in case some are required but missing from\n // props.\n const allKeys = {...props[propName], ...shapeTypes};\n for (const key in allKeys) {\n const checker = shapeTypes[key];\n if (!checker) {\n invariant(\n false,\n `Invalid props.${propName} key \\`${key}\\` supplied to \\`${componentName}\\`.` +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' +\n JSON.stringify(Object.keys(shapeTypes), null, ' '),\n );\n }\n const error = checker(propValue, key, componentName, location, ...rest);\n if (error) {\n invariant(\n false,\n error.message +\n '\\nBad object: ' +\n JSON.stringify(props[propName], null, ' '),\n );\n }\n }\n }\n function chainedCheckType(props, propName, componentName, location, ...rest) {\n return checkType(false, props, propName, componentName, location, ...rest);\n }\n chainedCheckType.isRequired = checkType.bind(null, true);\n return chainedCheckType;\n}\n\nmodule.exports = deprecatedCreateStrictShapeTypeChecker;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst ImageStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n resizeMode: ReactPropTypes.oneOf([\n 'center',\n 'contain',\n 'cover',\n 'repeat',\n 'stretch',\n ]),\n backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderWidth: ReactPropTypes.number,\n borderRadius: ReactPropTypes.number,\n overflow: ReactPropTypes.oneOf(['visible', 'hidden']),\n\n /**\n * Changes the color of all the non-transparent pixels to the tintColor.\n */\n tintColor: DeprecatedColorPropType,\n opacity: ReactPropTypes.number,\n /**\n * When the image has rounded corners, specifying an overlayColor will\n * cause the remaining space in the corners to be filled with a solid color.\n * This is useful in cases which are not supported by the Android\n * implementation of rounded corners:\n * - Certain resize modes, such as 'contain'\n * - Animated GIFs\n *\n * A typical way to use this prop is with images displayed on a solid\n * background and setting the `overlayColor` to the same color\n * as the background.\n *\n * For details of how this works under the hood, see\n * http://frescolib.org/docs/rounded-corners-and-circles.html\n *\n * @platform android\n */\n overlayColor: ReactPropTypes.string,\n\n // Android-Specific styles\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n};\n\nmodule.exports = ImageStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst LayoutPropTypes = {\n display: ReactPropTypes.oneOf(['none', 'flex']),\n width: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n height: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n start: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n end: ReactPropTypes.oneOfType([ReactPropTypes.number, ReactPropTypes.string]),\n top: ReactPropTypes.oneOfType([ReactPropTypes.number, ReactPropTypes.string]),\n left: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n right: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n bottom: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n minWidth: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n maxWidth: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n minHeight: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n maxHeight: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n margin: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginVertical: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginHorizontal: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginTop: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginBottom: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginLeft: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginRight: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginStart: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n marginEnd: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n padding: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingVertical: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingHorizontal: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingTop: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingBottom: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingLeft: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingRight: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingStart: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n paddingEnd: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderStartWidth: ReactPropTypes.number,\n borderEndWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n position: ReactPropTypes.oneOf(['absolute', 'relative']),\n flexDirection: ReactPropTypes.oneOf([\n 'row',\n 'row-reverse',\n 'column',\n 'column-reverse',\n ]),\n flexWrap: ReactPropTypes.oneOf(['wrap', 'nowrap', 'wrap-reverse']),\n justifyContent: ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'space-between',\n 'space-around',\n 'space-evenly',\n ]),\n alignItems: ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]),\n alignSelf: ReactPropTypes.oneOf([\n 'auto',\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'baseline',\n ]),\n alignContent: ReactPropTypes.oneOf([\n 'flex-start',\n 'flex-end',\n 'center',\n 'stretch',\n 'space-between',\n 'space-around',\n ]),\n overflow: ReactPropTypes.oneOf(['visible', 'hidden', 'scroll']),\n flex: ReactPropTypes.number,\n flexGrow: ReactPropTypes.number,\n flexShrink: ReactPropTypes.number,\n flexBasis: ReactPropTypes.oneOfType([\n ReactPropTypes.number,\n ReactPropTypes.string,\n ]),\n aspectRatio: ReactPropTypes.number,\n zIndex: ReactPropTypes.number,\n direction: ReactPropTypes.oneOf(['inherit', 'ltr', 'rtl']),\n};\n\nmodule.exports = LayoutPropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedShadowPropTypesIOS = {\n shadowColor: DeprecatedColorPropType,\n shadowOffset: ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }),\n shadowOpacity: ReactPropTypes.number,\n shadowRadius: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedShadowPropTypesIOS;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst ReactPropTypes = require('prop-types');\n\nconst TransformMatrixPropType = function(props, propName, componentName) {\n if (props[propName]) {\n return new Error(\n 'The transformMatrix style property is deprecated. ' +\n 'Use `transform: [{ matrix: ... }]` instead.',\n );\n }\n};\n\nconst DecomposedMatrixPropType = function(props, propName, componentName) {\n if (props[propName]) {\n return new Error(\n 'The decomposedMatrix style property is deprecated. ' +\n 'Use `transform: [...]` instead.',\n );\n }\n};\n\nconst DeprecatedTransformPropTypes = {\n transform: ReactPropTypes.arrayOf(\n ReactPropTypes.oneOfType([\n ReactPropTypes.shape({perspective: ReactPropTypes.number}),\n ReactPropTypes.shape({rotate: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateX: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateY: ReactPropTypes.string}),\n ReactPropTypes.shape({rotateZ: ReactPropTypes.string}),\n ReactPropTypes.shape({scale: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleX: ReactPropTypes.number}),\n ReactPropTypes.shape({scaleY: ReactPropTypes.number}),\n ReactPropTypes.shape({translateX: ReactPropTypes.number}),\n ReactPropTypes.shape({translateY: ReactPropTypes.number}),\n ReactPropTypes.shape({skewX: ReactPropTypes.string}),\n ReactPropTypes.shape({skewY: ReactPropTypes.string}),\n ]),\n ),\n transformMatrix: TransformMatrixPropType,\n decomposedMatrix: DecomposedMatrixPropType,\n scaleX: deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ),\n scaleY: deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ),\n rotation: deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ),\n translateX: deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ),\n translateY: deprecatedPropType(\n ReactPropTypes.number,\n 'Use the transform prop instead.',\n ),\n};\n\n/**\n * Adds a deprecation warning when the prop is used.\n */\nfunction deprecatedPropType(propType, explanation) {\n return function validate(props, propName, componentName, ...rest) {\n if (props[propName] !== undefined) {\n console.warn(\n `\\`${propName}\\` supplied to \\`${componentName}\\` has been deprecated. ${explanation}`,\n );\n }\n\n return propType(props, propName, componentName, ...rest);\n };\n}\n\nmodule.exports = DeprecatedTransformPropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst ImageURISourcePropType = PropTypes.shape({\n uri: PropTypes.string,\n bundle: PropTypes.string,\n method: PropTypes.string,\n headers: PropTypes.objectOf(PropTypes.string),\n body: PropTypes.string,\n cache: PropTypes.oneOf([\n 'default',\n 'reload',\n 'force-cache',\n 'only-if-cached',\n ]),\n width: PropTypes.number,\n height: PropTypes.number,\n scale: PropTypes.number,\n});\n\nconst ImageSourcePropType = PropTypes.oneOfType([\n ImageURISourcePropType,\n // Opaque type returned by require('./image.jpg')\n PropTypes.number,\n // Multiple sources\n PropTypes.arrayOf(ImageURISourcePropType),\n]);\n\nmodule.exports = ImageSourcePropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst PropTypes = require('prop-types');\n\nconst PointPropType = PropTypes.shape({\n x: PropTypes.number,\n y: PropTypes.number,\n});\n\nmodule.exports = PointPropType;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedTextPropTypes = require('./DeprecatedTextPropTypes');\nconst DeprecatedViewPropTypes = require('./DeprecatedViewPropTypes');\nconst PropTypes = require('prop-types');\n\nconst DataDetectorTypes = [\n 'phoneNumber',\n 'link',\n 'address',\n 'calendarEvent',\n 'none',\n 'all',\n];\n\nmodule.exports = {\n ...DeprecatedViewPropTypes,\n /**\n * Can tell `TextInput` to automatically capitalize certain characters.\n *\n * - `characters`: all characters.\n * - `words`: first letter of each word.\n * - `sentences`: first letter of each sentence (*default*).\n * - `none`: don't auto capitalize anything.\n */\n autoCapitalize: PropTypes.oneOf(['none', 'sentences', 'words', 'characters']),\n /**\n * Determines which content to suggest on auto complete, e.g.`username`.\n * To disable auto complete, use `off`.\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `username`\n * - `password`\n * - `email`\n * - `name`\n * - `tel`\n * - `street-address`\n * - `postal-code`\n * - `cc-number`\n * - `cc-csc`\n * - `cc-exp`\n * - `cc-exp-month`\n * - `cc-exp-year`\n * - `off`\n *\n * @platform android\n */\n autoCompleteType: PropTypes.oneOf([\n 'cc-csc',\n 'cc-exp',\n 'cc-exp-month',\n 'cc-exp-year',\n 'cc-number',\n 'email',\n 'name',\n 'password',\n 'postal-code',\n 'street-address',\n 'tel',\n 'username',\n 'off',\n ]),\n /**\n * If `false`, disables auto-correct. The default value is `true`.\n */\n autoCorrect: PropTypes.bool,\n /**\n * If `false`, disables spell-check style (i.e. red underlines).\n * The default value is inherited from `autoCorrect`.\n * @platform ios\n */\n spellCheck: PropTypes.bool,\n /**\n * If `true`, focuses the input on `componentDidMount`.\n * The default value is `false`.\n */\n autoFocus: PropTypes.bool,\n /**\n * Specifies whether fonts should scale to respect Text Size accessibility settings. The\n * default is `true`.\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * If `false`, text is not editable. The default value is `true`.\n */\n editable: PropTypes.bool,\n /**\n * Determines which keyboard to open, e.g.`numeric`.\n *\n * The following values work across platforms:\n *\n * - `default`\n * - `numeric`\n * - `number-pad`\n * - `decimal-pad`\n * - `email-address`\n * - `phone-pad`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `ascii-capable`\n * - `numbers-and-punctuation`\n * - `url`\n * - `name-phone-pad`\n * - `twitter`\n * - `web-search`\n * - `ascii-capable-number-pad`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `visible-password`\n */\n keyboardType: PropTypes.oneOf([\n // Cross-platform\n 'default',\n 'email-address',\n 'numeric',\n 'phone-pad',\n 'number-pad',\n // iOS-only\n 'ascii-capable',\n 'numbers-and-punctuation',\n 'url',\n 'name-phone-pad',\n 'decimal-pad',\n 'twitter',\n 'web-search',\n // iOS 10+ only\n 'ascii-capable-number-pad',\n // Android-only\n 'visible-password',\n ]),\n /**\n * Determines the color of the keyboard.\n * @platform ios\n */\n keyboardAppearance: PropTypes.oneOf(['default', 'light', 'dark']),\n /**\n * Determines how the return key should look. On Android you can also use\n * `returnKeyLabel`.\n *\n * *Cross platform*\n *\n * The following values work across platforms:\n *\n * - `done`\n * - `go`\n * - `next`\n * - `search`\n * - `send`\n *\n * *Android Only*\n *\n * The following values work on Android only:\n *\n * - `none`\n * - `previous`\n *\n * *iOS Only*\n *\n * The following values work on iOS only:\n *\n * - `default`\n * - `emergency-call`\n * - `google`\n * - `join`\n * - `route`\n * - `yahoo`\n */\n returnKeyType: PropTypes.oneOf([\n // Cross-platform\n 'done',\n 'go',\n 'next',\n 'search',\n 'send',\n // Android-only\n 'none',\n 'previous',\n // iOS-only\n 'default',\n 'emergency-call',\n 'google',\n 'join',\n 'route',\n 'yahoo',\n ]),\n /**\n * Sets the return key to the label. Use it instead of `returnKeyType`.\n * @platform android\n */\n returnKeyLabel: PropTypes.string,\n /**\n * Limits the maximum number of characters that can be entered. Use this\n * instead of implementing the logic in JS to avoid flicker.\n */\n maxLength: PropTypes.number,\n /**\n * Sets the number of lines for a `TextInput`. Use it with multiline set to\n * `true` to be able to fill the lines.\n * @platform android\n */\n numberOfLines: PropTypes.number,\n /**\n * When `false`, if there is a small amount of space available around a text input\n * (e.g. landscape orientation on a phone), the OS may choose to have the user edit\n * the text inside of a full screen text input mode. When `true`, this feature is\n * disabled and users will always edit the text directly inside of the text input.\n * Defaults to `false`.\n * @platform android\n */\n disableFullscreenUI: PropTypes.bool,\n /**\n * If `true`, the keyboard disables the return key when there is no text and\n * automatically enables it when there is text. The default value is `false`.\n * @platform ios\n */\n enablesReturnKeyAutomatically: PropTypes.bool,\n /**\n * If `true`, the text input can be multiple lines.\n * The default value is `false`.\n */\n multiline: PropTypes.bool,\n /**\n * Set text break strategy on Android API Level 23+, possible values are `simple`, `highQuality`, `balanced`\n * The default value is `simple`.\n * @platform android\n */\n textBreakStrategy: PropTypes.oneOf(['simple', 'highQuality', 'balanced']),\n /**\n * Callback that is called when the text input is blurred.\n */\n onBlur: PropTypes.func,\n /**\n * Callback that is called when the text input is focused.\n */\n onFocus: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n */\n onChange: PropTypes.func,\n /**\n * Callback that is called when the text input's text changes.\n * Changed text is passed as an argument to the callback handler.\n */\n onChangeText: PropTypes.func,\n /**\n * Callback that is called when the text input's content size changes.\n * This will be called with\n * `{ nativeEvent: { contentSize: { width, height } } }`.\n *\n * Only called for multiline text inputs.\n */\n onContentSizeChange: PropTypes.func,\n onTextInput: PropTypes.func,\n /**\n * Callback that is called when text input ends.\n */\n onEndEditing: PropTypes.func,\n /**\n * Callback that is called when the text input selection is changed.\n * This will be called with\n * `{ nativeEvent: { selection: { start, end } } }`.\n */\n onSelectionChange: PropTypes.func,\n /**\n * Callback that is called when the text input's submit button is pressed.\n * Invalid if `multiline={true}` is specified.\n */\n onSubmitEditing: PropTypes.func,\n /**\n * Callback that is called when a key is pressed.\n * This will be called with `{ nativeEvent: { key: keyValue } }`\n * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and\n * the typed-in character otherwise including `' '` for space.\n * Fires before `onChange` callbacks.\n */\n onKeyPress: PropTypes.func,\n /**\n * Invoked on mount and layout changes with `{x, y, width, height}`.\n */\n onLayout: PropTypes.func,\n /**\n * Invoked on content scroll with `{ nativeEvent: { contentOffset: { x, y } } }`.\n * May also contain other properties from ScrollEvent but on Android contentSize\n * is not provided for performance reasons.\n */\n onScroll: PropTypes.func,\n /**\n * The string that will be rendered before text input has been entered.\n */\n placeholder: PropTypes.string,\n /**\n * The text color of the placeholder string.\n */\n placeholderTextColor: DeprecatedColorPropType,\n /**\n * If `false`, scrolling of the text view will be disabled.\n * The default value is `true`. Does only work with 'multiline={true}'.\n * @platform ios\n */\n scrollEnabled: PropTypes.bool,\n /**\n * If `true`, the text input obscures the text entered so that sensitive text\n * like passwords stay secure. The default value is `false`. Does not work with 'multiline={true}'.\n */\n secureTextEntry: PropTypes.bool,\n /**\n * The highlight and cursor color of the text input.\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * The start and end of the text input's selection. Set start and end to\n * the same value to position the cursor.\n */\n selection: PropTypes.shape({\n start: PropTypes.number.isRequired,\n end: PropTypes.number,\n }),\n /**\n * The value to show for the text input. `TextInput` is a controlled\n * component, which means the native value will be forced to match this\n * value prop if provided. For most uses, this works great, but in some\n * cases this may cause flickering - one common cause is preventing edits\n * by keeping value the same. In addition to simply setting the same value,\n * either set `editable={false}`, or set/update `maxLength` to prevent\n * unwanted edits without flicker.\n */\n value: PropTypes.string,\n /**\n * Provides an initial value that will change when the user starts typing.\n * Useful for simple use-cases where you do not want to deal with listening\n * to events and updating the value prop to keep the controlled state in sync.\n */\n defaultValue: PropTypes.string,\n /**\n * When the clear button should appear on the right side of the text view.\n * This property is supported only for single-line TextInput component.\n * @platform ios\n */\n clearButtonMode: PropTypes.oneOf([\n 'never',\n 'while-editing',\n 'unless-editing',\n 'always',\n ]),\n /**\n * If `true`, clears the text field automatically when editing begins.\n * @platform ios\n */\n clearTextOnFocus: PropTypes.bool,\n /**\n * If `true`, all text will automatically be selected on focus.\n */\n selectTextOnFocus: PropTypes.bool,\n /**\n * If `true`, the text field will blur when submitted.\n * The default value is true for single-line fields and false for\n * multiline fields. Note that for multiline fields, setting `blurOnSubmit`\n * to `true` means that pressing return will blur the field and trigger the\n * `onSubmitEditing` event instead of inserting a newline into the field.\n */\n blurOnSubmit: PropTypes.bool,\n /**\n * Note that not all Text styles are supported, an incomplete list of what is not supported includes:\n *\n * - `borderLeftWidth`\n * - `borderTopWidth`\n * - `borderRightWidth`\n * - `borderBottomWidth`\n * - `borderTopLeftRadius`\n * - `borderTopRightRadius`\n * - `borderBottomRightRadius`\n * - `borderBottomLeftRadius`\n *\n * see [Issue#7070](https://github.com/facebook/react-native/issues/7070)\n * for more detail.\n *\n * [Styles](docs/style.html)\n */\n style: DeprecatedTextPropTypes.style,\n /**\n * The color of the `TextInput` underline.\n * @platform android\n */\n underlineColorAndroid: DeprecatedColorPropType,\n\n /**\n * If defined, the provided image resource will be rendered on the left.\n * The image resource must be inside `/android/app/src/main/res/drawable` and referenced\n * like\n * ```\n * \n * ```\n * @platform android\n */\n inlineImageLeft: PropTypes.string,\n\n /**\n * Padding between the inline image, if any, and the text input itself.\n * @platform android\n */\n inlineImagePadding: PropTypes.number,\n\n /**\n * If `true`, allows TextInput to pass touch events to the parent component.\n * This allows components such as SwipeableListView to be swipeable from the TextInput on iOS,\n * as is the case on Android by default.\n * If `false`, TextInput always asks to handle the input (except when disabled).\n * @platform ios\n */\n rejectResponderTermination: PropTypes.bool,\n\n /**\n * Determines the types of data converted to clickable URLs in the text input.\n * Only valid if `multiline={true}` and `editable={false}`.\n * By default no data types are detected.\n *\n * You can provide one type or an array of many types.\n *\n * Possible values for `dataDetectorTypes` are:\n *\n * - `'phoneNumber'`\n * - `'link'`\n * - `'address'`\n * - `'calendarEvent'`\n * - `'none'`\n * - `'all'`\n *\n * @platform ios\n */\n dataDetectorTypes: PropTypes.oneOfType([\n PropTypes.oneOf(DataDetectorTypes),\n PropTypes.arrayOf(PropTypes.oneOf(DataDetectorTypes)),\n ]),\n /**\n * If `true`, caret is hidden. The default value is `false`.\n * This property is supported only for single-line TextInput component on iOS.\n */\n caretHidden: PropTypes.bool,\n /*\n * If `true`, contextMenuHidden is hidden. The default value is `false`.\n */\n contextMenuHidden: PropTypes.bool,\n /**\n * An optional identifier which links a custom InputAccessoryView to\n * this text input. The InputAccessoryView is rendered above the\n * keyboard when this text input is focused.\n * @platform ios\n */\n inputAccessoryViewID: PropTypes.string,\n /**\n * Give the keyboard and the system information about the\n * expected semantic meaning for the content that users enter.\n * @platform ios\n */\n textContentType: PropTypes.oneOf([\n 'none',\n 'URL',\n 'addressCity',\n 'addressCityAndState',\n 'addressState',\n 'countryName',\n 'creditCardNumber',\n 'emailAddress',\n 'familyName',\n 'fullStreetAddress',\n 'givenName',\n 'jobTitle',\n 'location',\n 'middleName',\n 'name',\n 'namePrefix',\n 'nameSuffix',\n 'nickname',\n 'organizationName',\n 'postalCode',\n 'streetAddressLine1',\n 'streetAddressLine2',\n 'sublocality',\n 'telephoneNumber',\n 'username',\n 'password',\n 'newPassword',\n 'oneTimeCode',\n ]),\n /**\n * When `false`, it will prevent the soft keyboard from showing when the field is focused.\n * Defaults to `true`.\n */\n showSoftInputOnFocus: PropTypes.bool,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst PropTypes = require('prop-types');\n\nconst {DeprecatedAccessibilityRoles} = require('./DeprecatedViewAccessibility');\n\nconst stylePropType = DeprecatedStyleSheetPropType(\n DeprecatedViewStylePropTypes,\n);\n\nmodule.exports = {\n /**\n * When `true`, indicates that the view is an accessibility element.\n * By default, all the touchable elements are accessible.\n *\n * See https://reactnative.dev/docs/view.html#accessible\n */\n accessible: PropTypes.bool,\n\n /**\n * Overrides the text that's read by the screen reader when the user interacts\n * with the element. By default, the label is constructed by traversing all\n * the children and accumulating all the `Text` nodes separated by space.\n *\n * See https://reactnative.dev/docs/view.html#accessibilitylabel\n */\n accessibilityLabel: PropTypes.node,\n\n /**\n * An accessibility hint helps users understand what will happen when they perform\n * an action on the accessibility element when that result is not obvious from the\n * accessibility label.\n *\n *\n * See https://reactnative.dev/docs/view.html#accessibilityHint\n */\n accessibilityHint: PropTypes.string,\n\n /**\n * Provides an array of custom actions available for accessibility.\n *\n * @platform ios\n */\n accessibilityActions: PropTypes.arrayOf(PropTypes.string),\n\n /**\n * Prevents view from being inverted if set to true and color inversion is turned on.\n *\n * @platform ios\n */\n accessibilityIgnoresInvertColors: PropTypes.bool,\n\n /**\n * Indicates to accessibility services to treat UI component like a specific role.\n */\n accessibilityRole: PropTypes.oneOf(DeprecatedAccessibilityRoles),\n\n accessibilityState: PropTypes.object,\n accessibilityValue: PropTypes.object,\n /**\n * Indicates to accessibility services whether the user should be notified\n * when this view changes. Works for Android API >= 19 only.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#accessibilityliveregion\n */\n accessibilityLiveRegion: PropTypes.oneOf(['none', 'polite', 'assertive']),\n\n /**\n * Controls how view is important for accessibility which is if it\n * fires accessibility events and if it is reported to accessibility services\n * that query the screen. Works for Android only.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#importantforaccessibility\n */\n importantForAccessibility: PropTypes.oneOf([\n 'auto',\n 'yes',\n 'no',\n 'no-hide-descendants',\n ]),\n\n /**\n * A value indicating whether VoiceOver should ignore the elements\n * within views that are siblings of the receiver.\n * Default is `false`.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#accessibilityviewismodal\n */\n accessibilityViewIsModal: PropTypes.bool,\n\n /**\n * A value indicating whether the accessibility elements contained within\n * this accessibility element are hidden.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#accessibilityElementsHidden\n */\n accessibilityElementsHidden: PropTypes.bool,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs an accessibility custom action.\n *\n * @platform ios\n */\n onAccessibilityAction: PropTypes.func,\n\n /**\n * When `accessible` is true, the system will try to invoke this function\n * when the user performs accessibility tap gesture.\n *\n * See https://reactnative.dev/docs/view.html#onaccessibilitytap\n */\n onAccessibilityTap: PropTypes.func,\n\n /**\n * When `accessible` is `true`, the system will invoke this function when the\n * user performs the magic tap gesture.\n *\n * See https://reactnative.dev/docs/view.html#onmagictap\n */\n onMagicTap: PropTypes.func,\n\n /**\n * Used to locate this view in end-to-end tests.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See https://reactnative.dev/docs/view.html#testid\n */\n testID: PropTypes.string,\n\n /**\n * Used to locate this view from native classes.\n *\n * > This disables the 'layout-only view removal' optimization for this view!\n *\n * See https://reactnative.dev/docs/view.html#nativeid\n */\n nativeID: PropTypes.string,\n\n /**\n * For most touch interactions, you'll simply want to wrap your component in\n * `TouchableHighlight` or `TouchableOpacity`. Check out `Touchable.js`,\n * `ScrollResponder.js` and `ResponderEventPlugin.js` for more discussion.\n */\n\n /**\n * The View is now responding for touch events. This is the time to highlight\n * and show the user what is happening.\n *\n * `View.props.onResponderGrant: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onrespondergrant\n */\n onResponderGrant: PropTypes.func,\n\n /**\n * The user is moving their finger.\n *\n * `View.props.onResponderMove: (event) => {}`, where `event` is a synthetic\n * touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onrespondermove\n */\n onResponderMove: PropTypes.func,\n\n /**\n * Another responder is already active and will not release it to that `View`\n * asking to be the responder.\n *\n * `View.props.onResponderReject: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderreject\n */\n onResponderReject: PropTypes.func,\n\n /**\n * Fired at the end of the touch.\n *\n * `View.props.onResponderRelease: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderrelease\n */\n onResponderRelease: PropTypes.func,\n\n /**\n * The responder has been taken from the `View`. Might be taken by other\n * views after a call to `onResponderTerminationRequest`, or might be taken\n * by the OS without asking (e.g., happens with control center/ notification\n * center on iOS)\n *\n * `View.props.onResponderTerminate: (event) => {}`, where `event` is a\n * synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderterminate\n */\n onResponderTerminate: PropTypes.func,\n\n /**\n * Some other `View` wants to become responder and is asking this `View` to\n * release its responder. Returning `true` allows its release.\n *\n * `View.props.onResponderTerminationRequest: (event) => {}`, where `event`\n * is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onresponderterminationrequest\n */\n onResponderTerminationRequest: PropTypes.func,\n\n /**\n * Does this view want to become responder on the start of a touch?\n *\n * `View.props.onStartShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onstartshouldsetresponder\n */\n onStartShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a touch start, it should have this handler which returns `true`.\n *\n * `View.props.onStartShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onstartshouldsetrespondercapture\n */\n onStartShouldSetResponderCapture: PropTypes.func,\n\n /**\n * Does this view want to \"claim\" touch responsiveness? This is called for\n * every touch move on the `View` when it is not the responder.\n *\n * `View.props.onMoveShouldSetResponder: (event) => [true | false]`, where\n * `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onmoveshouldsetresponder\n */\n onMoveShouldSetResponder: PropTypes.func,\n\n /**\n * If a parent `View` wants to prevent a child `View` from becoming responder\n * on a move, it should have this handler which returns `true`.\n *\n * `View.props.onMoveShouldSetResponderCapture: (event) => [true | false]`,\n * where `event` is a synthetic touch event as described above.\n *\n * See https://reactnative.dev/docs/view.html#onMoveShouldsetrespondercapture\n */\n onMoveShouldSetResponderCapture: PropTypes.func,\n\n /**\n * This defines how far a touch event can start away from the view.\n * Typical interface guidelines recommend touch targets that are at least\n * 30 - 40 points/density-independent pixels.\n *\n * > The touch area never extends past the parent view bounds and the Z-index\n * > of sibling views always takes precedence if a touch hits two overlapping\n * > views.\n *\n * See https://reactnative.dev/docs/view.html#hitslop\n */\n hitSlop: DeprecatedEdgeInsetsPropType,\n\n /**\n * Invoked on mount and layout changes with:\n *\n * `{nativeEvent: { layout: {x, y, width, height}}}`\n *\n * This event is fired immediately once the layout has been calculated, but\n * the new layout may not yet be reflected on the screen at the time the\n * event is received, especially if a layout animation is in progress.\n *\n * See https://reactnative.dev/docs/view.html#onlayout\n */\n onLayout: PropTypes.func,\n\n /**\n * Controls whether the `View` can be the target of touch events.\n *\n * See https://reactnative.dev/docs/view.html#pointerevents\n */\n pointerEvents: PropTypes.oneOf(['box-none', 'none', 'box-only', 'auto']),\n\n /**\n * See https://reactnative.dev/docs/style.html\n */\n style: stylePropType,\n\n /**\n * This is a special performance property exposed by `RCTView` and is useful\n * for scrolling content when there are many subviews, most of which are\n * offscreen. For this property to be effective, it must be applied to a\n * view that contains many subviews that extend outside its bound. The\n * subviews must also have `overflow: hidden`, as should the containing view\n * (or one of its superviews).\n *\n * See https://reactnative.dev/docs/view.html#removeclippedsubviews\n */\n removeClippedSubviews: PropTypes.bool,\n\n /**\n * Whether this `View` should render itself (and all of its children) into a\n * single hardware texture on the GPU.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#rendertohardwaretextureandroid\n */\n renderToHardwareTextureAndroid: PropTypes.bool,\n\n /**\n * Whether this `View` should be rendered as a bitmap before compositing.\n *\n * @platform ios\n *\n * See https://reactnative.dev/docs/view.html#shouldrasterizeios\n */\n shouldRasterizeIOS: PropTypes.bool,\n\n /**\n * Views that are only used to layout their children or otherwise don't draw\n * anything may be automatically removed from the native hierarchy as an\n * optimization. Set this property to `false` to disable this optimization and\n * ensure that this `View` exists in the native view hierarchy.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#collapsable\n */\n collapsable: PropTypes.bool,\n\n /**\n * Whether this `View` needs to rendered offscreen and composited with an\n * alpha in order to preserve 100% correct colors and blending behavior.\n *\n * @platform android\n *\n * See https://reactnative.dev/docs/view.html#needsoffscreenalphacompositing\n */\n needsOffscreenAlphaCompositing: PropTypes.bool,\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedLayoutPropTypes = require('./DeprecatedLayoutPropTypes');\nconst DeprecatedShadowPropTypesIOS = require('./DeprecatedShadowPropTypesIOS');\nconst DeprecatedTransformPropTypes = require('./DeprecatedTransformPropTypes');\nconst ReactPropTypes = require('prop-types');\n\n/**\n * Warning: Some of these properties may not be supported in all releases.\n */\nconst DeprecatedViewStylePropTypes = {\n ...DeprecatedLayoutPropTypes,\n ...DeprecatedShadowPropTypesIOS,\n ...DeprecatedTransformPropTypes,\n backfaceVisibility: ReactPropTypes.oneOf(['visible', 'hidden']),\n backgroundColor: DeprecatedColorPropType,\n borderColor: DeprecatedColorPropType,\n borderTopColor: DeprecatedColorPropType,\n borderRightColor: DeprecatedColorPropType,\n borderBottomColor: DeprecatedColorPropType,\n borderLeftColor: DeprecatedColorPropType,\n borderStartColor: DeprecatedColorPropType,\n borderEndColor: DeprecatedColorPropType,\n borderRadius: ReactPropTypes.number,\n borderTopLeftRadius: ReactPropTypes.number,\n borderTopRightRadius: ReactPropTypes.number,\n borderTopStartRadius: ReactPropTypes.number,\n borderTopEndRadius: ReactPropTypes.number,\n borderBottomLeftRadius: ReactPropTypes.number,\n borderBottomRightRadius: ReactPropTypes.number,\n borderBottomStartRadius: ReactPropTypes.number,\n borderBottomEndRadius: ReactPropTypes.number,\n borderStyle: ReactPropTypes.oneOf(['solid', 'dotted', 'dashed']),\n borderWidth: ReactPropTypes.number,\n borderTopWidth: ReactPropTypes.number,\n borderRightWidth: ReactPropTypes.number,\n borderBottomWidth: ReactPropTypes.number,\n borderLeftWidth: ReactPropTypes.number,\n opacity: ReactPropTypes.number,\n /**\n * (Android-only) Sets the elevation of a view, using Android's underlying\n * [elevation API](https://developer.android.com/training/material/shadows-clipping.html#Elevation).\n * This adds a drop shadow to the item and affects z-order for overlapping views.\n * Only supported on Android 5.0+, has no effect on earlier versions.\n * @platform android\n */\n elevation: ReactPropTypes.number,\n};\n\nmodule.exports = DeprecatedViewStylePropTypes;\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nmodule.exports = {\n // This must be kept in sync with the AccessibilityRolesMask in RCTViewManager.m\n DeprecatedAccessibilityRoles: [\n 'none',\n 'button',\n 'togglebutton',\n 'link',\n 'search',\n 'image',\n 'keyboardkey',\n 'text',\n 'adjustable',\n 'imagebutton',\n 'header',\n 'summary',\n 'alert',\n 'checkbox',\n 'combobox',\n 'menu',\n 'menubar',\n 'menuitem',\n 'progressbar',\n 'radio',\n 'radiogroup',\n 'scrollbar',\n 'spinbutton',\n 'switch',\n 'tab',\n 'tablist',\n 'timer',\n 'toolbar',\n ],\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedEdgeInsetsPropType = require('./DeprecatedEdgeInsetsPropType');\nconst DeprecatedStyleSheetPropType = require('./DeprecatedStyleSheetPropType');\nconst PropTypes = require('prop-types');\nconst DeprecatedTextStylePropTypes = require('./DeprecatedTextStylePropTypes');\n\nconst stylePropType = DeprecatedStyleSheetPropType(\n DeprecatedTextStylePropTypes,\n);\n\nconst DataDetectorTypes = ['phoneNumber', 'link', 'email', 'none', 'all'];\n\nmodule.exports = {\n /**\n * When `numberOfLines` is set, this prop defines how text will be\n * truncated.\n *\n * See https://reactnative.dev/docs/text.html#ellipsizemode\n */\n ellipsizeMode: PropTypes.oneOf(['head', 'middle', 'tail', 'clip']),\n /**\n * Used to truncate the text with an ellipsis.\n *\n * See https://reactnative.dev/docs/text.html#numberoflines\n */\n numberOfLines: PropTypes.number,\n /**\n * Set text break strategy on Android.\n *\n * See https://reactnative.dev/docs/text.html#textbreakstrategy\n */\n textBreakStrategy: PropTypes.oneOf(['simple', 'highQuality', 'balanced']),\n /**\n * Invoked on mount and layout changes.\n *\n * See https://reactnative.dev/docs/text.html#onlayout\n */\n onLayout: PropTypes.func,\n /**\n * This function is called on press.\n *\n * See https://reactnative.dev/docs/text.html#onpress\n */\n onPress: PropTypes.func,\n /**\n * This function is called on long press.\n *\n * See https://reactnative.dev/docs/text.html#onlongpress\n */\n onLongPress: PropTypes.func,\n /**\n * Defines how far your touch may move off of the button, before\n * deactivating the button.\n *\n * See https://reactnative.dev/docs/text.html#pressretentionoffset\n */\n pressRetentionOffset: DeprecatedEdgeInsetsPropType,\n /**\n * Lets the user select text.\n *\n * See https://reactnative.dev/docs/text.html#selectable\n */\n selectable: PropTypes.bool,\n /**\n * The highlight color of the text.\n *\n * See https://reactnative.dev/docs/text.html#selectioncolor\n */\n selectionColor: DeprecatedColorPropType,\n /**\n * When `true`, no visual change is made when text is pressed down.\n *\n * See https://reactnative.dev/docs/text.html#supperhighlighting\n */\n suppressHighlighting: PropTypes.bool,\n style: stylePropType,\n /**\n * Used to locate this view in end-to-end tests.\n *\n * See https://reactnative.dev/docs/text.html#testid\n */\n testID: PropTypes.string,\n /**\n * Used to locate this view from native code.\n *\n * See https://reactnative.dev/docs/text.html#nativeid\n */\n nativeID: PropTypes.string,\n /**\n * Whether fonts should scale to respect Text Size accessibility settings.\n *\n * See https://reactnative.dev/docs/text.html#allowfontscaling\n */\n allowFontScaling: PropTypes.bool,\n /**\n * Specifies largest possible scale a font can reach when `allowFontScaling` is enabled.\n * Possible values:\n * `null/undefined` (default): inherit from the parent node or the global default (0)\n * `0`: no max, ignore parent/global default\n * `>= 1`: sets the maxFontSizeMultiplier of this node to this value\n */\n maxFontSizeMultiplier: PropTypes.number,\n /**\n * Indicates whether the view is an accessibility element.\n *\n * See https://reactnative.dev/docs/text.html#accessible\n */\n accessible: PropTypes.bool,\n /**\n * Whether font should be scaled down automatically.\n *\n * See https://reactnative.dev/docs/text.html#adjustsfontsizetofit\n */\n adjustsFontSizeToFit: PropTypes.bool,\n /**\n * Smallest possible scale a font can reach.\n *\n * See https://reactnative.dev/docs/text.html#minimumfontscale\n */\n minimumFontScale: PropTypes.number,\n /**\n * Specifies the disabled state of the text view for testing purposes.\n *\n * See https://reactnative.dev/docs/text.html#disabled\n */\n disabled: PropTypes.bool,\n /**\n * Determines the types of data converted to clickable URLs in text.\n *\n * See https://reactnative.dev/docs/text.html#dataDetectorType\n */\n dataDetectorType: PropTypes.oneOf(DataDetectorTypes),\n};\n","/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n'use strict';\n\nconst DeprecatedColorPropType = require('./DeprecatedColorPropType');\nconst DeprecatedViewStylePropTypes = require('./DeprecatedViewStylePropTypes');\nconst ReactPropTypes = require('prop-types');\n\nconst DeprecatedTextStylePropTypes = {\n ...DeprecatedViewStylePropTypes,\n\n color: DeprecatedColorPropType,\n fontFamily: ReactPropTypes.string,\n fontSize: ReactPropTypes.number,\n fontStyle: ReactPropTypes.oneOf(['normal', 'italic']),\n /**\n * Specifies font weight. The values 'normal' and 'bold' are supported for\n * most fonts. Not all fonts have a variant for each of the numeric values,\n * in that case the closest one is chosen.\n */\n fontWeight: ReactPropTypes.oneOf([\n 'normal' /*default*/,\n 'bold',\n '100',\n '200',\n '300',\n '400',\n '500',\n '600',\n '700',\n '800',\n '900',\n ]),\n fontVariant: ReactPropTypes.arrayOf(\n ReactPropTypes.oneOf([\n 'small-caps',\n 'oldstyle-nums',\n 'lining-nums',\n 'tabular-nums',\n 'proportional-nums',\n ]),\n ),\n textShadowOffset: ReactPropTypes.shape({\n width: ReactPropTypes.number,\n height: ReactPropTypes.number,\n }),\n textShadowRadius: ReactPropTypes.number,\n textShadowColor: DeprecatedColorPropType,\n /**\n * @platform ios\n */\n letterSpacing: ReactPropTypes.number,\n lineHeight: ReactPropTypes.number,\n /**\n * Specifies text alignment. The value 'justify' is only supported on iOS and\n * fallbacks to `left` on Android.\n */\n textAlign: ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'left',\n 'right',\n 'center',\n 'justify',\n ]),\n /**\n * @platform android\n */\n textAlignVertical: ReactPropTypes.oneOf([\n 'auto' /*default*/,\n 'top',\n 'bottom',\n 'center',\n ]),\n /**\n * Set to `false` to remove extra font padding intended to make space for certain ascenders / descenders.\n * With some fonts, this padding can make text look slightly misaligned when centered vertically.\n * For best results also set `textAlignVertical` to `center`. Default is true.\n * @platform android\n */\n includeFontPadding: ReactPropTypes.bool,\n textDecorationLine: ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'underline',\n 'line-through',\n 'underline line-through',\n ]),\n /**\n * @platform ios\n */\n textDecorationStyle: ReactPropTypes.oneOf([\n 'solid' /*default*/,\n 'double',\n 'dotted',\n 'dashed',\n ]),\n /**\n * @platform ios\n */\n textDecorationColor: DeprecatedColorPropType,\n textTransform: ReactPropTypes.oneOf([\n 'none' /*default*/,\n 'capitalize',\n 'uppercase',\n 'lowercase',\n ]),\n /**\n * @platform ios\n */\n writingDirection: ReactPropTypes.oneOf(['auto' /*default*/, 'ltr', 'rtl']),\n};\n\nmodule.exports = DeprecatedTextStylePropTypes;\n","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\nimport React, {Component} from 'react';\nimport {\n View,\n PanResponder\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {ViewPropTypes} from 'deprecated-react-native-prop-types';\nexport default class DoubleTapView extends Component {\n\n static propTypes = {\n ...ViewPropTypes,\n delay: PropTypes.number,\n radius: PropTypes.number,\n onSingleTap: PropTypes.func,\n onDoubleTap: PropTypes.func,\n };\n\n static defaultProps = {\n delay: 300,\n radius: 50,\n onSingleTap: () => {\n },\n onDoubleTap: () => {\n },\n };\n\n constructor() {\n super();\n\n this.gestureHandlers = PanResponder.create({\n onStartShouldSetPanResponder: (evt, gestureState) => (gestureState.numberActiveTouches === 1),\n onStartShouldSetResponderCapture: (evt, gestureState) => (gestureState.numberActiveTouches === 1),\n onMoveShouldSetPanResponder: (evt, gestureState) => (false),\n onMoveShouldSetResponderCapture: (evt, gestureState) => (false),\n onPanResponderTerminationRequest: (evt, gestureState) => false,\n onPanResponderRelease: this.handlePanResponderRelease,\n\n });\n\n this.prevTouchInfo = {\n prevTouchX: 0,\n prevTouchY: 0,\n prevTouchTimeStamp: 0,\n };\n\n this.timer = null;\n\n }\n\n\n distance = (x0, y0, x1, y1) => {\n return Math.sqrt(Math.pow((x1 - x0), 2) + Math.pow((y1 - y0), 2)).toFixed(1);\n };\n\n isDoubleTap = (currentTouchTimeStamp, {x0, y0}) => {\n const {prevTouchX, prevTouchY, prevTouchTimeStamp} = this.prevTouchInfo;\n const dt = currentTouchTimeStamp - prevTouchTimeStamp;\n const {delay, radius} = this.props;\n\n return (prevTouchTimeStamp > 0 && dt < delay && this.distance(prevTouchX, prevTouchY, x0, y0) < radius);\n };\n\n handlePanResponderRelease = (evt, gestureState) => {\n\n const currentTouchTimeStamp = Date.now();\n const x = evt.nativeEvent.locationX;\n const y = evt.nativeEvent.locationY; \n\n if (this.timer) {\n\n if (this.isDoubleTap(currentTouchTimeStamp, gestureState)) {\n\n clearTimeout(this.timer);\n this.timer = null;\n this.props.onDoubleTap();\n\n } else {\n\n const {prevTouchX, prevTouchY, prevTouchTimeStamp} = this.prevTouchInfo;\n const {radius} = this.props;\n\n // if not in radius, it's a move\n if (this.distance(prevTouchX, prevTouchY, gestureState.x0, gestureState.y0) < radius) {\n this.timer = null;\n this.props.onSingleTap(x, y);\n }\n\n }\n } else {\n // do not count scroll gestures as taps\n if (this.distance(0, gestureState.dx, 0, gestureState.dy) < 10) {\n\n this.timer = setTimeout(() => {\n this.props.onSingleTap(x, y);\n this.timer = null;\n }, this.props.delay);\n }\n }\n\n\n this.prevTouchInfo = {\n prevTouchX: gestureState.x0,\n prevTouchY: gestureState.y0,\n prevTouchTimeStamp: currentTouchTimeStamp,\n };\n\n };\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n View,\n StyleSheet,\n PanResponder\n} from 'react-native';\nimport {ViewPropTypes} from 'deprecated-react-native-prop-types';\nexport default class PinchZoomView extends Component {\n\n static propTypes = {\n ...ViewPropTypes,\n scalable: PropTypes.bool,\n onScaleChanged: PropTypes.func,\n };\n\n static defaultProps = {\n scalable: true,\n onScaleChanged: (scale) => {\n },\n };\n\n constructor(props) {\n\n super(props);\n this.state = {};\n this.distant = 0;\n this.gestureHandlers = PanResponder.create({\n onStartShouldSetPanResponder: this._handleStartShouldSetPanResponder,\n onMoveShouldSetResponderCapture: (evt, gestureState) => (true),\n onMoveShouldSetPanResponder: this._handleMoveShouldSetPanResponder,\n onPanResponderGrant: this._handlePanResponderGrant,\n onPanResponderMove: this._handlePanResponderMove,\n onPanResponderRelease: this._handlePanResponderEnd,\n onPanResponderTerminationRequest: evt => false,\n onPanResponderTerminate: this._handlePanResponderTerminate,\n onShouldBlockNativeResponder: evt => true\n });\n\n }\n\n _handleStartShouldSetPanResponder = (e, gestureState) => {\n\n // don't respond to single touch to avoid shielding click on child components\n return false;\n\n };\n\n _handleMoveShouldSetPanResponder = (e, gestureState) => {\n\n return this.props.scalable && (e.nativeEvent.changedTouches.length >= 2 || gestureState.numberActiveTouches >= 2);\n\n };\n\n _handlePanResponderGrant = (e, gestureState) => {\n\n if (e.nativeEvent.changedTouches.length >= 2 || gestureState.numberActiveTouches >= 2) {\n let dx = Math.abs(e.nativeEvent.touches[0].pageX - e.nativeEvent.touches[1].pageX);\n let dy = Math.abs(e.nativeEvent.touches[0].pageY - e.nativeEvent.touches[1].pageY);\n this.distant = Math.sqrt(dx * dx + dy * dy);\n }\n\n };\n\n _handlePanResponderEnd = (e, gestureState) => {\n\n this.distant = 0;\n\n };\n\n _handlePanResponderTerminate = (e, gestureState) => {\n\n this.distant = 0;\n\n };\n\n _handlePanResponderMove = (e, gestureState) => {\n\n if ((e.nativeEvent.changedTouches.length >= 2 || gestureState.numberActiveTouches >= 2) && this.distant > 100) {\n\n let dx = Math.abs(e.nativeEvent.touches[0].pageX - e.nativeEvent.touches[1].pageX);\n let dy = Math.abs(e.nativeEvent.touches[0].pageY - e.nativeEvent.touches[1].pageY);\n let distant = Math.sqrt(dx * dx + dy * dy);\n let scale = (distant / this.distant);\n let pageX = (e.nativeEvent.touches[0].pageX + e.nativeEvent.touches[1].pageX) / 2;\n let pageY = (e.nativeEvent.touches[0].pageY + e.nativeEvent.touches[1].pageY) / 2;\n let pinchInfo = {scale: scale, pageX: pageX, pageY: pageY};\n\n this.props.onScaleChanged(pinchInfo);\n this.distant = distant;\n\n }\n\n };\n\n render() {\n\n return (\n \n {this.props.children}\n \n );\n\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center'\n }\n});\n","/**\n * Copyright (c) 2017-present, Wonday (@wonday.org)\n * All rights reserved.\n *\n * This source code is licensed under the MIT-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\nimport React, {Component} from 'react';\nimport {\n FlatList,\n} from 'react-native';\n\nexport default class PdfViewFlatList extends FlatList {\n /**\n * Scrolls to a given x, y offset, either immediately or with a smooth animation.\n *\n * Example:\n *\n * `scrollTo({x: 0, y: 0, animated: true})`\n *\n * Note: The weird function signature is due to the fact that, for historical reasons,\n * the function also accepts separate arguments as an alternative to the options object.\n * This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.\n */\n scrollToXY = (x, y) => {\n this._listRef._scrollRef.scrollTo({x: x, y: y, animated: false});\n }\n\n}",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory(require(\"./core\"));\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([\"./core\"], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\tfactory(root.CryptoJS);\n\t}\n}(this, function (CryptoJS) {\n\n\t(function () {\n\t // Shortcuts\n\t var C = CryptoJS;\n\t var C_lib = C.lib;\n\t var WordArray = C_lib.WordArray;\n\t var Hasher = C_lib.Hasher;\n\t var C_algo = C.algo;\n\n\t // Reusable object\n\t var W = [];\n\n\t /**\n\t * SHA-1 hash algorithm.\n\t */\n\t var SHA1 = C_algo.SHA1 = Hasher.extend({\n\t _doReset: function () {\n\t this._hash = new WordArray.init([\n\t 0x67452301, 0xefcdab89,\n\t 0x98badcfe, 0x10325476,\n\t 0xc3d2e1f0\n\t ]);\n\t },\n\n\t _doProcessBlock: function (M, offset) {\n\t // Shortcut\n\t var H = this._hash.words;\n\n\t // Working variables\n\t var a = H[0];\n\t var b = H[1];\n\t var c = H[2];\n\t var d = H[3];\n\t var e = H[4];\n\n\t // Computation\n\t for (var i = 0; i < 80; i++) {\n\t if (i < 16) {\n\t W[i] = M[offset + i] | 0;\n\t } else {\n\t var n = W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16];\n\t W[i] = (n << 1) | (n >>> 31);\n\t }\n\n\t var t = ((a << 5) | (a >>> 27)) + e + W[i];\n\t if (i < 20) {\n\t t += ((b & c) | (~b & d)) + 0x5a827999;\n\t } else if (i < 40) {\n\t t += (b ^ c ^ d) + 0x6ed9eba1;\n\t } else if (i < 60) {\n\t t += ((b & c) | (b & d) | (c & d)) - 0x70e44324;\n\t } else /* if (i < 80) */ {\n\t t += (b ^ c ^ d) - 0x359d3e2a;\n\t }\n\n\t e = d;\n\t d = c;\n\t c = (b << 30) | (b >>> 2);\n\t b = a;\n\t a = t;\n\t }\n\n\t // Intermediate hash value\n\t H[0] = (H[0] + a) | 0;\n\t H[1] = (H[1] + b) | 0;\n\t H[2] = (H[2] + c) | 0;\n\t H[3] = (H[3] + d) | 0;\n\t H[4] = (H[4] + e) | 0;\n\t },\n\n\t _doFinalize: function () {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\n\t var nBitsTotal = this._nDataBytes * 8;\n\t var nBitsLeft = data.sigBytes * 8;\n\n\t // Add padding\n\t dataWords[nBitsLeft >>> 5] |= 0x80 << (24 - nBitsLeft % 32);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 14] = Math.floor(nBitsTotal / 0x100000000);\n\t dataWords[(((nBitsLeft + 64) >>> 9) << 4) + 15] = nBitsTotal;\n\t data.sigBytes = dataWords.length * 4;\n\n\t // Hash final blocks\n\t this._process();\n\n\t // Return final computed hash\n\t return this._hash;\n\t },\n\n\t clone: function () {\n\t var clone = Hasher.clone.call(this);\n\t clone._hash = this._hash.clone();\n\n\t return clone;\n\t }\n\t });\n\n\t /**\n\t * Shortcut function to the hasher's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hash = CryptoJS.SHA1('message');\n\t * var hash = CryptoJS.SHA1(wordArray);\n\t */\n\t C.SHA1 = Hasher._createHelper(SHA1);\n\n\t /**\n\t * Shortcut function to the HMAC's object interface.\n\t *\n\t * @param {WordArray|string} message The message to hash.\n\t * @param {WordArray|string} key The secret key.\n\t *\n\t * @return {WordArray} The HMAC.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hmac = CryptoJS.HmacSHA1(message, key);\n\t */\n\t C.HmacSHA1 = Hasher._createHmacHelper(SHA1);\n\t}());\n\n\n\treturn CryptoJS.SHA1;\n\n}));",";(function (root, factory) {\n\tif (typeof exports === \"object\") {\n\t\t// CommonJS\n\t\tmodule.exports = exports = factory();\n\t}\n\telse if (typeof define === \"function\" && define.amd) {\n\t\t// AMD\n\t\tdefine([], factory);\n\t}\n\telse {\n\t\t// Global (browser)\n\t\troot.CryptoJS = factory();\n\t}\n}(this, function () {\n\n\t/**\n\t * CryptoJS core components.\n\t */\n\tvar CryptoJS = CryptoJS || (function (Math, undefined) {\n\t /*\n\t * Local polyfil of Object.create\n\t */\n\t var create = Object.create || (function () {\n\t function F() {};\n\n\t return function (obj) {\n\t var subtype;\n\n\t F.prototype = obj;\n\n\t subtype = new F();\n\n\t F.prototype = null;\n\n\t return subtype;\n\t };\n\t }())\n\n\t /**\n\t * CryptoJS namespace.\n\t */\n\t var C = {};\n\n\t /**\n\t * Library namespace.\n\t */\n\t var C_lib = C.lib = {};\n\n\t /**\n\t * Base object for prototypal inheritance.\n\t */\n\t var Base = C_lib.Base = (function () {\n\n\n\t return {\n\t /**\n\t * Creates a new object that inherits from this object.\n\t *\n\t * @param {Object} overrides Properties to copy into the new object.\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * field: 'value',\n\t *\n\t * method: function () {\n\t * }\n\t * });\n\t */\n\t extend: function (overrides) {\n\t // Spawn\n\t var subtype = create(this);\n\n\t // Augment\n\t if (overrides) {\n\t subtype.mixIn(overrides);\n\t }\n\n\t // Create default initializer\n\t if (!subtype.hasOwnProperty('init') || this.init === subtype.init) {\n\t subtype.init = function () {\n\t subtype.$super.init.apply(this, arguments);\n\t };\n\t }\n\n\t // Initializer's prototype is the subtype object\n\t subtype.init.prototype = subtype;\n\n\t // Reference supertype\n\t subtype.$super = this;\n\n\t return subtype;\n\t },\n\n\t /**\n\t * Extends this object and runs the init method.\n\t * Arguments to create() will be passed to init().\n\t *\n\t * @return {Object} The new object.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var instance = MyType.create();\n\t */\n\t create: function () {\n\t var instance = this.extend();\n\t instance.init.apply(instance, arguments);\n\n\t return instance;\n\t },\n\n\t /**\n\t * Initializes a newly created object.\n\t * Override this method to add some logic when your objects are created.\n\t *\n\t * @example\n\t *\n\t * var MyType = CryptoJS.lib.Base.extend({\n\t * init: function () {\n\t * // ...\n\t * }\n\t * });\n\t */\n\t init: function () {\n\t },\n\n\t /**\n\t * Copies properties into this object.\n\t *\n\t * @param {Object} properties The properties to mix in.\n\t *\n\t * @example\n\t *\n\t * MyType.mixIn({\n\t * field: 'value'\n\t * });\n\t */\n\t mixIn: function (properties) {\n\t for (var propertyName in properties) {\n\t if (properties.hasOwnProperty(propertyName)) {\n\t this[propertyName] = properties[propertyName];\n\t }\n\t }\n\n\t // IE won't copy toString using the loop above\n\t if (properties.hasOwnProperty('toString')) {\n\t this.toString = properties.toString;\n\t }\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = instance.clone();\n\t */\n\t clone: function () {\n\t return this.init.prototype.extend(this);\n\t }\n\t };\n\t }());\n\n\t /**\n\t * An array of 32-bit words.\n\t *\n\t * @property {Array} words The array of 32-bit words.\n\t * @property {number} sigBytes The number of significant bytes in this word array.\n\t */\n\t var WordArray = C_lib.WordArray = Base.extend({\n\t /**\n\t * Initializes a newly created word array.\n\t *\n\t * @param {Array} words (Optional) An array of 32-bit words.\n\t * @param {number} sigBytes (Optional) The number of significant bytes in the words.\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.create();\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);\n\t * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);\n\t */\n\t init: function (words, sigBytes) {\n\t words = this.words = words || [];\n\n\t if (sigBytes != undefined) {\n\t this.sigBytes = sigBytes;\n\t } else {\n\t this.sigBytes = words.length * 4;\n\t }\n\t },\n\n\t /**\n\t * Converts this word array to a string.\n\t *\n\t * @param {Encoder} encoder (Optional) The encoding strategy to use. Default: CryptoJS.enc.Hex\n\t *\n\t * @return {string} The stringified word array.\n\t *\n\t * @example\n\t *\n\t * var string = wordArray + '';\n\t * var string = wordArray.toString();\n\t * var string = wordArray.toString(CryptoJS.enc.Utf8);\n\t */\n\t toString: function (encoder) {\n\t return (encoder || Hex).stringify(this);\n\t },\n\n\t /**\n\t * Concatenates a word array to this word array.\n\t *\n\t * @param {WordArray} wordArray The word array to append.\n\t *\n\t * @return {WordArray} This word array.\n\t *\n\t * @example\n\t *\n\t * wordArray1.concat(wordArray2);\n\t */\n\t concat: function (wordArray) {\n\t // Shortcuts\n\t var thisWords = this.words;\n\t var thatWords = wordArray.words;\n\t var thisSigBytes = this.sigBytes;\n\t var thatSigBytes = wordArray.sigBytes;\n\n\t // Clamp excess bits\n\t this.clamp();\n\n\t // Concat\n\t if (thisSigBytes % 4) {\n\t // Copy one byte at a time\n\t for (var i = 0; i < thatSigBytes; i++) {\n\t var thatByte = (thatWords[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t thisWords[(thisSigBytes + i) >>> 2] |= thatByte << (24 - ((thisSigBytes + i) % 4) * 8);\n\t }\n\t } else {\n\t // Copy one word at a time\n\t for (var i = 0; i < thatSigBytes; i += 4) {\n\t thisWords[(thisSigBytes + i) >>> 2] = thatWords[i >>> 2];\n\t }\n\t }\n\t this.sigBytes += thatSigBytes;\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Removes insignificant bits.\n\t *\n\t * @example\n\t *\n\t * wordArray.clamp();\n\t */\n\t clamp: function () {\n\t // Shortcuts\n\t var words = this.words;\n\t var sigBytes = this.sigBytes;\n\n\t // Clamp\n\t words[sigBytes >>> 2] &= 0xffffffff << (32 - (sigBytes % 4) * 8);\n\t words.length = Math.ceil(sigBytes / 4);\n\t },\n\n\t /**\n\t * Creates a copy of this word array.\n\t *\n\t * @return {WordArray} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = wordArray.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone.words = this.words.slice(0);\n\n\t return clone;\n\t },\n\n\t /**\n\t * Creates a word array filled with random bytes.\n\t *\n\t * @param {number} nBytes The number of random bytes to generate.\n\t *\n\t * @return {WordArray} The random word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.lib.WordArray.random(16);\n\t */\n\t random: function (nBytes) {\n\t var words = [];\n\n\t var r = (function (m_w) {\n\t var m_w = m_w;\n\t var m_z = 0x3ade68b1;\n\t var mask = 0xffffffff;\n\n\t return function () {\n\t m_z = (0x9069 * (m_z & 0xFFFF) + (m_z >> 0x10)) & mask;\n\t m_w = (0x4650 * (m_w & 0xFFFF) + (m_w >> 0x10)) & mask;\n\t var result = ((m_z << 0x10) + m_w) & mask;\n\t result /= 0x100000000;\n\t result += 0.5;\n\t return result * (Math.random() > .5 ? 1 : -1);\n\t }\n\t });\n\n\t for (var i = 0, rcache; i < nBytes; i += 4) {\n\t var _r = r((rcache || Math.random()) * 0x100000000);\n\n\t rcache = _r() * 0x3ade67b7;\n\t words.push((_r() * 0x100000000) | 0);\n\t }\n\n\t return new WordArray.init(words, nBytes);\n\t }\n\t });\n\n\t /**\n\t * Encoder namespace.\n\t */\n\t var C_enc = C.enc = {};\n\n\t /**\n\t * Hex encoding strategy.\n\t */\n\t var Hex = C_enc.Hex = {\n\t /**\n\t * Converts a word array to a hex string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The hex string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var hexString = CryptoJS.enc.Hex.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var hexChars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t hexChars.push((bite >>> 4).toString(16));\n\t hexChars.push((bite & 0x0f).toString(16));\n\t }\n\n\t return hexChars.join('');\n\t },\n\n\t /**\n\t * Converts a hex string to a word array.\n\t *\n\t * @param {string} hexStr The hex string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Hex.parse(hexString);\n\t */\n\t parse: function (hexStr) {\n\t // Shortcut\n\t var hexStrLength = hexStr.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < hexStrLength; i += 2) {\n\t words[i >>> 3] |= parseInt(hexStr.substr(i, 2), 16) << (24 - (i % 8) * 4);\n\t }\n\n\t return new WordArray.init(words, hexStrLength / 2);\n\t }\n\t };\n\n\t /**\n\t * Latin1 encoding strategy.\n\t */\n\t var Latin1 = C_enc.Latin1 = {\n\t /**\n\t * Converts a word array to a Latin1 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The Latin1 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t // Shortcuts\n\t var words = wordArray.words;\n\t var sigBytes = wordArray.sigBytes;\n\n\t // Convert\n\t var latin1Chars = [];\n\t for (var i = 0; i < sigBytes; i++) {\n\t var bite = (words[i >>> 2] >>> (24 - (i % 4) * 8)) & 0xff;\n\t latin1Chars.push(String.fromCharCode(bite));\n\t }\n\n\t return latin1Chars.join('');\n\t },\n\n\t /**\n\t * Converts a Latin1 string to a word array.\n\t *\n\t * @param {string} latin1Str The Latin1 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);\n\t */\n\t parse: function (latin1Str) {\n\t // Shortcut\n\t var latin1StrLength = latin1Str.length;\n\n\t // Convert\n\t var words = [];\n\t for (var i = 0; i < latin1StrLength; i++) {\n\t words[i >>> 2] |= (latin1Str.charCodeAt(i) & 0xff) << (24 - (i % 4) * 8);\n\t }\n\n\t return new WordArray.init(words, latin1StrLength);\n\t }\n\t };\n\n\t /**\n\t * UTF-8 encoding strategy.\n\t */\n\t var Utf8 = C_enc.Utf8 = {\n\t /**\n\t * Converts a word array to a UTF-8 string.\n\t *\n\t * @param {WordArray} wordArray The word array.\n\t *\n\t * @return {string} The UTF-8 string.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);\n\t */\n\t stringify: function (wordArray) {\n\t try {\n\t return decodeURIComponent(escape(Latin1.stringify(wordArray)));\n\t } catch (e) {\n\t throw new Error('Malformed UTF-8 data');\n\t }\n\t },\n\n\t /**\n\t * Converts a UTF-8 string to a word array.\n\t *\n\t * @param {string} utf8Str The UTF-8 string.\n\t *\n\t * @return {WordArray} The word array.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);\n\t */\n\t parse: function (utf8Str) {\n\t return Latin1.parse(unescape(encodeURIComponent(utf8Str)));\n\t }\n\t };\n\n\t /**\n\t * Abstract buffered block algorithm template.\n\t *\n\t * The property blockSize must be implemented in a concrete subtype.\n\t *\n\t * @property {number} _minBufferSize The number of blocks that should be kept unprocessed in the buffer. Default: 0\n\t */\n\t var BufferedBlockAlgorithm = C_lib.BufferedBlockAlgorithm = Base.extend({\n\t /**\n\t * Resets this block algorithm's data buffer to its initial state.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm.reset();\n\t */\n\t reset: function () {\n\t // Initial values\n\t this._data = new WordArray.init();\n\t this._nDataBytes = 0;\n\t },\n\n\t /**\n\t * Adds new data to this block algorithm's buffer.\n\t *\n\t * @param {WordArray|string} data The data to append. Strings are converted to a WordArray using UTF-8.\n\t *\n\t * @example\n\t *\n\t * bufferedBlockAlgorithm._append('data');\n\t * bufferedBlockAlgorithm._append(wordArray);\n\t */\n\t _append: function (data) {\n\t // Convert string to WordArray, else assume WordArray already\n\t if (typeof data == 'string') {\n\t data = Utf8.parse(data);\n\t }\n\n\t // Append\n\t this._data.concat(data);\n\t this._nDataBytes += data.sigBytes;\n\t },\n\n\t /**\n\t * Processes available data blocks.\n\t *\n\t * This method invokes _doProcessBlock(offset), which must be implemented by a concrete subtype.\n\t *\n\t * @param {boolean} doFlush Whether all blocks and partial blocks should be processed.\n\t *\n\t * @return {WordArray} The processed data.\n\t *\n\t * @example\n\t *\n\t * var processedData = bufferedBlockAlgorithm._process();\n\t * var processedData = bufferedBlockAlgorithm._process(!!'flush');\n\t */\n\t _process: function (doFlush) {\n\t // Shortcuts\n\t var data = this._data;\n\t var dataWords = data.words;\n\t var dataSigBytes = data.sigBytes;\n\t var blockSize = this.blockSize;\n\t var blockSizeBytes = blockSize * 4;\n\n\t // Count blocks ready\n\t var nBlocksReady = dataSigBytes / blockSizeBytes;\n\t if (doFlush) {\n\t // Round up to include partial blocks\n\t nBlocksReady = Math.ceil(nBlocksReady);\n\t } else {\n\t // Round down to include only full blocks,\n\t // less the number of blocks that must remain in the buffer\n\t nBlocksReady = Math.max((nBlocksReady | 0) - this._minBufferSize, 0);\n\t }\n\n\t // Count words ready\n\t var nWordsReady = nBlocksReady * blockSize;\n\n\t // Count bytes ready\n\t var nBytesReady = Math.min(nWordsReady * 4, dataSigBytes);\n\n\t // Process blocks\n\t if (nWordsReady) {\n\t for (var offset = 0; offset < nWordsReady; offset += blockSize) {\n\t // Perform concrete-algorithm logic\n\t this._doProcessBlock(dataWords, offset);\n\t }\n\n\t // Remove processed words\n\t var processedWords = dataWords.splice(0, nWordsReady);\n\t data.sigBytes -= nBytesReady;\n\t }\n\n\t // Return processed words\n\t return new WordArray.init(processedWords, nBytesReady);\n\t },\n\n\t /**\n\t * Creates a copy of this object.\n\t *\n\t * @return {Object} The clone.\n\t *\n\t * @example\n\t *\n\t * var clone = bufferedBlockAlgorithm.clone();\n\t */\n\t clone: function () {\n\t var clone = Base.clone.call(this);\n\t clone._data = this._data.clone();\n\n\t return clone;\n\t },\n\n\t _minBufferSize: 0\n\t });\n\n\t /**\n\t * Abstract hasher template.\n\t *\n\t * @property {number} blockSize The number of 32-bit words this hasher operates on. Default: 16 (512 bits)\n\t */\n\t var Hasher = C_lib.Hasher = BufferedBlockAlgorithm.extend({\n\t /**\n\t * Configuration options.\n\t */\n\t cfg: Base.extend(),\n\n\t /**\n\t * Initializes a newly created hasher.\n\t *\n\t * @param {Object} cfg (Optional) The configuration options to use for this hash computation.\n\t *\n\t * @example\n\t *\n\t * var hasher = CryptoJS.algo.SHA256.create();\n\t */\n\t init: function (cfg) {\n\t // Apply config defaults\n\t this.cfg = this.cfg.extend(cfg);\n\n\t // Set initial values\n\t this.reset();\n\t },\n\n\t /**\n\t * Resets this hasher to its initial state.\n\t *\n\t * @example\n\t *\n\t * hasher.reset();\n\t */\n\t reset: function () {\n\t // Reset data buffer\n\t BufferedBlockAlgorithm.reset.call(this);\n\n\t // Perform concrete-hasher logic\n\t this._doReset();\n\t },\n\n\t /**\n\t * Updates this hasher with a message.\n\t *\n\t * @param {WordArray|string} messageUpdate The message to append.\n\t *\n\t * @return {Hasher} This hasher.\n\t *\n\t * @example\n\t *\n\t * hasher.update('message');\n\t * hasher.update(wordArray);\n\t */\n\t update: function (messageUpdate) {\n\t // Append\n\t this._append(messageUpdate);\n\n\t // Update the hash\n\t this._process();\n\n\t // Chainable\n\t return this;\n\t },\n\n\t /**\n\t * Finalizes the hash computation.\n\t * Note that the finalize operation is effectively a destructive, read-once operation.\n\t *\n\t * @param {WordArray|string} messageUpdate (Optional) A final message update.\n\t *\n\t * @return {WordArray} The hash.\n\t *\n\t * @example\n\t *\n\t * var hash = hasher.finalize();\n\t * var hash = hasher.finalize('message');\n\t * var hash = hasher.finalize(wordArray);\n\t */\n\t finalize: function (messageUpdate) {\n\t // Final message update\n\t if (messageUpdate) {\n\t this._append(messageUpdate);\n\t }\n\n\t // Perform concrete-hasher logic\n\t var hash = this._doFinalize();\n\n\t return hash;\n\t },\n\n\t blockSize: 512/32,\n\n\t /**\n\t * Creates a shortcut function to a hasher's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to create a helper for.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHelper: function (hasher) {\n\t return function (message, cfg) {\n\t return new hasher.init(cfg).finalize(message);\n\t };\n\t },\n\n\t /**\n\t * Creates a shortcut function to the HMAC's object interface.\n\t *\n\t * @param {Hasher} hasher The hasher to use in this HMAC helper.\n\t *\n\t * @return {Function} The shortcut function.\n\t *\n\t * @static\n\t *\n\t * @example\n\t *\n\t * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);\n\t */\n\t _createHmacHelper: function (hasher) {\n\t return function (message, key) {\n\t return new C_algo.HMAC.init(hasher, key).finalize(message);\n\t };\n\t }\n\t });\n\n\t /**\n\t * Algorithm namespace.\n\t */\n\t var C_algo = C.algo = {};\n\n\t return C;\n\t}(Math));\n\n\n\treturn CryptoJS;\n\n}));","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View, ScrollView} from 'react-native';\nimport Button from '../Button';\nimport Text from '../Text';\nimport TextInput from '../TextInput';\nimport styles from '../../styles/styles';\nimport PDFInfoMessage from './PDFInfoMessage';\nimport compose from '../../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport shouldDelayFocus from '../../libs/shouldDelayFocus';\n\nconst propTypes = {\n /** If the submitted password is invalid (show an error message) */\n isPasswordInvalid: PropTypes.bool,\n\n /** If loading indicator should be shown */\n shouldShowLoadingIndicator: PropTypes.bool,\n\n /** Notify parent that the password form has been submitted */\n onSubmit: PropTypes.func,\n\n /** Notify parent that the password has been updated/edited */\n onPasswordUpdated: PropTypes.func,\n\n /** Notify parent that a text field has been focused or blurred */\n onPasswordFieldFocused: PropTypes.func,\n\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n isPasswordInvalid: false,\n shouldShowLoadingIndicator: false,\n onSubmit: () => {},\n onPasswordUpdated: () => {},\n onPasswordFieldFocused: () => {},\n};\n\nclass PDFPasswordForm extends Component {\n constructor(props) {\n super(props);\n this.state = {\n password: '',\n validationErrorText: '',\n shouldShowForm: false,\n };\n this.submitPassword = this.submitPassword.bind(this);\n this.updatePassword = this.updatePassword.bind(this);\n this.showForm = this.showForm.bind(this);\n this.validateAndNotifyPasswordBlur = this.validateAndNotifyPasswordBlur.bind(this);\n }\n\n submitPassword() {\n if (!this.validate()) {\n return;\n }\n this.props.onSubmit(this.state.password);\n }\n\n updatePassword(password) {\n this.props.onPasswordUpdated(password);\n if (!_.isEmpty(password) && this.state.validationErrorText) {\n this.setState({validationErrorText: ''});\n }\n this.setState({password});\n }\n\n validate() {\n if (!_.isEmpty(this.state.password)) {\n return true;\n }\n this.setState({\n validationErrorText: this.props.translate('attachmentView.passwordRequired'),\n });\n return false;\n }\n\n validateAndNotifyPasswordBlur() {\n this.validate();\n this.props.onPasswordFieldFocused(false);\n }\n\n showForm() {\n this.setState({shouldShowForm: true});\n }\n\n render() {\n const containerStyle = this.props.isSmallScreenWidth\n ? [styles.flex1, styles.w100]\n : styles.pdfPasswordForm.wideScreenWidth;\n\n return (\n <>\n {this.state.shouldShowForm ? (\n \n \n \n {this.props.translate('attachmentView.pdfPasswordForm.formLabel')}\n \n \n this.props.onPasswordFieldFocused(true)}\n onBlur={this.validateAndNotifyPasswordBlur}\n autoFocus\n shouldDelayFocus={shouldDelayFocus}\n secureTextEntry\n />\n \n \n ) : (\n \n \n \n )}\n \n );\n }\n}\n\nPDFPasswordForm.propTypes = propTypes;\nPDFPasswordForm.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(PDFPasswordForm);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport Text from '../Text';\nimport TextLink from '../TextLink';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport styles from '../../styles/styles';\nimport variables from '../../styles/variables';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n /** Callback function to indicate that PDF password form should be shown */\n onShowForm: PropTypes.func.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst PDFInfoMessage = props => (\n \n \n \n {props.translate('attachmentView.pdfPasswordForm.title')}\n \n {props.translate('attachmentView.pdfPasswordForm.infoText')}\n \n {props.translate('attachmentView.pdfPasswordForm.beforeLinkText')}\n \n {` ${props.translate('attachmentView.pdfPasswordForm.linkText')} `}\n \n {props.translate('attachmentView.pdfPasswordForm.afterLinkText')}\n \n \n);\n\nPDFInfoMessage.propTypes = propTypes;\nPDFInfoMessage.displayName = 'PDFInfoMessage';\n\nexport default withLocalize(PDFInfoMessage);\n","export default false;\n","import PropTypes from 'prop-types';\nimport stylePropTypes from '../../styles/stylePropTypes';\nimport {windowDimensionsPropTypes} from '../withWindowDimensions';\n\nconst propTypes = {\n /** URL to full-sized image */\n sourceURL: PropTypes.string,\n\n /** Additional style props */\n style: stylePropTypes,\n\n /** Notify parent that the keyboard has opened or closed */\n onToggleKeyboard: PropTypes.func,\n\n /** Handles press events like toggling attachment arrows natively */\n onPress: PropTypes.func,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n sourceURL: '',\n style: {},\n onPress: () => {},\n onToggleKeyboard: () => {},\n};\n\nexport {propTypes, defaultProps};\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {\n View, InteractionManager, PanResponder,\n} from 'react-native';\nimport ImageZoom from 'react-native-image-pan-zoom';\nimport _ from 'underscore';\nimport styles from '../../styles/styles';\nimport variables from '../../styles/variables';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport FullscreenLoadingIndicator from '../FullscreenLoadingIndicator';\nimport Image from '../Image';\n\n/**\n * On the native layer, we use a image library to handle zoom functionality\n */\nconst propTypes = {\n /** Whether source url requires authentication */\n isAuthTokenRequired: PropTypes.bool,\n\n /** URL to full-sized image */\n url: PropTypes.string.isRequired,\n\n /** Function for handle on press */\n onPress: PropTypes.func,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n isAuthTokenRequired: false,\n onPress: () => {},\n};\n\nclass ImageView extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n isLoading: true,\n imageWidth: 0,\n imageHeight: 0,\n interactionPromise: undefined,\n };\n\n // Use the default double click interval from the ImageZoom library\n // https://github.com/ascoders/react-native-image-zoom/blob/master/src/image-zoom/image-zoom.type.ts#L79\n this.doubleClickInterval = 175;\n this.imageZoomScale = 1;\n this.lastClickTime = 0;\n this.amountOfTouches = 0;\n\n // PanResponder used to capture how many touches are active on the attachment image\n this.panResponder = PanResponder.create({\n onStartShouldSetPanResponder: this.updatePanResponderTouches.bind(this),\n });\n\n this.configureImageZoom = this.configureImageZoom.bind(this);\n this.imageLoadingStart = this.imageLoadingStart.bind(this);\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.url === prevProps.url) {\n return;\n }\n\n this.imageLoadingStart();\n\n if (this.interactionPromise) {\n this.state.interactionPromise.cancel();\n }\n }\n\n componentWillUnmount() {\n if (!this.state.interactionPromise) {\n return;\n }\n this.state.interactionPromise.cancel();\n }\n\n /**\n * Updates the amount of active touches on the PanResponder on our ImageZoom overlay View\n *\n * @param {Event} e\n * @param {GestureState} gestureState\n * @returns {Boolean}\n */\n updatePanResponderTouches(e, gestureState) {\n if (_.isNumber(gestureState.numberActiveTouches)) {\n this.amountOfTouches = gestureState.numberActiveTouches;\n }\n\n // We don't need to set the panResponder since all we care about is checking the gestureState, so return false\n return false;\n }\n\n /**\n * The `ImageZoom` component requires image dimensions which\n * are calculated here from the natural image dimensions produced by\n * the `onLoad` event\n *\n * @param {Object} nativeEvent\n */\n configureImageZoom({nativeEvent}) {\n // Wait till animations are over to prevent stutter in navigation animation\n this.state.interactionPromise = InteractionManager.runAfterInteractions(() => {\n let imageWidth = nativeEvent.width;\n let imageHeight = nativeEvent.height;\n const containerWidth = Math.round(this.props.windowWidth);\n const containerHeight = Math.round(this.state.containerHeight ? this.state.containerHeight : this.props.windowHeight);\n\n const aspectRatio = Math.min(containerHeight / imageHeight, containerWidth / imageWidth);\n\n if (imageHeight > imageWidth) {\n imageHeight *= aspectRatio;\n } else {\n imageWidth *= aspectRatio;\n }\n\n // Resize the image to max dimensions possible on the Native platforms to prevent crashes on Android. To keep the same behavior, apply to IOS as well.\n const maxDimensionsScale = 11;\n imageWidth = Math.min(imageWidth, (containerWidth * maxDimensionsScale));\n imageHeight = Math.min(imageHeight, (containerHeight * maxDimensionsScale));\n this.setState({imageHeight, imageWidth, isLoading: false});\n });\n }\n\n /**\n * When the url changes and the image must load again,\n * this resets the zoom to ensure the next image loads with the correct dimensions.\n */\n resetImageZoom() {\n if (this.imageZoomScale !== 1) {\n this.imageZoomScale = 1;\n }\n\n if (this.zoom) {\n this.zoom.centerOn({\n x: 0,\n y: 0,\n scale: 1,\n duration: 0,\n });\n }\n }\n\n imageLoadingStart() {\n if (this.state.isLoading) {\n return;\n }\n this.resetImageZoom();\n this.setState({imageHeight: 0, imageWidth: 0, isLoading: true});\n }\n\n render() {\n // Default windowHeight accounts for the modal header height\n const windowHeight = this.props.windowHeight - variables.contentHeaderHeight;\n const hasImageDimensions = this.state.imageWidth !== 0 && this.state.imageHeight !== 0;\n const shouldShowLoadingIndicator = this.state.isLoading || !hasImageDimensions;\n\n // Zoom view should be loaded only after measuring actual image dimensions, otherwise it causes blurred images on Android\n return (\n {\n const layout = event.nativeEvent.layout;\n this.setState({\n containerHeight: layout.height,\n });\n }}\n >\n {Boolean(this.state.containerHeight) && (\n this.zoom = el}\n onClick={() => this.props.onPress()}\n cropWidth={this.props.windowWidth}\n cropHeight={windowHeight}\n imageWidth={this.state.imageWidth}\n imageHeight={this.state.imageHeight}\n onStartShouldSetPanResponder={() => {\n const isDoubleClick = new Date().getTime() - this.lastClickTime <= this.doubleClickInterval;\n this.lastClickTime = new Date().getTime();\n\n // Let ImageZoom handle the event if the tap is more than one touchPoint or if we are zoomed in\n if (this.amountOfTouches === 2 || this.imageZoomScale !== 1) {\n return true;\n }\n\n // When we have a double click and the zoom scale is 1 then programmatically zoom the image\n // but let the tap fall through to the parent so we can register a swipe down to dismiss\n if (isDoubleClick) {\n this.zoom.centerOn({\n x: 0,\n y: 0,\n scale: 2,\n duration: 100,\n });\n }\n\n // We must be either swiping down or double tapping since we are at zoom scale 1\n return false;\n }}\n onMove={({scale}) => {\n this.imageZoomScale = scale;\n }}\n >\n \n {/**\n Create an invisible view on top of the image so we can capture and set the amount of touches before\n the ImageZoom's PanResponder does. Children will be triggered first, so this needs to be inside the\n ImageZoom to work\n */}\n \n \n )}\n {shouldShowLoadingIndicator && (\n \n )}\n \n );\n }\n}\n\nImageView.propTypes = propTypes;\nImageView.defaultProps = defaultProps;\n\nexport default withWindowDimensions(ImageView);\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar image_zoom_component_1 = require(\"./image-zoom/image-zoom.component\");\nexports.default = image_zoom_component_1.default;\n__exportStar(require(\"./image-zoom/image-zoom.type\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar React = require(\"react\");\nvar react_native_1 = require(\"react-native\");\nvar image_zoom_style_1 = require(\"./image-zoom.style\");\nvar image_zoom_type_1 = require(\"./image-zoom.type\");\nvar ImageViewer = /** @class */ (function (_super) {\n __extends(ImageViewer, _super);\n function ImageViewer() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = new image_zoom_type_1.ImageZoomState();\n // 上次/当前/动画 x 位移\n _this.lastPositionX = null;\n _this.positionX = 0;\n _this.animatedPositionX = new react_native_1.Animated.Value(0);\n // 上次/当前/动画 y 位移\n _this.lastPositionY = null;\n _this.positionY = 0;\n _this.animatedPositionY = new react_native_1.Animated.Value(0);\n // 缩放大小\n _this.scale = 1;\n _this.animatedScale = new react_native_1.Animated.Value(1);\n _this.zoomLastDistance = null;\n _this.zoomCurrentDistance = 0;\n // 上次手按下去的时间\n _this.lastTouchStartTime = 0;\n // 滑动过程中,整体横向过界偏移量\n _this.horizontalWholeOuterCounter = 0;\n // 滑动过程中,swipeDown 偏移量\n _this.swipeDownOffset = 0;\n // 滑动过程中,x y的总位移\n _this.horizontalWholeCounter = 0;\n _this.verticalWholeCounter = 0;\n // 两手距离中心点位置\n _this.centerDiffX = 0;\n _this.centerDiffY = 0;\n // 上一次点击的时间\n _this.lastClickTime = 0;\n // 双击时的位置\n _this.doubleClickX = 0;\n _this.doubleClickY = 0;\n // 是否双击了\n _this.isDoubleClick = false;\n // 是否是长按\n _this.isLongPress = false;\n // 是否在左右滑\n _this.isHorizontalWrap = false;\n // 图片手势处理\n _this.imagePanResponder = react_native_1.PanResponder.create({\n // 要求成为响应者:\n onStartShouldSetPanResponder: _this.props.onStartShouldSetPanResponder,\n onPanResponderTerminationRequest: _this.props.onPanResponderTerminationRequest,\n onMoveShouldSetPanResponder: _this.props.onMoveShouldSetPanResponder,\n onPanResponderGrant: function (evt) {\n // 开始手势操作\n _this.lastPositionX = null;\n _this.lastPositionY = null;\n _this.zoomLastDistance = null;\n _this.horizontalWholeCounter = 0;\n _this.verticalWholeCounter = 0;\n _this.lastTouchStartTime = new Date().getTime();\n _this.isDoubleClick = false;\n _this.isLongPress = false;\n _this.isHorizontalWrap = false;\n // 任何手势开始,都清空单击计时器\n if (_this.singleClickTimeout) {\n clearTimeout(_this.singleClickTimeout);\n }\n if (evt.nativeEvent.changedTouches.length > 1) {\n var centerX = (evt.nativeEvent.changedTouches[0].pageX + evt.nativeEvent.changedTouches[1].pageX) / 2;\n _this.centerDiffX = centerX - _this.props.cropWidth / 2;\n var centerY = (evt.nativeEvent.changedTouches[0].pageY + evt.nativeEvent.changedTouches[1].pageY) / 2;\n _this.centerDiffY = centerY - _this.props.cropHeight / 2;\n }\n // 计算长按\n if (_this.longPressTimeout) {\n clearTimeout(_this.longPressTimeout);\n }\n var _a = evt.nativeEvent, locationX = _a.locationX, locationY = _a.locationY, pageX = _a.pageX, pageY = _a.pageY;\n _this.longPressTimeout = setTimeout(function () {\n _this.isLongPress = true;\n if (_this.props.onLongPress) {\n _this.props.onLongPress({ locationX: locationX, locationY: locationY, pageX: pageX, pageY: pageY });\n }\n }, _this.props.longPressTime);\n if (evt.nativeEvent.changedTouches.length <= 1) {\n // 一个手指的情况\n if (new Date().getTime() - _this.lastClickTime < (_this.props.doubleClickInterval || 0)) {\n // 认为触发了双击\n _this.lastClickTime = 0;\n // 因为可能触发放大,因此记录双击时的坐标位置\n _this.doubleClickX = evt.nativeEvent.changedTouches[0].pageX;\n _this.doubleClickY = evt.nativeEvent.changedTouches[0].pageY;\n if (_this.props.onDoubleClick) {\n _this.props.onDoubleClick({\n locationX: evt.nativeEvent.changedTouches[0].locationX,\n locationY: evt.nativeEvent.changedTouches[0].locationY,\n pageX: _this.doubleClickX,\n pageY: _this.doubleClickY,\n });\n }\n // 取消长按\n clearTimeout(_this.longPressTimeout);\n // 缩放\n _this.isDoubleClick = true;\n if (_this.props.enableDoubleClickZoom) {\n if (_this.scale > 1 || _this.scale < 1) {\n // 回归原位\n _this.scale = 1;\n _this.positionX = 0;\n _this.positionY = 0;\n }\n else {\n // 开始在位移地点缩放\n // 记录之前缩放比例\n // 此时 this.scale 一定为 1\n var beforeScale = _this.scale;\n // 开始缩放\n _this.scale = 2;\n // 缩放 diff\n var diffScale = _this.scale - beforeScale;\n // 找到两手中心点距离页面中心的位移\n // 移动位置\n _this.positionX = ((_this.props.cropWidth / 2 - _this.doubleClickX) * diffScale) / _this.scale;\n _this.positionY = ((_this.props.cropHeight / 2 - _this.doubleClickY) * diffScale) / _this.scale;\n }\n _this.imageDidMove('centerOn');\n react_native_1.Animated.parallel([\n react_native_1.Animated.timing(_this.animatedScale, {\n toValue: _this.scale,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }),\n react_native_1.Animated.timing(_this.animatedPositionX, {\n toValue: _this.positionX,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }),\n react_native_1.Animated.timing(_this.animatedPositionY, {\n toValue: _this.positionY,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }),\n ]).start();\n }\n }\n else {\n _this.lastClickTime = new Date().getTime();\n }\n }\n },\n onPanResponderMove: function (evt, gestureState) {\n if (_this.isDoubleClick) {\n // 有时双击会被当做位移,这里屏蔽掉\n return;\n }\n if (evt.nativeEvent.changedTouches.length <= 1) {\n // x 位移\n var diffX = gestureState.dx - (_this.lastPositionX || 0);\n if (_this.lastPositionX === null) {\n diffX = 0;\n }\n // y 位移\n var diffY = gestureState.dy - (_this.lastPositionY || 0);\n if (_this.lastPositionY === null) {\n diffY = 0;\n }\n // 保留这一次位移作为下次的上一次位移\n _this.lastPositionX = gestureState.dx;\n _this.lastPositionY = gestureState.dy;\n _this.horizontalWholeCounter += diffX;\n _this.verticalWholeCounter += diffY;\n if (Math.abs(_this.horizontalWholeCounter) > 5 || Math.abs(_this.verticalWholeCounter) > 5) {\n // 如果位移超出手指范围,取消长按监听\n clearTimeout(_this.longPressTimeout);\n }\n if (_this.props.panToMove) {\n // 处理左右滑,如果正在 swipeDown,左右滑失效\n if (_this.swipeDownOffset === 0) {\n if (Math.abs(diffX) > Math.abs(diffY)) {\n _this.isHorizontalWrap = true;\n }\n // diffX > 0 表示手往右滑,图往左移动,反之同理\n // horizontalWholeOuterCounter > 0 表示溢出在左侧,反之在右侧,绝对值越大溢出越多\n if (_this.props.imageWidth * _this.scale > _this.props.cropWidth) {\n // 如果图片宽度大图盒子宽度, 可以横向拖拽\n // 没有溢出偏移量或者这次位移完全收回了偏移量才能拖拽\n if (_this.horizontalWholeOuterCounter > 0) {\n // 溢出在右侧\n if (diffX < 0) {\n // 从右侧收紧\n if (_this.horizontalWholeOuterCounter > Math.abs(diffX)) {\n // 偏移量还没有用完\n _this.horizontalWholeOuterCounter += diffX;\n diffX = 0;\n }\n else {\n // 溢出量置为0,偏移量减去剩余溢出量,并且可以被拖动\n diffX += _this.horizontalWholeOuterCounter;\n _this.horizontalWholeOuterCounter = 0;\n if (_this.props.horizontalOuterRangeOffset) {\n _this.props.horizontalOuterRangeOffset(0);\n }\n }\n }\n else {\n // 向右侧扩增\n _this.horizontalWholeOuterCounter += diffX;\n }\n }\n else if (_this.horizontalWholeOuterCounter < 0) {\n // 溢出在左侧\n if (diffX > 0) {\n // 从左侧收紧\n if (Math.abs(_this.horizontalWholeOuterCounter) > diffX) {\n // 偏移量还没有用完\n _this.horizontalWholeOuterCounter += diffX;\n diffX = 0;\n }\n else {\n // 溢出量置为0,偏移量减去剩余溢出量,并且可以被拖动\n diffX += _this.horizontalWholeOuterCounter;\n _this.horizontalWholeOuterCounter = 0;\n if (_this.props.horizontalOuterRangeOffset) {\n _this.props.horizontalOuterRangeOffset(0);\n }\n }\n }\n else {\n // 向左侧扩增\n _this.horizontalWholeOuterCounter += diffX;\n }\n }\n else {\n // 溢出偏移量为0,正常移动\n }\n // 产生位移\n _this.positionX += diffX / _this.scale;\n // 但是横向不能出现黑边\n // 横向能容忍的绝对值\n var horizontalMax = (_this.props.imageWidth * _this.scale - _this.props.cropWidth) / 2 / _this.scale;\n if (_this.positionX < -horizontalMax) {\n // 超越了左边临界点,还在继续向左移动\n _this.positionX = -horizontalMax;\n // 让其产生细微位移,偏离轨道\n _this.horizontalWholeOuterCounter += -1 / 1e10;\n }\n else if (_this.positionX > horizontalMax) {\n // 超越了右侧临界点,还在继续向右移动\n _this.positionX = horizontalMax;\n // 让其产生细微位移,偏离轨道\n _this.horizontalWholeOuterCounter += 1 / 1e10;\n }\n _this.animatedPositionX.setValue(_this.positionX);\n }\n else {\n // 不能横向拖拽,全部算做溢出偏移量\n _this.horizontalWholeOuterCounter += diffX;\n }\n // 溢出量不会超过设定界限\n if (_this.horizontalWholeOuterCounter > (_this.props.maxOverflow || 0)) {\n _this.horizontalWholeOuterCounter = _this.props.maxOverflow || 0;\n }\n else if (_this.horizontalWholeOuterCounter < -(_this.props.maxOverflow || 0)) {\n _this.horizontalWholeOuterCounter = -(_this.props.maxOverflow || 0);\n }\n if (_this.horizontalWholeOuterCounter !== 0) {\n // 如果溢出偏移量不是0,执行溢出回调\n if (_this.props.horizontalOuterRangeOffset) {\n _this.props.horizontalOuterRangeOffset(_this.horizontalWholeOuterCounter);\n }\n }\n }\n // 如果图片高度大于盒子高度, 可以纵向弹性拖拽\n if (_this.props.imageHeight * _this.scale > _this.props.cropHeight) {\n _this.positionY += diffY / _this.scale;\n _this.animatedPositionY.setValue(_this.positionY);\n // 如果图片上边缘脱离屏幕上边缘,则进入 swipeDown 动作\n // if (\n // (this.props.imageHeight / 2 - this.positionY) * this.scale <\n // this.props.cropHeight / 2\n // ) {\n // if (this.props.enableSwipeDown) {\n // this.swipeDownOffset += diffY\n // // 只要滑动溢出量不小于 0,就可以拖动\n // if (this.swipeDownOffset > 0) {\n // this.positionY += diffY / this.scale\n // this.animatedPositionY.setValue(this.positionY)\n // // 越到下方,缩放越小\n // this.scale = this.scale - diffY / 1000\n // this.animatedScale.setValue(this.scale)\n // }\n // }\n // }\n }\n else {\n // swipeDown 不允许在已经有横向偏移量时触发\n if (_this.props.enableSwipeDown && !_this.isHorizontalWrap) {\n // 图片高度小于盒子高度,只能向下拖拽,而且一定是 swipeDown 动作\n _this.swipeDownOffset += diffY;\n // 只要滑动溢出量不小于 0,就可以拖动\n if (_this.swipeDownOffset > 0) {\n _this.positionY += diffY / _this.scale;\n _this.animatedPositionY.setValue(_this.positionY);\n // 越到下方,缩放越小\n _this.scale = _this.scale - diffY / 1000;\n _this.animatedScale.setValue(_this.scale);\n }\n }\n }\n }\n }\n else {\n // 多个手指的情况\n // 取消长按状态\n if (_this.longPressTimeout) {\n clearTimeout(_this.longPressTimeout);\n }\n if (_this.props.pinchToZoom) {\n // 找最小的 x 和最大的 x\n var minX = void 0;\n var maxX = void 0;\n if (evt.nativeEvent.changedTouches[0].locationX > evt.nativeEvent.changedTouches[1].locationX) {\n minX = evt.nativeEvent.changedTouches[1].pageX;\n maxX = evt.nativeEvent.changedTouches[0].pageX;\n }\n else {\n minX = evt.nativeEvent.changedTouches[0].pageX;\n maxX = evt.nativeEvent.changedTouches[1].pageX;\n }\n var minY = void 0;\n var maxY = void 0;\n if (evt.nativeEvent.changedTouches[0].locationY > evt.nativeEvent.changedTouches[1].locationY) {\n minY = evt.nativeEvent.changedTouches[1].pageY;\n maxY = evt.nativeEvent.changedTouches[0].pageY;\n }\n else {\n minY = evt.nativeEvent.changedTouches[0].pageY;\n maxY = evt.nativeEvent.changedTouches[1].pageY;\n }\n var widthDistance = maxX - minX;\n var heightDistance = maxY - minY;\n var diagonalDistance = Math.sqrt(widthDistance * widthDistance + heightDistance * heightDistance);\n _this.zoomCurrentDistance = Number(diagonalDistance.toFixed(1));\n if (_this.zoomLastDistance !== null) {\n var distanceDiff = (_this.zoomCurrentDistance - _this.zoomLastDistance) / 200;\n var zoom = _this.scale + distanceDiff;\n if (zoom < (_this.props.minScale || 0)) {\n zoom = _this.props.minScale || 0;\n }\n if (zoom > (_this.props.maxScale || 0)) {\n zoom = _this.props.maxScale || 0;\n }\n // 记录之前缩放比例\n var beforeScale = _this.scale;\n // 开始缩放\n _this.scale = zoom;\n _this.animatedScale.setValue(_this.scale);\n // 图片要慢慢往两个手指的中心点移动\n // 缩放 diff\n var diffScale = _this.scale - beforeScale;\n // 找到两手中心点距离页面中心的位移\n // 移动位置\n _this.positionX -= (_this.centerDiffX * diffScale) / _this.scale;\n _this.positionY -= (_this.centerDiffY * diffScale) / _this.scale;\n _this.animatedPositionX.setValue(_this.positionX);\n _this.animatedPositionY.setValue(_this.positionY);\n }\n _this.zoomLastDistance = _this.zoomCurrentDistance;\n }\n }\n _this.imageDidMove('onPanResponderMove');\n },\n onPanResponderRelease: function (evt, gestureState) {\n // 取消长按\n if (_this.longPressTimeout) {\n clearTimeout(_this.longPressTimeout);\n }\n // 双击结束,结束尾判断\n if (_this.isDoubleClick) {\n return;\n }\n // 长按结束,结束尾判断\n if (_this.isLongPress) {\n return;\n }\n // 如果是单个手指、距离上次按住大于预设秒、滑动距离小于预设值, 则可能是单击(如果后续双击间隔内没有开始手势)\n // const stayTime = new Date().getTime() - this.lastTouchStartTime!\n var moveDistance = Math.sqrt(gestureState.dx * gestureState.dx + gestureState.dy * gestureState.dy);\n var _a = evt.nativeEvent, locationX = _a.locationX, locationY = _a.locationY, pageX = _a.pageX, pageY = _a.pageY;\n if (evt.nativeEvent.changedTouches.length === 1 && moveDistance < (_this.props.clickDistance || 0)) {\n _this.singleClickTimeout = setTimeout(function () {\n if (_this.props.onClick) {\n _this.props.onClick({ locationX: locationX, locationY: locationY, pageX: pageX, pageY: pageY });\n }\n }, _this.props.doubleClickInterval);\n }\n else {\n // 多手势结束,或者滑动结束\n if (_this.props.responderRelease) {\n _this.props.responderRelease(gestureState.vx, _this.scale);\n }\n _this.panResponderReleaseResolve();\n }\n },\n onPanResponderTerminate: function () {\n //\n },\n });\n _this.resetScale = function () {\n _this.positionX = 0;\n _this.positionY = 0;\n _this.scale = 1;\n _this.animatedScale.setValue(1);\n };\n _this.panResponderReleaseResolve = function () {\n // 判断是否是 swipeDown\n if (_this.props.enableSwipeDown && _this.props.swipeDownThreshold) {\n if (_this.swipeDownOffset > _this.props.swipeDownThreshold) {\n if (_this.props.onSwipeDown) {\n _this.props.onSwipeDown();\n }\n // Stop reset.\n return;\n }\n }\n if (_this.props.enableCenterFocus && _this.scale < 1) {\n // 如果缩放小于1,强制重置为 1\n _this.scale = 1;\n react_native_1.Animated.timing(_this.animatedScale, {\n toValue: _this.scale,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n if (_this.props.imageWidth * _this.scale <= _this.props.cropWidth) {\n // 如果图片宽度小于盒子宽度,横向位置重置\n _this.positionX = 0;\n react_native_1.Animated.timing(_this.animatedPositionX, {\n toValue: _this.positionX,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n if (_this.props.imageHeight * _this.scale <= _this.props.cropHeight) {\n // 如果图片高度小于盒子高度,纵向位置重置\n _this.positionY = 0;\n react_native_1.Animated.timing(_this.animatedPositionY, {\n toValue: _this.positionY,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n // 横向肯定不会超出范围,由拖拽时控制\n // 如果图片高度大于盒子高度,纵向不能出现黑边\n if (_this.props.imageHeight * _this.scale > _this.props.cropHeight) {\n // 纵向能容忍的绝对值\n var verticalMax = (_this.props.imageHeight * _this.scale - _this.props.cropHeight) / 2 / _this.scale;\n if (_this.positionY < -verticalMax) {\n _this.positionY = -verticalMax;\n }\n else if (_this.positionY > verticalMax) {\n _this.positionY = verticalMax;\n }\n react_native_1.Animated.timing(_this.animatedPositionY, {\n toValue: _this.positionY,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n if (_this.props.imageWidth * _this.scale > _this.props.cropWidth) {\n // 纵向能容忍的绝对值\n var horizontalMax = (_this.props.imageWidth * _this.scale - _this.props.cropWidth) / 2 / _this.scale;\n if (_this.positionX < -horizontalMax) {\n _this.positionX = -horizontalMax;\n }\n else if (_this.positionX > horizontalMax) {\n _this.positionX = horizontalMax;\n }\n react_native_1.Animated.timing(_this.animatedPositionX, {\n toValue: _this.positionX,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n // 拖拽正常结束后,如果没有缩放,直接回到0,0点\n if (_this.props.enableCenterFocus && _this.scale === 1) {\n _this.positionX = 0;\n _this.positionY = 0;\n react_native_1.Animated.timing(_this.animatedPositionX, {\n toValue: _this.positionX,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n react_native_1.Animated.timing(_this.animatedPositionY, {\n toValue: _this.positionY,\n duration: 100,\n useNativeDriver: !!_this.props.useNativeDriver,\n }).start();\n }\n // 水平溢出量置空\n _this.horizontalWholeOuterCounter = 0;\n // swipeDown 溢出量置空\n _this.swipeDownOffset = 0;\n _this.imageDidMove('onPanResponderRelease');\n };\n return _this;\n }\n ImageViewer.prototype.componentDidMount = function () {\n if (this.props.centerOn) {\n this.centerOn(this.props.centerOn);\n }\n };\n ImageViewer.prototype.componentDidUpdate = function (prevProps) {\n // Either centerOn has never been called, or it is a repeat and we should ignore it\n if ((this.props.centerOn && !prevProps.centerOn) ||\n (this.props.centerOn && prevProps.centerOn && this.didCenterOnChange(prevProps.centerOn, this.props.centerOn))) {\n this.centerOn(this.props.centerOn);\n }\n };\n ImageViewer.prototype.imageDidMove = function (type) {\n if (this.props.onMove) {\n this.props.onMove({\n type: type,\n positionX: this.positionX,\n positionY: this.positionY,\n scale: this.scale,\n zoomCurrentDistance: this.zoomCurrentDistance,\n });\n }\n };\n ImageViewer.prototype.didCenterOnChange = function (params, paramsNext) {\n return params.x !== paramsNext.x || params.y !== paramsNext.y || params.scale !== paramsNext.scale;\n };\n ImageViewer.prototype.centerOn = function (params) {\n var _this = this;\n this.positionX = params.x;\n this.positionY = params.y;\n this.scale = params.scale;\n var duration = params.duration || 300;\n react_native_1.Animated.parallel([\n react_native_1.Animated.timing(this.animatedScale, {\n toValue: this.scale,\n duration: duration,\n useNativeDriver: !!this.props.useNativeDriver,\n }),\n react_native_1.Animated.timing(this.animatedPositionX, {\n toValue: this.positionX,\n duration: duration,\n useNativeDriver: !!this.props.useNativeDriver,\n }),\n react_native_1.Animated.timing(this.animatedPositionY, {\n toValue: this.positionY,\n duration: duration,\n useNativeDriver: !!this.props.useNativeDriver,\n }),\n ]).start(function () {\n _this.imageDidMove('centerOn');\n });\n };\n /**\n * 图片区域视图渲染完毕\n */\n ImageViewer.prototype.handleLayout = function (event) {\n if (this.props.layoutChange) {\n this.props.layoutChange(event);\n }\n };\n /**\n * 重置大小和位置\n */\n ImageViewer.prototype.reset = function () {\n this.scale = 1;\n this.animatedScale.setValue(this.scale);\n this.positionX = 0;\n this.animatedPositionX.setValue(this.positionX);\n this.positionY = 0;\n this.animatedPositionY.setValue(this.positionY);\n };\n ImageViewer.prototype.render = function () {\n var animateConf = {\n transform: [\n {\n scale: this.animatedScale,\n },\n {\n translateX: this.animatedPositionX,\n },\n {\n translateY: this.animatedPositionY,\n },\n ],\n };\n var parentStyles = react_native_1.StyleSheet.flatten(this.props.style);\n return (\n \n \n {this.props.children}\n \n \n );\n };\n ImageViewer.defaultProps = new image_zoom_type_1.ImageZoomProps();\n return ImageViewer;\n}(React.Component));\nexports.default = ImageViewer;\n//# sourceMappingURL=image-zoom.component.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ImageZoomState = exports.ImageZoomProps = void 0;\nvar ImageZoomProps = /** @class */ (function () {\n function ImageZoomProps() {\n /**\n * 操作区域宽度\n */\n this.cropWidth = 100;\n /**\n * 操作区域高度\n */\n this.cropHeight = 100;\n /**\n * 图片宽度\n */\n this.imageWidth = 100;\n /**\n * 图片高度\n */\n this.imageHeight = 100;\n /**\n * 单手是否能移动图片\n */\n this.panToMove = true;\n /**\n * 多手指是否能缩放\n */\n this.pinchToZoom = true;\n /**\n * 双击能否放大\n */\n this.enableDoubleClickZoom = true;\n /**\n * 单击最大位移\n */\n this.clickDistance = 10;\n /**\n * 最大滑动阈值\n */\n this.maxOverflow = 100;\n /**\n * 长按的阈值(毫秒)\n */\n this.longPressTime = 800;\n /**\n * 双击计时器最大间隔\n */\n this.doubleClickInterval = 175;\n this.style = {};\n /**\n * threshold for firing swipe down function\n */\n this.swipeDownThreshold = 230;\n /**\n * for enabling vertical movement if user doesn't want it\n */\n this.enableSwipeDown = false;\n /**\n * for disabling focus on image center if user doesn't want it\n */\n this.enableCenterFocus = true;\n /**\n * for disabling rendering to hardware texture on Android\n */\n this.useHardwareTextureAndroid = true;\n /**\n * minimum zoom scale\n */\n this.minScale = 0.6;\n /**\n * maximum zoom scale\n */\n this.maxScale = 10;\n /**\n * 是否启用原生动画驱动\n * Whether to use native code to perform animations.\n */\n this.useNativeDriver = false;\n /**\n * 单击的回调\n */\n this.onClick = function () {\n //\n };\n /**\n * 双击的回调\n */\n this.onDoubleClick = function () {\n //\n };\n /**\n * 长按的回调\n */\n this.onLongPress = function () {\n //\n };\n /**\n * 横向超出的距离,父级做图片切换时,可以监听这个函数\n * 当此函数触发时,可以做切换操作\n */\n this.horizontalOuterRangeOffset = function () {\n //\n };\n /**\n * 触发想切换到左边的图,向左滑动速度超出阈值时触发\n */\n this.onDragLeft = function () {\n //\n };\n /**\n * 松手但是没有取消看图的回调\n */\n this.responderRelease = function () {\n //\n };\n /**\n * If provided, this will be called everytime the map is moved\n */\n this.onMove = function () {\n //\n };\n /**\n * If provided, this method will be called when the onLayout event fires\n */\n this.layoutChange = function () {\n //\n };\n /**\n * function that fires when user swipes down\n */\n this.onSwipeDown = function () {\n //\n };\n /**\n * Allows overriding the default onStartShouldSetPanResponder behavior.\n * By default, always becomes the responder\n */\n this.onStartShouldSetPanResponder = function () { return true; };\n /**\n * Allows overriding the default onPanResponderTerminationRequest behavior.\n * By default, doesn't terminate until the press ends\n */\n this.onPanResponderTerminationRequest = function () { return false; };\n }\n return ImageZoomProps;\n}());\nexports.ImageZoomProps = ImageZoomProps;\nvar ImageZoomState = /** @class */ (function () {\n function ImageZoomState() {\n /**\n * 中心 x 坐标\n */\n this.centerX = 0.5;\n /**\n * 中心 y 坐标\n */\n this.centerY = 0.5;\n }\n return ImageZoomState;\n}());\nexports.ImageZoomState = ImageZoomState;\n//# sourceMappingURL=image-zoom.type.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar container = {\n justifyContent: 'center',\n alignItems: 'center',\n overflow: 'hidden',\n backgroundColor: 'transparent',\n};\nexports.default = {\n container: container,\n};\n//# sourceMappingURL=image-zoom.style.js.map","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport * as Expensicons from '../Icon/Expensicons';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport CarouselActions from './CarouselActions';\nimport Button from '../Button';\nimport * as ReportActionsUtils from '../../libs/ReportActionsUtils';\nimport AttachmentView from '../AttachmentView';\nimport addEncryptedAuthTokenToURL from '../../libs/addEncryptedAuthTokenToURL';\nimport * as DeviceCapabilities from '../../libs/DeviceCapabilities';\nimport CONST from '../../CONST';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport tryResolveUrlFromApiRoot from '../../libs/tryResolveUrlFromApiRoot';\nimport Tooltip from '../Tooltip';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport compose from '../../libs/compose';\n\nconst propTypes = {\n /** source is used to determine the starting index in the array of attachments */\n source: PropTypes.string,\n\n /** Callback to update the parent modal's state with a source and name from the attachments array */\n onNavigate: PropTypes.func,\n\n /** Object of report actions for this report */\n reportActions: PropTypes.objectOf(PropTypes.shape(reportActionPropTypes)),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n source: '',\n reportActions: {},\n onNavigate: () => {},\n};\n\nclass AttachmentCarousel extends React.Component {\n constructor(props) {\n super(props);\n\n this.canUseTouchScreen = DeviceCapabilities.canUseTouchScreen();\n this.cycleThroughAttachments = this.cycleThroughAttachments.bind(this);\n\n this.state = {\n source: this.props.source,\n shouldShowArrow: this.canUseTouchScreen,\n isForwardDisabled: true,\n isBackDisabled: true,\n };\n }\n\n componentDidMount() {\n this.makeStateWithReports();\n }\n\n componentDidUpdate(prevProps) {\n const previousReportActionsCount = _.size(prevProps.reportActions);\n const currentReportActionsCount = _.size(this.props.reportActions);\n if (previousReportActionsCount === currentReportActionsCount) {\n return;\n }\n this.makeStateWithReports();\n }\n\n /**\n * Helps to navigate between next/previous attachments\n * @param {Object} attachmentItem\n * @returns {Object}\n */\n getAttachment(attachmentItem) {\n const source = _.get(attachmentItem, 'source', '');\n const file = _.get(attachmentItem, 'file', {name: ''});\n this.props.onNavigate({source: addEncryptedAuthTokenToURL(source), file});\n\n return {\n source,\n file,\n };\n }\n\n /**\n * Toggles the visibility of the arrows\n * @param {Boolean} shouldShowArrow\n */\n toggleArrowsVisibility(shouldShowArrow) {\n this.setState({shouldShowArrow});\n }\n\n /**\n * This is called when there are new reports to set the state\n */\n makeStateWithReports() {\n let page;\n const actions = ReportActionsUtils.getSortedReportActions(_.values(this.props.reportActions), true);\n\n /**\n * Looping to filter out attachments and retrieve the src URL and name of attachments.\n */\n const attachments = [];\n _.forEach(actions, ({originalMessage, message}) => {\n // Check for attachment which hasn't been deleted\n if (!originalMessage || !originalMessage.html || _.some(message, m => m.isEdited)) {\n return;\n }\n const matches = [...originalMessage.html.matchAll(CONST.REGEX.ATTACHMENT_DATA)];\n\n // matchAll captured both source url and name of the attachment\n if (matches.length === 2) {\n const [originalSource, name] = _.map(matches, m => m[2]);\n\n // Update the image URL so the images can be accessed depending on the config environment.\n // Eg: while using Ngrok the image path is from an Ngrok URL and not an Expensify URL.\n const source = tryResolveUrlFromApiRoot(originalSource);\n if (source === this.state.source) {\n page = attachments.length;\n }\n\n attachments.push({source, file: {name}});\n }\n });\n\n const {file} = this.getAttachment(attachments[page]);\n this.setState({\n page,\n attachments,\n file,\n isForwardDisabled: page === 0,\n isBackDisabled: page === attachments.length - 1,\n });\n }\n\n /**\n * Increments or decrements the index to get another selected item\n * @param {Number} deltaSlide\n */\n cycleThroughAttachments(deltaSlide) {\n if ((deltaSlide > 0 && this.state.isForwardDisabled) || (deltaSlide < 0 && this.state.isBackDisabled)) {\n return;\n }\n\n this.setState(({attachments, page}) => {\n const nextIndex = page - deltaSlide;\n const {source, file} = this.getAttachment(attachments[nextIndex]);\n return {\n page: nextIndex,\n source,\n file,\n isBackDisabled: nextIndex === attachments.length - 1,\n isForwardDisabled: nextIndex === 0,\n };\n });\n }\n\n render() {\n const isPageSet = Number.isInteger(this.state.page);\n const authSource = addEncryptedAuthTokenToURL(this.state.source);\n return (\n this.toggleArrowsVisibility(true)}\n onMouseLeave={() => this.toggleArrowsVisibility(false)}\n >\n {(isPageSet && this.state.shouldShowArrow) && (\n <>\n {!this.state.isBackDisabled && (\n \n \n this.cycleThroughAttachments(-1)}\n />\n \n \n )}\n {!this.state.isForwardDisabled && (\n \n \n this.cycleThroughAttachments(1)}\n />\n \n \n )}\n \n )}\n this.canUseTouchScreen && this.toggleArrowsVisibility(!this.state.shouldShowArrow)}\n onCycleThroughAttachments={this.cycleThroughAttachments}\n >\n this.toggleArrowsVisibility(!this.state.shouldShowArrow)}\n source={authSource}\n key={authSource}\n file={this.state.file}\n />\n \n \n );\n }\n}\n\nAttachmentCarousel.propTypes = propTypes;\nAttachmentCarousel.defaultProps = defaultProps;\n\nexport default compose(\n withOnyx({\n reportActions: {\n key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,\n canEvict: false,\n },\n }),\n withLocalize,\n)(AttachmentCarousel);\n","import React, {Component} from 'react';\nimport {PanResponder, Dimensions, Animated} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../../styles/styles';\n\nconst propTypes = {\n /** Attachment that's rendered */\n children: PropTypes.element.isRequired,\n\n /** Callback to fire when swiping left or right */\n onCycleThroughAttachments: PropTypes.func.isRequired,\n\n /** Callback to handle a press event */\n onPress: PropTypes.func.isRequired,\n\n /** Boolean to prevent a left swipe action */\n canSwipeLeft: PropTypes.bool.isRequired,\n\n /** Boolean to prevent a right swipe action */\n canSwipeRight: PropTypes.bool.isRequired,\n};\n\nclass Carousel extends Component {\n constructor(props) {\n super(props);\n this.pan = new Animated.Value(0);\n\n this.panResponder = PanResponder.create({\n onStartShouldSetPanResponder: () => true,\n\n onPanResponderMove: (event, gestureState) => Animated.event([null, {\n dx: this.pan,\n }], {useNativeDriver: false})(event, gestureState),\n\n onPanResponderRelease: (event, gestureState) => {\n if (gestureState.dx === 0 && gestureState.dy === 0) {\n return this.props.onPress();\n }\n\n const deltaSlide = gestureState.dx > 0 ? 1 : -1;\n if (Math.abs(gestureState.vx) < 1 || (deltaSlide === 1 && !this.props.canSwipeLeft) || (deltaSlide === -1 && !this.props.canSwipeRight)) {\n return Animated.spring(this.pan, {useNativeDriver: false, toValue: 0}).start();\n }\n\n const width = Dimensions.get('window').width;\n const slideLength = deltaSlide * (width * 1.1);\n Animated.timing(this.pan, {useNativeDriver: false, duration: 100, toValue: slideLength}).start(({finished}) => {\n if (!finished) {\n return;\n }\n\n this.props.onCycleThroughAttachments(-deltaSlide);\n this.pan.setValue(-slideLength);\n Animated.timing(this.pan, {useNativeDriver: false, duration: 100, toValue: 0}).start();\n });\n },\n });\n }\n\n render() {\n return (\n \n {this.props.children}\n \n );\n }\n}\n\nCarousel.propTypes = propTypes;\n\nexport default Carousel;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Modal from './Modal';\nimport CONST from '../CONST';\nimport withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimensions';\nimport ConfirmContent from './ConfirmContent';\n\nconst propTypes = {\n /** Title of the modal */\n title: PropTypes.string,\n\n /** A callback to call when the form has been submitted */\n onConfirm: PropTypes.func.isRequired,\n\n /** A callback to call when the form has been closed */\n onCancel: PropTypes.func,\n\n /** Modal visibility */\n isVisible: PropTypes.bool.isRequired,\n\n /** Confirm button text */\n confirmText: PropTypes.string,\n\n /** Cancel button text */\n cancelText: PropTypes.string,\n\n /** Modal content text/element */\n prompt: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n\n /** Whether we should use the success button color */\n success: PropTypes.bool,\n\n /** Is the action destructive */\n danger: PropTypes.bool,\n\n /** Whether we should show the cancel button */\n shouldShowCancelButton: PropTypes.bool,\n\n /** Callback method fired when the modal is hidden */\n onModalHide: PropTypes.func,\n\n /** Should we announce the Modal visibility changes? */\n shouldSetModalVisibility: PropTypes.bool,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n confirmText: '',\n cancelText: '',\n prompt: '',\n success: true,\n danger: false,\n onCancel: () => {},\n shouldShowCancelButton: true,\n shouldSetModalVisibility: true,\n title: '',\n onModalHide: () => {},\n};\n\nconst ConfirmModal = props => (\n \n (props.isVisible ? props.onConfirm() : null)}\n onCancel={props.onCancel}\n confirmText={props.confirmText}\n cancelText={props.cancelText}\n prompt={props.prompt}\n success={props.success}\n danger={props.danger}\n shouldShowCancelButton={props.shouldShowCancelButton}\n />\n \n);\n\nConfirmModal.propTypes = propTypes;\nConfirmModal.defaultProps = defaultProps;\nConfirmModal.displayName = 'ConfirmModal';\nexport default withWindowDimensions(ConfirmModal);\n","import React from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport Header from './Header';\nimport styles from '../styles/styles';\nimport Button from './Button';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport Text from './Text';\n\nconst propTypes = {\n /** Title of the modal */\n title: PropTypes.string.isRequired,\n\n /** A callback to call when the form has been submitted */\n onConfirm: PropTypes.func.isRequired,\n\n /** A callback to call when the form has been closed */\n onCancel: PropTypes.func,\n\n /** Confirm button text */\n confirmText: PropTypes.string,\n\n /** Cancel button text */\n cancelText: PropTypes.string,\n\n /** Modal content text/element */\n prompt: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n\n /** Whether we should use the success button color */\n success: PropTypes.bool,\n\n /** Whether we should use the danger button color. Use if the action is destructive */\n danger: PropTypes.bool,\n\n /** Whether we should show the cancel button */\n shouldShowCancelButton: PropTypes.bool,\n\n /** Styles for view */\n // eslint-disable-next-line react/forbid-prop-types\n contentStyles: PropTypes.arrayOf(PropTypes.object),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n confirmText: '',\n cancelText: '',\n prompt: '',\n success: true,\n danger: false,\n onCancel: () => {},\n shouldShowCancelButton: true,\n contentStyles: [],\n};\n\nconst ConfirmContent = props => (\n \n \n
          \n \n\n {_.isString(props.prompt)\n ? (\n \n {props.prompt}\n \n ) : props.prompt}\n\n \n {props.shouldShowCancelButton && (\n \n )}\n \n);\n\nConfirmContent.propTypes = propTypes;\nConfirmContent.defaultProps = defaultProps;\nConfirmContent.displayName = 'ConfirmContent';\nexport default withLocalize(ConfirmContent);\n","import React from 'react';\nimport {Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\n\nconst propTypes = {\n /** Element that should be clickable */\n children: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.func,\n ]).isRequired,\n\n /** Callback for onPress event */\n onPress: PropTypes.func.isRequired,\n\n /** Callback for onLongPress event */\n onLongPress: PropTypes.func,\n\n /** Styles that should be passed to touchable container */\n // eslint-disable-next-line react/forbid-prop-types\n styles: PropTypes.arrayOf(PropTypes.object),\n};\n\nconst defaultProps = {\n styles: [],\n onLongPress: undefined,\n};\n\n/**\n * This component prevents the tapped element from capturing focus.\n * We need to blur this element when clicked as it opens modal that implements focus-trapping.\n * When the modal is closed it focuses back to the last active element.\n * Therefore it shifts the element to bring it back to focus.\n * https://github.com/Expensify/App/issues/6806\n */\nclass PressableWithoutFocus extends React.Component {\n constructor(props) {\n super(props);\n this.pressAndBlur = this.pressAndBlur.bind(this);\n }\n\n pressAndBlur() {\n this.pressableRef.blur();\n this.props.onPress();\n }\n\n render() {\n return (\n this.pressableRef = el}\n style={this.props.styles}\n >\n {this.props.children}\n \n );\n }\n}\n\nPressableWithoutFocus.propTypes = propTypes;\nPressableWithoutFocus.defaultProps = defaultProps;\n\nexport default PressableWithoutFocus;\n","/**\n * Displays the user's local time and updates it every minute.\n * The time auto-update logic is extracted to this component to avoid re-rendering a more complex component, e.g. DetailsPage.\n */\nimport {View} from 'react-native';\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from 'react';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\nimport DateUtils from '../libs/DateUtils';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport Text from './Text';\n\nconst propTypes = {\n /** Timezone of the user from their personal details */\n timezone: PropTypes.shape({\n /** Value of selected timezone */\n selected: PropTypes.string,\n\n /** Whether timezone is automatically set */\n automatic: PropTypes.bool,\n }).isRequired,\n ...withLocalizePropTypes,\n};\n\nfunction AutoUpdateTime(props) {\n /**\n * @returns {moment} Returns the locale moment object\n */\n const getCurrentUserLocalTime = useCallback(() => (\n DateUtils.getLocalMomentFromDatetime(\n props.preferredLocale,\n null,\n props.timezone.selected,\n )\n ), [props.preferredLocale, props.timezone.selected]);\n\n const [currentUserLocalTime, setCurrentUserLocalTime] = useState(getCurrentUserLocalTime);\n const minuteRef = useRef(new Date().getMinutes());\n const timezoneName = useMemo(() => {\n // With non-GMT timezone, moment.zoneAbbr() will return the name of that timezone, so we can use it directly.\n if (Number.isNaN(Number(currentUserLocalTime.zoneAbbr()))) {\n return currentUserLocalTime.zoneAbbr();\n }\n\n // With GMT timezone, moment.zoneAbbr() will return a number, so we need to display it as GMT {abbreviations} format, e.g.: GMT +07\n return `GMT ${currentUserLocalTime.zoneAbbr()}`;\n }, [currentUserLocalTime]);\n\n useEffect(() => {\n // If the any of the props that getCurrentUserLocalTime depends on change, we want to update the displayed time immediately\n setCurrentUserLocalTime(getCurrentUserLocalTime());\n\n // Also, if the user leaves this page open, we want to make sure the displayed time is updated every minute when the clock changes\n // To do this we create an interval to check if the minute has changed every second and update the displayed time if it has\n const interval = setInterval(() => {\n const currentMinute = new Date().getMinutes();\n if (currentMinute !== minuteRef.current) {\n setCurrentUserLocalTime(getCurrentUserLocalTime());\n minuteRef.current = currentMinute;\n }\n }, 1000);\n return () => clearInterval(interval);\n }, [getCurrentUserLocalTime]);\n\n return (\n \n \n {props.translate('detailsPage.localTime')}\n \n \n {currentUserLocalTime.format('LT')}\n {' '}\n {timezoneName}\n \n \n );\n}\n\nAutoUpdateTime.propTypes = propTypes;\nAutoUpdateTime.displayName = 'AutoUpdateTime';\nexport default withLocalize(AutoUpdateTime);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport {View, ScrollView} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport RoomHeaderAvatars from '../components/RoomHeaderAvatars';\nimport compose from '../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport ONYXKEYS from '../ONYXKEYS';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport Navigation from '../libs/Navigation/Navigation';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport styles from '../styles/styles';\nimport DisplayNames from '../components/DisplayNames';\nimport * as OptionsListUtils from '../libs/OptionsListUtils';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport * as Policy from '../libs/actions/Policy';\nimport participantPropTypes from '../components/participantPropTypes';\nimport * as Expensicons from '../components/Icon/Expensicons';\nimport ROUTES from '../ROUTES';\nimport MenuItem from '../components/MenuItem';\nimport Text from '../components/Text';\nimport CONST from '../CONST';\nimport reportPropTypes from './reportPropTypes';\nimport withReportOrNotFound from './home/report/withReportOrNotFound';\nimport FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** The report currently being looked at */\n report: reportPropTypes.isRequired,\n\n /** The policies which the user has access to and which the report could be tied to */\n policies: PropTypes.shape({\n /** Name of the policy */\n name: PropTypes.string,\n }),\n\n /** Route params */\n route: PropTypes.shape({\n params: PropTypes.shape({\n /** Report ID passed via route r/:reportID/details */\n reportID: PropTypes.string,\n }),\n }).isRequired,\n\n /** Personal details of all the users */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n};\n\nconst defaultProps = {\n policies: {},\n personalDetails: {},\n};\n\nclass ReportDetailsPage extends Component {\n getMenuItems() {\n const menuItems = [];\n\n if (ReportUtils.isArchivedRoom(this.props.report)) {\n return [];\n }\n\n if (lodashGet(this.props.report, 'participants', []).length) {\n menuItems.push({\n key: CONST.REPORT_DETAILS_MENU_ITEM.MEMBERS,\n translationKey: 'common.members',\n icon: Expensicons.Users,\n subtitle: lodashGet(this.props.report, 'participants', []).length,\n action: () => { Navigation.navigate(ROUTES.getReportParticipantsRoute(this.props.report.reportID)); },\n });\n }\n\n if (ReportUtils.isPolicyExpenseChat(this.props.report) || ReportUtils.isChatRoom(this.props.report)) {\n menuItems.push({\n key: CONST.REPORT_DETAILS_MENU_ITEM.SETTINGS,\n translationKey: 'common.settings',\n icon: Expensicons.Gear,\n action: () => { Navigation.navigate(ROUTES.getReportSettingsRoute(this.props.report.reportID)); },\n });\n }\n\n const policy = this.props.policies[`${ONYXKEYS.COLLECTION.POLICY}${this.props.report.policyID}`];\n if (ReportUtils.isUserCreatedPolicyRoom(this.props.report) || ReportUtils.canLeaveRoom(this.props.report, !_.isEmpty(policy))) {\n menuItems.push({\n key: CONST.REPORT_DETAILS_MENU_ITEM.LEAVE_ROOM,\n translationKey: 'common.leaveRoom',\n icon: Expensicons.Exit,\n action: () => Policy.leaveRoom(this.props.report.reportID),\n });\n }\n\n return menuItems;\n }\n\n render() {\n const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(this.props.report);\n const isChatRoom = ReportUtils.isChatRoom(this.props.report);\n const chatRoomSubtitle = ReportUtils.getChatRoomSubtitle(this.props.report, this.props.policies);\n const participants = lodashGet(this.props.report, 'participants', []);\n const isMultipleParticipant = participants.length > 1;\n const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(\n OptionsListUtils.getPersonalDetailsForLogins(participants, this.props.personalDetails),\n isMultipleParticipant,\n );\n const menuItems = this.getMenuItems();\n return (\n \n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal()}\n />\n \n \n \n \n \n \n \n \n \n \n \n {chatRoomSubtitle}\n \n \n \n \n {_.map(menuItems, (item) => {\n const brickRoadIndicator = (\n ReportUtils.hasReportNameError(this.props.report)\n && item.key === CONST.REPORT_DETAILS_MENU_ITEM.SETTINGS\n )\n ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR\n : '';\n return (\n \n );\n })}\n \n \n \n );\n }\n}\n\nReportDetailsPage.propTypes = propTypes;\nReportDetailsPage.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withReportOrNotFound,\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n }),\n)(ReportDetailsPage);\n","import React, {memo} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport styles from '../styles/styles';\nimport Text from './Text';\nimport CONST from '../CONST';\nimport Avatar from './Avatar';\nimport themeColors from '../styles/themes/default';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport avatarPropTypes from './avatarPropTypes';\n\nconst propTypes = {\n icons: PropTypes.arrayOf(avatarPropTypes),\n};\n\nconst defaultProps = {\n icons: [],\n};\n\nconst RoomHeaderAvatars = (props) => {\n if (!props.icons.length) {\n return null;\n }\n\n if (props.icons.length === 1) {\n return (\n \n );\n }\n\n const iconsToDisplay = props.icons.slice(0, CONST.REPORT.MAX_PREVIEW_AVATARS);\n\n const iconStyle = [\n styles.roomHeaderAvatar,\n\n // Due to border-box box-sizing, the Avatars have to be larger when bordered to visually match size with non-bordered Avatars\n StyleUtils.getAvatarStyle(CONST.AVATAR_SIZE.LARGE_BORDERED),\n ];\n return (\n \n \n {_.map(iconsToDisplay, (icon, index) => (\n \n \n {index === CONST.REPORT.MAX_PREVIEW_AVATARS - 1 && props.icons.length - CONST.REPORT.MAX_PREVIEW_AVATARS !== 0 && (\n <>\n \n \n {`+${props.icons.length - CONST.REPORT.MAX_PREVIEW_AVATARS}`}\n \n \n )}\n \n ))}\n \n \n );\n};\n\nRoomHeaderAvatars.defaultProps = defaultProps;\nRoomHeaderAvatars.propTypes = propTypes;\nRoomHeaderAvatars.displayName = 'RoomHeaderAvatars';\n\nexport default memo(RoomHeaderAvatars);\n","import PropTypes from 'prop-types';\nimport React, {Component} from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport getComponentDisplayName from '../../../libs/getComponentDisplayName';\nimport NotFoundPage from '../../ErrorPage/NotFoundPage';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport reportPropTypes from '../../reportPropTypes';\n\nexport default function (WrappedComponent) {\n const propTypes = {\n /** The HOC takes an optional ref as a prop and passes it as a ref to the wrapped component.\n * That way, if a ref is passed to a component wrapped in the HOC, the ref is a reference to the wrapped component, not the HOC. */\n forwardedRef: PropTypes.func,\n\n /** The report currently being looked at */\n report: reportPropTypes,\n };\n\n const defaultProps = {\n forwardedRef: () => {},\n report: {},\n };\n\n class WithReportOrNotFound extends Component {\n render() {\n if (_.isEmpty(this.props.report) || !this.props.report.reportID) {\n return ;\n }\n\n const rest = _.omit(this.props, ['forwardedRef']);\n\n return (\n \n );\n }\n }\n\n WithReportOrNotFound.propTypes = propTypes;\n WithReportOrNotFound.defaultProps = defaultProps;\n WithReportOrNotFound.displayName = `withReportOrNotFound(${getComponentDisplayName(WrappedComponent)})`;\n // eslint-disable-next-line rulesdir/no-negated-variables\n const withReportOrNotFound = React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ));\n\n return withOnyx({\n report: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${route.params.reportID}`,\n },\n })(withReportOrNotFound);\n}\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View, Keyboard} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport CONST from '../CONST';\nimport ONYXKEYS from '../ONYXKEYS';\nimport styles from '../styles/styles';\nimport compose from '../libs/compose';\nimport Navigation from '../libs/Navigation/Navigation';\nimport * as Report from '../libs/actions/Report';\nimport * as Policy from '../libs/actions/Policy';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport Text from '../components/Text';\nimport RoomNameInput from '../components/RoomNameInput';\nimport Picker from '../components/Picker';\nimport * as ValidationUtils from '../libs/ValidationUtils';\nimport * as ErrorUtils from '../libs/ErrorUtils';\nimport OfflineWithFeedback from '../components/OfflineWithFeedback';\nimport reportPropTypes from './reportPropTypes';\nimport withReportOrNotFound from './home/report/withReportOrNotFound';\nimport Form from '../components/Form';\nimport FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';\n\nconst propTypes = {\n /** Route params */\n route: PropTypes.shape({\n params: PropTypes.shape({\n /** Report ID passed via route r/:reportID/settings */\n reportID: PropTypes.string,\n }),\n }).isRequired,\n\n ...withLocalizePropTypes,\n\n /* Onyx Props */\n\n /** The active report */\n report: reportPropTypes.isRequired,\n\n /** The policies which the user has access to and which the report could be tied to */\n policies: PropTypes.shape({\n /** The policy name */\n name: PropTypes.string,\n\n /** ID of the policy */\n id: PropTypes.string,\n }),\n\n /** All reports shared with the user */\n reports: PropTypes.objectOf(reportPropTypes),\n};\n\nconst defaultProps = {\n policies: {},\n reports: {},\n};\n\nclass ReportSettingsPage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n }\n\n getNotificationPreferenceOptions() {\n return [\n {value: CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS, label: this.props.translate('notificationPreferences.immediately')},\n {value: CONST.REPORT.NOTIFICATION_PREFERENCE.DAILY, label: this.props.translate('notificationPreferences.daily')},\n {value: CONST.REPORT.NOTIFICATION_PREFERENCE.MUTE, label: this.props.translate('notificationPreferences.mute')},\n ];\n }\n\n /**\n * @param {Object|null} linkedWorkspace - the workspace the report is on, null if the user isn't a member of the workspace\n * @returns {Boolean}\n */\n shouldDisableRename(linkedWorkspace) {\n if (ReportUtils.isDefaultRoom(this.props.report) || ReportUtils.isArchivedRoom(this.props.report)) {\n return true;\n }\n\n // The remaining checks only apply to public rooms\n if (!ReportUtils.isPublicRoom(this.props.report)) {\n return false;\n }\n\n // if the linked workspace is null, that means the person isn't a member of the workspace the report is in\n // which means this has to be a public room we want to disable renaming for\n if (!linkedWorkspace) {\n return true;\n }\n\n // If there is a linked workspace, that means the user is a member of the workspace the report is in.\n // Still, we only want policy owners and admins to be able to modify the name.\n return !Policy.isPolicyOwner(linkedWorkspace) && linkedWorkspace.role !== CONST.POLICY.ROLE.ADMIN;\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n */\n updatePolicyRoomName(values) {\n Keyboard.dismiss();\n\n // When the room name has not changed, skip the Form submission\n if (values.newRoomName === this.props.report.reportName) {\n return;\n }\n Report.updatePolicyRoomName(this.props.report, values.newRoomName);\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Boolean}\n */\n validate(values) {\n const errors = {};\n\n // We should skip validation hence we return an empty errors and we skip Form submission on the onSubmit method\n if (values.newRoomName === this.props.report.reportName) {\n return errors;\n }\n\n if (!values.newRoomName || values.newRoomName === CONST.POLICY.ROOM_PREFIX) {\n // We error if the user doesn't enter a room name or left blank\n ErrorUtils.addErrorMessage(errors, 'newRoomName', this.props.translate('newRoomPage.pleaseEnterRoomName'));\n } else if (values.newRoomName !== CONST.POLICY.ROOM_PREFIX && !ValidationUtils.isValidRoomName(values.newRoomName)) {\n // We error if the room name has invalid characters\n ErrorUtils.addErrorMessage(errors, 'newRoomName', this.props.translate('newRoomPage.roomNameInvalidError'));\n } else if (ValidationUtils.isReservedRoomName(values.newRoomName)) {\n // Certain names are reserved for default rooms and should not be used for policy rooms.\n ErrorUtils.addErrorMessage(errors, 'newRoomName', this.props.translate('newRoomPage.roomNameReservedError', {reservedName: values.newRoomName}));\n } else if (ValidationUtils.isExistingRoomName(values.newRoomName, this.props.reports, this.props.report.policyID)) {\n // Certain names are reserved for default rooms and should not be used for policy rooms.\n ErrorUtils.addErrorMessage(errors, 'newRoomName', this.props.translate('newRoomPage.roomAlreadyExistsError'));\n }\n\n return errors;\n }\n\n render() {\n const shouldShowRoomName = !ReportUtils.isPolicyExpenseChat(this.props.report);\n const linkedWorkspace = _.find(this.props.policies, policy => policy && policy.id === this.props.report.policyID);\n const shouldDisableRename = this.shouldDisableRename(linkedWorkspace);\n\n return (\n \n \n \n !shouldDisableRename && this.updatePolicyRoomName(values)}\n scrollContextEnabled\n isSubmitButtonVisible={shouldShowRoomName && !shouldDisableRename}\n enabledWhenOffline\n >\n \n \n {\n if (this.props.report.notificationPreference === notificationPreference) {\n return;\n }\n\n Report.updateNotificationPreference(\n this.props.report.reportID,\n this.props.report.notificationPreference,\n notificationPreference,\n );\n }}\n items={this.getNotificationPreferenceOptions()}\n value={this.props.report.notificationPreference}\n />\n \n \n {shouldShowRoomName && (\n \n Report.clearPolicyRoomNameErrors(this.props.report.reportID)}\n >\n \n \n {shouldDisableRename ? (\n \n \n {this.props.translate('newRoomPage.roomName')}\n \n \n {this.props.report.reportName}\n \n \n )\n : (\n \n )}\n \n \n \n \n )}\n {Boolean(linkedWorkspace) && (\n \n \n {this.props.translate('workspace.common.workspace')}\n \n \n {linkedWorkspace.name}\n \n \n )}\n {Boolean(this.props.report.visibility) && (\n \n \n {this.props.translate('newRoomPage.visibility')}\n \n \n {this.props.translate(`newRoomPage.visibilityOptions.${this.props.report.visibility}`)}\n \n \n {\n this.props.report.visibility === CONST.REPORT.VISIBILITY.RESTRICTED\n ? this.props.translate('newRoomPage.restrictedDescription')\n : this.props.translate('newRoomPage.privateDescription')\n }\n \n \n )}\n \n \n \n );\n }\n}\n\nReportSettingsPage.propTypes = propTypes;\nReportSettingsPage.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withReportOrNotFound,\n withOnyx({\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n }),\n)(ReportSettingsPage);\n","import React, {Component} from 'react';\nimport _ from 'underscore';\nimport CONST from '../../CONST';\nimport withLocalize from '../withLocalize';\nimport TextInput from '../TextInput';\nimport * as roomNameInputPropTypes from './roomNameInputPropTypes';\nimport * as RoomNameInputUtils from '../../libs/RoomNameInputUtils';\nimport getOperatingSystem from '../../libs/getOperatingSystem';\n\nclass RoomNameInput extends Component {\n constructor(props) {\n super(props);\n\n this.setModifiedRoomName = this.setModifiedRoomName.bind(this);\n }\n\n /**\n * Calls the onChangeText callback with a modified room name\n * @param {Event} event\n */\n setModifiedRoomName(event) {\n const roomName = event.nativeEvent.text;\n const modifiedRoomName = RoomNameInputUtils.modifyRoomName(roomName);\n this.props.onChangeText(modifiedRoomName);\n\n // if custom component has onInputChange, use it to trigger changes (Form input)\n if (_.isFunction(this.props.onInputChange)) {\n this.props.onInputChange(modifiedRoomName);\n }\n }\n\n render() {\n const keyboardType = getOperatingSystem() === CONST.OS.IOS ? CONST.KEYBOARD_TYPE.ASCII_CAPABLE : CONST.KEYBOARD_TYPE.VISIBLE_PASSWORD;\n return (\n \n );\n }\n}\n\nRoomNameInput.propTypes = roomNameInputPropTypes.propTypes;\nRoomNameInput.defaultProps = roomNameInputPropTypes.defaultProps;\n\nexport default withLocalize(\n React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n )),\n);\n","import PropTypes from 'prop-types';\nimport {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n /** Callback to execute when the text input is modified correctly */\n onChangeText: PropTypes.func,\n\n /** Room name to show in input field. This should include the '#' already prefixed to the name */\n value: PropTypes.string,\n\n /** Whether we should show the input as disabled */\n disabled: PropTypes.bool,\n\n /** Error text to show */\n errorText: PropTypes.string,\n\n ...withLocalizePropTypes,\n\n /** A ref forwarded to the TextInput */\n forwardedRef: PropTypes.func,\n\n /** The ID used to uniquely identify the input in a Form */\n inputID: PropTypes.string,\n\n /** Callback that is called when the text input is blurred */\n onBlur: PropTypes.func,\n\n /** AutoFocus */\n autoFocus: PropTypes.bool,\n\n /** Whether we should wait before focusing the TextInput, useful when using transitions on Android */\n shouldDelayFocus: PropTypes.bool,\n};\n\nconst defaultProps = {\n onChangeText: () => {},\n value: '',\n disabled: false,\n errorText: '',\n forwardedRef: () => {},\n\n inputID: undefined,\n onBlur: () => {},\n autoFocus: false,\n shouldDelayFocus: false,\n};\n\nexport {propTypes, defaultProps};\n","import CONST from '../CONST';\n\n/**\n * Replaces spaces with dashes\n *\n * @param {String} roomName\n * @returns {String}\n */\nfunction modifyRoomName(roomName) {\n const modifiedRoomNameWithoutHash = roomName\n .replace(/ /g, '-')\n\n // Replaces the smart dash on iOS devices with two hyphens\n .replace(/—/g, '--');\n\n return `${CONST.POLICY.ROOM_PREFIX}${modifiedRoomNameWithoutHash}`;\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n modifyRoomName,\n};\n","import React from 'react';\nimport _ from 'underscore';\nimport {\n View,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport styles from '../styles/styles';\nimport ONYXKEYS from '../ONYXKEYS';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport OptionsList from '../components/OptionsList';\nimport ROUTES from '../ROUTES';\nimport personalDetailsPropType from './personalDetailsPropType';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport compose from '../libs/compose';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport reportPropTypes from './reportPropTypes';\nimport withReportOrNotFound from './home/report/withReportOrNotFound';\nimport FullPageNotFoundView from '../components/BlockingViews/FullPageNotFoundView';\nimport CONST from '../CONST';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** The personal details of the person who is logged in */\n personalDetails: personalDetailsPropType,\n\n /** The active report */\n report: reportPropTypes.isRequired,\n\n /** Route params */\n route: PropTypes.shape({\n params: PropTypes.shape({\n /** Report ID passed via route r/:reportID/participants */\n reportID: PropTypes.string,\n }),\n }).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n personalDetails: {},\n};\n\n/**\n * Returns all the participants in the active report\n *\n * @param {Object} report The active report object\n * @param {Object} personalDetails The personal details of the users\n * @return {Array}\n */\nconst getAllParticipants = (report, personalDetails) => {\n const {participants} = report;\n\n return _.map(participants, (login) => {\n const userLogin = Str.removeSMSDomain(login);\n const userPersonalDetail = lodashGet(personalDetails, login, {displayName: userLogin, avatar: ''});\n\n return ({\n alternateText: userLogin,\n displayName: userPersonalDetail.displayName,\n icons: [{\n source: ReportUtils.getAvatar(userPersonalDetail.avatar, login),\n name: login,\n type: CONST.ICON_TYPE_AVATAR,\n }],\n keyForList: userLogin,\n login,\n text: userPersonalDetail.displayName,\n tooltipText: userLogin,\n participantsList: [{login, displayName: userPersonalDetail.displayName}],\n });\n });\n};\n\nconst ReportParticipantsPage = (props) => {\n const participants = getAllParticipants(props.report, props.personalDetails);\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n \n \n \n {Boolean(participants.length) && (\n {\n Navigation.navigate(ROUTES.getReportParticipantRoute(\n props.route.params.reportID, option.login,\n ));\n }}\n hideSectionHeaders\n showTitleTooltip\n disableFocusOptions\n boldStyle\n optionHoveredStyle={styles.hoveredComponentBG}\n contentContainerStyles={[safeAreaPaddingBottomStyle]}\n />\n )}\n \n \n )}\n \n );\n};\n\nReportParticipantsPage.propTypes = propTypes;\nReportParticipantsPage.defaultProps = defaultProps;\nReportParticipantsPage.displayName = 'ReportParticipantsPage';\n\nexport default compose(\n withLocalize,\n withReportOrNotFound,\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n }),\n)(ReportParticipantsPage);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport OptionsSelector from '../components/OptionsSelector';\nimport * as OptionsListUtils from '../libs/OptionsListUtils';\nimport ONYXKEYS from '../ONYXKEYS';\nimport styles from '../styles/styles';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ROUTES from '../ROUTES';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../components/withWindowDimensions';\nimport * as Report from '../libs/actions/Report';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport Timing from '../libs/actions/Timing';\nimport CONST from '../CONST';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport compose from '../libs/compose';\nimport personalDetailsPropType from './personalDetailsPropType';\nimport reportPropTypes from './reportPropTypes';\nimport Performance from '../libs/Performance';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** All of the personal details for everyone */\n personalDetails: personalDetailsPropType,\n\n /** All reports shared with the user */\n reports: PropTypes.objectOf(reportPropTypes),\n\n /** Window Dimensions Props */\n ...windowDimensionsPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n betas: [],\n personalDetails: {},\n reports: {},\n};\n\nclass SearchPage extends Component {\n constructor(props) {\n super(props);\n\n Timing.start(CONST.TIMING.SEARCH_RENDER);\n Performance.markStart(CONST.TIMING.SEARCH_RENDER);\n\n this.searchRendered = this.searchRendered.bind(this);\n this.selectReport = this.selectReport.bind(this);\n this.onChangeText = this.onChangeText.bind(this);\n this.debouncedUpdateOptions = _.debounce(this.updateOptions.bind(this), 75);\n\n const {\n recentReports,\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getSearchOptions(\n props.reports,\n props.personalDetails,\n '',\n props.betas,\n );\n\n this.state = {\n searchValue: '',\n recentReports,\n personalDetails,\n userToInvite,\n };\n }\n\n onChangeText(searchValue = '') {\n this.setState({searchValue}, this.debouncedUpdateOptions);\n }\n\n /**\n * Returns the sections needed for the OptionsSelector\n *\n * @returns {Array}\n */\n getSections() {\n const sections = [];\n let indexOffset = 0;\n\n if (this.state.recentReports.length > 0) {\n sections.push(({\n data: this.state.recentReports,\n shouldShow: true,\n indexOffset,\n }));\n indexOffset += this.state.recentReports.length;\n }\n\n if (this.state.personalDetails.length > 0) {\n sections.push(({\n data: this.state.personalDetails,\n shouldShow: true,\n indexOffset,\n }));\n indexOffset += this.state.recentReports.length;\n }\n\n if (this.state.userToInvite) {\n sections.push(({\n data: [this.state.userToInvite],\n shouldShow: true,\n indexOffset,\n }));\n }\n\n return sections;\n }\n\n searchRendered() {\n Timing.end(CONST.TIMING.SEARCH_RENDER);\n Performance.markEnd(CONST.TIMING.SEARCH_RENDER);\n }\n\n updateOptions() {\n const {\n recentReports,\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getSearchOptions(\n this.props.reports,\n this.props.personalDetails,\n this.state.searchValue.trim(),\n this.props.betas,\n );\n this.setState({\n userToInvite,\n recentReports,\n personalDetails,\n });\n }\n\n /**\n * Reset the search value and redirect to the selected report\n *\n * @param {Object} option\n */\n selectReport(option) {\n if (!option) {\n return;\n }\n\n if (option.reportID) {\n this.setState({\n searchValue: '',\n }, () => {\n Navigation.navigate(ROUTES.getReportRoute(option.reportID));\n });\n } else {\n Report.navigateToAndOpenReport([option.login]);\n }\n }\n\n render() {\n const sections = this.getSections();\n const headerMessage = OptionsListUtils.getHeaderMessage(\n (this.state.recentReports.length + this.state.personalDetails.length) !== 0,\n Boolean(this.state.userToInvite),\n this.state.searchValue,\n );\n return (\n \n {({didScreenTransitionEnd, safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.dismissModal(true)}\n />\n \n \n \n \n )}\n \n );\n }\n}\n\nSearchPage.propTypes = propTypes;\nSearchPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withOnyx({\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n }),\n)(SearchPage);\n","import _ from 'underscore';\nimport lodashTransform from 'lodash/transform';\nimport React, {Profiler, forwardRef} from 'react';\nimport {Alert, InteractionManager} from 'react-native';\n\nimport * as Metrics from './Metrics';\nimport getComponentDisplayName from './getComponentDisplayName';\nimport CONST from '../CONST';\nimport isE2ETestSession from './E2E/isE2ETestSession';\n\n/** @type {import('react-native-performance').Performance} */\nlet rnPerformance;\n\n/**\n * Deep diff between two objects. Useful for figuring out what changed about an object from one render to the next so\n * that state and props updates can be optimized.\n *\n * @param {Object} object\n * @param {Object} base\n * @return {Object}\n */\nfunction diffObject(object, base) {\n function changes(obj, comparisonObject) {\n return lodashTransform(obj, (result, value, key) => {\n if (_.isEqual(value, comparisonObject[key])) {\n return;\n }\n\n // eslint-disable-next-line no-param-reassign\n result[key] = (_.isObject(value) && _.isObject(comparisonObject[key]))\n ? changes(value, comparisonObject[key])\n : value;\n });\n }\n return changes(object, base);\n}\n\nconst Performance = {\n // When performance monitoring is disabled the implementations are blank\n diffObject,\n setupPerformanceObserver: () => {},\n getPerformanceMetrics: () => [],\n printPerformanceMetrics: () => {},\n markStart: () => {},\n markEnd: () => {},\n measureFailSafe: () => {},\n measureTTI: () => {},\n traceRender: () => {},\n withRenderTrace: () => Component => Component,\n subscribeToMeasurements: () => {},\n};\n\nif (Metrics.canCapturePerformanceMetrics()) {\n const perfModule = require('react-native-performance');\n perfModule.setResourceLoggingEnabled(true);\n rnPerformance = perfModule.default;\n\n Performance.measureFailSafe = (measureName, startOrMeasureOptions, endMark) => {\n try {\n rnPerformance.measure(measureName, startOrMeasureOptions, endMark);\n } catch (error) {\n // Sometimes there might be no start mark recorded and the measure will fail with an error\n console.debug(error.message);\n }\n };\n\n /**\n * Measures the TTI time. To be called when the app is considered to be interactive.\n * @param {String} [endMark] Optional end mark name\n */\n Performance.measureTTI = (endMark) => {\n // Make sure TTI is captured when the app is really usable\n InteractionManager.runAfterInteractions(() => {\n requestAnimationFrame(() => {\n Performance.measureFailSafe('TTI', 'nativeLaunchStart', endMark);\n\n // we don't want the alert to show on an e2e test session\n if (!isE2ETestSession()) {\n Performance.printPerformanceMetrics();\n }\n });\n });\n };\n\n /**\n * Sets up an observer to capture events recorded in the native layer before the app fully initializes.\n */\n Performance.setupPerformanceObserver = () => {\n const performanceReported = require('react-native-performance-flipper-reporter');\n performanceReported.setupDefaultFlipperReporter();\n\n // Monitor some native marks that we want to put on the timeline\n new perfModule.PerformanceObserver((list, observer) => {\n list.getEntries()\n .forEach((entry) => {\n if (entry.name === 'nativeLaunchEnd') {\n Performance.measureFailSafe('nativeLaunch', 'nativeLaunchStart', 'nativeLaunchEnd');\n }\n if (entry.name === 'downloadEnd') {\n Performance.measureFailSafe('jsBundleDownload', 'downloadStart', 'downloadEnd');\n }\n if (entry.name === 'runJsBundleEnd') {\n Performance.measureFailSafe('runJsBundle', 'runJsBundleStart', 'runJsBundleEnd');\n }\n\n // We don't need to keep the observer past this point\n if (entry.name === 'runJsBundleEnd' || entry.name === 'downloadEnd') {\n observer.disconnect();\n }\n });\n }).observe({type: 'react-native-mark', buffered: true});\n\n // Monitor for \"_end\" marks and capture \"_start\" to \"_end\" measures\n new perfModule.PerformanceObserver((list) => {\n list.getEntriesByType('mark')\n .forEach((mark) => {\n if (mark.name.endsWith('_end')) {\n const end = mark.name;\n const name = end.replace(/_end$/, '');\n const start = `${name}_start`;\n Performance.measureFailSafe(name, start, end);\n }\n\n // Capture any custom measures or metrics below\n if (mark.name === `${CONST.TIMING.SIDEBAR_LOADED}_end`) {\n Performance.measureTTI(mark.name);\n }\n });\n }).observe({type: 'mark', buffered: true});\n };\n\n Performance.getPerformanceMetrics = () => _.chain([\n ...rnPerformance.getEntriesByName('nativeLaunch'),\n ...rnPerformance.getEntriesByName('runJsBundle'),\n ...rnPerformance.getEntriesByName('jsBundleDownload'),\n ...rnPerformance.getEntriesByName('TTI'),\n ...rnPerformance.getEntriesByName('regularAppStart'),\n ...rnPerformance.getEntriesByName('appStartedToReady'),\n ])\n .filter(entry => entry.duration > 0)\n .value();\n\n /**\n * Outputs performance stats. We alert these so that they are easy to access in release builds.\n */\n Performance.printPerformanceMetrics = () => {\n const stats = Performance.getPerformanceMetrics();\n const statsAsText = _.map(stats, entry => `\\u2022 ${entry.name}: ${entry.duration.toFixed(1)}ms`)\n .join('\\n');\n\n if (stats.length > 0) {\n Alert.alert('Performance', statsAsText);\n }\n };\n\n Performance.subscribeToMeasurements = (callback) => {\n new perfModule.PerformanceObserver((list) => {\n list.getEntriesByType('measure').forEach(callback);\n }).observe({type: 'measure', buffered: true});\n };\n\n /**\n * Add a start mark to the performance entries\n * @param {string} name\n * @param {Object} [detail]\n * @returns {PerformanceMark}\n */\n Performance.markStart = (name, detail) => rnPerformance.mark(`${name}_start`, {detail});\n\n /**\n * Add an end mark to the performance entries\n * A measure between start and end is captured automatically\n * @param {string} name\n * @param {Object} [detail]\n * @returns {PerformanceMark}\n */\n Performance.markEnd = (name, detail) => rnPerformance.mark(`${name}_end`, {detail});\n\n /**\n * Put data emitted by Profiler components on the timeline\n * @param {string} id the \"id\" prop of the Profiler tree that has just committed\n * @param {'mount'|'update'} phase either \"mount\" (if the tree just mounted) or \"update\" (if it re-rendered)\n * @param {number} actualDuration time spent rendering the committed update\n * @param {number} baseDuration estimated time to render the entire subtree without memoization\n * @param {number} startTime when React began rendering this update\n * @param {number} commitTime when React committed this update\n * @param {Set} interactions the Set of interactions belonging to this update\n * @returns {PerformanceMeasure}\n */\n Performance.traceRender = (\n id,\n phase,\n actualDuration,\n baseDuration,\n startTime,\n commitTime,\n interactions,\n ) => rnPerformance.measure(id, {\n start: startTime,\n duration: actualDuration,\n detail: {\n phase,\n baseDuration,\n commitTime,\n interactions,\n },\n });\n\n /**\n * A HOC that captures render timings of the Wrapped component\n * @param {object} config\n * @param {string} config.id\n * @returns {function(React.Component): React.FunctionComponent}\n */\n Performance.withRenderTrace = ({id}) => (WrappedComponent) => {\n const WithRenderTrace = forwardRef((props, ref) => (\n \n {/* eslint-disable-next-line react/jsx-props-no-spreading */}\n \n \n ));\n\n WithRenderTrace.displayName = `withRenderTrace(${getComponentDisplayName(WrappedComponent)})`;\n return WithRenderTrace;\n };\n}\n\nexport default Performance;\n","import CONFIG from '../../CONFIG';\n\n/**\n * Is capturing performance stats enabled.\n *\n * @returns {Boolean}\n */\nconst canCapturePerformanceMetrics = () => CONFIG.CAPTURE_METRICS;\n\n/**\n * Is capturing Onyx stats enabled.\n *\n * @returns {Boolean}\n */\nconst canCaptureOnyxMetrics = () => CONFIG.ONYX_METRICS;\n\nexport {\n canCapturePerformanceMetrics,\n canCaptureOnyxMetrics,\n};\n","import CONFIG from '../../CONFIG';\n\nexport default () => CONFIG.E2E_TESTING;\n","import { addPlugin } from 'react-native-flipper';\nimport performance, { PerformanceObserver } from 'react-native-performance';\n\nconst IDENTIFIER = 'flipper-plugin-performance';\nconst SCHEMA_VERSION = 1;\n\nconst getNativeMarkMap = (\n entries = performance.getEntriesByType('react-native-mark')\n) => entries.reduce((acc, item) => acc.set(item.name, item), new Map());\n\n// The bundle download trace can be very long but has no real impact on\n// perf so we try to alter the marks to act as if it wasn't there\nconst subtractDownloadDuration = (entries, entryMap = getNativeMarkMap()) =>\n entries.map((entry) => {\n const downloadEnd = entryMap.get('downloadEnd');\n let transformed = entry.toJSON ? entry.toJSON() : { ...entry };\n if (\n downloadEnd &&\n entry.name !== 'downloadStart' &&\n entry.name !== 'downloadEnd' &&\n entry.startTime <= downloadEnd.startTime\n ) {\n const downloadStart = entryMap.get('downloadStart');\n transformed.startTime += downloadEnd.startTime - downloadStart.startTime;\n }\n return transformed;\n });\n\nconst calculateNativeMeasures = (newEntries, entryMap = getNativeMarkMap()) =>\n newEntries\n .filter(\n (entry) =>\n entry.name.endsWith('End') &&\n entry.name !== 'nativeLaunchEnd' &&\n entry.name !== 'downloadEnd'\n )\n .map((end) => {\n const name = end.name.replace(/End$/, '');\n const { startTime } = entryMap.get(`${name}Start`);\n const duration = end.startTime - startTime;\n return {\n name,\n startTime,\n duration,\n category: 'Native',\n };\n });\n\nconst calculateNativeMetrics = (newEntries, entryMap = getNativeMarkMap()) =>\n newEntries\n .filter((entry) => entry.name === 'nativeLaunchEnd')\n .map((end) => {\n const name = end.name.replace(/End$/, '');\n const { startTime } = entryMap.get(`${name}Start`);\n const value = end.startTime - startTime;\n return {\n name,\n startTime,\n value,\n unit: 'milliseconds',\n };\n });\n\nconst calculateNativeMarks = (newEntries, entryMap = getNativeMarkMap()) =>\n newEntries\n .filter((entry) => !isMeasureMark(entry))\n .map((entry) => ({\n name: entry.name,\n startTime: entry.startTime,\n }));\n\nconst isMeasureMark = (entry) =>\n entry.name.endsWith('End') || entry.name.endsWith('Start');\n\nconst getResourceName = (url) => {\n const [urlSansQuery] = url.split('?');\n return urlSansQuery.replace(/^https?:\\/\\//i, '');\n};\n\nexport function setupDefaultFlipperReporter() {\n let observers = [];\n const sessionStartedAt = Date.now();\n\n const addObserver = (callback, options) => {\n const observer = new PerformanceObserver(callback);\n observer.observe(options);\n observers.push(observer);\n };\n\n addPlugin({\n getId() {\n return IDENTIFIER;\n },\n onConnect(connection) {\n connection.send('setSession', {\n schemaVersion: SCHEMA_VERSION,\n sessionStartedAt,\n });\n\n const appendMeasures = (measures) => {\n connection.send('appendMeasures', {\n schemaVersion: SCHEMA_VERSION,\n measures,\n });\n };\n\n const appendMarks = (marks) => {\n connection.send('appendMarks', {\n schemaVersion: SCHEMA_VERSION,\n marks,\n });\n };\n\n const setMetrics = (metrics) => {\n connection.send('setMetrics', {\n schemaVersion: SCHEMA_VERSION,\n metrics,\n });\n };\n\n addObserver(\n (list) => {\n const entries = subtractDownloadDuration(list.getEntries());\n const entryMap = getNativeMarkMap(entries);\n const measures = calculateNativeMeasures(entries, entryMap);\n if (measures.length !== 0) {\n appendMeasures(measures);\n }\n const marks = calculateNativeMarks(entries, entryMap);\n if (marks.length !== 0) {\n appendMarks(marks);\n }\n const metrics = calculateNativeMetrics(entries, entryMap);\n if (metrics.length !== 0) {\n setMetrics(metrics);\n }\n },\n {\n type: 'react-native-mark',\n buffered: true,\n }\n );\n addObserver(\n (list) => {\n appendMeasures(\n list.getEntries().map((entry) => ({\n name: getResourceName(entry.name),\n startTime: entry.startTime,\n duration: entry.duration,\n category: 'Network',\n }))\n );\n },\n {\n type: 'resource',\n buffered: true,\n }\n );\n addObserver(\n (list) => {\n appendMeasures(\n list.getEntries().map((entry) => ({\n name: entry.name,\n startTime: entry.startTime,\n duration: entry.duration,\n category: 'App',\n }))\n );\n },\n {\n type: 'measure',\n buffered: true,\n }\n );\n addObserver(\n (list) => {\n setMetrics(\n list.getEntries().map((entry) => ({\n name: entry.name,\n startTime: entry.startTime,\n value: entry.value,\n unit: entry.name === 'bundleSize' ? 'bytes' : undefined,\n }))\n );\n },\n {\n type: 'metric',\n buffered: true,\n }\n );\n },\n onDisconnect() {\n observers.forEach((observer) => observer.disconnect());\n observers = [];\n },\n });\n}\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @format\n */\n\n// $FlowFixMe\nimport {NativeModules, NativeEventEmitter} from 'react-native';\n\nconst {Flipper} = NativeModules;\n\nexport default Flipper;\n\nconst listeners = {}; // plugin#method -> callback\nconst plugins = {}; // plugin -> Plugin\n\nfunction assertSerializable(data) {\n if (\n data === undefined ||\n Array.isArray(data) ||\n (data && typeof data === 'object')\n ) {\n return true;\n }\n throw new Error(\n 'Flipper: Expected serializable (undefined, an array or an object). Got: ' +\n data,\n );\n}\n\nclass Connection {\n connected;\n pluginId;\n\n constructor(pluginId) {\n this.connected = false;\n this.pluginId = pluginId;\n }\n\n send(method, data) {\n if (!this.connected) {\n throw new Error('Cannot send data, not connected');\n }\n assertSerializable(data);\n Flipper.send(this.pluginId, method, JSON.stringify(data));\n }\n\n reportErrorWithMetadata(reason, stackTrace) {\n Flipper.reportErrorWithMetadata(\n this.pluginId,\n '' + reason,\n '' + stackTrace,\n );\n }\n\n reportError(error) {\n Flipper.reportError(this.pluginId, '' + error);\n }\n\n receive(method, listener) {\n if (!this.connected) {\n throw new Error('Cannot receive data, not connected');\n }\n\n listeners[this.pluginId + '#' + method] = listener;\n Flipper.subscribe(this.pluginId, method);\n }\n}\n\nclass Responder {\n responderId;\n\n constructor(responderId) {\n this.responderId = responderId;\n }\n\n success(response) {\n assertSerializable(response);\n Flipper.respondSuccess(\n this.responderId,\n response == null ? null : JSON.stringify(response),\n );\n }\n\n error(response) {\n assertSerializable(response);\n Flipper.respondError(this.responderId, JSON.stringify(response));\n }\n}\n\nfunction startEventListeners() {\n const emitter = new NativeEventEmitter(Flipper);\n\n emitter.addListener('react-native-flipper-plugin-connect', event => {\n const {plugin} = event;\n if (plugins[plugin]) {\n const p = plugins[plugin];\n p._connection.connected = true;\n p.onConnect(p._connection);\n }\n });\n\n emitter.addListener('react-native-flipper-plugin-disconnect', event => {\n const {plugin} = event;\n if (plugins[plugin]) {\n const p = plugins[plugin];\n p._connection.connected = false;\n p.onDisconnect();\n }\n });\n\n emitter.addListener('react-native-flipper-receive-event', event => {\n const {plugin, method, params, responderId} = event;\n const key = plugin + '#' + method;\n if (listeners[key]) {\n const responder =\n responderId != null ? new Responder(responderId) : undefined;\n listeners[key](JSON.parse(params), responder);\n }\n });\n}\n\n// $FlowFixMe\nexport function addPlugin(plugin) {\n if (!Flipper) {\n printNoFlipperWarning();\n return;\n }\n if (!plugin || typeof plugin !== 'object') {\n throw new Error('Expected plugin, got ' + plugin);\n }\n ['getId', 'onConnect', 'onDisconnect'].forEach(method => {\n if (typeof plugin[method] !== 'function') {\n throw new Error(`Plugin misses an implementation for '${method}'`);\n }\n });\n const runInBackground =\n typeof plugin.runInBackground === 'function'\n ? !!plugin.runInBackground()\n : false;\n const id = plugin.getId();\n plugin._connection = new Connection(id);\n plugins[id] = plugin;\n\n Flipper.registerPlugin(id, runInBackground, status => {\n if (status === 'noflipper') {\n printNoFlipperWarning();\n }\n });\n}\n\nfunction printNoFlipperWarning() {\n // $FlowFixMe\n if (typeof __DEV__ !== 'undefined' && __DEV__) {\n console.warn(\n 'The native module for Flipper seems unavailable. Please verify that `react-native-flipper` is installed as yarn dependency to your project and, for iOS, that `pod install` is run in the `ios` directory.',\n );\n }\n}\n\nif (Flipper) {\n startEventListeners();\n}\n","import React from 'react';\nimport NewChatPage from './NewChatPage';\n\n// eslint-disable-next-line react/jsx-props-no-spreading\nconst NewGroupPage = props => ;\n\nNewGroupPage.displayName = 'NewGroupPage';\n\nexport default NewGroupPage;\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport OptionsSelector from '../components/OptionsSelector';\nimport * as OptionsListUtils from '../libs/OptionsListUtils';\nimport ONYXKEYS from '../ONYXKEYS';\nimport styles from '../styles/styles';\nimport * as Report from '../libs/actions/Report';\nimport CONST from '../CONST';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../components/withWindowDimensions';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport FullScreenLoadingIndicator from '../components/FullscreenLoadingIndicator';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport compose from '../libs/compose';\nimport personalDetailsPropType from './personalDetailsPropType';\nimport reportPropTypes from './reportPropTypes';\n\nconst propTypes = {\n /** Whether screen is used to create group chat */\n isGroupChat: PropTypes.bool,\n\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** All of the personal details for everyone */\n personalDetails: personalDetailsPropType,\n\n /** All reports shared with the user */\n reports: PropTypes.objectOf(reportPropTypes),\n\n ...windowDimensionsPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isGroupChat: false,\n betas: [],\n personalDetails: {},\n reports: {},\n};\n\nclass NewChatPage extends Component {\n constructor(props) {\n super(props);\n\n this.toggleOption = this.toggleOption.bind(this);\n this.createChat = this.createChat.bind(this);\n this.createGroup = this.createGroup.bind(this);\n this.updateOptionsWithSearchTerm = this.updateOptionsWithSearchTerm.bind(this);\n this.excludedGroupEmails = _.without(CONST.EXPENSIFY_EMAILS, CONST.EMAIL.CONCIERGE);\n\n const {\n recentReports,\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getNewChatOptions(\n props.reports,\n props.personalDetails,\n props.betas,\n '',\n [],\n this.props.isGroupChat ? this.excludedGroupEmails : [],\n );\n this.state = {\n searchTerm: '',\n recentReports,\n personalDetails,\n selectedOptions: [],\n userToInvite,\n };\n }\n\n /**\n * Returns the sections needed for the OptionsSelector\n *\n * @param {Boolean} maxParticipantsReached\n * @returns {Array}\n */\n getSections(maxParticipantsReached) {\n const sections = [];\n let indexOffset = 0;\n\n if (this.props.isGroupChat) {\n sections.push({\n title: undefined,\n data: this.state.selectedOptions,\n shouldShow: !_.isEmpty(this.state.selectedOptions),\n indexOffset,\n });\n indexOffset += this.state.selectedOptions.length;\n\n if (maxParticipantsReached) {\n return sections;\n }\n }\n\n // Filtering out selected users from the search results\n const filterText = _.reduce(this.state.selectedOptions, (str, {login}) => `${str} ${login}`, '');\n const recentReportsWithoutSelected = _.filter(this.state.recentReports, ({login}) => !filterText.includes(login));\n const personalDetailsWithoutSelected = _.filter(this.state.personalDetails, ({login}) => !filterText.includes(login));\n const hasUnselectedUserToInvite = this.state.userToInvite && !filterText.includes(this.state.userToInvite.login);\n\n sections.push({\n title: this.props.translate('common.recents'),\n data: recentReportsWithoutSelected,\n shouldShow: !_.isEmpty(recentReportsWithoutSelected),\n indexOffset,\n });\n indexOffset += recentReportsWithoutSelected.length;\n\n sections.push({\n title: this.props.translate('common.contacts'),\n data: personalDetailsWithoutSelected,\n shouldShow: !_.isEmpty(personalDetailsWithoutSelected),\n indexOffset,\n });\n indexOffset += personalDetailsWithoutSelected.length;\n\n if (hasUnselectedUserToInvite) {\n sections.push(({\n title: undefined,\n data: [this.state.userToInvite],\n shouldShow: true,\n indexOffset,\n }));\n }\n\n return sections;\n }\n\n updateOptionsWithSearchTerm(searchTerm = '') {\n const {\n recentReports,\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getNewChatOptions(\n this.props.reports,\n this.props.personalDetails,\n this.props.betas,\n searchTerm,\n [],\n this.props.isGroupChat ? this.excludedGroupEmails : [],\n );\n this.setState({\n searchTerm,\n userToInvite,\n recentReports,\n personalDetails,\n });\n }\n\n /**\n * Removes a selected option from list if already selected. If not already selected add this option to the list.\n * @param {Object} option\n */\n toggleOption(option) {\n this.setState((prevState) => {\n const isOptionInList = _.some(prevState.selectedOptions, selectedOption => (\n selectedOption.login === option.login\n ));\n\n let newSelectedOptions;\n\n if (isOptionInList) {\n newSelectedOptions = _.reject(prevState.selectedOptions, selectedOption => (\n selectedOption.login === option.login\n ));\n } else {\n newSelectedOptions = [...prevState.selectedOptions, option];\n }\n\n const {\n recentReports,\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getNewChatOptions(\n this.props.reports,\n this.props.personalDetails,\n this.props.betas,\n prevState.searchTerm,\n [],\n this.excludedGroupEmails,\n );\n\n return {\n selectedOptions: newSelectedOptions,\n recentReports,\n personalDetails,\n userToInvite,\n searchTerm: prevState.searchTerm,\n };\n });\n }\n\n /**\n * Creates a new 1:1 chat with the option and the current user,\n * or navigates to the existing chat if one with those participants already exists.\n *\n * @param {Object} option\n */\n createChat(option) {\n Report.navigateToAndOpenReport([option.login]);\n }\n\n /**\n * Creates a new group chat with all the selected options and the current user,\n * or navigates to the existing chat if one with those participants already exists.\n */\n createGroup() {\n if (!this.props.isGroupChat) {\n return;\n }\n\n const userLogins = _.pluck(this.state.selectedOptions, 'login');\n if (userLogins.length < 1) {\n return;\n }\n Report.navigateToAndOpenReport(userLogins);\n }\n\n render() {\n const maxParticipantsReached = this.state.selectedOptions.length === CONST.REPORT.MAXIMUM_PARTICIPANTS;\n const sections = this.getSections(maxParticipantsReached);\n const headerMessage = OptionsListUtils.getHeaderMessage(\n (this.state.personalDetails.length + this.state.recentReports.length) !== 0,\n Boolean(this.state.userToInvite),\n this.state.searchTerm,\n maxParticipantsReached,\n );\n return (\n \n {({didScreenTransitionEnd, safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.dismissModal(true)}\n />\n 0 ? safeAreaPaddingBottomStyle : {}]}>\n {didScreenTransitionEnd ? (\n (this.props.isGroupChat ? this.toggleOption(option) : this.createChat(option))}\n onChangeText={this.updateOptionsWithSearchTerm}\n headerMessage={headerMessage}\n boldStyle\n shouldFocusOnSelectRow={this.props.isGroupChat}\n shouldShowConfirmButton={this.props.isGroupChat}\n confirmButtonText={this.props.translate('newChatPage.createGroup')}\n onConfirmSelection={this.createGroup}\n placeholderText={this.props.translate('optionsSelector.nameEmailOrPhoneNumber')}\n safeAreaPaddingBottomStyle={safeAreaPaddingBottomStyle}\n />\n ) : (\n \n )}\n \n \n )}\n \n );\n }\n}\n\nNewChatPage.propTypes = propTypes;\nNewChatPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withOnyx({\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n }),\n)(NewChatPage);\n","import lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View, ScrollView, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport styles from '../../styles/styles';\nimport Text from '../../components/Text';\nimport * as Session from '../../libs/actions/Session';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Tooltip from '../../components/Tooltip';\nimport Avatar from '../../components/Avatar';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport MenuItem from '../../components/MenuItem';\nimport ROUTES from '../../ROUTES';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport CONST from '../../CONST';\nimport Permissions from '../../libs/Permissions';\nimport * as App from '../../libs/actions/App';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../components/withCurrentUserPersonalDetails';\nimport * as PaymentMethods from '../../libs/actions/PaymentMethods';\nimport bankAccountPropTypes from '../../components/bankAccountPropTypes';\nimport cardPropTypes from '../../components/cardPropTypes';\nimport * as Wallet from '../../libs/actions/Wallet';\nimport walletTermsPropTypes from '../EnablePayments/walletTermsPropTypes';\nimport * as PolicyUtils from '../../libs/PolicyUtils';\nimport ConfirmModal from '../../components/ConfirmModal';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport * as Link from '../../libs/actions/Link';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport * as UserUtils from '../../libs/UserUtils';\nimport policyMemberPropType from '../policyMemberPropType';\nimport * as ReportActionContextMenu from '../home/report/ContextMenu/ReportActionContextMenu';\nimport {CONTEXT_MENU_TYPES} from '../home/report/ContextMenu/ContextMenuActions';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** The session of the logged in person */\n session: PropTypes.shape({\n /** Email of the logged in person */\n email: PropTypes.string,\n }),\n\n /** The list of this user's policies */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The ID of the policy */\n ID: PropTypes.string,\n\n /** The name of the policy */\n name: PropTypes.string,\n\n /** The type of the policy */\n type: PropTypes.string,\n\n /** The user's role in the policy */\n role: PropTypes.string,\n\n /** The current action that is waiting to happen on the policy */\n pendingAction: PropTypes.oneOf(_.values(CONST.RED_BRICK_ROAD_PENDING_ACTION)),\n })),\n\n /** The user's wallet account */\n userWallet: PropTypes.shape({\n /** The user's current wallet balance */\n currentBalance: PropTypes.number,\n }),\n\n /** List of bank accounts */\n bankAccountList: PropTypes.objectOf(bankAccountPropTypes),\n\n /** List of cards */\n cardList: PropTypes.objectOf(cardPropTypes),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** Information about the user accepting the terms for payments */\n walletTerms: walletTermsPropTypes,\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** Date login was validated, used to show brickroad info status */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n /** List of policy members */\n policyMembers: PropTypes.objectOf(policyMemberPropType),\n\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n session: {},\n policies: {},\n userWallet: {\n currentBalance: 0,\n },\n betas: [],\n walletTerms: {},\n bankAccountList: {},\n cardList: {},\n loginList: {},\n policyMembers: {},\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nclass InitialSettingsPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.popoverAnchor = React.createRef();\n\n this.getWalletBalance = this.getWalletBalance.bind(this);\n this.getDefaultMenuItems = this.getDefaultMenuItems.bind(this);\n this.getMenuItem = this.getMenuItem.bind(this);\n this.toggleSignoutConfirmModal = this.toggleSignoutConfirmModal.bind(this);\n this.signout = this.signOut.bind(this);\n\n this.state = {\n shouldShowSignoutConfirmModal: false,\n };\n }\n\n componentDidMount() {\n Wallet.openInitialSettingsPage();\n }\n\n /**\n * @param {Boolean} isPaymentItem whether the item being rendered is the payments menu item\n * @returns {Number} the user wallet balance\n */\n getWalletBalance(isPaymentItem) {\n return (isPaymentItem && Permissions.canUseWallet(this.props.betas))\n ? this.props.numberFormat(\n this.props.userWallet.currentBalance / 100, // Divide by 100 because balance is in cents\n {style: 'currency', currency: 'USD'},\n ) : undefined;\n }\n\n /**\n * Retuns a list of default menu items\n * @returns {Array} the default menu items\n */\n getDefaultMenuItems() {\n const policiesAvatars = _.chain(this.props.policies)\n .filter(policy => PolicyUtils.shouldShowPolicy(policy, this.props.network.isOffline))\n .sortBy(policy => policy.name)\n .map(policy => ({\n source: policy.avatar || ReportUtils.getDefaultWorkspaceAvatar(policy.name),\n name: policy.name,\n type: CONST.ICON_TYPE_WORKSPACE,\n }))\n .value();\n\n const policyBrickRoadIndicator = _.chain(this.props.policies)\n .filter(policy => policy && policy.type === CONST.POLICY.TYPE.FREE && policy.role === CONST.POLICY.ROLE.ADMIN)\n .find(policy => PolicyUtils.hasPolicyError(policy) || PolicyUtils.getPolicyBrickRoadIndicatorStatus(policy, this.props.policyMembers))\n .value() ? 'error' : null;\n const profileBrickRoadIndicator = UserUtils.getLoginListBrickRoadIndicator(this.props.loginList);\n\n return ([\n {\n translationKey: 'common.workspaces',\n icon: Expensicons.Building,\n action: () => { Navigation.navigate(ROUTES.SETTINGS_WORKSPACES); },\n floatRightAvatars: policiesAvatars,\n shouldStackHorizontally: true,\n brickRoadIndicator: policyBrickRoadIndicator,\n },\n {\n translationKey: 'common.profile',\n icon: Expensicons.Profile,\n action: () => { App.openProfile(); },\n brickRoadIndicator: profileBrickRoadIndicator,\n },\n {\n translationKey: 'common.preferences',\n icon: Expensicons.Gear,\n action: () => { Navigation.navigate(ROUTES.SETTINGS_PREFERENCES); },\n },\n {\n translationKey: 'initialSettingsPage.security',\n icon: Expensicons.Lock,\n action: () => { Navigation.navigate(ROUTES.SETTINGS_SECURITY); },\n },\n {\n translationKey: 'common.payments',\n icon: Expensicons.Wallet,\n action: () => { Navigation.navigate(ROUTES.SETTINGS_PAYMENTS); },\n brickRoadIndicator: PaymentMethods.hasPaymentMethodError(this.props.bankAccountList, this.props.cardList) || !_.isEmpty(this.props.userWallet.errors)\n || !_.isEmpty(this.props.walletTerms.errors) ? 'error' : null,\n },\n {\n translationKey: 'initialSettingsPage.help',\n icon: Expensicons.QuestionMark,\n action: () => { Link.openExternalLink(CONST.NEWHELP_URL); },\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n link: CONST.NEWHELP_URL,\n },\n {\n translationKey: 'initialSettingsPage.about',\n icon: Expensicons.Info,\n action: () => { Navigation.navigate(ROUTES.SETTINGS_ABOUT); },\n },\n {\n translationKey: 'initialSettingsPage.signOut',\n icon: Expensicons.Exit,\n action: () => { this.signout(false); },\n },\n ]);\n }\n\n getMenuItem(item, index) {\n const keyTitle = item.translationKey ? this.props.translate(item.translationKey) : item.title;\n const isPaymentItem = item.translationKey === 'common.payments';\n\n return (\n ReportActionContextMenu.showContextMenu(CONTEXT_MENU_TYPES.LINK, e, item.link, this.popoverAnchor.current) : undefined}\n />\n );\n }\n\n toggleSignoutConfirmModal(value) {\n this.setState({shouldShowSignoutConfirmModal: value});\n }\n\n signOut(shouldForceSignout = false) {\n if (!this.props.network.isOffline || shouldForceSignout) {\n Session.signOutAndRedirectToSignIn();\n return;\n }\n\n // When offline, warn the user that any actions they took while offline will be lost if they sign out\n this.toggleSignoutConfirmModal(true);\n }\n\n openProfileSettings() {\n Navigation.navigate(ROUTES.SETTINGS_PROFILE);\n }\n\n render() {\n // On the very first sign in or after clearing storage these\n // details will not be present on the first render so we'll just\n // return nothing for now.\n if (_.isEmpty(this.props.currentUserPersonalDetails)) {\n return null;\n }\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.dismissModal(true)}\n />\n \n \n \n \n \n \n \n \n \n \n\n \n \n \n {this.props.currentUserPersonalDetails.displayName\n ? this.props.currentUserPersonalDetails.displayName\n : Str.removeSMSDomain(this.props.session.email)}\n \n \n \n {Boolean(this.props.currentUserPersonalDetails.displayName) && (\n \n {Str.removeSMSDomain(this.props.session.email)}\n \n )}\n \n {_.map(this.getDefaultMenuItems(), (item, index) => this.getMenuItem(item, index))}\n\n this.signOut(true)}\n onCancel={() => this.toggleSignoutConfirmModal(false)}\n />\n \n \n \n )}\n \n );\n }\n}\n\nInitialSettingsPage.propTypes = propTypes;\nInitialSettingsPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n policyMembers: {\n key: ONYXKEYS.COLLECTION.POLICY_MEMBER_LIST,\n },\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n bankAccountList: {\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n },\n cardList: {\n key: ONYXKEYS.CARD_LIST,\n },\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n loginList: {\n key: ONYXKEYS.LOGIN_LIST,\n },\n }),\n withNetwork(),\n)(InitialSettingsPage);\n","import moment from 'moment-timezone';\nimport {AppState} from 'react-native';\nimport Onyx from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport Str from 'expensify-common/lib/str';\nimport _ from 'underscore';\nimport * as API from '../API';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\nimport Log from '../Log';\nimport Performance from '../Performance';\nimport * as Policy from './Policy';\nimport Navigation from '../Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport * as SessionUtils from '../SessionUtils';\nimport getCurrentUrl from '../Navigation/currentUrl';\nimport * as Session from './Session';\n\nlet currentUserAccountID;\nlet currentUserEmail = '';\nOnyx.connect({\n key: ONYXKEYS.SESSION,\n callback: (val) => {\n currentUserAccountID = lodashGet(val, 'accountID', '');\n currentUserEmail = lodashGet(val, 'email', '');\n },\n});\n\nlet isSidebarLoaded;\nOnyx.connect({\n key: ONYXKEYS.IS_SIDEBAR_LOADED,\n callback: val => isSidebarLoaded = val,\n initWithStoredValues: false,\n});\n\nlet myPersonalDetails;\nOnyx.connect({\n key: ONYXKEYS.PERSONAL_DETAILS,\n callback: (val) => {\n if (!val || !currentUserEmail) {\n return;\n }\n\n myPersonalDetails = val[currentUserEmail];\n },\n});\n\nlet allPolicies = [];\nOnyx.connect({\n key: ONYXKEYS.COLLECTION.POLICY,\n waitForCollectionCallback: true,\n callback: policies => allPolicies = policies,\n});\n\nlet preferredLocale;\nOnyx.connect({\n key: ONYXKEYS.NVP_PREFERRED_LOCALE,\n callback: val => preferredLocale = val,\n});\n\n/**\n * @param {Array} policies\n * @return {Array} array of policy ids\n*/\nfunction getNonOptimisticPolicyIDs(policies) {\n return _.chain(policies)\n .reject(policy => lodashGet(policy, 'pendingAction', null) === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD)\n .pluck('id')\n .compact()\n .value();\n}\n\n/**\n* @param {String} locale\n*/\nfunction setLocale(locale) {\n if (locale === preferredLocale) {\n return;\n }\n\n // If user is not signed in, change just locally.\n if (!currentUserAccountID) {\n Onyx.merge(ONYXKEYS.NVP_PREFERRED_LOCALE, locale);\n return;\n }\n\n // Optimistically change preferred locale\n const optimisticData = [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.NVP_PREFERRED_LOCALE,\n value: locale,\n },\n ];\n\n API.write('UpdatePreferredLocale', {\n value: locale,\n }, {optimisticData});\n}\n\n/**\n* @param {String} locale\n*/\nfunction setLocaleAndNavigate(locale) {\n setLocale(locale);\n Navigation.navigate(ROUTES.SETTINGS_PREFERENCES);\n}\n\nfunction setSidebarLoaded() {\n if (isSidebarLoaded) {\n return;\n }\n\n Onyx.set(ONYXKEYS.IS_SIDEBAR_LOADED, true);\n Performance.markEnd(CONST.TIMING.SIDEBAR_LOADED);\n Performance.markStart(CONST.TIMING.REPORT_INITIAL_RENDER);\n}\n\nlet appState;\nAppState.addEventListener('change', (nextAppState) => {\n if (nextAppState.match(/inactive|background/) && appState === 'active') {\n Log.info('Flushing logs as app is going inactive', true, {}, true);\n }\n appState = nextAppState;\n});\n\n/**\n * Fetches data needed for app initialization\n */\nfunction openApp() {\n // We need a fresh connection/callback here to make sure that the list of policyIDs that is sent to OpenApp is the most updated list from Onyx\n const connectionID = Onyx.connect({\n key: ONYXKEYS.COLLECTION.POLICY,\n waitForCollectionCallback: true,\n callback: (policies) => {\n Onyx.disconnect(connectionID);\n API.read('OpenApp', {policyIDList: getNonOptimisticPolicyIDs(policies)}, {\n optimisticData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: true,\n },\n ],\n successData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: false,\n },\n ],\n failureData: [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: false,\n },\n ],\n });\n },\n });\n}\n\n/**\n * Refreshes data when the app reconnects\n */\nfunction reconnectApp() {\n API.write(CONST.NETWORK.COMMAND.RECONNECT_APP, {policyIDList: getNonOptimisticPolicyIDs(allPolicies)}, {\n optimisticData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: true,\n }],\n successData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: false,\n }],\n failureData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n value: false,\n }],\n });\n}\n\n/**\n * This action runs when the Navigator is ready and the current route changes\n *\n * currentPath should be the path as reported by the NavigationContainer\n *\n * The transition link contains an exitTo param that contains the route to\n * navigate to after the user is signed in. A user can transition from OldDot\n * with a different account than the one they are currently signed in with, so\n * we only navigate if they are not signing in as a new user. Once they are\n * signed in as that new user, this action will run again and the navigation\n * will occur.\n\n * When the exitTo route is 'workspace/new', we create a new\n * workspace and navigate to it\n *\n * We subscribe to the session using withOnyx in the AuthScreens and\n * pass it in as a parameter. withOnyx guarantees that the value has been read\n * from Onyx because it will not render the AuthScreens until that point.\n * @param {Object} session\n */\nfunction setUpPoliciesAndNavigate(session) {\n const currentUrl = getCurrentUrl();\n if (!session || !currentUrl || !currentUrl.includes('exitTo')) {\n return;\n }\n\n const isLoggingInAsNewUser = SessionUtils.isLoggingInAsNewUser(currentUrl, session.email);\n const url = new URL(currentUrl);\n const exitTo = url.searchParams.get('exitTo');\n\n // Approved Accountants and Guides can enter a flow where they make a workspace for other users,\n // and those are passed as a search parameter when using transition links\n const ownerEmail = url.searchParams.get('ownerEmail');\n const makeMeAdmin = url.searchParams.get('makeMeAdmin');\n const policyName = url.searchParams.get('policyName');\n\n // Sign out the current user if we're transitioning from oldDot with a different user\n const isTransitioningFromOldDot = Str.startsWith(url.pathname, Str.normalizeUrl(ROUTES.TRANSITION_FROM_OLD_DOT));\n if (isLoggingInAsNewUser && isTransitioningFromOldDot) {\n Session.signOut();\n }\n\n const shouldCreateFreePolicy = !isLoggingInAsNewUser\n && isTransitioningFromOldDot\n && exitTo === ROUTES.WORKSPACE_NEW;\n if (shouldCreateFreePolicy) {\n Policy.createWorkspace(ownerEmail, makeMeAdmin, policyName, true);\n return;\n }\n if (!isLoggingInAsNewUser && exitTo) {\n Navigation.isNavigationReady()\n .then(() => {\n // The drawer navigation is only created after we have fetched reports from the server.\n // Thus, if we use the standard navigation and try to navigate to a drawer route before\n // the reports have been fetched, we will fail to navigate.\n Navigation.isDrawerReady()\n .then(() => {\n // We must call dismissModal() to remove the /transition route from history\n Navigation.dismissModal();\n Navigation.navigate(exitTo);\n });\n });\n }\n}\n\nfunction openProfile() {\n const oldTimezoneData = myPersonalDetails.timezone || {};\n let newTimezoneData = oldTimezoneData;\n\n if (lodashGet(oldTimezoneData, 'automatic', true)) {\n newTimezoneData = {\n automatic: true,\n selected: moment.tz.guess(true),\n };\n }\n\n API.write('OpenProfile', {\n timezone: JSON.stringify(newTimezoneData),\n }, {\n optimisticData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PERSONAL_DETAILS,\n value: {\n [currentUserEmail]: {\n timezone: newTimezoneData,\n },\n },\n }],\n failureData: [{\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: ONYXKEYS.PERSONAL_DETAILS,\n value: {\n [currentUserEmail]: {\n timezone: oldTimezoneData,\n },\n },\n }],\n });\n\n Navigation.navigate(ROUTES.SETTINGS_PROFILE);\n}\n\nexport {\n setLocale,\n setLocaleAndNavigate,\n setSidebarLoaded,\n setUpPoliciesAndNavigate,\n openProfile,\n openApp,\n reconnectApp,\n};\n","import lodashGet from 'lodash/get';\n\n/**\n * Determine if the transitioning user is logging in as a new user.\n *\n * @param {String} transitionURL\n * @param {String} sessionEmail\n * @returns {Boolean}\n */\nfunction isLoggingInAsNewUser(transitionURL, sessionEmail) {\n // The OldDot mobile app does not URL encode the parameters, but OldDot web\n // does. We don't want to deploy OldDot mobile again, so as a work around we\n // compare the session email to both the decoded and raw email from the transition link.\n const params = new URLSearchParams(transitionURL);\n const paramsEmail = params.get('email');\n\n // If the email param matches what is stored in the session then we are\n // definitely not logging in as a new user\n if (paramsEmail === sessionEmail) {\n return false;\n }\n\n // If they do not match it might be due to encoding, so check the raw value\n // Capture the un-encoded text in the email param\n const emailParamRegex = /[?&]email=([^&]*)/g;\n const matches = emailParamRegex.exec(transitionURL);\n const linkedEmail = lodashGet(matches, 1, null);\n return linkedEmail !== sessionEmail;\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n isLoggingInAsNewUser,\n};\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport Str from 'expensify-common/lib/str';\nimport CONST from '../CONST';\nimport ONYXKEYS from '../ONYXKEYS';\n\n/**\n * Checks if we have any errors stored within the POLICY_MEMBER_LIST. Determines whether we should show a red brick road error or not.\n * Data structure: {email: {role:'user', errors: []}, email2: {role:'admin', errors: [{1231312313: 'Unable to do X'}]}, ...}\n *\n * @param {Object} policyMemberList\n * @returns {Boolean}\n */\nfunction hasPolicyMemberError(policyMemberList) {\n return _.some(policyMemberList, member => !_.isEmpty(member.errors));\n}\n\n/**\n * Check if the policy has any errors, and if it doesn't, then check if it has any error fields.\n *\n * @param {Object} policy\n * @param {Object} policy.errors\n * @param {Object} policy.errorFields\n * @return {Boolean}\n */\nfunction hasPolicyError(policy) {\n return !_.isEmpty(lodashGet(policy, 'errors', {}))\n ? true\n : _.some(lodashGet(policy, 'errorFields', {}), fieldErrors => !_.isEmpty(fieldErrors));\n}\n\n/**\n * Checks if we have any errors stored within the policy custom units.\n *\n * @param {Object} policy\n * @returns {Boolean}\n */\nfunction hasCustomUnitsError(policy) {\n return !_.isEmpty(_.pick(lodashGet(policy, 'customUnits', {}), 'errors'));\n}\n\n/**\n * Get the brick road indicator status for a policy. The policy has an error status if there is a policy member error or a policy error.\n *\n * @param {Object} policy\n * @param {String} policy.id\n * @param {Object} policyMembers\n * @returns {String}\n */\nfunction getPolicyBrickRoadIndicatorStatus(policy, policyMembers) {\n const policyMemberList = lodashGet(policyMembers, `${ONYXKEYS.COLLECTION.POLICY_MEMBER_LIST}${policy.id}`, {});\n if (hasPolicyMemberError(policyMemberList) || hasCustomUnitsError(policy)) {\n return CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR;\n }\n return '';\n}\n\n/**\n * Check if the policy can be displayed\n * If offline, always show the policy pending deletion.\n * If online, show the policy pending deletion only if there is an error.\n * Note: Using a local ONYXKEYS.NETWORK subscription will cause a delay in\n * updating the screen. Passing the offline status from the component.\n * @param {Object} policy\n * @param {Boolean} isOffline\n * @returns {Boolean}\n */\nfunction shouldShowPolicy(policy, isOffline) {\n return policy\n && policy.type === CONST.POLICY.TYPE.FREE\n && policy.role === CONST.POLICY.ROLE.ADMIN\n && (\n isOffline\n || policy.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE\n || !_.isEmpty(policy.errors)\n );\n}\n\n/**\n * @param {string} email\n * @returns {boolean}\n */\nfunction isExpensifyTeam(email) {\n const emailDomain = Str.extractEmailDomain(email);\n return emailDomain === CONST.EXPENSIFY_PARTNER_NAME || emailDomain === CONST.EMAIL.GUIDES_DOMAIN;\n}\n\nexport {\n hasPolicyMemberError,\n hasPolicyError,\n hasCustomUnitsError,\n getPolicyBrickRoadIndicatorStatus,\n shouldShowPolicy,\n isExpensifyTeam,\n};\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport CONST from '../CONST';\n\n/**\n * Searches through given loginList for any contact method / login with an error.\n *\n * Example that should return false:\n * {{\n * test@test.com: {\n * errorFields: {\n * validateCodeSent: null\n * }\n * }\n * }}\n *\n * Example that should return true:\n * {{\n * test@test.com: {\n * errorFields: {\n * validateCodeSent: { 18092081290: 'An error' }\n * }\n * }\n * }}\n *\n * @param {Object} loginList\n * @param {Object} loginList.errorFields\n * @returns {Boolean}\n */\nfunction hasLoginListError(loginList) {\n return _.some(loginList, login => _.some(lodashGet(login, 'errorFields', {}), field => !_.isEmpty(field)));\n}\n\n/**\n * Searches through given loginList for any contact method / login that requires\n * an Info brick road status indicator. Currently this only applies if the user\n * has an unvalidated contact method.\n *\n * @param {Object} loginList\n * @param {String} loginList.validatedDate\n * @returns {Boolean}\n */\nfunction hasLoginListInfo(loginList) {\n return _.some(loginList, login => _.isEmpty(login.validatedDate));\n}\n\n/**\n * Gets the appropriate brick road indicator status for a given loginList.\n * Error status is higher priority, so we check for that first.\n *\n * @param {Object} loginList\n * @returns {String}\n */\nfunction getLoginListBrickRoadIndicator(loginList) {\n if (hasLoginListError(loginList)) {\n return CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR;\n }\n if (hasLoginListInfo(loginList)) {\n return CONST.BRICK_ROAD_INDICATOR_STATUS.INFO;\n }\n return '';\n}\n\nexport {\n hasLoginListError,\n hasLoginListInfo,\n getLoginListBrickRoadIndicator,\n};\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n /** Role of the user in the policy */\n role: PropTypes.string,\n\n /**\n * Errors from api calls on the specific user\n * {: 'error message', : 'error message 2'}\n */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** Is this action pending? */\n pendingAction: PropTypes.string,\n});\n","import React, {Component} from 'react';\nimport {ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport ROUTES from '../../ROUTES';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\nimport styles from '../../styles/styles';\nimport compose from '../../libs/compose';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport themeColors from '../../styles/themes/default';\nimport * as PolicyUtils from '../../libs/PolicyUtils';\nimport MenuItem from '../../components/MenuItem';\nimport * as Policy from '../../libs/actions/Policy';\nimport policyMemberPropType from '../policyMemberPropType';\nimport Permissions from '../../libs/Permissions';\nimport Button from '../../components/Button';\nimport FixedFooter from '../../components/FixedFooter';\nimport BlockingView from '../../components/BlockingViews/BlockingView';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport * as ReportUtils from '../../libs/ReportUtils';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** The list of this user's policies */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The ID of the policy */\n ID: PropTypes.string,\n\n /** The name of the policy */\n name: PropTypes.string,\n\n /** The type of the policy */\n type: PropTypes.string,\n\n /** The user's role in the policy */\n role: PropTypes.string,\n\n /** The current action that is waiting to happen on the policy */\n pendingAction: PropTypes.oneOf(_.values(CONST.RED_BRICK_ROAD_PENDING_ACTION)),\n })),\n\n /** List of policy members */\n policyMembers: PropTypes.objectOf(policyMemberPropType),\n\n /** The user's wallet account */\n userWallet: PropTypes.shape({\n /** The user's current wallet balance */\n currentBalance: PropTypes.number,\n }),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n policies: {},\n policyMembers: {},\n userWallet: {\n currentBalance: 0,\n },\n betas: [],\n};\n\n/**\n * Dismisses the errors on one item\n *\n * @param {string} policyID\n * @param {string} pendingAction\n */\nfunction dismissWorkspaceError(policyID, pendingAction) {\n if (pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {\n Policy.clearDeleteWorkspaceError(policyID);\n return;\n }\n\n if (pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD) {\n Policy.removeWorkspace(policyID);\n return;\n }\n throw new Error('Not implemented');\n}\n\nclass WorkspacesListPage extends Component {\n constructor(props) {\n super(props);\n\n this.getWalletBalance = this.getWalletBalance.bind(this);\n this.getWorkspaces = this.getWorkspaces.bind(this);\n this.getMenuItem = this.getMenuItem.bind(this);\n }\n\n /**\n * @param {Boolean} isPaymentItem whether the item being rendered is the payments menu item\n * @returns {Number} the user wallet balance\n */\n getWalletBalance(isPaymentItem) {\n return (isPaymentItem && Permissions.canUseWallet(this.props.betas))\n ? this.props.numberFormat(\n this.props.userWallet.currentBalance / 100, // Divide by 100 because balance is in cents\n {style: 'currency', currency: 'USD'},\n ) : undefined;\n }\n\n /**\n * Add free policies (workspaces) to the list of menu items and returns the list of menu items\n * @returns {Array} the menu item list\n */\n getWorkspaces() {\n return _.chain(this.props.policies)\n .filter(policy => PolicyUtils.shouldShowPolicy(policy, this.props.network.isOffline))\n .map(policy => ({\n title: policy.name,\n icon: policy.avatar ? policy.avatar : ReportUtils.getDefaultWorkspaceAvatar(policy.name),\n iconType: policy.avatar ? CONST.ICON_TYPE_AVATAR : CONST.ICON_TYPE_ICON,\n action: () => Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policy.id)),\n iconFill: themeColors.textLight,\n fallbackIcon: Expensicons.FallbackWorkspaceAvatar,\n brickRoadIndicator: PolicyUtils.getPolicyBrickRoadIndicatorStatus(policy, this.props.policyMembers),\n pendingAction: policy.pendingAction,\n errors: policy.errors,\n dismissError: () => dismissWorkspaceError(policy.id, policy.pendingAction),\n disabled: policy.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,\n }))\n .sortBy(policy => policy.title)\n .value();\n }\n\n /**\n * Gets the menu item for each workspace\n *\n * @param {Object} item\n * @param {Number} index\n * @returns {JSX}\n */\n getMenuItem(item, index) {\n const keyTitle = item.translationKey ? this.props.translate(item.translationKey) : item.title;\n const isPaymentItem = item.translationKey === 'common.payments';\n\n return (\n \n \n \n );\n }\n\n render() {\n const workspaces = this.getWorkspaces();\n return (\n \n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n {_.isEmpty(workspaces) ? (\n \n ) : (\n \n {_.map(workspaces, (item, index) => this.getMenuItem(item, index))}\n \n )}\n \n Policy.createWorkspace()}\n />\n \n \n );\n }\n}\n\nWorkspacesListPage.propTypes = propTypes;\nWorkspacesListPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n policyMembers: {\n key: ONYXKEYS.COLLECTION.POLICY_MEMBER_LIST,\n },\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n }),\n)(WorkspacesListPage);\n","import Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport {ScrollView} from 'react-native-gesture-handler';\nimport _ from 'underscore';\nimport AvatarWithImagePicker from '../../../components/AvatarWithImagePicker';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport MenuItem from '../../../components/MenuItem';\nimport MenuItemWithTopDescription from '../../../components/MenuItemWithTopDescription';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsDefaultProps, withCurrentUserPersonalDetailsPropTypes} from '../../../components/withCurrentUserPersonalDetails';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport CONST from '../../../CONST';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport compose from '../../../libs/compose';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport ROUTES from '../../../ROUTES';\nimport styles from '../../../styles/styles';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport * as UserUtils from '../../../libs/UserUtils';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** Date login was validated, used to show brickroad info status */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n loginList: {},\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nconst ProfilePage = (props) => {\n const getPronouns = () => {\n let pronounsKey = lodashGet(props.currentUserPersonalDetails, 'pronouns', '');\n if (pronounsKey.startsWith(CONST.PRONOUNS.PREFIX)) {\n pronounsKey = pronounsKey.slice(CONST.PRONOUNS.PREFIX.length);\n }\n return lodashGet(props.translate('pronouns'), pronounsKey, props.translate('profilePage.selectYourPronouns'));\n };\n const currentUserDetails = props.currentUserPersonalDetails || {};\n const contactMethodBrickRoadIndicator = UserUtils.getLoginListBrickRoadIndicator(props.loginList);\n\n const profileSettingsOptions = [\n {\n description: props.translate('displayNamePage.headerTitle'),\n title: lodashGet(currentUserDetails, 'displayName', ''),\n pageRoute: ROUTES.SETTINGS_DISPLAY_NAME,\n },\n {\n description: props.translate('contacts.contactMethod'),\n title: Str.removeSMSDomain(lodashGet(currentUserDetails, 'login', '')),\n pageRoute: ROUTES.SETTINGS_CONTACT_METHODS,\n brickRoadIndicator: contactMethodBrickRoadIndicator,\n },\n {\n description: props.translate('pronounsPage.pronouns'),\n title: getPronouns(),\n pageRoute: ROUTES.SETTINGS_PRONOUNS,\n },\n {\n description: props.translate('timezonePage.timezone'),\n title: `${lodashGet(currentUserDetails, 'timezone.selected', '')}`,\n pageRoute: ROUTES.SETTINGS_TIMEZONE,\n },\n ];\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n {_.map(profileSettingsOptions, (detail, index) => (\n Navigation.navigate(detail.pageRoute)}\n brickRoadIndicator={detail.brickRoadIndicator}\n />\n ))}\n \n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS)}\n shouldShowRightIcon\n />\n \n \n );\n};\n\nProfilePage.propTypes = propTypes;\nProfilePage.defaultProps = defaultProps;\nProfilePage.displayName = 'ProfilePage';\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n withOnyx({\n loginList: {\n key: ONYXKEYS.LOGIN_LIST,\n },\n }),\n)(ProfilePage);\n","import _ from 'underscore';\nimport React from 'react';\nimport {Pressable, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport Avatar from './Avatar';\nimport Icon from './Icon';\nimport PopoverMenu from './PopoverMenu';\nimport * as Expensicons from './Icon/Expensicons';\nimport styles from '../styles/styles';\nimport themeColors from '../styles/themes/default';\nimport AttachmentPicker from './AttachmentPicker';\nimport ConfirmModal from './ConfirmModal';\nimport AvatarCropModal from './AvatarCropModal/AvatarCropModal';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport variables from '../styles/variables';\nimport CONST from '../CONST';\nimport SpinningIndicatorAnimation from '../styles/animation/SpinningIndicatorAnimation';\nimport Tooltip from './Tooltip';\nimport stylePropTypes from '../styles/stylePropTypes';\nimport * as FileUtils from '../libs/fileDownload/FileUtils';\nimport getImageResolution from '../libs/fileDownload/getImageResolution';\n\nconst propTypes = {\n /** Avatar source to display */\n source: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Additional style props */\n style: stylePropTypes,\n\n /** Executed once an image has been selected */\n onImageSelected: PropTypes.func,\n\n /** Execute when the user taps \"remove\" */\n onImageRemoved: PropTypes.func,\n\n /** A default avatar component to display when there is no source */\n DefaultAvatar: PropTypes.func,\n\n /** Whether we are using the default avatar */\n isUsingDefaultAvatar: PropTypes.bool,\n\n /** The anchor position of the menu */\n anchorPosition: PropTypes.shape({\n top: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n left: PropTypes.number,\n }).isRequired,\n\n /** Flag to see if image is being uploaded */\n isUploading: PropTypes.bool,\n\n /** Size of Indicator */\n size: PropTypes.oneOf([CONST.AVATAR_SIZE.LARGE, CONST.AVATAR_SIZE.DEFAULT]),\n\n /** A fallback avatar icon to display when there is an error on loading avatar from remote URL. */\n fallbackIcon: PropTypes.func,\n\n /** Denotes whether it is an avatar or a workspace avatar */\n type: PropTypes.oneOf([CONST.ICON_TYPE_AVATAR, CONST.ICON_TYPE_WORKSPACE]),\n\n /** Image crop vector mask */\n editorMaskImage: PropTypes.func,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n source: '',\n onImageSelected: () => {},\n onImageRemoved: () => {},\n style: [],\n DefaultAvatar: () => {},\n isUsingDefaultAvatar: false,\n isUploading: false,\n size: CONST.AVATAR_SIZE.DEFAULT,\n fallbackIcon: Expensicons.FallbackAvatar,\n type: CONST.ICON_TYPE_AVATAR,\n editorMaskImage: undefined,\n};\n\nclass AvatarWithImagePicker extends React.Component {\n constructor(props) {\n super(props);\n this.animation = new SpinningIndicatorAnimation();\n this.hideErrorModal = this.hideErrorModal.bind(this);\n this.showErrorModal = this.showErrorModal.bind(this);\n this.isValidSize = this.isValidSize.bind(this);\n this.showAvatarCropModal = this.showAvatarCropModal.bind(this);\n this.hideAvatarCropModal = this.hideAvatarCropModal.bind(this);\n this.state = {\n isMenuVisible: false,\n isErrorModalVisible: false,\n errorModalPrompt: '',\n errorModalTitle: '',\n isAvatarCropModalOpen: false,\n imageName: '',\n imageUri: '',\n imageType: '',\n };\n }\n\n componentDidMount() {\n if (!this.props.isUploading) {\n return;\n }\n\n this.animation.start();\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.isUploading && this.props.isUploading) {\n this.animation.start();\n } else if (prevProps.isUploading && !this.props.isUploading) {\n this.animation.stop();\n }\n }\n\n componentWillUnmount() {\n this.animation.stop();\n }\n\n /**\n * @param {String} title\n * @param {String} prompt\n */\n showErrorModal(title, prompt) {\n this.setState({isErrorModalVisible: true, errorModalTitle: title, errorModalPrompt: prompt});\n }\n\n hideErrorModal() {\n this.setState({isErrorModalVisible: false});\n }\n\n /**\n * Check if the attachment extension is allowed.\n *\n * @param {Object} image\n * @returns {Boolean}\n */\n isValidExtension(image) {\n const {fileExtension} = FileUtils.splitExtensionFromFileName(lodashGet(image, 'name', ''));\n return _.contains(CONST.AVATAR_ALLOWED_EXTENSIONS, fileExtension.toLowerCase());\n }\n\n /**\n * Check if the attachment size is less than allowed size.\n *\n * @param {Object} image\n * @returns {Boolean}\n */\n isValidSize(image) {\n return image && lodashGet(image, 'size', 0) < CONST.AVATAR_MAX_ATTACHMENT_SIZE;\n }\n\n /**\n * Check if the attachment resolution matches constraints.\n *\n * @param {Object} image\n * @returns {Promise}\n */\n isValidResolution(image) {\n return getImageResolution(image).then(resolution => (\n (resolution.height >= CONST.AVATAR_MIN_HEIGHT_PX && resolution.width >= CONST.AVATAR_MIN_WIDTH_PX)\n && (resolution.height <= CONST.AVATAR_MAX_HEIGHT_PX && resolution.width <= CONST.AVATAR_MAX_WIDTH_PX)\n ));\n }\n\n /**\n * Validates if an image has a valid resolution and opens an avatar crop modal\n *\n * @param {Object} image\n */\n showAvatarCropModal(image) {\n if (!this.isValidExtension(image)) {\n this.showErrorModal(\n this.props.translate('avatarWithImagePicker.imageUploadFailed'),\n this.props.translate('avatarWithImagePicker.notAllowedExtension', {allowedExtensions: CONST.AVATAR_ALLOWED_EXTENSIONS}),\n );\n return;\n }\n if (!this.isValidSize(image)) {\n this.showErrorModal(\n this.props.translate('avatarWithImagePicker.imageUploadFailed'),\n this.props.translate('avatarWithImagePicker.sizeExceeded', {maxUploadSizeInMB: CONST.AVATAR_MAX_ATTACHMENT_SIZE / (1024 * 1024)}),\n );\n return;\n }\n\n this.isValidResolution(image)\n .then((isValidResolution) => {\n if (!isValidResolution) {\n this.showErrorModal(\n this.props.translate('avatarWithImagePicker.imageUploadFailed'),\n this.props.translate('avatarWithImagePicker.resolutionConstraints', {\n minHeightInPx: CONST.AVATAR_MIN_HEIGHT_PX,\n minWidthInPx: CONST.AVATAR_MIN_WIDTH_PX,\n maxHeightInPx: CONST.AVATAR_MAX_HEIGHT_PX,\n maxWidthInPx: CONST.AVATAR_MAX_WIDTH_PX,\n }),\n );\n return;\n }\n\n this.setState({\n isAvatarCropModalOpen: true,\n imageUri: image.uri,\n imageName: image.name,\n imageType: image.type,\n });\n });\n }\n\n hideAvatarCropModal() {\n this.setState({isAvatarCropModalOpen: false});\n }\n\n /**\n * Create menu items list for avatar menu\n *\n * @param {Function} openPicker\n * @returns {Array}\n */\n createMenuItems(openPicker) {\n const menuItems = [\n {\n icon: Expensicons.Upload,\n text: this.props.translate('avatarWithImagePicker.uploadPhoto'),\n onSelected: () => {\n openPicker({\n onPicked: this.showAvatarCropModal,\n });\n },\n },\n ];\n\n // If current avatar isn't a default avatar, allow Remove Photo option\n if (!this.props.isUsingDefaultAvatar) {\n menuItems.push({\n icon: Expensicons.Trashcan,\n text: this.props.translate('avatarWithImagePicker.removePhoto'),\n onSelected: () => {\n this.props.onImageRemoved();\n },\n });\n }\n return menuItems;\n }\n\n render() {\n const DefaultAvatar = this.props.DefaultAvatar;\n const additionalStyles = _.isArray(this.props.style) ? this.props.style : [this.props.style];\n\n return (\n \n this.setState({isMenuVisible: true})}\n >\n \n \n {this.props.source\n ? (\n \n )\n : (\n \n )}\n \n \n {({openPicker}) => (\n <>\n \n \n \n \n \n this.setState({isMenuVisible: false})}\n onItemSelected={() => this.setState({isMenuVisible: false})}\n menuItems={this.createMenuItems(openPicker)}\n anchorPosition={this.props.anchorPosition}\n />\n \n )}\n \n \n \n \n \n \n );\n }\n}\n\nAvatarWithImagePicker.propTypes = propTypes;\nAvatarWithImagePicker.defaultProps = defaultProps;\n\nexport default withLocalize(AvatarWithImagePicker);\n","/**\n * The react native image/document pickers work for iOS/Android, but we want to wrap them both within AttachmentPicker\n */\nimport _ from 'underscore';\nimport React, {Component} from 'react';\nimport {Alert, Linking, View} from 'react-native';\nimport {launchImageLibrary} from 'react-native-image-picker';\nimport RNDocumentPicker from 'react-native-document-picker';\nimport RNFetchBlob from 'react-native-blob-util';\nimport {propTypes as basePropTypes, defaultProps} from './attachmentPickerPropTypes';\nimport styles from '../../styles/styles';\nimport Popover from '../Popover';\nimport MenuItem from '../MenuItem';\nimport * as Expensicons from '../Icon/Expensicons';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport compose from '../../libs/compose';\nimport launchCamera from './launchCamera';\nimport CONST from '../../CONST';\nimport * as FileUtils from '../../libs/fileDownload/FileUtils';\n\nconst propTypes = {\n ...basePropTypes,\n ...windowDimensionsPropTypes,\n ...withLocalizePropTypes,\n};\n\n/**\n * See https://github.com/react-native-image-picker/react-native-image-picker/#options\n * for ImagePicker configuration options\n */\nconst imagePickerOptions = {\n includeBase64: false,\n saveToPhotos: false,\n selectionLimit: 1,\n includeExtra: false,\n};\n\n/**\n * Return imagePickerOptions based on the type\n * @param {String} type\n * @returns {Object}\n */\nfunction getImagePickerOptions(type) {\n // mediaType property is one of the ImagePicker configuration to restrict types'\n const mediaType = type === CONST.ATTACHMENT_PICKER_TYPE.IMAGE ? 'photo' : 'mixed';\n return {\n mediaType,\n ...imagePickerOptions,\n };\n}\n\n/**\n * See https://github.com/rnmods/react-native-document-picker#options for DocumentPicker configuration options\n */\nconst documentPickerOptions = {\n type: [RNDocumentPicker.types.allFiles],\n copyTo: 'cachesDirectory',\n};\n\n/**\n * The data returned from `show` is different on web and mobile, so use this function to ensure the data we\n * send to the xhr will be handled properly.\n *\n * @param {Object} fileData\n * @return {Promise}\n */\nfunction getDataForUpload(fileData) {\n const fileName = fileData.fileName || fileData.name || 'chat_attachment';\n const fileResult = {\n name: FileUtils.cleanFileName(fileName),\n type: fileData.type,\n width: fileData.width,\n height: fileData.height,\n uri: fileData.fileCopyUri || fileData.uri,\n size: fileData.fileSize || fileData.size,\n };\n\n if (fileResult.size) {\n return Promise.resolve(fileResult);\n }\n\n return RNFetchBlob.fs.stat(fileData.uri.replace('file://', '')).then((stats) => {\n fileResult.size = stats.size;\n return fileResult;\n });\n}\n\n/**\n * This component renders a function as a child and\n * returns a \"show attachment picker\" method that takes\n * a callback. This is the ios/android implementation\n * opening a modal with attachment options\n */\nclass AttachmentPicker extends Component {\n constructor(...args) {\n super(...args);\n\n this.state = {\n isVisible: false,\n };\n\n this.menuItemData = [\n {\n icon: Expensicons.Camera,\n textTranslationKey: 'attachmentPicker.takePhoto',\n pickAttachment: () => this.showImagePicker(launchCamera),\n },\n {\n icon: Expensicons.Gallery,\n textTranslationKey: 'attachmentPicker.chooseFromGallery',\n pickAttachment: () => this.showImagePicker(launchImageLibrary),\n },\n ];\n\n // When selecting an image on a native device, it would be redundant to have a second option for choosing a document,\n // so it is excluded in this case.\n if (this.props.type !== CONST.ATTACHMENT_PICKER_TYPE.IMAGE) {\n this.menuItemData.push(\n {\n icon: Expensicons.Paperclip,\n textTranslationKey: 'attachmentPicker.chooseDocument',\n pickAttachment: () => this.showDocumentPicker(),\n },\n );\n }\n\n this.close = this.close.bind(this);\n this.pickAttachment = this.pickAttachment.bind(this);\n }\n\n /**\n * Handles the image/document picker result and\n * sends the selected attachment to the caller (parent component)\n *\n * @param {Array} attachments\n * @returns {Promise}\n */\n pickAttachment(attachments = []) {\n if (attachments.length === 0) {\n return;\n }\n\n const fileData = _.first(attachments);\n\n if (fileData.width === -1 || fileData.height === -1) {\n this.showImageCorruptionAlert();\n return;\n }\n\n return getDataForUpload(fileData).then((result) => {\n this.completeAttachmentSelection(result);\n }).catch((error) => {\n this.showGeneralAlert(error.message);\n throw error;\n });\n }\n\n /**\n * Inform the users when they need to grant camera access and guide them to settings\n */\n showPermissionsAlert() {\n Alert.alert(\n this.props.translate('attachmentPicker.cameraPermissionRequired'),\n this.props.translate('attachmentPicker.expensifyDoesntHaveAccessToCamera'),\n [\n {\n text: this.props.translate('common.cancel'),\n style: 'cancel',\n },\n {\n text: this.props.translate('common.settings'),\n onPress: () => Linking.openSettings(),\n },\n ],\n {cancelable: false},\n );\n }\n\n /**\n * Common image picker handling\n *\n * @param {function} imagePickerFunc - RNImagePicker.launchCamera or RNImagePicker.launchImageLibrary\n * @returns {Promise}\n */\n showImagePicker(imagePickerFunc) {\n return new Promise((resolve, reject) => {\n imagePickerFunc(getImagePickerOptions(this.props.type), (response) => {\n if (response.didCancel) {\n // When the user cancelled resolve with no attachment\n return resolve();\n }\n if (response.errorCode) {\n switch (response.errorCode) {\n case 'permission':\n this.showPermissionsAlert();\n break;\n default:\n this.showGeneralAlert();\n break;\n }\n\n return reject(new Error(`Error during attachment selection: ${response.errorMessage}`));\n }\n\n return resolve(response.assets);\n });\n });\n }\n\n /**\n * A generic handling when we don't know the exact reason for an error\n *\n */\n showGeneralAlert() {\n Alert.alert(\n this.props.translate('attachmentPicker.attachmentError'),\n this.props.translate('attachmentPicker.errorWhileSelectingAttachment'),\n );\n }\n\n /**\n * An attachment error dialog when user selected malformed images\n */\n showImageCorruptionAlert() {\n Alert.alert(\n this.props.translate('attachmentPicker.attachmentError'),\n this.props.translate('attachmentPicker.errorWhileSelectingCorruptedImage'),\n );\n }\n\n /**\n * Launch the DocumentPicker. Results are in the same format as ImagePicker\n *\n * @returns {Promise}\n */\n showDocumentPicker() {\n return RNDocumentPicker.pick(documentPickerOptions).catch((error) => {\n if (RNDocumentPicker.isCancel(error)) {\n return;\n }\n\n this.showGeneralAlert(error.message);\n throw error;\n });\n }\n\n /**\n * Triggers the `onPicked` callback with the selected attachment\n */\n completeAttachmentSelection() {\n if (!this.state.result) {\n return;\n }\n\n this.state.onPicked(this.state.result);\n }\n\n /**\n * Opens the attachment modal\n *\n * @param {function} onPicked A callback that will be called with the selected attachment\n */\n open(onPicked) {\n this.completeAttachmentSelection = onPicked;\n this.setState({isVisible: true});\n }\n\n /**\n * Closes the attachment modal\n */\n close() {\n this.setState({isVisible: false});\n }\n\n /**\n * Setup native attachment selection to start after this popover closes\n *\n * @param {{pickAttachment: function}} item - an item from this.menuItemData\n */\n selectItem(item) {\n /* setTimeout delays execution to the frame after the modal closes\n * without this on iOS closing the modal closes the gallery/camera as well */\n this.onModalHide = () => setTimeout(\n () => item.pickAttachment()\n .then(this.pickAttachment)\n .catch(console.error)\n .finally(() => delete this.onModalHide),\n 200,\n );\n\n this.close();\n }\n\n /**\n * Call the `children` renderProp with the interface defined in propTypes\n *\n * @returns {React.ReactNode}\n */\n renderChildren() {\n return this.props.children({\n openPicker: ({onPicked}) => this.open(onPicked),\n });\n }\n\n render() {\n return (\n <>\n \n \n {\n _.map(this.menuItemData, item => (\n this.selectItem(item)}\n />\n ))\n }\n \n \n {this.renderChildren()}\n \n );\n }\n}\n\nAttachmentPicker.propTypes = propTypes;\nAttachmentPicker.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(AttachmentPicker);\n","import { Platform, NativeModules, ModalPropsIOS } from 'react-native'\nimport invariant from 'invariant'\nimport type { PlatformTypes, SupportedPlatforms } from './fileTypes'\nimport { perPlatformTypes } from './fileTypes'\n\nexport type DocumentPickerResponse = {\n uri: string\n name: string\n copyError?: string\n fileCopyUri: string | null\n type: string | null\n size: number | null\n}\n\nexport const types = perPlatformTypes[Platform.OS]\n\nexport type DirectoryPickerResponse = {\n uri: string\n}\n\ntype DocumentPickerType = {\n pick(options: Record): Promise\n releaseSecureAccess(uris: string[]): Promise\n pickDirectory(): Promise\n}\n\nconst RNDocumentPicker: DocumentPickerType = NativeModules.RNDocumentPicker\n\nexport type TransitionStyle = 'coverVertical' | 'flipHorizontal' | 'crossDissolve' | 'partialCurl'\n\nexport type DocumentPickerOptions = {\n type?:\n | string\n | PlatformTypes[OS][keyof PlatformTypes[OS]]\n | Array\n mode?: 'import' | 'open'\n copyTo?: 'cachesDirectory' | 'documentDirectory'\n allowMultiSelection?: boolean\n transitionStyle?: TransitionStyle\n} & Pick\n\nexport async function pickDirectory(\n params?: Pick, 'presentationStyle' | 'transitionStyle'>,\n): Promise {\n if (Platform.OS === 'ios') {\n const result = await pick({\n ...params,\n mode: 'open',\n allowMultiSelection: false,\n type: ['public.folder'],\n })\n return { uri: result[0].uri }\n } else {\n return RNDocumentPicker.pickDirectory()\n }\n}\n\nexport function pickMultiple(\n opts?: DocumentPickerOptions,\n): Promise {\n const options = {\n ...opts,\n allowMultiSelection: true,\n }\n return pick(options)\n}\nexport function pickSingle(\n opts?: DocumentPickerOptions,\n): Promise {\n const options = {\n ...opts,\n allowMultiSelection: false,\n }\n return pick(options).then((results) => results[0])\n}\n\nexport function pick(\n opts?: DocumentPickerOptions,\n): Promise {\n const options = {\n // must be false to maintain old (v5) behavior\n allowMultiSelection: false,\n type: [types.allFiles],\n ...opts,\n }\n\n const newOpts: DoPickParams = {\n presentationStyle: 'formSheet',\n transitionStyle: 'coverVertical',\n ...options,\n type: Array.isArray(options.type) ? options.type : [options.type],\n }\n\n return doPick(newOpts)\n}\n\ntype DoPickParams = DocumentPickerOptions & {\n type: Array\n allowMultiSelection: boolean\n presentationStyle: NonNullable\n transitionStyle: TransitionStyle\n}\n\nfunction doPick(\n options: DoPickParams,\n): Promise {\n invariant(\n !('filetype' in options),\n 'A `filetype` option was passed to DocumentPicker.pick, the correct option is `type`',\n )\n invariant(\n !('types' in options),\n 'A `types` option was passed to DocumentPicker.pick, the correct option is `type`',\n )\n\n invariant(\n options.type.every((type: unknown) => typeof type === 'string'),\n `Unexpected type option in ${options.type}, did you try using a DocumentPicker.types.* that does not exist?`,\n )\n invariant(\n options.type.length > 0,\n '`type` option should not be an empty array, at least one type must be passed if the `type` option is not omitted',\n )\n\n invariant(\n // @ts-ignore TS2345: Argument of type 'string' is not assignable to parameter of type 'PlatformTypes[OS][keyof PlatformTypes[OS]]'.\n !options.type.includes('folder'),\n 'RN document picker: \"folder\" option was removed, use \"pickDirectory()\"',\n )\n\n if ('mode' in options && !['import', 'open'].includes(options.mode ?? '')) {\n throw new TypeError('Invalid mode option: ' + options.mode)\n }\n\n if (\n 'copyTo' in options &&\n !['cachesDirectory', 'documentDirectory'].includes(options.copyTo ?? '')\n ) {\n throw new TypeError('Invalid copyTo option: ' + options.copyTo)\n }\n\n return RNDocumentPicker.pick(options)\n}\n\nexport function releaseSecureAccess(uris: Array): Promise {\n if (Platform.OS !== 'ios') {\n return Promise.resolve()\n }\n\n invariant(\n Array.isArray(uris) && uris.every((uri) => typeof uri === 'string'),\n `\"uris\" should be an array of strings, was ${uris}`,\n )\n\n return RNDocumentPicker.releaseSecureAccess(uris)\n}\n\nconst E_DOCUMENT_PICKER_CANCELED = 'DOCUMENT_PICKER_CANCELED'\nconst E_DOCUMENT_PICKER_IN_PROGRESS = 'ASYNC_OP_IN_PROGRESS'\n\nexport type NativeModuleErrorShape = Error & { code?: string }\n\nexport function isCancel(err: unknown): boolean {\n return isErrorWithCode(err, E_DOCUMENT_PICKER_CANCELED)\n}\n\nexport function isInProgress(err: unknown): boolean {\n return isErrorWithCode(err, E_DOCUMENT_PICKER_IN_PROGRESS)\n}\n\nfunction isErrorWithCode(err: unknown, errorCode: string): boolean {\n if (err instanceof Error && 'code' in err) {\n const nativeModuleErrorInstance = err as NativeModuleErrorShape\n return nativeModuleErrorInstance?.code === errorCode\n }\n return false\n}\n\nexport default {\n isCancel,\n releaseSecureAccess,\n pickDirectory,\n pick,\n pickMultiple,\n pickSingle,\n types,\n perPlatformTypes,\n}\n","const mimeTypes = Object.freeze({\n allFiles: '*/*',\n audio: 'audio/*',\n csv: 'text/csv',\n doc: 'application/msword',\n docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n images: 'image/*',\n pdf: 'application/pdf',\n plainText: 'text/plain',\n ppt: 'application/vnd.ms-powerpoint',\n pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n video: 'video/*',\n xls: 'application/vnd.ms-excel',\n xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n zip: 'application/zip',\n} as const)\n\nconst utis = Object.freeze({\n allFiles: 'public.item',\n audio: 'public.audio',\n csv: 'public.comma-separated-values-text',\n doc: 'com.microsoft.word.doc',\n docx: 'org.openxmlformats.wordprocessingml.document',\n images: 'public.image',\n pdf: 'com.adobe.pdf',\n plainText: 'public.plain-text',\n ppt: 'com.microsoft.powerpoint.ppt',\n pptx: 'org.openxmlformats.presentationml.presentation',\n video: 'public.movie',\n xls: 'com.microsoft.excel.xls',\n xlsx: 'org.openxmlformats.spreadsheetml.sheet',\n zip: 'public.zip-archive',\n} as const)\n\nconst extensions = Object.freeze({\n allFiles: '*',\n audio:\n '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma',\n csv: '.csv',\n doc: '.doc',\n docx: '.docx',\n images: '.jpeg .jpg .png',\n pdf: '.pdf',\n plainText: '.txt',\n ppt: '.ppt',\n pptx: '.pptx',\n video: '.mp4',\n xls: '.xls',\n xlsx: '.xlsx',\n zip: '.zip .gz',\n} as const)\n\nexport type PlatformTypes = {\n android: typeof mimeTypes\n ios: typeof utis\n windows: typeof extensions\n}\nexport type SupportedPlatforms = 'ios' | 'android' | 'windows'\n\nexport const perPlatformTypes = {\n android: mimeTypes,\n ios: utis,\n windows: extensions,\n // unsupported, but added to make TS happy\n macos: extensions,\n web: extensions,\n}\n\n// ensure shapes of platformTypes are the same: https://stackoverflow.com/a/67027347/2070942\n// let me know if there's a nicer way\n\ntype AssertEqualKeys = [\n keyof T1 extends keyof T2 ? 1 : 0,\n keyof T2 extends keyof T1 ? 1 : 0,\n] extends [1, 1]\n ? true\n : false\n\nconst mimesAndUtisAreEqual: AssertEqualKeys = true\nconst mimesAndExtensionsAreEqual: AssertEqualKeys = true\nexport const typesAreEqual = mimesAndUtisAreEqual && mimesAndExtensionsAreEqual\n","import {PERMISSIONS, request, RESULTS} from 'react-native-permissions';\nimport {launchCamera} from 'react-native-image-picker';\n\n/**\n * Launching the camera for iOS involves checking for permissions\n * And only then starting the camera\n * If the user deny permission the callback will be called with an error response\n * in the same format as the error returned by react-native-image-picker\n * @param {CameraOptions} options\n * @param {function} callback - callback called with the result\n */\nexport default function launchCameraIOS(options, callback) {\n // Checks current camera permissions and prompts the user in case they aren't granted\n request(PERMISSIONS.IOS.CAMERA)\n .then((permission) => {\n if (permission !== RESULTS.GRANTED) {\n const error = new Error('User did not grant permissions');\n error.errorCode = 'permission';\n throw error;\n }\n\n launchCamera(options, callback);\n })\n .catch((error) => {\n /* Intercept the permission error as well as any other errors and call the callback\n * follow the same pattern expected for image picker results */\n callback({\n errorMessage: error.message,\n errorCode: error.errorCode || 'others',\n });\n });\n}\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _exportNames = {\n check: true,\n checkLocationAccuracy: true,\n checkMultiple: true,\n checkNotifications: true,\n openLimitedPhotoLibraryPicker: true,\n openSettings: true,\n request: true,\n requestLocationAccuracy: true,\n requestMultiple: true,\n requestNotifications: true,\n PERMISSIONS: true,\n RESULTS: true\n};\nObject.defineProperty(exports, \"PERMISSIONS\", {\n enumerable: true,\n get: function () {\n return _permissions.PERMISSIONS;\n }\n});\nObject.defineProperty(exports, \"RESULTS\", {\n enumerable: true,\n get: function () {\n return _results.RESULTS;\n }\n});\nexports.requestNotifications = exports.requestMultiple = exports.requestLocationAccuracy = exports.request = exports.openSettings = exports.openLimitedPhotoLibraryPicker = exports.default = exports.checkNotifications = exports.checkMultiple = exports.checkLocationAccuracy = exports.check = void 0;\n\nvar _reactNative = require(\"react-native\");\n\nvar _methods = require(\"./methods\");\n\nvar _permissions = require(\"./permissions\");\n\nvar _results = require(\"./results\");\n\nvar _types = require(\"./types\");\n\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});\n\nif (_reactNative.NativeModules.RNPermissions == null) {\n throw new Error(`react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps:\n• If you are using CocoaPods on iOS, run \\`pod install\\` in the \\`ios\\` directory and then clean, rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.\n• If you are getting this error while unit testing you need to mock the native module. You can use this to get started: https://github.com/zoontek/react-native-permissions/blob/master/mock.js\nIf none of these fix the issue, please open an issue on the Github repository: https://github.com/zoontek/react-native-permissions`);\n}\n\nconst check = _methods.methods.check;\nexports.check = check;\nconst checkLocationAccuracy = _methods.methods.checkLocationAccuracy;\nexports.checkLocationAccuracy = checkLocationAccuracy;\nconst checkMultiple = _methods.methods.checkMultiple;\nexports.checkMultiple = checkMultiple;\nconst checkNotifications = _methods.methods.checkNotifications;\nexports.checkNotifications = checkNotifications;\nconst openLimitedPhotoLibraryPicker = _methods.methods.openLimitedPhotoLibraryPicker;\nexports.openLimitedPhotoLibraryPicker = openLimitedPhotoLibraryPicker;\nconst openSettings = _methods.methods.openSettings;\nexports.openSettings = openSettings;\nconst request = _methods.methods.request;\nexports.request = request;\nconst requestLocationAccuracy = _methods.methods.requestLocationAccuracy;\nexports.requestLocationAccuracy = requestLocationAccuracy;\nconst requestMultiple = _methods.methods.requestMultiple;\nexports.requestMultiple = requestMultiple;\nconst requestNotifications = _methods.methods.requestNotifications;\nexports.requestNotifications = requestNotifications;\nvar _default = {\n PERMISSIONS: _permissions.PERMISSIONS,\n RESULTS: _results.RESULTS,\n check,\n checkLocationAccuracy,\n checkMultiple,\n checkNotifications,\n openLimitedPhotoLibraryPicker,\n openSettings,\n request,\n requestLocationAccuracy,\n requestMultiple,\n requestNotifications\n};\nexports.default = _default;\n//# sourceMappingURL=index.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.PERMISSIONS = void 0;\nconst IOS = Object.freeze({\n APP_TRACKING_TRANSPARENCY: 'ios.permission.APP_TRACKING_TRANSPARENCY',\n BLUETOOTH_PERIPHERAL: 'ios.permission.BLUETOOTH_PERIPHERAL',\n CALENDARS: 'ios.permission.CALENDARS',\n CAMERA: 'ios.permission.CAMERA',\n CONTACTS: 'ios.permission.CONTACTS',\n FACE_ID: 'ios.permission.FACE_ID',\n LOCATION_ALWAYS: 'ios.permission.LOCATION_ALWAYS',\n LOCATION_WHEN_IN_USE: 'ios.permission.LOCATION_WHEN_IN_USE',\n MEDIA_LIBRARY: 'ios.permission.MEDIA_LIBRARY',\n MICROPHONE: 'ios.permission.MICROPHONE',\n MOTION: 'ios.permission.MOTION',\n PHOTO_LIBRARY: 'ios.permission.PHOTO_LIBRARY',\n PHOTO_LIBRARY_ADD_ONLY: 'ios.permission.PHOTO_LIBRARY_ADD_ONLY',\n REMINDERS: 'ios.permission.REMINDERS',\n SIRI: 'ios.permission.SIRI',\n SPEECH_RECOGNITION: 'ios.permission.SPEECH_RECOGNITION',\n STOREKIT: 'ios.permission.STOREKIT'\n});\nconst PERMISSIONS = Object.freeze({\n ANDROID: {},\n IOS,\n WINDOWS: {}\n});\nexports.PERMISSIONS = PERMISSIONS;\n//# sourceMappingURL=permissions.ios.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.RESULTS = void 0;\nconst RESULTS = Object.freeze({\n UNAVAILABLE: 'unavailable',\n BLOCKED: 'blocked',\n DENIED: 'denied',\n GRANTED: 'granted',\n LIMITED: 'limited'\n});\nexports.RESULTS = RESULTS;\n//# sourceMappingURL=results.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n//# sourceMappingURL=types.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.checkNotifications = checkNotifications;\nexports.methods = void 0;\nexports.requestNotifications = requestNotifications;\n\nvar _reactNative = require(\"react-native\");\n\nvar _results = require(\"./results\");\n\nvar _utils = require(\"./utils\");\n\nconst NativeModule = _reactNative.NativeModules.RNPermissions;\n\nasync function openLimitedPhotoLibraryPicker() {\n await NativeModule.openLimitedPhotoLibraryPicker();\n}\n\nasync function openSettings() {\n await NativeModule.openSettings();\n}\n\nasync function check(permission) {\n return NativeModule.available.includes(permission) ? NativeModule.check(permission) : _results.RESULTS.UNAVAILABLE;\n}\n\nasync function request(permission) {\n return NativeModule.available.includes(permission) ? NativeModule.request(permission) : _results.RESULTS.UNAVAILABLE;\n}\n\nfunction checkLocationAccuracy() {\n return NativeModule.checkLocationAccuracy();\n}\n\nfunction requestLocationAccuracy(options) {\n return NativeModule.requestLocationAccuracy(options.purposeKey);\n}\n\nfunction checkNotifications() {\n return NativeModule.checkNotifications();\n}\n\nfunction requestNotifications(options) {\n return NativeModule.requestNotifications(options);\n}\n\nasync function checkMultiple(permissions) {\n const output = {};\n const dedup = (0, _utils.uniq)(permissions);\n await Promise.all(dedup.map(async permission => {\n output[permission] = await check(permission);\n }));\n return output;\n}\n\nasync function requestMultiple(permissions) {\n const output = {};\n const dedup = (0, _utils.uniq)(permissions);\n\n for (let index = 0; index < dedup.length; index++) {\n const permission = dedup[index];\n output[permission] = await request(permission);\n }\n\n return output;\n}\n\nconst methods = {\n check,\n checkLocationAccuracy,\n checkMultiple,\n checkNotifications,\n openLimitedPhotoLibraryPicker,\n openSettings,\n request,\n requestLocationAccuracy,\n requestMultiple,\n requestNotifications\n};\nexports.methods = methods;\n//# sourceMappingURL=methods.ios.js.map","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.platformVersion = void 0;\nexports.uniq = uniq;\n\nvar _reactNative = require(\"react-native\");\n\nconst platformVersion = typeof _reactNative.Platform.Version === 'string' ? parseInt(_reactNative.Platform.Version, 10) : _reactNative.Platform.Version;\nexports.platformVersion = platformVersion;\n\nfunction uniq(array) {\n return array.filter((item, index) => item != null && array.indexOf(item) === index);\n}\n//# sourceMappingURL=utils.js.map","import {Platform} from 'react-native';\n\nimport {CameraOptions, ImageLibraryOptions, Callback} from './types';\nimport {\n imageLibrary as nativeImageLibrary,\n camera as nativeCamera,\n} from './platforms/native';\nimport {\n imageLibrary as webImageLibrary,\n camera as webCamera,\n} from './platforms/web';\n\nexport * from './types';\n\nexport function launchCamera(options: CameraOptions, callback?: Callback) {\n return Platform.OS === 'web'\n ? webCamera(options, callback)\n : nativeCamera(options, callback);\n}\n\nexport function launchImageLibrary(\n options: ImageLibraryOptions,\n callback?: Callback,\n) {\n return Platform.OS === 'web'\n ? webImageLibrary(options, callback)\n : nativeImageLibrary(options, callback);\n}\n","export type Callback = (response: ImagePickerResponse) => any;\n\nexport interface OptionsCommon {\n mediaType: MediaType;\n maxWidth?: number;\n maxHeight?: number;\n quality?: PhotoQuality;\n videoQuality?: AndroidVideoOptions | iOSVideoOptions;\n includeBase64?: boolean;\n includeExtra?: boolean;\n presentationStyle?:\n | 'currentContext'\n | 'fullScreen'\n | 'pageSheet'\n | 'formSheet'\n | 'popover'\n | 'overFullScreen'\n | 'overCurrentContext';\n}\n\nexport interface ImageLibraryOptions extends OptionsCommon {\n selectionLimit?: number;\n}\n\nexport interface CameraOptions extends OptionsCommon {\n durationLimit?: number;\n saveToPhotos?: boolean;\n cameraType?: CameraType;\n}\n\nexport interface Asset {\n base64?: string;\n uri?: string;\n width?: number;\n height?: number;\n fileSize?: number;\n type?: string;\n fileName?: string;\n duration?: number;\n bitrate?: number;\n timestamp?: string;\n id?: string;\n}\n\nexport interface ImagePickerResponse {\n didCancel?: boolean;\n errorCode?: ErrorCode;\n errorMessage?: string;\n assets?: Asset[];\n}\n\nexport type PhotoQuality =\n | 0\n | 0.1\n | 0.2\n | 0.3\n | 0.4\n | 0.5\n | 0.6\n | 0.7\n | 0.8\n | 0.9\n | 1;\nexport type CameraType = 'back' | 'front';\nexport type MediaType = 'photo' | 'video' | 'mixed';\nexport type AndroidVideoOptions = 'low' | 'high';\nexport type iOSVideoOptions = 'low' | 'medium' | 'high';\nexport type ErrorCode = 'camera_unavailable' | 'permission' | 'others';\n","import {\n CameraOptions,\n ImageLibraryOptions,\n Callback,\n ImagePickerResponse,\n ErrorCode,\n Asset,\n MediaType,\n} from '../types';\n\nconst DEFAULT_OPTIONS: Pick<\n ImageLibraryOptions & CameraOptions,\n 'mediaType' | 'includeBase64' | 'selectionLimit'\n> = {\n mediaType: 'photo',\n includeBase64: false,\n selectionLimit: 1,\n};\n\nexport function camera(\n options: ImageLibraryOptions = DEFAULT_OPTIONS,\n callback?: Callback,\n): Promise {\n return new Promise((resolve) => {\n const result = {\n errorCode: 'camera_unavailable' as ErrorCode,\n errorMessage: 'launchCamera is not supported for web yet',\n };\n\n if (callback) callback(result);\n\n resolve(result);\n });\n}\n\nexport function imageLibrary(\n options: ImageLibraryOptions = DEFAULT_OPTIONS,\n callback?: Callback,\n): Promise {\n // Only supporting 'photo' mediaType for now.\n if (options.mediaType !== 'photo') {\n const result = {\n errorCode: 'others' as ErrorCode,\n errorMessage: 'For now, only photo mediaType is supported for web',\n };\n\n if (callback) callback(result);\n\n return Promise.resolve(result);\n }\n\n const input = document.createElement('input');\n input.style.display = 'none';\n input.setAttribute('type', 'file');\n input.setAttribute('accept', getWebMediaType(options.mediaType));\n\n if (options.selectionLimit! > 1) {\n input.setAttribute('multiple', 'multiple');\n }\n\n document.body.appendChild(input);\n\n return new Promise((resolve) => {\n input.addEventListener('change', async () => {\n if (input.files) {\n if (options.selectionLimit! <= 1) {\n const img = await readFile(input.files[0], {\n includeBase64: options.includeBase64,\n });\n\n const result = {assets: [img]};\n\n if (callback) callback(result);\n\n resolve(result);\n } else {\n const imgs = await Promise.all(\n Array.from(input.files).map((file) =>\n readFile(file, {includeBase64: options.includeBase64}),\n ),\n );\n\n const result = {\n didCancel: false,\n assets: imgs,\n };\n\n if (callback) callback(result);\n\n resolve(result);\n }\n }\n document.body.removeChild(input);\n });\n\n const event = new MouseEvent('click');\n input.dispatchEvent(event);\n });\n}\n\nfunction readFile(\n targetFile: Blob,\n options: Partial,\n): Promise {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n reader.onerror = () => {\n reject(\n new Error(\n `Failed to read the selected media because the operation failed.`,\n ),\n );\n };\n reader.onload = ({target}) => {\n const uri = target?.result;\n\n const returnRaw = () =>\n resolve({\n uri: uri as string,\n width: 0,\n height: 0,\n });\n\n if (typeof uri === 'string') {\n const image = new Image();\n image.src = uri;\n image.onload = () =>\n resolve({\n uri,\n width: image.naturalWidth ?? image.width,\n height: image.naturalHeight ?? image.height,\n // The blob's result cannot be directly decoded as Base64 without\n // first removing the Data-URL declaration preceding the\n // Base64-encoded data. To retrieve only the Base64 encoded string,\n // first remove data:*/*;base64, from the result.\n // https://developer.mozilla.org/en-US/docs/Web/API/FileReader/readAsDataURL\n ...(options.includeBase64 && {\n base64: uri.substr(uri.indexOf(',') + 1),\n }),\n });\n image.onerror = () => returnRaw();\n } else {\n returnRaw();\n }\n };\n\n reader.readAsDataURL(targetFile);\n });\n}\n\nfunction getWebMediaType(mediaType: MediaType) {\n const webMediaTypes = {\n photo: 'image/*',\n video: 'video/*',\n mixed: 'image/*,video/*',\n };\n\n return webMediaTypes[mediaType] ?? webMediaTypes.photo;\n}\n","import {NativeModules} from 'react-native';\n\nimport {\n CameraOptions,\n ImageLibraryOptions,\n Callback,\n ImagePickerResponse,\n} from '../types';\n\nconst DEFAULT_OPTIONS: ImageLibraryOptions & CameraOptions = {\n mediaType: 'photo',\n videoQuality: 'high',\n quality: 1,\n maxWidth: 0,\n maxHeight: 0,\n includeBase64: false,\n cameraType: 'back',\n selectionLimit: 1,\n saveToPhotos: false,\n durationLimit: 0,\n includeExtra: false,\n presentationStyle: 'pageSheet',\n};\n\n// @ts-ignore We want to check whether __turboModuleProxy exitst, it may not\nconst isTurboModuleEnabled = global.__turboModuleProxy != null;\n\nconst nativeImagePicler = isTurboModuleEnabled ?\n require(\"./NativeImagePicker\").default :\n NativeModules.ImagePicker;\n\nexport function camera(\n options: CameraOptions,\n callback?: Callback,\n): Promise {\n return new Promise((resolve) => {\n nativeImagePicler.launchCamera(\n {...DEFAULT_OPTIONS, ...options},\n (result: ImagePickerResponse) => {\n if (callback) callback(result);\n resolve(result);\n },\n );\n });\n}\n\nexport function imageLibrary(\n options: ImageLibraryOptions,\n callback?: Callback,\n): Promise {\n return new Promise((resolve) => {\n nativeImagePicler.launchImageLibrary(\n {...DEFAULT_OPTIONS, ...options},\n (result: ImagePickerResponse) => {\n if (callback) callback(result);\n resolve(result);\n },\n );\n });\n}\n","import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';\nimport { TurboModuleRegistry } from 'react-native';\n\nexport interface Spec extends TurboModule {\n launchCamera(options: Object, callback: () => void): void;\n launchImageLibrary(options: Object, callback: () => void): void;\n}\nexport default TurboModuleRegistry.get(\n 'ImagePicker'\n);\n","import PropTypes from 'prop-types';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /**\n * A renderProp with the following interface\n *\n * @example\n * \n * {({openPicker}) => (\n * {\n * openPicker({\n * onPicked: (file) => {\n * // Display or upload File\n * },\n * });\n * }}\n * />\n * )}\n * \n * */\n children: PropTypes.func.isRequired,\n\n /** The types of files that can be selected with this picker. */\n type: PropTypes.oneOf([CONST.ATTACHMENT_PICKER_TYPE.FILE, CONST.ATTACHMENT_PICKER_TYPE.IMAGE]),\n};\n\nconst defaultProps = {\n type: CONST.ATTACHMENT_PICKER_TYPE.FILE,\n};\n\nexport {\n propTypes,\n defaultProps,\n};\n","import PropTypes from 'prop-types';\nimport React, {\n useCallback, useEffect, useState,\n} from 'react';\nimport {\n ActivityIndicator, Image, View, Pressable,\n} from 'react-native';\nimport {GestureHandlerRootView} from 'react-native-gesture-handler';\nimport {\n runOnUI,\n interpolate,\n useAnimatedGestureHandler,\n useSharedValue,\n useWorkletCallback,\n} from 'react-native-reanimated';\nimport CONST from '../../CONST';\nimport compose from '../../libs/compose';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport Button from '../Button';\nimport HeaderWithCloseButton from '../HeaderWithCloseButton';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport Modal from '../Modal';\nimport Text from '../Text';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport ImageCropView from './ImageCropView';\nimport Slider from './Slider';\nimport cropOrRotateImage from '../../libs/cropOrRotateImage';\nimport HeaderGap from '../HeaderGap';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport Tooltip from '../Tooltip';\n\nconst propTypes = {\n /** Link to image for cropping */\n imageUri: PropTypes.string,\n\n /** Name of the image */\n imageName: PropTypes.string,\n\n /** Type of the image file */\n imageType: PropTypes.string,\n\n /** Callback to be called when user closes the modal */\n onClose: PropTypes.func,\n\n /** Callback to be called when user saves the image */\n onSave: PropTypes.func,\n\n /** Modal visibility */\n isVisible: PropTypes.bool.isRequired,\n\n /** Image crop vector mask */\n maskImage: PropTypes.func,\n\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n imageUri: '',\n imageName: '',\n imageType: '',\n onClose: () => {},\n onSave: () => {},\n maskImage: undefined,\n};\n\n// This component can't be written using class since reanimated API uses hooks.\nconst AvatarCropModal = (props) => {\n const originalImageWidth = useSharedValue(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n const originalImageHeight = useSharedValue(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n const translateY = useSharedValue(0);\n const translateX = useSharedValue(0);\n const scale = useSharedValue(CONST.AVATAR_CROP_MODAL.MIN_SCALE);\n const rotation = useSharedValue(0);\n const translateSlider = useSharedValue(0);\n const isPressableEnabled = useSharedValue(true);\n\n // Check if image cropping, saving or uploading is in progress\n const isLoading = useSharedValue(false);\n\n // The previous offset values are maintained to recalculate the offset value in proportion\n // to the container size, especially when the window size is first decreased and then increased\n const prevMaxOffsetX = useSharedValue(0);\n const prevMaxOffsetY = useSharedValue(0);\n\n const [imageContainerSize, setImageContainerSize] = useState(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n const [sliderContainerSize, setSliderContainerSize] = useState(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n const [isImageContainerInitialized, setIsImageContainerInitialized] = useState(false);\n const [isImageInitialized, setIsImageInitialized] = useState(false);\n\n // An onLayout callback, that initializes the image container, for proper render of an image\n const initializeImageContainer = useCallback((event) => {\n setIsImageContainerInitialized(true);\n const {height, width} = event.nativeEvent.layout;\n\n // Even if the browser height is reduced too much, the relative height should not be negative\n const relativeHeight = Math.max(height, CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n setImageContainerSize(Math.floor(Math.min(relativeHeight, width)));\n }, []);\n\n // An onLayout callback, that initializes the slider container size, for proper render of a slider\n const initializeSliderContainer = useCallback((event) => {\n setSliderContainerSize(event.nativeEvent.layout.width);\n }, []);\n\n // Changes the modal state values to initial\n const resetState = useCallback(() => {\n originalImageWidth.value = CONST.AVATAR_CROP_MODAL.INITIAL_SIZE;\n originalImageHeight.value = CONST.AVATAR_CROP_MODAL.INITIAL_SIZE;\n translateY.value = 0;\n translateX.value = 0;\n scale.value = CONST.AVATAR_CROP_MODAL.MIN_SCALE;\n rotation.value = 0;\n translateSlider.value = 0;\n prevMaxOffsetX.value = 0;\n prevMaxOffsetY.value = 0;\n isLoading.value = false;\n setImageContainerSize(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n setSliderContainerSize(CONST.AVATAR_CROP_MODAL.INITIAL_SIZE);\n setIsImageContainerInitialized(false);\n setIsImageInitialized(false);\n }, [originalImageHeight, originalImageWidth, prevMaxOffsetX, prevMaxOffsetY, rotation, scale, translateSlider, translateX, translateY, isLoading]);\n\n // In order to calculate proper image position/size/animation, we have to know its size.\n // And we have to update image size if image url changes.\n const imageUri = props.imageUri;\n useEffect(() => {\n if (!imageUri) {\n return;\n }\n Image.getSize(imageUri, (width, height) => {\n // We need to have image sizes in shared values to properly calculate position/size/animation\n originalImageHeight.value = height;\n originalImageWidth.value = width;\n setIsImageInitialized(true);\n\n // Because the reanimated library has some internal optimizations,\n // sometimes when the modal is hidden styles of the image and slider might not be updated.\n // To trigger the update we need to slightly change the following values:\n translateSlider.value += 0.01;\n rotation.value += 360;\n });\n }, [imageUri, originalImageHeight, originalImageWidth, rotation, translateSlider]);\n\n /**\n * Validates that value is within the provided mix/max range.\n *\n * @param {Number} value\n * @param {Array} minMax\n * @returns {Number}\n */\n const clamp = useWorkletCallback((value, [min, max]) => interpolate(value, [min, max], [min, max], 'clamp'), []);\n\n /**\n * Returns current image size taking into account scale and rotation.\n *\n * @returns {Object}\n */\n const getDisplayedImageSize = useWorkletCallback(() => {\n let height = imageContainerSize * scale.value;\n let width = imageContainerSize * scale.value;\n\n // Since the smaller side will be always equal to the imageContainerSize multiplied by scale,\n // another side can be calculated with aspect ratio.\n if (originalImageWidth.value > originalImageHeight.value) {\n width *= originalImageWidth.value / originalImageHeight.value;\n } else {\n height *= originalImageHeight.value / originalImageWidth.value;\n }\n\n return {height, width};\n }, [imageContainerSize, scale]);\n\n /**\n * Validates the offset to prevent overflow, and updates the image offset.\n *\n * @param {Number} newX\n * @param {Number} newY\n */\n const updateImageOffset = useWorkletCallback((offsetX, offsetY) => {\n const {height, width} = getDisplayedImageSize();\n const maxOffsetX = (width - imageContainerSize) / 2;\n const maxOffsetY = (height - imageContainerSize) / 2;\n translateX.value = clamp(offsetX, [maxOffsetX * -1, maxOffsetX]);\n translateY.value = clamp(offsetY, [maxOffsetY * -1, maxOffsetY]);\n prevMaxOffsetX.value = maxOffsetX;\n prevMaxOffsetY.value = maxOffsetY;\n }, [imageContainerSize, scale, clamp]);\n\n /**\n * @param {Number} newSliderValue\n * @param {Number} containerSize\n * @returns {Number}\n */\n const newScaleValue = useWorkletCallback((newSliderValue, containerSize) => {\n const {MAX_SCALE, MIN_SCALE} = CONST.AVATAR_CROP_MODAL;\n return ((newSliderValue / containerSize) * (MAX_SCALE - MIN_SCALE)) + MIN_SCALE;\n });\n\n /**\n * Calculates new x & y image translate value on image panning\n * and updates image's offset.\n */\n const panGestureEventHandler = useAnimatedGestureHandler({\n onStart: (_, context) => {\n // we have to assign translate values to a context\n // since that is required for proper work of turbo modules.\n // eslint-disable-next-line no-param-reassign\n context.translateX = translateX.value;\n // eslint-disable-next-line no-param-reassign\n context.translateY = translateY.value;\n },\n onActive: (event, context) => {\n const newX = event.translationX + context.translateX;\n const newY = event.translationY + context.translateY;\n\n updateImageOffset(newX, newY);\n },\n }, [imageContainerSize, updateImageOffset, translateX, translateY]);\n\n // This effect is needed to recalculate the maximum offset values\n // when the browser window is resized.\n useEffect(() => {\n // If no panning has happened and the value is 0, do an early return.\n if (!prevMaxOffsetX.value && !prevMaxOffsetY.value) {\n return;\n }\n const {height, width} = getDisplayedImageSize();\n const maxOffsetX = (width - imageContainerSize) / 2;\n const maxOffsetY = (height - imageContainerSize) / 2;\n\n // Since interpolation is expensive, we only want to do it if\n // image has been panned across X or Y axis by the user.\n if (prevMaxOffsetX) {\n translateX.value = interpolate(\n translateX.value,\n [prevMaxOffsetX.value * -1, prevMaxOffsetX.value],\n [maxOffsetX * -1, maxOffsetX],\n );\n }\n\n if (prevMaxOffsetY) {\n translateY.value = interpolate(\n translateY.value,\n [prevMaxOffsetY.value * -1, prevMaxOffsetY.value],\n [maxOffsetY * -1, maxOffsetY],\n );\n }\n prevMaxOffsetX.value = maxOffsetX;\n prevMaxOffsetY.value = maxOffsetY;\n }, [getDisplayedImageSize, imageContainerSize, prevMaxOffsetX, prevMaxOffsetY, translateX, translateY]);\n\n /**\n * Calculates new scale value and updates images offset to ensure\n * that image stays in the center of the container after changing scale.\n */\n const panSliderGestureEventHandler = useAnimatedGestureHandler({\n onStart: (_, context) => {\n // we have to assign this value to a context\n // since that is required for proper work of turbo modules.\n // eslint-disable-next-line no-param-reassign\n context.translateSliderX = translateSlider.value;\n isPressableEnabled.value = false;\n },\n onActive: (event, context) => {\n const newSliderValue = clamp(event.translationX + context.translateSliderX, [0, sliderContainerSize]);\n const newScale = newScaleValue(newSliderValue, sliderContainerSize);\n\n const differential = newScale / scale.value;\n\n scale.value = newScale;\n translateSlider.value = newSliderValue;\n\n const newX = translateX.value * differential;\n const newY = translateY.value * differential;\n updateImageOffset(newX, newY);\n },\n onEnd: () => isPressableEnabled.value = true,\n }, [imageContainerSize, clamp, translateX, translateY, translateSlider, scale, sliderContainerSize, isPressableEnabled]);\n\n // This effect is needed to prevent the incorrect position of\n // the slider's knob when the window's layout changes\n useEffect(() => {\n translateSlider.value = interpolate(\n scale.value,\n [CONST.AVATAR_CROP_MODAL.MIN_SCALE, CONST.AVATAR_CROP_MODAL.MAX_SCALE],\n [0, sliderContainerSize],\n );\n }, [scale.value, sliderContainerSize, translateSlider]);\n\n // Rotates the image by changing the rotation value by 90 degrees\n // and updating the position so the image remains in the same place after rotation\n const rotateImage = useCallback(() => {\n rotation.value -= 90;\n\n // Rotating 2d coordinates by applying the formula (x, y) → (-y, x).\n [translateX.value, translateY.value] = [translateY.value, translateX.value * -1];\n\n // Since we rotated the image by 90 degrees, now width becomes height and vice versa.\n [originalImageHeight.value, originalImageWidth.value] = [\n originalImageWidth.value,\n originalImageHeight.value,\n ];\n }, [originalImageHeight.value, originalImageWidth.value, rotation, translateX.value, translateY.value]);\n\n // Crops an image that was provided in the imageUri prop, using the current position/scale\n // then calls onSave and onClose callbacks\n const cropAndSaveImage = useCallback(() => {\n if (isLoading.value) {\n return;\n }\n isLoading.value = true;\n const smallerSize = Math.min(originalImageHeight.value, originalImageWidth.value);\n const size = smallerSize / scale.value;\n const imageCenterX = originalImageWidth.value / 2;\n const imageCenterY = originalImageHeight.value / 2;\n const apothem = size / 2; // apothem for squares is equals to half of it size\n\n // Since the translate value is only a distance from the image center, we are able to calculate\n // the originX and the originY - start coordinates of cropping view.\n const originX = imageCenterX - apothem - ((translateX.value / imageContainerSize / scale.value) * smallerSize);\n const originY = imageCenterY - apothem - ((translateY.value / imageContainerSize / scale.value) * smallerSize);\n\n const crop = {\n height: size, width: size, originX, originY,\n };\n\n // Svg images are converted to a png blob to preserve transparency, so we need to update the\n // image name and type accordingly.\n const isSvg = props.imageType.includes('image/svg');\n const imageName = isSvg ? 'fileName.png' : props.imageName;\n const imageType = isSvg ? 'image/png' : props.imageType;\n\n cropOrRotateImage(\n props.imageUri,\n [{rotate: rotation.value % 360}, {crop}],\n {compress: 1, name: imageName, type: imageType},\n )\n .then((newImage) => {\n props.onClose();\n props.onSave(newImage);\n })\n .catch(() => {\n isLoading.value = false;\n });\n }, [originalImageHeight.value, originalImageWidth.value, scale.value, translateX.value, imageContainerSize, translateY.value, props, rotation.value, isLoading]);\n\n /**\n * @param {Number} locationX\n */\n const sliderOnPress = (locationX) => {\n // We are using the worklet directive here and running on the UI thread to ensure the Reanimated\n // shared values are updated synchronously, as they update asynchronously on the JS thread.\n\n 'worklet';\n\n if (!locationX || !isPressableEnabled.value) {\n return;\n }\n const newSliderValue = clamp(locationX, [0, sliderContainerSize]);\n const newScale = newScaleValue(newSliderValue, sliderContainerSize);\n translateSlider.value = newSliderValue;\n const differential = newScale / scale.value;\n scale.value = newScale;\n const newX = translateX.value * differential;\n const newY = translateY.value * differential;\n updateImageOffset(newX, newY);\n };\n\n return (\n \n {props.isSmallScreenWidth && }\n \n {props.translate('avatarCropModal.description')}\n \n\n {/* To avoid layout shift we should hide this component until the image container & image is initialized */}\n {(!isImageInitialized || !isImageContainerInitialized) ? \n : (\n <>\n \n \n \n runOnUI(sliderOnPress)(e.nativeEvent.locationX)}\n >\n \n \n \n \n \n \n \n )}\n \n \n \n );\n};\n\nAvatarCropModal.displayName = 'AvatarCropModal';\nAvatarCropModal.propTypes = propTypes;\nAvatarCropModal.defaultProps = defaultProps;\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(AvatarCropModal);\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport {View} from 'react-native';\nimport {PanGestureHandler} from 'react-native-gesture-handler';\nimport Animated, {interpolate, useAnimatedStyle} from 'react-native-reanimated';\nimport styles from '../../styles/styles';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport gestureHandlerPropTypes from './gestureHandlerPropTypes';\nimport ControlSelection from '../../libs/ControlSelection';\n\nconst propTypes = {\n /** Link to image for cropping */\n imageUri: PropTypes.string,\n\n /** Size of the image container that will be rendered */\n containerSize: PropTypes.number,\n\n /** The height of the selected image */\n originalImageHeight: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** The width of the selected image */\n originalImageWidth: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** The rotation value of the selected image */\n rotation: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** The relative image shift along X-axis */\n translateX: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** The relative image shift along Y-axis */\n translateY: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** The scale factor of the image */\n scale: PropTypes.shape({value: PropTypes.number}).isRequired,\n\n /** React-native-reanimated lib handler which executes when the user is panning image */\n panGestureEventHandler: gestureHandlerPropTypes,\n\n /** Image crop vector mask */\n maskImage: PropTypes.func,\n};\n\nconst defaultProps = {\n imageUri: '',\n containerSize: 0,\n panGestureEventHandler: () => {},\n maskImage: Expensicons.ImageCropCircleMask,\n};\n\nconst ImageCropView = (props) => {\n const containerStyle = StyleUtils.getWidthAndHeightStyle(props.containerSize, props.containerSize);\n\n // A reanimated memoized style, which updates when the image's size or scale changes.\n const imageStyle = useAnimatedStyle(() => {\n const height = props.originalImageHeight.value;\n const width = props.originalImageWidth.value;\n const aspectRatio = height > width ? height / width : width / height;\n const rotate = interpolate(props.rotation.value, [0, 360], [0, 360]);\n return {\n transform: [\n {translateX: props.translateX.value},\n {translateY: props.translateY.value},\n {scale: props.scale.value * aspectRatio},\n {rotate: `${rotate}deg`},\n ],\n };\n }, [props.originalImageHeight, props.originalImageWidth]);\n\n // We're preventing text selection with ControlSelection.blockElement to prevent safari\n // default behaviour of cursor - I-beam cursor on drag. See https://github.com/Expensify/App/issues/13688\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nImageCropView.displayName = 'ImageCropView';\nImageCropView.propTypes = propTypes;\nImageCropView.defaultProps = defaultProps;\n\n// React.memo is needed here to prevent styles recompilation\n// which sometimes may cause glitches during rerender of the modal\nexport default React.memo(ImageCropView);\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.oneOfType([\n // Executes once a gesture is triggered\n PropTypes.func,\n PropTypes.shape({\n current: PropTypes.shape({\n // Array of event names that will be handled by animation handler\n eventNames: PropTypes.arrayOf(PropTypes.string),\n\n // Array of registered event handlers ids\n registrations: PropTypes.arrayOf(PropTypes.number),\n\n // React tag of the node we want to manage\n viewTag: PropTypes.number,\n\n // Executes once a gesture is triggered\n worklet: PropTypes.func,\n }),\n }),\n]);\n","import PropTypes from 'prop-types';\nimport React, {useState} from 'react';\nimport {View} from 'react-native';\nimport {PanGestureHandler} from 'react-native-gesture-handler';\nimport Animated, {useAnimatedStyle} from 'react-native-reanimated';\nimport styles from '../../styles/styles';\nimport gestureHandlerPropTypes from './gestureHandlerPropTypes';\nimport ControlSelection from '../../libs/ControlSelection';\nimport Tooltip from '../Tooltip';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n /** React-native-reanimated lib handler which executes when the user is panning slider */\n onGesture: gestureHandlerPropTypes,\n\n /** X position of the slider knob */\n sliderValue: PropTypes.shape({value: PropTypes.number}),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n onGesture: () => {},\n sliderValue: {},\n};\n\n// This component can't be written using class since reanimated API uses hooks.\nconst Slider = (props) => {\n const [tooltipIsVisible, setTooltipIsVisible] = useState(true);\n\n // A reanimated memoized style, which tracks\n // a translateX shared value and updates the slider position.\n const rSliderStyle = useAnimatedStyle(() => ({\n transform: [{translateX: props.sliderValue.value}],\n }));\n\n // We're preventing text selection with ControlSelection.blockElement to prevent safari\n // default behaviour of cursor - I-beam cursor on drag. See https://github.com/Expensify/App/issues/13688\n return (\n \n setTooltipIsVisible(false)}\n onEnded={() => setTooltipIsVisible(true)}\n onGestureEvent={props.onGesture}\n >\n \n { tooltipIsVisible && (\n \n \n \n )}\n \n \n \n );\n};\n\nSlider.displayName = 'Slider';\nSlider.propTypes = propTypes;\nSlider.defaultProps = defaultProps;\nexport default withLocalize(Slider);\n","import RNImageManipulator from '@oguzhnatly/react-native-image-manipulator';\nimport RNFetchBlob from 'react-native-blob-util';\n\n/**\n * Crops and rotates the image on ios/android\n *\n * @param {String} uri\n * @param {Array} actions\n * @param {Object} options\n * @returns {Promise} Returns cropped and rotated image\n */\nfunction cropOrRotateImage(uri, actions, options = {}) {\n return new Promise((resolve) => {\n RNImageManipulator.manipulate(uri, actions, options).then((result) => {\n RNFetchBlob.fs.stat(result.uri.replace('file://', '')).then(({size}) => {\n resolve({\n ...result, size, type: options.type || 'image/jpeg', name: options.name || 'fileName.jpg',\n });\n });\n });\n });\n}\n\nexport default cropOrRotateImage;\n","import { NativeModules } from \"react-native\";\nconst { RNImageManipulator } = NativeModules;\nexport default RNImageManipulator;\n//# sourceMappingURL=index.js.map","import {Animated, Easing} from 'react-native';\nimport useNativeDriver from '../../libs/useNativeDriver';\n\nclass SpinningIndicatorAnimation {\n constructor() {\n this.rotate = new Animated.Value(0);\n this.scale = new Animated.Value(1);\n this.startRotation = this.startRotation.bind(this);\n this.start = this.start.bind(this);\n this.stop = this.stop.bind(this);\n this.getSyncingStyles = this.getSyncingStyles.bind(this);\n }\n\n /**\n * Rotation animation for indicator in a loop\n *\n * @memberof AvatarWithImagePicker\n */\n startRotation() {\n this.rotate.setValue(0);\n Animated.loop(\n Animated.timing(this.rotate, {\n toValue: 1,\n duration: 2000,\n easing: Easing.linear,\n isInteraction: false,\n\n // Animated.loop does not work with `useNativeDriver: true` on Web\n useNativeDriver,\n }),\n ).start();\n }\n\n /**\n * Start Animation for Indicator\n *\n * @memberof AvatarWithImagePicker\n */\n start() {\n this.startRotation();\n Animated.spring(this.scale, {\n toValue: 1.666,\n tension: 1,\n isInteraction: false,\n useNativeDriver: true,\n }).start();\n }\n\n /**\n * Stop Animation for Indicator\n *\n * @memberof AvatarWithImagePicker\n */\n stop() {\n Animated.spring(this.scale, {\n toValue: 1,\n tension: 1,\n isInteraction: false,\n useNativeDriver: true,\n }).start(() => {\n this.rotate.resetAnimation();\n this.scale.resetAnimation();\n this.rotate.setValue(0);\n });\n }\n\n /**\n * Get Indicator Styles while animating\n *\n * @returns {Object}\n */\n getSyncingStyles() {\n return {\n transform: [{\n rotate: this.rotate.interpolate({\n inputRange: [0, 1],\n outputRange: ['0deg', '-360deg'],\n }),\n },\n {\n scale: this.scale,\n }],\n };\n }\n}\n\nexport default SpinningIndicatorAnimation;\n","export default true;\n","/**\n * Get image resolution\n * Image object is returned as a result of a user selecting image using the react-native-image-picker\n * Image already has width and height properties coming from library so we just need to return them on native\n * Opposite to web where we need to create a new Image object and get dimensions from it\n *\n * @param {*} file Picked file blob\n * @returns {Promise}\n */\nfunction getImageResolution(file) {\n return Promise.resolve({width: file.width, height: file.height});\n}\n\nexport default getImageResolution;\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React, {Component} from 'react';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../../components/withCurrentUserPersonalDetails';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport ROUTES from '../../../ROUTES';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport compose from '../../../libs/compose';\nimport themeColors from '../../../styles/themes/default';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport CONST from '../../../CONST';\nimport OptionsSelector from '../../../components/OptionsSelector';\n\nconst greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nclass PronounsPage extends Component {\n constructor(props) {\n super(props);\n\n this.loadPronouns = this.loadPronouns.bind(this);\n this.onChangeText = this.onChangeText.bind(this);\n this.getFilteredPronouns = this.getFilteredPronouns.bind(this);\n this.updatePronouns = this.updatePronouns.bind(this);\n this.initiallyFocusedOption = {};\n\n this.loadPronouns();\n this.state = {\n searchValue: this.initiallyFocusedOption.text || '',\n };\n }\n\n componentDidUpdate(prevProps) {\n // If the pronouns have changed, we need to update the pronouns list because refreshing the page\n // breaks the component lifecycle, so we need to \"manually\" reset the component.\n if (prevProps.currentUserPersonalDetails.pronouns === this.props.currentUserPersonalDetails.pronouns) {\n return;\n }\n\n this.onChangeText();\n this.loadPronouns();\n }\n\n onChangeText(searchValue = '') {\n this.setState({searchValue});\n }\n\n /**\n * Returns the pronouns list filtered by searchValue needed for the OptionsSelector.\n * Empty array is returned if the searchValue is empty.\n *\n * @returns {Array}\n */\n getFilteredPronouns() {\n const searchedValue = this.state.searchValue.trim();\n if (searchedValue.length === 0) {\n return [];\n }\n return _.filter(this.pronounsList,\n pronous => pronous.text.toLowerCase().indexOf(searchedValue.toLowerCase()) >= 0);\n }\n\n /**\n * Loads the pronouns list from the translations and adds the green checkmark icon to the currently selected value.\n *\n * @returns {void}\n */\n loadPronouns() {\n const currentPronouns = lodashGet(this.props.currentUserPersonalDetails, 'pronouns', '');\n\n this.pronounsList = _.map(this.props.translate('pronouns'), (value, key) => {\n const fullPronounKey = `${CONST.PRONOUNS.PREFIX}${key}`;\n const isCurrentPronouns = fullPronounKey === currentPronouns;\n\n if (isCurrentPronouns) {\n this.initiallyFocusedOption = {\n text: value,\n keyForList: key,\n };\n }\n\n return {\n text: value,\n value: fullPronounKey,\n keyForList: key,\n\n // Include the green checkmark icon to indicate the currently selected value\n customIcon: isCurrentPronouns ? greenCheckmark : undefined,\n\n // This property will make the currently selected value have bold text\n boldStyle: isCurrentPronouns,\n };\n });\n }\n\n /**\n * @param {Object} selectedPronouns\n */\n updatePronouns(selectedPronouns) {\n PersonalDetails.updatePronouns(selectedPronouns.keyForList === this.initiallyFocusedOption.keyForList ? '' : lodashGet(selectedPronouns, 'value', ''));\n }\n\n render() {\n const filteredPronounsList = this.getFilteredPronouns();\n const headerMessage = this.state.searchValue.trim() && !filteredPronounsList.length ? this.props.translate('common.noResultsFound') : '';\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.navigate(ROUTES.SETTINGS_PROFILE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n {this.props.translate('pronounsPage.isShownOnProfile')}\n \n \n \n )}\n \n );\n }\n}\n\nPronounsPage.propTypes = propTypes;\nPronounsPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n)(PronounsPage);\n","import lodashGet from 'lodash/get';\nimport React, {Component} from 'react';\nimport {View} from 'react-native';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../../components/withCurrentUserPersonalDetails';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport ROUTES from '../../../ROUTES';\nimport Form from '../../../components/Form';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport CONST from '../../../CONST';\nimport * as ValidationUtils from '../../../libs/ValidationUtils';\nimport TextInput from '../../../components/TextInput';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport compose from '../../../libs/compose';\nimport * as ErrorUtils from '../../../libs/ErrorUtils';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nclass DisplayNamePage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.updateDisplayName = this.updateDisplayName.bind(this);\n }\n\n /**\n * Submit form to update user's first and last name (and display name)\n * @param {Object} values\n * @param {String} values.firstName\n * @param {String} values.lastName\n */\n updateDisplayName(values) {\n PersonalDetails.updateDisplayName(\n values.firstName.trim(),\n values.lastName.trim(),\n );\n }\n\n /**\n * @param {Object} values\n * @param {String} values.firstName\n * @param {String} values.lastName\n * @returns {Object} - An object containing the errors for each inputID\n */\n validate(values) {\n const errors = {};\n\n // First we validate the first name field\n if (!ValidationUtils.isValidDisplayName(values.firstName)) {\n ErrorUtils.addErrorMessage(errors, 'firstName', this.props.translate('personalDetails.error.hasInvalidCharacter'));\n }\n if (ValidationUtils.doesContainReservedWord(values.firstName, CONST.DISPLAY_NAME.RESERVED_FIRST_NAMES)) {\n ErrorUtils.addErrorMessage(errors, 'firstName', this.props.translate('personalDetails.error.containsReservedWord'));\n }\n\n // Then we validate the last name field\n if (!ValidationUtils.isValidDisplayName(values.lastName)) {\n errors.lastName = this.props.translate('personalDetails.error.hasInvalidCharacter');\n }\n\n return errors;\n }\n\n render() {\n const currentUserDetails = this.props.currentUserPersonalDetails || {};\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PROFILE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n {this.props.translate('displayNamePage.isShownOnProfile')}\n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nDisplayNamePage.propTypes = propTypes;\nDisplayNamePage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n)(DisplayNamePage);\n","import lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View} from 'react-native';\nimport moment from 'moment-timezone';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../../components/withCurrentUserPersonalDetails';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport ROUTES from '../../../ROUTES';\nimport CONST from '../../../CONST';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport compose from '../../../libs/compose';\nimport Switch from '../../../components/Switch';\nimport MenuItemWithTopDescription from '../../../components/MenuItemWithTopDescription';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nconst TimezoneInitialPage = (props) => {\n const timezone = lodashGet(props.currentUserPersonalDetails, 'timezone', CONST.DEFAULT_TIME_ZONE);\n\n /**\n * Updates setting for automatic timezone selection.\n * Note: If we are updating automatically, we'll immediately calculate the user's timezone.\n *\n * @param {Boolean} isAutomatic\n */\n const updateAutomaticTimezone = (isAutomatic) => {\n PersonalDetails.updateAutomaticTimezone({\n automatic: isAutomatic,\n selected: isAutomatic ? moment.tz.guess() : timezone.selected,\n });\n };\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PROFILE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n {props.translate('timezonePage.isShownOnProfile')}\n \n \n \n {props.translate('timezonePage.getLocationAutomatically')}\n \n \n \n \n Navigation.navigate(ROUTES.SETTINGS_TIMEZONE_SELECT)}\n />\n \n \n );\n};\n\nTimezoneInitialPage.propTypes = propTypes;\nTimezoneInitialPage.defaultProps = defaultProps;\nTimezoneInitialPage.displayName = 'TimezoneInitialPage';\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n)(TimezoneInitialPage);\n","import React, {Component} from 'react';\nimport {TouchableOpacity, Animated} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** Whether the switch is toggled to the on position */\n isOn: PropTypes.bool.isRequired,\n\n /** Callback to fire when the switch is toggled */\n onToggle: PropTypes.func.isRequired,\n};\n\nclass Switch extends Component {\n constructor(props) {\n super(props);\n this.offPosition = 0;\n this.onPosition = 20;\n this.offsetX = new Animated.Value(props.isOn ? this.onPosition : this.offPosition);\n\n this.toggleSwitch = this.toggleSwitch.bind(this);\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.isOn === this.props.isOn) {\n return;\n }\n\n this.toggleSwitch();\n }\n\n toggleSwitch() {\n Animated.timing(this.offsetX, {\n toValue: this.props.isOn ? this.onPosition : this.offPosition,\n duration: 300,\n useNativeDriver: true,\n }).start();\n }\n\n render() {\n const switchTransform = {transform: [{translateX: this.offsetX}]};\n return (\n this.props.onToggle(!this.props.isOn)}\n >\n \n \n );\n }\n}\n\nSwitch.propTypes = propTypes;\n\nexport default Switch;\n","import lodashGet from 'lodash/get';\nimport React, {Component} from 'react';\nimport _ from 'underscore';\nimport moment from 'moment-timezone';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../../components/withCurrentUserPersonalDetails';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport ROUTES from '../../../ROUTES';\nimport CONST from '../../../CONST';\nimport styles from '../../../styles/styles';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport compose from '../../../libs/compose';\nimport OptionsSelector from '../../../components/OptionsSelector';\nimport themeColors from '../../../styles/themes/default';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\n\nconst greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nclass TimezoneSelectPage extends Component {\n constructor(props) {\n super(props);\n\n this.saveSelectedTimezone = this.saveSelectedTimezone.bind(this);\n this.filterShownTimezones = this.filterShownTimezones.bind(this);\n this.getTimezoneOption = this.getTimezoneOption.bind(this);\n\n this.timezone = this.getUserTimezone(props.currentUserPersonalDetails);\n this.allTimezones = _.chain(moment.tz.names())\n .filter(timezone => !timezone.startsWith('Etc/GMT'))\n .map(this.getTimezoneOption)\n .value();\n\n this.state = {\n timezoneInputText: this.timezone.selected,\n timezoneOptions: this.allTimezones,\n };\n }\n\n componentDidUpdate() {\n // componentDidUpdate is added in order to update the timezone options when automatic is toggled on/off as\n // navigating back doesn't unmount the page, thus it won't update the timezone options & stay disabled without this.\n const newTimezone = this.getUserTimezone(this.props.currentUserPersonalDetails);\n if (_.isEqual(this.timezone, newTimezone)) {\n return;\n }\n this.timezone = newTimezone;\n this.allTimezones = _.map(this.allTimezones, (timezone) => {\n const text = timezone.text.split('-')[0];\n return this.getTimezoneOption(text);\n });\n\n this.setState({\n timezoneInputText: this.timezone.selected,\n timezoneOptions: this.allTimezones,\n });\n }\n\n /**\n * We add the current time to the key to fix a bug where the list options don't update unless the key is updated.\n * @param {String} text\n * @return {string} key for list item\n */\n getKey(text) {\n return `${text}-${(new Date()).getTime()}`;\n }\n\n /**\n * Get timezone option object for the list.\n * @param {String} text\n * @return {Object} Timezone list option\n */\n getTimezoneOption(text) {\n return {\n text,\n keyForList: this.getKey(text),\n\n // Include the green checkmark icon to indicate the currently selected value\n customIcon: text === this.timezone.selected ? greenCheckmark : undefined,\n\n // This property will make the currently selected value have bold text\n boldStyle: text === this.timezone.selected,\n };\n }\n\n /**\n * @param {Object} currentUserPersonalDetails\n * @return {Object} user's timezone data\n */\n getUserTimezone(currentUserPersonalDetails) {\n return lodashGet(currentUserPersonalDetails, 'timezone', CONST.DEFAULT_TIME_ZONE);\n }\n\n /**\n * @param {Object} timezone\n * @param {String} timezone.text\n */\n saveSelectedTimezone({text}) {\n PersonalDetails.updateSelectedTimezone(text);\n }\n\n /**\n * @param {String} searchText\n */\n filterShownTimezones(searchText) {\n this.setState({\n timezoneInputText: searchText,\n timezoneOptions: _.filter(this.allTimezones, (tz => tz.text.toLowerCase().includes(searchText.trim().toLowerCase()))),\n });\n }\n\n render() {\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.navigate(ROUTES.SETTINGS_TIMEZONE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n tz.text === this.timezone.selected)[0], 'keyForList')}\n />\n \n )}\n \n );\n }\n}\n\nTimezoneSelectPage.propTypes = propTypes;\nTimezoneSelectPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n)(TimezoneSelectPage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {ScrollView, View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport ROUTES from '../../../../ROUTES';\nimport Text from '../../../../components/Text';\nimport styles from '../../../../styles/styles';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport compose from '../../../../libs/compose';\nimport MenuItemWithTopDescription from '../../../../components/MenuItemWithTopDescription';\nimport * as PersonalDetails from '../../../../libs/actions/PersonalDetails';\nimport ONYXKEYS from '../../../../ONYXKEYS';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** User's private personal details */\n privatePersonalDetails: PropTypes.shape({\n legalFirstName: PropTypes.string,\n legalLastName: PropTypes.string,\n dob: PropTypes.string,\n\n /** User's home address */\n address: PropTypes.shape({\n street: PropTypes.string,\n city: PropTypes.string,\n state: PropTypes.string,\n zip: PropTypes.string,\n country: PropTypes.string,\n }),\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n privatePersonalDetails: {\n legalFirstName: '',\n legalLastName: '',\n dob: '',\n address: {\n street: '',\n street2: '',\n city: '',\n state: '',\n zip: '',\n country: '',\n },\n },\n};\n\nconst PersonalDetailsInitialPage = (props) => {\n PersonalDetails.openPersonalDetailsPage();\n\n const privateDetails = props.privatePersonalDetails || {};\n const address = privateDetails.address || {};\n const legalName = `${privateDetails.legalFirstName || ''} ${privateDetails.legalLastName || ''}`.trim();\n\n /**\n * Applies common formatting to each piece of an address\n *\n * @param {String} piece\n * @returns {String}\n */\n const formatPiece = piece => (piece ? `${piece}, ` : '');\n\n /**\n * Formats an address object into an easily readable string\n *\n * @returns {String}\n */\n const getFormattedAddress = () => {\n const [street1, street2] = (address.street || '').split('\\n');\n const formattedAddress = formatPiece(street1)\n + formatPiece(street2)\n + formatPiece(address.city)\n + formatPiece(address.state)\n + formatPiece(address.zip)\n + formatPiece(address.country);\n\n // Remove the last comma of the address\n return formattedAddress.trim().replace(/,$/, '');\n };\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PROFILE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n {props.translate('privatePersonalDetails.privateDataMessage')}\n \n \n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS_LEGAL_NAME)}\n />\n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS_DATE_OF_BIRTH)}\n />\n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS_ADDRESS)}\n />\n \n \n \n );\n};\n\nPersonalDetailsInitialPage.propTypes = propTypes;\nPersonalDetailsInitialPage.defaultProps = defaultProps;\nPersonalDetailsInitialPage.displayName = 'PersonalDetailsInitialPage';\n\nexport default compose(\n withLocalize,\n withOnyx({\n privatePersonalDetails: {\n key: ONYXKEYS.PRIVATE_PERSONAL_DETAILS,\n },\n }),\n)(PersonalDetailsInitialPage);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport ROUTES from '../../../../ROUTES';\nimport Form from '../../../../components/Form';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport CONST from '../../../../CONST';\nimport * as ValidationUtils from '../../../../libs/ValidationUtils';\nimport TextInput from '../../../../components/TextInput';\nimport styles from '../../../../styles/styles';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../../libs/actions/PersonalDetails';\nimport compose from '../../../../libs/compose';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** User's private personal details */\n privatePersonalDetails: PropTypes.shape({\n legalFirstName: PropTypes.string,\n legalLastName: PropTypes.string,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n privatePersonalDetails: {\n legalFirstName: '',\n legalLastName: '',\n },\n};\n\nclass LegalNamePage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.updateLegalName = this.updateLegalName.bind(this);\n }\n\n /**\n * Submit form to update user's legal first and last name\n * @param {Object} values\n * @param {String} values.legalFirstName\n * @param {String} values.legalLastName\n */\n updateLegalName(values) {\n PersonalDetails.updateLegalName(\n values.legalFirstName.trim(),\n values.legalLastName.trim(),\n );\n }\n\n /**\n * @param {Object} values\n * @param {String} values.legalFirstName\n * @param {String} values.legalLastName\n * @returns {Object} - An object containing the errors for each inputID\n */\n validate(values) {\n const errors = {};\n\n if (!ValidationUtils.isValidLegalName(values.legalFirstName)) {\n errors.legalFirstName = this.props.translate('privatePersonalDetails.error.hasInvalidCharacter');\n } else if (_.isEmpty(values.legalFirstName)) {\n errors.legalFirstName = this.props.translate('common.error.fieldRequired');\n }\n\n if (!ValidationUtils.isValidLegalName(values.legalLastName)) {\n errors.legalLastName = this.props.translate('privatePersonalDetails.error.hasInvalidCharacter');\n } else if (_.isEmpty(values.legalLastName)) {\n errors.legalLastName = this.props.translate('common.error.fieldRequired');\n }\n\n return errors;\n }\n\n render() {\n const privateDetails = this.props.privatePersonalDetails || {};\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nLegalNamePage.propTypes = propTypes;\nLegalNamePage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n privatePersonalDetails: {\n key: ONYXKEYS.PRIVATE_PERSONAL_DETAILS,\n },\n }),\n)(LegalNamePage);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport moment from 'moment';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport ROUTES from '../../../../ROUTES';\nimport Form from '../../../../components/Form';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport * as ValidationUtils from '../../../../libs/ValidationUtils';\nimport styles from '../../../../styles/styles';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../../libs/actions/PersonalDetails';\nimport compose from '../../../../libs/compose';\nimport NewDatePicker from '../../../../components/NewDatePicker';\nimport CONST from '../../../../CONST';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** User's private personal details */\n privatePersonalDetails: PropTypes.shape({\n dob: PropTypes.string,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n privatePersonalDetails: {\n dob: '',\n },\n};\n\nclass DateOfBirthPage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.updateDateOfBirth = this.updateDateOfBirth.bind(this);\n this.getYearFromRouteParams = this.getYearFromRouteParams.bind(this);\n this.minDate = moment().subtract(CONST.DATE_BIRTH.MAX_AGE, 'Y').toDate();\n this.maxDate = moment().subtract(CONST.DATE_BIRTH.MIN_AGE, 'Y').toDate();\n\n this.state = {\n selectedYear: '',\n };\n }\n\n componentDidMount() {\n this.props.navigation.addListener('focus', this.getYearFromRouteParams);\n }\n\n componentWillUnmount() {\n this.props.navigation.removeListener('focus', this.getYearFromRouteParams);\n }\n\n /**\n * Function to be called to read year from params - necessary to read passed year from the Year picker which is a separate screen\n * It allows to display selected year in the calendar picker without overwriting this value in Onyx\n */\n getYearFromRouteParams() {\n const {params} = this.props.route;\n if (params && params.year) {\n this.setState({selectedYear: params.year});\n }\n }\n\n /**\n * Submit form to update user's first and last legal name\n * @param {Object} values\n * @param {String} values.dob - date of birth\n */\n updateDateOfBirth(values) {\n PersonalDetails.updateDateOfBirth(\n values.dob,\n );\n }\n\n /**\n * @param {Object} values\n * @param {String} values.dob - date of birth\n * @returns {Object} - An object containing the errors for each inputID\n */\n validate(values) {\n const errors = {};\n const minimumAge = CONST.DATE_BIRTH.MIN_AGE;\n const maximumAge = CONST.DATE_BIRTH.MAX_AGE;\n\n if (!values.dob || !ValidationUtils.isValidDate(values.dob)) {\n errors.dob = this.props.translate('common.error.fieldRequired');\n }\n const dateError = ValidationUtils.getAgeRequirementError(values.dob, minimumAge, maximumAge);\n if (dateError) {\n errors.dob = dateError;\n }\n\n return errors;\n }\n\n render() {\n const privateDetails = this.props.privatePersonalDetails || {};\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n );\n }\n}\n\nDateOfBirthPage.propTypes = propTypes;\nDateOfBirthPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n privatePersonalDetails: {\n key: ONYXKEYS.PRIVATE_PERSONAL_DETAILS,\n },\n }),\n)(DateOfBirthPage);\n","import React from 'react';\nimport {View, Animated} from 'react-native';\nimport moment from 'moment';\nimport TextInput from '../TextInput';\nimport CalendarPicker from '../CalendarPicker';\nimport CONST from '../../CONST';\nimport styles from '../../styles/styles';\nimport * as Expensicons from '../Icon/Expensicons';\nimport {propTypes as datePickerPropTypes, defaultProps as defaultDatePickerProps} from './datePickerPropTypes';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...datePickerPropTypes,\n};\n\nconst datePickerDefaultProps = {\n ...defaultDatePickerProps,\n};\n\nclass NewDatePicker extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n isPickerVisible: false,\n selectedMonth: null,\n selectedDate: moment(props.value || props.defaultValue || undefined).toDate(),\n };\n\n this.setDate = this.setDate.bind(this);\n this.showPicker = this.showPicker.bind(this);\n this.setCurrentSelectedMonth = this.setCurrentSelectedMonth.bind(this);\n\n this.opacity = new Animated.Value(0);\n\n // We're using uncontrolled input otherwise it wont be possible to\n // raise change events with a date value - each change will produce a date\n // and make us reset the text input\n this.defaultValue = props.defaultValue\n ? moment(props.defaultValue).format(CONST.DATE.MOMENT_FORMAT_STRING)\n : '';\n }\n\n componentDidMount() {\n if (!this.props.autoFocus) {\n return;\n }\n this.showPicker();\n }\n\n /**\n * Updates selected month when year picker is opened.\n * This is used to keep the last visible month in the calendar when going back from year picker screen.\n * @param {Date} currentDateView\n */\n setCurrentSelectedMonth(currentDateView) {\n this.setState({selectedMonth: currentDateView.getMonth()});\n }\n\n /**\n * Trigger the `onInputChange` handler when the user input has a complete date or is cleared\n * @param {Date} selectedDate\n */\n setDate(selectedDate) {\n this.setState({selectedDate}, () => {\n this.props.onInputChange(moment(selectedDate).format(CONST.DATE.MOMENT_FORMAT_STRING));\n });\n }\n\n /**\n * Function to animate showing the picker.\n */\n showPicker() {\n this.setState({isPickerVisible: true}, () => {\n Animated.timing(this.opacity, {\n toValue: 1,\n duration: 100,\n useNativeDriver: true,\n }).start();\n });\n }\n\n render() {\n return (\n \n \n \n \n {\n this.state.isPickerVisible && (\n \n \n \n )\n }\n \n );\n }\n}\n\nNewDatePicker.propTypes = propTypes;\nNewDatePicker.defaultProps = datePickerDefaultProps;\n\nexport default withLocalize(NewDatePicker);\n","import _ from 'underscore';\nimport React from 'react';\nimport {View, TouchableOpacity, Pressable} from 'react-native';\nimport moment from 'moment';\nimport Str from 'expensify-common/lib/str';\nimport Text from '../Text';\nimport ArrowIcon from './ArrowIcon';\nimport styles from '../../styles/styles';\nimport {propTypes as calendarPickerPropType, defaultProps as defaultCalendarPickerPropType} from './calendarPickerPropTypes';\nimport generateMonthMatrix from './generateMonthMatrix';\nimport withLocalize from '../withLocalize';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport CONST from '../../CONST';\nimport getButtonState from '../../libs/getButtonState';\nimport * as StyleUtils from '../../styles/StyleUtils';\n\nclass CalendarPicker extends React.PureComponent {\n constructor(props) {\n super(props);\n\n this.monthNames = _.map(moment.localeData(props.preferredLocale).months(), Str.recapitalize);\n this.daysOfWeek = _.map(moment.localeData(props.preferredLocale).weekdays(), day => day.toUpperCase());\n\n let currentDateView = props.value;\n if (props.selectedYear) {\n currentDateView = moment(currentDateView).set('year', props.selectedYear).toDate();\n }\n if (props.selectedMonth != null) {\n currentDateView = moment(currentDateView).set('month', props.selectedMonth).toDate();\n }\n if (props.maxDate < currentDateView) {\n currentDateView = props.maxDate;\n } else if (props.minDate > currentDateView) {\n currentDateView = props.minDate;\n }\n\n this.state = {\n currentDateView,\n };\n\n this.moveToPrevMonth = this.moveToPrevMonth.bind(this);\n this.moveToNextMonth = this.moveToNextMonth.bind(this);\n this.onYearPickerPressed = this.onYearPickerPressed.bind(this);\n this.onDayPressed = this.onDayPressed.bind(this);\n }\n\n componentDidMount() {\n if (this.props.minDate <= this.props.maxDate) {\n return;\n }\n throw new Error('Minimum date cannot be greater than the maximum date.');\n }\n\n componentDidUpdate(prevProps) {\n // Check if selectedYear has changed\n if (this.props.selectedYear === prevProps.selectedYear) {\n return;\n }\n\n // If the selectedYear prop has changed, update the currentDateView state with the new year value\n this.setState(prev => ({currentDateView: moment(prev.currentDateView).set('year', this.props.selectedYear).toDate()}));\n }\n\n /**\n * Handles the user pressing the year picker button.\n * Opens the year selection screen with the minimum and maximum year range\n * based on the props, the current year based on the state, and the active route.\n */\n onYearPickerPressed() {\n const minYear = moment(this.props.minDate).year();\n const maxYear = moment(this.props.maxDate).year();\n const currentYear = this.state.currentDateView.getFullYear();\n Navigation.navigate(ROUTES.getYearSelectionRoute(minYear, maxYear, currentYear, Navigation.getActiveRoute()));\n this.props.onYearPickerOpen(this.state.currentDateView);\n }\n\n /**\n * Calls the onSelected function with the selected date.\n * @param {Number} day - The day of the month that was selected.\n */\n onDayPressed(day) {\n const selectedDate = new Date(this.state.currentDateView.getFullYear(), this.state.currentDateView.getMonth(), day);\n this.props.onSelected(selectedDate);\n }\n\n moveToPrevMonth() {\n this.setState(prev => ({currentDateView: moment(prev.currentDateView).subtract(1, 'M').toDate()}));\n }\n\n moveToNextMonth() {\n this.setState(prev => ({currentDateView: moment(prev.currentDateView).add(1, 'M').toDate()}));\n }\n\n render() {\n const currentMonthView = this.state.currentDateView.getMonth();\n const currentYearView = this.state.currentDateView.getFullYear();\n const calendarDaysMatrix = generateMonthMatrix(currentYearView, currentMonthView);\n const hasAvailableDatesNextMonth = moment(this.props.maxDate).endOf('month').startOf('day') > moment(this.state.currentDateView).add(1, 'M');\n const hasAvailableDatesPrevMonth = moment(this.props.minDate).startOf('day') < moment(this.state.currentDateView).subtract(1, 'M').endOf('month');\n\n return (\n \n \n \n {currentYearView}\n \n \n \n \n {this.monthNames[currentMonthView]}\n \n \n \n \n \n \n \n \n \n \n {_.map(this.daysOfWeek, (dayOfWeek => (\n \n {dayOfWeek[0]}\n \n )))}\n \n {_.map(calendarDaysMatrix, week => (\n \n {_.map(week, (day, index) => {\n const currentDate = moment([currentYearView, currentMonthView, day]);\n const isBeforeMinDate = currentDate < moment(this.props.minDate).startOf('day');\n const isAfterMaxDate = currentDate > moment(this.props.maxDate).startOf('day');\n const isDisabled = !day || isBeforeMinDate || isAfterMaxDate;\n const isSelected = moment(this.props.value).isSame(moment([currentYearView, currentMonthView, day]), 'day');\n\n return (\n this.onDayPressed(day)}\n style={styles.calendarDayRoot}\n accessibilityLabel={day ? day.toString() : undefined}\n >\n {({hovered, pressed}) => (\n \n {day}\n \n )}\n \n );\n })}\n \n ))}\n \n );\n }\n}\n\nCalendarPicker.propTypes = calendarPickerPropType;\nCalendarPicker.defaultProps = defaultCalendarPickerPropType;\n\nexport default withLocalize(CalendarPicker);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport * as Expensicons from '../Icon/Expensicons';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport Icon from '../Icon';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /** Specifies if the arrow icon should be disabled or not. */\n disabled: PropTypes.bool,\n\n /** Specifies direction of icon */\n direction: PropTypes.oneOf([CONST.DIRECTION.LEFT, CONST.DIRECTION.RIGHT]),\n};\n\nconst defaultProps = {\n disabled: false,\n direction: CONST.DIRECTION.RIGHT,\n};\n\nconst ArrowIcon = props => (\n \n \n \n);\n\nArrowIcon.displayName = 'ArrowIcon';\nArrowIcon.propTypes = propTypes;\nArrowIcon.defaultProps = defaultProps;\n\nexport default ArrowIcon;\n","import moment from 'moment';\nimport CONST from '../../CONST';\n\n/**\n * Generates a matrix representation of a month's calendar given the year and month.\n *\n * @param {Number} year - The year for which to generate the month matrix.\n * @param {Number} month - The month (0-indexed) for which to generate the month matrix.\n * @returns {Array>} - A 2D array of the month's calendar days, with null values representing days outside the current month.\n */\nexport default function generateMonthMatrix(year, month) {\n if (typeof year !== 'number') {\n throw new TypeError('Year must be a number');\n }\n if (year < 0) {\n throw new Error('Year cannot be less than 0');\n }\n if (typeof month !== 'number') {\n throw new TypeError('Month must be a number');\n }\n if (month < 0) {\n throw new Error('Month cannot be less than 0');\n }\n if (month > 11) {\n throw new Error('Month cannot be greater than 11');\n }\n\n // Get the number of days in the month and the first day of the month\n const daysInMonth = moment([year, month]).daysInMonth();\n const firstDay = moment([year, month, 1]).locale(CONST.LOCALES.EN);\n\n // Create a matrix to hold the calendar days\n const matrix = [];\n let currentWeek = [];\n\n // Add null values for days before the first day of the month\n for (let i = 0; i < firstDay.weekday(); i++) {\n currentWeek.push(null);\n }\n\n // Add calendar days to the matrix\n for (let i = 1; i <= daysInMonth; i++) {\n const day = moment([year, month, i]).locale(CONST.LOCALES.EN);\n currentWeek.push(day.date());\n\n // Start a new row when the current week is full\n if (day.weekday() === 6) {\n matrix.push(currentWeek);\n currentWeek = [];\n }\n }\n\n // Add null values for days after the last day of the month\n if (currentWeek.length > 0) {\n for (let i = currentWeek.length; i < 7; i++) {\n currentWeek.push(null);\n }\n matrix.push(currentWeek);\n }\n return matrix;\n}\n","import PropTypes from 'prop-types';\nimport moment from 'moment';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /** An initial value of date */\n value: PropTypes.objectOf(Date),\n\n /** A minimum date (oldest) allowed to select */\n minDate: PropTypes.objectOf(Date),\n\n /** A maximum date (earliest) allowed to select */\n maxDate: PropTypes.objectOf(Date),\n\n /** Default year to be set in the calendar picker. Used with navigation to set the correct year after going back to the view with calendar */\n selectedYear: PropTypes.string,\n\n /** Default month to be set in the calendar picker. Used to keep last selected month after going back to the view with calendar */\n selectedMonth: PropTypes.number,\n\n /** A function that is called when the date changed inside the calendar component */\n onChanged: PropTypes.func,\n\n /** A function called when the date is selected */\n onSelected: PropTypes.func,\n\n /** A function called when the year picker is opened */\n onYearPickerOpen: PropTypes.func,\n};\n\nconst defaultProps = {\n value: new Date(),\n minDate: moment().year(CONST.CALENDAR_PICKER.MIN_YEAR).toDate(),\n maxDate: moment().year(CONST.CALENDAR_PICKER.MAX_YEAR).toDate(),\n selectedYear: null,\n selectedMonth: null,\n onChanged: () => {},\n onSelected: () => {},\n onYearPickerOpen: () => {},\n};\n\nexport {propTypes, defaultProps};\n","import PropTypes from 'prop-types';\nimport moment from 'moment';\nimport {\n propTypes as baseTextInputPropTypes,\n defaultProps as defaultBaseTextInputPropTypes,\n} from '../TextInput/baseTextInputPropTypes';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n ...baseTextInputPropTypes,\n\n /**\n * The datepicker supports any value that `moment` can parse.\n * `onInputChange` would always be called with a Date (or null)\n */\n value: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),\n\n /**\n * The datepicker supports any defaultValue that `moment` can parse.\n * `onInputChange` would always be called with a Date (or null)\n */\n defaultValue: PropTypes.oneOfType([PropTypes.instanceOf(Date), PropTypes.string]),\n\n /** A minimum date of calendar to select */\n minDate: PropTypes.objectOf(Date),\n\n /** A maximum date of calendar to select */\n maxDate: PropTypes.objectOf(Date),\n\n /** Default year to be set in the calendar picker */\n selectedYear: PropTypes.string,\n};\n\nconst defaultProps = {\n ...defaultBaseTextInputPropTypes,\n minDate: moment().year(CONST.CALENDAR_PICKER.MIN_YEAR).toDate(),\n maxDate: moment().year(CONST.CALENDAR_PICKER.MAX_YEAR).toDate(),\n value: undefined,\n};\n\nexport {propTypes, defaultProps};\n","import lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport {CONST as COMMON_CONST} from 'expensify-common/lib/CONST';\nimport {withOnyx} from 'react-native-onyx';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport ROUTES from '../../../../ROUTES';\nimport Form from '../../../../components/Form';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport CONST from '../../../../CONST';\nimport TextInput from '../../../../components/TextInput';\nimport styles from '../../../../styles/styles';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport * as PersonalDetails from '../../../../libs/actions/PersonalDetails';\nimport * as ValidationUtils from '../../../../libs/ValidationUtils';\nimport compose from '../../../../libs/compose';\nimport AddressSearch from '../../../../components/AddressSearch';\nimport CountryPicker from '../../../../components/CountryPicker';\nimport StatePicker from '../../../../components/StatePicker';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** User's private personal details */\n privatePersonalDetails: PropTypes.shape({\n /** User's home address */\n address: PropTypes.shape({\n street: PropTypes.string,\n city: PropTypes.string,\n state: PropTypes.string,\n zip: PropTypes.string,\n country: PropTypes.string,\n }),\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n privatePersonalDetails: {\n address: {\n street: '',\n city: '',\n state: '',\n zip: '',\n country: '',\n },\n },\n};\n\nclass AddressPage extends Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.updateAddress = this.updateAddress.bind(this);\n this.onCountryUpdate = this.onCountryUpdate.bind(this);\n\n const currentCountry = lodashGet(this.props.privatePersonalDetails, 'address.country') || '';\n const currentCountryISO = PersonalDetails.getCountryISO(currentCountry) || CONST.COUNTRY.US;\n const zipSampleFormat = lodashGet(CONST.COUNTRY_ZIP_REGEX_DATA, [currentCountryISO, 'samples'], '');\n this.state = {\n isUsaForm: (currentCountry === CONST.COUNTRY.US || currentCountry === CONST.USA_COUNTRY_NAME),\n zipFormat: this.props.translate('common.zipCodeExampleFormat', {zipSampleFormat}),\n };\n }\n\n /**\n * @param {String} newCountry - new country selected in form\n */\n onCountryUpdate(newCountry) {\n const zipSampleFormat = lodashGet(CONST.COUNTRY_ZIP_REGEX_DATA, `${newCountry}.samples`, '');\n this.setState({\n isUsaForm: newCountry === CONST.COUNTRY.US,\n zipFormat: this.props.translate('common.zipCodeExampleFormat', {zipSampleFormat}),\n });\n }\n\n /**\n * Submit form to update user's first and last legal name\n * @param {Object} values - form input values\n */\n updateAddress(values) {\n PersonalDetails.updateAddress(\n values.addressLine1.trim(),\n values.addressLine2.trim(),\n values.city.trim(),\n values.state.trim(),\n values.zipPostCode.trim(),\n values.country,\n );\n }\n\n /**\n * @param {Object} values - form input values\n * @returns {Object} - An object containing the errors for each inputID\n */\n validate(values) {\n const errors = {};\n\n const requiredFields = [\n 'addressLine1',\n 'city',\n 'country',\n 'state',\n ];\n\n // Check \"State\" dropdown is a valid state if selected Country is USA.\n if (this.state.isUsaForm && !COMMON_CONST.STATES[values.state]) {\n errors.state = this.props.translate('common.error.fieldRequired');\n }\n\n // Add \"Field required\" errors if any required field is empty\n _.each(requiredFields, (fieldKey) => {\n if (ValidationUtils.isRequiredFulfilled(values[fieldKey])) {\n return;\n }\n errors[fieldKey] = this.props.translate('common.error.fieldRequired');\n });\n\n // If no country is selected, default value is an empty string and there's no related regex data so we default to an empty object\n const countryRegexDetails = lodashGet(CONST.COUNTRY_ZIP_REGEX_DATA, values.country, {});\n\n // The postal code system might not exist for a country, so no regex either for them.\n const countrySpecificZipRegex = lodashGet(countryRegexDetails, 'regex');\n const zipFormat = lodashGet(countryRegexDetails, 'samples');\n\n if (countrySpecificZipRegex) {\n if (!countrySpecificZipRegex.test(values.zipPostCode.trim())) {\n if (ValidationUtils.isRequiredFulfilled(values.zipPostCode.trim())) {\n errors.zipPostCode = this.props.translate('privatePersonalDetails.error.incorrectZipFormat', {zipFormat});\n } else {\n errors.zipPostCode = this.props.translate('common.error.fieldRequired');\n }\n }\n } else if (!CONST.GENERIC_ZIP_CODE_REGEX.test(values.zipPostCode.trim())) {\n errors.zipPostCode = this.props.translate('privatePersonalDetails.error.incorrectZipFormat');\n }\n\n return errors;\n }\n\n render() {\n const address = lodashGet(this.props.privatePersonalDetails, 'address') || {};\n const [street1, street2] = (address.street || '').split('\\n');\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PERSONAL_DETAILS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n \n \n \n \n \n \n {this.state.isUsaForm ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nAddressPage.propTypes = propTypes;\nAddressPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n privatePersonalDetails: {\n key: ONYXKEYS.PRIVATE_PERSONAL_DETAILS,\n },\n }),\n)(AddressPage);\n","import _ from 'underscore';\nimport React, {forwardRef} from 'react';\nimport PropTypes from 'prop-types';\nimport Picker from './Picker';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst propTypes = {\n /** The label for the field */\n label: PropTypes.string,\n\n /** A callback method that is called when the value changes and it receives the selected value as an argument. */\n onInputChange: PropTypes.func.isRequired,\n\n /** The value that needs to be selected */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /** The ID used to uniquely identify the input in a form */\n inputID: PropTypes.string,\n\n /** Saves a draft of the input value when used in a form */\n shouldSaveDraft: PropTypes.bool,\n\n /** Callback that is called when the text input is blurred */\n onBlur: PropTypes.func,\n\n /** Error text to display */\n errorText: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n label: '',\n value: undefined,\n errorText: '',\n shouldSaveDraft: false,\n inputID: undefined,\n onBlur: () => {},\n};\n\nconst CountryPicker = forwardRef((props, ref) => {\n const COUNTRIES = _.map(props.translate('allCountries'), (countryName, countryISO) => ({\n value: countryISO,\n label: countryName,\n }));\n\n return (\n \n );\n});\n\nCountryPicker.propTypes = propTypes;\nCountryPicker.defaultProps = defaultProps;\nCountryPicker.displayName = 'CountryPicker';\n\nexport default withLocalize(CountryPicker);\n","import Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport {View} from 'react-native';\nimport {ScrollView} from 'react-native-gesture-handler';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport Button from '../../../../components/Button';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport CONST from '../../../../CONST';\nimport compose from '../../../../libs/compose';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport ROUTES from '../../../../ROUTES';\nimport styles from '../../../../styles/styles';\nimport MenuItem from '../../../../components/MenuItem';\nimport Text from '../../../../components/Text';\nimport CopyTextToClipboard from '../../../../components/CopyTextToClipboard';\nimport OfflineWithFeedback from '../../../../components/OfflineWithFeedback';\nimport FixedFooter from '../../../../components/FixedFooter';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** The partner creating the account. It depends on the source: website, mobile, integrations, ... */\n partnerName: PropTypes.string,\n\n /** Phone/Email associated with user */\n partnerUserID: PropTypes.string,\n\n /** The date when the login was validated, used to show the brickroad status */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n\n /** Field-specific pending states for offline UI status */\n pendingFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n /** Current user session */\n session: PropTypes.shape({\n email: PropTypes.string.isRequired,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n loginList: {},\n session: {\n email: null,\n },\n};\n\nconst ContactMethodsPage = (props) => {\n const loginMenuItems = _.map(props.loginList, (login, loginName) => {\n const pendingAction = lodashGet(login, 'pendingFields.deletedLogin') || lodashGet(login, 'pendingFields.addedLogin');\n if (!login.partnerUserID && _.isEmpty(pendingAction)) {\n return null;\n }\n\n let description = '';\n if (props.session.email === login.partnerUserID) {\n description = props.translate('contacts.getInTouch');\n } else if (lodashGet(login, 'errorFields.addedLogin')) {\n description = props.translate('contacts.failedNewContact');\n } else if (!login.validatedDate) {\n description = props.translate('contacts.pleaseVerify');\n }\n let indicator = null;\n if (_.some(lodashGet(login, 'errorFields', {}), errorField => !_.isEmpty(errorField))) {\n indicator = CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR;\n } else if (!login.validatedDate) {\n indicator = CONST.BRICK_ROAD_INDICATOR_STATUS.INFO;\n }\n\n // Default to using login key if we deleted login.partnerUserID optimistically\n // but still need to show the pending login being deleted while offline.\n const partnerUserID = login.partnerUserID || loginName;\n return (\n \n Navigation.navigate(ROUTES.getEditContactMethodRoute(partnerUserID))}\n brickRoadIndicator={indicator}\n shouldShowBasicTitle\n shouldShowRightIcon\n disabled={!_.isEmpty(pendingAction)}\n />\n \n );\n });\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PROFILE)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n {props.translate('contacts.helpTextBeforeEmail')}\n \n {props.translate('contacts.helpTextAfterEmail')}\n \n \n {loginMenuItems}\n \n \n Navigation.navigate(ROUTES.SETTINGS_NEW_CONTACT_METHOD)}\n pressOnEnter\n />\n \n \n );\n};\n\nContactMethodsPage.propTypes = propTypes;\nContactMethodsPage.defaultProps = defaultProps;\nContactMethodsPage.displayName = 'ContactMethodsPage';\n\nexport default compose(\n withLocalize,\n withOnyx({\n loginList: {\n key: ONYXKEYS.LOGIN_LIST,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n }),\n)(ContactMethodsPage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Text from './Text';\nimport * as Expensicons from './Icon/Expensicons';\nimport Clipboard from '../libs/Clipboard';\nimport Icon from './Icon';\nimport Tooltip from './Tooltip';\nimport styles from '../styles/styles';\nimport themeColors from '../styles/themes/default';\nimport variables from '../styles/variables';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst propTypes = {\n /** The text to display and copy to the clipboard */\n text: PropTypes.string.isRequired,\n\n /** Styles to apply to the text */\n // eslint-disable-next-line react/forbid-prop-types\n textStyles: PropTypes.arrayOf(PropTypes.object),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n textStyles: [],\n};\n\nclass CopyTextToClipboard extends React.Component {\n constructor(props) {\n super(props);\n\n this.copyToClipboard = this.copyToClipboard.bind(this);\n\n this.state = {\n showCheckmark: false,\n };\n }\n\n componentWillUnmount() {\n // Clear the interval when the component unmounts so that if the user navigates\n // away quickly, then setState() won't try to update a component that's been unmounted\n clearInterval(this.showCheckmarkInterval);\n }\n\n copyToClipboard() {\n Clipboard.setString(this.props.text);\n this.setState({showCheckmark: true}, () => {\n this.showCheckmarkInterval = setTimeout(() => {\n this.setState({showCheckmark: false});\n }, 2000);\n });\n }\n\n render() {\n return (\n \n {this.props.text}\n \n \n \n \n );\n }\n}\n\nCopyTextToClipboard.propTypes = propTypes;\nCopyTextToClipboard.defaultProps = defaultProps;\n\nexport default withLocalize(CopyTextToClipboard);\n","import Str from 'expensify-common/lib/str';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport React, {Component} from 'react';\nimport {View, ScrollView} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../../ROUTES';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport compose from '../../../../libs/compose';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport MenuItem from '../../../../components/MenuItem';\nimport styles from '../../../../styles/styles';\nimport * as Expensicons from '../../../../components/Icon/Expensicons';\nimport Text from '../../../../components/Text';\nimport OfflineWithFeedback from '../../../../components/OfflineWithFeedback';\nimport DotIndicatorMessage from '../../../../components/DotIndicatorMessage';\nimport ConfirmModal from '../../../../components/ConfirmModal';\nimport * as User from '../../../../libs/actions/User';\nimport TextInput from '../../../../components/TextInput';\nimport CONST from '../../../../CONST';\nimport Icon from '../../../../components/Icon';\nimport colors from '../../../../styles/colors';\nimport Button from '../../../../components/Button';\nimport * as ErrorUtils from '../../../../libs/ErrorUtils';\nimport themeColors from '../../../../styles/themes/default';\nimport NotFoundPage from '../../../ErrorPage/NotFoundPage';\nimport * as ValidationUtils from '../../../../libs/ValidationUtils';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** Value of partner name */\n partnerName: PropTypes.string,\n\n /** Phone/Email associated with user */\n partnerUserID: PropTypes.string,\n\n /** Date when login was validated */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n\n /** Field-specific pending states for offline UI status */\n pendingFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n /** Current user session */\n session: PropTypes.shape({\n email: PropTypes.string.isRequired,\n }),\n\n /** Route params */\n route: PropTypes.shape({\n params: PropTypes.shape({\n /** Passed via route /settings/profile/contact-methods/:contactMethod/details */\n contactMethod: PropTypes.string,\n }),\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n loginList: {},\n session: {\n email: null,\n },\n route: {\n params: {\n contactMethod: '',\n },\n },\n};\n\nclass ContactMethodDetailsPage extends Component {\n constructor(props) {\n super(props);\n\n this.deleteContactMethod = this.deleteContactMethod.bind(this);\n this.toggleDeleteModal = this.toggleDeleteModal.bind(this);\n this.confirmDeleteAndHideModal = this.confirmDeleteAndHideModal.bind(this);\n this.resendValidateCode = this.resendValidateCode.bind(this);\n this.getContactMethod = this.getContactMethod.bind(this);\n this.validateAndSubmitCode = this.validateAndSubmitCode.bind(this);\n\n this.state = {\n formError: '',\n isDeleteModalOpen: false,\n validateCode: '',\n };\n }\n\n /**\n * Gets the current contact method from the route params\n *\n * @returns {string}\n */\n getContactMethod() {\n return decodeURIComponent(lodashGet(this.props.route, 'params.contactMethod'));\n }\n\n /**\n * Deletes the contact method if it has errors. Otherwise, it shows the confirmation alert and deletes it only if the user confirms.\n */\n deleteContactMethod() {\n if (!_.isEmpty(lodashGet(this.props.loginList, [this.getContactMethod(), 'errorFields'], {}))) {\n User.deleteContactMethod(this.getContactMethod());\n return;\n }\n this.toggleDeleteModal(true);\n }\n\n /**\n * Toggle delete confirm modal visibility\n * @param {Boolean} isOpen\n */\n toggleDeleteModal(isOpen) {\n this.setState({isDeleteModalOpen: isOpen});\n }\n\n /**\n * Delete the contact method and hide the modal\n */\n confirmDeleteAndHideModal() {\n this.toggleDeleteModal(false);\n User.deleteContactMethod(this.getContactMethod());\n }\n\n /**\n * Request a validate code / magic code be sent to verify this contact method\n */\n resendValidateCode() {\n User.requestContactMethodValidateCode(this.getContactMethod());\n }\n\n /**\n * Attempt to validate this contact method\n */\n validateAndSubmitCode() {\n if (!this.state.validateCode) {\n this.setState({formError: 'validateCodeForm.error.pleaseFillMagicCode'});\n } else if (!ValidationUtils.isValidValidateCode(this.state.validateCode)) {\n this.setState({formError: 'validateCodeForm.error.incorrectMagicCode'});\n } else {\n this.setState({formError: ''});\n User.validateSecondaryLogin(this.getContactMethod(), this.state.validateCode);\n }\n }\n\n render() {\n const contactMethod = this.getContactMethod();\n const loginData = this.props.loginList[contactMethod];\n if (!contactMethod || !loginData) {\n return ;\n }\n\n const isDefaultContactMethod = this.props.session.email === loginData.partnerUserID;\n const hasMagicCodeBeenSent = lodashGet(this.props.loginList, [contactMethod, 'validateCodeSent'], false);\n const formErrorText = this.state.formError ? this.props.translate(this.state.formError) : '';\n const isFailedAddContactMethod = Boolean(lodashGet(loginData, 'errorFields.addedLogin'));\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_CONTACT_METHODS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n this.toggleDeleteModal(false)}\n prompt={this.props.translate('contacts.removeAreYouSure')}\n confirmText={this.props.translate('common.yesContinue')}\n isVisible={this.state.isDeleteModalOpen}\n danger\n />\n {isFailedAddContactMethod && }\n {!loginData.validatedDate && !isFailedAddContactMethod && (\n \n \n \n \n \n {this.props.translate('contacts.enterMagicCode', {contactMethod})}\n \n \n \n this.setState({validateCode: text})}\n keyboardType={CONST.KEYBOARD_TYPE.NUMBER_PAD}\n errorText={formErrorText}\n />\n User.clearContactMethodErrors(contactMethod, 'validateCodeSent')}\n >\n \n \n {this.props.translate('contacts.resendMagicCode')}\n \n {hasMagicCodeBeenSent && (\n \n )}\n \n \n User.clearContactMethodErrors(contactMethod, 'validateLogin')}\n >\n \n \n \n )}\n {isDefaultContactMethod ? (\n \n {this.props.translate('contacts.yourDefaultContactMethod')}\n \n ) : (\n User.clearContactMethodErrors(contactMethod, 'deletedLogin')}\n >\n \n \n )}\n \n \n );\n }\n}\n\nContactMethodDetailsPage.propTypes = propTypes;\nContactMethodDetailsPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n loginList: {\n key: ONYXKEYS.LOGIN_LIST,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n }),\n)(ContactMethodDetailsPage);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport {ScrollView} from 'react-native-gesture-handler';\nimport {withOnyx} from 'react-native-onyx';\nimport {compose} from 'underscore';\nimport lodashGet from 'lodash/get';\nimport Str from 'expensify-common/lib/str';\nimport Button from '../../../../components/Button';\nimport FixedFooter from '../../../../components/FixedFooter';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport Text from '../../../../components/Text';\nimport TextInput from '../../../../components/TextInput';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport Permissions from '../../../../libs/Permissions';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport ROUTES from '../../../../ROUTES';\nimport styles from '../../../../styles/styles';\nimport * as User from '../../../../libs/actions/User';\nimport * as LoginUtils from '../../../../libs/LoginUtils';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** The partner creating the account. It depends on the source: website, mobile, integrations, ... */\n partnerName: PropTypes.string,\n\n /** Phone/Email associated with user */\n partnerUserID: PropTypes.string,\n\n /** The date when the login was validated, used to show the brickroad status */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n\n /** Field-specific pending states for offline UI status */\n pendingFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n ...withLocalizePropTypes,\n};\nconst defaultProps = {\n betas: [],\n loginList: {},\n};\n\nclass NewContactMethodPage extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n login: '',\n password: '',\n };\n this.onLoginChange = this.onLoginChange.bind(this);\n this.validateForm = this.validateForm.bind(this);\n this.submitForm = this.submitForm.bind(this);\n }\n\n onLoginChange(login) {\n this.setState({login});\n }\n\n /**\n * Determine whether the form is valid\n *\n * @returns {Boolean}\n */\n validateForm() {\n const login = this.state.login.trim();\n const phoneLogin = LoginUtils.getPhoneNumberWithoutSpecialChars(login);\n\n return (Permissions.canUsePasswordlessLogins(this.props.betas) || this.state.password)\n && (Str.isValidEmail(login) || Str.isValidPhone(phoneLogin));\n }\n\n submitForm() {\n // If this login already exists, just go back.\n if (lodashGet(this.props.loginList, this.state.login)) {\n Navigation.navigate(ROUTES.SETTINGS_CONTACT_METHODS);\n return;\n }\n User.addNewContactMethodAndNavigate(this.state.login, this.state.password);\n }\n\n render() {\n return (\n {\n if (!this.loginInputRef) {\n return;\n }\n this.loginInputRef.focus();\n }}\n >\n Navigation.navigate(ROUTES.SETTINGS_CONTACT_METHODS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n {this.props.translate('common.pleaseEnterEmailOrPhoneNumber')}\n \n \n this.loginInputRef = el}\n value={this.state.login}\n onChangeText={this.onLoginChange}\n autoCapitalize=\"none\"\n returnKeyType={Permissions.canUsePasswordlessLogins(this.props.betas) ? 'done' : 'next'}\n />\n \n {!Permissions.canUsePasswordlessLogins(this.props.betas)\n && (\n \n this.setState({password})}\n returnKeyType=\"done\"\n />\n \n )}\n \n \n \n \n \n );\n }\n}\n\nNewContactMethodPage.propTypes = propTypes;\nNewContactMethodPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n betas: {key: ONYXKEYS.BETAS},\n loginList: {key: ONYXKEYS.LOGIN_LIST},\n }),\n)(NewContactMethodPage);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View, ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport CONST from '../../../CONST';\nimport * as User from '../../../libs/actions/User';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport Switch from '../../../components/Switch';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport compose from '../../../libs/compose';\nimport withEnvironment, {environmentPropTypes} from '../../../components/withEnvironment';\nimport TestToolMenu from '../../../components/TestToolMenu';\nimport MenuItemWithTopDescription from '../../../components/MenuItemWithTopDescription';\n\nconst propTypes = {\n /** The chat priority mode */\n priorityMode: PropTypes.string,\n\n /** The details about the user that is signed in */\n user: PropTypes.shape({\n /** Whether or not the user is subscribed to news updates */\n isSubscribedToNewsletter: PropTypes.bool,\n }),\n\n /** The preferred language of the App */\n preferredLocale: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n ...environmentPropTypes,\n};\n\nconst defaultProps = {\n priorityMode: CONST.PRIORITY_MODE.DEFAULT,\n user: {},\n};\n\nconst PreferencesPage = (props) => {\n const priorityModes = props.translate('priorityModePage.priorityModes');\n const languages = props.translate('languagePage.languages');\n\n // Enable additional test features in the staging or dev environments\n const shouldShowTestToolMenu = _.contains([CONST.ENVIRONMENT.STAGING, CONST.ENVIRONMENT.DEV], props.environment);\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n {props.translate('common.notifications')}\n \n \n \n \n {props.translate('preferencesPage.receiveRelevantFeatureUpdatesAndExpensifyNews')}\n \n \n \n \n \n \n Navigation.navigate(ROUTES.SETTINGS_PRIORITY_MODE)}\n />\n Navigation.navigate(ROUTES.SETTINGS_LANGUAGE)}\n />\n {shouldShowTestToolMenu && }\n \n \n \n );\n};\n\nPreferencesPage.propTypes = propTypes;\nPreferencesPage.defaultProps = defaultProps;\nPreferencesPage.displayName = 'PreferencesPage';\n\nexport default compose(\n withEnvironment,\n withLocalize,\n withOnyx({\n priorityMode: {\n key: ONYXKEYS.NVP_PRIORITY_MODE,\n },\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(PreferencesPage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport styles from '../styles/styles';\nimport Switch from './Switch';\nimport Text from './Text';\nimport * as User from '../libs/actions/User';\nimport * as Network from '../libs/actions/Network';\nimport * as Session from '../libs/actions/Session';\nimport ONYXKEYS from '../ONYXKEYS';\nimport Button from './Button';\nimport TestToolRow from './TestToolRow';\nimport networkPropTypes from './networkPropTypes';\nimport compose from '../libs/compose';\nimport {withNetwork} from './OnyxProvider';\nimport * as ApiUtils from '../libs/ApiUtils';\nimport CONFIG from '../CONFIG';\n\nconst propTypes = {\n /** User object in Onyx */\n user: PropTypes.shape({\n /** Whether we should use the staging version of the secure API server */\n shouldUseStagingServer: PropTypes.bool,\n }),\n\n /** Network object in Onyx */\n network: networkPropTypes.isRequired,\n};\n\nconst defaultProps = {\n user: {\n // The default value is environment specific and can't be set with `defaultProps` (ENV is not resolved yet)\n // When undefined (during render) STAGING defaults to `true`, other envs default to `false`\n shouldUseStagingServer: undefined,\n },\n};\n\nconst TestToolMenu = props => (\n <>\n \n Test Preferences\n \n\n {/* Option to switch between staging and default api endpoints.\n This enables QA, internal testers and external devs to take advantage of sandbox environments for 3rd party services like Plaid and Onfido.\n This toggle is not rendered for internal devs as they make environment changes directly to the .env file. */}\n {!CONFIG.IS_USING_LOCAL_WEB && (\n \n User.setShouldUseStagingServer(\n !lodashGet(props, 'user.shouldUseStagingServer', ApiUtils.isUsingStagingApi()),\n )}\n />\n \n )}\n\n {/* When toggled the app will be forced offline. */}\n \n Network.setShouldForceOffline(!props.network.shouldForceOffline)}\n />\n \n\n {/* When toggled all network requests will fail. */}\n \n Network.setShouldFailAllRequests(!props.network.shouldFailAllRequests)}\n />\n \n\n {/* Instantly invalidates a user's local authToken. Useful for testing flows related to reauthentication. */}\n \n Session.invalidateAuthToken()}\n />\n \n\n {/* Invalidate stored user auto-generated credentials. Useful for manually testing sign out logic. */}\n \n Session.invalidateCredentials()}\n />\n \n \n);\n\nTestToolMenu.propTypes = propTypes;\nTestToolMenu.defaultProps = defaultProps;\nTestToolMenu.displayName = 'TestToolMenu';\n\nexport default compose(\n withNetwork(),\n withOnyx({\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(TestToolMenu);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport styles from '../styles/styles';\nimport Text from './Text';\n\nconst propTypes = {\n /** Title of control */\n title: PropTypes.string.isRequired,\n\n /** Control component jsx */\n children: PropTypes.node.isRequired,\n};\n\nconst TestToolRow = props => (\n \n \n \n {props.title}\n \n \n \n {props.children}\n \n \n);\n\nTestToolRow.propTypes = propTypes;\nTestToolRow.displayName = 'TestToolRow';\n\nexport default TestToolRow;\n","import _, {compose} from 'underscore';\nimport React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport OptionsList from '../../../components/OptionsList';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport themeColors from '../../../styles/themes/default';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport * as User from '../../../libs/actions/User';\nimport CONST from '../../../CONST';\n\nconst greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};\n\nconst propTypes = {\n /** The chat priority mode */\n priorityMode: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n priorityMode: CONST.PRIORITY_MODE.DEFAULT,\n};\n\nconst PriorityModePage = (props) => {\n const priorityModes = _.map(props.translate('priorityModePage.priorityModes'),\n (mode, key) => (\n {\n value: key,\n text: mode.label,\n alternateText: mode.description,\n\n // Set max line to undefined to reset line restriction\n alternateTextMaxLines: undefined,\n keyForList: key,\n\n // Include the green checkmark icon to indicate the currently selected value\n customIcon: props.priorityMode === key ? greenCheckmark : undefined,\n\n // This property will make the currently selected value have bold text\n boldStyle: props.priorityMode === key,\n }\n ));\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PREFERENCES)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n {props.translate('priorityModePage.explainerText')}\n \n User.updateChatPriorityMode(mode.value)}\n hideSectionHeaders\n optionHoveredStyle={\n {\n ...styles.hoveredComponentBG,\n ...styles.mhn5,\n ...styles.ph5,\n }\n }\n shouldHaveOptionSeparator\n shouldDisableRowInnerPadding\n contentContainerStyles={[styles.ph5]}\n />\n \n );\n};\n\nPriorityModePage.displayName = 'PriorityModePage';\nPriorityModePage.propTypes = propTypes;\nPriorityModePage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n priorityMode: {\n key: ONYXKEYS.NVP_PRIORITY_MODE,\n },\n }),\n)(PriorityModePage);\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport OptionsList from '../../../components/OptionsList';\nimport styles from '../../../styles/styles';\nimport themeColors from '../../../styles/themes/default';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as App from '../../../libs/actions/App';\n\nconst greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** The preferred language of the App */\n preferredLocale: PropTypes.string.isRequired,\n};\n\nconst LanguagePage = (props) => {\n const localesToLanguages = _.map(props.translate('languagePage.languages'),\n (language, key) => (\n {\n value: key,\n text: language.label,\n keyForList: key,\n\n // Include the green checkmark icon to indicate the currently selected value\n customIcon: props.preferredLocale === key ? greenCheckmark : undefined,\n\n // This property will make the currently selected value have bold text\n boldStyle: props.preferredLocale === key,\n }\n ));\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PREFERENCES)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n App.setLocaleAndNavigate(language.value)}\n hideSectionHeaders\n optionHoveredStyle={\n {\n ...styles.hoveredComponentBG,\n ...styles.mhn5,\n ...styles.ph5,\n }\n }\n shouldHaveOptionSeparator\n shouldDisableRowInnerPadding\n contentContainerStyles={[styles.ph5]}\n />\n \n );\n};\n\nLanguagePage.displayName = 'LanguagePage';\nLanguagePage.propTypes = propTypes;\n\nexport default withLocalize(LanguagePage);\n","import React, {Component} from 'react';\nimport {View, ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport Text from '../../components/Text';\nimport styles from '../../styles/styles';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Button from '../../components/Button';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport * as User from '../../libs/actions/User';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport FixedFooter from '../../components/FixedFooter';\nimport TextInput from '../../components/TextInput';\nimport * as Session from '../../libs/actions/Session';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\nimport ConfirmationPage from '../../components/ConfirmationPage';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** Holds information about the users account that is logging in */\n account: PropTypes.shape({\n /** An error message to display to the user */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** Success message to display when necessary */\n success: PropTypes.string,\n\n /** Whether a sign on form is loading (being submitted) */\n isLoading: PropTypes.bool,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n account: {},\n};\nclass PasswordPage extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n currentPassword: '',\n newPassword: '',\n errors: {\n currentPassword: false,\n newPassword: false,\n newPasswordSameAsOld: false,\n },\n };\n\n this.submit = this.submit.bind(this);\n this.getErrorText = this.getErrorText.bind(this);\n this.validate = this.validate.bind(this);\n this.clearErrorAndSetValue = this.clearErrorAndSetValue.bind(this);\n\n this.errorKeysMap = {\n currentPassword: 'passwordPage.errors.currentPassword',\n newPasswordSameAsOld: 'passwordPage.errors.newPasswordSameAsOld',\n newPassword: 'passwordPage.errors.newPassword',\n };\n }\n\n componentWillUnmount() {\n Session.clearAccountMessages();\n }\n\n /**\n * @param {String} field\n * @returns {String}\n */\n getErrorText(field) {\n if (this.state.errors[field]) {\n return this.props.translate(this.errorKeysMap[field]);\n }\n return '';\n }\n\n /**\n * @param {String} field\n * @param {String} value\n * @param {String[]} additionalErrorsToClear\n */\n clearErrorAndSetValue(field, value, additionalErrorsToClear) {\n const errorsToReset = {\n [field]: false,\n };\n if (additionalErrorsToClear) {\n _.each(additionalErrorsToClear, (errorFlag) => {\n errorsToReset[errorFlag] = false;\n });\n }\n\n this.setState(prevState => ({\n [field]: value,\n errors: {...prevState.errors, ...errorsToReset},\n }));\n }\n\n /**\n * @returns {Boolean}\n */\n validate() {\n const errors = {};\n\n if (!this.state.currentPassword) {\n errors.currentPassword = true;\n }\n\n if (!this.state.newPassword || !ValidationUtils.isValidPassword(this.state.newPassword)) {\n errors.newPassword = true;\n }\n\n if (this.state.currentPassword && this.state.newPassword && _.isEqual(this.state.currentPassword, this.state.newPassword)) {\n errors.newPasswordSameAsOld = true;\n }\n\n this.setState({errors});\n return _.size(errors) === 0;\n }\n\n /**\n * Submit the form\n */\n submit() {\n if (!this.validate()) {\n return;\n }\n User.updatePassword(this.state.currentPassword, this.state.newPassword);\n }\n\n render() {\n const shouldShowNewPasswordPrompt = !this.state.errors.newPassword && !this.state.errors.newPasswordSameAsOld;\n return (\n {\n if (!this.currentPasswordInputRef) {\n return;\n }\n\n this.currentPasswordInputRef.focus();\n }}\n >\n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n {!_.isEmpty(this.props.account.success)\n ? (\n \n ) : (\n <>\n \n \n {this.props.translate('passwordPage.changingYourPasswordPrompt')}\n \n \n this.currentPasswordInputRef = el}\n secureTextEntry\n autoCompleteType=\"password\"\n textContentType=\"password\"\n value={this.state.currentPassword}\n onChangeText={text => this.clearErrorAndSetValue('currentPassword', text)}\n returnKeyType=\"done\"\n hasError={this.state.errors.currentPassword}\n errorText={this.getErrorText('currentPassword')}\n onSubmitEditing={this.submit}\n />\n \n \n this.clearErrorAndSetValue('newPassword', text, ['newPasswordSameAsOld'])}\n onSubmitEditing={this.submit}\n />\n {shouldShowNewPasswordPrompt && (\n \n {this.props.translate('passwordPage.newPasswordPrompt')}\n \n )}\n \n {_.every(this.state.errors, error => !error) && !_.isEmpty(this.props.account.errors) && (\n \n {ErrorUtils.getLatestErrorMessage(this.props.account)}\n \n )}\n \n \n \n \n \n )}\n \n );\n }\n}\n\nPasswordPage.propTypes = propTypes;\nPasswordPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n account: {\n key: ONYXKEYS.ACCOUNT,\n },\n }),\n)(PasswordPage);\n","import React, {Component} from 'react';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport Str from 'expensify-common/lib/str';\nimport _ from 'underscore';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport * as User from '../../../libs/actions/User';\nimport compose from '../../../libs/compose';\nimport styles from '../../../styles/styles';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport TextInput from '../../../components/TextInput';\nimport Text from '../../../components/Text';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport * as CloseAccount from '../../../libs/actions/CloseAccount';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport Form from '../../../components/Form';\nimport CONST from '../../../CONST';\nimport ConfirmModal from '../../../components/ConfirmModal';\n\nconst propTypes = {\n\n /** Session of currently logged in user */\n session: PropTypes.shape({\n /** Email address */\n email: PropTypes.string.isRequired,\n }),\n\n ...windowDimensionsPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n session: {\n email: null,\n },\n};\n\nclass CloseAccountPage extends Component {\n constructor(props) {\n super(props);\n\n this.onConfirm = this.onConfirm.bind(this);\n this.validate = this.validate.bind(this);\n this.hideConfirmModal = this.hideConfirmModal.bind(this);\n this.showConfirmModal = this.showConfirmModal.bind(this);\n CloseAccount.clearError();\n this.state = {\n isConfirmModalVisible: false,\n reasonForLeaving: '',\n };\n }\n\n componentWillUnmount() {\n CloseAccount.clearError();\n }\n\n onConfirm() {\n User.closeAccount(this.state.reasonForLeaving);\n this.hideConfirmModal();\n }\n\n showConfirmModal(values) {\n this.setState({\n isConfirmModalVisible: true,\n reasonForLeaving: values.reasonForLeaving,\n });\n }\n\n hideConfirmModal() {\n this.setState({isConfirmModalVisible: false});\n }\n\n validate(values) {\n const userEmailOrPhone = Str.removeSMSDomain(this.props.session.email);\n const errors = {};\n\n if (_.isEmpty(values.phoneOrEmail) || userEmailOrPhone.toLowerCase() !== values.phoneOrEmail.toLowerCase()) {\n errors.phoneOrEmail = this.props.translate('closeAccountPage.enterYourDefaultContactMethod');\n }\n return errors;\n }\n\n render() {\n const userEmailOrPhone = Str.removeSMSDomain(this.props.session.email);\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_SECURITY)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n {this.props.translate('closeAccountPage.reasonForLeavingPrompt')}\n \n \n {this.props.translate('closeAccountPage.enterDefaultContactToConfirm')}\n {' '}\n \n {userEmailOrPhone}\n \n .\n \n \n \n \n \n \n );\n }\n}\n\nCloseAccountPage.propTypes = propTypes;\nCloseAccountPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n }),\n)(CloseAccountPage);\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\n\n/**\n * Clear CloseAccount error message to hide modal\n */\nfunction clearError() {\n Onyx.merge(ONYXKEYS.FORMS.CLOSE_ACCOUNT_FORM, {errors: null});\n}\n\n/**\n * Set default Onyx data\n */\nfunction setDefaultData() {\n Onyx.merge(ONYXKEYS.FORMS.CLOSE_ACCOUNT_FORM, {...CONST.DEFAULT_CLOSE_ACCOUNT_DATA});\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n clearError,\n setDefaultData,\n};\n","import _ from 'underscore';\nimport React from 'react';\nimport {View, ScrollView} from 'react-native';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport styles from '../../../styles/styles';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport MenuItem from '../../../components/MenuItem';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\n\nconst SecuritySettingsPage = (props) => {\n const menuItems = [\n {\n translationKey: 'passwordPage.changePassword',\n icon: Expensicons.Key,\n action: () => {\n Navigation.navigate(ROUTES.SETTINGS_PASSWORD);\n },\n },\n {\n translationKey: 'closeAccountPage.closeAccount',\n icon: Expensicons.ClosedSign,\n action: () => {\n Navigation.navigate(ROUTES.SETTINGS_CLOSE);\n },\n },\n ];\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n {_.map(menuItems, item => (\n item.action()}\n shouldShowRightIcon\n />\n ))}\n \n \n \n );\n};\n\nSecuritySettingsPage.propTypes = propTypes;\nSecuritySettingsPage.displayName = 'SettingSecurityPage';\n\nexport default withLocalize(SecuritySettingsPage);\n","import _ from 'underscore';\nimport React from 'react';\nimport {View, ScrollView} from 'react-native';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport TextLink from '../../../components/TextLink';\nimport CONST from '../../../CONST';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport MenuItem from '../../../components/MenuItem';\nimport Logo from '../../../../assets/images/new-expensify.svg';\nimport pkg from '../../../../package.json';\nimport * as Report from '../../../libs/actions/Report';\nimport * as Link from '../../../libs/actions/Link';\nimport compose from '../../../libs/compose';\nimport * as KeyboardShortcuts from '../../../libs/actions/KeyboardShortcuts';\nimport * as ReportActionContextMenu from '../../home/report/ContextMenu/ReportActionContextMenu';\nimport {CONTEXT_MENU_TYPES} from '../../home/report/ContextMenu/ContextMenuActions';\nimport * as Environment from '../../../libs/Environment/Environment';\nimport withEnvironment from '../../../components/withEnvironment';\n\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n};\n\nconst AboutPage = (props) => {\n let popoverAnchor;\n\n const menuItems = [\n {\n translationKey: 'initialSettingsPage.aboutPage.appDownloadLinks',\n icon: Expensicons.Link,\n action: () => {\n Navigation.navigate(ROUTES.SETTINGS_APP_DOWNLOAD_LINKS);\n },\n },\n {\n translationKey: 'initialSettingsPage.aboutPage.viewKeyboardShortcuts',\n icon: Expensicons.Keyboard,\n action: KeyboardShortcuts.showKeyboardShortcutModal,\n },\n {\n translationKey: 'initialSettingsPage.aboutPage.viewTheCode',\n icon: Expensicons.Eye,\n iconRight: Expensicons.NewWindow,\n action: () => {\n Link.openExternalLink(CONST.GITHUB_URL);\n },\n link: CONST.GITHUB_URL,\n },\n {\n translationKey: 'initialSettingsPage.aboutPage.viewOpenJobs',\n icon: Expensicons.MoneyBag,\n iconRight: Expensicons.NewWindow,\n action: () => {\n Link.openExternalLink(CONST.UPWORK_URL);\n },\n link: CONST.UPWORK_URL,\n },\n {\n translationKey: 'initialSettingsPage.aboutPage.reportABug',\n icon: Expensicons.Bug,\n action: Report.navigateToConciergeChat,\n },\n ];\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n <>\n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n \n {props.environment}\n \n \n {props.translate('initialSettingsPage.aboutPage.description')}\n \n \n \n {_.map(menuItems, item => (\n item.action()}\n shouldBlockSelection={Boolean(item.link)}\n onSecondaryInteraction={!_.isEmpty(item.link)\n ? e => ReportActionContextMenu.showContextMenu(CONTEXT_MENU_TYPES.LINK, e, item.link, popoverAnchor) : undefined}\n ref={el => popoverAnchor = el}\n shouldShowRightIcon\n />\n ))}\n \n \n \n {props.translate(\n 'initialSettingsPage.readTheTermsAndPrivacy.phrase1',\n )}\n {' '}\n \n {props.translate(\n 'initialSettingsPage.readTheTermsAndPrivacy.phrase2',\n )}\n \n {' '}\n {props.translate(\n 'initialSettingsPage.readTheTermsAndPrivacy.phrase3',\n )}\n {' '}\n \n {props.translate(\n 'initialSettingsPage.readTheTermsAndPrivacy.phrase4',\n )}\n \n .\n \n \n \n \n )}\n \n );\n};\n\nAboutPage.propTypes = propTypes;\nAboutPage.displayName = 'AboutPage';\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withEnvironment,\n)(AboutPage);\n","\n\n\n\n\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\n\nlet isShortcutsModalOpen;\nOnyx.connect({\n key: ONYXKEYS.IS_SHORTCUTS_MODAL_OPEN,\n callback: flag => isShortcutsModalOpen = flag,\n});\n\n/**\n * Set keyboard shortcuts flag to show modal\n */\nfunction showKeyboardShortcutModal() {\n if (isShortcutsModalOpen) {\n return;\n }\n Onyx.set(ONYXKEYS.IS_SHORTCUTS_MODAL_OPEN, true);\n}\n\n/**\n * Unset keyboard shortcuts flag to hide modal\n */\nfunction hideKeyboardShortcutModal() {\n if (!isShortcutsModalOpen) {\n return;\n }\n Onyx.set(ONYXKEYS.IS_SHORTCUTS_MODAL_OPEN, false);\n}\n\nexport {\n showKeyboardShortcutModal,\n hideKeyboardShortcutModal,\n};\n","import _ from 'underscore';\nimport React from 'react';\nimport {ScrollView} from 'react-native';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CONST from '../../CONST';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport MenuItem from '../../components/MenuItem';\nimport styles from '../../styles/styles';\nimport * as Link from '../../libs/actions/Link';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';\nimport * as ReportActionContextMenu from '../home/report/ContextMenu/ReportActionContextMenu';\nimport {CONTEXT_MENU_TYPES} from '../home/report/ContextMenu/ContextMenuActions';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n};\n\nconst AppDownloadLinksPage = (props) => {\n let popoverAnchor;\n\n const menuItems = [\n {\n translationKey: 'initialSettingsPage.appDownloadLinks.android.label',\n icon: Expensicons.Android,\n iconRight: Expensicons.NewWindow,\n action: () => {\n Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.ANDROID);\n },\n link: CONST.APP_DOWNLOAD_LINKS.ANDROID,\n },\n {\n translationKey: 'initialSettingsPage.appDownloadLinks.ios.label',\n icon: Expensicons.Apple,\n iconRight: Expensicons.NewWindow,\n action: () => {\n Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.IOS, true);\n },\n link: CONST.APP_DOWNLOAD_LINKS.IOS,\n },\n {\n translationKey: 'initialSettingsPage.appDownloadLinks.desktop.label',\n icon: Expensicons.Monitor,\n iconRight: Expensicons.NewWindow,\n action: () => {\n Link.openExternalLink(CONST.APP_DOWNLOAD_LINKS.DESKTOP);\n },\n link: CONST.APP_DOWNLOAD_LINKS.DESKTOP,\n },\n ];\n\n return (\n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n {_.map(menuItems, item => (\n item.action()}\n onSecondaryInteraction={e => ReportActionContextMenu.showContextMenu(CONTEXT_MENU_TYPES.LINK, e, item.link, popoverAnchor)}\n onKeyDown={(event) => {\n event.target.blur();\n }}\n ref={el => popoverAnchor = el}\n title={props.translate(item.translationKey)}\n icon={item.icon}\n iconRight={item.iconRight}\n shouldBlockSelection\n shouldShowRightIcon\n />\n ))}\n \n \n );\n};\n\nAppDownloadLinksPage.propTypes = propTypes;\nAppDownloadLinksPage.displayName = 'AppDownloadLinksPage';\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(AppDownloadLinksPage);\n","import BasePaymentsPage from './BasePaymentsPage';\n\nexport default BasePaymentsPage;\n","import React from 'react';\nimport {\n ActivityIndicator, View, InteractionManager, LayoutAnimation,\n} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport PaymentMethodList from '../PaymentMethodList';\nimport ROUTES from '../../../../ROUTES';\nimport HeaderWithCloseButton from '../../../../components/HeaderWithCloseButton';\nimport PasswordPopover from '../../../../components/PasswordPopover';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport styles from '../../../../styles/styles';\nimport withLocalize from '../../../../components/withLocalize';\nimport compose from '../../../../libs/compose';\nimport * as BankAccounts from '../../../../libs/actions/BankAccounts';\nimport Popover from '../../../../components/Popover';\nimport MenuItem from '../../../../components/MenuItem';\nimport Text from '../../../../components/Text';\nimport * as PaymentMethods from '../../../../libs/actions/PaymentMethods';\nimport getClickedTargetLocation from '../../../../libs/getClickedTargetLocation';\nimport withWindowDimensions from '../../../../components/withWindowDimensions';\nimport CurrentWalletBalance from '../../../../components/CurrentWalletBalance';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport Permissions from '../../../../libs/Permissions';\nimport AddPaymentMethodMenu from '../../../../components/AddPaymentMethodMenu';\nimport CONST from '../../../../CONST';\nimport * as Expensicons from '../../../../components/Icon/Expensicons';\nimport KYCWall from '../../../../components/KYCWall';\nimport {propTypes, defaultProps} from './paymentsPagePropTypes';\nimport {withNetwork} from '../../../../components/OnyxProvider';\nimport * as PaymentUtils from '../../../../libs/PaymentUtils';\nimport OfflineWithFeedback from '../../../../components/OfflineWithFeedback';\nimport ConfirmContent from '../../../../components/ConfirmContent';\nimport Button from '../../../../components/Button';\nimport themeColors from '../../../../styles/themes/default';\n\nclass BasePaymentsPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n shouldShowAddPaymentMenu: false,\n shouldShowDefaultDeleteMenu: false,\n shouldShowPasswordPrompt: false,\n shouldShowLoadingSpinner: false,\n isSelectedPaymentMethodDefault: false,\n selectedPaymentMethod: {},\n formattedSelectedPaymentMethod: {\n title: '',\n },\n selectedPaymentMethodType: null,\n anchorPositionTop: 0,\n anchorPositionBottom: 0,\n anchorPositionRight: 0,\n addPaymentMethodButton: null,\n methodID: null,\n showConfirmDeleteContent: false,\n };\n\n this.paymentMethodPressed = this.paymentMethodPressed.bind(this);\n this.addPaymentMethodTypePressed = this.addPaymentMethodTypePressed.bind(this);\n this.hideAddPaymentMenu = this.hideAddPaymentMenu.bind(this);\n this.hideDefaultDeleteMenu = this.hideDefaultDeleteMenu.bind(this);\n this.makeDefaultPaymentMethod = this.makeDefaultPaymentMethod.bind(this);\n this.deletePaymentMethod = this.deletePaymentMethod.bind(this);\n this.hidePasswordPrompt = this.hidePasswordPrompt.bind(this);\n this.navigateToTransferBalancePage = this.navigateToTransferBalancePage.bind(this);\n this.setMenuPosition = this.setMenuPosition.bind(this);\n this.listHeaderComponent = this.listHeaderComponent.bind(this);\n\n this.debounceSetShouldShowLoadingSpinner = _.debounce(this.setShouldShowLoadingSpinner.bind(this), CONST.TIMING.SHOW_LOADING_SPINNER_DEBOUNCE_TIME);\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n componentDidUpdate(prevProps) {\n if (this.shouldListenForResize) {\n this.setMenuPosition();\n }\n\n // If the user was previously offline, skip debouncing showing the loader\n if (prevProps.network.isOffline && !this.props.network.isOffline) {\n this.setShouldShowLoadingSpinner();\n } else {\n this.debounceSetShouldShowLoadingSpinner();\n }\n\n if (this.state.shouldShowDefaultDeleteMenu || this.state.shouldShowPasswordPrompt) {\n // We should reset selected payment method state values and close corresponding modals if the selected payment method is deleted\n let shouldResetPaymentMethodData = false;\n\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.BANK_ACCOUNT && _.isEmpty(this.props.bankAccountList[this.state.methodID])) {\n shouldResetPaymentMethodData = true;\n } else if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.DEBIT_CARD && _.isEmpty(this.props.cardList[this.state.methodID])) {\n shouldResetPaymentMethodData = true;\n } else if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.PAYPAL && this.props.payPalMeData !== prevProps.payPalMeData && _.isEmpty(this.props.payPalMeData)) {\n shouldResetPaymentMethodData = true;\n }\n if (shouldResetPaymentMethodData) {\n // Close corresponding selected payment method modals which are open\n if (this.state.shouldShowDefaultDeleteMenu) {\n this.hideDefaultDeleteMenu();\n } else if (this.state.shouldShowPasswordPrompt) {\n this.hidePasswordPrompt();\n }\n }\n }\n\n // previously online OR currently offline, skip fetch\n if (!prevProps.network.isOffline || this.props.network.isOffline) {\n return;\n }\n\n this.fetchData();\n }\n\n setShouldShowLoadingSpinner() {\n // In order to prevent a loop, only update state of the spinner if there is a change\n const shouldShowLoadingSpinner = this.props.isLoadingPaymentMethods || false;\n if (shouldShowLoadingSpinner !== this.state.shouldShowLoadingSpinner) {\n this.setState({shouldShowLoadingSpinner: this.props.isLoadingPaymentMethods && !this.props.network.isOffline});\n }\n }\n\n setMenuPosition() {\n if (!this.state.addPaymentMethodButton) {\n return;\n }\n const buttonPosition = getClickedTargetLocation(this.state.addPaymentMethodButton);\n this.setPositionAddPaymentMenu(buttonPosition);\n }\n\n getSelectedPaymentMethodID() {\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.PAYPAL) {\n return CONST.PAYMENT_METHODS.PAYPAL;\n }\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.BANK_ACCOUNT) {\n return this.state.selectedPaymentMethod.bankAccountID;\n }\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n return this.state.selectedPaymentMethod.fundID;\n }\n }\n\n /**\n * Set position of the payment menu\n *\n * @param {Object} position\n */\n setPositionAddPaymentMenu(position) {\n this.setState({\n anchorPositionTop: position.top + position.height,\n anchorPositionBottom: this.props.windowHeight - position.top,\n\n // We want the position to be 13px to the right of the left border\n anchorPositionRight: (this.props.windowWidth - position.right) + 13,\n });\n }\n\n resetSelectedPaymentMethodData() {\n // The below state values are used by payment method modals and we reset them while closing the modals.\n // We should only reset the values when the modal animation is completed and so using InteractionManager.runAfterInteractions which fires after all animaitons are complete\n InteractionManager.runAfterInteractions(() => {\n // Reset to same values as in the constructor\n this.setState({\n isSelectedPaymentMethodDefault: false,\n selectedPaymentMethod: {},\n formattedSelectedPaymentMethod: {\n title: '',\n },\n methodID: null,\n selectedPaymentMethodType: null,\n });\n });\n }\n\n /**\n * Display the delete/default menu, or the add payment method menu\n *\n * @param {Object} nativeEvent\n * @param {String} accountType\n * @param {String} account\n * @param {Boolean} isDefault\n * @param {String|Number} methodID\n */\n paymentMethodPressed(nativeEvent, accountType, account, isDefault, methodID) {\n const position = getClickedTargetLocation(nativeEvent.currentTarget);\n this.setState({\n addPaymentMethodButton: nativeEvent.currentTarget,\n });\n\n // The delete/default menu\n if (accountType) {\n let formattedSelectedPaymentMethod;\n if (accountType === CONST.PAYMENT_METHODS.PAYPAL) {\n formattedSelectedPaymentMethod = {\n title: 'PayPal.me',\n icon: account.icon,\n description: PaymentUtils.getPaymentMethodDescription(accountType, account),\n type: CONST.PAYMENT_METHODS.PAYPAL,\n };\n } else if (accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT) {\n formattedSelectedPaymentMethod = {\n title: account.addressName,\n icon: account.icon,\n description: PaymentUtils.getPaymentMethodDescription(accountType, account),\n type: CONST.PAYMENT_METHODS.BANK_ACCOUNT,\n };\n } else if (accountType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n formattedSelectedPaymentMethod = {\n title: account.addressName,\n icon: account.icon,\n description: PaymentUtils.getPaymentMethodDescription(accountType, account),\n type: CONST.PAYMENT_METHODS.DEBIT_CARD,\n };\n }\n this.setState({\n isSelectedPaymentMethodDefault: isDefault,\n shouldShowDefaultDeleteMenu: true,\n selectedPaymentMethod: account,\n selectedPaymentMethodType: accountType,\n formattedSelectedPaymentMethod,\n methodID,\n });\n this.setPositionAddPaymentMenu(position);\n return;\n }\n this.setState({\n shouldShowAddPaymentMenu: true,\n });\n\n this.setPositionAddPaymentMenu(position);\n }\n\n /**\n * Navigate to the appropriate payment type addition screen\n *\n * @param {String} paymentType\n */\n addPaymentMethodTypePressed(paymentType) {\n this.hideAddPaymentMenu();\n\n if (paymentType === CONST.PAYMENT_METHODS.PAYPAL) {\n Navigation.navigate(ROUTES.SETTINGS_ADD_PAYPAL_ME);\n return;\n }\n\n if (paymentType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n Navigation.navigate(ROUTES.SETTINGS_ADD_DEBIT_CARD);\n return;\n }\n\n if (paymentType === CONST.PAYMENT_METHODS.BANK_ACCOUNT) {\n BankAccounts.openPersonalBankAccountSetupView();\n return;\n }\n\n throw new Error('Invalid payment method type selected');\n }\n\n fetchData() {\n PaymentMethods.openPaymentsPage();\n }\n\n /**\n * Hide the add payment modal\n */\n hideAddPaymentMenu() {\n this.setState({shouldShowAddPaymentMenu: false});\n }\n\n /**\n * Hide the default / delete modal\n * @param {boolean} shouldClearSelectedData - Clear selected payment method data if true\n */\n hideDefaultDeleteMenu(shouldClearSelectedData = true) {\n this.setState({shouldShowDefaultDeleteMenu: false});\n InteractionManager.runAfterInteractions(() => {\n this.setState({\n showConfirmDeleteContent: false,\n });\n if (shouldClearSelectedData) {\n this.resetSelectedPaymentMethodData();\n }\n });\n }\n\n hidePasswordPrompt(shouldClearSelectedData = true) {\n this.setState({shouldShowPasswordPrompt: false});\n if (shouldClearSelectedData) {\n this.resetSelectedPaymentMethodData();\n }\n\n // Due to iOS modal freeze issue, password modal freezes the app when closed.\n // LayoutAnimation undoes the running animation.\n LayoutAnimation.configureNext(LayoutAnimation.create(50, LayoutAnimation.Types.easeInEaseOut, LayoutAnimation.Properties.opacity));\n }\n\n makeDefaultPaymentMethod(password = '') {\n // Find the previous default payment method so we can revert if the MakeDefaultPaymentMethod command errors\n const paymentMethods = PaymentUtils.formatPaymentMethods(\n this.props.bankAccountList,\n this.props.cardList,\n );\n\n const previousPaymentMethod = _.find(paymentMethods, method => method.isDefault);\n const currentPaymentMethod = _.find(paymentMethods, method => method.methodID === this.state.methodID);\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.BANK_ACCOUNT) {\n PaymentMethods.makeDefaultPaymentMethod(password, this.state.selectedPaymentMethod.bankAccountID, null, previousPaymentMethod, currentPaymentMethod);\n } else if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n PaymentMethods.makeDefaultPaymentMethod(password, null, this.state.selectedPaymentMethod.fundID, previousPaymentMethod, currentPaymentMethod);\n }\n this.resetSelectedPaymentMethodData();\n }\n\n deletePaymentMethod() {\n if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.PAYPAL) {\n PaymentMethods.deletePayPalMe();\n } else if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.BANK_ACCOUNT) {\n BankAccounts.deletePaymentBankAccount(this.state.selectedPaymentMethod.bankAccountID);\n } else if (this.state.selectedPaymentMethodType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n PaymentMethods.deletePaymentCard(this.state.selectedPaymentMethod.fundID);\n }\n this.resetSelectedPaymentMethodData();\n }\n\n navigateToTransferBalancePage() {\n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS_TRANSFER_BALANCE);\n }\n\n listHeaderComponent() {\n return (\n <>\n {Permissions.canUseWallet(this.props.betas) && (\n <>\n \n {this.state.shouldShowLoadingSpinner ? (\n \n ) : (\n \n \n \n )}\n \n {this.props.userWallet.currentBalance > 0 && (\n \n {triggerKYCFlow => (\n \n )}\n \n )}\n \n )}\n \n {this.props.translate('paymentsPage.paymentMethodsTitle')}\n \n \n );\n }\n\n render() {\n const isPayPalMeSelected = this.state.formattedSelectedPaymentMethod.type === CONST.PAYMENT_METHODS.PAYPAL;\n const shouldShowMakeDefaultButton = !this.state.isSelectedPaymentMethodDefault\n && Permissions.canUseWallet(this.props.betas)\n && !isPayPalMeSelected\n && !(this.state.formattedSelectedPaymentMethod.type === CONST.PAYMENT_METHODS.BANK_ACCOUNT && this.state.selectedPaymentMethod.type === CONST.BANK_ACCOUNT.TYPE.BUSINESS);\n\n // Determines whether or not the modal popup is mounted from the bottom of the screen instead of the side mount on Web or Desktop screens\n const isPopoverBottomMount = this.state.anchorPositionTop === 0 || this.props.isSmallScreenWidth;\n return (\n \n Navigation.navigate(ROUTES.SETTINGS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n PaymentMethods.clearWalletError()}\n errors={this.props.userWallet.errors}\n errorRowStyles={[styles.ph6]}\n >\n \n \n \n this.addPaymentMethodTypePressed(method)}\n />\n \n {!this.state.showConfirmDeleteContent ? (\n \n {isPopoverBottomMount && (\n \n )}\n {shouldShowMakeDefaultButton && (\n {\n this.setState({\n shouldShowDefaultDeleteMenu: false,\n });\n\n // Wait for the previous modal to close, before opening a new one. A modal will be considered completely closed when closing animation is finished.\n // InteractionManager fires after the currently running animation is completed.\n // https://github.com/Expensify/App/issues/7768#issuecomment-1044879541\n InteractionManager.runAfterInteractions(() => {\n if (Permissions.canUsePasswordlessLogins(this.props.betas)) {\n this.makeDefaultPaymentMethod();\n } else {\n this.setState({\n shouldShowPasswordPrompt: true,\n passwordButtonText: this.props.translate('paymentsPage.setDefaultConfirmation'),\n });\n }\n });\n }}\n text={this.props.translate('paymentsPage.setDefaultConfirmation')}\n />\n )}\n {\n this.setState({\n showConfirmDeleteContent: true,\n });\n }}\n style={[shouldShowMakeDefaultButton && styles.mt4]}\n text={this.props.translate('common.delete')}\n danger\n />\n \n ) : (\n {\n this.hideDefaultDeleteMenu(false);\n this.deletePaymentMethod();\n }}\n onCancel={this.hideDefaultDeleteMenu}\n contentStyles={!this.props.isSmallScreenWidth ? [styles.sidebarPopover] : undefined}\n title={this.props.translate('paymentsPage.deleteAccount')}\n prompt={this.props.translate('paymentsPage.deleteConfirmation')}\n confirmText={this.props.translate('common.delete')}\n cancelText={this.props.translate('common.cancel')}\n anchorPosition={{\n top: this.state.anchorPositionTop,\n right: this.state.anchorPositionRight,\n }}\n shouldShowCancelButton\n danger\n />\n )}\n \n {\n this.hidePasswordPrompt(false);\n this.makeDefaultPaymentMethod(password);\n }}\n submitButtonText={this.state.passwordButtonText}\n />\n \n );\n }\n}\n\nBasePaymentsPage.propTypes = propTypes;\nBasePaymentsPage.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withNetwork(),\n withOnyx({\n betas: {\n key: ONYXKEYS.BETAS,\n },\n walletTransfer: {\n key: ONYXKEYS.WALLET_TRANSFER,\n },\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n bankAccountList: {\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n },\n cardList: {\n key: ONYXKEYS.CARD_LIST,\n },\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n payPalMeData: {\n key: ONYXKEYS.PAYPAL,\n },\n isLoadingPaymentMethods: {\n key: ONYXKEYS.IS_LOADING_PAYMENT_METHODS,\n },\n }),\n)(BasePaymentsPage);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {FlatList} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport styles from '../../../styles/styles';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport MenuItem from '../../../components/MenuItem';\nimport Button from '../../../components/Button';\nimport Text from '../../../components/Text';\nimport compose from '../../../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport CONST from '../../../CONST';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport bankAccountPropTypes from '../../../components/bankAccountPropTypes';\nimport paypalMeDataPropTypes from '../../../components/paypalMeDataPropTypes';\nimport cardPropTypes from '../../../components/cardPropTypes';\nimport * as PaymentUtils from '../../../libs/PaymentUtils';\nimport FormAlertWrapper from '../../../components/FormAlertWrapper';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport * as PaymentMethods from '../../../libs/actions/PaymentMethods';\nimport Log from '../../../libs/Log';\n\nconst propTypes = {\n /** What to do when a menu item is pressed */\n onPress: PropTypes.func.isRequired,\n\n /** Account details for PayPal.Me */\n payPalMeData: paypalMeDataPropTypes,\n\n /** List of bank accounts */\n bankAccountList: PropTypes.objectOf(bankAccountPropTypes),\n\n /** List of cards */\n cardList: PropTypes.objectOf(cardPropTypes),\n\n /** Whether the add Payment button be shown on the list */\n shouldShowAddPaymentMethodButton: PropTypes.bool,\n\n /** Are we loading payment methods? */\n isLoadingPaymentMethods: PropTypes.bool,\n\n /** Type to filter the payment Method list */\n filterType: PropTypes.oneOf([CONST.PAYMENT_METHODS.DEBIT_CARD, CONST.PAYMENT_METHODS.BANK_ACCOUNT, '']),\n\n /** User wallet props */\n userWallet: PropTypes.shape({\n /** The ID of the linked account */\n walletLinkedAccountID: PropTypes.number,\n\n /** The type of the linked account (debitCard or bankAccount) */\n walletLinkedAccountType: PropTypes.string,\n }),\n\n /** Type of active/highlighted payment method */\n actionPaymentMethodType: PropTypes.oneOf([..._.values(CONST.PAYMENT_METHODS), '']),\n\n /** ID of active/highlighted payment method */\n activePaymentMethodID: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /** ID of selected payment method */\n selectedMethodID: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /** Content for the FlatList header component */\n listHeaderComponent: PropTypes.func,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n payPalMeData: {},\n bankAccountList: {},\n cardList: {},\n userWallet: {\n walletLinkedAccountID: 0,\n walletLinkedAccountType: '',\n },\n isLoadingPaymentMethods: true,\n shouldShowAddPaymentMethodButton: true,\n filterType: '',\n actionPaymentMethodType: '',\n activePaymentMethodID: '',\n selectedMethodID: '',\n listHeaderComponent: null,\n};\n\nclass PaymentMethodList extends Component {\n constructor(props) {\n super(props);\n\n this.renderItem = this.renderItem.bind(this);\n }\n\n /**\n * @param {Boolean} isDefault\n * @returns {*}\n */\n getDefaultBadgeText(isDefault = false) {\n if (!isDefault) {\n return null;\n }\n\n const defaultablePaymentMethodCount = _.reduce(this.getFilteredPaymentMethods(), (count, method) => (\n (method.accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT || method.accountType === CONST.PAYMENT_METHODS.DEBIT_CARD)\n ? count + 1\n : count\n ), 0);\n if (defaultablePaymentMethodCount <= 1) {\n return null;\n }\n\n return this.props.translate('paymentMethodList.defaultPaymentMethod');\n }\n\n /**\n * @returns {Array}\n */\n getFilteredPaymentMethods() {\n // Hide any billing cards that are not P2P debit cards for now because you cannot make them your default method, or delete them\n const filteredCardList = _.filter(this.props.cardList, card => card.accountData.additionalData.isP2PDebitCard);\n let combinedPaymentMethods = PaymentUtils.formatPaymentMethods(this.props.bankAccountList, filteredCardList, this.props.payPalMeData);\n\n if (!_.isEmpty(this.props.filterType)) {\n combinedPaymentMethods = _.filter(combinedPaymentMethods, paymentMethod => paymentMethod.accountType === this.props.filterType);\n }\n\n if (!this.props.network.isOffline) {\n combinedPaymentMethods = _.filter(combinedPaymentMethods, paymentMethod => paymentMethod.pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE\n || !_.isEmpty(paymentMethod.errors));\n }\n\n combinedPaymentMethods = _.map(combinedPaymentMethods, paymentMethod => ({\n ...paymentMethod,\n onPress: e => this.props.onPress(e, paymentMethod.accountType, paymentMethod.accountData, paymentMethod.isDefault, paymentMethod.methodID),\n iconFill: this.isPaymentMethodActive(paymentMethod) ? StyleUtils.getIconFillColor(CONST.BUTTON_STATES.PRESSED) : null,\n wrapperStyle: this.isPaymentMethodActive(paymentMethod) ? [StyleUtils.getButtonBackgroundColorStyle(CONST.BUTTON_STATES.PRESSED)] : null,\n disabled: paymentMethod.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE,\n }));\n\n return combinedPaymentMethods;\n }\n\n /**\n * Dismisses the error on the payment method\n * @param {Object} item\n */\n dismissError(item) {\n const paymentList = item.accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT ? ONYXKEYS.BANK_ACCOUNT_LIST : ONYXKEYS.CARD_LIST;\n const paymentID = item.accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT ? lodashGet(item, ['accountData', 'bankAccountID'], '') : lodashGet(item, ['accountData', 'fundID'], '');\n\n if (!paymentID) {\n Log.info('Unable to clear payment method error: ', item);\n return;\n }\n\n if (item.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {\n PaymentMethods.clearDeletePaymentMethodError(paymentList, paymentID);\n } else {\n PaymentMethods.clearAddPaymentMethodError(paymentList, paymentID);\n }\n }\n\n /**\n * @param {Object} paymentMethod\n * @param {String|Number} paymentMethod.methodID\n * @param {String} paymentMethod.accountType\n * @return {Boolean}\n */\n isPaymentMethodActive(paymentMethod) {\n return paymentMethod.accountType === this.props.actionPaymentMethodType && paymentMethod.methodID === this.props.activePaymentMethodID;\n }\n\n /**\n * Create a menuItem for each passed paymentMethod\n *\n * @param {Object} params\n * @param {Object} params.item\n *\n * @return {React.Component}\n */\n renderItem({item}) {\n return (\n this.dismissError(item)}\n pendingAction={item.pendingAction}\n errors={item.errors}\n errorRowStyles={styles.ph6}\n >\n \n \n );\n }\n\n /**\n * Show add first payment copy when payment methods are\n *\n * @return {React.Component}\n */\n renderListEmptyComponent() {\n return (\n \n {this.props.translate('paymentMethodList.addFirstPaymentMethod')}\n \n );\n }\n\n render() {\n return (\n <>\n item.key}\n ListEmptyComponent={this.renderListEmptyComponent()}\n ListHeaderComponent={this.props.listHeaderComponent}\n />\n {\n this.props.shouldShowAddPaymentMethodButton\n && (\n \n {\n isOffline => (\n this.props.onPress(e)}\n isDisabled={this.props.isLoadingPaymentMethods || isOffline}\n style={[styles.mh4, styles.buttonCTA]}\n iconStyles={[styles.buttonCTAIcon]}\n key=\"addPaymentMethodButton\"\n success\n shouldShowRightIcon\n large\n />\n )\n }\n \n )\n }\n \n );\n }\n}\n\nPaymentMethodList.propTypes = propTypes;\nPaymentMethodList.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n bankAccountList: {\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n },\n cardList: {\n key: ONYXKEYS.CARD_LIST,\n },\n isLoadingPaymentMethods: {\n key: ONYXKEYS.IS_LOADING_PAYMENT_METHODS,\n },\n payPalMeData: {\n key: ONYXKEYS.PAYPAL,\n },\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n }),\n)(PaymentMethodList);\n","import React, {forwardRef} from 'react';\nimport BasePasswordPopover from './BasePasswordPopover';\nimport {propTypes, defaultProps} from './passwordPopoverPropTypes';\n\nconst PasswordPopover = forwardRef((props, ref) => (\n \n));\n\nPasswordPopover.propTypes = propTypes;\nPasswordPopover.defaultProps = defaultProps;\nPasswordPopover.displayName = 'PasswordPopover';\n\nexport default PasswordPopover;\n","import {View} from 'react-native';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport Text from '../Text';\nimport Popover from '../Popover';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport compose from '../../libs/compose';\nimport withWindowDimensions from '../withWindowDimensions';\nimport TextInput from '../TextInput';\nimport KeyboardSpacer from '../KeyboardSpacer';\nimport {propTypes as passwordPopoverPropTypes, defaultProps as passwordPopoverDefaultProps} from './passwordPopoverPropTypes';\nimport Button from '../Button';\nimport withViewportOffsetTop from '../withViewportOffsetTop';\n\nconst propTypes = {\n /** Whether we should wait before focusing the TextInput, useful when using transitions on Android */\n shouldDelayFocus: PropTypes.bool,\n\n ...passwordPopoverPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n shouldDelayFocus: false,\n ...passwordPopoverDefaultProps,\n};\n\nclass BasePasswordPopover extends Component {\n constructor(props) {\n super(props);\n\n this.passwordInput = undefined;\n\n this.focusInput = this.focusInput.bind(this);\n\n this.state = {\n password: '',\n };\n }\n\n /**\n * Focus the password input\n */\n focusInput() {\n if (!this.passwordInput) {\n return;\n }\n this.passwordInput.focus();\n }\n\n render() {\n return (\n \n \n \n {this.props.translate('passwordForm.pleaseFillPassword')}\n \n this.passwordInput = el}\n secureTextEntry\n autoCompleteType=\"password\"\n textContentType=\"password\"\n value={this.state.currentPassword}\n onChangeText={password => this.setState({password})}\n returnKeyType=\"done\"\n onSubmitEditing={() => this.props.onSubmit(this.state.password)}\n style={styles.mt3}\n autoFocus\n shouldDelayFocus={this.props.shouldDelayFocus}\n />\n this.props.onSubmit(this.state.password)}\n style={styles.mt3}\n text={this.props.submitButtonText}\n />\n \n \n \n );\n }\n}\n\nBasePasswordPopover.propTypes = propTypes;\nBasePasswordPopover.defaultProps = defaultProps;\nexport default compose(\n withViewportOffsetTop,\n withWindowDimensions,\n withLocalize,\n)(BasePasswordPopover);\n","/**\n * On iOS the keyboard covers the input fields on the bottom of the view. This component moves the view up with the\n * keyboard allowing the user to see what they are typing.\n */\nimport React from 'react';\nimport BaseKeyboardSpacer from './BaseKeyboardSpacer';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport CONST from '../../CONST';\n\nconst KeyboardSpacer = props => (\n \n);\n\nKeyboardSpacer.propTypes = windowDimensionsPropTypes;\nKeyboardSpacer.displayName = 'KeyboardSpacer';\n\nexport default withWindowDimensions(KeyboardSpacer);\n","import React, {PureComponent} from 'react';\nimport {\n Dimensions, Keyboard, View,\n} from 'react-native';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport {propTypes, defaultProps} from './BaseKeyboardSpacerPropTypes';\n\nclass BaseKeyboardSpacer extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n keyboardSpace: 0,\n };\n this.keyboardListeners = null;\n this.updateKeyboardSpace = this.updateKeyboardSpace.bind(this);\n this.resetKeyboardSpace = this.resetKeyboardSpace.bind(this);\n }\n\n componentDidMount() {\n const updateListener = this.props.keyboardShowMethod;\n const resetListener = this.props.keyboardHideMethod;\n this.keyboardListeners = [\n Keyboard.addListener(updateListener, this.updateKeyboardSpace),\n Keyboard.addListener(resetListener, this.resetKeyboardSpace),\n ];\n }\n\n componentWillUnmount() {\n this.keyboardListeners.forEach(listener => listener.remove());\n }\n\n /**\n * Update the height of Keyboard View.\n *\n * @param {Object} [event] - A Keyboard Event.\n */\n updateKeyboardSpace(event) {\n if (!event.endCoordinates) {\n return;\n }\n\n const screenHeight = Dimensions.get('window').height;\n const keyboardSpace = (screenHeight - event.endCoordinates.screenY) + this.props.topSpacing;\n this.setState({\n keyboardSpace,\n }, this.props.onToggle(true, keyboardSpace));\n }\n\n /**\n * Reset the height of Keyboard View.\n *\n * @param {Object} [event] - A Keyboard Event.\n */\n resetKeyboardSpace() {\n this.setState({\n keyboardSpace: 0,\n }, this.props.onToggle(false, 0));\n }\n\n render() {\n return (\n \n );\n }\n}\n\nBaseKeyboardSpacer.defaultProps = defaultProps;\nBaseKeyboardSpacer.propTypes = propTypes;\n\nexport default BaseKeyboardSpacer;\n","import PropTypes from 'prop-types';\n\nconst propTypes = {\n /** Top Spacing is used when there is a requirement of additional height to view. */\n topSpacing: PropTypes.number,\n\n /** Callback to update the value of keyboard status along with keyboard height + top spacing. */\n onToggle: PropTypes.func,\n\n /** Platform specific keyboard event to show keyboard https://reactnative.dev/docs/keyboard#addlistener */\n /** Pass keyboardShow event name as a param, since iOS and android both have different event names show keyboard. */\n keyboardShowMethod: PropTypes.string.isRequired,\n\n /** Platform specific keyboard event to hide keyboard https://reactnative.dev/docs/keyboard#addlistener */\n /** Pass keyboardHide event name as a param, since iOS and android both have different event names show keyboard. */\n keyboardHideMethod: PropTypes.string.isRequired,\n};\n\nconst defaultProps = {\n topSpacing: 0,\n onToggle: () => null,\n};\n\nexport {propTypes, defaultProps};\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport getComponentDisplayName from '../libs/getComponentDisplayName';\nimport addViewportResizeListener from '../libs/VisualViewport';\n\nconst viewportOffsetTopPropTypes = {\n // viewportOffsetTop returns the offset of the top edge of the visual viewport from the\n // top edge of the layout viewport in CSS pixels, when the visual viewport is resized.\n\n viewportOffsetTop: PropTypes.number.isRequired,\n};\n\nexport default function (WrappedComponent) {\n class WithViewportOffsetTop extends Component {\n constructor(props) {\n super(props);\n\n this.updateDimensions = this.updateDimensions.bind(this);\n\n this.state = {\n viewportOffsetTop: 0,\n };\n }\n\n componentDidMount() {\n this.removeViewportResizeListener = addViewportResizeListener(this.updateDimensions);\n }\n\n componentWillUnmount() {\n this.removeViewportResizeListener();\n }\n\n /**\n * @param {SyntheticEvent} e\n */\n updateDimensions(e) {\n const viewportOffsetTop = lodashGet(e, 'target.offsetTop', 0);\n this.setState({viewportOffsetTop});\n }\n\n render() {\n return (\n \n );\n }\n }\n\n WithViewportOffsetTop.displayName = `WithViewportOffsetTop(${getComponentDisplayName(WrappedComponent)})`;\n WithViewportOffsetTop.propTypes = {\n forwardedRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({current: PropTypes.instanceOf(React.Component)}),\n ]),\n };\n WithViewportOffsetTop.defaultProps = {\n forwardedRef: undefined,\n };\n return React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ));\n}\n\nexport {\n viewportOffsetTopPropTypes,\n};\n","\n/**\n * Visual Viewport is not available on native, so return an empty function.\n *\n * @returns {Function}\n */\nfunction addViewportResizeListener() {\n return () => {};\n}\n\nexport default addViewportResizeListener;\n","import PropTypes from 'prop-types';\n\nconst propTypes = {\n /** Is the popover currently showing? */\n isVisible: PropTypes.bool.isRequired,\n\n /** Function that gets called when the user closes the modal */\n onClose: PropTypes.func.isRequired,\n\n /** Where the popover should be placed */\n anchorPosition: PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n }).isRequired,\n\n /** Function that gets called when the user clicks the delete / make default button */\n onSubmit: PropTypes.func,\n\n /** The text that should be displayed in the submit button */\n submitButtonText: PropTypes.string,\n};\n\nconst defaultProps = {\n onSubmit: () => {},\n submitButtonText: '',\n};\n\nexport {propTypes, defaultProps};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport styles from '../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport compose from '../libs/compose';\nimport ONYXKEYS from '../ONYXKEYS';\nimport Text from './Text';\n\nconst propTypes = {\n /** The user's wallet account */\n userWallet: PropTypes.shape({\n /** The user's current wallet balance */\n currentBalance: PropTypes.number,\n }),\n\n /** Styles of the amount */\n // eslint-disable-next-line react/forbid-prop-types\n balanceStyles: PropTypes.arrayOf(PropTypes.object),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n userWallet: {\n\n // Default to zero if userWallet and currentBalance is not set yet to avoid NaN\n currentBalance: 0,\n },\n balanceStyles: [],\n};\n\nconst CurrentWalletBalance = (props) => {\n const formattedBalance = props.numberFormat(\n props.userWallet.currentBalance / 100, // Divide by 100 because balance is in cents\n {style: 'currency', currency: 'USD'},\n );\n return (\n \n {`${formattedBalance}`}\n \n );\n};\n\nCurrentWalletBalance.propTypes = propTypes;\nCurrentWalletBalance.defaultProps = defaultProps;\nCurrentWalletBalance.displayName = 'CurrentWalletBalance';\nexport default compose(\n withLocalize,\n withOnyx({\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n }),\n)(CurrentWalletBalance);\n","import PropTypes from 'prop-types';\nimport walletTransferPropTypes from '../walletTransferPropTypes';\nimport {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport {windowDimensionsPropTypes} from '../../../../components/withWindowDimensions';\nimport networkPropTypes from '../../../../components/networkPropTypes';\nimport bankAccountPropTypes from '../../../../components/bankAccountPropTypes';\nimport cardPropTypes from '../../../../components/cardPropTypes';\nimport userWalletPropTypes from '../../../EnablePayments/userWalletPropTypes';\nimport walletTermsPropTypes from '../../../EnablePayments/walletTermsPropTypes';\nimport paypalMeDataPropTypes from '../../../../components/paypalMeDataPropTypes';\n\nconst propTypes = {\n /** Wallet balance transfer props */\n walletTransfer: walletTransferPropTypes,\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** Are we loading payment methods? */\n isLoadingPaymentMethods: PropTypes.bool,\n\n /** Listen for window resize event on web and desktop. */\n shouldListenForResize: PropTypes.bool,\n\n /** The user's wallet account */\n userWallet: userWalletPropTypes,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** List of bank accounts */\n bankAccountList: PropTypes.objectOf(bankAccountPropTypes),\n\n /** List of cards */\n cardList: PropTypes.objectOf(cardPropTypes),\n\n /** Information about the user accepting the terms for payments */\n walletTerms: walletTermsPropTypes,\n\n /** Account details for PayPal.Me */\n payPalMeData: paypalMeDataPropTypes,\n\n ...withLocalizePropTypes,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n walletTransfer: {\n shouldShowSuccess: false,\n },\n betas: [],\n isLoadingPaymentMethods: true,\n shouldListenForResize: false,\n userWallet: {},\n bankAccountList: {},\n cardList: {},\n walletTerms: {},\n payPalMeData: {},\n};\n\nexport {propTypes, defaultProps};\n","import PropTypes from 'prop-types';\nimport CONST from '../../../CONST';\n\n/** Wallet balance transfer props */\nconst walletTransferPropTypes = PropTypes.shape({\n /** Selected accountID for transfer */\n selectedAccountID: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n\n /** Type to filter the payment Method list */\n filterPaymentMethodType: PropTypes.oneOf([CONST.PAYMENT_METHODS.DEBIT_CARD, CONST.PAYMENT_METHODS.BANK_ACCOUNT, '']),\n\n /** Whether the success screen is shown to user. */\n shouldShowSuccess: PropTypes.bool,\n});\n\nexport default walletTransferPropTypes;\n","import _ from 'underscore';\nimport React from 'react';\nimport {View, ScrollView} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport compose from '../../../libs/compose';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport MenuItem from '../../../components/MenuItem';\nimport CONST from '../../../CONST';\nimport variables from '../../../styles/variables';\nimport Text from '../../../components/Text';\nimport CurrentWalletBalance from '../../../components/CurrentWalletBalance';\nimport walletTransferPropTypes from './walletTransferPropTypes';\nimport * as PaymentMethods from '../../../libs/actions/PaymentMethods';\nimport * as PaymentUtils from '../../../libs/PaymentUtils';\nimport cardPropTypes from '../../../components/cardPropTypes';\nimport userWalletPropTypes from '../../EnablePayments/userWalletPropTypes';\nimport ROUTES from '../../../ROUTES';\nimport FormAlertWithSubmitButton from '../../../components/FormAlertWithSubmitButton';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport ConfirmationPage from '../../../components/ConfirmationPage';\n\nconst propTypes = {\n /** User's wallet information */\n userWallet: userWalletPropTypes,\n\n /** List of bank accounts */\n bankAccountList: PropTypes.objectOf(PropTypes.shape({\n /** The name of the institution (bank of america, etc) */\n addressName: PropTypes.string,\n\n /** The masked bank account number */\n accountNumber: PropTypes.string,\n\n /** The bankAccountID in the bankAccounts db */\n bankAccountID: PropTypes.number,\n\n /** The bank account type */\n type: PropTypes.string,\n })),\n\n /** List of card objects */\n cardList: PropTypes.objectOf(cardPropTypes),\n\n /** Wallet balance transfer props */\n walletTransfer: walletTransferPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n bankAccountList: {},\n cardList: {},\n userWallet: {},\n walletTransfer: {},\n};\n\nclass TransferBalancePage extends React.Component {\n constructor(props) {\n super(props);\n\n this.paymentTypes = [\n {\n key: CONST.WALLET.TRANSFER_METHOD_TYPE.INSTANT,\n title: this.props.translate('transferAmountPage.instant'),\n description: this.props.translate('transferAmountPage.instantSummary', {\n rate: this.props.numberFormat(CONST.WALLET.TRANSFER_METHOD_TYPE_FEE.INSTANT.RATE),\n minAmount: this.props.numberFormat(\n CONST.WALLET.TRANSFER_METHOD_TYPE_FEE.INSTANT.MINIMUM_FEE / 100,\n {style: 'currency', currency: 'USD'},\n ),\n }),\n icon: Expensicons.Bolt,\n type: CONST.PAYMENT_METHODS.DEBIT_CARD,\n },\n {\n key: CONST.WALLET.TRANSFER_METHOD_TYPE.ACH,\n title: this.props.translate('transferAmountPage.ach'),\n description: this.props.translate('transferAmountPage.achSummary'),\n icon: Expensicons.Bank,\n type: CONST.PAYMENT_METHODS.BANK_ACCOUNT,\n },\n ];\n\n PaymentMethods.resetWalletTransferData();\n const selectedAccount = this.getSelectedPaymentMethodAccount();\n\n // Select the default payment account when page is opened,\n // so that user can see that preselected on choose transfer account page\n if (!selectedAccount || !selectedAccount.isDefault) {\n return;\n }\n\n PaymentMethods.saveWalletTransferAccountTypeAndID(\n selectedAccount.accountType,\n selectedAccount.methodID,\n );\n }\n\n /**\n * Get the selected/default payment method account for wallet transfer\n * @returns {Object|undefined}\n */\n getSelectedPaymentMethodAccount() {\n const paymentMethods = PaymentUtils.formatPaymentMethods(\n this.props.bankAccountList,\n this.props.cardList,\n );\n\n const defaultAccount = _.find(paymentMethods, method => method.isDefault);\n const selectedAccount = _.find(\n paymentMethods,\n method => method.accountType === this.props.walletTransfer.selectedAccountType\n && method.methodID === this.props.walletTransfer.selectedAccountID,\n );\n return selectedAccount || defaultAccount;\n }\n\n /**\n * @param {String} filterPaymentMethodType\n */\n navigateToChooseTransferAccount(filterPaymentMethodType) {\n PaymentMethods.saveWalletTransferMethodType(filterPaymentMethodType);\n\n // If we only have a single option for the given paymentMethodType do not force the user to make a selection\n const combinedPaymentMethods = PaymentUtils.formatPaymentMethods(\n this.props.bankAccountList,\n this.props.cardList,\n );\n\n const filteredMethods = _.filter(combinedPaymentMethods, paymentMethod => paymentMethod.accountType === filterPaymentMethodType);\n if (filteredMethods.length === 1) {\n const account = _.first(filteredMethods);\n PaymentMethods.saveWalletTransferAccountTypeAndID(\n filterPaymentMethodType,\n account.methodID,\n );\n return;\n }\n\n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS_CHOOSE_TRANSFER_ACCOUNT);\n }\n\n render() {\n if (this.props.walletTransfer.shouldShowSuccess && !this.props.walletTransfer.loading) {\n return (\n \n \n \n \n );\n }\n const selectedAccount = this.getSelectedPaymentMethodAccount();\n const selectedPaymentType = selectedAccount && selectedAccount.accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT\n ? CONST.WALLET.TRANSFER_METHOD_TYPE.ACH\n : CONST.WALLET.TRANSFER_METHOD_TYPE.INSTANT;\n\n const calculatedFee = PaymentUtils.calculateWalletTransferBalanceFee(this.props.userWallet.currentBalance, selectedPaymentType);\n const transferAmount = this.props.userWallet.currentBalance - calculatedFee;\n const isTransferable = transferAmount > 0;\n const isButtonDisabled = !isTransferable || !selectedAccount;\n const errorMessage = !_.isEmpty(this.props.walletTransfer.errors) ? _.chain(this.props.walletTransfer.errors).values().first().value() : '';\n\n return (\n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n \n \n {_.map(this.paymentTypes, paymentType => (\n this.navigateToChooseTransferAccount(paymentType.type)}\n />\n ))}\n \n \n {this.props.translate('transferAmountPage.whichAccount')}\n \n {Boolean(selectedAccount)\n && (\n this.navigateToChooseTransferAccount(selectedAccount.accountType)}\n />\n )}\n \n \n {this.props.translate('transferAmountPage.fee')}\n \n \n {this.props.numberFormat(\n calculatedFee / 100,\n {style: 'currency', currency: 'USD'},\n )}\n \n \n \n \n PaymentMethods.transferWalletBalance(selectedAccount)}\n isDisabled={isButtonDisabled || this.props.network.isOffline}\n message={errorMessage}\n isAlertVisible={!_.isEmpty(errorMessage)}\n />\n \n \n );\n }\n}\n\nTransferBalancePage.propTypes = propTypes;\nTransferBalancePage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n walletTransfer: {\n key: ONYXKEYS.WALLET_TRANSFER,\n },\n bankAccountList: {\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n },\n cardList: {\n key: ONYXKEYS.CARD_LIST,\n },\n }),\n)(TransferBalancePage);\n","import React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport {View} from 'react-native';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport CONST from '../../../CONST';\nimport PaymentMethodList from './PaymentMethodList';\nimport * as PaymentMethods from '../../../libs/actions/PaymentMethods';\nimport ROUTES from '../../../ROUTES';\nimport MenuItem from '../../../components/MenuItem';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport compose from '../../../libs/compose';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport walletTransferPropTypes from './walletTransferPropTypes';\nimport styles from '../../../styles/styles';\nimport * as BankAccounts from '../../../libs/actions/BankAccounts';\n\nconst propTypes = {\n /** Wallet transfer propTypes */\n walletTransfer: walletTransferPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n walletTransfer: {},\n};\n\nconst ChooseTransferAccountPage = (props) => {\n /**\n * Go back to transfer balance screen with the selected bank account set\n * @param {Object} event Click event object\n * @param {String} accountType of the selected account type\n * @param {Object} account of the selected account data\n */\n const selectAccountAndNavigateBack = (event, accountType, account) => {\n PaymentMethods.saveWalletTransferAccountTypeAndID(\n accountType,\n accountType === CONST.PAYMENT_METHODS.BANK_ACCOUNT\n ? account.bankAccountID\n : account.fundID,\n );\n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS_TRANSFER_BALANCE);\n };\n\n /**\n * @param {String} paymentType\n */\n const navigateToAddPaymentMethodPage = () => {\n if (props.walletTransfer.filterPaymentMethodType === CONST.PAYMENT_METHODS.DEBIT_CARD) {\n Navigation.navigate(ROUTES.SETTINGS_ADD_DEBIT_CARD);\n return;\n }\n BankAccounts.openPersonalBankAccountSetupView();\n };\n\n return (\n \n Navigation.goBack()}\n onCloseButtonPress={() => Navigation.dismissModal()}\n />\n \n \n \n \n \n );\n};\n\nChooseTransferAccountPage.propTypes = propTypes;\nChooseTransferAccountPage.defaultProps = defaultProps;\nChooseTransferAccountPage.displayName = 'ChooseTransferAccountPage';\n\nexport default compose(\n withLocalize,\n withOnyx({\n walletTransfer: {\n key: ONYXKEYS.WALLET_TRANSFER,\n },\n }),\n)(ChooseTransferAccountPage);\n","import React from 'react';\nimport {\n View, TouchableWithoutFeedback, Linking,\n} from 'react-native';\nimport _ from 'underscore';\nimport CONST from '../../../CONST';\nimport ROUTES from '../../../ROUTES';\nimport HeaderWithCloseButton from '../../../components/HeaderWithCloseButton';\nimport TextLink from '../../../components/TextLink';\nimport Text from '../../../components/Text';\nimport ScreenWrapper from '../../../components/ScreenWrapper';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Button from '../../../components/Button';\nimport FixedFooter from '../../../components/FixedFooter';\nimport Growl from '../../../libs/Growl';\nimport TextInput from '../../../components/TextInput';\nimport * as ValidationUtils from '../../../libs/ValidationUtils';\nimport * as User from '../../../libs/actions/User';\nimport Icon from '../../../components/Icon';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport variables from '../../../styles/variables';\n\nclass AddPayPalMePage extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n payPalMeUsername: '',\n payPalMeUsernameError: false,\n };\n this.setPayPalMeUsername = this.setPayPalMeUsername.bind(this);\n this.focusPayPalMeInput = this.focusPayPalMeInput.bind(this);\n }\n\n /**\n * Sets the payPalMeUsername for the current user\n */\n setPayPalMeUsername() {\n const isValid = ValidationUtils.isValidPaypalUsername(this.state.payPalMeUsername);\n if (!isValid) {\n this.setState({payPalMeUsernameError: true});\n return;\n }\n this.setState({payPalMeUsernameError: false});\n User.addPaypalMeAddress(this.state.payPalMeUsername);\n\n Growl.show(this.props.translate('addPayPalMePage.growlMessageOnSave'), CONST.GROWL.SUCCESS, 3000);\n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS);\n }\n\n focusPayPalMeInput() {\n if (!this.payPalMeInputRef) {\n return;\n }\n\n this.payPalMeInputRef.focus();\n }\n\n render() {\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_PAYMENTS)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n \n \n \n {this.props.translate('addPayPalMePage.enterYourUsernameToGetPaidViaPayPal')}\n \n this.payPalMeInputRef = el}\n label={this.props.translate('addPayPalMePage.payPalMe')}\n autoCompleteType=\"off\"\n autoCorrect={false}\n value={this.state.payPalMeUsername}\n placeholder={this.props.translate('addPayPalMePage.yourPayPalUsername')}\n onChangeText={text => this.setState({payPalMeUsername: text, payPalMeUsernameError: false})}\n returnKeyType=\"done\"\n hasError={this.state.payPalMeUsernameError}\n errorText={this.state.payPalMeUsernameError ? this.props.translate('addPayPalMePage.formatError') : ''}\n />\n \n \n {this.props.translate('addPayPalMePage.checkListOf')}\n \n Linking.openURL('https://developer.paypal.com/docs/reports/reference/paypal-supported-currencies')}\n >\n \n \n {this.props.translate('addPayPalMePage.supportedCurrencies')}\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n }\n}\n\nAddPayPalMePage.propTypes = {...withLocalizePropTypes};\n\nexport default withLocalize(AddPayPalMePage);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React, {useCallback, useState} from 'react';\nimport {View, ScrollView, Pressable} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport styles from '../../styles/styles';\nimport Tooltip from '../../components/Tooltip';\nimport Text from '../../components/Text';\nimport ConfirmModal from '../../components/ConfirmModal';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport MenuItem from '../../components/MenuItem';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport compose from '../../libs/compose';\nimport Avatar from '../../components/Avatar';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport withPolicy, {policyPropTypes, policyDefaultProps} from './withPolicy';\nimport reportPropTypes from '../reportPropTypes';\nimport * as Policy from '../../libs/actions/Policy';\nimport * as PolicyUtils from '../../libs/PolicyUtils';\nimport CONST from '../../CONST';\nimport * as ReimbursementAccount from '../../libs/actions/ReimbursementAccount';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport * as ReportUtils from '../../libs/ReportUtils';\n\nconst propTypes = {\n ...policyPropTypes,\n ...withLocalizePropTypes,\n\n /** All reports shared with the user (coming from Onyx) */\n reports: PropTypes.objectOf(reportPropTypes),\n\n};\n\nconst defaultProps = {\n reports: {},\n ...policyDefaultProps,\n};\n\n/**\n * @param {string} policyID\n */\nfunction openEditor(policyID) {\n Navigation.navigate(ROUTES.getWorkspaceSettingsRoute(policyID));\n}\n\n/**\n * @param {string} policyID\n */\nfunction dismissError(policyID) {\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES);\n Policy.removeWorkspace(policyID);\n}\n\nconst WorkspaceInitialPage = (props) => {\n const policy = props.policy;\n const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);\n const hasPolicyCreationError = Boolean(policy.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD && policy.errors);\n\n /**\n * Call the delete policy and hide the modal\n */\n const confirmDeleteAndHideModal = useCallback(() => {\n const policyReports = _.filter(props.reports, report => report && report.policyID === policy.id);\n Policy.deleteWorkspace(policy.id, policyReports, policy.name);\n setIsDeleteModalOpen(false);\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES);\n }, [props.reports, policy]);\n\n const policyName = lodashGet(policy, 'name', '');\n const hasMembersError = PolicyUtils.hasPolicyMemberError(props.policyMemberList);\n const hasGeneralSettingsError = !_.isEmpty(lodashGet(policy, 'errorFields.generalSettings', {}))\n || !_.isEmpty(lodashGet(policy, 'errorFields.avatar', {}));\n const hasCustomUnitsError = PolicyUtils.hasCustomUnitsError(policy);\n const menuItems = [\n {\n translationKey: 'workspace.common.settings',\n icon: Expensicons.Gear,\n action: () => Navigation.navigate(ROUTES.getWorkspaceSettingsRoute(policy.id)),\n brickRoadIndicator: hasGeneralSettingsError ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '',\n },\n {\n translationKey: 'workspace.common.card',\n icon: Expensicons.ExpensifyCard,\n action: () => Navigation.navigate(ROUTES.getWorkspaceCardRoute(policy.id)),\n },\n {\n translationKey: 'workspace.common.reimburse',\n icon: Expensicons.Receipt,\n action: () => Navigation.navigate(ROUTES.getWorkspaceReimburseRoute(policy.id)),\n error: hasCustomUnitsError,\n },\n {\n translationKey: 'workspace.common.bills',\n icon: Expensicons.Bill,\n action: () => Navigation.navigate(ROUTES.getWorkspaceBillsRoute(policy.id)),\n },\n {\n translationKey: 'workspace.common.invoices',\n icon: Expensicons.Invoice,\n action: () => Navigation.navigate(ROUTES.getWorkspaceInvoicesRoute(policy.id)),\n },\n {\n translationKey: 'workspace.common.travel',\n icon: Expensicons.Luggage,\n action: () => Navigation.navigate(ROUTES.getWorkspaceTravelRoute(policy.id)),\n },\n {\n translationKey: 'workspace.common.members',\n icon: Expensicons.Users,\n action: () => Navigation.navigate(ROUTES.getWorkspaceMembersRoute(policy.id)),\n brickRoadIndicator: hasMembersError ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '',\n },\n {\n translationKey: 'workspace.common.bankAccount',\n icon: Expensicons.Bank,\n action: () => ReimbursementAccount.navigateToBankAccountRoute(policy.id),\n },\n ];\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES)}\n >\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES)}\n onCloseButtonPress={() => Navigation.dismissModal()}\n shouldShowThreeDotsButton\n shouldShowGetAssistanceButton\n guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_INITIAL}\n threeDotsMenuItems={[\n {\n icon: Expensicons.Trashcan,\n text: props.translate('workspace.common.delete'),\n onSelected: () => setIsDeleteModalOpen(true),\n },\n ]}\n threeDotsAnchorPosition={styles.threeDotsPopoverOffset}\n />\n \n dismissError(policy.id)}\n errors={policy.errors}\n errorRowStyles={[styles.ph6, styles.pv2]}\n >\n \n \n \n openEditor(policy.id)}\n >\n \n \n \n \n {!_.isEmpty(policy.name) && (\n openEditor(policy.id)}\n >\n \n \n {policy.name}\n \n \n \n )}\n \n \n {_.map(menuItems, item => (\n item.action()}\n shouldShowRightIcon\n brickRoadIndicator={item.brickRoadIndicator}\n />\n ))}\n \n \n \n setIsDeleteModalOpen(false)}\n prompt={props.translate('workspace.common.deleteConfirmation')}\n confirmText={props.translate('common.delete')}\n cancelText={props.translate('common.cancel')}\n danger\n />\n \n )}\n \n );\n};\n\nWorkspaceInitialPage.propTypes = propTypes;\nWorkspaceInitialPage.defaultProps = defaultProps;\nWorkspaceInitialPage.displayName = 'WorkspaceInitialPage';\n\nexport default compose(\n withLocalize,\n withPolicy,\n withOnyx({\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n }),\n)(WorkspaceInitialPage);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport {useNavigationState} from '@react-navigation/native';\nimport CONST from '../../CONST';\nimport getComponentDisplayName from '../../libs/getComponentDisplayName';\nimport * as Policy from '../../libs/actions/Policy';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport policyMemberPropType from '../policyMemberPropType';\n\n/**\n * @param {Object} route\n * @returns {String}\n */\nfunction getPolicyIDFromRoute(route) {\n return lodashGet(route, 'params.policyID', '');\n}\n\nconst policyPropTypes = {\n /** The policy object for the current route */\n policy: PropTypes.shape({\n /** The ID of the policy */\n id: PropTypes.string,\n\n /** The name of the policy */\n name: PropTypes.string,\n\n /** The current user's role in the policy */\n role: PropTypes.oneOf(_.values(CONST.POLICY.ROLE)),\n\n /** The policy type */\n type: PropTypes.oneOf(_.values(CONST.POLICY.TYPE)),\n\n /** The email of the policy owner */\n owner: PropTypes.string,\n\n /** The output currency for the policy */\n outputCurrency: PropTypes.string,\n\n /** The URL for the policy avatar */\n avatar: PropTypes.string,\n\n /** Errors on the policy keyed by microtime */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /**\n * Error objects keyed by field name containing errors keyed by microtime\n * E.x\n * {\n * name: {\n * [DateUtils.getMicroseconds()]: 'Sorry, there was an unexpected problem updating your workspace name.',\n * }\n * }\n */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n\n /** The employee list of this policy */\n policyMemberList: PropTypes.objectOf(policyMemberPropType),\n};\n\nconst policyDefaultProps = {\n policy: {},\n policyMemberList: {},\n};\n\n/*\n * HOC for connecting a policy in Onyx corresponding to the policyID in route params\n */\nexport default function (WrappedComponent) {\n const propTypes = {\n /** The HOC takes an optional ref as a prop and passes it as a ref to the wrapped component.\n * That way, if a ref is passed to a component wrapped in the HOC, the ref is a reference to the wrapped component, not the HOC. */\n forwardedRef: PropTypes.func,\n\n ...policyPropTypes,\n };\n\n const defaultProps = {\n forwardedRef: () => {},\n\n ...policyDefaultProps,\n };\n\n const WithPolicy = (props) => {\n const currentRoute = _.last(useNavigationState(state => state.routes || []));\n const policyID = getPolicyIDFromRoute(currentRoute);\n\n if (_.isString(policyID) && !_.isEmpty(policyID)) {\n Policy.updateLastAccessedWorkspace(policyID);\n }\n\n const rest = _.omit(props, ['forwardedRef']);\n return (\n \n );\n };\n\n WithPolicy.propTypes = propTypes;\n WithPolicy.defaultProps = defaultProps;\n WithPolicy.displayName = `withPolicy(${getComponentDisplayName(WrappedComponent)})`;\n const withPolicy = React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ));\n\n return withOnyx({\n policy: {\n key: props => `${ONYXKEYS.COLLECTION.POLICY}${getPolicyIDFromRoute(props.route)}`,\n },\n policyMemberList: {\n key: props => `${ONYXKEYS.COLLECTION.POLICY_MEMBER_LIST}${getPolicyIDFromRoute(props.route)}`,\n },\n })(withPolicy);\n}\n\nexport {\n policyPropTypes,\n policyDefaultProps,\n};\n","import React from 'react';\nimport {Keyboard, View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport styles from '../../styles/styles';\nimport compose from '../../libs/compose';\nimport * as Policy from '../../libs/actions/Policy';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport AvatarWithImagePicker from '../../components/AvatarWithImagePicker';\nimport CONST from '../../CONST';\nimport Picker from '../../components/Picker';\nimport TextInput from '../../components/TextInput';\nimport WorkspacePageWithSections from './WorkspacePageWithSections';\nimport withPolicy, {policyPropTypes, policyDefaultProps} from './withPolicy';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport Form from '../../components/Form';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport Avatar from '../../components/Avatar';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\n\nconst propTypes = {\n // The currency list constant object from Onyx\n currencyList: PropTypes.objectOf(PropTypes.shape({\n // Symbol for the currency\n symbol: PropTypes.string,\n })),\n ...policyPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n currencyList: {},\n ...policyDefaultProps,\n};\n\nclass WorkspaceSettingsPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.getCurrencyItems = this.getCurrencyItems.bind(this);\n this.submit = this.submit.bind(this);\n this.validate = this.validate.bind(this);\n }\n\n /**\n * @returns {Object[]}\n */\n getCurrencyItems() {\n const currencyListKeys = _.keys(this.props.currencyList);\n return _.map(currencyListKeys, currencyCode => ({\n value: currencyCode,\n label: `${currencyCode} - ${this.props.currencyList[currencyCode].symbol}`,\n }));\n }\n\n submit(values) {\n if (this.props.policy.isPolicyUpdating) {\n return;\n }\n const outputCurrency = values.currency;\n Policy.updateGeneralSettings(this.props.policy.id, values.name, outputCurrency);\n Keyboard.dismiss();\n Navigation.navigate(ROUTES.getWorkspaceInitialRoute(this.props.policy.id));\n }\n\n validate(values) {\n const errors = {};\n const name = values.name.trim();\n\n if (!name || !name.length) {\n errors.name = this.props.translate('workspace.editor.nameIsRequiredError');\n }\n\n return errors;\n }\n\n render() {\n const policyName = lodashGet(this.props.policy, 'name', '');\n return (\n \n {hasVBA => (\n \n Policy.clearAvatarErrors(this.props.policy.id)}\n >\n (\n \n )}\n type={CONST.ICON_TYPE_WORKSPACE}\n fallbackIcon={Expensicons.FallbackWorkspaceAvatar}\n style={[styles.mb3]}\n anchorPosition={{top: 172, right: 18}}\n isUsingDefaultAvatar={!lodashGet(this.props.policy, 'avatar', null)}\n onImageSelected={file => Policy.updateWorkspaceAvatar(lodashGet(this.props.policy, 'id', ''), file)}\n onImageRemoved={() => Policy.deleteWorkspaceAvatar(lodashGet(this.props.policy, 'id', ''))}\n editorMaskImage={Expensicons.ImageCropSquareMask}\n />\n \n \n \n \n \n \n \n \n )}\n \n );\n }\n}\n\nWorkspaceSettingsPage.propTypes = propTypes;\nWorkspaceSettingsPage.defaultProps = defaultProps;\n\nexport default compose(\n withPolicy,\n withOnyx({\n currencyList: {key: ONYXKEYS.CURRENCY_LIST},\n }),\n withLocalize,\n withNetwork(),\n)(WorkspaceSettingsPage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport styles from '../../styles/styles';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport compose from '../../libs/compose';\nimport ROUTES from '../../ROUTES';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport BankAccount from '../../libs/models/BankAccount';\nimport * as ReimbursementAccountProps from '../ReimbursementAccount/reimbursementAccountPropTypes';\nimport userPropTypes from '../settings/userPropTypes';\nimport withPolicy from './withPolicy';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport ScrollViewWithContext from '../../components/ScrollViewWithContext';\n\nconst propTypes = {\n shouldSkipVBBACall: PropTypes.bool,\n\n /** Information about the network from Onyx */\n network: networkPropTypes.isRequired,\n\n /** The text to display in the header */\n headerText: PropTypes.string.isRequired,\n\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n /** From Onyx */\n /** Bank account attached to free plan */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes,\n\n /** User Data from Onyx */\n user: userPropTypes,\n\n /** Main content of the page */\n children: PropTypes.func,\n\n /** Content to be added as fixed footer */\n footer: PropTypes.element,\n\n /** The guides call task ID to associate with the workspace page being shown */\n guidesCallTaskID: PropTypes.string,\n\n /** Policy values needed in the component */\n policy: PropTypes.shape({\n name: PropTypes.string,\n }).isRequired,\n\n /** Option to use the default scroll view */\n shouldUseScrollView: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n children: () => {},\n user: {},\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountDefaultProps,\n footer: null,\n guidesCallTaskID: '',\n shouldUseScrollView: false,\n shouldSkipVBBACall: false,\n};\n\nclass WorkspacePageWithSections extends React.Component {\n componentDidMount() {\n this.fetchData();\n }\n\n componentDidUpdate(prevProps) {\n if (!prevProps.network.isOffline || this.props.network.isOffline) {\n return;\n }\n\n this.fetchData();\n }\n\n fetchData() {\n if (this.props.shouldSkipVBBACall) {\n return;\n }\n\n BankAccounts.openWorkspaceView();\n }\n\n render() {\n const achState = lodashGet(this.props.reimbursementAccount, 'achData.state', '');\n const hasVBA = achState === BankAccount.STATE.OPEN;\n const isUsingECard = lodashGet(this.props.user, 'isUsingExpensifyCard', false);\n const policyID = lodashGet(this.props.route, 'params.policyID');\n const policyName = lodashGet(this.props.policy, 'name');\n\n return (\n \n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES)}\n >\n Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policyID))}\n onCloseButtonPress={() => Navigation.dismissModal()}\n />\n {this.props.shouldUseScrollView\n ? (\n \n \n\n {this.props.children(hasVBA, policyID, isUsingECard)}\n\n \n \n )\n : this.props.children(hasVBA, policyID, isUsingECard)}\n {this.props.footer}\n \n \n );\n }\n}\n\nWorkspacePageWithSections.propTypes = propTypes;\nWorkspacePageWithSections.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n user: {\n key: ONYXKEYS.USER,\n },\n reimbursementAccount: {\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n },\n }),\n withPolicy,\n withNetwork(),\n)(WorkspacePageWithSections);\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n /** error associated with adding a secondary login */\n error: PropTypes.string,\n\n /** Whether or not the user is on a public domain email account or not */\n isFromPublicDomain: PropTypes.bool,\n\n /** Whever Expensify Card approval flow is ongoing - checking loginList for private domains */\n isCheckingDomain: PropTypes.bool,\n\n /** Whether the form is being submitted */\n loading: PropTypes.bool,\n});\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport WorkspaceCardNoVBAView from './WorkspaceCardNoVBAView';\nimport WorkspaceCardVBANoECardView from './WorkspaceCardVBANoECardView';\nimport WorkspaceCardVBAWithECardView from './WorkspaceCardVBAWithECardView';\nimport WorkspacePageWithSections from '../WorkspacePageWithSections';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceCardPage = props => (\n \n {(hasVBA, policyID, isUsingECard) => (\n <>\n {!hasVBA && (\n \n )}\n\n {hasVBA && !isUsingECard && (\n \n )}\n\n {hasVBA && isUsingECard && (\n \n )}\n \n )}\n \n);\n\nWorkspaceCardPage.propTypes = propTypes;\nWorkspaceCardPage.displayName = 'WorkspaceCardPage';\n\nexport default withLocalize(WorkspaceCardPage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport UnorderedList from '../../../components/UnorderedList';\nimport Section from '../../../components/Section';\nimport Button from '../../../components/Button';\nimport * as ReimbursementAccount from '../../../libs/actions/ReimbursementAccount';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceCardNoVBAView = props => (\n \n \n {props.translate('workspace.card.noVBACopy')}\n \n\n \n ReimbursementAccount.navigateToBankAccountRoute(props.policyID)}\n icon={Expensicons.Bank}\n style={[styles.mt6]}\n iconStyles={[styles.mr5]}\n shouldShowRightIcon\n large\n success\n />\n \n);\n\nWorkspaceCardNoVBAView.propTypes = propTypes;\nWorkspaceCardNoVBAView.displayName = 'WorkspaceCardNoVBAView';\n\nexport default withLocalize(WorkspaceCardNoVBAView);\n","import Abracadabra from '../../../assets/images/product-illustrations/abracadabra.svg';\nimport BankArrowPink from '../../../assets/images/product-illustrations/bank-arrow--pink.svg';\nimport BankMouseGreen from '../../../assets/images/product-illustrations/bank-mouse--green.svg';\nimport BankUserGreen from '../../../assets/images/product-illustrations/bank-user--green.svg';\nimport ConciergeBlue from '../../../assets/images/product-illustrations/concierge--blue.svg';\nimport ConciergeExclamation from '../../../assets/images/product-illustrations/concierge--exclamation.svg';\nimport CreditCardsBlue from '../../../assets/images/product-illustrations/credit-cards--blue.svg';\nimport InvoiceOrange from '../../../assets/images/product-illustrations/invoice--orange.svg';\nimport JewelBoxBlue from '../../../assets/images/product-illustrations/jewel-box--blue.svg';\nimport JewelBoxGreen from '../../../assets/images/product-illustrations/jewel-box--green.svg';\nimport JewelBoxPink from '../../../assets/images/product-illustrations/jewel-box--pink.svg';\nimport JewelBoxYellow from '../../../assets/images/product-illustrations/jewel-box--yellow.svg';\nimport MagicCode from '../../../assets/images/product-illustrations/magic-code.svg';\nimport MoneyEnvelopeBlue from '../../../assets/images/product-illustrations/money-envelope--blue.svg';\nimport MoneyMousePink from '../../../assets/images/product-illustrations/money-mouse--pink.svg';\nimport ReceiptsSearchYellow from '../../../assets/images/product-illustrations/receipts-search--yellow.svg';\nimport ReceiptYellow from '../../../assets/images/product-illustrations/receipt--yellow.svg';\nimport RocketBlue from '../../../assets/images/product-illustrations/rocket--blue.svg';\nimport RocketOrange from '../../../assets/images/product-illustrations/rocket--orange.svg';\nimport SafeBlue from '../../../assets/images/product-illustrations/safe.svg';\nimport TadaYellow from '../../../assets/images/product-illustrations/tada--yellow.svg';\nimport TadaBlue from '../../../assets/images/product-illustrations/tada--blue.svg';\nimport ToddBehindCloud from '../../../assets/images/product-illustrations/todd-behind-cloud.svg';\nimport GpsTrackOrange from '../../../assets/images/product-illustrations/gps-track--orange.svg';\nimport ShieldYellow from '../../../assets/images/simple-illustrations/simple-illustration__shield.svg';\nimport MoneyReceipts from '../../../assets/images/simple-illustrations/simple-illustration__money-receipts.svg';\nimport PinkBill from '../../../assets/images/simple-illustrations/simple-illustration__bill.svg';\nimport CreditCardsNew from '../../../assets/images/simple-illustrations/simple-illustration__credit-cards.svg';\nimport InvoiceBlue from '../../../assets/images/simple-illustrations/simple-illustration__invoice.svg';\nimport LockOpen from '../../../assets/images/simple-illustrations/simple-illustration__lockopen.svg';\nimport Luggage from '../../../assets/images/simple-illustrations/simple-illustration__luggage.svg';\nimport MoneyIntoWallet from '../../../assets/images/simple-illustrations/simple-illustration__moneyintowallet.svg';\nimport MoneyWings from '../../../assets/images/simple-illustrations/simple-illustration__moneywings.svg';\nimport OpenSafe from '../../../assets/images/simple-illustrations/simple-illustration__opensafe.svg';\nimport TrackShoe from '../../../assets/images/simple-illustrations/simple-illustration__track-shoe.svg';\nimport BankArrow from '../../../assets/images/simple-illustrations/simple-illustration__bank-arrow.svg';\nimport ConciergeBubble from '../../../assets/images/simple-illustrations/simple-illustration__concierge-bubble.svg';\nimport ConciergeNew from '../../../assets/images/simple-illustrations/simple-illustration__concierge.svg';\nimport MoneyBadge from '../../../assets/images/simple-illustrations/simple-illustration__moneybadge.svg';\nimport TreasureChest from '../../../assets/images/simple-illustrations/simple-illustration__treasurechest.svg';\nimport ThumbsUpStars from '../../../assets/images/simple-illustrations/simple-illustration__thumbsupstars.svg';\nimport Hands from '../../../assets/images/product-illustrations/home-illustration-hands.svg';\n\nexport {\n Abracadabra,\n BankArrowPink,\n BankMouseGreen,\n BankUserGreen,\n ConciergeBlue,\n ConciergeExclamation,\n CreditCardsBlue,\n InvoiceOrange,\n JewelBoxBlue,\n JewelBoxGreen,\n JewelBoxPink,\n JewelBoxYellow,\n MagicCode,\n MoneyEnvelopeBlue,\n MoneyMousePink,\n ReceiptsSearchYellow,\n ReceiptYellow,\n RocketBlue,\n RocketOrange,\n SafeBlue,\n TadaYellow,\n TadaBlue,\n ToddBehindCloud,\n GpsTrackOrange,\n ShieldYellow,\n MoneyReceipts,\n PinkBill,\n CreditCardsNew,\n InvoiceBlue,\n LockOpen,\n Luggage,\n MoneyIntoWallet,\n MoneyWings,\n OpenSafe,\n TrackShoe,\n BankArrow,\n ConciergeBubble,\n ConciergeNew,\n MoneyBadge,\n TreasureChest,\n ThumbsUpStars,\n Hands,\n};\n","\n\n\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\t\n\t\n\n\n\t\n\n\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n\t\n\t\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\n\n","\n\n\n\n\n\t\n\t\t\n\t\n\t\n\t\t\n\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\n\n\n\n\n\t\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n\t\n\n\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n","\n\n\n\n\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\n\n","import React from 'react';\nimport _ from 'underscore';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from './Text';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** An array of strings to display as an unordered list */\n items: PropTypes.arrayOf(PropTypes.string),\n};\nconst defaultProps = {\n items: [],\n};\n\nconst UnorderedList = props => (\n <>\n {_.map(props.items, itemText => (\n \n {'\\u2022'}\n {itemText}\n \n ))}\n \n);\n\nUnorderedList.displayName = 'UnorderedList';\nUnorderedList.propTypes = propTypes;\nUnorderedList.defaultProps = defaultProps;\n\nexport default UnorderedList;\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from './Text';\nimport styles from '../styles/styles';\nimport MenuItemList from './MenuItemList';\nimport Icon from './Icon';\nimport menuItemPropTypes from './menuItemPropTypes';\n\nconst propTypes = {\n /** An array of props that are pass to individual MenuItem components */\n menuItems: PropTypes.arrayOf(PropTypes.shape(menuItemPropTypes)),\n\n /** The text to display in the title of the section */\n title: PropTypes.string.isRequired,\n\n /** The icon to display along with the title */\n icon: PropTypes.func,\n\n /** Icon component */\n IconComponent: PropTypes.func,\n\n /** Contents to display inside the section */\n children: PropTypes.node,\n\n /** Customize the Section container */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n};\n\nconst defaultProps = {\n menuItems: null,\n children: null,\n icon: null,\n IconComponent: null,\n containerStyles: [],\n};\n\nconst Section = (props) => {\n const IconComponent = props.IconComponent;\n return (\n <>\n \n \n \n {props.title}\n \n \n {Boolean(props.icon) && }\n {Boolean(IconComponent) && }\n \n \n\n \n {props.children}\n \n\n \n {Boolean(props.menuItems) && }\n \n \n\n \n );\n};\n\nSection.displayName = 'Section';\nSection.propTypes = propTypes;\nSection.defaultProps = defaultProps;\n\nexport default Section;\n","import React from 'react';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport MenuItem from './MenuItem';\nimport menuItemPropTypes from './menuItemPropTypes';\nimport * as ReportActionContextMenu from '../pages/home/report/ContextMenu/ReportActionContextMenu';\nimport {CONTEXT_MENU_TYPES} from '../pages/home/report/ContextMenu/ContextMenuActions';\n\nconst propTypes = {\n /** An array of props that are pass to individual MenuItem components */\n menuItems: PropTypes.arrayOf(PropTypes.shape(menuItemPropTypes)),\n};\nconst defaultProps = {\n menuItems: [],\n};\n\nconst MenuItemList = (props) => {\n let popoverAnchor;\n\n /**\n * Handle the secondary interaction for a menu item.\n *\n * @param {*} link the menu item link or function to get the link\n * @param {Event} e the interaction event\n */\n const secondaryInteraction = (link, e) => {\n if (typeof link === 'function') {\n link().then(url => ReportActionContextMenu.showContextMenu(CONTEXT_MENU_TYPES.LINK, e, url, popoverAnchor));\n } else if (!_.isEmpty(link)) {\n ReportActionContextMenu.showContextMenu(CONTEXT_MENU_TYPES.LINK, e, link, popoverAnchor);\n }\n };\n\n return (\n <>\n {_.map(props.menuItems, menuItemProps => (\n secondaryInteraction(menuItemProps.link, e) : undefined}\n ref={el => popoverAnchor = el}\n shouldBlockSelection={Boolean(menuItemProps.link)}\n // eslint-disable-next-line react/jsx-props-no-spreading\n {...menuItemProps}\n />\n ))}\n \n );\n};\n\nMenuItemList.displayName = 'MenuItemList';\nMenuItemList.propTypes = propTypes;\nMenuItemList.defaultProps = defaultProps;\n\nexport default MenuItemList;\n","import React from 'react';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport Text from '../../../components/Text';\nimport Button from '../../../components/Button';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport UnorderedList from '../../../components/UnorderedList';\nimport Section from '../../../components/Section';\nimport * as Link from '../../../libs/actions/Link';\nimport * as User from '../../../libs/actions/User';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport compose from '../../../libs/compose';\nimport CONST from '../../../CONST';\nimport userPropTypes from '../../settings/userPropTypes';\n\nconst propTypes = {\n /** Information about the logged in user's account */\n user: userPropTypes,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n user: {},\n};\n\nconst WorkspaceCardVBANoECardView = props => (\n <>\n \n \n \n \n {\n Link.openOldDotLink(CONST.ADD_SECONDARY_LOGIN_URL);\n User.subscribeToExpensifyCardUpdates();\n }}\n icon={Expensicons.Mail}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n \n {Boolean(props.user.isCheckingDomain) && (\n \n {props.translate('workspace.card.checkingDomain')}\n \n )}\n \n);\n\nWorkspaceCardVBANoECardView.propTypes = propTypes;\nWorkspaceCardVBANoECardView.defaultProps = defaultProps;\nWorkspaceCardVBANoECardView.displayName = 'WorkspaceCardVBANoECardView';\n\nexport default compose(\n withLocalize,\n withOnyx({\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(WorkspaceCardVBANoECardView);\n","import React from 'react';\nimport {View} from 'react-native';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport UnorderedList from '../../../components/UnorderedList';\nimport * as Link from '../../../libs/actions/Link';\nimport Section from '../../../components/Section';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\n\nconst MENU_LINKS = {\n ISSUE_AND_MANAGE_CARDS: 'domain_companycards',\n RECONCILE_CARDS: encodeURI('domain_companycards?param={\"section\":\"cardReconciliation\"}'),\n SETTLEMENT_FREQUENCY: encodeURI('domain_companycards?param={\"section\":\"configureSettings\"}'),\n};\n\nconst WorkspaceCardVBAWithECardView = (props) => {\n const menuItems = [\n {\n title: props.translate('workspace.common.issueAndManageCards'),\n onPress: () => Link.openOldDotLink(MENU_LINKS.ISSUE_AND_MANAGE_CARDS),\n icon: Expensicons.ExpensifyCard,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(MENU_LINKS.ISSUE_AND_MANAGE_CARDS),\n },\n {\n title: props.translate('workspace.common.reconcileCards'),\n onPress: () => Link.openOldDotLink(MENU_LINKS.RECONCILE_CARDS),\n icon: Expensicons.ReceiptSearch,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(MENU_LINKS.RECONCILE_CARDS),\n },\n {\n title: props.translate('workspace.common.settlementFrequency'),\n onPress: () => Link.openOldDotLink(MENU_LINKS.SETTLEMENT_FREQUENCY),\n icon: Expensicons.Gear,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(MENU_LINKS.SETTLEMENT_FREQUENCY),\n },\n ];\n\n return (\n \n \n {props.translate('workspace.card.VBAWithECardCopy')}\n \n\n \n \n \n \n );\n};\n\nWorkspaceCardVBAWithECardView.propTypes = propTypes;\nWorkspaceCardVBAWithECardView.displayName = 'WorkspaceCardVBAWithECardView';\n\nexport default withLocalize(WorkspaceCardVBAWithECardView);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport WorkspaceReimburseView from './WorkspaceReimburseView';\nimport WorkspacePageWithSections from '../WorkspacePageWithSections';\nimport CONST from '../../../CONST';\nimport compose from '../../../libs/compose';\nimport withPolicy, {policyPropTypes} from '../withPolicy';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n ...policyPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceReimbursePage = props => (\n \n {() => (\n \n )}\n \n);\n\nWorkspaceReimbursePage.propTypes = propTypes;\nWorkspaceReimbursePage.displayName = 'WorkspaceReimbursePage';\n\nexport default compose(\n withPolicy,\n withLocalize,\n)(WorkspaceReimbursePage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport TextInput from '../../../components/TextInput';\nimport Picker from '../../../components/Picker';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport themeColors from '../../../styles/themes/default';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport CopyTextToClipboard from '../../../components/CopyTextToClipboard';\nimport * as Link from '../../../libs/actions/Link';\nimport compose from '../../../libs/compose';\nimport * as Policy from '../../../libs/actions/Policy';\nimport CONST from '../../../CONST';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport * as ReimbursementAccountProps from '../../ReimbursementAccount/reimbursementAccountPropTypes';\nimport getPermittedDecimalSeparator from '../../../libs/getPermittedDecimalSeparator';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport networkPropTypes from '../../../components/networkPropTypes';\nimport Log from '../../../libs/Log';\nimport WorkspaceReimburseSection from './WorkspaceReimburseSection';\nimport * as BankAccounts from '../../../libs/actions/BankAccounts';\n\nconst propTypes = {\n /** Policy values needed in the component */\n policy: PropTypes.shape({\n id: PropTypes.string,\n customUnits: PropTypes.objectOf(\n PropTypes.shape({\n customUnitID: PropTypes.string,\n name: PropTypes.string,\n attributes: PropTypes.shape({\n unit: PropTypes.string,\n }),\n rates: PropTypes.objectOf(\n PropTypes.shape({\n customUnitRateID: PropTypes.string,\n name: PropTypes.string,\n rate: PropTypes.number,\n }),\n ),\n }),\n ),\n outputCurrency: PropTypes.string,\n lastModified: PropTypes.number,\n }).isRequired,\n\n /** From Onyx */\n /** Bank account attached to free plan */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountDefaultProps,\n};\n\nclass WorkspaceReimburseView extends React.Component {\n constructor(props) {\n super(props);\n const distanceCustomUnit = _.find(lodashGet(props, 'policy.customUnits', {}), unit => unit.name === 'Distance');\n const customUnitRate = _.find(lodashGet(distanceCustomUnit, 'rates', {}), rate => rate.name === 'Default Rate');\n\n this.state = {\n unitID: lodashGet(distanceCustomUnit, 'customUnitID', ''),\n unitName: lodashGet(distanceCustomUnit, 'name', ''),\n unitValue: lodashGet(distanceCustomUnit, 'attributes.unit', 'mi'),\n unitRateID: lodashGet(customUnitRate, 'customUnitRateID', ''),\n unitRateValue: this.getUnitRateValue(customUnitRate),\n outputCurrency: lodashGet(props, 'policy.outputCurrency', ''),\n };\n\n this.debounceUpdateOnCursorMove = this.debounceUpdateOnCursorMove.bind(this);\n this.updateRateValueDebounced = _.debounce(this.updateRateValue.bind(this), 1000);\n this.updatedValue = this.state.unitRateValue;\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.policy.customUnits !== this.props.policy.customUnits) {\n const distanceCustomUnit = _.chain(lodashGet(this.props, 'policy.customUnits', []))\n .values()\n .findWhere({name: CONST.CUSTOM_UNITS.NAME_DISTANCE})\n .value();\n const customUnitRate = _.find(lodashGet(distanceCustomUnit, 'rates', {}), rate => rate.name === 'Default Rate');\n this.setState({\n unitID: lodashGet(distanceCustomUnit, 'customUnitID', ''),\n unitName: lodashGet(distanceCustomUnit, 'name', ''),\n unitValue: lodashGet(distanceCustomUnit, 'attributes.unit', 'mi'),\n unitRateID: lodashGet(customUnitRate, 'customUnitRateID'),\n unitRateValue: this.getUnitRateValue(customUnitRate),\n });\n this.updatedValue = this.getUnitRateValue(customUnitRate);\n }\n\n const reconnecting = prevProps.network.isOffline && !this.props.network.isOffline;\n if (!reconnecting) {\n return;\n }\n\n this.fetchData();\n }\n\n getUnitRateValue(customUnitRate) {\n return this.getRateDisplayValue(lodashGet(customUnitRate, 'rate', 0) / CONST.POLICY.CUSTOM_UNIT_RATE_BASE_OFFSET);\n }\n\n getUnitItems() {\n return [\n {label: this.props.translate('workspace.reimburse.kilometers'), value: 'km'},\n {label: this.props.translate('workspace.reimburse.miles'), value: 'mi'},\n ];\n }\n\n getRateDisplayValue(value) {\n const numValue = this.getNumericValue(value);\n if (Number.isNaN(numValue)) {\n return '';\n }\n return numValue.toString().replace('.', this.props.toLocaleDigit('.')).substring(0, value.length);\n }\n\n getNumericValue(value) {\n const numValue = parseFloat(value.toString().replace(this.props.toLocaleDigit('.'), '.'));\n if (Number.isNaN(numValue)) {\n return NaN;\n }\n\n return numValue.toFixed(3);\n }\n\n setRate(inputValue) {\n const value = inputValue.replace(/[^0-9.,]/g, '');\n\n const decimalSeparator = this.props.toLocaleDigit('.');\n const rateValueRegex = RegExp(String.raw`^\\d{1,8}([${getPermittedDecimalSeparator(decimalSeparator)}]\\d{0,3})?$`, 'i');\n const isInvalidRateValue = value !== '' && !rateValueRegex.test(value);\n\n if (!isInvalidRateValue) {\n this.updatedValue = this.getRateDisplayValue(value);\n }\n this.setState({unitRateValue: value}, () => {\n // Set the corrected value with a delay and sync to the server\n this.updateRateValueDebounced(this.updatedValue);\n });\n }\n\n setUnit(value) {\n if (value === this.state.unitValue) {\n return;\n }\n\n const distanceCustomUnit = _.find(lodashGet(this.props, 'policy.customUnits', {}), unit => unit.name === 'Distance');\n if (!distanceCustomUnit) {\n Log.warn('Policy has no customUnits, returning early.', {\n policyID: this.props.policy.id,\n });\n return;\n }\n\n Policy.updateWorkspaceCustomUnit(this.props.policy.id, distanceCustomUnit, {\n customUnitID: this.state.unitID,\n name: this.state.unitName,\n attributes: {unit: value},\n }, this.props.policy.lastModified);\n }\n\n fetchData() {\n // Instead of setting the reimbursement account loading within the optimistic data of the API command, use a separate action so that the Onyx value is updated right away.\n // openWorkspaceReimburseView uses API.read which will not make the request until all WRITE requests in the sequential queue have finished responding, so there would be a delay in\n // updating Onyx with the optimistic data.\n BankAccounts.setReimbursementAccountLoading(true);\n Policy.openWorkspaceReimburseView(this.props.policy.id);\n }\n\n debounceUpdateOnCursorMove(event) {\n if (!_.contains(['ArrowLeft', 'ArrowRight'], event.key)) {\n return;\n }\n\n this.updateRateValueDebounced(this.state.unitRateValue);\n }\n\n updateRateValue(value) {\n const numValue = this.getNumericValue(value);\n\n if (_.isNaN(numValue)) {\n if (value === '') {\n this.setState({unitRateValue: value});\n }\n return;\n }\n\n const distanceCustomUnit = _.find(lodashGet(this.props, 'policy.customUnits', {}), unit => unit.name === 'Distance');\n const currentCustomUnitRate = lodashGet(distanceCustomUnit, ['rates', this.state.unitRateID], {});\n Policy.updateCustomUnitRate(this.props.policy.id, currentCustomUnitRate, this.state.unitID, {\n ...currentCustomUnitRate,\n rate: numValue * CONST.POLICY.CUSTOM_UNIT_RATE_BASE_OFFSET,\n }, this.props.policy.lastModified);\n }\n\n render() {\n const viewAllReceiptsUrl = `expenses?policyIDList=${this.props.policy.id}&billableReimbursable=reimbursable&submitterEmail=%2B%2B`;\n\n return (\n <>\n Link.openOldDotLink(viewAllReceiptsUrl),\n icon: Expensicons.Receipt,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(viewAllReceiptsUrl),\n },\n ]}\n >\n \n \n {this.props.translate('workspace.reimburse.captureNoVBACopyBeforeEmail')}\n \n {this.props.translate('workspace.reimburse.captureNoVBACopyAfterEmail')}\n \n \n \n\n \n \n {this.props.translate('workspace.reimburse.trackDistanceCopy')}\n \n Policy.clearCustomUnitErrors(this.props.policy.id, this.state.unitID, this.state.unitRateID)}\n >\n \n \n this.setRate(value)}\n value={this.state.unitRateValue}\n autoCompleteType=\"off\"\n autoCorrect={false}\n keyboardType={CONST.KEYBOARD_TYPE.DECIMAL_PAD}\n onKeyPress={this.debounceUpdateOnCursorMove}\n maxLength={12}\n />\n \n \n this.setUnit(value)}\n backgroundColor={themeColors.cardBG}\n />\n \n \n \n \n \n \n );\n }\n}\n\nWorkspaceReimburseView.defaultProps = defaultProps;\nWorkspaceReimburseView.propTypes = propTypes;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n reimbursementAccount: {\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n },\n }),\n)(WorkspaceReimburseView);\n","function _taggedTemplateLiteralLoose(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n strings.raw = raw;\n return strings;\n}\n\nmodule.exports = _taggedTemplateLiteralLoose, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;","\n// On iOS keyboard can only have one symbol at a time (either dot or comma) so we accept both\n// Details: https://expensify.slack.com/archives/C01GTK53T8Q/p1658936908481629\nexport default () => '.,';\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {ActivityIndicator, View} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport themeColors from '../../../styles/themes/default';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport * as Link from '../../../libs/actions/Link';\nimport Button from '../../../components/Button';\nimport BankAccount from '../../../libs/models/BankAccount';\nimport * as ReimbursementAccountProps from '../../ReimbursementAccount/reimbursementAccountPropTypes';\nimport * as ReimbursementAccount from '../../../libs/actions/ReimbursementAccount';\nimport networkPropTypes from '../../../components/networkPropTypes';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** Policy values needed in the component */\n policy: PropTypes.shape({\n id: PropTypes.string,\n }).isRequired,\n\n /** Bank account attached to free plan */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** Returns translated string for given locale and phrase */\n translate: PropTypes.func.isRequired,\n};\n\nclass WorkspaceReimburseSection extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n shouldShowLoadingSpinner: false,\n };\n\n this.debounceSetShouldShowLoadingSpinner = _.debounce(this.setShouldShowLoadingSpinner.bind(this), CONST.TIMING.SHOW_LOADING_SPINNER_DEBOUNCE_TIME);\n }\n\n componentDidUpdate() {\n this.debounceSetShouldShowLoadingSpinner();\n }\n\n setShouldShowLoadingSpinner() {\n const shouldShowLoadingSpinner = this.props.reimbursementAccount.isLoading || false;\n if (shouldShowLoadingSpinner !== this.state.shouldShowLoadingSpinner) {\n this.setState({shouldShowLoadingSpinner});\n }\n }\n\n render() {\n const achState = lodashGet(this.props.reimbursementAccount, 'achData.state', '');\n const hasVBA = achState === BankAccount.STATE.OPEN;\n const reimburseReceiptsUrl = `reports?policyID=${this.props.policy.id}&from=all&type=expense&showStates=Archived&isAdvancedFilterMode=true`;\n\n if (this.props.network.isOffline) {\n return (\n \n \n {`${this.props.translate('common.youAppearToBeOffline')} ${this.props.translate('common.thisFeatureRequiresInternet')}`}\n \n \n );\n }\n\n // If the reimbursementAccount is loading but not enough time has passed to show a spinner, then render nothing.\n if (this.props.reimbursementAccount.isLoading && !this.state.shouldShowLoadingSpinner) {\n return null;\n }\n\n if (this.state.shouldShowLoadingSpinner) {\n return (\n \n \n \n );\n }\n\n return (\n <>\n {hasVBA ? (\n Link.openOldDotLink(reimburseReceiptsUrl),\n icon: Expensicons.Bank,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(reimburseReceiptsUrl),\n },\n ]}\n >\n \n {this.props.translate('workspace.reimburse.fastReimbursementsVBACopy')}\n \n \n ) : (\n \n \n {this.props.translate('workspace.reimburse.unlockNoVBACopy')}\n \n ReimbursementAccount.navigateToBankAccountRoute(this.props.policy.id)}\n icon={Expensicons.Bank}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n \n )}\n \n );\n }\n}\n\nWorkspaceReimburseSection.propTypes = propTypes;\n\nexport default WorkspaceReimburseSection;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport WorkspaceBillsNoVBAView from './WorkspaceBillsNoVBAView';\nimport WorkspaceBillsVBAView from './WorkspaceBillsVBAView';\nimport WorkspacePageWithSections from '../WorkspacePageWithSections';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceBillsPage = props => (\n \n {(hasVBA, policyID) => (\n <>\n {!hasVBA && (\n \n )}\n {hasVBA && (\n \n )}\n \n )}\n \n);\n\nWorkspaceBillsPage.propTypes = propTypes;\nWorkspaceBillsPage.displayName = 'WorkspaceBillsPage';\nexport default withLocalize(WorkspaceBillsPage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport WorkspaceBillsFirstSection from './WorkspaceBillsFirstSection';\nimport Button from '../../../components/Button';\nimport * as ReimbursementAccount from '../../../libs/actions/ReimbursementAccount';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceBillsNoVBAView = props => (\n <>\n \n\n \n \n {props.translate('workspace.bills.unlockNoVBACopy')}\n \n ReimbursementAccount.navigateToBankAccountRoute(props.policyID)}\n icon={Expensicons.Bank}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n \n \n);\n\nWorkspaceBillsNoVBAView.propTypes = propTypes;\nWorkspaceBillsNoVBAView.displayName = 'WorkspaceBillsNoVBAView';\n\nexport default withLocalize(WorkspaceBillsNoVBAView);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport CopyTextToClipboard from '../../../components/CopyTextToClipboard';\nimport * as Link from '../../../libs/actions/Link';\nimport compose from '../../../libs/compose';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport userPropTypes from '../../settings/userPropTypes';\nimport TextLink from '../../../components/TextLink';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n\n /* From Onyx */\n /** Session of currently logged in user */\n session: PropTypes.shape({\n /** Email address */\n email: PropTypes.string.isRequired,\n }),\n\n /** Information about the logged in user's account */\n user: userPropTypes,\n};\n\nconst defaultProps = {\n session: {\n email: null,\n },\n user: {},\n};\n\nconst WorkspaceBillsFirstSection = (props) => {\n const emailDomain = Str.extractEmailDomain(props.session.email);\n const manageYourBillsUrl = `reports?policyID=${props.policyID}&from=all&type=bill&showStates=Open,Processing,Approved,Reimbursed,Archived&isAdvancedFilterMode=true`;\n return (\n (\n Link.openOldDotLink(manageYourBillsUrl)\n ),\n icon: Expensicons.Bill,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(manageYourBillsUrl),\n },\n ]}\n containerStyles={[styles.cardSection]}\n >\n \n \n {props.translate('workspace.bills.askYourVendorsBeforeEmail')}\n {props.user.isFromPublicDomain ? (\n Link.openExternalLink('https://community.expensify.com/discussion/7500/how-to-pay-your-company-bills-in-expensify/')}\n >\n example.com@expensify.cash\n \n ) : (\n \n )}\n {props.translate('workspace.bills.askYourVendorsAfterEmail')}\n \n \n \n );\n};\n\nWorkspaceBillsFirstSection.propTypes = propTypes;\nWorkspaceBillsFirstSection.defaultProps = defaultProps;\nWorkspaceBillsFirstSection.displayName = 'WorkspaceBillsFirstSection';\n\nexport default compose(\n withLocalize,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(WorkspaceBillsFirstSection);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport * as Link from '../../../libs/actions/Link';\nimport WorkspaceBillsFirstSection from './WorkspaceBillsFirstSection';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceBillsVBAView = (props) => {\n const reportsUrl = `reports?policyID=${props.policyID}&from=all&type=bill&showStates=Processing,Approved&isAdvancedFilterMode=true`;\n\n return (\n <>\n \n\n Link.openOldDotLink(reportsUrl),\n icon: Expensicons.Bill,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(reportsUrl),\n },\n ]}\n >\n \n {props.translate('workspace.bills.VBACopy')}\n \n \n \n );\n};\n\nWorkspaceBillsVBAView.propTypes = propTypes;\nWorkspaceBillsVBAView.displayName = 'WorkspaceBillsVBAView';\n\nexport default withLocalize(WorkspaceBillsVBAView);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport WorkspacePageWithSections from '../WorkspacePageWithSections';\nimport WorkspaceInvoicesNoVBAView from './WorkspaceInvoicesNoVBAView';\nimport WorkspaceInvoicesVBAView from './WorkspaceInvoicesVBAView';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceInvoicesPage = props => (\n \n {(hasVBA, policyID) => (\n <>\n {!hasVBA && (\n \n )}\n {hasVBA && (\n \n )}\n \n )}\n \n);\n\nWorkspaceInvoicesPage.propTypes = propTypes;\nWorkspaceInvoicesPage.displayName = 'WorkspaceInvoicesPage';\n\nexport default withLocalize(WorkspaceInvoicesPage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport WorkspaceInvoicesFirstSection from './WorkspaceInvoicesFirstSection';\nimport Button from '../../../components/Button';\nimport * as ReimbursementAccount from '../../../libs/actions/ReimbursementAccount';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceInvoicesNoVBAView = props => (\n <>\n \n\n \n \n {props.translate('workspace.invoices.unlockNoVBACopy')}\n \n ReimbursementAccount.navigateToBankAccountRoute(props.policyID)}\n icon={Expensicons.Bank}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n \n \n);\n\nWorkspaceInvoicesNoVBAView.propTypes = propTypes;\nWorkspaceInvoicesNoVBAView.displayName = 'WorkspaceInvoicesNoVBAView';\n\nexport default withLocalize(WorkspaceInvoicesNoVBAView);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport * as Link from '../../../libs/actions/Link';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceInvoicesFirstSection = (props) => {\n const sendInvoiceUrl = encodeURI('reports?param={\"createInvoice\":true}');\n const viewAllInvoicesUrl = `reports?policyID=${props.policyID}&from=all&type=invoice&showStates=Open,Processing,Approved,Reimbursed,Archived&isAdvancedFilterMode=true`;\n\n return (\n Link.openOldDotLink(sendInvoiceUrl),\n icon: Expensicons.Send,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(sendInvoiceUrl),\n },\n {\n title: props.translate('workspace.invoices.viewAllInvoices'),\n onPress: () => (\n Link.openOldDotLink(viewAllInvoicesUrl)\n ),\n icon: Expensicons.Invoice,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(viewAllInvoicesUrl),\n },\n ]}\n containerStyles={[styles.cardSection]}\n >\n \n \n {props.translate('workspace.invoices.invoiceFirstSectionCopy')}\n \n \n \n );\n};\n\nWorkspaceInvoicesFirstSection.propTypes = propTypes;\nWorkspaceInvoicesFirstSection.displayName = 'WorkspaceInvoicesFirstSection';\n\nexport default withLocalize(WorkspaceInvoicesFirstSection);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport WorkspaceInvoicesFirstSection from './WorkspaceInvoicesFirstSection';\nimport * as Link from '../../../libs/actions/Link';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceInvoicesVBAView = (props) => {\n const viewUnpaidInvoicesUrl = `reports?policyID=${props.policyID}&from=all&type=invoice&showStates=Processing&isAdvancedFilterMode=true`;\n\n return (\n <>\n \n\n Link.openOldDotLink(viewUnpaidInvoicesUrl),\n icon: Expensicons.Hourglass,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(viewUnpaidInvoicesUrl),\n },\n ]}\n >\n \n {props.translate('workspace.invoices.unlockVBACopy')}\n \n \n \n );\n};\n\nWorkspaceInvoicesVBAView.propTypes = propTypes;\nWorkspaceInvoicesVBAView.displayName = 'WorkspaceInvoicesVBAView';\n\nexport default withLocalize(WorkspaceInvoicesVBAView);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport WorkspacePageWithSections from '../WorkspacePageWithSections';\nimport WorkspaceTravelNoVBAView from './WorkspaceTravelNoVBAView';\nimport WorkspaceTravelVBAView from './WorkspaceTravelVBAView';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n /** The policyID that is being configured */\n policyID: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceTravelPage = props => (\n \n {(hasVBA, policyID) => (\n <>\n {!hasVBA && (\n \n )}\n {hasVBA && (\n \n )}\n \n )}\n \n);\n\nWorkspaceTravelPage.propTypes = propTypes;\nWorkspaceTravelPage.displayName = 'WorkspaceTravelPage';\n\nexport default withLocalize(WorkspaceTravelPage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport Button from '../../../components/Button';\nimport * as ReimbursementAccount from '../../../libs/actions/ReimbursementAccount';\n\nconst propTypes = {\n /** The policy ID currently being configured */\n policyID: PropTypes.string.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceTravelNoVBAView = props => (\n <>\n \n \n {props.translate('workspace.travel.noVBACopy')}\n \n ReimbursementAccount.navigateToBankAccountRoute(props.policyID)}\n icon={Expensicons.Bank}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n \n \n);\n\nWorkspaceTravelNoVBAView.propTypes = propTypes;\nWorkspaceTravelNoVBAView.displayName = 'WorkspaceTravelNoVBAView';\n\nexport default withLocalize(WorkspaceTravelNoVBAView);\n","import React from 'react';\nimport {View} from 'react-native';\nimport Text from '../../../components/Text';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport * as Illustrations from '../../../components/Icon/Illustrations';\nimport Section from '../../../components/Section';\nimport * as Link from '../../../libs/actions/Link';\nimport * as Report from '../../../libs/actions/Report';\nimport CONST from '../../../CONST';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\n\nconst WorkspaceTravelVBAView = props => (\n Link.openOldDotLink('domain_companycards'),\n icon: Expensicons.ExpensifyCard,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL('domain_companycards'),\n },\n {\n title: props.translate('workspace.travel.bookTravelWithConcierge'),\n onPress: () => {\n Report.navigateToConciergeChat();\n },\n icon: Expensicons.Concierge,\n shouldShowRightIcon: true,\n wrapperStyle: [styles.cardMenuItem],\n },\n {\n title: props.translate('requestorStep.learnMore'),\n onPress: () => Link.openExternalLink(CONST.CONCIERGE_TRAVEL_URL),\n icon: Expensicons.Info,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: CONST.CONCIERGE_TRAVEL_URL,\n },\n ]}\n >\n \n {props.translate('workspace.travel.VBACopy')}\n \n \n);\n\nWorkspaceTravelVBAView.propTypes = propTypes;\nWorkspaceTravelVBAView.displayName = 'WorkspaceTravelVBAView';\n\nexport default withLocalize(WorkspaceTravelVBAView);\n","import React from 'react';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport {\n View, TouchableOpacity,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport styles from '../../styles/styles';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport * as Policy from '../../libs/actions/Policy';\nimport Button from '../../components/Button';\nimport Checkbox from '../../components/Checkbox';\nimport Text from '../../components/Text';\nimport ROUTES from '../../ROUTES';\nimport ConfirmModal from '../../components/ConfirmModal';\nimport personalDetailsPropType from '../personalDetailsPropType';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';\nimport OptionRow from '../../components/OptionRow';\nimport withPolicy, {policyPropTypes, policyDefaultProps} from './withPolicy';\nimport CONST from '../../CONST';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport FormHelpMessage from '../../components/FormHelpMessage';\nimport TextInput from '../../components/TextInput';\nimport KeyboardDismissingFlatList from '../../components/KeyboardDismissingFlatList';\nimport withCurrentUserPersonalDetails from '../../components/withCurrentUserPersonalDetails';\nimport * as PolicyUtils from '../../libs/PolicyUtils';\n\nconst propTypes = {\n /** The personal details of the person who is logged in */\n personalDetails: personalDetailsPropType,\n\n /** URL Route params */\n route: PropTypes.shape({\n /** Params from the URL path */\n params: PropTypes.shape({\n /** policyID passed via route: /workspace/:policyID/members */\n policyID: PropTypes.string,\n }),\n }).isRequired,\n\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n /** Currently logged in user email */\n email: PropTypes.string,\n }),\n\n ...policyPropTypes,\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n network: networkPropTypes.isRequired,\n};\n\nconst defaultProps = {\n personalDetails: {},\n session: {\n email: null,\n },\n ...policyDefaultProps,\n};\n\nclass WorkspaceMembersPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n selectedEmployees: [],\n isRemoveMembersConfirmModalVisible: false,\n errors: {},\n searchValue: '',\n };\n\n this.renderItem = this.renderItem.bind(this);\n this.updateSearchValue = this.updateSearchValue.bind(this);\n this.inviteUser = this.inviteUser.bind(this);\n this.addUser = this.addUser.bind(this);\n this.removeUser = this.removeUser.bind(this);\n this.askForConfirmationToRemove = this.askForConfirmationToRemove.bind(this);\n this.hideConfirmModal = this.hideConfirmModal.bind(this);\n }\n\n componentDidMount() {\n this.getWorkspaceMembers();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.preferredLocale !== this.props.preferredLocale) {\n this.validate();\n }\n\n const isReconnecting = prevProps.network.isOffline && !this.props.network.isOffline;\n if (!isReconnecting) {\n return;\n }\n\n this.getWorkspaceMembers();\n }\n\n /**\n * Get members for the current workspace\n */\n getWorkspaceMembers() {\n /**\n * We filter clientMemberEmails to only pass members without errors\n * Otherwise, the members with errors would immediately be removed before the user has a chance to read the error\n */\n const clientMemberEmails = _.keys(_.pick(this.props.policyMemberList, member => _.isEmpty(member.errors)));\n Policy.openWorkspaceMembersPage(this.props.route.params.policyID, clientMemberEmails);\n }\n\n /**\n * @param {String} searchValue\n */\n updateSearchValue(searchValue = '') {\n this.setState({searchValue});\n }\n\n /**\n * Open the modal to invite a user\n */\n inviteUser() {\n this.updateSearchValue('');\n Navigation.navigate(ROUTES.getWorkspaceInviteRoute(this.props.route.params.policyID));\n }\n\n /**\n * Remove selected users from the workspace\n */\n removeUsers() {\n if (!_.isEmpty(this.state.errors)) {\n return;\n }\n\n // Remove the admin from the list\n const membersToRemove = _.without(this.state.selectedEmployees, this.props.session.email);\n Policy.removeMembers(membersToRemove, this.props.route.params.policyID);\n this.setState({\n selectedEmployees: [],\n isRemoveMembersConfirmModalVisible: false,\n });\n }\n\n /**\n * Show the modal to confirm removal of the selected members\n */\n askForConfirmationToRemove() {\n if (!_.isEmpty(this.state.errors)) {\n return;\n }\n\n this.setState({isRemoveMembersConfirmModalVisible: true});\n }\n\n /**\n * Hide the confirmation modal\n */\n hideConfirmModal() {\n this.setState({isRemoveMembersConfirmModalVisible: false});\n }\n\n /**\n * Add or remove all users passed from the selectedEmployees list\n * @param {Object} memberList\n */\n toggleAllUsers(memberList) {\n const emailList = _.keys(memberList);\n this.setState(prevState => ({\n selectedEmployees: !_.every(emailList, memberEmail => _.contains(prevState.selectedEmployees, memberEmail))\n ? emailList\n : [],\n }), () => this.validate());\n }\n\n /**\n * Toggle user from the selectedEmployees list\n *\n * @param {String} login\n * @param {String} pendingAction\n *\n */\n toggleUser(login, pendingAction) {\n if (pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {\n return;\n }\n\n // Add or remove the user if the checkbox is enabled\n if (_.contains(this.state.selectedEmployees, login)) {\n this.removeUser(login);\n } else {\n this.addUser(login);\n }\n }\n\n /**\n * Add user from the selectedEmployees list\n *\n * @param {String} login\n */\n addUser(login) {\n this.setState(prevState => ({\n selectedEmployees: [...prevState.selectedEmployees, login],\n }), () => this.validate());\n }\n\n /**\n * Remove user from the selectedEmployees list\n *\n * @param {String} login\n */\n removeUser(login) {\n this.setState(prevState => ({\n selectedEmployees: _.without(prevState.selectedEmployees, login),\n }), () => this.validate());\n }\n\n /**\n * Dismisses the errors on one item\n *\n * @param {Object} item\n */\n dismissError(item) {\n if (item.pendingAction === 'delete') {\n Policy.clearDeleteMemberError(this.props.route.params.policyID, item.login);\n } else {\n Policy.clearAddMemberError(this.props.route.params.policyID, item.login);\n }\n }\n\n validate() {\n const errors = {};\n _.each(this.state.selectedEmployees, (member) => {\n if (member !== this.props.policy.owner && member !== this.props.session.email) {\n return;\n }\n\n errors[member] = this.props.translate('workspace.people.error.cannotRemove');\n });\n\n this.setState({errors});\n }\n\n /**\n * @param {String} [value = '']\n * @param {String} keyword\n * @returns {Boolean}\n */\n isKeywordMatch(value = '', keyword) {\n return value.trim().toLowerCase().includes(keyword);\n }\n\n /**\n * Do not move this or make it an anonymous function it is a method\n * so it will not be recreated each time we render an item\n *\n * See: https://reactnative.dev/docs/optimizing-flatlist-configuration#avoid-anonymous-function-on-renderitem\n *\n * @param {Object} args\n * @param {Object} args.item\n * @param {Number} args.index\n *\n * @returns {React.Component}\n */\n renderItem({\n item,\n }) {\n return (\n this.dismissError(item)} pendingAction={item.pendingAction} errors={item.errors}>\n this.toggleUser(item.login, item.pendingAction)}\n activeOpacity={0.7}\n >\n this.toggleUser(item.login, item.pendingAction)}\n />\n \n this.toggleUser(item.login, item.pendingAction)}\n boldStyle\n option={{\n text: Str.removeSMSDomain(item.displayName),\n alternateText: Str.removeSMSDomain(item.login),\n participantsList: [item],\n icons: [{\n source: ReportUtils.getAvatar(item.avatar, item.login),\n name: item.login,\n type: CONST.ICON_TYPE_AVATAR,\n }],\n keyForList: item.login,\n }}\n />\n \n {(this.props.session.email === item.login || item.role === 'admin') && (\n \n \n {this.props.translate('common.admin')}\n \n \n )}\n \n {!_.isEmpty(this.state.errors[item.login]) && (\n \n )}\n \n );\n }\n\n render() {\n const policyMemberList = lodashGet(this.props, 'policyMemberList', {});\n const removableMembers = {};\n let data = [];\n _.each(policyMemberList, (policyMember, email) => {\n const details = lodashGet(this.props.personalDetails, email, {displayName: email, login: email});\n data.push({\n ...policyMember,\n ...details,\n });\n });\n data = _.sortBy(data, value => value.displayName.toLowerCase());\n const searchValue = this.state.searchValue.trim().toLowerCase();\n data = _.filter(data, member => this.isKeywordMatch(member.displayName, searchValue)\n || this.isKeywordMatch(member.login, searchValue)\n || this.isKeywordMatch(member.phoneNumber, searchValue)\n || this.isKeywordMatch(member.firstName, searchValue)\n || this.isKeywordMatch(member.lastName, searchValue));\n\n data = _.reject(data, (member) => {\n // If this policy is owned by Expensify then show all support (expensify.com or team.expensify.com) emails\n if (PolicyUtils.isExpensifyTeam(lodashGet(this.props.policy, 'owner'))) {\n return;\n }\n\n // We don't want to show guides as policy members unless the user is not a guide. Some customers get confused when they\n // see random people added to their policy, but guides having access to the policies help set them up.\n const isCurrentUserExpensifyTeam = PolicyUtils.isExpensifyTeam(this.props.currentUserPersonalDetails.login);\n return !isCurrentUserExpensifyTeam && PolicyUtils.isExpensifyTeam(member.login);\n });\n\n _.each(data, (member) => {\n if (member.login === this.props.session.email || member.login === this.props.policy.owner || member.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE) {\n return;\n }\n removableMembers[member.login] = member;\n });\n const policyID = lodashGet(this.props.route, 'params.policyID');\n const policyName = lodashGet(this.props.policy, 'name');\n\n return (\n \n {({safeAreaPaddingBottomStyle}) => (\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES)}\n >\n Navigation.dismissModal()}\n onBackButtonPress={() => {\n this.updateSearchValue('');\n Navigation.navigate(ROUTES.getWorkspaceInitialRoute(policyID));\n }}\n shouldShowGetAssistanceButton\n guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_MEMBERS}\n shouldShowBackButton\n />\n this.removeUsers()}\n onCancel={this.hideConfirmModal}\n prompt={this.props.translate('workspace.people.removeMembersPrompt')}\n confirmText={this.props.translate('common.remove')}\n cancelText={this.props.translate('common.cancel')}\n />\n \n \n \n \n \n \n \n \n {data.length > 0 ? (\n \n \n _.contains(this.state.selectedEmployees, memberEmail))}\n onPress={() => this.toggleAllUsers(removableMembers)}\n />\n \n \n {this.props.translate('workspace.people.selectAll')}\n \n \n \n item.login}\n showsVerticalScrollIndicator\n style={[styles.ph5, styles.pb5]}\n contentContainerStyle={safeAreaPaddingBottomStyle}\n keyboardShouldPersistTaps=\"handled\"\n />\n \n ) : (\n \n \n {this.props.translate('common.noResultsFound')}\n \n \n )}\n \n \n )}\n \n );\n }\n}\n\nWorkspaceMembersPage.propTypes = propTypes;\nWorkspaceMembersPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withPolicy,\n withNetwork(),\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n }),\n withCurrentUserPersonalDetails,\n)(WorkspaceMembersPage);\n","import React from 'react';\nimport {FlatList, Keyboard} from 'react-native';\n\nconst KeyboardDismissingFlatList = props => (\n Keyboard.dismiss()}\n />\n);\n\nKeyboardDismissingFlatList.displayName = 'KeyboardDismissingFlatList';\n\nexport default KeyboardDismissingFlatList;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {Pressable, View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport styles from '../../styles/styles';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as Policy from '../../libs/actions/Policy';\nimport TextInput from '../../components/TextInput';\nimport FormAlertWithSubmitButton from '../../components/FormAlertWithSubmitButton';\nimport FormSubmit from '../../components/FormSubmit';\nimport OptionsSelector from '../../components/OptionsSelector';\nimport * as OptionsListUtils from '../../libs/OptionsListUtils';\nimport CONST from '../../CONST';\nimport FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';\nimport * as Link from '../../libs/actions/Link';\nimport Text from '../../components/Text';\nimport withPolicy, {policyPropTypes, policyDefaultProps} from './withPolicy';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport ROUTES from '../../ROUTES';\nimport * as Localize from '../../libs/Localize';\n\nconst personalDetailsPropTypes = PropTypes.shape({\n /** The login of the person (either email or phone number) */\n login: PropTypes.string.isRequired,\n\n /** The URL of the person's avatar (there should already be a default avatar if\n the person doesn't have their own avatar uploaded yet) */\n avatar: PropTypes.string.isRequired,\n\n /** This is either the user's full name, or their login if full name is an empty string */\n displayName: PropTypes.string.isRequired,\n});\n\nconst propTypes = {\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** All of the personal details for everyone */\n personalDetails: PropTypes.objectOf(personalDetailsPropTypes),\n\n /** URL Route params */\n route: PropTypes.shape({\n /** Params from the URL path */\n params: PropTypes.shape({\n /** policyID passed via route: /workspace/:policyID/invite */\n policyID: PropTypes.string,\n }),\n }).isRequired,\n\n ...policyPropTypes,\n ...withLocalizePropTypes,\n network: networkPropTypes.isRequired,\n};\n\nconst defaultProps = {\n personalDetails: {},\n betas: [],\n ...policyDefaultProps,\n};\n\nclass WorkspaceInvitePage extends React.Component {\n constructor(props) {\n super(props);\n\n this.inviteUser = this.inviteUser.bind(this);\n this.clearErrors = this.clearErrors.bind(this);\n this.getExcludedUsers = this.getExcludedUsers.bind(this);\n this.toggleOption = this.toggleOption.bind(this);\n this.updateOptionsWithSearchTerm = this.updateOptionsWithSearchTerm.bind(this);\n this.openPrivacyURL = this.openPrivacyURL.bind(this);\n\n const {\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getMemberInviteOptions(\n props.personalDetails,\n props.betas,\n '',\n this.getExcludedUsers(),\n );\n this.state = {\n searchTerm: '',\n personalDetails,\n selectedOptions: [],\n userToInvite,\n welcomeNote: this.getWelcomeNote(),\n shouldDisableButton: false,\n };\n }\n\n componentDidMount() {\n this.clearErrors();\n\n const clientPolicyMembers = _.keys(this.props.policyMemberList);\n Policy.openWorkspaceInvitePage(this.props.route.params.policyID, clientPolicyMembers);\n }\n\n componentDidUpdate(prevProps) {\n if (\n prevProps.preferredLocale !== this.props.preferredLocale\n && this.state.welcomeNote === Localize.translate(prevProps.preferredLocale, 'workspace.invite.welcomeNote', {workspaceName: this.props.policy.name})\n ) {\n this.setState({welcomeNote: this.getWelcomeNote()});\n }\n\n const isReconnecting = prevProps.network.isOffline && !this.props.network.isOffline;\n if (!isReconnecting) {\n return;\n }\n\n const clientPolicyMembers = _.keys(this.props.policyMemberList);\n Policy.openWorkspaceInvitePage(this.props.route.params.policyID, clientPolicyMembers);\n }\n\n getExcludedUsers() {\n const policyMemberList = lodashGet(this.props, 'policyMemberList', {});\n const usersToExclude = _.filter(_.keys(policyMemberList), policyMember => (\n this.props.network.isOffline\n || policyMemberList[policyMember].pendingAction !== CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE\n || !_.isEmpty(policyMemberList[policyMember].errors)\n ));\n return [...CONST.EXPENSIFY_EMAILS, ...usersToExclude];\n }\n\n /**\n * Gets the welcome note default text\n *\n * @returns {Object}\n */\n getWelcomeNote() {\n return this.props.translate('workspace.invite.welcomeNote', {\n workspaceName: this.props.policy.name,\n });\n }\n\n /**\n * @returns {Boolean}\n */\n getShouldShowAlertPrompt() {\n return _.size(lodashGet(this.props.policy, 'errors', {})) > 0 || lodashGet(this.props.policy, 'alertMessage', '').length > 0;\n }\n\n /**\n * Returns the sections needed for the OptionsSelector\n * @returns {Array}\n */\n getSections() {\n const sections = [];\n let indexOffset = 0;\n\n sections.push({\n title: undefined,\n data: this.state.selectedOptions,\n shouldShow: true,\n indexOffset,\n });\n indexOffset += this.state.selectedOptions.length;\n\n // Filtering out selected users from the search results\n const filterText = _.reduce(this.state.selectedOptions, (str, {login}) => `${str} ${login}`, '');\n const personalDetailsWithoutSelected = _.filter(this.state.personalDetails, ({login}) => !filterText.includes(login));\n const hasUnselectedUserToInvite = this.state.userToInvite && !filterText.includes(this.state.userToInvite.login);\n\n sections.push({\n title: this.props.translate('common.contacts'),\n data: personalDetailsWithoutSelected,\n shouldShow: !_.isEmpty(personalDetailsWithoutSelected),\n indexOffset,\n });\n indexOffset += personalDetailsWithoutSelected.length;\n\n if (hasUnselectedUserToInvite) {\n sections.push(({\n title: undefined,\n data: [this.state.userToInvite],\n shouldShow: true,\n indexOffset,\n }));\n }\n\n return sections;\n }\n\n updateOptionsWithSearchTerm(searchTerm = '') {\n const {\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getMemberInviteOptions(\n this.props.personalDetails,\n this.props.betas,\n searchTerm,\n this.getExcludedUsers(),\n );\n this.setState({\n searchTerm,\n userToInvite,\n personalDetails,\n });\n }\n\n openPrivacyURL(e) {\n e.preventDefault();\n Link.openExternalLink(CONST.PRIVACY_URL);\n }\n\n clearErrors(closeModal = false) {\n Policy.setWorkspaceErrors(this.props.route.params.policyID, {});\n Policy.hideWorkspaceAlertMessage(this.props.route.params.policyID);\n if (closeModal) {\n Navigation.dismissModal();\n }\n }\n\n /**\n * Removes a selected option from list if already selected. If not already selected add this option to the list.\n * @param {Object} option\n */\n toggleOption(option) {\n this.clearErrors();\n\n this.setState((prevState) => {\n const isOptionInList = _.some(prevState.selectedOptions, selectedOption => (\n selectedOption.login === option.login\n ));\n\n let newSelectedOptions;\n\n if (isOptionInList) {\n newSelectedOptions = _.reject(prevState.selectedOptions, selectedOption => (\n selectedOption.login === option.login\n ));\n } else {\n newSelectedOptions = [...prevState.selectedOptions, option];\n }\n\n const {\n personalDetails,\n userToInvite,\n } = OptionsListUtils.getMemberInviteOptions(\n this.props.personalDetails,\n this.props.betas,\n prevState.searchTerm,\n this.getExcludedUsers(),\n );\n\n return {\n selectedOptions: newSelectedOptions,\n personalDetails,\n userToInvite,\n searchTerm: prevState.searchTerm,\n };\n });\n }\n\n /**\n * Handle the invite button click\n */\n inviteUser() {\n if (!this.validate()) {\n return;\n }\n\n this.setState({shouldDisableButton: true}, () => {\n const logins = _.map(this.state.selectedOptions, option => option.login);\n const filteredLogins = _.uniq(_.compact(_.map(logins, login => login.toLowerCase().trim())));\n Policy.addMembersToWorkspace(filteredLogins, this.state.welcomeNote, this.props.route.params.policyID);\n Navigation.goBack();\n });\n }\n\n /**\n * @returns {Boolean}\n */\n validate() {\n const errors = {};\n if (this.state.selectedOptions.length <= 0) {\n errors.noUserSelected = true;\n }\n\n Policy.setWorkspaceErrors(this.props.route.params.policyID, errors);\n return _.size(errors) <= 0;\n }\n\n render() {\n const sections = this.getSections();\n const headerMessage = OptionsListUtils.getHeaderMessage(\n this.state.personalDetails.length !== 0,\n Boolean(this.state.userToInvite),\n this.state.searchTerm,\n );\n const policyName = lodashGet(this.props.policy, 'name');\n\n return (\n \n {({didScreenTransitionEnd}) => (\n Navigation.navigate(ROUTES.SETTINGS_WORKSPACES)}\n >\n \n this.clearErrors(true)}\n shouldShowGetAssistanceButton\n guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_MEMBERS}\n shouldShowBackButton\n onBackButtonPress={() => Navigation.goBack()}\n />\n \n {didScreenTransitionEnd ? (\n \n ) : (\n \n )}\n \n \n \n this.setState({welcomeNote: text})}\n />\n \n \n \n \n \n {this.props.translate('common.privacy')}\n \n \n \n \n \n \n )}\n \n );\n }\n}\n\nWorkspaceInvitePage.propTypes = propTypes;\nWorkspaceInvitePage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withPolicy,\n withNetwork(),\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n }),\n)(WorkspaceInvitePage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport * as Report from '../../libs/actions/Report';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport styles from '../../styles/styles';\nimport RoomNameInput from '../../components/RoomNameInput';\nimport Picker from '../../components/Picker';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\nimport Text from '../../components/Text';\nimport Permissions from '../../libs/Permissions';\nimport Log from '../../libs/Log';\nimport * as ErrorUtils from '../../libs/ErrorUtils';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport Form from '../../components/Form';\nimport shouldDelayFocus from '../../libs/shouldDelayFocus';\n\nconst propTypes = {\n /** All reports shared with the user */\n reports: PropTypes.shape({\n /** The report name */\n reportName: PropTypes.string,\n\n /** The report type */\n type: PropTypes.string,\n\n /** ID of the policy */\n policyID: PropTypes.string,\n }),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** The list of policies the user has access to. */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The policy type */\n type: PropTypes.oneOf(_.values(CONST.POLICY.TYPE)),\n\n /** The name of the policy */\n name: PropTypes.string,\n\n /** The ID of the policy */\n id: PropTypes.string,\n })),\n\n ...withLocalizePropTypes,\n};\nconst defaultProps = {\n betas: [],\n reports: {},\n policies: {},\n};\n\nclass WorkspaceNewRoomPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n visibilityDescription: this.props.translate('newRoomPage.restrictedDescription'),\n };\n\n this.validate = this.validate.bind(this);\n this.submit = this.submit.bind(this);\n this.updateVisibilityDescription = this.updateVisibilityDescription.bind(this);\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n */\n submit(values) {\n const policyID = this.props.policies[`${ONYXKEYS.COLLECTION.POLICY}${values.policyID}`];\n Report.addPolicyReport(policyID, values.roomName, values.visibility);\n }\n\n /**\n * @param {String} visibility - form input value passed by the Form component\n */\n updateVisibilityDescription(visibility) {\n const visibilityDescription = this.props.translate(`newRoomPage.${visibility}Description`);\n if (visibilityDescription === this.state.visibilityDescription) {\n return;\n }\n this.setState({visibilityDescription});\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Boolean}\n */\n validate(values) {\n const errors = {};\n\n if (!values.roomName || values.roomName === CONST.POLICY.ROOM_PREFIX) {\n // We error if the user doesn't enter a room name or left blank\n ErrorUtils.addErrorMessage(errors, 'roomName', this.props.translate('newRoomPage.pleaseEnterRoomName'));\n } else if (values.roomName !== CONST.POLICY.ROOM_PREFIX && !ValidationUtils.isValidRoomName(values.roomName)) {\n // We error if the room name has invalid characters\n ErrorUtils.addErrorMessage(errors, 'roomName', this.props.translate('newRoomPage.roomNameInvalidError'));\n } else if (ValidationUtils.isReservedRoomName(values.roomName)) {\n // Certain names are reserved for default rooms and should not be used for policy rooms.\n ErrorUtils.addErrorMessage(errors, 'roomName', this.props.translate('newRoomPage.roomNameReservedError', {reservedName: values.roomName}));\n } else if (ValidationUtils.isExistingRoomName(values.roomName, this.props.reports, values.policyID)) {\n // Certain names are reserved for default rooms and should not be used for policy rooms.\n ErrorUtils.addErrorMessage(errors, 'roomName', this.props.translate('newRoomPage.roomAlreadyExistsError'));\n }\n\n if (!values.policyID) {\n errors.policyID = this.props.translate('newRoomPage.pleaseSelectWorkspace');\n }\n\n return errors;\n }\n\n render() {\n if (!Permissions.canUsePolicyRooms(this.props.betas)) {\n Log.info('Not showing create Policy Room page since user is not on policy rooms beta');\n Navigation.dismissModal();\n return null;\n }\n\n // Workspaces are policies with type === 'free'\n const workspaceOptions = _.map(\n _.filter(this.props.policies, policy => policy && policy.type === CONST.POLICY.TYPE.FREE),\n policy => ({label: policy.name, key: policy.id, value: policy.id}),\n );\n\n const visibilityOptions = _.map(_.filter(_.values(CONST.REPORT.VISIBILITY), visibilityOption => visibilityOption !== CONST.REPORT.VISIBILITY.PUBLIC_ANNOUNCE), visibilityOption => ({\n label: this.props.translate(`newRoomPage.visibilityOptions.${visibilityOption}`),\n value: visibilityOption,\n description: this.props.translate(`newRoomPage.${visibilityOption}Description`),\n }));\n\n return (\n \n Navigation.dismissModal()}\n />\n \n \n \n \n \n \n \n \n \n \n \n {this.state.visibilityDescription}\n \n \n \n );\n }\n}\n\nWorkspaceNewRoomPage.propTypes = propTypes;\nWorkspaceNewRoomPage.defaultProps = defaultProps;\n\nexport default compose(\n withOnyx({\n betas: {\n key: ONYXKEYS.BETAS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n }),\n withLocalize,\n)(WorkspaceNewRoomPage);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport ReimbursementAccountLoadingIndicator from '../../components/ReimbursementAccountLoadingIndicator';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CONST from '../../CONST';\nimport BankAccount from '../../libs/models/BankAccount';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport styles from '../../styles/styles';\nimport getPlaidOAuthReceivedRedirectURI from '../../libs/getPlaidOAuthReceivedRedirectURI';\nimport Text from '../../components/Text';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport BankAccountStep from './BankAccountStep';\nimport CompanyStep from './CompanyStep';\nimport ContinueBankAccountSetup from './ContinueBankAccountSetup';\nimport RequestorStep from './RequestorStep';\nimport ValidationStep from './ValidationStep';\nimport ACHContractStep from './ACHContractStep';\nimport EnableStep from './EnableStep';\nimport ROUTES from '../../ROUTES';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport * as ReimbursementAccountProps from './reimbursementAccountPropTypes';\nimport reimbursementAccountDraftPropTypes from './ReimbursementAccountDraftPropTypes';\nimport withPolicy from '../workspace/withPolicy';\n\nconst propTypes = {\n /** Plaid SDK token to use to initialize the widget */\n plaidLinkToken: PropTypes.string,\n\n /** ACH data for the withdrawal account actively being set up */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes,\n\n /** The draft values of the bank account being setup */\n reimbursementAccountDraft: reimbursementAccountDraftPropTypes,\n\n /** The token required to initialize the Onfido SDK */\n onfidoToken: PropTypes.string,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** Current session for the user */\n session: PropTypes.shape({\n /** User login */\n email: PropTypes.string,\n }),\n\n /** Route object from navigation */\n route: PropTypes.shape({\n /** Params that are passed into the route */\n params: PropTypes.shape({\n /** A step to navigate to if we need to drop the user into a specific point in the flow */\n stepToOpen: PropTypes.string,\n policyID: PropTypes.string,\n }),\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountDefaultProps,\n reimbursementAccountDraft: {},\n onfidoToken: '',\n plaidLinkToken: '',\n session: {\n email: null,\n },\n route: {\n params: {\n stepToOpen: '',\n policyID: '',\n },\n },\n};\n\nclass ReimbursementAccountPage extends React.Component {\n constructor(props) {\n super(props);\n this.continue = this.continue.bind(this);\n this.getDefaultStateForField = this.getDefaultStateForField.bind(this);\n this.goBack = this.goBack.bind(this);\n const achData = lodashGet(this.props.reimbursementAccount, 'achData', {});\n const hasInProgressVBBA = achData.bankAccountID && achData.state !== BankAccount.STATE.OPEN && achData.state !== BankAccount.STATE.LOCKED;\n\n this.state = {\n shouldHideContinueSetupButton: !hasInProgressVBBA,\n };\n }\n\n componentDidMount() {\n this.fetchData();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.network.isOffline && !this.props.network.isOffline) {\n this.fetchData();\n }\n const currentStep = lodashGet(this.props.reimbursementAccount, 'achData.currentStep') || CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT;\n const previousStep = lodashGet(prevProps.reimbursementAccount, 'achData.currentStep') || CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT;\n if (currentStep === previousStep) {\n return;\n }\n\n // When the step changes we will navigate to update the route params. This is mostly cosmetic as we only use\n // the route params when the component first mounts to jump to a specific route instead of picking up where the\n // user left off in the flow.\n BankAccounts.hideBankAccountErrors();\n Navigation.navigate(ROUTES.getBankAccountRoute(\n this.getRouteForCurrentStep(currentStep), lodashGet(this.props.route.params, 'policyID'),\n ));\n }\n\n /**\n * @param {String} fieldName\n * @param {*} defaultValue\n *\n * @returns {*}\n */\n getDefaultStateForField(fieldName, defaultValue = '') {\n return lodashGet(this.props.reimbursementAccount, ['achData', fieldName], defaultValue);\n }\n\n /**\n * We can pass stepToOpen in the URL to force which step to show.\n * Mainly needed when user finished the flow in verifying state, and Ops ask them to modify some fields from a specific step.\n * @returns {String}\n */\n getStepToOpenFromRouteParams() {\n switch (lodashGet(this.props.route, ['params', 'stepToOpen'])) {\n case 'new':\n return CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT;\n case 'company':\n return CONST.BANK_ACCOUNT.STEP.COMPANY;\n case 'personal-information':\n return CONST.BANK_ACCOUNT.STEP.REQUESTOR;\n case 'contract':\n return CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT;\n case 'validate':\n return CONST.BANK_ACCOUNT.STEP.VALIDATION;\n case 'enable':\n return CONST.BANK_ACCOUNT.STEP.ENABLE;\n default:\n return '';\n }\n }\n\n /**\n * @param {String} currentStep\n * @returns {String}\n */\n getRouteForCurrentStep(currentStep) {\n switch (currentStep) {\n case CONST.BANK_ACCOUNT.STEP.COMPANY:\n return 'company';\n case CONST.BANK_ACCOUNT.STEP.REQUESTOR:\n return 'personal-information';\n case CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT:\n return 'contract';\n case CONST.BANK_ACCOUNT.STEP.VALIDATION:\n return 'validate';\n case CONST.BANK_ACCOUNT.STEP.ENABLE:\n return 'enable';\n case CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT:\n default:\n return 'new';\n }\n }\n\n /**\n * Retrieve verified business bank account currently being set up.\n * @param {boolean} ignoreLocalCurrentStep Pass true if you want the last \"updated\" view (from db), not the last \"viewed\" view (from onyx).\n */\n fetchData(ignoreLocalCurrentStep) {\n // Show loader right away, as optimisticData might be set only later in case multiple calls are in the queue\n BankAccounts.setReimbursementAccountLoading(true);\n\n // We can specify a step to navigate to by using route params when the component mounts.\n // We want to use the same stepToOpen variable when the network state changes because we can be redirected to a different step when the account refreshes.\n const stepToOpen = this.getStepToOpenFromRouteParams();\n const achData = lodashGet(this.props.reimbursementAccount, 'achData', {});\n const subStep = achData.subStep || '';\n const localCurrentStep = achData.currentStep || '';\n BankAccounts.openReimbursementAccountPage(stepToOpen, subStep, ignoreLocalCurrentStep ? '' : localCurrentStep);\n }\n\n continue() {\n this.setState({\n shouldHideContinueSetupButton: true,\n });\n this.fetchData(true);\n }\n\n goBack() {\n const achData = lodashGet(this.props.reimbursementAccount, 'achData', {});\n const currentStep = achData.currentStep || CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT;\n const subStep = achData.subStep;\n const shouldShowOnfido = this.props.onfidoToken && !achData.isOnfidoSetupComplete;\n const hasInProgressVBBA = achData.bankAccountID && achData.state !== BankAccount.STATE.OPEN && achData.state !== BankAccount.STATE.LOCKED;\n switch (currentStep) {\n case CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT:\n if (hasInProgressVBBA) {\n this.setState({shouldHideContinueSetupButton: false});\n }\n if (subStep) {\n BankAccounts.setBankAccountSubStep(null);\n } else {\n Navigation.goBack();\n }\n break;\n case CONST.BANK_ACCOUNT.STEP.COMPANY:\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT, {subStep: CONST.BANK_ACCOUNT.SUBSTEP.MANUAL});\n break;\n case CONST.BANK_ACCOUNT.STEP.REQUESTOR:\n if (shouldShowOnfido) {\n BankAccounts.clearOnfidoToken();\n } else {\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.COMPANY);\n }\n break;\n case CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT:\n BankAccounts.clearOnfidoToken();\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR);\n break;\n case CONST.BANK_ACCOUNT.STEP.VALIDATION:\n if (_.contains([BankAccount.STATE.VERIFYING, BankAccount.STATE.SETUP], achData.state)) {\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT);\n } else if (achData.state === BankAccount.STATE.PENDING) {\n this.setState({\n shouldHideContinueSetupButton: false,\n });\n } else {\n Navigation.goBack();\n }\n break;\n default: Navigation.goBack();\n }\n }\n\n render() {\n // The SetupWithdrawalAccount flow allows us to continue the flow from various points depending on where the\n // user left off. This view will refer to the achData as the single source of truth to determine which route to\n // display. We can also specify a specific route to navigate to via route params when the component first\n // mounts which will set the achData.currentStep after the account data is fetched and overwrite the logical\n // next step.\n const achData = lodashGet(this.props.reimbursementAccount, 'achData', {});\n const currentStep = achData.currentStep || CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT;\n const policyName = lodashGet(this.props.policy, 'name');\n\n // Don't show the loading indicator if we're offline and restarted the bank account setup process\n if (this.props.reimbursementAccount.isLoading && !(this.props.network.isOffline && currentStep === CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT)) {\n const isSubmittingVerificationsData = _.contains([\n CONST.BANK_ACCOUNT.STEP.COMPANY,\n CONST.BANK_ACCOUNT.STEP.REQUESTOR,\n CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT,\n ], currentStep);\n return (\n \n );\n }\n\n // Show the \"Continue with setup\" button if a bank account setup is already in progress and no specific further step was passed in the url\n // We'll show the workspace bank account reset modal if the user wishes to start over\n if (!this.state.shouldHideContinueSetupButton\n && Boolean(achData.bankAccountID)\n && achData.state !== BankAccount.STATE.OPEN\n && achData.state !== BankAccount.STATE.LOCKED\n && (\n _.contains([CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT, ''], this.getStepToOpenFromRouteParams())\n || achData.state === BankAccount.STATE.PENDING\n )) {\n return (\n this.setState({shouldHideContinueSetupButton: true})}\n policyName={policyName}\n />\n );\n }\n\n let errorComponent;\n const userHasPhonePrimaryEmail = Str.endsWith(this.props.session.email, CONST.SMS.DOMAIN);\n\n if (userHasPhonePrimaryEmail) {\n errorComponent = (\n \n {this.props.translate('bankAccount.hasPhoneLoginError')}\n \n );\n }\n\n const throttledDate = lodashGet(this.props.reimbursementAccount, 'throttledDate');\n if (throttledDate) {\n errorComponent = (\n \n \n {this.props.translate('bankAccount.hasBeenThrottledError')}\n \n \n );\n }\n\n if (errorComponent) {\n return (\n \n \n {errorComponent}\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT) {\n return (\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.COMPANY) {\n return (\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.REQUESTOR) {\n const shouldShowOnfido = this.props.onfidoToken && !achData.isOnfidoSetupComplete;\n return (\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.ACH_CONTRACT) {\n return (\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.VALIDATION) {\n return (\n \n );\n }\n\n if (currentStep === CONST.BANK_ACCOUNT.STEP.ENABLE) {\n return (\n \n );\n }\n }\n}\n\nReimbursementAccountPage.propTypes = propTypes;\nReimbursementAccountPage.defaultProps = defaultProps;\n\nexport default compose(\n withNetwork(),\n withOnyx({\n reimbursementAccount: {\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT,\n },\n reimbursementAccountDraft: {\n key: ONYXKEYS.REIMBURSEMENT_ACCOUNT_DRAFT,\n },\n session: {\n key: ONYXKEYS.SESSION,\n },\n plaidLinkToken: {\n key: ONYXKEYS.PLAID_LINK_TOKEN,\n },\n onfidoToken: {\n key: ONYXKEYS.ONFIDO_TOKEN,\n },\n }),\n withLocalize,\n withPolicy,\n)(ReimbursementAccountPage);\n","import React from 'react';\nimport {StyleSheet, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Lottie from 'lottie-react-native';\nimport ReviewingBankInfoAnimation from '../../assets/animations/ReviewingBankInfo.json';\nimport styles from '../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport Text from './Text';\nimport HeaderWithCloseButton from './HeaderWithCloseButton';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ScreenWrapper from './ScreenWrapper';\nimport FullScreenLoadingIndicator from './FullscreenLoadingIndicator';\nimport FullPageOfflineBlockingView from './BlockingViews/FullPageOfflineBlockingView';\nimport compose from '../libs/compose';\nimport {withNetwork} from './OnyxProvider';\n\nconst propTypes = {\n /** Whether the user is submitting verifications data */\n isSubmittingVerificationsData: PropTypes.bool.isRequired,\n\n /** Method to trigger when pressing back button of the header */\n onBackButtonPress: PropTypes.func.isRequired,\n ...withLocalizePropTypes,\n};\n\nconst ReimbursementAccountLoadingIndicator = props => (\n \n \n \n {props.isSubmittingVerificationsData ? (\n \n \n \n \n {props.translate('reimbursementAccountLoadingAnimation.explanationLine')}\n \n \n \n ) : (\n \n )}\n \n \n);\n\nReimbursementAccountLoadingIndicator.propTypes = propTypes;\nReimbursementAccountLoadingIndicator.displayName = 'ReimbursementAccountLoadingIndicator';\n\nexport default compose(\n withLocalize,\n withNetwork(),\n)(ReimbursementAccountLoadingIndicator);\n\n","import React from 'react';\nimport {\n View, ScrollView, TouchableWithoutFeedback, Linking,\n} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport BankAccountManualStep from './BankAccountManualStep';\nimport BankAccountPlaidStep from './BankAccountPlaidStep';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport MenuItem from '../../components/MenuItem';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport styles from '../../styles/styles';\nimport TextLink from '../../components/TextLink';\nimport Icon from '../../components/Icon';\nimport colors from '../../styles/colors';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CONST from '../../CONST';\nimport withLocalize from '../../components/withLocalize';\nimport Text from '../../components/Text';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport compose from '../../libs/compose';\nimport Section from '../../components/Section';\nimport * as Illustrations from '../../components/Icon/Illustrations';\nimport getPlaidDesktopMessage from '../../libs/getPlaidDesktopMessage';\nimport CONFIG from '../../CONFIG';\nimport ROUTES from '../../ROUTES';\nimport Button from '../../components/Button';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** The OAuth URI + stateID needed to re-initialize the PlaidLink after the user logs into their bank */\n receivedRedirectURI: PropTypes.string,\n\n /** During the OAuth flow we need to use the plaidLink token that we initially connected with */\n plaidLinkOAuthToken: PropTypes.string,\n\n /** Object with various information about the user */\n user: PropTypes.shape({\n /** Is the user account validated? */\n validated: PropTypes.bool,\n }),\n\n /** If the plaid button has been disabled */\n isPlaidDisabled: PropTypes.bool,\n\n /* The workspace name */\n policyName: PropTypes.string,\n};\n\nconst defaultProps = {\n receivedRedirectURI: null,\n plaidLinkOAuthToken: '',\n user: {},\n isPlaidDisabled: false,\n policyName: '',\n};\n\nconst BankAccountStep = (props) => {\n let subStep = lodashGet(props.reimbursementAccount, 'achData.subStep', '');\n const shouldReinitializePlaidLink = props.plaidLinkOAuthToken && props.receivedRedirectURI && subStep !== CONST.BANK_ACCOUNT.SUBSTEP.MANUAL;\n if (shouldReinitializePlaidLink) {\n subStep = CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID;\n }\n const plaidDesktopMessage = getPlaidDesktopMessage();\n const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.BANK_ACCOUNT}`;\n\n if (subStep === CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL) {\n return (\n \n );\n }\n\n if (subStep === CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID) {\n return (\n \n );\n }\n\n return (\n \n \n \n \n \n \n {props.translate('bankAccount.toGetStarted')}\n \n {Boolean(plaidDesktopMessage) && (\n \n \n {props.translate(plaidDesktopMessage)}\n \n \n )}\n BankAccounts.openPlaidView()}\n disabled={props.isPlaidDisabled || !props.user.validated}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n success\n large\n />\n {Boolean(props.error) && (\n \n {props.error}\n \n )}\n \n BankAccounts.setBankAccountSubStep(CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL)}\n shouldShowRightIcon\n wrapperStyle={[styles.cardMenuItem]}\n />\n \n \n {!props.user.validated && (\n \n \n \n {props.translate('bankAccount.validateAccountError')}\n \n \n )}\n \n \n {props.translate('common.privacy')}\n \n Linking.openURL('https://community.expensify.com/discussion/5677/deep-dive-how-expensify-protects-your-information/')}\n >\n \n \n {props.translate('bankAccount.yourDataIsSecure')}\n \n \n \n \n \n \n \n \n \n \n\n );\n};\n\nBankAccountStep.propTypes = propTypes;\nBankAccountStep.defaultProps = defaultProps;\nBankAccountStep.displayName = 'BankAccountStep';\n\nexport default compose(\n withLocalize,\n withOnyx({\n user: {\n key: ONYXKEYS.USER,\n },\n isPlaidDisabled: {\n key: ONYXKEYS.IS_PLAID_DISABLED,\n },\n }),\n)(BankAccountStep);\n","import React from 'react';\nimport {Image} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport CONST from '../../CONST';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport Text from '../../components/Text';\nimport TextInput from '../../components/TextInput';\nimport styles from '../../styles/styles';\nimport CheckboxWithLabel from '../../components/CheckboxWithLabel';\nimport TextLink from '../../components/TextLink';\nimport withLocalize from '../../components/withLocalize';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport exampleCheckImage from './exampleCheckImage';\nimport Form from '../../components/Form';\nimport shouldDelayFocus from '../../libs/shouldDelayFocus';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n};\n\nclass BankAccountManualStep extends React.Component {\n constructor(props) {\n super(props);\n this.submit = this.submit.bind(this);\n this.validate = this.validate.bind(this);\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Object}\n */\n validate(values) {\n const errorFields = {};\n const routingNumber = values.routingNumber && values.routingNumber.trim();\n\n if (\n !values.accountNumber\n || (!CONST.BANK_ACCOUNT.REGEX.US_ACCOUNT_NUMBER.test(values.accountNumber.trim()) && !CONST.BANK_ACCOUNT.REGEX.MASKED_US_ACCOUNT_NUMBER.test(values.accountNumber.trim()))\n ) {\n errorFields.accountNumber = this.props.translate('bankAccount.error.accountNumber');\n }\n if (!routingNumber || !CONST.BANK_ACCOUNT.REGEX.SWIFT_BIC.test(routingNumber) || !ValidationUtils.isValidRoutingNumber(routingNumber)) {\n errorFields.routingNumber = this.props.translate('bankAccount.error.routingNumber');\n }\n if (!values.acceptTerms) {\n errorFields.acceptTerms = this.props.translate('common.error.acceptTerms');\n }\n\n return errorFields;\n }\n\n submit(values) {\n BankAccounts.connectBankAccountManually(\n lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0,\n values.accountNumber,\n values.routingNumber,\n this.props.getDefaultStateForField('plaidMask'),\n );\n }\n\n render() {\n const shouldDisableInputs = Boolean(lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID'));\n\n return (\n \n \n \n \n {this.props.translate('bankAccount.checkHelpLine')}\n \n \n \n \n (\n \n {this.props.translate('common.iAcceptThe')}\n e.preventDefault()}\n >\n {this.props.translate('common.expensifyTermsOfService')}\n \n \n )}\n defaultValue={this.props.getDefaultStateForField('acceptTerms', false)}\n shouldSaveDraft\n />\n \n \n );\n }\n}\n\nBankAccountManualStep.propTypes = propTypes;\nexport default withLocalize(BankAccountManualStep);\n","import exampleCheckImageEn from '../../../assets/images/example-check-image-en.png';\nimport exampleCheckImageEs from '../../../assets/images/example-check-image-es.png';\nimport CONST from '../../CONST';\n\nconst images = {\n [CONST.LOCALES.EN]: exampleCheckImageEn,\n [CONST.LOCALES.ES]: exampleCheckImageEs,\n};\n\nfunction exampleCheckImage(languageKey = CONST.LOCALES.EN) {\n return images[languageKey];\n}\n\nexport default exampleCheckImage;\n","","","import PropTypes from 'prop-types';\nimport * as ReimbursementAccountProps from './reimbursementAccountPropTypes';\nimport reimbursementAccountDraftPropTypes from './ReimbursementAccountDraftPropTypes';\nimport {withLocalizePropTypes} from '../../components/withLocalize';\n\nexport default {\n /** The bank account currently in setup */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n /** The draft values of the bank account being setup */\n reimbursementAccountDraft: reimbursementAccountDraftPropTypes.isRequired,\n\n /** Goes to the previous step */\n onBackButtonPress: PropTypes.func.isRequired,\n\n /** Get a field value from Onyx reimbursementAccountDraft or reimbursementAccount */\n getDefaultStateForField: PropTypes.func.isRequired,\n\n ...withLocalizePropTypes,\n};\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n bankAccountID: PropTypes.number,\n\n /** Props needed for BankAccountStep */\n accountNumber: PropTypes.string,\n routingNumber: PropTypes.string,\n acceptTerms: PropTypes.bool,\n plaidAccountID: PropTypes.string,\n plaidMask: PropTypes.string,\n\n /** Props needed for CompanyStep */\n companyName: PropTypes.string,\n addressStreet: PropTypes.string,\n addressCity: PropTypes.string,\n addressState: PropTypes.string,\n addressZipCode: PropTypes.string,\n companyPhone: PropTypes.string,\n website: PropTypes.string,\n companyTaxID: PropTypes.string,\n incorporationType: PropTypes.string,\n incorporationDate: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\n incorporationState: PropTypes.string,\n hasNoConnectionToCannabis: PropTypes.bool,\n\n /** Props needed for RequestorStep */\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n requestorAddressStreet: PropTypes.string,\n requestorAddressCity: PropTypes.string,\n requestorAddressState: PropTypes.string,\n requestorAddressZipCode: PropTypes.string,\n dob: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\n ssnLast4: PropTypes.string,\n isControllingOfficer: PropTypes.bool,\n isOnfidoSetupComplete: PropTypes.bool,\n\n /** Props needed for ACHContractStep */\n ownsMoreThan25Percent: PropTypes.bool,\n hasOtherBeneficialOwners: PropTypes.bool,\n acceptTermsAndConditions: PropTypes.bool,\n certifyTrueInformation: PropTypes.bool,\n beneficialOwners: PropTypes.arrayOf(PropTypes.string),\n});\n","import _ from 'underscore';\nimport React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport CONST from '../../CONST';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport withLocalize from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport AddPlaidBankAccount from '../../components/AddPlaidBankAccount';\nimport * as ReimbursementAccount from '../../libs/actions/ReimbursementAccount';\nimport Form from '../../components/Form';\nimport styles from '../../styles/styles';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport * as PlaidDataProps from './plaidDataPropTypes';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** Contains plaid data */\n plaidData: PlaidDataProps.plaidDataPropTypes,\n\n /** The OAuth URI + stateID needed to re-initialize the PlaidLink after the user logs into their bank */\n receivedRedirectURI: PropTypes.string,\n\n /** During the OAuth flow we need to use the plaidLink token that we initially connected with */\n plaidLinkOAuthToken: PropTypes.string,\n};\n\nconst defaultProps = {\n plaidData: PlaidDataProps.plaidDataDefaultProps,\n receivedRedirectURI: null,\n plaidLinkOAuthToken: '',\n};\n\nclass BankAccountPlaidStep extends React.Component {\n constructor(props) {\n super(props);\n this.submit = this.submit.bind(this);\n }\n\n submit() {\n const selectedPlaidBankAccount = _.findWhere(lodashGet(this.props.plaidData, 'bankAccounts', []), {\n plaidAccountID: lodashGet(this.props.reimbursementAccountDraft, 'plaidAccountID', ''),\n });\n\n const bankAccountData = {\n routingNumber: selectedPlaidBankAccount.routingNumber,\n accountNumber: selectedPlaidBankAccount.accountNumber,\n plaidMask: selectedPlaidBankAccount.mask,\n isSavings: selectedPlaidBankAccount.isSavings,\n bankName: lodashGet(this.props.plaidData, 'bankName') || '',\n plaidAccountID: selectedPlaidBankAccount.plaidAccountID,\n plaidAccessToken: lodashGet(this.props.plaidData, 'plaidAccessToken') || '',\n };\n ReimbursementAccount.updateReimbursementAccountDraft(bankAccountData);\n\n const bankAccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0;\n BankAccounts.connectBankAccountWithPlaid(bankAccountID, bankAccountData);\n }\n\n render() {\n const bankAccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0;\n const selectedPlaidAccountID = lodashGet(this.props.reimbursementAccountDraft, 'plaidAccountID', '');\n\n return (\n \n \n ({})}\n onSubmit={this.submit}\n scrollContextEnabled\n submitButtonText={this.props.translate('common.saveAndContinue')}\n style={[styles.mh5, styles.flexGrow1]}\n isSubmitButtonVisible={Boolean(selectedPlaidAccountID) && !_.isEmpty(lodashGet(this.props.plaidData, 'bankAccounts'))}\n >\n {\n ReimbursementAccount.updateReimbursementAccountDraft({plaidAccountID});\n }}\n plaidData={this.props.plaidData}\n onExitPlaid={() => BankAccounts.setBankAccountSubStep(null)}\n receivedRedirectURI={this.props.receivedRedirectURI}\n plaidLinkOAuthToken={this.props.plaidLinkOAuthToken}\n allowDebit\n bankAccountID={bankAccountID}\n selectedPlaidAccountID={selectedPlaidAccountID}\n />\n \n \n );\n }\n}\n\nBankAccountPlaidStep.propTypes = propTypes;\nBankAccountPlaidStep.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withOnyx({\n plaidData: {\n key: ONYXKEYS.PLAID_DATA,\n },\n }),\n)(BankAccountPlaidStep);\n","export default () => {};\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View} from 'react-native';\nimport Str from 'expensify-common/lib/str';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport CONST from '../../CONST';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport Text from '../../components/Text';\nimport DatePicker from '../../components/DatePicker';\nimport TextInput from '../../components/TextInput';\nimport styles from '../../styles/styles';\nimport CheckboxWithLabel from '../../components/CheckboxWithLabel';\nimport TextLink from '../../components/TextLink';\nimport StatePicker from '../../components/StatePicker';\nimport withLocalize from '../../components/withLocalize';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport * as LoginUtils from '../../libs/LoginUtils';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Picker from '../../components/Picker';\nimport AddressForm from './AddressForm';\nimport Form from '../../components/Form';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n /** Currently logged in user email */\n email: PropTypes.string,\n }),\n\n /** Object with various information about the user */\n user: PropTypes.shape({\n /** Whether or not the user is on a public domain email account or not */\n isFromPublicDomain: PropTypes.bool,\n }),\n};\n\nconst defaultProps = {\n session: {\n email: null,\n },\n user: {},\n};\n\nclass CompanyStep extends React.Component {\n constructor(props) {\n super(props);\n\n this.submit = this.submit.bind(this);\n this.validate = this.validate.bind(this);\n\n this.defaultWebsite = lodashGet(props, 'user.isFromPublicDomain', false)\n ? 'https://'\n : `https://www.${Str.extractEmailDomain(props.session.email, '')}`;\n }\n\n componentWillUnmount() {\n BankAccounts.resetReimbursementAccount();\n }\n\n /**\n * @param {Array} fieldNames\n *\n * @returns {*}\n */\n getBankAccountFields(fieldNames) {\n return {\n ..._.pick(lodashGet(this.props.reimbursementAccount, 'achData'), ...fieldNames),\n ..._.pick(this.props.reimbursementAccountDraft, ...fieldNames),\n };\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Object} - Object containing the errors for each inputID, e.g. {inputID1: error1, inputID2: error2}\n */\n validate(values) {\n const errors = {};\n\n if (!values.companyName) {\n errors.companyName = this.props.translate('bankAccount.error.companyName');\n }\n\n if (!values.addressStreet || !ValidationUtils.isValidAddress(values.addressStreet)) {\n errors.addressStreet = this.props.translate('bankAccount.error.addressStreet');\n }\n\n if (!values.addressZipCode || !ValidationUtils.isValidZipCode(values.addressZipCode)) {\n errors.addressZipCode = this.props.translate('bankAccount.error.zipCode');\n }\n\n if (!values.addressCity) {\n errors.addressCity = this.props.translate('bankAccount.error.addressCity');\n }\n\n if (!values.addressState) {\n errors.addressState = this.props.translate('bankAccount.error.addressState');\n }\n\n if (!values.companyPhone || !ValidationUtils.isValidUSPhone(values.companyPhone, true)) {\n errors.companyPhone = this.props.translate('bankAccount.error.phoneNumber');\n }\n\n if (!values.website || !ValidationUtils.isValidWebsite(values.website)) {\n errors.website = this.props.translate('bankAccount.error.website');\n }\n\n if (!values.companyTaxID || !ValidationUtils.isValidTaxID(values.companyTaxID)) {\n errors.companyTaxID = this.props.translate('bankAccount.error.taxID');\n }\n\n if (!values.incorporationType) {\n errors.incorporationType = this.props.translate('bankAccount.error.companyType');\n }\n\n if (!values.incorporationDate || !ValidationUtils.isValidDate(values.incorporationDate)) {\n errors.incorporationDate = this.props.translate('common.error.dateInvalid');\n } else if (!values.incorporationDate || !ValidationUtils.isValidPastDate(values.incorporationDate)) {\n errors.incorporationDate = this.props.translate('bankAccount.error.incorporationDateFuture');\n }\n\n if (!values.incorporationState) {\n errors.incorporationState = this.props.translate('bankAccount.error.incorporationState');\n }\n\n if (!values.hasNoConnectionToCannabis) {\n errors.hasNoConnectionToCannabis = this.props.translate('bankAccount.error.restrictedBusiness');\n }\n\n return errors;\n }\n\n submit(values) {\n const bankAccount = {\n bankAccountID: lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0,\n\n // Fields from BankAccount step\n ...this.getBankAccountFields(['routingNumber', 'accountNumber', 'bankName', 'plaidAccountID', 'plaidAccessToken', 'isSavings']),\n\n // Fields from Company step\n ...values,\n companyTaxID: values.companyTaxID.replace(CONST.REGEX.NON_NUMERIC, ''),\n companyPhone: LoginUtils.getPhoneNumberWithoutUSCountryCodeAndSpecialChars(values.companyPhone),\n };\n\n BankAccounts.updateCompanyInformationForBankAccount(bankAccount);\n }\n\n render() {\n const bankAccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID', 0);\n const shouldDisableCompanyName = Boolean(bankAccountID && this.props.getDefaultStateForField('companyName'));\n const shouldDisableCompanyTaxID = Boolean(bankAccountID && this.props.getDefaultStateForField('companyTaxID'));\n\n return (\n \n \n \n {this.props.translate('companyStep.subtitle')}\n \n \n \n \n \n \n ({value, label}))}\n placeholder={{value: '', label: '-'}}\n defaultValue={this.props.getDefaultStateForField('incorporationType')}\n shouldSaveDraft\n />\n \n \n \n \n \n \n \n (\n \n {`${this.props.translate('companyStep.confirmCompanyIsNot')} `}\n \n {`${this.props.translate('companyStep.listOfRestrictedBusinesses')}.`}\n \n \n )}\n style={[styles.mt4]}\n shouldSaveDraft\n />\n \n \n );\n }\n}\n\nCompanyStep.propTypes = propTypes;\nCompanyStep.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(CompanyStep);\n","import PropTypes from 'prop-types';\nimport React from 'react';\nimport {ScrollView} from 'react-native';\nimport _ from 'underscore';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport * as Illustrations from '../../components/Icon/Illustrations';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport Button from '../../components/Button';\nimport compose from '../../libs/compose';\nimport CONST from '../../CONST';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport MenuItem from '../../components/MenuItem';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport styles from '../../styles/styles';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport Section from '../../components/Section';\nimport Text from '../../components/Text';\nimport withPolicy from '../workspace/withPolicy';\nimport * as ReimbursementAccountProps from './reimbursementAccountPropTypes';\nimport WorkspaceResetBankAccountModal from '../workspace/WorkspaceResetBankAccountModal';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\n\nconst propTypes = {\n /** Bank account currently in setup */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n /** Callback to continue to the next step of the setup */\n continue: PropTypes.func.isRequired,\n\n /** Callback to reset the bank account */\n startOver: PropTypes.func.isRequired,\n\n /** Policy values needed in the component */\n policy: PropTypes.shape({\n name: PropTypes.string,\n }).isRequired,\n\n /* The workspace name */\n policyName: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {policyName: ''};\n\nconst ContinueBankAccountSetup = props => (\n \n \n \n \n \n \n {props.translate('workspace.bankAccount.youreAlmostDone')}\n \n \n BankAccounts.requestResetFreePlanBankAccount()}\n shouldShowRightIcon\n wrapperStyle={[styles.cardMenuItem]}\n />\n \n \n \n\n {props.reimbursementAccount.shouldShowResetModal && (\n \n )}\n \n);\n\nContinueBankAccountSetup.propTypes = propTypes;\nContinueBankAccountSetup.defaultProps = defaultProps;\nContinueBankAccountSetup.displayName = 'ContinueBankAccountSetup';\n\nexport default compose(\n withPolicy,\n withLocalize,\n)(ContinueBankAccountSetup);\n","import lodashGet from 'lodash/get';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ConfirmModal from '../../components/ConfirmModal';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport * as ReimbursementAccountProps from '../ReimbursementAccount/reimbursementAccountPropTypes';\nimport Text from '../../components/Text';\nimport styles from '../../styles/styles';\nimport BankAccount from '../../libs/models/BankAccount';\n\nconst propTypes = {\n /** Reimbursement account data */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n /** Callback when the user confirms resetting the workspace bank account */\n onConfirm: PropTypes.func,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n onConfirm: () => {},\n};\n\nconst WorkspaceResetBankAccountModal = (props) => {\n const achData = lodashGet(props.reimbursementAccount, 'achData') || {};\n const isInOpenState = achData.state === BankAccount.STATE.OPEN;\n const bankAccountID = achData.bankAccountID;\n const bankShortName = `${achData.addressName || ''} ${(achData.accountNumber || '').slice(-4)}`;\n\n return (\n \n {props.translate('workspace.bankAccount.disconnectYour')}\n \n {bankShortName}\n \n {props.translate('workspace.bankAccount.bankAccountAnyTransactions')}\n \n ) : props.translate('workspace.bankAccount.clearProgress')}\n danger\n onCancel={BankAccounts.cancelResetFreePlanBankAccount}\n onConfirm={() => {\n BankAccounts.resetFreePlanBankAccount(bankAccountID);\n props.onConfirm();\n }}\n shouldShowCancelButton\n isVisible\n />\n );\n};\n\nWorkspaceResetBankAccountModal.displayName = 'WorkspaceResetBankAccountModal';\nWorkspaceResetBankAccountModal.propTypes = propTypes;\nWorkspaceResetBankAccountModal.defaultProps = defaultProps;\n\nexport default withLocalize(WorkspaceResetBankAccountModal);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport styles from '../../styles/styles';\nimport withLocalize from '../../components/withLocalize';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport CONST from '../../CONST';\nimport TextLink from '../../components/TextLink';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CheckboxWithLabel from '../../components/CheckboxWithLabel';\nimport Text from '../../components/Text';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport IdentityForm from './IdentityForm';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport RequestorOnfidoStep from './RequestorOnfidoStep';\nimport Form from '../../components/Form';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** If we should show Onfido flow */\n shouldShowOnfido: PropTypes.bool.isRequired,\n};\n\nclass RequestorStep extends React.Component {\n constructor(props) {\n super(props);\n\n this.validate = this.validate.bind(this);\n this.submit = this.submit.bind(this);\n }\n\n /**\n * @param {Object} values\n * @returns {Object}\n */\n validate(values) {\n const errors = {};\n\n if (!ValidationUtils.isRequiredFulfilled(values.firstName)) {\n errors.firstName = this.props.translate('bankAccount.error.firstName');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.lastName)) {\n errors.lastName = this.props.translate('bankAccount.error.lastName');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.dob)) {\n errors.dob = this.props.translate('bankAccount.error.dob');\n }\n\n if (values.dob && !ValidationUtils.meetsAgeRequirements(values.dob)) {\n errors.dob = this.props.translate('bankAccount.error.age');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.ssnLast4) || !ValidationUtils.isValidSSNLastFour(values.ssnLast4)) {\n errors.ssnLast4 = this.props.translate('bankAccount.error.ssnLast4');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.requestorAddressStreet)) {\n errors.requestorAddressStreet = this.props.translate('bankAccount.error.address');\n }\n\n if (values.requestorAddressStreet && !ValidationUtils.isValidAddress(values.requestorAddressStreet)) {\n errors.requestorAddressStreet = this.props.translate('bankAccount.error.addressStreet');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.requestorAddressCity)) {\n errors.requestorAddressCity = this.props.translate('bankAccount.error.addressCity');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.requestorAddressState)) {\n errors.requestorAddressState = this.props.translate('bankAccount.error.addressState');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.requestorAddressZipCode) || !ValidationUtils.isValidZipCode(values.requestorAddressZipCode)) {\n errors.requestorAddressZipCode = this.props.translate('bankAccount.error.zipCode');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.isControllingOfficer)) {\n errors.isControllingOfficer = this.props.translate('requestorStep.isControllingOfficerError');\n }\n\n return errors;\n }\n\n submit(values) {\n const payload = {\n bankAccountID: lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0,\n ...values,\n };\n\n BankAccounts.updatePersonalInformationForBankAccount(payload);\n }\n\n render() {\n if (this.props.shouldShowOnfido) {\n return (\n \n );\n }\n\n return (\n \n \n \n {this.props.translate('requestorStep.subtitle')}\n \n \n {`${this.props.translate('requestorStep.learnMore')}`}\n \n {' | '}\n \n {`${this.props.translate('requestorStep.isMyDataSafe')}`}\n \n \n \n (\n \n \n {this.props.translate('requestorStep.isControllingOfficer')}\n \n \n )}\n style={[styles.mt4]}\n shouldSaveDraft\n />\n \n {this.props.translate('requestorStep.onFidoConditions')}\n \n {this.props.translate('onfidoStep.facialScan')}\n \n {', '}\n \n {this.props.translate('common.privacy')}\n \n {` ${this.props.translate('common.and')} `}\n \n {this.props.translate('common.termsOfService')}\n \n \n \n \n );\n }\n}\n\nRequestorStep.propTypes = propTypes;\n\nexport default withLocalize(RequestorStep);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport moment from 'moment/moment';\nimport _ from 'underscore';\nimport TextInput from '../../components/TextInput';\nimport styles from '../../styles/styles';\nimport CONST from '../../CONST';\nimport DatePicker from '../../components/DatePicker';\nimport AddressForm from './AddressForm';\n\nconst propTypes = {\n /** Style for wrapping View */\n style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),\n\n /** Callback fired when a field changes. Passes args as {[fieldName]: val} */\n onFieldChange: PropTypes.func,\n\n /** Form values */\n values: PropTypes.shape({\n /** First name field */\n firstName: PropTypes.string,\n\n /** Last name field */\n lastName: PropTypes.string,\n\n /** Address street field */\n street: PropTypes.string,\n\n /** Address city field */\n city: PropTypes.string,\n\n /** Address state field */\n state: PropTypes.string,\n\n /** Address zip code field */\n zipCode: PropTypes.string,\n\n /** Date of birth field */\n dob: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\n\n /** Last 4 digits of SSN */\n ssnLast4: PropTypes.string,\n }),\n\n /** Default values */\n defaultValues: PropTypes.shape({\n /** First name field */\n firstName: PropTypes.string,\n\n /** Last name field */\n lastName: PropTypes.string,\n\n /** Address street field */\n street: PropTypes.string,\n\n /** Address city field */\n city: PropTypes.string,\n\n /** Address state field */\n state: PropTypes.string,\n\n /** Address zip code field */\n zipCode: PropTypes.string,\n\n /** Date of birth field */\n dob: PropTypes.oneOfType([PropTypes.string, PropTypes.instanceOf(Date)]),\n\n /** Last 4 digits of SSN */\n ssnLast4: PropTypes.string,\n }),\n\n /** Any errors that can arise from form validation */\n errors: PropTypes.objectOf(PropTypes.bool),\n\n /** The map for inputID of the inputs */\n inputKeys: PropTypes.shape({\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n dob: PropTypes.string,\n ssnLast4: PropTypes.string,\n street: PropTypes.string,\n city: PropTypes.string,\n state: PropTypes.string,\n zipCode: PropTypes.string,\n }),\n\n /** Saves a draft of the input value when used in a form */\n shouldSaveDraft: PropTypes.bool,\n\n /** Returns translated string for given locale and phrase */\n translate: PropTypes.func.isRequired,\n};\n\nconst defaultProps = {\n style: {},\n values: {\n firstName: undefined,\n lastName: undefined,\n street: undefined,\n city: undefined,\n state: undefined,\n zipCode: undefined,\n dob: undefined,\n ssnLast4: undefined,\n },\n defaultValues: {\n firstName: undefined,\n lastName: undefined,\n street: undefined,\n city: undefined,\n state: undefined,\n zipCode: undefined,\n dob: undefined,\n ssnLast4: undefined,\n },\n errors: {},\n inputKeys: {\n firstName: '',\n lastName: '',\n street: '',\n city: '',\n state: '',\n zipCode: '',\n dob: '',\n ssnLast4: '',\n },\n shouldSaveDraft: false,\n onFieldChange: () => {},\n};\n\nconst IdentityForm = (props) => {\n // dob field has multiple validations/errors, we are handling it temporarily like this.\n const dobErrorText = (props.errors.dob ? props.translate('bankAccount.error.dob') : '')\n || (props.errors.dobAge ? props.translate('bankAccount.error.age') : '');\n const identityFormInputKeys = ['firstName', 'lastName', 'dob', 'ssnLast4'];\n\n const minDate = moment().subtract(CONST.DATE_BIRTH.MAX_AGE, 'Y').toDate();\n const maxDate = moment().subtract(CONST.DATE_BIRTH.MIN_AGE_FOR_PAYMENT, 'Y').toDate();\n\n return (\n \n \n \n props.onFieldChange({firstName: value})}\n errorText={props.errors.firstName ? props.translate('bankAccount.error.firstName') : ''}\n />\n \n \n props.onFieldChange({lastName: value})}\n errorText={props.errors.lastName ? props.translate('bankAccount.error.lastName') : ''}\n />\n \n \n props.onFieldChange({dob: value})}\n errorText={dobErrorText}\n minDate={minDate}\n maxDate={maxDate}\n />\n props.onFieldChange({ssnLast4: value})}\n errorText={props.errors.ssnLast4 ? props.translate('bankAccount.error.ssnLast4') : ''}\n maxLength={CONST.BANK_ACCOUNT.MAX_LENGTH.SSN}\n />\n \n \n );\n};\n\nIdentityForm.propTypes = propTypes;\nIdentityForm.defaultProps = defaultProps;\nIdentityForm.displayName = 'IdentityForm';\nexport default IdentityForm;\n","import React from 'react';\nimport {ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport styles from '../../styles/styles';\nimport withLocalize from '../../components/withLocalize';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Onfido from '../../components/Onfido';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Growl from '../../libs/Growl';\nimport CONST from '../../CONST';\nimport FullPageOfflineBlockingView from '../../components/BlockingViews/FullPageOfflineBlockingView';\nimport StepPropTypes from './StepPropTypes';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ScreenWrapper from '../../components/ScreenWrapper';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** The token required to initialize the Onfido SDK */\n onfidoToken: PropTypes.string,\n};\n\nconst defaultProps = {\n onfidoToken: null,\n};\n\nclass RequestorOnfidoStep extends React.Component {\n constructor(props) {\n super(props);\n this.submit = this.submit.bind(this);\n }\n\n submit(onfidoData) {\n BankAccounts.verifyIdentityForBankAccount(\n lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0,\n onfidoData,\n );\n\n BankAccounts.updateReimbursementAccountDraft({isOnfidoSetupComplete: true});\n }\n\n render() {\n return (\n \n \n \n \n {\n BankAccounts.clearOnfidoToken();\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR);\n }}\n onError={() => {\n // In case of any unexpected error we log it to the server, show a growl, and return the user back to the requestor step so they can try again.\n Growl.error(this.props.translate('onfidoStep.genericError'), 10000);\n BankAccounts.clearOnfidoToken();\n BankAccounts.goToWithdrawalAccountSetupStep(CONST.BANK_ACCOUNT.STEP.REQUESTOR);\n }}\n onSuccess={(onfidoData) => {\n this.submit(onfidoData);\n }}\n />\n \n \n \n );\n }\n}\n\nRequestorOnfidoStep.propTypes = propTypes;\nRequestorOnfidoStep.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n onfidoToken: {\n key: ONYXKEYS.ONFIDO_TOKEN,\n },\n }),\n)(RequestorOnfidoStep);\n","import lodashGet from 'lodash/get';\nimport React from 'react';\nimport {ScrollView, View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport Str from 'expensify-common/lib/str';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport compose from '../../libs/compose';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport * as Report from '../../libs/actions/Report';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport TextInput from '../../components/TextInput';\nimport Text from '../../components/Text';\nimport BankAccount from '../../libs/models/BankAccount';\nimport TextLink from '../../components/TextLink';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport EnableStep from './EnableStep';\nimport * as ReimbursementAccountProps from './reimbursementAccountPropTypes';\nimport Form from '../../components/Form';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport * as Illustrations from '../../components/Icon/Illustrations';\nimport Section from '../../components/Section';\nimport CONST from '../../CONST';\nimport Button from '../../components/Button';\nimport MenuItem from '../../components/MenuItem';\nimport WorkspaceResetBankAccountModal from '../workspace/WorkspaceResetBankAccountModal';\nimport Enable2FAPrompt from './Enable2FAPrompt';\nimport ScreenWrapper from '../../components/ScreenWrapper';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n\n /** Bank account currently in setup */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n onBackButtonPress: PropTypes.func.isRequired,\n\n /** User's account who is setting up bank account */\n account: PropTypes.shape({\n\n /** If user has Two factor authentication enabled */\n requiresTwoFactorAuth: PropTypes.bool,\n }),\n};\n\nconst defaultProps = {\n account: {\n requiresTwoFactorAuth: false,\n },\n};\n\nclass ValidationStep extends React.Component {\n constructor(props) {\n super(props);\n\n this.submit = this.submit.bind(this);\n this.validate = this.validate.bind(this);\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n * @returns {Object}\n */\n validate(values) {\n const errors = {};\n\n _.each(values, (value, key) => {\n const filteredValue = this.filterInput(value);\n if (ValidationUtils.isRequiredFulfilled(filteredValue)) {\n return;\n }\n errors[key] = this.props.translate('common.error.invalidAmount');\n });\n\n return errors;\n }\n\n /**\n * @param {Object} values - form input values passed by the Form component\n */\n submit(values) {\n const amount1 = this.filterInput(values.amount1);\n const amount2 = this.filterInput(values.amount2);\n const amount3 = this.filterInput(values.amount3);\n\n const validateCode = [amount1, amount2, amount3].join(',');\n\n // Send valid amounts to BankAccountAPI::validateBankAccount in Web-Expensify\n const bankaccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID');\n BankAccounts.validateBankAccount(bankaccountID, validateCode);\n }\n\n /**\n * Filter input for validation amount\n * Anything that isn't a number is returned as an empty string\n * Any dollar amount (e.g. 1.12) will be returned as 112\n *\n * @param {String} amount field input\n *\n * @returns {String}\n */\n filterInput(amount) {\n let value = amount ? amount.toString().trim() : '';\n if (value === '' || !Math.abs(Str.fromUSDToNumber(value)) || _.isNaN(Number(value))) {\n return '';\n }\n\n // If the user enters the values in dollars, convert it to the respective cents amount\n if (_.contains(value, '.')) {\n value = Str.fromUSDToNumber(value);\n }\n\n return value;\n }\n\n render() {\n const state = lodashGet(this.props.reimbursementAccount, 'achData.state');\n\n // If a user tries to navigate directly to the validate page we'll show them the EnableStep\n if (state === BankAccount.STATE.OPEN) {\n return ;\n }\n\n const maxAttemptsReached = lodashGet(this.props.reimbursementAccount, 'maxAttemptsReached');\n const isVerifying = !maxAttemptsReached && state === BankAccount.STATE.VERIFYING;\n const requiresTwoFactorAuth = lodashGet(this.props, 'account.requiresTwoFactorAuth');\n\n return (\n \n \n {maxAttemptsReached && (\n \n \n {this.props.translate('validationStep.maxAttemptsReached')}\n {' '}\n {this.props.translate('common.please')}\n {' '}\n \n {this.props.translate('common.contactUs')}\n \n .\n \n \n )}\n {!maxAttemptsReached && state === BankAccount.STATE.PENDING && (\n \n \n \n {this.props.translate('validationStep.description')}\n \n \n {this.props.translate('validationStep.descriptionCTA')}\n \n \n \n \n \n \n \n {!requiresTwoFactorAuth && (\n \n \n \n )}\n \n )}\n {isVerifying && (\n \n \n \n {this.props.translate('validationStep.letsChatText')}\n \n \n \n \n {this.props.reimbursementAccount.shouldShowResetModal && (\n \n )}\n {!requiresTwoFactorAuth && (\n \n )}\n \n )}\n \n );\n }\n}\n\nValidationStep.propTypes = propTypes;\nValidationStep.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n account: {\n key: ONYXKEYS.ACCOUNT,\n },\n }),\n)(ValidationStep);\n","import React from 'react';\nimport {ScrollView} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport styles from '../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport Text from '../../components/Text';\nimport compose from '../../libs/compose';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\nimport Button from '../../components/Button';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport MenuItem from '../../components/MenuItem';\nimport getBankIcon from '../../components/Icon/BankIcons';\nimport * as ReimbursementAccountProps from './reimbursementAccountPropTypes';\nimport userPropTypes from '../settings/userPropTypes';\nimport Section from '../../components/Section';\nimport * as Illustrations from '../../components/Icon/Illustrations';\nimport * as Link from '../../libs/actions/Link';\nimport * as User from '../../libs/actions/User';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport * as BankAccounts from '../../libs/actions/ReimbursementAccount';\nimport WorkspaceResetBankAccountModal from '../workspace/WorkspaceResetBankAccountModal';\n\nconst propTypes = {\n /** Bank account currently in setup */\n reimbursementAccount: ReimbursementAccountProps.reimbursementAccountPropTypes.isRequired,\n\n /* Onyx Props */\n user: userPropTypes,\n\n /* The workspace name */\n policyName: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n user: {},\n policyName: '',\n};\n\nconst EnableStep = (props) => {\n const isUsingExpensifyCard = props.user.isUsingExpensifyCard;\n const achData = lodashGet(props.reimbursementAccount, 'achData') || {};\n const {icon, iconSize} = getBankIcon(achData.bankName);\n const formattedBankAccountNumber = achData.accountNumber\n ? `${props.translate('paymentMethodList.accountLastFour')} ${\n achData.accountNumber.slice(-4)\n }`\n : '';\n const bankName = achData.addressName;\n\n return (\n \n Navigation.goBack()}\n />\n \n \n \n \n {!isUsingExpensifyCard\n ? props.translate('workspace.bankAccount.accountDescriptionNoCards')\n : props.translate('workspace.bankAccount.accountDescriptionWithCards')}\n \n {!isUsingExpensifyCard && (\n {\n Link.openOldDotLink(CONST.ADD_SECONDARY_LOGIN_URL);\n User.subscribeToExpensifyCardUpdates();\n }}\n icon={Expensicons.Mail}\n style={[styles.mt4]}\n iconStyles={[styles.buttonCTAIcon]}\n shouldShowRightIcon\n large\n success\n />\n )}\n \n \n {Boolean(props.user.isCheckingDomain) && (\n \n {props.translate('workspace.card.checkingDomain')}\n \n )}\n \n {props.reimbursementAccount.shouldShowResetModal && (\n \n )}\n \n );\n};\n\nEnableStep.displayName = 'EnableStep';\nEnableStep.propTypes = propTypes;\nEnableStep.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n user: {\n key: ONYXKEYS.USER,\n },\n }),\n)(EnableStep);\n","import React from 'react';\nimport {View} from 'react-native';\nimport Text from '../../components/Text';\nimport styles from '../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport * as Illustrations from '../../components/Icon/Illustrations';\nimport Section from '../../components/Section';\nimport * as Link from '../../libs/actions/Link';\nimport ROUTES from '../../ROUTES';\nimport themeColors from '../../styles/themes/default';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\nconst Enable2FAPrompt = (props) => {\n const secureYourAccountUrl = encodeURI(`settings?param={\"section\":\"account\",\"action\":\"enableTwoFactorAuth\",\"exitTo\":\"${ROUTES.getBankAccountRoute()}\",\"isFromNewDot\":\"true\"}`);\n\n return (\n {\n Link.openOldDotLink(secureYourAccountUrl);\n },\n icon: Expensicons.Shield,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n iconFill: themeColors.success,\n wrapperStyle: [styles.cardMenuItem],\n link: () => Link.buildOldDotURL(secureYourAccountUrl),\n },\n ]}\n >\n \n \n {props.translate('validationStep.enable2FAText')}\n \n \n \n );\n};\n\nEnable2FAPrompt.propTypes = propTypes;\nEnable2FAPrompt.displayName = 'Enable2FAPrompt';\n\nexport default withLocalize(Enable2FAPrompt);\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport Str from 'expensify-common/lib/str';\nimport Text from '../../components/Text';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport styles from '../../styles/styles';\nimport CheckboxWithLabel from '../../components/CheckboxWithLabel';\nimport TextLink from '../../components/TextLink';\nimport IdentityForm from './IdentityForm';\nimport withLocalize from '../../components/withLocalize';\nimport * as BankAccounts from '../../libs/actions/BankAccounts';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport CONST from '../../CONST';\nimport * as ValidationUtils from '../../libs/ValidationUtils';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Form from '../../components/Form';\nimport * as FormActions from '../../libs/actions/FormActions';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport StepPropTypes from './StepPropTypes';\n\nconst propTypes = {\n ...StepPropTypes,\n\n /** Name of the company */\n companyName: PropTypes.string.isRequired,\n};\n\nclass ACHContractStep extends React.Component {\n constructor(props) {\n super(props);\n this.validate = this.validate.bind(this);\n\n this.addBeneficialOwner = this.addBeneficialOwner.bind(this);\n this.submit = this.submit.bind(this);\n\n this.state = {\n\n // Array of strings containing the keys to render associated Identity Forms\n beneficialOwners: props.getDefaultStateForField('beneficialOwners', []),\n };\n }\n\n /**\n * @param {Object} values - input values passed by the Form component\n * @returns {Object}\n */\n validate(values) {\n const errors = {};\n\n const errorKeys = {\n street: 'address',\n city: 'addressCity',\n state: 'addressState',\n };\n const requiredFields = ['firstName', 'lastName', 'dob', 'ssnLast4', 'street', 'city', 'zipCode', 'state'];\n if (values.hasOtherBeneficialOwners) {\n _.each(this.state.beneficialOwners, (ownerKey) => {\n // eslint-disable-next-line rulesdir/prefer-early-return\n _.each(requiredFields, (inputKey) => {\n if (!ValidationUtils.isRequiredFulfilled(values[`beneficialOwner_${ownerKey}_${inputKey}`])) {\n const errorKey = errorKeys[inputKey] || inputKey;\n errors[`beneficialOwner_${ownerKey}_${inputKey}`] = this.props.translate(`bankAccount.error.${errorKey}`);\n }\n });\n\n if (values[`beneficialOwner_${ownerKey}_dob`] && !ValidationUtils.meetsAgeRequirements(values[`beneficialOwner_${ownerKey}_dob`])) {\n errors[`beneficialOwner_${ownerKey}_dob`] = this.props.translate('bankAccount.error.age');\n }\n\n if (values[`beneficialOwner_${ownerKey}_ssnLast4`] && !ValidationUtils.isValidSSNLastFour(values[`beneficialOwner_${ownerKey}_ssnLast4`])) {\n errors[`beneficialOwner_${ownerKey}_ssnLast4`] = this.props.translate('bankAccount.error.ssnLast4');\n }\n\n if (values[`beneficialOwner_${ownerKey}_street`] && !ValidationUtils.isValidAddress(values[`beneficialOwner_${ownerKey}_street`])) {\n errors[`beneficialOwner_${ownerKey}_street`] = this.props.translate('bankAccount.error.addressStreet');\n }\n\n if (values[`beneficialOwner_${ownerKey}_zipCode`] && !ValidationUtils.isValidZipCode(values[`beneficialOwner_${ownerKey}_zipCode`])) {\n errors[`beneficialOwner_${ownerKey}_zipCode`] = this.props.translate('bankAccount.error.zipCode');\n }\n });\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.acceptTermsAndConditions)) {\n errors.acceptTermsAndConditions = this.props.translate('common.error.acceptTerms');\n }\n\n if (!ValidationUtils.isRequiredFulfilled(values.certifyTrueInformation)) {\n errors.certifyTrueInformation = this.props.translate('beneficialOwnersStep.error.certify');\n }\n\n return errors;\n }\n\n /**\n * @param {Number} ownerKey - ID connected to the beneficial owner identity form\n */\n removeBeneficialOwner(ownerKey) {\n this.setState((prevState) => {\n const beneficialOwners = _.without(prevState.beneficialOwners, ownerKey);\n\n FormActions.setDraftValues(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {beneficialOwners});\n\n return {beneficialOwners};\n });\n }\n\n addBeneficialOwner() {\n this.setState((prevState) => {\n // Each beneficial owner is assigned a unique key that will connect it to an Identity Form.\n // That way we can dynamically render each Identity Form based on which keys are present in the beneficial owners array.\n const beneficialOwners = [...prevState.beneficialOwners, Str.guid()];\n\n FormActions.setDraftValues(ONYXKEYS.REIMBURSEMENT_ACCOUNT, {beneficialOwners});\n return {beneficialOwners};\n });\n }\n\n /**\n * @param {Boolean} ownsMoreThan25Percent\n * @returns {Boolean}\n */\n canAddMoreBeneficialOwners(ownsMoreThan25Percent) {\n return _.size(this.state.beneficialOwners) < 3\n || (_.size(this.state.beneficialOwners) === 3 && !ownsMoreThan25Percent);\n }\n\n /**\n * @param {Object} values - object containing form input values\n */\n submit(values) {\n const bankAccountID = lodashGet(this.props.reimbursementAccount, 'achData.bankAccountID') || 0;\n\n const beneficialOwners = !values.hasOtherBeneficialOwners ? []\n : _.map(this.state.beneficialOwners, ownerKey => ({\n firstName: lodashGet(values, `beneficialOwner_${ownerKey}_firstName`),\n lastName: lodashGet(values, `beneficialOwner_${ownerKey}_lastName`),\n dob: lodashGet(values, `beneficialOwner_${ownerKey}_dob`),\n ssnLast4: lodashGet(values, `beneficialOwner_${ownerKey}_ssnLast4`),\n street: lodashGet(values, `beneficialOwner_${ownerKey}_street`),\n city: lodashGet(values, `beneficialOwner_${ownerKey}_city`),\n state: lodashGet(values, `beneficialOwner_${ownerKey}_state`),\n zipCode: lodashGet(values, `beneficialOwner_${ownerKey}_zipCode`),\n }));\n\n BankAccounts.updateBeneficialOwnersForBankAccount({\n ownsMoreThan25Percent: values.ownsMoreThan25Percent,\n hasOtherBeneficialOwners: values.hasOtherBeneficialOwners,\n acceptTermsAndConditions: values.acceptTermsAndConditions,\n certifyTrueInformation: values.certifyTrueInformation,\n beneficialOwners: JSON.stringify(beneficialOwners),\n bankAccountID,\n });\n }\n\n render() {\n return (\n \n \n \n {({inputValues}) => (\n <>\n \n {this.props.translate('beneficialOwnersStep.checkAllThatApply')}\n \n (\n \n {this.props.translate('beneficialOwnersStep.iOwnMoreThan25Percent')}\n {this.props.companyName}\n \n )}\n // eslint-disable-next-line rulesdir/prefer-early-return\n onValueChange={(ownsMoreThan25Percent) => {\n if (ownsMoreThan25Percent && this.state.beneficialOwners.length > 3) {\n // If the user owns more than 25% of the company, then there can only be a maximum of 3 other beneficial owners who owns more than 25%.\n // We have to remove the 4th beneficial owner if the checkbox is checked.\n this.setState(prevState => ({beneficialOwners: prevState.beneficialOwners.slice(0, -1)}));\n }\n }}\n defaultValue={this.props.getDefaultStateForField('ownsMoreThan25Percent', false)}\n shouldSaveDraft\n />\n (\n \n {this.props.translate('beneficialOwnersStep.someoneOwnsMoreThan25Percent')}\n {this.props.companyName}\n \n )}\n // eslint-disable-next-line rulesdir/prefer-early-return\n onValueChange={(hasOtherBeneficialOwners) => {\n if (hasOtherBeneficialOwners && this.state.beneficialOwners.length === 0) {\n this.addBeneficialOwner();\n }\n }}\n defaultValue={this.props.getDefaultStateForField('hasOtherBeneficialOwners', false)}\n shouldSaveDraft\n />\n {Boolean(inputValues.hasOtherBeneficialOwners) && (\n \n {_.map(this.state.beneficialOwners, (ownerKey, index) => (\n \n \n {this.props.translate('beneficialOwnersStep.additionalOwner')}\n \n \n {this.state.beneficialOwners.length > 1 && (\n this.removeBeneficialOwner(ownerKey)}>\n {this.props.translate('beneficialOwnersStep.removeOwner')}\n \n )}\n \n ))}\n {this.canAddMoreBeneficialOwners(inputValues.ownsMoreThan25Percent) && (\n \n {this.props.translate('beneficialOwnersStep.addAnotherIndividual')}\n {this.props.companyName}\n \n )}\n \n )}\n \n {this.props.translate('beneficialOwnersStep.agreement')}\n \n (\n \n {this.props.translate('common.iAcceptThe')}\n \n {`${this.props.translate('beneficialOwnersStep.termsAndConditions')}`}\n \n \n )}\n defaultValue={this.props.getDefaultStateForField('acceptTermsAndConditions', false)}\n shouldSaveDraft\n />\n (\n {this.props.translate('beneficialOwnersStep.certifyTrueAndAccurate')}\n )}\n defaultValue={this.props.getDefaultStateForField('certifyTrueInformation', false)}\n shouldSaveDraft\n />\n \n )}\n \n \n );\n }\n}\n\nACHContractStep.propTypes = propTypes;\nexport default withLocalize(ACHContractStep);\n","import React from 'react';\nimport {View, ScrollView, Linking} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport Section from '../components/Section';\nimport Navigation from '../libs/Navigation/Navigation';\nimport styles from '../styles/styles';\nimport Text from '../components/Text';\nimport * as Expensicons from '../components/Icon/Expensicons';\nimport * as Illustrations from '../components/Icon/Illustrations';\nimport * as Report from '../libs/actions/Report';\nimport * as Link from '../libs/actions/Link';\nimport CONST from '../CONST';\nimport compose from '../libs/compose';\nimport ONYXKEYS from '../ONYXKEYS';\n\nconst propTypes = {\n /** Route object from navigation */\n route: PropTypes.shape({\n params: PropTypes.shape({\n /** The task ID to request the call for */\n taskID: PropTypes.string,\n }),\n }).isRequired,\n\n /** The details about the account that the user is signing in with */\n account: PropTypes.shape({\n /** URL to the assigned guide's appointment booking calendar */\n guideCalendarLink: PropTypes.string,\n }),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n account: {\n guideCalendarLink: null,\n },\n};\n\nconst GetAssistancePage = (props) => {\n const menuItems = [{\n title: props.translate('getAssistancePage.chatWithConcierge'),\n onPress: () => Report.navigateToConciergeChat(),\n icon: Expensicons.ChatBubble,\n shouldShowRightIcon: true,\n wrapperStyle: [styles.cardMenuItem],\n },\n {\n title: props.translate('getAssistancePage.exploreHelpDocs'),\n onPress: () => Link.openExternalLink(CONST.NEWHELP_URL),\n icon: Expensicons.QuestionMark,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n link: CONST.NEWHELP_URL,\n }];\n\n // If the user is eligible for calls with their Guide, add the 'Schedule a setup call' item at the second position in the list\n const guideCalendarLink = lodashGet(props.account, 'guideCalendarLink');\n if (guideCalendarLink) {\n menuItems.splice(1, 0, {\n title: props.translate('getAssistancePage.scheduleSetupCall'),\n onPress: () => Linking.openURL(guideCalendarLink),\n icon: Expensicons.Phone,\n shouldShowRightIcon: true,\n iconRight: Expensicons.NewWindow,\n wrapperStyle: [styles.cardMenuItem],\n });\n }\n\n return (\n \n Navigation.dismissModal(true)}\n shouldShowBackButton\n onBackButtonPress={() => Navigation.goBack()}\n />\n \n \n \n {props.translate('getAssistancePage.description')}\n \n \n \n \n );\n};\n\nGetAssistancePage.propTypes = propTypes;\nGetAssistancePage.defaultProps = defaultProps;\nGetAssistancePage.displayName = 'GetAssistancePage';\n\nexport default compose(\n withLocalize,\n withOnyx({\n account: {\n key: ONYXKEYS.ACCOUNT,\n selector: account => account && ({guideCalendarLink: account.guideCalendarLink}),\n },\n }),\n)(GetAssistancePage);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport moment from 'moment';\nimport Str from 'expensify-common/lib/str';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport HeaderWithCloseButton from '../../components/HeaderWithCloseButton';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport compose from '../../libs/compose';\nimport CONFIG from '../../CONFIG';\nimport WalletStatementModal from '../../components/WalletStatementModal';\nimport * as User from '../../libs/actions/User';\nimport fileDownload from '../../libs/fileDownload';\nimport Growl from '../../libs/Growl';\nimport CONST from '../../CONST';\nimport FullPageOfflineBlockingView from '../../components/BlockingViews/FullPageOfflineBlockingView';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport networkPropTypes from '../../components/networkPropTypes';\n\nconst propTypes = {\n /** The route object passed to this page from the navigator */\n route: PropTypes.shape({\n\n /** Each parameter passed via the URL */\n params: PropTypes.shape({\n\n /** The statement year and month as one string, i.e. 202110 */\n yearMonth: PropTypes.string.isRequired,\n }).isRequired,\n }).isRequired,\n\n walletStatement: PropTypes.shape({\n /** Whether we are currently generating a PDF version of the statement */\n isGenerating: PropTypes.bool,\n }),\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** Indicates which locale the user currently has selected */\n preferredLocale: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n walletStatement: {\n isGenerating: false,\n },\n preferredLocale: CONST.LOCALES.DEFAULT,\n};\n\nclass WalletStatementPage extends React.Component {\n constructor(props) {\n super(props);\n\n this.processDownload = this.processDownload.bind(this);\n this.yearMonth = lodashGet(this.props.route.params, 'yearMonth', null);\n }\n\n componentDidMount() {\n const currentYearMonth = moment().format('YYYYMM');\n if (!this.yearMonth || this.yearMonth.length !== 6 || this.yearMonth > currentYearMonth) {\n Navigation.dismissModal(true);\n }\n }\n\n processDownload(yearMonth) {\n if (this.props.walletStatement.isGenerating) {\n return;\n }\n\n if (this.props.walletStatement[yearMonth]) {\n // We already have a file URL for this statement, so we can download it immediately\n const downloadFileName = `Expensify_Statement_${yearMonth}.pdf`;\n const fileName = this.props.walletStatement[yearMonth];\n const pdfURL = `${CONFIG.EXPENSIFY.EXPENSIFY_URL}secure?secureType=pdfreport&filename=${fileName}&downloadName=${downloadFileName}`;\n fileDownload(pdfURL, downloadFileName);\n return;\n }\n\n Growl.show(this.props.translate('statementPage.generatingPDF'), CONST.GROWL.SUCCESS, 3000);\n User.generateStatementPDF(this.yearMonth);\n }\n\n render() {\n moment.locale(this.props.preferredLocale);\n const year = this.yearMonth.substring(0, 4) || moment().year();\n const month = this.yearMonth.substring(4) || moment().month();\n const monthName = moment(month, 'M').format('MMMM');\n const title = `${monthName} ${year} statement`;\n const url = `${CONFIG.EXPENSIFY.EXPENSIFY_URL}statement.php?period=${this.yearMonth}`;\n\n return (\n \n Navigation.dismissModal(true)}\n onDownloadButtonPress={() => this.processDownload(this.yearMonth)}\n />\n \n \n \n \n );\n }\n}\n\nWalletStatementPage.propTypes = propTypes;\nWalletStatementPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n preferredLocale: {\n key: ONYXKEYS.NVP_PREFERRED_LOCALE,\n },\n walletStatement: {\n key: ONYXKEYS.WALLET_STATEMENT,\n },\n }),\n withNetwork(),\n)(WalletStatementPage);\n","import React from 'react';\nimport {WebView} from 'react-native-webview';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport withLocalize from '../withLocalize';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport compose from '../../libs/compose';\nimport {walletStatementPropTypes, walletStatementDefaultProps} from './WalletStatementModalPropTypes';\nimport FullScreenLoadingIndicator from '../FullscreenLoadingIndicator';\nimport * as Report from '../../libs/actions/Report';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\n\nclass WalletStatementModal extends React.Component {\n constructor(props) {\n super(props);\n\n this.authToken = lodashGet(props, 'session.authToken', null);\n this.navigate = this.navigate.bind(this);\n }\n\n /**\n * Handles in-app navigation for webview links\n *\n * @param {String} params.type\n * @param {String} params.url\n */\n navigate({type, url}) {\n if (!this.webview || (type !== 'STATEMENT_NAVIGATE' && type !== 'CONCIERGE_NAVIGATE')) {\n return;\n }\n\n if (type === 'CONCIERGE_NAVIGATE') {\n this.webview.stopLoading();\n Report.navigateToConciergeChat();\n }\n\n if (type === 'STATEMENT_NAVIGATE' && url) {\n const iouRoutes = [ROUTES.IOU_REQUEST, ROUTES.IOU_SEND, ROUTES.IOU_BILL];\n const navigateToIOURoute = _.find(iouRoutes, iouRoute => url.includes(iouRoute));\n if (navigateToIOURoute) {\n this.webview.stopLoading();\n Navigation.navigate(navigateToIOURoute);\n }\n }\n }\n\n render() {\n return (\n this.webview = node}\n originWhitelist={['https://*']}\n source={{\n uri: this.props.statementPageURL,\n headers: {\n Cookie: `authToken=${this.authToken}`,\n },\n }}\n incognito // 'incognito' prop required for Android, issue here https://github.com/react-native-webview/react-native-webview/issues/1352\n startInLoadingState\n renderLoading={() => }\n onNavigationStateChange={this.navigate}\n />\n );\n }\n}\n\nWalletStatementModal.propTypes = walletStatementPropTypes;\nWalletStatementModal.defaultProps = walletStatementDefaultProps;\n\nexport default compose(\n withLocalize,\n withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n }),\n)(WalletStatementModal);\n","import WebView from './lib/WebView';\n\nexport { WebView };\nexport default WebView;\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { forwardRef, useCallback, useImperativeHandle, useRef } from 'react';\nimport { Image, View, NativeModules, } from 'react-native';\nimport invariant from 'invariant';\n// @ts-expect-error react-native doesn't have this type\nimport codegenNativeCommandsUntyped from 'react-native/Libraries/Utilities/codegenNativeCommands';\nimport RNCWebView from \"./WebViewNativeComponent.ios\";\nimport { defaultOriginWhitelist, defaultRenderError, defaultRenderLoading, useWebWiewLogic, } from './WebViewShared';\nimport styles from './WebView.styles';\nvar codegenNativeCommands = codegenNativeCommandsUntyped;\nvar Commands = codegenNativeCommands({\n supportedCommands: ['goBack', 'goForward', 'reload', 'stopLoading', 'injectJavaScript', 'requestFocus', 'postMessage', 'loadUrl']\n});\nvar resolveAssetSource = Image.resolveAssetSource;\nvar processDecelerationRate = function (decelerationRate) {\n var newDecelerationRate = decelerationRate;\n if (newDecelerationRate === 'normal') {\n newDecelerationRate = 0.998;\n }\n else if (newDecelerationRate === 'fast') {\n newDecelerationRate = 0.99;\n }\n return newDecelerationRate;\n};\nvar RNCWebViewManager = NativeModules.RNCWebViewManager;\nvar useWarnIfChanges = function (value, name) {\n var ref = useRef(value);\n if (ref.current !== value) {\n console.warn(\"Changes to property \".concat(name, \" do nothing after the initial render.\"));\n ref.current = value;\n }\n};\nvar WebViewComponent = forwardRef(function (_a, ref) {\n var _b = _a.javaScriptEnabled, javaScriptEnabled = _b === void 0 ? true : _b, _c = _a.cacheEnabled, cacheEnabled = _c === void 0 ? true : _c, _d = _a.originWhitelist, originWhitelist = _d === void 0 ? defaultOriginWhitelist : _d, _e = _a.useSharedProcessPool, useSharedProcessPool = _e === void 0 ? true : _e, _f = _a.textInteractionEnabled, textInteractionEnabled = _f === void 0 ? true : _f, injectedJavaScript = _a.injectedJavaScript, injectedJavaScriptBeforeContentLoaded = _a.injectedJavaScriptBeforeContentLoaded, _g = _a.injectedJavaScriptForMainFrameOnly, injectedJavaScriptForMainFrameOnly = _g === void 0 ? true : _g, _h = _a.injectedJavaScriptBeforeContentLoadedForMainFrameOnly, injectedJavaScriptBeforeContentLoadedForMainFrameOnly = _h === void 0 ? true : _h, startInLoadingState = _a.startInLoadingState, onNavigationStateChange = _a.onNavigationStateChange, onLoadStart = _a.onLoadStart, onError = _a.onError, onLoad = _a.onLoad, onLoadEnd = _a.onLoadEnd, onLoadProgress = _a.onLoadProgress, onContentProcessDidTerminateProp = _a.onContentProcessDidTerminate, onFileDownload = _a.onFileDownload, onHttpErrorProp = _a.onHttpError, onMessageProp = _a.onMessage, renderLoading = _a.renderLoading, renderError = _a.renderError, style = _a.style, containerStyle = _a.containerStyle, source = _a.source, nativeConfig = _a.nativeConfig, allowsInlineMediaPlayback = _a.allowsInlineMediaPlayback, allowsAirPlayForMediaPlayback = _a.allowsAirPlayForMediaPlayback, mediaPlaybackRequiresUserAction = _a.mediaPlaybackRequiresUserAction, dataDetectorTypes = _a.dataDetectorTypes, incognito = _a.incognito, decelerationRateProp = _a.decelerationRate, onShouldStartLoadWithRequestProp = _a.onShouldStartLoadWithRequest, otherProps = __rest(_a, [\"javaScriptEnabled\", \"cacheEnabled\", \"originWhitelist\", \"useSharedProcessPool\", \"textInteractionEnabled\", \"injectedJavaScript\", \"injectedJavaScriptBeforeContentLoaded\", \"injectedJavaScriptForMainFrameOnly\", \"injectedJavaScriptBeforeContentLoadedForMainFrameOnly\", \"startInLoadingState\", \"onNavigationStateChange\", \"onLoadStart\", \"onError\", \"onLoad\", \"onLoadEnd\", \"onLoadProgress\", \"onContentProcessDidTerminate\", \"onFileDownload\", \"onHttpError\", \"onMessage\", \"renderLoading\", \"renderError\", \"style\", \"containerStyle\", \"source\", \"nativeConfig\", \"allowsInlineMediaPlayback\", \"allowsAirPlayForMediaPlayback\", \"mediaPlaybackRequiresUserAction\", \"dataDetectorTypes\", \"incognito\", \"decelerationRate\", \"onShouldStartLoadWithRequest\"]);\n var webViewRef = useRef(null);\n var onShouldStartLoadWithRequestCallback = useCallback(function (shouldStart, _url, lockIdentifier) {\n if (lockIdentifier === void 0) { lockIdentifier = 0; }\n var viewManager = (nativeConfig === null || nativeConfig === void 0 ? void 0 : nativeConfig.viewManager)\n || RNCWebViewManager;\n viewManager.startLoadWithResult(!!shouldStart, lockIdentifier);\n }, [nativeConfig === null || nativeConfig === void 0 ? void 0 : nativeConfig.viewManager]);\n var _j = useWebWiewLogic({\n onNavigationStateChange: onNavigationStateChange,\n onLoad: onLoad,\n onError: onError,\n onHttpErrorProp: onHttpErrorProp,\n onLoadEnd: onLoadEnd,\n onLoadProgress: onLoadProgress,\n onLoadStart: onLoadStart,\n onMessageProp: onMessageProp,\n startInLoadingState: startInLoadingState,\n originWhitelist: originWhitelist,\n onShouldStartLoadWithRequestProp: onShouldStartLoadWithRequestProp,\n onShouldStartLoadWithRequestCallback: onShouldStartLoadWithRequestCallback,\n onContentProcessDidTerminateProp: onContentProcessDidTerminateProp\n }), onLoadingStart = _j.onLoadingStart, onShouldStartLoadWithRequest = _j.onShouldStartLoadWithRequest, onMessage = _j.onMessage, viewState = _j.viewState, setViewState = _j.setViewState, lastErrorEvent = _j.lastErrorEvent, onHttpError = _j.onHttpError, onLoadingError = _j.onLoadingError, onLoadingFinish = _j.onLoadingFinish, onLoadingProgress = _j.onLoadingProgress, onContentProcessDidTerminate = _j.onContentProcessDidTerminate;\n useImperativeHandle(ref, function () { return ({\n goForward: function () { return Commands.goForward(webViewRef.current); },\n goBack: function () { return Commands.goBack(webViewRef.current); },\n reload: function () {\n setViewState('LOADING');\n Commands.reload(webViewRef.current);\n },\n stopLoading: function () { return Commands.stopLoading(webViewRef.current); },\n postMessage: function (data) { return Commands.postMessage(webViewRef.current, data); },\n injectJavaScript: function (data) { return Commands.injectJavaScript(webViewRef.current, data); },\n requestFocus: function () { return Commands.requestFocus(webViewRef.current); }\n }); }, [setViewState, webViewRef]);\n useWarnIfChanges(allowsInlineMediaPlayback, 'allowsInlineMediaPlayback');\n useWarnIfChanges(allowsAirPlayForMediaPlayback, 'allowsAirPlayForMediaPlayback');\n useWarnIfChanges(incognito, 'incognito');\n useWarnIfChanges(mediaPlaybackRequiresUserAction, 'mediaPlaybackRequiresUserAction');\n useWarnIfChanges(dataDetectorTypes, 'dataDetectorTypes');\n var otherView = null;\n if (viewState === 'LOADING') {\n otherView = (renderLoading || defaultRenderLoading)();\n }\n else if (viewState === 'ERROR') {\n invariant(lastErrorEvent != null, 'lastErrorEvent expected to be non-null');\n otherView = (renderError || defaultRenderError)(lastErrorEvent.domain, lastErrorEvent.code, lastErrorEvent.description);\n }\n else if (viewState !== 'IDLE') {\n console.error(\"RNCWebView invalid state encountered: \".concat(viewState));\n }\n var webViewStyles = [styles.container, styles.webView, style];\n var webViewContainerStyle = [styles.container, containerStyle];\n var decelerationRate = processDecelerationRate(decelerationRateProp);\n var NativeWebView = (nativeConfig === null || nativeConfig === void 0 ? void 0 : nativeConfig.component)\n || RNCWebView;\n var webView = ();\n return (\n {webView}\n {otherView}\n );\n});\n// no native implementation for iOS, depends only on permissions\nvar isFileUploadSupported = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {\n return [2 /*return*/, true];\n}); }); };\nvar WebView = Object.assign(WebViewComponent, { isFileUploadSupported: isFileUploadSupported });\nexport default WebView;\n","import { requireNativeComponent } from \"react-native\";\nvar RNCWebView = requireNativeComponent('RNCWebView');\nexport default RNCWebView;\n","import { StyleSheet } from 'react-native';\nvar styles = StyleSheet.create({\n container: {\n flex: 1,\n overflow: 'hidden'\n },\n loadingOrErrorView: {\n position: 'absolute',\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n height: '100%',\n width: '100%',\n backgroundColor: 'white'\n },\n loadingProgressBar: {\n height: 20\n },\n errorText: {\n fontSize: 14,\n textAlign: 'center',\n marginBottom: 2\n },\n errorTextTitle: {\n fontSize: 15,\n fontWeight: '500',\n marginBottom: 10\n },\n webView: {\n backgroundColor: '#ffffff'\n }\n});\nexport default styles;\n","var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport escapeStringRegexp from 'escape-string-regexp';\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport { Linking, View, ActivityIndicator, Text, Platform } from 'react-native';\nimport styles from './WebView.styles';\nvar defaultOriginWhitelist = ['http://*', 'https://*'];\nvar extractOrigin = function (url) {\n var result = /^[A-Za-z][A-Za-z0-9+\\-.]+:(\\/\\/)?[^/]*/.exec(url);\n return result === null ? '' : result[0];\n};\nvar originWhitelistToRegex = function (originWhitelist) {\n return \"^\".concat(escapeStringRegexp(originWhitelist).replace(/\\\\\\*/g, '.*'));\n};\nvar passesWhitelist = function (compiledWhitelist, url) {\n var origin = extractOrigin(url);\n return compiledWhitelist.some(function (x) { return new RegExp(x).test(origin); });\n};\nvar compileWhitelist = function (originWhitelist) {\n return __spreadArray(['about:blank'], (originWhitelist || []), true).map(originWhitelistToRegex);\n};\nvar createOnShouldStartLoadWithRequest = function (loadRequest, originWhitelist, onShouldStartLoadWithRequest) {\n return function (_a) {\n var nativeEvent = _a.nativeEvent;\n var shouldStart = true;\n var url = nativeEvent.url, lockIdentifier = nativeEvent.lockIdentifier;\n if (!passesWhitelist(compileWhitelist(originWhitelist), url)) {\n Linking.canOpenURL(url).then(function (supported) {\n if (supported) {\n return Linking.openURL(url);\n }\n console.warn(\"Can't open url: \".concat(url));\n return undefined;\n })[\"catch\"](function (e) {\n console.warn('Error opening URL: ', e);\n });\n shouldStart = false;\n }\n else if (onShouldStartLoadWithRequest) {\n shouldStart = onShouldStartLoadWithRequest(nativeEvent);\n }\n loadRequest(shouldStart, url, lockIdentifier);\n };\n};\nvar defaultRenderLoading = function () { return (\n \n ); };\nvar defaultRenderError = function (errorDomain, errorCode, errorDesc) { return (\n Error loading page\n {\"Domain: \".concat(errorDomain)}\n {\"Error Code: \".concat(errorCode)}\n {\"Description: \".concat(errorDesc)}\n ); };\nexport { defaultOriginWhitelist, createOnShouldStartLoadWithRequest, defaultRenderLoading, defaultRenderError, };\nexport var useWebWiewLogic = function (_a) {\n var startInLoadingState = _a.startInLoadingState, onNavigationStateChange = _a.onNavigationStateChange, onLoadStart = _a.onLoadStart, onLoad = _a.onLoad, onLoadProgress = _a.onLoadProgress, onLoadEnd = _a.onLoadEnd, onError = _a.onError, onHttpErrorProp = _a.onHttpErrorProp, onMessageProp = _a.onMessageProp, onRenderProcessGoneProp = _a.onRenderProcessGoneProp, onContentProcessDidTerminateProp = _a.onContentProcessDidTerminateProp, originWhitelist = _a.originWhitelist, onShouldStartLoadWithRequestProp = _a.onShouldStartLoadWithRequestProp, onShouldStartLoadWithRequestCallback = _a.onShouldStartLoadWithRequestCallback;\n var _b = useState(startInLoadingState ? \"LOADING\" : \"IDLE\"), viewState = _b[0], setViewState = _b[1];\n var _c = useState(null), lastErrorEvent = _c[0], setLastErrorEvent = _c[1];\n var startUrl = useRef(null);\n var updateNavigationState = useCallback(function (event) {\n onNavigationStateChange === null || onNavigationStateChange === void 0 ? void 0 : onNavigationStateChange(event.nativeEvent);\n }, [onNavigationStateChange]);\n var onLoadingStart = useCallback(function (event) {\n // Needed for android\n startUrl.current = event.nativeEvent.url;\n // !Needed for android\n onLoadStart === null || onLoadStart === void 0 ? void 0 : onLoadStart(event);\n updateNavigationState(event);\n }, [onLoadStart, updateNavigationState]);\n var onLoadingError = useCallback(function (event) {\n event.persist();\n if (onError) {\n onError(event);\n }\n else {\n console.warn('Encountered an error loading page', event.nativeEvent);\n }\n onLoadEnd === null || onLoadEnd === void 0 ? void 0 : onLoadEnd(event);\n if (event.isDefaultPrevented()) {\n return;\n }\n ;\n setViewState('ERROR');\n setLastErrorEvent(event.nativeEvent);\n }, [onError, onLoadEnd]);\n var onHttpError = useCallback(function (event) {\n onHttpErrorProp === null || onHttpErrorProp === void 0 ? void 0 : onHttpErrorProp(event);\n }, [onHttpErrorProp]);\n // Android Only\n var onRenderProcessGone = useCallback(function (event) {\n onRenderProcessGoneProp === null || onRenderProcessGoneProp === void 0 ? void 0 : onRenderProcessGoneProp(event);\n }, [onRenderProcessGoneProp]);\n // !Android Only\n // iOS Only\n var onContentProcessDidTerminate = useCallback(function (event) {\n onContentProcessDidTerminateProp === null || onContentProcessDidTerminateProp === void 0 ? void 0 : onContentProcessDidTerminateProp(event);\n }, [onContentProcessDidTerminateProp]);\n // !iOS Only\n var onLoadingFinish = useCallback(function (event) {\n onLoad === null || onLoad === void 0 ? void 0 : onLoad(event);\n onLoadEnd === null || onLoadEnd === void 0 ? void 0 : onLoadEnd(event);\n var url = event.nativeEvent.url;\n // on Android, only if url === startUrl\n if (Platform.OS !== \"android\" || url === startUrl.current) {\n setViewState('IDLE');\n }\n // !on Android, only if url === startUrl\n updateNavigationState(event);\n }, [onLoad, onLoadEnd, updateNavigationState]);\n var onMessage = useCallback(function (event) {\n onMessageProp === null || onMessageProp === void 0 ? void 0 : onMessageProp(event);\n }, [onMessageProp]);\n var onLoadingProgress = useCallback(function (event) {\n var progress = event.nativeEvent.progress;\n // patch for Android only\n if (Platform.OS === \"android\" && progress === 1) {\n setViewState(function (prevViewState) { return prevViewState === 'LOADING' ? 'IDLE' : prevViewState; });\n }\n // !patch for Android only\n onLoadProgress === null || onLoadProgress === void 0 ? void 0 : onLoadProgress(event);\n }, [onLoadProgress]);\n var onShouldStartLoadWithRequest = useMemo(function () { return createOnShouldStartLoadWithRequest(onShouldStartLoadWithRequestCallback, originWhitelist, onShouldStartLoadWithRequestProp); }, [originWhitelist, onShouldStartLoadWithRequestProp, onShouldStartLoadWithRequestCallback]);\n return {\n onShouldStartLoadWithRequest: onShouldStartLoadWithRequest,\n onLoadingStart: onLoadingStart,\n onLoadingProgress: onLoadingProgress,\n onLoadingError: onLoadingError,\n onLoadingFinish: onLoadingFinish,\n onHttpError: onHttpError,\n onRenderProcessGone: onRenderProcessGone,\n onContentProcessDidTerminate: onContentProcessDidTerminate,\n onMessage: onMessage,\n viewState: viewState,\n setViewState: setViewState,\n lastErrorEvent: lastErrorEvent\n };\n};\n","'use strict';\n\nconst matchOperatorsRegex = /[|\\\\{}()[\\]^$+*?.-]/g;\n\nmodule.exports = string => {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\treturn string.replace(matchOperatorsRegex, '\\\\$&');\n};\n","import PropTypes from 'prop-types';\n\nconst walletStatementPropTypes = {\n /* Onyx Props */\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n\n /** Currently logged in user authToken */\n authToken: PropTypes.string,\n }),\n\n /** URL for oldDot (expensify.com) statements page to display */\n statementPageURL: PropTypes.string,\n};\n\nconst walletStatementDefaultProps = {\n session: {\n authToken: null,\n },\n};\n\nexport {\n walletStatementPropTypes,\n walletStatementDefaultProps,\n};\n","import _ from 'underscore';\nimport React from 'react';\nimport {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../components/withCurrentUserPersonalDetails';\nimport ScreenWrapper from '../components/ScreenWrapper';\nimport HeaderWithCloseButton from '../components/HeaderWithCloseButton';\nimport withLocalize, {withLocalizePropTypes} from '../components/withLocalize';\nimport ROUTES from '../ROUTES';\nimport styles from '../styles/styles';\nimport Navigation from '../libs/Navigation/Navigation';\nimport OptionsSelector from '../components/OptionsSelector';\nimport themeColors from '../styles/themes/default';\nimport * as Expensicons from '../components/Icon/Expensicons';\nimport CONST from '../CONST';\n\nconst greenCheckmark = {src: Expensicons.Checkmark, color: themeColors.success};\n\nconst propTypes = {\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst defaultProps = {\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\nclass YearPickerPage extends React.Component {\n constructor(props) {\n super(props);\n\n const {params} = props.route;\n const minYear = Number(params.min);\n const maxYear = Number(params.max);\n const currentYear = Number(params.year);\n\n this.currentYear = currentYear;\n this.yearList = _.map(Array.from({length: (maxYear - minYear) + 1}, (v, i) => i + minYear), value => ({\n text: value.toString(),\n value,\n keyForList: value.toString(),\n\n // Include the green checkmark icon to indicate the currently selected value\n customIcon: value === currentYear ? greenCheckmark : undefined,\n\n // This property will make the currently selected value have bold text\n boldStyle: value === currentYear,\n }));\n\n this.updateYearOfBirth = this.updateSelectedYear.bind(this);\n this.filterYearList = this.filterYearList.bind(this);\n\n this.state = {\n inputText: '',\n yearOptions: this.yearList,\n };\n }\n\n /**\n * Function called on selection of the year, to take user back to the previous screen\n *\n * @param {String} selectedYear\n */\n updateSelectedYear(selectedYear) {\n // We have to navigate using concatenation here as it is not possible to pass a function as a route param\n Navigation.navigate(`${this.props.route.params.backTo}?year=${selectedYear}`);\n }\n\n /**\n * Function filtering the list of the items when using search input\n *\n * @param {String} text\n */\n filterYearList(text) {\n this.setState({\n inputText: text,\n yearOptions: _.filter(this.yearList, year => year.text.includes(text.trim())),\n });\n }\n\n render() {\n const headerMessage = this.state.inputText.trim() && !this.state.yearOptions.length ? this.props.translate('common.noResultsFound') : '';\n return (\n \n Navigation.navigate(`${this.props.route.params.backTo}?year=${this.currentYear}` || ROUTES.HOME)}\n onCloseButtonPress={() => Navigation.dismissModal(true)}\n />\n this.updateSelectedYear(option.value)}\n headerMessage={headerMessage}\n initiallyFocusedOptionKey={this.currentYear.toString()}\n hideSectionHeaders\n optionHoveredStyle={styles.hoveredComponentBG}\n shouldHaveOptionSeparator\n contentContainerStyles={[styles.ph5]}\n />\n \n );\n }\n}\n\nYearPickerPage.propTypes = propTypes;\nYearPickerPage.defaultProps = defaultProps;\n\nexport default withLocalize(YearPickerPage);\n","const defaultScreenOptions = {\n cardStyle: {\n overflow: 'visible',\n flex: 1,\n },\n headerShown: false,\n animationTypeForReplace: 'pop',\n};\n\nexport default defaultScreenOptions;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\n\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport SCREENS from '../../../SCREENS';\nimport Permissions from '../../Permissions';\nimport Timing from '../../actions/Timing';\nimport CONST from '../../../CONST';\n\n// Screens\nimport ReportScreen from '../../../pages/home/ReportScreen';\nimport SidebarScreen from '../../../pages/home/sidebar/SidebarScreen';\nimport BaseDrawerNavigator from './BaseDrawerNavigator';\nimport * as ReportUtils from '../../ReportUtils';\nimport reportPropTypes from '../../../pages/reportPropTypes';\nimport Navigation from '../Navigation';\nimport {withNavigationPropTypes} from '../../../components/withNavigation';\n\nconst propTypes = {\n /** Available reports that would be displayed in this navigator */\n reports: PropTypes.objectOf(reportPropTypes),\n\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** The policies which the user has access to */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The policy name */\n name: PropTypes.string,\n\n /** The type of the policy */\n type: PropTypes.string,\n })),\n\n route: PropTypes.shape({\n params: PropTypes.shape({\n openOnAdminRoom: PropTypes.bool,\n }),\n }).isRequired,\n\n ...withNavigationPropTypes,\n};\n\nconst defaultProps = {\n reports: {},\n betas: [],\n policies: {},\n};\n\n/**\n * Get the most recently accessed report for the user\n *\n * @param {Object} reports\n * @param {Boolean} [ignoreDefaultRooms]\n * @param {Object} policies\n * @param {Boolean} openOnAdminRoom\n * @returns {Object}\n */\nconst getInitialReportScreenParams = (reports, ignoreDefaultRooms, policies, openOnAdminRoom) => {\n const last = ReportUtils.findLastAccessedReport(reports, ignoreDefaultRooms, policies, openOnAdminRoom);\n\n // Fallback to empty if for some reason reportID cannot be derived - prevents the app from crashing\n const reportID = lodashGet(last, 'reportID', '');\n return {reportID: String(reportID)};\n};\n\nclass MainDrawerNavigator extends Component {\n constructor(props) {\n super(props);\n this.trackAppStartTiming = this.trackAppStartTiming.bind(this);\n this.initialParams = getInitialReportScreenParams(\n props.reports,\n !Permissions.canUseDefaultRooms(props.betas),\n props.policies,\n lodashGet(props, 'route.params.openOnAdminRoom', false),\n );\n\n // When we have chat reports the moment this component got created\n // we know that the data was served from storage/cache\n this.isFromCache = _.size(props.reports) > 0;\n }\n\n shouldComponentUpdate(nextProps) {\n const initialNextParams = getInitialReportScreenParams(\n nextProps.reports,\n !Permissions.canUseDefaultRooms(nextProps.betas),\n nextProps.policies,\n lodashGet(nextProps, 'route.params.openOnAdminRoom', false),\n );\n if (this.initialParams.reportID === initialNextParams.reportID) {\n return false;\n }\n\n // Update the report screen initial params after the reports are available\n // to show the correct report instead of the \"no access\" report.\n // https://github.com/Expensify/App/issues/12698#issuecomment-1352632883\n if (!this.initialParams.reportID) {\n const state = this.props.navigation.getState();\n const reportScreenKey = lodashGet(state, 'routes[0].state.routes[0].key', '');\n Navigation.setParams(initialNextParams, reportScreenKey);\n }\n this.initialParams = initialNextParams;\n return true;\n }\n\n trackAppStartTiming() {\n // We only want to report timing events when rendering from cached data\n if (!this.isFromCache) {\n return;\n }\n\n Timing.end(CONST.TIMING.SIDEBAR_LOADED);\n }\n\n render() {\n return (\n {\n // This state belongs to the drawer so it should always have the ReportScreen as it's initial (and only) route\n const reportIDFromRoute = lodashGet(state, ['routes', 0, 'params', 'reportID']);\n return (\n \n );\n }}\n screens={[\n {\n name: SCREENS.REPORT,\n component: ReportScreen,\n initialParams: this.initialParams,\n },\n ]}\n isMainScreen\n />\n );\n }\n}\n\nMainDrawerNavigator.propTypes = propTypes;\nMainDrawerNavigator.defaultProps = defaultProps;\nMainDrawerNavigator.displayName = 'MainDrawerNavigator';\n\nexport default withOnyx({\n reports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n})(MainDrawerNavigator);\n","import React from 'react';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport _ from 'underscore';\nimport {Freeze} from 'react-freeze';\nimport {PortalHost} from '@gorhom/portal';\nimport styles from '../../styles/styles';\nimport ScreenWrapper from '../../components/ScreenWrapper';\nimport HeaderView from './HeaderView';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport * as Report from '../../libs/actions/Report';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport Permissions from '../../libs/Permissions';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport ReportActionsView from './report/ReportActionsView';\nimport CONST from '../../CONST';\nimport ReportActionsSkeletonView from '../../components/ReportActionsSkeletonView';\nimport reportActionPropTypes from './report/reportActionPropTypes';\nimport toggleReportActionComposeView from '../../libs/toggleReportActionComposeView';\nimport {withNetwork} from '../../components/OnyxProvider';\nimport compose from '../../libs/compose';\nimport Visibility from '../../libs/Visibility';\nimport networkPropTypes from '../../components/networkPropTypes';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';\nimport OfflineWithFeedback from '../../components/OfflineWithFeedback';\nimport withDrawerState, {withDrawerPropTypes} from '../../components/withDrawerState';\nimport ReportFooter from './report/ReportFooter';\nimport Banner from '../../components/Banner';\nimport withLocalize from '../../components/withLocalize';\nimport reportPropTypes from '../reportPropTypes';\nimport FullPageNotFoundView from '../../components/BlockingViews/FullPageNotFoundView';\nimport ReportHeaderSkeletonView from '../../components/ReportHeaderSkeletonView';\nimport withViewportOffsetTop, {viewportOffsetTopPropTypes} from '../../components/withViewportOffsetTop';\nimport * as ReportActionsUtils from '../../libs/ReportActionsUtils';\nimport personalDetailsPropType from '../personalDetailsPropType';\nimport getIsReportFullyVisible from '../../libs/getIsReportFullyVisible';\nimport EmojiPicker from '../../components/EmojiPicker/EmojiPicker';\nimport * as EmojiPickerAction from '../../libs/actions/EmojiPickerAction';\n\nconst propTypes = {\n /** Navigation route context info provided by react navigation */\n route: PropTypes.shape({\n /** Route specific parameters used on this screen */\n params: PropTypes.shape({\n /** The ID of the report this screen should display */\n reportID: PropTypes.string,\n }).isRequired,\n }).isRequired,\n\n /** Tells us if the sidebar has rendered */\n isSidebarLoaded: PropTypes.bool,\n\n /** The report currently being looked at */\n report: reportPropTypes,\n\n /** Array of report actions for this report */\n reportActions: PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes)),\n\n /** Whether the composer is full size */\n isComposerFullSize: PropTypes.bool,\n\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** The policies which the user has access to */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The policy name */\n name: PropTypes.string,\n\n /** The type of the policy */\n type: PropTypes.string,\n })),\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n /** The account manager report ID */\n accountManagerReportID: PropTypes.string,\n\n /** All of the personal details for everyone */\n personalDetails: PropTypes.objectOf(personalDetailsPropType),\n\n ...windowDimensionsPropTypes,\n ...withDrawerPropTypes,\n ...viewportOffsetTopPropTypes,\n};\n\nconst defaultProps = {\n isSidebarLoaded: false,\n reportActions: {},\n report: {\n hasOutstandingIOU: false,\n isLoadingReportActions: false,\n },\n isComposerFullSize: false,\n betas: [],\n policies: {},\n accountManagerReportID: null,\n personalDetails: {},\n};\n\n/**\n * Get the currently viewed report ID as number\n *\n * @param {Object} route\n * @param {Object} route.params\n * @param {String} route.params.reportID\n * @returns {String}\n */\nfunction getReportID(route) {\n return route.params.reportID.toString();\n}\n\n// Keep a reference to the list view height so we can use it when a new ReportScreen component mounts\nlet reportActionsListViewHeight = 0;\n\nclass ReportScreen extends React.Component {\n constructor(props) {\n super(props);\n\n this.onSubmitComment = this.onSubmitComment.bind(this);\n this.chatWithAccountManager = this.chatWithAccountManager.bind(this);\n this.dismissBanner = this.dismissBanner.bind(this);\n\n this.state = {\n skeletonViewContainerHeight: reportActionsListViewHeight,\n isBannerVisible: true,\n };\n }\n\n componentDidMount() {\n this.unsubscribeVisibilityListener = Visibility.onVisibilityChange(() => {\n // If the report is not fully visible (AKA on small screen devices and LHR is open) or the report is optimistic (AKA not yet created)\n // we don't need to call openReport\n if (!getIsReportFullyVisible(this.props.isDrawerOpen, this.props.isSmallScreenWidth) || this.props.report.isOptimisticReport) {\n return;\n }\n\n Report.openReport(this.props.report.reportID);\n });\n\n this.fetchReportIfNeeded();\n toggleReportActionComposeView(true);\n Navigation.setIsReportScreenIsReady();\n }\n\n componentDidUpdate(prevProps) {\n // If you already have a report open and are deeplinking to a new report on native,\n // the ReportScreen never actually unmounts and the reportID in the route also doesn't change.\n // Therefore, we need to compare if the existing reportID is the same as the one in the route\n // before deciding that we shouldn't call OpenReport.\n const onyxReportID = this.props.report.reportID;\n const routeReportID = getReportID(this.props.route);\n if (onyxReportID === prevProps.report.reportID && (!onyxReportID || onyxReportID === routeReportID)) {\n return;\n }\n\n this.fetchReportIfNeeded();\n toggleReportActionComposeView(true);\n }\n\n componentWillUnmount() {\n if (this.unsubscribeVisibilityListener) {\n this.unsubscribeVisibilityListener();\n }\n Navigation.resetIsReportScreenReadyPromise();\n }\n\n /**\n * @param {String} text\n */\n onSubmitComment(text) {\n Report.addComment(getReportID(this.props.route), text);\n }\n\n /**\n * When false the ReportActionsView will completely unmount and we will show a loader until it returns true.\n *\n * @returns {Boolean}\n */\n isReportReadyForDisplay() {\n const reportIDFromPath = getReportID(this.props.route);\n\n // This is necessary so that when we are retrieving the next report data from Onyx the ReportActionsView will remount completely\n const isTransitioning = this.props.report && this.props.report.reportID !== reportIDFromPath;\n return reportIDFromPath !== '' && this.props.report.reportID && !isTransitioning;\n }\n\n fetchReportIfNeeded() {\n const reportIDFromPath = getReportID(this.props.route);\n\n // Report ID will be empty when the reports collection is empty.\n // This could happen when we are loading the collection for the first time after logging in.\n if (!reportIDFromPath) {\n return;\n }\n\n // It possible that we may not have the report object yet in Onyx yet e.g. we navigated to a URL for an accessible report that\n // is not stored locally yet. If props.report.reportID exists, then the report has been stored locally and nothing more needs to be done.\n // If it doesn't exist, then we fetch the report from the API.\n if (this.props.report.reportID && this.props.report.reportID === getReportID(this.props.route)) {\n return;\n }\n\n Report.openReport(reportIDFromPath);\n }\n\n dismissBanner() {\n this.setState({isBannerVisible: false});\n }\n\n chatWithAccountManager() {\n Navigation.navigate(ROUTES.getReportRoute(this.props.accountManagerReportID));\n }\n\n render() {\n // We are either adding a workspace room, or we're creating a chat, it isn't possible for both of these to be pending, or to have errors for the same report at the same time, so\n // simply looking up the first truthy value for each case will get the relevant property if it's set.\n const reportID = getReportID(this.props.route);\n const addWorkspaceRoomOrChatPendingAction = lodashGet(this.props.report, 'pendingFields.addWorkspaceRoom') || lodashGet(this.props.report, 'pendingFields.createChat');\n const addWorkspaceRoomOrChatErrors = lodashGet(this.props.report, 'errorFields.addWorkspaceRoom') || lodashGet(this.props.report, 'errorFields.createChat');\n const screenWrapperStyle = [styles.appContent, styles.flex1, {marginTop: this.props.viewportOffsetTop}];\n\n // There are no reportActions at all to display and we are still in the process of loading the next set of actions.\n const isLoadingInitialReportActions = _.isEmpty(this.props.reportActions) && this.props.report.isLoadingReportActions;\n\n // Users not in the Default Room or Policy Room Betas can't view the report\n const shouldHideReport = (\n ReportUtils.isDefaultRoom(this.props.report) && !ReportUtils.canSeeDefaultRoom(this.props.report, this.props.policies, this.props.betas))\n || (ReportUtils.isUserCreatedPolicyRoom(this.props.report) && !Permissions.canUsePolicyRooms(this.props.betas));\n\n // When the ReportScreen is not open/in the viewport, we want to \"freeze\" it for performance reasons\n const shouldFreeze = this.props.isSmallScreenWidth && this.props.isDrawerOpen;\n\n const isLoading = !reportID || !this.props.isSidebarLoaded || _.isEmpty(this.props.personalDetails);\n\n // the moment the ReportScreen becomes unfrozen we want to start the animation of the placeholder skeleton content\n // (which is shown, until all the actual views of the ReportScreen have been rendered)\n const shouldAnimate = !shouldFreeze;\n\n return (\n \n \n \n \n \n \n \n \n )}\n >\n {\n Navigation.navigate(ROUTES.HOME);\n }}\n >\n {isLoading ? : (\n <>\n \n Navigation.navigate(ROUTES.HOME)}\n personalDetails={this.props.personalDetails}\n report={this.props.report}\n policies={this.props.policies}\n />\n \n {Boolean(this.props.accountManagerReportID) && ReportUtils.isConciergeChatReport(this.props.report) && this.state.isBannerVisible && (\n \n )}\n \n )}\n {\n const skeletonViewContainerHeight = event.nativeEvent.layout.height;\n\n // The height can be 0 if the component unmounts - we are not interested in this value and want to know how much space it\n // takes up so we can set the skeleton view container height.\n if (skeletonViewContainerHeight === 0) {\n return;\n }\n reportActionsListViewHeight = skeletonViewContainerHeight;\n this.setState({skeletonViewContainerHeight});\n }}\n >\n {(this.isReportReadyForDisplay() && !isLoadingInitialReportActions && !isLoading) && (\n \n )}\n\n {/* Note: The report should be allowed to mount even if the initial report actions are not loaded. If we prevent rendering the report while they are loading then\n we'll unnecessarily unmount the ReportActionsView which will clear the new marker lines initial state. */}\n {(!this.isReportReadyForDisplay() || isLoadingInitialReportActions || isLoading) && (\n \n )}\n\n {this.isReportReadyForDisplay() && (\n <>\n \n \n )}\n\n {!this.isReportReadyForDisplay() && (\n \n )}\n\n \n \n \n \n \n \n );\n }\n}\n\nReportScreen.propTypes = propTypes;\nReportScreen.defaultProps = defaultProps;\n\nexport default compose(\n withViewportOffsetTop,\n withLocalize,\n withWindowDimensions,\n withDrawerState,\n withNetwork(),\n withOnyx({\n isSidebarLoaded: {\n key: ONYXKEYS.IS_SIDEBAR_LOADED,\n },\n reportActions: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${getReportID(route)}`,\n canEvict: false,\n selector: ReportActionsUtils.getSortedReportActionsForDisplay,\n },\n report: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT}${getReportID(route)}`,\n },\n isComposerFullSize: {\n key: ({route}) => `${ONYXKEYS.COLLECTION.REPORT_IS_COMPOSER_FULL_SIZE}${getReportID(route)}`,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n accountManagerReportID: {\n key: ONYXKEYS.ACCOUNT_MANAGER_REPORT_ID,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n }),\n)(ReportScreen);\n","import _ from 'underscore';\nimport React from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport Icon from '../../components/Icon';\nimport * as Expensicons from '../../components/Icon/Expensicons';\nimport compose from '../../libs/compose';\nimport * as Report from '../../libs/actions/Report';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';\nimport MultipleAvatars from '../../components/MultipleAvatars';\nimport SubscriptAvatar from '../../components/SubscriptAvatar';\nimport DisplayNames from '../../components/DisplayNames';\nimport * as OptionsListUtils from '../../libs/OptionsListUtils';\nimport participantPropTypes from '../../components/participantPropTypes';\nimport VideoChatButtonAndMenu from '../../components/VideoChatButtonAndMenu';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport CONST from '../../CONST';\nimport * as ReportUtils from '../../libs/ReportUtils';\nimport Text from '../../components/Text';\nimport Tooltip from '../../components/Tooltip';\nimport variables from '../../styles/variables';\nimport colors from '../../styles/colors';\nimport reportPropTypes from '../reportPropTypes';\nimport ONYXKEYS from '../../ONYXKEYS';\n\nconst propTypes = {\n /** Toggles the navigationMenu open and closed */\n onNavigationMenuButtonClicked: PropTypes.func.isRequired,\n\n /* Onyx Props */\n\n /** The report currently being looked at */\n report: reportPropTypes,\n\n /** The policies which the user has access to and which the report could be tied to */\n policies: PropTypes.shape({\n /** Name of the policy */\n name: PropTypes.string,\n }),\n\n /** Personal details of all the users */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n\n /** The details about the account that the user is signing in with */\n account: PropTypes.shape({\n /** URL to the assigned guide's appointment booking calendar */\n guideCalendarLink: PropTypes.string,\n }),\n\n ...windowDimensionsPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n personalDetails: {},\n policies: {},\n report: null,\n account: {\n guideCalendarLink: null,\n },\n};\n\nconst HeaderView = (props) => {\n const participants = lodashGet(props.report, 'participants', []);\n const participantPersonalDetails = OptionsListUtils.getPersonalDetailsForLogins(participants, props.personalDetails);\n const isMultipleParticipant = participants.length > 1;\n const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(participantPersonalDetails, isMultipleParticipant);\n const isChatRoom = ReportUtils.isChatRoom(props.report);\n const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(props.report);\n const title = ReportUtils.getReportName(props.report, props.policies);\n\n const subtitle = ReportUtils.getChatRoomSubtitle(props.report, props.policies);\n const isConcierge = participants.length === 1 && _.contains(participants, CONST.EMAIL.CONCIERGE);\n const isAutomatedExpensifyAccount = (participants.length === 1 && ReportUtils.hasAutomatedExpensifyEmails(participants));\n const guideCalendarLink = lodashGet(props.account, 'guideCalendarLink');\n\n // We hide the button when we are chatting with an automated Expensify account since it's not possible to contact\n // these users via alternative means. It is possible to request a call with Concierge so we leave the option for them.\n const shouldShowCallButton = (isConcierge && guideCalendarLink) || !isAutomatedExpensifyAccount;\n const avatarTooltip = isChatRoom ? undefined : _.pluck(displayNamesWithTooltips, 'tooltip');\n const shouldShowSubscript = isPolicyExpenseChat && !props.report.isOwnPolicyExpenseChat && !ReportUtils.isArchivedRoom(props.report);\n const icons = ReportUtils.getIcons(props.report, props.personalDetails, props.policies);\n const brickRoadIndicator = ReportUtils.hasReportNameError(props.report) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '';\n return (\n \n \n {props.isSmallScreenWidth && (\n \n \n \n \n \n )}\n {Boolean(props.report && title) && (\n \n ReportUtils.navigateToDetailsPage(props.report)}\n style={[styles.flexRow, styles.alignItemsCenter, styles.flex1]}\n >\n {shouldShowSubscript ? (\n \n ) : (\n \n )}\n \n \n {(isChatRoom || isPolicyExpenseChat) && (\n \n {subtitle}\n \n )}\n \n {brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR && (\n \n \n \n )}\n \n \n {shouldShowCallButton && }\n \n Report.togglePinnedState(props.report)}\n style={[styles.touchableButtonImage]}\n >\n \n \n \n \n \n )}\n \n \n );\n};\nHeaderView.propTypes = propTypes;\nHeaderView.displayName = 'HeaderView';\nHeaderView.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withOnyx({\n account: {\n key: ONYXKEYS.ACCOUNT,\n selector: account => account && ({guideCalendarLink: account.guideCalendarLink}),\n },\n }),\n)(HeaderView);\n","import React from 'react';\nimport CONST from '../../CONST';\nimport {propTypes, defaultProps} from './videoChatButtonAndMenuPropTypes';\nimport BaseVideoChatButtonAndMenu from './BaseVideoChatButtonAndMenu';\n\nconst VideoChatButtonAndMenu = props => (\n \n);\n\nVideoChatButtonAndMenu.propTypes = propTypes;\nVideoChatButtonAndMenu.defaultProps = defaultProps;\nVideoChatButtonAndMenu.displayName = 'VideoChatButtonAndMenu';\nexport default VideoChatButtonAndMenu;\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport {\n View, Pressable, Dimensions, Linking,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport Popover from '../Popover';\nimport MenuItem from '../MenuItem';\nimport ZoomIcon from '../../../assets/images/zoom-icon.svg';\nimport GoogleMeetIcon from '../../../assets/images/google-meet.svg';\nimport CONST from '../../CONST';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport compose from '../../libs/compose';\nimport Tooltip from '../Tooltip';\nimport {propTypes as videoChatButtonAndMenuPropTypes, defaultProps} from './videoChatButtonAndMenuPropTypes';\n\nconst propTypes = {\n /** Link to open when user wants to create a new google meet meeting */\n googleMeetURL: PropTypes.string.isRequired,\n\n ...videoChatButtonAndMenuPropTypes,\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n};\n\nclass BaseVideoChatButtonAndMenu extends Component {\n constructor(props) {\n super(props);\n\n this.dimensionsEventListener = null;\n\n this.measureVideoChatIconPosition = this.measureVideoChatIconPosition.bind(this);\n this.videoChatIconWrapper = null;\n this.menuItemData = [\n {\n icon: ZoomIcon,\n text: props.translate('videoChatButtonAndMenu.zoom'),\n onPress: () => {\n this.setMenuVisibility(false);\n Linking.openURL(CONST.NEW_ZOOM_MEETING_URL);\n },\n },\n {\n icon: GoogleMeetIcon,\n text: props.translate('videoChatButtonAndMenu.googleMeet'),\n onPress: () => {\n this.setMenuVisibility(false);\n Linking.openURL(this.props.googleMeetURL);\n },\n },\n ];\n\n this.state = {\n isVideoChatMenuActive: false,\n videoChatIconPosition: {x: 0, y: 0},\n };\n }\n\n componentDidMount() {\n this.dimensionsEventListener = Dimensions.addEventListener('change', this.measureVideoChatIconPosition);\n }\n\n componentWillUnmount() {\n if (!this.dimensionsEventListener) {\n return;\n }\n this.dimensionsEventListener.remove();\n }\n\n /**\n * Set the state variable isVideoChatMenuActive\n * @param {Boolean} isVideoChatMenuActive\n */\n setMenuVisibility(isVideoChatMenuActive) {\n this.setState({isVideoChatMenuActive});\n }\n\n /**\n * This gets called onLayout to find the cooridnates of the wrapper for the video chat button.\n */\n measureVideoChatIconPosition() {\n if (!this.videoChatIconWrapper) {\n return;\n }\n\n this.videoChatIconWrapper.measureInWindow((x, y) => this.setState({\n videoChatIconPosition: {x, y},\n }));\n }\n\n render() {\n return (\n <>\n this.videoChatIconWrapper = el}\n onLayout={this.measureVideoChatIconPosition}\n >\n \n this.videoChatButton = el}\n onPress={() => {\n // Drop focus to avoid blue focus ring.\n this.videoChatButton.blur();\n\n // If this is the Concierge chat, we'll open the modal for requesting a setup call instead\n if (this.props.isConcierge && this.props.guideCalendarLink) {\n Linking.openURL(this.props.guideCalendarLink);\n return;\n }\n this.setMenuVisibility(true);\n }}\n style={[styles.touchableButtonImage]}\n >\n \n \n \n \n this.setMenuVisibility(false)}\n isVisible={this.state.isVideoChatMenuActive}\n anchorPosition={{\n left: this.state.videoChatIconPosition.x - 150,\n top: this.state.videoChatIconPosition.y + 40,\n }}\n >\n {_.map(this.menuItemData, ({icon, text, onPress}) => (\n \n ))}\n \n \n );\n }\n}\n\nBaseVideoChatButtonAndMenu.propTypes = propTypes;\nBaseVideoChatButtonAndMenu.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n)(BaseVideoChatButtonAndMenu);\n","","","import PropTypes from 'prop-types';\n\nconst propTypes = {\n /** If this is the Concierge chat, we'll open the modal for requesting a setup call instead of showing popover menu */\n isConcierge: PropTypes.bool,\n\n /** URL to the assigned guide's appointment booking calendar */\n guideCalendarLink: PropTypes.string,\n};\n\nconst defaultProps = {\n isConcierge: false,\n guideCalendarLink: null,\n};\n\nexport {propTypes, defaultProps};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport * as Report from '../../../libs/actions/Report';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport Visibility from '../../../libs/Visibility';\nimport Timing from '../../../libs/actions/Timing';\nimport CONST from '../../../CONST';\nimport compose from '../../../libs/compose';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport {withDrawerPropTypes} from '../../../components/withDrawerState';\nimport * as ReportScrollManager from '../../../libs/ReportScrollManager';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Performance from '../../../libs/Performance';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport FloatingMessageCounter from './FloatingMessageCounter';\nimport networkPropTypes from '../../../components/networkPropTypes';\nimport ReportActionsList from './ReportActionsList';\nimport CopySelectionHelper from '../../../components/CopySelectionHelper';\nimport * as ReportActionsUtils from '../../../libs/ReportActionsUtils';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport reportPropTypes from '../../reportPropTypes';\nimport getIsReportFullyVisible from '../../../libs/getIsReportFullyVisible';\n\nconst propTypes = {\n /** The report currently being looked at */\n report: reportPropTypes.isRequired,\n\n /** Array of report actions for this report */\n reportActions: PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes)),\n\n /** Whether the composer is full size */\n isComposerFullSize: PropTypes.bool.isRequired,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n ...windowDimensionsPropTypes,\n ...withDrawerPropTypes,\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n reportActions: [],\n};\n\nclass ReportActionsView extends React.Component {\n constructor(props) {\n super(props);\n\n this.didLayout = false;\n this.didSubscribeToReportTypingEvents = false;\n this.unsubscribeVisibilityListener = null;\n this.hasCachedActions = _.size(props.reportActions) > 0;\n\n this.state = {\n isFloatingMessageCounterVisible: false,\n newMarkerReportActionID: ReportUtils.getNewMarkerReportActionID(this.props.report, props.reportActions),\n };\n\n this.currentScrollOffset = 0;\n this.mostRecentIOUReportActionID = ReportActionsUtils.getMostRecentIOURequestActionID(props.reportActions);\n this.trackScroll = this.trackScroll.bind(this);\n this.toggleFloatingMessageCounter = this.toggleFloatingMessageCounter.bind(this);\n this.loadMoreChats = this.loadMoreChats.bind(this);\n this.recordTimeToMeasureItemLayout = this.recordTimeToMeasureItemLayout.bind(this);\n this.scrollToBottomAndMarkReportAsRead = this.scrollToBottomAndMarkReportAsRead.bind(this);\n this.openReportIfNecessary = this.openReportIfNecessary.bind(this);\n }\n\n componentDidMount() {\n this.unsubscribeVisibilityListener = Visibility.onVisibilityChange(() => {\n if (!this.isReportFullyVisible()) {\n return;\n }\n\n // If the app user becomes active and they have no unread actions we clear the new marker to sync their device\n // e.g. they could have read these messages on another device and only just become active here\n const hasUnreadActions = ReportUtils.isUnread(this.props.report);\n if (!hasUnreadActions) {\n this.setState({newMarkerReportActionID: ''});\n }\n });\n\n if (this.isReportFullyVisible()) {\n this.openReportIfNecessary();\n }\n\n // This callback is triggered when a new action arrives via Pusher and the event is emitted from Report.js. This allows us to maintain\n // a single source of truth for the \"new action\" event instead of trying to derive that a new action has appeared from looking at props.\n this.unsubscribeFromNewActionEvent = Report.subscribeToNewActionEvent(this.props.report.reportID, (isFromCurrentUser, newActionID) => {\n const isNewMarkerReportActionIDSet = !_.isEmpty(this.state.newMarkerReportActionID);\n\n // If a new comment is added and it's from the current user scroll to the bottom otherwise leave the user positioned where\n // they are now in the list.\n if (isFromCurrentUser) {\n ReportScrollManager.scrollToBottom();\n\n // If the current user sends a new message in the chat we clear the new marker since they have \"read\" the report\n this.setState({newMarkerReportActionID: ''});\n } else if (this.isReportFullyVisible()) {\n // We use the scroll position to determine whether the report should be marked as read and the new line indicator reset.\n // If the user is scrolled up and no new line marker is set we will set it otherwise we will do nothing so the new marker\n // stays in it's previous position.\n if (this.currentScrollOffset === 0) {\n Report.readNewestAction(this.props.report.reportID);\n this.setState({newMarkerReportActionID: ''});\n } else if (!isNewMarkerReportActionIDSet) {\n this.setState({newMarkerReportActionID: newActionID});\n }\n } else if (!isNewMarkerReportActionIDSet) {\n // The report is not in view and we received a comment from another user while the new marker is not set\n // so we will set the new marker now.\n this.setState({newMarkerReportActionID: newActionID});\n }\n });\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n if (!_.isEqual(nextProps.reportActions, this.props.reportActions)) {\n this.mostRecentIOUReportActionID = ReportActionsUtils.getMostRecentIOURequestActionID(nextProps.reportActions);\n return true;\n }\n\n if (lodashGet(nextProps.network, 'isOffline') !== lodashGet(this.props.network, 'isOffline')) {\n return true;\n }\n\n if (nextProps.report.isLoadingMoreReportActions !== this.props.report.isLoadingMoreReportActions) {\n return true;\n }\n\n if (nextProps.report.isLoadingReportActions !== this.props.report.isLoadingReportActions) {\n return true;\n }\n\n if (nextProps.report.lastReadTime !== this.props.report.lastReadTime) {\n return true;\n }\n\n if (nextState.isFloatingMessageCounterVisible !== this.state.isFloatingMessageCounterVisible) {\n return true;\n }\n\n if (nextState.newMarkerReportActionID !== this.state.newMarkerReportActionID) {\n return true;\n }\n\n if (this.props.isSmallScreenWidth !== nextProps.isSmallScreenWidth) {\n return true;\n }\n\n if (this.props.isDrawerOpen !== nextProps.isDrawerOpen) {\n return true;\n }\n\n if (lodashGet(this.props.report, 'hasOutstandingIOU') !== lodashGet(nextProps.report, 'hasOutstandingIOU')) {\n return true;\n }\n\n if (this.props.isComposerFullSize !== nextProps.isComposerFullSize) {\n return true;\n }\n\n if (\n lodashGet(this.props.report, 'statusNum') !== lodashGet(nextProps.report, 'statusNum')\n || lodashGet(this.props.report, 'stateNum') !== lodashGet(nextProps.report, 'stateNum')\n ) {\n return true;\n }\n\n return !_.isEqual(lodashGet(this.props.report, 'icons', []), lodashGet(nextProps.report, 'icons', []));\n }\n\n componentDidUpdate(prevProps) {\n const isReportFullyVisible = this.isReportFullyVisible();\n\n // When returning from offline to online state we want to trigger a request to OpenReport which\n // will fetch the reportActions data and mark the report as read. If the report is not fully visible\n // then we call ReconnectToReport which only loads the reportActions data without marking the report as read.\n const wasNetworkChangeDetected = lodashGet(prevProps.network, 'isOffline') && !lodashGet(this.props.network, 'isOffline');\n if (wasNetworkChangeDetected) {\n if (isReportFullyVisible) {\n this.openReportIfNecessary();\n } else {\n Report.reconnect(this.props.report.reportID);\n }\n }\n\n // If the report was previously hidden by the side bar, or the view is expanded from mobile to desktop layout\n // we update the new marker position, mark the report as read, and fetch new report actions\n const didSidebarClose = prevProps.isDrawerOpen && !this.props.isDrawerOpen;\n const didScreenSizeIncrease = prevProps.isSmallScreenWidth && !this.props.isSmallScreenWidth;\n const didReportBecomeVisible = isReportFullyVisible && (didSidebarClose || didScreenSizeIncrease);\n if (didReportBecomeVisible) {\n this.setState({\n newMarkerReportActionID: ReportUtils.isUnread(this.props.report)\n ? ReportUtils.getNewMarkerReportActionID(this.props.report, this.props.reportActions)\n : '',\n });\n this.openReportIfNecessary();\n }\n\n // If the report is unread, we want to check if the number of actions has decreased. If so, then it seems that one of them was deleted. In this case, if the deleted action was the\n // one marking the unread point, we need to recalculate which action should be the unread marker.\n if (ReportUtils.isUnread(this.props.report) && prevProps.reportActions.length > this.props.reportActions.length) {\n this.setState({\n newMarkerReportActionID: ReportUtils.getNewMarkerReportActionID(this.props.report, this.props.reportActions),\n });\n }\n\n // When the user navigates to the LHN the ReportActionsView doesn't unmount and just remains hidden.\n // The next time we navigate to the same report (e.g. by swiping or tapping the LHN row) we want the new marker to clear.\n const didSidebarOpen = !prevProps.isDrawerOpen && this.props.isDrawerOpen;\n const didUserNavigateToSidebarAfterReadingReport = didSidebarOpen && !ReportUtils.isUnread(this.props.report);\n if (didUserNavigateToSidebarAfterReadingReport) {\n this.setState({newMarkerReportActionID: ''});\n }\n\n // Checks to see if a report comment has been manually \"marked as unread\". All other times when the lastReadTime\n // changes it will be because we marked the entire report as read.\n const didManuallyMarkReportAsUnread = (prevProps.report.lastReadTime !== this.props.report.lastReadTime)\n && ReportUtils.isUnread(this.props.report);\n if (didManuallyMarkReportAsUnread) {\n this.setState({newMarkerReportActionID: ReportUtils.getNewMarkerReportActionID(this.props.report, this.props.reportActions)});\n }\n\n // Ensures subscription event succeeds when the report/workspace room is created optimistically.\n // Check if the optimistic `OpenReport` or `AddWorkspaceRoom` has succeeded by confirming\n // any `pendingFields.createChat` or `pendingFields.addWorkspaceRoom` fields are set to null.\n // Existing reports created will have empty fields for `pendingFields`.\n const didCreateReportSuccessfully = !this.props.report.pendingFields\n || (!this.props.report.pendingFields.addWorkspaceRoom && !this.props.report.pendingFields.createChat);\n if (!this.didSubscribeToReportTypingEvents && didCreateReportSuccessfully) {\n Report.subscribeToReportTypingEvents(this.props.report.reportID);\n this.didSubscribeToReportTypingEvents = true;\n }\n }\n\n componentWillUnmount() {\n if (this.unsubscribeVisibilityListener) {\n this.unsubscribeVisibilityListener();\n }\n\n if (this.unsubscribeFromNewActionEvent) {\n this.unsubscribeFromNewActionEvent();\n }\n\n Report.unsubscribeFromReportChannel(this.props.report.reportID);\n }\n\n /**\n * @returns {Boolean}\n */\n isReportFullyVisible() {\n return getIsReportFullyVisible(this.props.isDrawerOpen, this.props.isSmallScreenWidth);\n }\n\n // If the report is optimistic (AKA not yet created) we don't need to call openReport again\n openReportIfNecessary() {\n if (this.props.report.isOptimisticReport) {\n return;\n }\n\n Report.openReport(this.props.report.reportID);\n }\n\n /**\n * Retrieves the next set of report actions for the chat once we are nearing the end of what we are currently\n * displaying.\n */\n loadMoreChats() {\n // Only fetch more if we are not already fetching so that we don't initiate duplicate requests.\n if (this.props.report.isLoadingMoreReportActions) {\n return;\n }\n\n const oldestReportAction = _.last(this.props.reportActions);\n\n // Don't load more chats if we're already at the beginning of the chat history\n if (oldestReportAction.actionName === CONST.REPORT.ACTIONS.TYPE.CREATED) {\n return;\n }\n\n // Retrieve the next REPORT.ACTIONS.LIMIT sized page of comments\n Report.readOldestAction(this.props.report.reportID, oldestReportAction.reportActionID);\n }\n\n scrollToBottomAndMarkReportAsRead() {\n ReportScrollManager.scrollToBottom();\n Report.readNewestAction(this.props.report.reportID);\n }\n\n /**\n * Show/hide the new floating message counter when user is scrolling back/forth in the history of messages.\n */\n toggleFloatingMessageCounter() {\n if (this.currentScrollOffset < -200 && !this.state.isFloatingMessageCounterVisible) {\n this.setState({isFloatingMessageCounterVisible: true});\n }\n\n if (this.currentScrollOffset > -200 && this.state.isFloatingMessageCounterVisible) {\n this.setState({isFloatingMessageCounterVisible: false});\n }\n }\n\n /**\n * keeps track of the Scroll offset of the main messages list\n *\n * @param {Object} {nativeEvent}\n */\n trackScroll({nativeEvent}) {\n this.currentScrollOffset = -nativeEvent.contentOffset.y;\n this.toggleFloatingMessageCounter();\n }\n\n /**\n * Runs when the FlatList finishes laying out\n */\n recordTimeToMeasureItemLayout() {\n if (this.didLayout) {\n return;\n }\n\n this.didLayout = true;\n Timing.end(CONST.TIMING.SWITCH_REPORT, this.hasCachedActions ? CONST.TIMING.WARM : CONST.TIMING.COLD);\n\n // Capture the init measurement only once not per each chat switch as the value gets overwritten\n if (!ReportActionsView.initMeasured) {\n Performance.markEnd(CONST.TIMING.REPORT_INITIAL_RENDER);\n ReportActionsView.initMeasured = true;\n } else {\n Performance.markEnd(CONST.TIMING.SWITCH_REPORT);\n }\n }\n\n render() {\n // Comments have not loaded at all yet do nothing\n if (!_.size(this.props.reportActions)) {\n return null;\n }\n return (\n <>\n \n \n \n \n );\n }\n}\n\nReportActionsView.propTypes = propTypes;\nReportActionsView.defaultProps = defaultProps;\n\nexport default compose(\n Performance.withRenderTrace({id: ' rendering'}),\n withWindowDimensions,\n withLocalize,\n withNetwork(),\n)(ReportActionsView);\n","import React, {PureComponent} from 'react';\nimport {Animated, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../../../styles/styles';\nimport Button from '../../../../components/Button';\nimport Text from '../../../../components/Text';\nimport Icon from '../../../../components/Icon';\nimport * as Expensicons from '../../../../components/Icon/Expensicons';\nimport themeColors from '../../../../styles/themes/default';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport FloatingMessageCounterContainer from './FloatingMessageCounterContainer';\n\nconst propTypes = {\n /** Whether the New Messages indicator is active */\n isActive: PropTypes.bool,\n\n /** Callback to be called when user clicks the New Messages indicator */\n onClick: PropTypes.func,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isActive: false,\n onClick: () => {},\n};\n\nconst MARKER_INACTIVE_TRANSLATE_Y = -40;\nconst MARKER_ACTIVE_TRANSLATE_Y = 10;\n\nclass FloatingMessageCounter extends PureComponent {\n constructor(props) {\n super(props);\n this.translateY = new Animated.Value(MARKER_INACTIVE_TRANSLATE_Y);\n this.show = this.show.bind(this);\n this.hide = this.hide.bind(this);\n }\n\n componentDidUpdate() {\n if (this.props.isActive) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n show() {\n Animated.spring(this.translateY, {\n toValue: MARKER_ACTIVE_TRANSLATE_Y,\n duration: 80,\n useNativeDriver: true,\n }).start();\n }\n\n hide() {\n Animated.spring(this.translateY, {\n toValue: MARKER_INACTIVE_TRANSLATE_Y,\n duration: 80,\n useNativeDriver: true,\n }).start();\n }\n\n render() {\n return (\n \n \n \n (\n \n \n \n {this.props.translate('newMessages')}\n \n \n )}\n />\n \n \n \n );\n }\n}\n\nFloatingMessageCounter.propTypes = propTypes;\nFloatingMessageCounter.defaultProps = defaultProps;\n\nexport default withLocalize(FloatingMessageCounter);\n","import React from 'react';\nimport {Animated} from 'react-native';\nimport styles from '../../../../../styles/styles';\nimport floatingMessageCounterContainerPropTypes from './floatingMessageCounterContainerPropTypes';\n\nconst FloatingMessageCounterContainer = props => (\n \n {props.children}\n \n);\n\nFloatingMessageCounterContainer.propTypes = floatingMessageCounterContainerPropTypes;\nFloatingMessageCounterContainer.displayName = 'FloatingMessageCounterContainer';\n\nexport default FloatingMessageCounterContainer;\n","import PropTypes from 'prop-types';\n\nconst propTypes = {\n /** Styles to be assigned to Container */\n containerStyles: PropTypes.arrayOf(PropTypes.object).isRequired,\n\n /** Rendered child component */\n children: PropTypes.element.isRequired,\n};\n\nexport default propTypes;\n","import PropTypes from 'prop-types';\nimport React, {useCallback, useEffect, useState} from 'react';\nimport Animated, {useSharedValue, useAnimatedStyle, withTiming} from 'react-native-reanimated';\nimport _ from 'underscore';\nimport InvertedFlatList from '../../../components/InvertedFlatList';\nimport withDrawerState, {withDrawerPropTypes} from '../../../components/withDrawerState';\nimport compose from '../../../libs/compose';\nimport * as ReportScrollManager from '../../../libs/ReportScrollManager';\nimport styles from '../../../styles/styles';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport {withNetwork, withPersonalDetails} from '../../../components/OnyxProvider';\nimport ReportActionItem from './ReportActionItem';\nimport ReportActionsSkeletonView from '../../../components/ReportActionsSkeletonView';\nimport variables from '../../../styles/variables';\nimport participantPropTypes from '../../../components/participantPropTypes';\nimport * as ReportActionsUtils from '../../../libs/ReportActionsUtils';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport CONST from '../../../CONST';\nimport reportPropTypes from '../../reportPropTypes';\nimport networkPropTypes from '../../../components/networkPropTypes';\nimport withLocalize from '../../../components/withLocalize';\n\nconst propTypes = {\n /** Position of the \"New\" line marker */\n newMarkerReportActionID: PropTypes.string,\n\n /** Personal details of all the users */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n\n /** The report currently being looked at */\n report: reportPropTypes.isRequired,\n\n /** Sorted actions prepared for display */\n sortedReportActions: PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes)).isRequired,\n\n /** The ID of the most recent IOU report action connected with the shown report */\n mostRecentIOUReportActionID: PropTypes.string,\n\n /** Are we loading more report actions? */\n isLoadingMoreReportActions: PropTypes.bool,\n\n /** Callback executed on list layout */\n onLayout: PropTypes.func.isRequired,\n\n /** Callback executed on scroll */\n onScroll: PropTypes.func.isRequired,\n\n /** Function to load more chats */\n loadMoreChats: PropTypes.func.isRequired,\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n ...withDrawerPropTypes,\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n newMarkerReportActionID: '',\n personalDetails: {},\n mostRecentIOUReportActionID: '',\n isLoadingMoreReportActions: false,\n};\n\n/**\n * Create a unique key for each action in the FlatList.\n * We use the reportActionID that is a string representation of a random 64-bit int, which should be\n * random enough to avoid collisions\n * @param {Object} item\n * @param {Object} item.action\n * @return {String}\n */\nfunction keyExtractor(item) {\n return item.reportActionID;\n}\n\nconst ReportActionsList = (props) => {\n const opacity = useSharedValue(0);\n const animatedStyles = useAnimatedStyle(() => ({\n opacity: withTiming(opacity.value, {duration: 100}),\n }));\n useEffect(() => {\n opacity.value = 1;\n }, [opacity]);\n const [skeletonViewHeight, setSkeletonViewHeight] = useState(0);\n\n const windowHeight = props.windowHeight;\n\n /**\n * Calculates the ideal number of report actions to render in the first render, based on the screen height and on\n * the height of the smallest report action possible.\n * @return {Number}\n */\n const calculateInitialNumToRender = useCallback(() => {\n const minimumReportActionHeight = styles.chatItem.paddingTop + styles.chatItem.paddingBottom\n + variables.fontSizeNormalHeight;\n const availableHeight = windowHeight\n - (CONST.CHAT_FOOTER_MIN_HEIGHT + variables.contentHeaderHeight);\n return Math.ceil(availableHeight / minimumReportActionHeight);\n }, [windowHeight]);\n\n const report = props.report;\n const hasOutstandingIOU = props.report.hasOutstandingIOU;\n const newMarkerReportActionID = props.newMarkerReportActionID;\n const sortedReportActions = props.sortedReportActions;\n const mostRecentIOUReportActionID = props.mostRecentIOUReportActionID;\n\n /**\n * @param {Object} args\n * @param {Number} args.index\n * @returns {React.Component}\n */\n const renderItem = useCallback(({\n item: reportAction,\n index,\n }) => {\n // When the new indicator should not be displayed we explicitly set it to null\n const shouldDisplayNewMarker = reportAction.reportActionID === newMarkerReportActionID;\n return (\n \n );\n }, [report, hasOutstandingIOU, newMarkerReportActionID, sortedReportActions, mostRecentIOUReportActionID]);\n\n // Native mobile does not render updates flatlist the changes even though component did update called.\n // To notify there something changes we can use extraData prop to flatlist\n const extraData = (!props.isDrawerOpen && props.isSmallScreenWidth) ? props.newMarkerReportActionID : undefined;\n const shouldShowReportRecipientLocalTime = ReportUtils.canShowReportRecipientLocalTime(props.personalDetails, props.report);\n return (\n \n {\n if (props.report.isLoadingMoreReportActions) {\n return (\n \n );\n }\n\n // Make sure the oldest report action loaded is not the first. This is so we do not show the\n // skeleton view above the created action in a newly generated optimistic chat or one with not\n // that many comments.\n const lastReportAction = _.last(props.sortedReportActions) || {};\n if (props.report.isLoadingReportActions && lastReportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED) {\n return (\n \n );\n }\n\n return null;\n }}\n keyboardShouldPersistTaps=\"handled\"\n onLayout={(event) => {\n setSkeletonViewHeight(event.nativeEvent.layout.height);\n props.onLayout(event);\n }}\n onScroll={props.onScroll}\n extraData={extraData}\n />\n \n );\n};\n\nReportActionsList.propTypes = propTypes;\nReportActionsList.defaultProps = defaultProps;\nReportActionsList.displayName = 'ReportActionsList';\n\nexport default compose(\n withDrawerState,\n withWindowDimensions,\n withLocalize,\n withPersonalDetails(),\n withNetwork(),\n)(ReportActionsList);\n","import React, {forwardRef} from 'react';\nimport BaseInvertedFlatList from './BaseInvertedFlatList';\n\nexport default forwardRef((props, ref) => (\n \n));\n","/* eslint-disable react/jsx-props-no-multi-spaces */\nimport _ from 'underscore';\nimport React, {forwardRef, Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {FlatList, View} from 'react-native';\nimport * as CollectionUtils from '../../libs/CollectionUtils';\n\nconst propTypes = {\n /** Same as FlatList can be any array of anything */\n // eslint-disable-next-line react/forbid-prop-types\n data: PropTypes.arrayOf(PropTypes.any),\n\n /** Same as FlatList although we wrap it in a measuring helper before passing to the actual FlatList component */\n renderItem: PropTypes.func.isRequired,\n\n /** This must be set to the minimum size of one of the renderItem rows. Web experiences issues when inaccurate. */\n initialRowHeight: PropTypes.number.isRequired,\n\n /** Passed via forwardRef so we can access the FlatList ref */\n innerRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({current: PropTypes.instanceOf(FlatList)}),\n ]).isRequired,\n\n /** Should we measure these items and call getItemLayout? */\n shouldMeasureItems: PropTypes.bool,\n};\n\nconst defaultProps = {\n data: [],\n shouldMeasureItems: false,\n};\n\nclass BaseInvertedFlatList extends Component {\n constructor(props) {\n super(props);\n\n this.renderItem = this.renderItem.bind(this);\n this.getItemLayout = this.getItemLayout.bind(this);\n\n // Stores each item's computed height after it renders\n // once and is then referenced for the life of this component.\n // This is essential to getting FlatList inverted to work on web\n // and also enables more predictable scrolling on native platforms.\n this.sizeMap = {};\n }\n\n /**\n * Return default or previously cached height for\n * a renderItem row\n *\n * @param {*} data\n * @param {Number} index\n *\n * @return {Object}\n */\n getItemLayout(data, index) {\n const size = this.sizeMap[index];\n\n if (size) {\n return {\n length: size.length,\n offset: size.offset,\n index,\n };\n }\n\n // If we don't have a size yet means we haven't measured this\n // item yet. However, we can still calculate the offset by looking\n // at the last size we have recorded (if any)\n const lastMeasuredItem = CollectionUtils.lastItem(this.sizeMap);\n\n return {\n // We haven't measured this so we must return the minimum row height\n length: this.props.initialRowHeight,\n\n // Offset will either be based on the lastMeasuredItem or the index +\n // initialRowHeight since we can only assume that all previous items\n // have not yet been measured\n offset: _.isUndefined(lastMeasuredItem)\n ? this.props.initialRowHeight * index\n : lastMeasuredItem.offset + this.props.initialRowHeight,\n index,\n };\n }\n\n /**\n * Measure item and cache the returned length (a.k.a. height)\n *\n * @param {React.NativeSyntheticEvent} nativeEvent\n * @param {Number} index\n */\n measureItemLayout(nativeEvent, index) {\n const computedHeight = nativeEvent.layout.height;\n\n // We've already measured this item so we don't need to\n // measure it again.\n if (this.sizeMap[index]) {\n return;\n }\n\n const previousItem = this.sizeMap[index - 1] || {};\n\n // If there is no previousItem this can mean we haven't yet measured\n // the previous item or that we are at index 0 and there is no previousItem\n const previousLength = previousItem.length || 0;\n const previousOffset = previousItem.offset || 0;\n this.sizeMap[index] = {\n length: computedHeight,\n offset: previousLength + previousOffset,\n };\n }\n\n /**\n * Render item method wraps the prop renderItem to render in a\n * View component so we can attach an onLayout handler and\n * measure it when it renders.\n *\n * @param {Object} params\n * @param {Object} params.item\n * @param {Number} params.index\n *\n * @return {React.Component}\n */\n renderItem({item, index}) {\n if (this.props.shouldMeasureItems) {\n return (\n this.measureItemLayout(nativeEvent, index)}>\n {this.props.renderItem({item, index})}\n \n );\n }\n\n return this.props.renderItem({item, index});\n }\n\n render() {\n return (\n \n );\n }\n}\n\nBaseInvertedFlatList.propTypes = propTypes;\nBaseInvertedFlatList.defaultProps = defaultProps;\n\nexport default forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n));\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {useDrawerStatus} from '@react-navigation/drawer';\nimport getComponentDisplayName from '../libs/getComponentDisplayName';\n\nconst withDrawerPropTypes = {\n isDrawerOpen: PropTypes.bool.isRequired,\n};\n\nexport default function withDrawerState(WrappedComponent) {\n const WithDrawerState = (props) => {\n const drawerStatus = useDrawerStatus();\n\n return (\n \n );\n };\n\n WithDrawerState.displayName = `withDrawerState(${getComponentDisplayName(WrappedComponent)})`;\n WithDrawerState.propTypes = {\n forwardedRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({current: PropTypes.instanceOf(React.Component)}),\n ]),\n };\n WithDrawerState.defaultProps = {\n forwardedRef: undefined,\n };\n return React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n ));\n}\n\nexport {\n withDrawerPropTypes,\n};\n","/**\n * Navigators\n */\nexport { default as createDrawerNavigator } from './navigators/createDrawerNavigator';\n\n/**\n * Views\n */\nexport { default as DrawerContent } from './views/DrawerContent';\nexport { default as DrawerContentScrollView } from './views/DrawerContentScrollView';\nexport { default as DrawerItem } from './views/DrawerItem';\nexport { default as DrawerItemList } from './views/DrawerItemList';\nexport { default as DrawerToggleButton } from './views/DrawerToggleButton';\nexport { default as DrawerView } from './views/DrawerView';\n\n/**\n * Utilities\n */\nexport { default as DrawerGestureContext } from './utils/DrawerGestureContext';\nexport { default as DrawerProgressContext } from './utils/DrawerProgressContext';\nexport { default as getDrawerStatusFromState } from './utils/getDrawerStatusFromState';\nexport { default as useDrawerProgress } from './utils/useDrawerProgress';\nexport { default as useDrawerStatus } from './utils/useDrawerStatus';\n\n/**\n * Types\n */\nexport type {\n DrawerContentComponentProps,\n DrawerHeaderProps,\n DrawerNavigationEventMap,\n DrawerNavigationOptions,\n DrawerNavigationProp,\n DrawerScreenProps,\n} from './types';\n","import {\n createNavigatorFactory,\n DefaultNavigatorOptions,\n DrawerActionHelpers,\n DrawerNavigationState,\n DrawerRouter,\n DrawerRouterOptions,\n DrawerStatus,\n ParamListBase,\n useNavigationBuilder,\n} from '@react-navigation/native';\nimport * as React from 'react';\nimport warnOnce from 'warn-once';\n\nimport type {\n DrawerNavigationConfig,\n DrawerNavigationEventMap,\n DrawerNavigationOptions,\n} from '../types';\nimport DrawerView from '../views/DrawerView';\n\ntype Props = DefaultNavigatorOptions<\n ParamListBase,\n DrawerNavigationState,\n DrawerNavigationOptions,\n DrawerNavigationEventMap\n> &\n DrawerRouterOptions &\n DrawerNavigationConfig;\n\nfunction DrawerNavigator({\n id,\n initialRouteName,\n defaultStatus: customDefaultStatus,\n backBehavior,\n children,\n screenListeners,\n screenOptions,\n ...restWithDeprecated\n}: Props) {\n const {\n // @ts-expect-error: openByDefault is deprecated\n openByDefault,\n // @ts-expect-error: lazy is deprecated\n lazy,\n // @ts-expect-error: drawerContentOptions is deprecated\n drawerContentOptions,\n ...rest\n } = restWithDeprecated;\n\n let defaultScreenOptions: DrawerNavigationOptions = {};\n\n if (drawerContentOptions) {\n Object.assign(defaultScreenOptions, {\n drawerPosition: drawerContentOptions.drawerPosition,\n drawerType: drawerContentOptions.drawerType,\n swipeEdgeWidth: drawerContentOptions.edgeWidth,\n drawerHideStatusBarOnOpen: drawerContentOptions.hideStatusBar,\n keyboardDismissMode: drawerContentOptions.keyboardDismissMode,\n swipeMinDistance: drawerContentOptions.minSwipeDistance,\n overlayColor: drawerContentOptions.overlayColor,\n drawerStatusBarAnimation: drawerContentOptions.statusBarAnimation,\n gestureHandlerProps: drawerContentOptions.gestureHandlerProps,\n });\n\n (\n Object.keys(defaultScreenOptions) as (keyof DrawerNavigationOptions)[]\n ).forEach((key) => {\n if (defaultScreenOptions[key] === undefined) {\n // eslint-disable-next-line @typescript-eslint/no-dynamic-delete\n delete defaultScreenOptions[key];\n }\n });\n\n warnOnce(\n drawerContentOptions,\n `Drawer Navigator: 'drawerContentOptions' is deprecated. Migrate the options to 'screenOptions' instead.\\n\\nPlace the following in 'screenOptions' in your code to keep current behavior:\\n\\n${JSON.stringify(\n defaultScreenOptions,\n null,\n 2\n )}\\n\\nSee https://reactnavigation.org/docs/drawer-navigator#options for more details.`\n );\n }\n\n if (typeof lazy === 'boolean') {\n defaultScreenOptions.lazy = lazy;\n\n warnOnce(\n true,\n `Drawer Navigator: 'lazy' in props is deprecated. Move it to 'screenOptions' instead.\\n\\nSee https://reactnavigation.org/docs/drawer-navigator/#lazy for more details.`\n );\n }\n\n if (typeof openByDefault === 'boolean') {\n warnOnce(\n true,\n `Drawer Navigator: 'openByDefault' is deprecated. Use 'defaultStatus' and set it to 'open' or 'closed' instead.\\n\\nSee https://reactnavigation.org/docs/drawer-navigator/#defaultstatus for more details.`\n );\n }\n\n const defaultStatus: DrawerStatus =\n customDefaultStatus !== undefined\n ? customDefaultStatus\n : openByDefault\n ? 'open'\n : 'closed';\n\n const { state, descriptors, navigation, NavigationContent } =\n useNavigationBuilder<\n DrawerNavigationState,\n DrawerRouterOptions,\n DrawerActionHelpers,\n DrawerNavigationOptions,\n DrawerNavigationEventMap\n >(DrawerRouter, {\n id,\n initialRouteName,\n defaultStatus,\n backBehavior,\n children,\n screenListeners,\n screenOptions,\n defaultScreenOptions,\n });\n\n return (\n \n \n \n );\n}\n\nexport default createNavigatorFactory<\n DrawerNavigationState,\n DrawerNavigationOptions,\n DrawerNavigationEventMap,\n typeof DrawerNavigator\n>(DrawerNavigator);\n","import {\n getHeaderTitle,\n Header,\n SafeAreaProviderCompat,\n Screen,\n} from '@react-navigation/elements';\nimport {\n DrawerActions,\n DrawerNavigationState,\n DrawerStatus,\n ParamListBase,\n useTheme,\n} from '@react-navigation/native';\nimport * as React from 'react';\nimport {\n BackHandler,\n I18nManager,\n Platform,\n StyleSheet,\n View,\n} from 'react-native';\nimport * as Reanimated from 'react-native-reanimated';\nimport { useSafeAreaFrame } from 'react-native-safe-area-context';\n\nimport type {\n DrawerContentComponentProps,\n DrawerDescriptorMap,\n DrawerHeaderProps,\n DrawerNavigationConfig,\n DrawerNavigationHelpers,\n DrawerNavigationProp,\n DrawerProps,\n} from '../types';\nimport DrawerPositionContext from '../utils/DrawerPositionContext';\nimport DrawerStatusContext from '../utils/DrawerStatusContext';\nimport getDrawerStatusFromState from '../utils/getDrawerStatusFromState';\nimport DrawerContent from './DrawerContent';\nimport DrawerToggleButton from './DrawerToggleButton';\nimport { GestureHandlerRootView } from './GestureHandler';\nimport { MaybeScreen, MaybeScreenContainer } from './ScreenFallback';\n\ntype Props = DrawerNavigationConfig & {\n defaultStatus: DrawerStatus;\n state: DrawerNavigationState;\n navigation: DrawerNavigationHelpers;\n descriptors: DrawerDescriptorMap;\n};\n\nconst getDefaultDrawerWidth = ({\n height,\n width,\n}: {\n height: number;\n width: number;\n}) => {\n /*\n * Default drawer width is screen width - header height\n * with a max width of 280 on mobile and 320 on tablet\n * https://material.io/components/navigation-drawer\n */\n const smallerAxisSize = Math.min(height, width);\n const isLandscape = width > height;\n const isTablet = smallerAxisSize >= 600;\n const appBarHeight = Platform.OS === 'ios' ? (isLandscape ? 32 : 44) : 56;\n const maxWidth = isTablet ? 320 : 280;\n\n return Math.min(smallerAxisSize - appBarHeight, maxWidth);\n};\n\nconst GestureHandlerWrapper = GestureHandlerRootView ?? View;\n\nfunction DrawerViewBase({\n state,\n navigation,\n descriptors,\n defaultStatus,\n drawerContent = (props: DrawerContentComponentProps) => (\n \n ),\n detachInactiveScreens = Platform.OS === 'web' ||\n Platform.OS === 'android' ||\n Platform.OS === 'ios',\n // Reanimated 2 is not configured\n // @ts-expect-error: the type definitions are incomplete\n useLegacyImplementation = !Reanimated.isConfigured?.(),\n}: Props) {\n // Reanimated v3 dropped legacy v1 syntax\n const legacyImplemenationNotAvailable =\n require('react-native-reanimated').abs === undefined;\n\n if (useLegacyImplementation && legacyImplemenationNotAvailable) {\n throw new Error(\n 'The `useLegacyImplementation` prop is not available with Reanimated 3 as it no longer includes support for Reanimated 1 legacy API. Remove the `useLegacyImplementation` prop from `Drawer.Navigator` to be able to use it.'\n );\n }\n\n const Drawer: React.ComponentType = useLegacyImplementation\n ? require('./legacy/Drawer').default\n : require('./modern/Drawer').default;\n\n const focusedRouteKey = state.routes[state.index].key;\n const {\n drawerHideStatusBarOnOpen = false,\n drawerPosition = I18nManager.getConstants().isRTL ? 'right' : 'left',\n drawerStatusBarAnimation = 'slide',\n drawerStyle,\n drawerType = Platform.select({ ios: 'slide', default: 'front' }),\n gestureHandlerProps,\n keyboardDismissMode = 'on-drag',\n overlayColor = 'rgba(0, 0, 0, 0.5)',\n swipeEdgeWidth = 32,\n swipeEnabled = Platform.OS !== 'web' &&\n Platform.OS !== 'windows' &&\n Platform.OS !== 'macos',\n swipeMinDistance = 60,\n } = descriptors[focusedRouteKey].options;\n\n const [loaded, setLoaded] = React.useState([focusedRouteKey]);\n\n if (!loaded.includes(focusedRouteKey)) {\n setLoaded([...loaded, focusedRouteKey]);\n }\n\n const dimensions = useSafeAreaFrame();\n\n const { colors } = useTheme();\n\n const drawerStatus = getDrawerStatusFromState(state);\n\n const handleDrawerOpen = React.useCallback(() => {\n navigation.dispatch({\n ...DrawerActions.openDrawer(),\n target: state.key,\n });\n }, [navigation, state.key]);\n\n const handleDrawerClose = React.useCallback(() => {\n navigation.dispatch({\n ...DrawerActions.closeDrawer(),\n target: state.key,\n });\n }, [navigation, state.key]);\n\n React.useEffect(() => {\n if (drawerStatus === defaultStatus || drawerType === 'permanent') {\n return;\n }\n\n const handleHardwareBack = () => {\n // We shouldn't handle the back button if the parent screen isn't focused\n // This will avoid the drawer overriding event listeners from a focused screen\n if (!navigation.isFocused()) {\n return false;\n }\n\n if (defaultStatus === 'open') {\n handleDrawerOpen();\n } else {\n handleDrawerClose();\n }\n\n return true;\n };\n\n const handleEscape = (e: KeyboardEvent) => {\n if (e.key === 'Escape') {\n handleHardwareBack();\n }\n };\n\n // We only add the listeners when drawer opens\n // This way we can make sure that the listener is added as late as possible\n // This will make sure that our handler will run first when back button is pressed\n const subscription = BackHandler.addEventListener(\n 'hardwareBackPress',\n handleHardwareBack\n );\n\n if (Platform.OS === 'web') {\n document?.body?.addEventListener?.('keyup', handleEscape);\n }\n\n return () => {\n subscription.remove();\n\n if (Platform.OS === 'web') {\n document?.body?.removeEventListener?.('keyup', handleEscape);\n }\n };\n }, [\n defaultStatus,\n drawerStatus,\n drawerType,\n handleDrawerClose,\n handleDrawerOpen,\n navigation,\n ]);\n\n const renderDrawerContent = () => {\n return (\n \n {drawerContent({\n state: state,\n navigation: navigation,\n descriptors: descriptors,\n })}\n \n );\n };\n\n const renderSceneContent = () => {\n return (\n \n {state.routes.map((route, index) => {\n const descriptor = descriptors[route.key];\n const { lazy = true, unmountOnBlur } = descriptor.options;\n const isFocused = state.index === index;\n\n if (unmountOnBlur && !isFocused) {\n return null;\n }\n\n if (lazy && !loaded.includes(route.key) && !isFocused) {\n // Don't render a lazy screen if we've never navigated to it\n return null;\n }\n\n const {\n freezeOnBlur,\n header = ({ layout, options }: DrawerHeaderProps) => (\n )\n }\n />\n ),\n headerShown,\n headerStatusBarHeight,\n headerTransparent,\n sceneContainerStyle,\n } = descriptor.options;\n\n return (\n \n ,\n options: descriptor.options,\n })}\n style={sceneContainerStyle}\n >\n {descriptor.render()}\n \n \n );\n })}\n \n );\n };\n\n return (\n \n \n \n );\n}\n\nexport default function DrawerView({ navigation, ...rest }: Props) {\n return (\n \n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n content: {\n flex: 1,\n },\n});\n","import * as React from 'react';\n\nexport default React.createContext<'left' | 'right' | undefined>(undefined);\n","import type { DrawerStatus } from '@react-navigation/native';\nimport * as React from 'react';\n\nconst DrawerStatusContext = React.createContext(\n undefined\n);\n\nexport default DrawerStatusContext;\n","import type {\n DrawerNavigationState,\n DrawerStatus,\n ParamListBase,\n} from '@react-navigation/native';\n\nexport default function getDrawerStatusFromState(\n state: DrawerNavigationState\n): DrawerStatus {\n if (state.history == null) {\n throw new Error(\n \"Couldn't find the drawer status in the state object. Is it a valid state object of drawer navigator?\"\n );\n }\n\n const entry = state.history.find((it) => it.type === 'drawer') as\n | { type: 'drawer'; status: DrawerStatus }\n | undefined;\n\n return entry?.status ?? state.default ?? 'closed';\n}\n","import * as React from 'react';\n\nimport type { DrawerContentComponentProps } from '../types';\nimport DrawerContentScrollView from './DrawerContentScrollView';\nimport DrawerItemList from './DrawerItemList';\n\nexport default function DrawerContent({\n descriptors,\n state,\n ...rest\n}: DrawerContentComponentProps) {\n const focusedRoute = state.routes[state.index];\n const focusedDescriptor = descriptors[focusedRoute.key];\n const focusedOptions = focusedDescriptor.options;\n\n const { drawerContentStyle, drawerContentContainerStyle } = focusedOptions;\n\n return (\n \n \n \n );\n}\n","import * as React from 'react';\nimport {\n I18nManager,\n ScrollView,\n ScrollViewProps,\n StyleSheet,\n} from 'react-native';\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\n\nimport DrawerPositionContext from '../utils/DrawerPositionContext';\n\ntype Props = ScrollViewProps & {\n children: React.ReactNode;\n};\n\nfunction DrawerContentScrollView(\n { contentContainerStyle, style, children, ...rest }: Props,\n ref?: React.Ref\n) {\n const drawerPosition = React.useContext(DrawerPositionContext);\n const insets = useSafeAreaInsets();\n\n const isRight = I18nManager.getConstants().isRTL\n ? drawerPosition === 'left'\n : drawerPosition === 'right';\n\n return (\n \n {children}\n \n );\n}\n\nexport default React.forwardRef(DrawerContentScrollView);\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n});\n","import {\n CommonActions,\n DrawerActions,\n DrawerNavigationState,\n ParamListBase,\n useLinkBuilder,\n} from '@react-navigation/native';\nimport * as React from 'react';\n\nimport type { DrawerDescriptorMap, DrawerNavigationHelpers } from '../types';\nimport DrawerItem from './DrawerItem';\n\ntype Props = {\n state: DrawerNavigationState;\n navigation: DrawerNavigationHelpers;\n descriptors: DrawerDescriptorMap;\n};\n\n/**\n * Component that renders the navigation list in the drawer.\n */\nexport default function DrawerItemList({\n state,\n navigation,\n descriptors,\n}: Props) {\n const buildLink = useLinkBuilder();\n\n const focusedRoute = state.routes[state.index];\n const focusedDescriptor = descriptors[focusedRoute.key];\n const focusedOptions = focusedDescriptor.options;\n\n const {\n drawerActiveTintColor,\n drawerInactiveTintColor,\n drawerActiveBackgroundColor,\n drawerInactiveBackgroundColor,\n } = focusedOptions;\n\n return state.routes.map((route, i) => {\n const focused = i === state.index;\n\n const onPress = () => {\n const event = navigation.emit({\n type: 'drawerItemPress',\n target: route.key,\n canPreventDefault: true,\n });\n\n if (!event.defaultPrevented) {\n navigation.dispatch({\n ...(focused\n ? DrawerActions.closeDrawer()\n : CommonActions.navigate({ name: route.name, merge: true })),\n target: state.key,\n });\n }\n };\n\n const {\n title,\n drawerLabel,\n drawerIcon,\n drawerLabelStyle,\n drawerItemStyle,\n drawerAllowFontScaling,\n } = descriptors[route.key].options;\n\n return (\n \n );\n }) as React.ReactNode as React.ReactElement;\n}\n","import { PlatformPressable } from '@react-navigation/elements';\nimport { Link, useTheme } from '@react-navigation/native';\nimport Color from 'color';\nimport * as React from 'react';\nimport {\n Platform,\n StyleProp,\n StyleSheet,\n Text,\n TextStyle,\n View,\n ViewStyle,\n} from 'react-native';\n\ntype Props = {\n /**\n * The label text of the item.\n */\n label:\n | string\n | ((props: { focused: boolean; color: string }) => React.ReactNode);\n /**\n * Icon to display for the `DrawerItem`.\n */\n icon?: (props: {\n focused: boolean;\n size: number;\n color: string;\n }) => React.ReactNode;\n /**\n * URL to use for the link to the tab.\n */\n to?: string;\n /**\n * Whether to highlight the drawer item as active.\n */\n focused?: boolean;\n /**\n * Function to execute on press.\n */\n onPress: () => void;\n /**\n * Color for the icon and label when the item is active.\n */\n activeTintColor?: string;\n /**\n * Color for the icon and label when the item is inactive.\n */\n inactiveTintColor?: string;\n /**\n * Background color for item when its active.\n */\n activeBackgroundColor?: string;\n /**\n * Background color for item when its inactive.\n */\n inactiveBackgroundColor?: string;\n /**\n * Color of the touchable effect on press.\n * Only supported on Android.\n *\n * @platform android\n */\n pressColor?: string;\n /**\n * Opacity of the touchable effect on press.\n * Only supported on iOS.\n *\n * @platform ios\n */\n pressOpacity?: number;\n /**\n * Style object for the label element.\n */\n labelStyle?: StyleProp;\n /**\n * Style object for the wrapper element.\n */\n style?: StyleProp;\n /**\n * Whether label font should scale to respect Text Size accessibility settings.\n */\n allowFontScaling?: boolean;\n};\n\nconst LinkPressable = ({\n children,\n style,\n onPress,\n onLongPress,\n onPressIn,\n onPressOut,\n to,\n accessibilityRole,\n ...rest\n}: Omit, 'style'> & {\n style: StyleProp;\n} & {\n to?: string;\n children: React.ReactNode;\n onPress?: () => void;\n}) => {\n if (Platform.OS === 'web' && to) {\n // React Native Web doesn't forward `onClick` if we use `TouchableWithoutFeedback`.\n // We need to use `onClick` to be able to prevent default browser handling of links.\n return (\n {\n if (\n !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && // ignore clicks with modifier keys\n (e.button == null || e.button === 0) // ignore everything but left clicks\n ) {\n e.preventDefault();\n onPress?.(e);\n }\n }}\n // types for PressableProps and TextProps are incompatible with each other by `null` so we\n // can't use {...rest} for these 3 props\n onLongPress={onLongPress ?? undefined}\n onPressIn={onPressIn ?? undefined}\n onPressOut={onPressOut ?? undefined}\n >\n {children}\n \n );\n } else {\n return (\n \n {children}\n \n );\n }\n};\n\n/**\n * A component used to show an action item with an icon and a label in a navigation drawer.\n */\nexport default function DrawerItem(props: Props) {\n const { colors } = useTheme();\n\n const {\n icon,\n label,\n labelStyle,\n to,\n focused = false,\n allowFontScaling,\n activeTintColor = colors.primary,\n inactiveTintColor = Color(colors.text).alpha(0.68).rgb().string(),\n activeBackgroundColor = Color(activeTintColor).alpha(0.12).rgb().string(),\n inactiveBackgroundColor = 'transparent',\n style,\n onPress,\n pressColor,\n pressOpacity,\n ...rest\n } = props;\n\n const { borderRadius = 4 } = StyleSheet.flatten(style || {});\n const color = focused ? activeTintColor : inactiveTintColor;\n const backgroundColor = focused\n ? activeBackgroundColor\n : inactiveBackgroundColor;\n\n const iconNode = icon ? icon({ size: 24, focused, color }) : null;\n\n return (\n \n \n \n {iconNode}\n \n {typeof label === 'string' ? (\n \n {label}\n \n ) : (\n label({ color, focused })\n )}\n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n marginHorizontal: 10,\n marginVertical: 4,\n overflow: 'hidden',\n },\n wrapper: {\n flexDirection: 'row',\n alignItems: 'center',\n padding: 8,\n },\n label: {\n marginRight: 32,\n flex: 1,\n },\n button: {\n display: 'flex',\n },\n});\n","import { PlatformPressable } from '@react-navigation/elements';\nimport {\n DrawerActions,\n ParamListBase,\n useNavigation,\n} from '@react-navigation/native';\nimport * as React from 'react';\nimport { Image, Platform, StyleSheet } from 'react-native';\n\nimport type { DrawerNavigationProp } from '../types';\n\ntype Props = {\n accessibilityLabel?: string;\n pressColor?: string;\n pressOpacity?: number;\n tintColor?: string;\n};\n\nexport default function DrawerToggleButton({ tintColor, ...rest }: Props) {\n const navigation = useNavigation>();\n\n return (\n navigation.dispatch(DrawerActions.toggleDrawer())}\n style={styles.touchable}\n hitSlop={Platform.select({\n ios: undefined,\n default: { top: 16, right: 16, bottom: 16, left: 16 },\n })}\n >\n \n \n );\n}\n\nconst styles = StyleSheet.create({\n icon: {\n height: 24,\n width: 24,\n margin: 3,\n resizeMode: 'contain',\n },\n touchable: {\n marginHorizontal: 11,\n },\n});\n","","export * from './GestureHandlerNative';\n","import * as React from 'react';\nimport {\n PanGestureHandler as PanGestureHandlerNative,\n PanGestureHandlerProperties,\n} from 'react-native-gesture-handler';\n\nimport DrawerGestureContext from '../utils/DrawerGestureContext';\n\nexport function PanGestureHandler(props: PanGestureHandlerProperties) {\n const gestureRef = React.useRef(null);\n\n return (\n \n \n \n );\n}\n\nexport type { PanGestureHandlerGestureEvent } from 'react-native-gesture-handler';\nexport {\n GestureHandlerRootView,\n State as GestureState,\n TapGestureHandler,\n} from 'react-native-gesture-handler';\n","import * as React from 'react';\n\nexport default React.createContext | null>(null);\n","import * as React from 'react';\nimport {\n I18nManager,\n InteractionManager,\n Keyboard,\n LayoutChangeEvent,\n Platform,\n StatusBar,\n StyleSheet,\n View,\n} from 'react-native';\nimport Animated from 'react-native-reanimated';\n\nimport type { DrawerProps } from '../../types';\nimport DrawerProgressContext from '../../utils/DrawerProgressContext';\nimport { GestureState, PanGestureHandler } from '../GestureHandler';\nimport Overlay from './Overlay';\n\nconst {\n Clock,\n Value,\n onChange,\n clockRunning,\n startClock,\n stopClock,\n spring,\n abs,\n add,\n and,\n block,\n call,\n cond,\n divide,\n eq,\n event,\n greaterThan,\n lessThan,\n max,\n min,\n multiply,\n neq,\n or,\n set,\n sub,\n} = Animated;\n\nconst TRUE = 1;\nconst FALSE = 0;\nconst NOOP = 0;\nconst UNSET = -1;\n\nconst DIRECTION_LEFT = 1;\nconst DIRECTION_RIGHT = -1;\n\nconst SWIPE_DISTANCE_MINIMUM = 5;\n\nconst DEFAULT_DRAWER_WIDTH = '80%';\n\nconst SPRING_CONFIG = {\n stiffness: 1000,\n damping: 500,\n mass: 3,\n overshootClamping: true,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 0.01,\n};\n\nconst ANIMATED_ZERO = new Animated.Value(0);\nconst ANIMATED_ONE = new Animated.Value(1);\n\ntype Binary = 0 | 1;\n\nexport default class DrawerView extends React.Component {\n componentDidUpdate(prevProps: DrawerProps) {\n const {\n open,\n drawerPosition,\n drawerType,\n swipeDistanceThreshold,\n swipeVelocityThreshold,\n hideStatusBarOnOpen: hideStatusBar,\n } = this.props;\n\n if (\n // If we're not in the middle of a transition, sync the drawer's open state\n typeof this.pendingOpenValue !== 'boolean' ||\n open !== this.pendingOpenValue\n ) {\n this.toggleDrawer(open);\n }\n\n this.pendingOpenValue = undefined;\n\n if (open !== prevProps.open && hideStatusBar) {\n this.toggleStatusBar(open);\n }\n\n if (prevProps.drawerPosition !== drawerPosition) {\n this.drawerPosition.setValue(\n drawerPosition === 'right' ? DIRECTION_RIGHT : DIRECTION_LEFT\n );\n }\n\n if (prevProps.drawerType !== drawerType) {\n this.isDrawerTypeFront.setValue(drawerType === 'front' ? TRUE : FALSE);\n }\n\n if (prevProps.swipeDistanceThreshold !== swipeDistanceThreshold) {\n this.swipeDistanceThreshold.setValue(swipeDistanceThreshold);\n }\n\n if (prevProps.swipeVelocityThreshold !== swipeVelocityThreshold) {\n this.swipeVelocityThreshold.setValue(swipeVelocityThreshold);\n }\n }\n\n componentWillUnmount() {\n this.toggleStatusBar(false);\n this.handleEndInteraction();\n }\n\n private handleEndInteraction = () => {\n if (this.interactionHandle !== undefined) {\n InteractionManager.clearInteractionHandle(this.interactionHandle);\n this.interactionHandle = undefined;\n }\n };\n\n private handleStartInteraction = () => {\n if (this.interactionHandle === undefined) {\n this.interactionHandle = InteractionManager.createInteractionHandle();\n }\n };\n\n private getDrawerWidth = (): number => {\n const { drawerStyle, dimensions } = this.props;\n const { width = DEFAULT_DRAWER_WIDTH } =\n StyleSheet.flatten(drawerStyle) || {};\n\n if (typeof width === 'string' && width.endsWith('%')) {\n // Try to calculate width if a percentage is given\n const percentage = Number(width.replace(/%$/, ''));\n\n if (Number.isFinite(percentage)) {\n return dimensions.width * (percentage / 100);\n }\n }\n\n return typeof width === 'number' ? width : 0;\n };\n\n private clock = new Clock();\n private interactionHandle: number | undefined;\n\n private isDrawerTypeFront = new Value(\n this.props.drawerType === 'front' ? TRUE : FALSE\n );\n\n private isOpen = new Value(this.props.open ? TRUE : FALSE);\n private nextIsOpen = new Value(UNSET);\n private isSwiping = new Value(FALSE);\n\n private initialDrawerWidth = this.getDrawerWidth();\n\n private gestureState = new Value(GestureState.UNDETERMINED);\n private touchX = new Value(0);\n private velocityX = new Value(0);\n private gestureX = new Value(0);\n private offsetX = new Value(0);\n private position = new Value(\n this.props.open\n ? this.initialDrawerWidth *\n (this.props.drawerPosition === 'right'\n ? DIRECTION_RIGHT\n : DIRECTION_LEFT)\n : 0\n );\n\n private containerWidth = new Value(this.props.dimensions.width);\n private drawerWidth = new Value(this.initialDrawerWidth);\n private drawerOpacity = new Value(\n this.props.drawerType === 'permanent' ? 1 : 0\n );\n private drawerPosition = new Value(\n this.props.drawerPosition === 'right' ? DIRECTION_RIGHT : DIRECTION_LEFT\n );\n\n // Comment stolen from react-native-gesture-handler/DrawerLayout\n //\n // While closing the drawer when user starts gesture outside of its area (in greyed\n // out part of the window), we want the drawer to follow only once finger reaches the\n // edge of the drawer.\n // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by\n // dots. The touch gesture starts at '*' and moves left, touch path is indicated by\n // an arrow pointing left\n // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // +---------------+ +---------------+ +---------------+ +---------------+\n //\n // For the above to work properly we define animated value that will keep start position\n // of the gesture. Then we use that value to calculate how much we need to subtract from\n // the dragX. If the gesture started on the greyed out area we take the distance from the\n // edge of the drawer to the start position. Otherwise we don't subtract at all and the\n // drawer be pulled back as soon as you start the pan.\n //\n // This is used only when drawerType is \"front\"\n private touchDistanceFromDrawer = cond(\n this.isDrawerTypeFront,\n cond(\n eq(this.drawerPosition, DIRECTION_LEFT),\n max(\n // Distance of touch start from left screen edge - Drawer width\n sub(sub(this.touchX, this.gestureX), this.drawerWidth),\n 0\n ),\n min(\n multiply(\n // Distance of drawer from left screen edge - Touch start point\n sub(\n sub(this.containerWidth, this.drawerWidth),\n sub(this.touchX, this.gestureX)\n ),\n DIRECTION_RIGHT\n ),\n 0\n )\n ),\n 0\n );\n\n private swipeDistanceThreshold = new Value(\n this.props.swipeDistanceThreshold\n );\n private swipeVelocityThreshold = new Value(\n this.props.swipeVelocityThreshold\n );\n\n private currentOpenValue: boolean = this.props.open;\n private pendingOpenValue: boolean | undefined;\n\n private isStatusBarHidden: boolean = false;\n\n private manuallyTriggerSpring = new Value(FALSE);\n\n private transitionTo = (isOpen: number | Animated.Node) => {\n const toValue = new Value(0);\n const frameTime = new Value(0);\n\n const state = {\n position: this.position,\n time: new Value(0),\n finished: new Value(FALSE),\n velocity: new Value(0),\n };\n\n return block([\n cond(clockRunning(this.clock), NOOP, [\n // Animation wasn't running before\n // Set the initial values and start the clock\n set(toValue, multiply(isOpen, this.drawerWidth, this.drawerPosition)),\n set(frameTime, 0),\n set(state.time, 0),\n set(state.finished, FALSE),\n set(state.velocity, this.velocityX),\n set(this.isOpen, isOpen),\n startClock(this.clock),\n call([], this.handleStartInteraction),\n set(this.manuallyTriggerSpring, FALSE),\n ]),\n spring(this.clock, state, { ...SPRING_CONFIG, toValue }),\n cond(state.finished, [\n // Reset gesture and velocity from previous gesture\n set(this.touchX, 0),\n set(this.gestureX, 0),\n set(this.velocityX, 0),\n set(this.offsetX, 0),\n // When the animation finishes, stop the clock\n stopClock(this.clock),\n call([this.isOpen], ([value]: readonly Binary[]) => {\n const open = Boolean(value);\n this.handleEndInteraction();\n\n if (open !== this.props.open) {\n // Sync drawer's state after animation finished\n // This shouldn't be necessary, but there seems to be an issue on iOS\n this.toggleDrawer(this.props.open);\n }\n }),\n ]),\n ]);\n };\n\n private dragX = block([\n onChange(\n this.isOpen,\n call([this.isOpen], ([value]: readonly Binary[]) => {\n const open = Boolean(value);\n\n this.currentOpenValue = open;\n\n // Without this check, the drawer can go to an infinite update <-> animate loop for sync updates\n if (open !== this.props.open) {\n // If the mode changed, update state\n if (open) {\n this.props.onOpen();\n } else {\n this.props.onClose();\n }\n\n this.pendingOpenValue = open;\n\n // Force componentDidUpdate to fire, whether user does a setState or not\n // This allows us to detect when the user drops the update and revert back\n // It's necessary to make sure that the state stays in sync\n this.forceUpdate();\n }\n })\n ),\n onChange(\n this.nextIsOpen,\n cond(neq(this.nextIsOpen, UNSET), [\n // Stop any running animations\n cond(clockRunning(this.clock), stopClock(this.clock)),\n // Update the open value to trigger the transition\n set(this.isOpen, this.nextIsOpen),\n set(this.gestureX, 0),\n set(this.nextIsOpen, UNSET),\n ])\n ),\n // This block must be after the this.isOpen listener since we check for current value\n onChange(\n this.isSwiping,\n // Listen to updates for this value only when it changes\n // Without `onChange`, this will fire even if the value didn't change\n // We don't want to call the listeners if the value didn't change\n call([this.isSwiping], ([value]: readonly Binary[]) => {\n const { keyboardDismissMode } = this.props;\n\n if (value === TRUE) {\n if (keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n\n this.toggleStatusBar(true);\n } else {\n this.toggleStatusBar(this.currentOpenValue);\n }\n })\n ),\n onChange(\n this.gestureState,\n cond(\n eq(this.gestureState, GestureState.ACTIVE),\n call([], this.handleStartInteraction)\n )\n ),\n cond(\n eq(this.gestureState, GestureState.ACTIVE),\n [\n cond(this.isSwiping, NOOP, [\n // We weren't dragging before, set it to true\n set(this.isSwiping, TRUE),\n // Also update the drag offset to the last position\n set(this.offsetX, this.position),\n ]),\n // Update position with previous offset + gesture distance\n set(\n this.position,\n add(this.offsetX, this.gestureX, this.touchDistanceFromDrawer)\n ),\n // Stop animations while we're dragging\n stopClock(this.clock),\n ],\n [\n set(this.isSwiping, FALSE),\n set(this.touchX, 0),\n this.transitionTo(\n cond(\n this.manuallyTriggerSpring,\n this.isOpen,\n cond(\n or(\n and(\n greaterThan(abs(this.gestureX), SWIPE_DISTANCE_MINIMUM),\n greaterThan(abs(this.velocityX), this.swipeVelocityThreshold)\n ),\n greaterThan(abs(this.gestureX), this.swipeDistanceThreshold)\n ),\n cond(\n eq(this.drawerPosition, DIRECTION_LEFT),\n // If swiped to right, open the drawer, otherwise close it\n greaterThan(\n cond(eq(this.velocityX, 0), this.gestureX, this.velocityX),\n 0\n ),\n // If swiped to left, open the drawer, otherwise close it\n lessThan(\n cond(eq(this.velocityX, 0), this.gestureX, this.velocityX),\n 0\n )\n ),\n this.isOpen\n )\n )\n ),\n ]\n ),\n this.position,\n ]);\n\n private translateX = cond(\n eq(this.drawerPosition, DIRECTION_RIGHT),\n min(max(multiply(this.drawerWidth, -1), this.dragX), 0),\n max(min(this.drawerWidth, this.dragX), 0)\n );\n\n private progress = cond(\n // Check if the drawer width is available to avoid division by zero\n eq(this.drawerWidth, 0),\n 0,\n abs(divide(this.translateX, this.drawerWidth))\n );\n\n private handleGestureEvent = event([\n {\n nativeEvent: {\n x: this.touchX,\n translationX: this.gestureX,\n velocityX: this.velocityX,\n },\n },\n ]);\n\n private handleGestureStateChange = event([\n {\n nativeEvent: {\n state: (s: Animated.Value) => set(this.gestureState, s),\n },\n },\n ]);\n\n private handleContainerLayout = (e: LayoutChangeEvent) =>\n this.containerWidth.setValue(e.nativeEvent.layout.width);\n\n private handleDrawerLayout = (e: LayoutChangeEvent) => {\n this.drawerWidth.setValue(e.nativeEvent.layout.width);\n this.toggleDrawer(this.props.open);\n\n // Until layout is available, drawer is hidden with opacity: 0 by default\n // Show it in the next frame when layout is available\n // If we don't delay it until the next frame, there's a visible flicker\n requestAnimationFrame(() =>\n requestAnimationFrame(() => this.drawerOpacity.setValue(1))\n );\n };\n\n private toggleDrawer = (open: boolean) => {\n if (this.currentOpenValue !== open) {\n this.nextIsOpen.setValue(open ? TRUE : FALSE);\n\n // This value will also be set shortly after as changing this.nextIsOpen changes this.isOpen\n // However, there's a race condition on Android, so we need to set a bit earlier\n this.currentOpenValue = open;\n }\n };\n\n private toggleStatusBar = (hidden: boolean) => {\n const { hideStatusBarOnOpen: hideStatusBar, statusBarAnimation } =\n this.props;\n\n if (hideStatusBar && this.isStatusBarHidden !== hidden) {\n this.isStatusBarHidden = hidden;\n StatusBar.setHidden(hidden, statusBarAnimation);\n }\n };\n\n render() {\n const {\n open,\n swipeEnabled,\n drawerPosition,\n drawerType,\n swipeEdgeWidth,\n drawerStyle,\n overlayStyle,\n renderDrawerContent,\n renderSceneContent,\n gestureHandlerProps,\n } = this.props;\n\n const isOpen = drawerType === 'permanent' ? true : open;\n const isRight = drawerPosition === 'right';\n\n const contentTranslateX =\n drawerType === 'front' ? ANIMATED_ZERO : this.translateX;\n\n const drawerTranslateX =\n drawerType === 'back'\n ? I18nManager.getConstants().isRTL\n ? multiply(\n sub(this.containerWidth, this.drawerWidth),\n isRight ? 1 : -1\n )\n : ANIMATED_ZERO\n : this.translateX;\n\n const offset =\n drawerType === 'back'\n ? 0\n : I18nManager.getConstants().isRTL\n ? '100%'\n : multiply(this.drawerWidth, -1);\n\n // FIXME: Currently hitSlop is broken when on Android when drawer is on right\n // https://github.com/software-mansion/react-native-gesture-handler/issues/569\n const hitSlop = isRight\n ? // Extend hitSlop to the side of the screen when drawer is closed\n // This lets the user drag the drawer from the side of the screen\n { right: 0, width: isOpen ? undefined : swipeEdgeWidth }\n : { left: 0, width: isOpen ? undefined : swipeEdgeWidth };\n\n const progress = drawerType === 'permanent' ? ANIMATED_ONE : this.progress;\n\n return (\n \n \n \n \n \n {renderSceneContent()}\n \n {\n // Disable overlay if sidebar is permanent\n drawerType === 'permanent' ? null : (\n this.toggleDrawer(false)}\n style={overlayStyle as any}\n accessibilityElementsHidden={!isOpen}\n importantForAccessibility={\n isOpen ? 'auto' : 'no-hide-descendants'\n }\n />\n )\n }\n \n \n {drawerType === 'permanent' ? null : (\n (this.currentOpenValue = false)),\n ]),\n ]),\n ])}\n />\n )}\n \n {renderDrawerContent()}\n \n \n \n \n );\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n backgroundColor: 'white',\n maxWidth: '100%',\n },\n nonPermanent: {\n position: 'absolute',\n top: 0,\n bottom: 0,\n width: DEFAULT_DRAWER_WIDTH,\n },\n content: {\n flex: 1,\n },\n main: {\n flex: 1,\n ...Platform.select({\n // FIXME: We need to hide `overflowX` on Web so the translated content doesn't show offscreen.\n // But adding `overflowX: 'hidden'` prevents content from collapsing the URL bar.\n web: null,\n default: { overflow: 'hidden' },\n }),\n },\n});\n","import * as React from 'react';\nimport type Animated from 'react-native-reanimated';\n\nexport default React.createContext<\n Readonly> | Animated.Node | undefined\n>(undefined);\n","import * as React from 'react';\nimport { Platform, Pressable, StyleSheet } from 'react-native';\nimport Animated from 'react-native-reanimated';\n\nconst {\n // @ts-expect-error: this is to support reanimated 1\n interpolate: interpolateDeprecated,\n interpolateNode,\n cond,\n greaterThan,\n} = Animated;\n\nconst interpolate: typeof interpolateNode =\n interpolateNode ?? interpolateDeprecated;\n\nconst PROGRESS_EPSILON = 0.05;\n\ntype Props = React.ComponentProps & {\n progress: Animated.Node;\n onPress: () => void;\n};\n\nconst Overlay = React.forwardRef(function Overlay(\n { progress, onPress, style, ...props }: Props,\n ref: React.Ref\n) {\n const animatedStyle = {\n opacity: interpolate(progress, {\n // Default input range is [PROGRESS_EPSILON, 1]\n // On Windows, the output value is 1 when input value is out of range for some reason\n // The default value 0 will be interpolated to 1 in this case, which is not what we want.\n // Therefore changing input range on Windows to [0,1] instead.\n inputRange:\n Platform.OS === 'windows' || Platform.OS === 'macos'\n ? [0, 1]\n : [PROGRESS_EPSILON, 1],\n outputRange: [0, 1],\n }),\n // We don't want the user to be able to press through the overlay when drawer is open\n // One approach is to adjust the pointerEvents based on the progress\n // But we can also send the overlay behind the screen, which works, and is much less code\n zIndex: cond(greaterThan(progress, PROGRESS_EPSILON), 0, -1),\n };\n\n return (\n \n \n \n );\n});\n\nconst overlayStyle = Platform.select>({\n web: {\n // Disable touch highlight on mobile Safari.\n // WebkitTapHighlightColor must be used outside of StyleSheet.create because react-native-web will omit the property.\n WebkitTapHighlightColor: 'transparent',\n },\n default: {},\n});\n\nconst styles = StyleSheet.create({\n overlay: {\n ...StyleSheet.absoluteFillObject,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n },\n pressable: {\n flex: 1,\n },\n});\n\nexport default Overlay;\n","import * as React from 'react';\nimport {\n I18nManager,\n InteractionManager,\n Keyboard,\n Platform,\n StatusBar,\n StyleSheet,\n View,\n} from 'react-native';\nimport {\n Gesture,\n GestureDetector,\n State as GestureState,\n} from 'react-native-gesture-handler';\nimport Animated, {\n interpolate,\n runOnJS,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withSpring,\n} from 'react-native-reanimated';\n\nimport type { DrawerProps } from '../../types';\nimport DrawerProgressContext from '../../utils/DrawerProgressContext';\nimport Overlay from './Overlay';\n\nconst SWIPE_DISTANCE_MINIMUM = 5;\nconst DEFAULT_DRAWER_WIDTH = '80%';\n\nconst minmax = (value: number, start: number, end: number) => {\n 'worklet';\n\n return Math.min(Math.max(value, start), end);\n};\n\nexport default function Drawer({\n dimensions,\n drawerPosition,\n drawerStyle,\n drawerType,\n gestureHandlerProps,\n hideStatusBarOnOpen,\n keyboardDismissMode,\n onClose,\n onOpen,\n open,\n overlayStyle,\n renderDrawerContent,\n renderSceneContent,\n statusBarAnimation,\n swipeDistanceThreshold,\n swipeEdgeWidth,\n swipeEnabled,\n swipeVelocityThreshold,\n}: DrawerProps) {\n const getDrawerWidth = (): number => {\n const { width = DEFAULT_DRAWER_WIDTH } =\n StyleSheet.flatten(drawerStyle) || {};\n\n if (typeof width === 'string' && width.endsWith('%')) {\n // Try to calculate width if a percentage is given\n const percentage = Number(width.replace(/%$/, ''));\n\n if (Number.isFinite(percentage)) {\n return dimensions.width * (percentage / 100);\n }\n }\n\n return typeof width === 'number' ? width : 0;\n };\n\n const drawerWidth = getDrawerWidth();\n\n const isOpen = drawerType === 'permanent' ? true : open;\n const isRight = drawerPosition === 'right';\n\n const getDrawerTranslationX = React.useCallback(\n (open: boolean) => {\n 'worklet';\n\n if (drawerPosition === 'left') {\n return open ? 0 : -drawerWidth;\n }\n\n return open ? 0 : drawerWidth;\n },\n [drawerPosition, drawerWidth]\n );\n\n const hideStatusBar = React.useCallback(\n (hide: boolean) => {\n if (hideStatusBarOnOpen) {\n StatusBar.setHidden(hide, statusBarAnimation);\n }\n },\n [hideStatusBarOnOpen, statusBarAnimation]\n );\n\n React.useEffect(() => {\n hideStatusBar(isOpen);\n\n return () => hideStatusBar(false);\n }, [isOpen, hideStatusBarOnOpen, statusBarAnimation, hideStatusBar]);\n\n const interactionHandleRef = React.useRef(null);\n\n const startInteraction = () => {\n interactionHandleRef.current = InteractionManager.createInteractionHandle();\n };\n\n const endInteraction = () => {\n if (interactionHandleRef.current != null) {\n InteractionManager.clearInteractionHandle(interactionHandleRef.current);\n interactionHandleRef.current = null;\n }\n };\n\n const hideKeyboard = () => {\n if (keyboardDismissMode === 'on-drag') {\n Keyboard.dismiss();\n }\n };\n\n const onGestureStart = () => {\n startInteraction();\n hideKeyboard();\n hideStatusBar(true);\n };\n\n const onGestureFinish = () => {\n endInteraction();\n };\n\n // FIXME: Currently hitSlop is broken when on Android when drawer is on right\n // https://github.com/software-mansion/react-native-gesture-handler/issues/569\n const hitSlop = isRight\n ? // Extend hitSlop to the side of the screen when drawer is closed\n // This lets the user drag the drawer from the side of the screen\n { right: 0, width: isOpen ? undefined : swipeEdgeWidth }\n : { left: 0, width: isOpen ? undefined : swipeEdgeWidth };\n\n const touchStartX = useSharedValue(0);\n const touchX = useSharedValue(0);\n const translationX = useSharedValue(getDrawerTranslationX(open));\n const gestureState = useSharedValue(GestureState.UNDETERMINED);\n\n const toggleDrawer = React.useCallback(\n (open: boolean, velocity?: number) => {\n 'worklet';\n\n const translateX = getDrawerTranslationX(open);\n\n touchStartX.value = 0;\n touchX.value = 0;\n translationX.value = withSpring(translateX, {\n velocity,\n stiffness: 1000,\n damping: 500,\n mass: 3,\n overshootClamping: true,\n restDisplacementThreshold: 0.01,\n restSpeedThreshold: 0.01,\n });\n\n if (open) {\n runOnJS(onOpen)();\n } else {\n runOnJS(onClose)();\n }\n },\n [getDrawerTranslationX, onClose, onOpen, touchStartX, touchX, translationX]\n );\n\n React.useEffect(() => toggleDrawer(open), [open, toggleDrawer]);\n\n const startX = useSharedValue(0);\n let panGesture = Gesture.Pan()\n .activeOffsetX([-SWIPE_DISTANCE_MINIMUM, SWIPE_DISTANCE_MINIMUM])\n .hitSlop(hitSlop)\n .enabled(drawerType !== 'permanent' && swipeEnabled)\n .onStart((event) => {\n startX.value = translationX.value;\n gestureState.value = event.state;\n touchStartX.value = event.x;\n\n runOnJS(onGestureStart)();\n })\n .onUpdate((event) => {\n touchX.value = event.x;\n translationX.value = startX.value + event.translationX;\n gestureState.value = event.state;\n })\n .onEnd((event) => {\n gestureState.value = event.state;\n\n const nextOpen =\n (Math.abs(event.translationX) > SWIPE_DISTANCE_MINIMUM &&\n Math.abs(event.translationX) > swipeVelocityThreshold) ||\n Math.abs(event.translationX) > swipeDistanceThreshold\n ? drawerPosition === 'left'\n ? // If swiped to right, open the drawer, otherwise close it\n (event.velocityX === 0 ? event.translationX : event.velocityX) > 0\n : // If swiped to left, open the drawer, otherwise close it\n (event.velocityX === 0 ? event.translationX : event.velocityX) < 0\n : open;\n\n toggleDrawer(nextOpen, event.velocityX);\n })\n .onFinalize(() => {\n runOnJS(onGestureFinish)();\n });\n // @ts-expect-error Ref types incompatible yet, needs to get fixed upstream\n panGesture.config = {\n ...panGesture.config,\n ...gestureHandlerProps,\n };\n\n const translateX = useDerivedValue(() => {\n // Comment stolen from react-native-gesture-handler/DrawerLayout\n //\n // While closing the drawer when user starts gesture outside of its area (in greyed\n // out part of the window), we want the drawer to follow only once finger reaches the\n // edge of the drawer.\n // E.g. on the diagram below drawer is illustrate by X signs and the greyed out area by\n // dots. The touch gesture starts at '*' and moves left, touch path is indicated by\n // an arrow pointing left\n // 1) +---------------+ 2) +---------------+ 3) +---------------+ 4) +---------------+\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|.<-*..| |XXXXXXXX|<--*..| |XXXXX|<-----*..|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // |XXXXXXXX|......| |XXXXXXXX|......| |XXXXXXXX|......| |XXXXX|.........|\n // +---------------+ +---------------+ +---------------+ +---------------+\n //\n // For the above to work properly we define animated value that will keep start position\n // of the gesture. Then we use that value to calculate how much we need to subtract from\n // the translationX. If the gesture started on the greyed out area we take the distance from the\n // edge of the drawer to the start position. Otherwise we don't subtract at all and the\n // drawer be pulled back as soon as you start the pan.\n //\n // This is used only when drawerType is \"front\"\n const touchDistance =\n drawerType === 'front' && gestureState.value === GestureState.ACTIVE\n ? minmax(\n drawerPosition === 'left'\n ? touchStartX.value - drawerWidth\n : dimensions.width - drawerWidth - touchStartX.value,\n 0,\n dimensions.width\n )\n : 0;\n\n const translateX =\n drawerPosition === 'left'\n ? minmax(translationX.value + touchDistance, -drawerWidth, 0)\n : minmax(translationX.value - touchDistance, 0, drawerWidth);\n\n return translateX;\n });\n\n const isRTL = I18nManager.getConstants().isRTL;\n const drawerAnimatedStyle = useAnimatedStyle(() => {\n const distanceFromEdge = dimensions.width - drawerWidth;\n\n return {\n transform:\n drawerType === 'permanent'\n ? // Reanimated needs the property to be present, but it results in Browser bug\n // https://bugs.chromium.org/p/chromium/issues/detail?id=20574\n []\n : [\n {\n translateX:\n // The drawer stays in place when `drawerType` is `back`\n (drawerType === 'back' ? 0 : translateX.value) +\n (drawerPosition === 'left'\n ? isRTL\n ? -distanceFromEdge\n : 0\n : isRTL\n ? 0\n : distanceFromEdge),\n },\n ],\n };\n });\n\n const contentAnimatedStyle = useAnimatedStyle(() => {\n return {\n transform:\n drawerType === 'permanent'\n ? // Reanimated needs the property to be present, but it results in Browser bug\n // https://bugs.chromium.org/p/chromium/issues/detail?id=20574\n []\n : [\n {\n translateX:\n // The screen content stays in place when `drawerType` is `front`\n drawerType === 'front'\n ? 0\n : translateX.value +\n drawerWidth * (drawerPosition === 'left' ? 1 : -1),\n },\n ],\n };\n });\n\n const progress = useDerivedValue(() => {\n return drawerType === 'permanent'\n ? 1\n : interpolate(\n translateX.value,\n [getDrawerTranslationX(false), getDrawerTranslationX(true)],\n [0, 1]\n );\n });\n\n return (\n \n \n {/* Immediate child of gesture handler needs to be an Animated.View */}\n \n \n \n {renderSceneContent()}\n \n {drawerType !== 'permanent' ? (\n toggleDrawer(false)}\n style={overlayStyle}\n />\n ) : null}\n \n \n {renderDrawerContent()}\n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n top: 0,\n bottom: 0,\n maxWidth: '100%',\n width: DEFAULT_DRAWER_WIDTH,\n },\n content: {\n flex: 1,\n },\n main: {\n flex: 1,\n ...Platform.select({\n // FIXME: We need to hide `overflowX` on Web so the translated content doesn't show offscreen.\n // But adding `overflowX: 'hidden'` prevents content from collapsing the URL bar.\n web: null,\n default: { overflow: 'hidden' },\n }),\n },\n});\n","import * as React from 'react';\nimport { Platform, Pressable, StyleSheet } from 'react-native';\nimport Animated, {\n useAnimatedProps,\n useAnimatedStyle,\n} from 'react-native-reanimated';\n\nconst PROGRESS_EPSILON = 0.05;\n\ntype Props = React.ComponentProps & {\n progress: Animated.SharedValue;\n onPress: () => void;\n};\n\nconst Overlay = React.forwardRef(function Overlay(\n { progress, onPress, style, ...props }: Props,\n ref: React.Ref\n) {\n const animatedStyle = useAnimatedStyle(() => {\n return {\n opacity: progress.value,\n // We don't want the user to be able to press through the overlay when drawer is open\n // We can send the overlay behind the screen to avoid it\n zIndex: progress.value > PROGRESS_EPSILON ? 0 : -1,\n };\n });\n\n const animatedProps = useAnimatedProps(() => {\n const active = progress.value > PROGRESS_EPSILON;\n\n return {\n pointerEvents: active ? 'auto' : 'none',\n accessibilityElementsHidden: !active,\n importantForAccessibility: active ? 'auto' : 'no-hide-descendants',\n } as const;\n });\n\n return (\n \n \n \n );\n});\n\nconst overlayStyle = Platform.select>({\n web: {\n // Disable touch highlight on mobile Safari.\n // WebkitTapHighlightColor must be used outside of StyleSheet.create because react-native-web will omit the property.\n WebkitTapHighlightColor: 'transparent',\n },\n default: {},\n});\n\nconst styles = StyleSheet.create({\n overlay: {\n ...StyleSheet.absoluteFillObject,\n backgroundColor: 'rgba(0, 0, 0, 0.5)',\n },\n pressable: {\n flex: 1,\n },\n});\n\nexport default Overlay;\n","import { ResourceSavingView } from '@react-navigation/elements';\nimport * as React from 'react';\nimport { StyleProp, View, ViewProps, ViewStyle } from 'react-native';\n\ntype Props = {\n visible: boolean;\n children: React.ReactNode;\n enabled: boolean;\n freezeOnBlur?: boolean;\n style?: StyleProp;\n};\n\nlet Screens: typeof import('react-native-screens') | undefined;\n\ntry {\n Screens = require('react-native-screens');\n} catch (e) {\n // Ignore\n}\n\nexport const MaybeScreenContainer = ({\n enabled,\n ...rest\n}: ViewProps & {\n enabled: boolean;\n hasTwoStates: boolean;\n children: React.ReactNode;\n}) => {\n if (Screens?.screensEnabled?.()) {\n return ;\n }\n\n return ;\n};\n\nexport function MaybeScreen({ visible, children, ...rest }: Props) {\n if (Screens?.screensEnabled?.()) {\n return (\n \n {children}\n \n );\n }\n\n return (\n \n {children}\n \n );\n}\n","import * as React from 'react';\nimport type Animated from 'react-native-reanimated';\n\nimport DrawerProgressContext from './DrawerProgressContext';\n\nexport default function useDrawerProgress():\n | Readonly>\n | Animated.Node {\n const progress = React.useContext(DrawerProgressContext);\n\n if (progress === undefined) {\n throw new Error(\n \"Couldn't find a drawer. Is your component inside a drawer navigator?\"\n );\n }\n\n return progress;\n}\n","import type { DrawerStatus } from '@react-navigation/native';\nimport * as React from 'react';\n\nimport DrawerStatusContext from './DrawerStatusContext';\n\n/**\n * Hook to detect if the drawer's status in a parent navigator.\n * Returns 'open' if the drawer is open, 'closed' if the drawer is closed.\n */\nexport default function useDrawerStatus(): DrawerStatus {\n const drawerStatus = React.useContext(DrawerStatusContext);\n\n if (drawerStatus === undefined) {\n throw new Error(\n \"Couldn't find a drawer. Is your component inside a drawer navigator?\"\n );\n }\n\n return drawerStatus;\n}\n","import _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport React, {Component} from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport CONST from '../../../CONST';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport PressableWithSecondaryInteraction from '../../../components/PressableWithSecondaryInteraction';\nimport Hoverable from '../../../components/Hoverable';\nimport ReportActionItemSingle from './ReportActionItemSingle';\nimport ReportActionItemGrouped from './ReportActionItemGrouped';\nimport IOUAction from '../../../components/ReportActionItem/IOUAction';\nimport ReportActionItemMessage from './ReportActionItemMessage';\nimport UnreadActionIndicator from '../../../components/UnreadActionIndicator';\nimport ReportActionItemMessageEdit from './ReportActionItemMessageEdit';\nimport ReportActionItemCreated from './ReportActionItemCreated';\nimport compose from '../../../libs/compose';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport ControlSelection from '../../../libs/ControlSelection';\nimport * as DeviceCapabilities from '../../../libs/DeviceCapabilities';\nimport MiniReportActionContextMenu from './ContextMenu/MiniReportActionContextMenu';\nimport * as ReportActionContextMenu from './ContextMenu/ReportActionContextMenu';\nimport * as ContextMenuActions from './ContextMenu/ContextMenuActions';\nimport {withBlockedFromConcierge, withNetwork, withReportActionsDrafts} from '../../../components/OnyxProvider';\nimport RenameAction from '../../../components/ReportActionItem/RenameAction';\nimport InlineSystemMessage from '../../../components/InlineSystemMessage';\nimport styles from '../../../styles/styles';\nimport SelectionScraper from '../../../libs/SelectionScraper';\nimport * as User from '../../../libs/actions/User';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport * as ReportActions from '../../../libs/actions/ReportActions';\nimport reportPropTypes from '../../reportPropTypes';\nimport {ShowContextMenuContext} from '../../../components/ShowContextMenuContext';\nimport focusTextInputAfterAnimation from '../../../libs/focusTextInputAfterAnimation';\nimport ChronosOOOListActions from '../../../components/ReportActionItem/ChronosOOOListActions';\nimport ReportActionItemReactions from '../../../components/Reactions/ReportActionItemReactions';\nimport * as Report from '../../../libs/actions/Report';\nimport withLocalize from '../../../components/withLocalize';\n\nconst propTypes = {\n /** Report for this action */\n report: reportPropTypes.isRequired,\n\n /** All the data of the action item */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** Should the comment have the appearance of being grouped with the previous comment? */\n displayAsGroup: PropTypes.bool.isRequired,\n\n /** Is this the most recent IOU Action? */\n isMostRecentIOUReportAction: PropTypes.bool.isRequired,\n\n /** Whether there is an outstanding amount in IOU */\n hasOutstandingIOU: PropTypes.bool,\n\n /** Should we display the new marker on top of the comment? */\n shouldDisplayNewMarker: PropTypes.bool.isRequired,\n\n /** Position index of the report action in the overall report FlatList view */\n index: PropTypes.number.isRequired,\n\n /** Draft message - if this is set the comment is in 'edit' mode */\n draftMessage: PropTypes.string,\n\n /** Stores user's preferred skin tone */\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n draftMessage: '',\n hasOutstandingIOU: false,\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n};\n\nclass ReportActionItem extends Component {\n constructor(props) {\n super(props);\n this.popoverAnchor = undefined;\n this.state = {\n isContextMenuActive: ReportActionContextMenu.isActiveReportAction(props.action.reportActionID),\n };\n this.checkIfContextMenuActive = this.checkIfContextMenuActive.bind(this);\n this.showPopover = this.showPopover.bind(this);\n this.renderItemContent = this.renderItemContent.bind(this);\n this.toggleReaction = this.toggleReaction.bind(this);\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n return this.props.displayAsGroup !== nextProps.displayAsGroup\n || this.props.draftMessage !== nextProps.draftMessage\n || this.props.isMostRecentIOUReportAction !== nextProps.isMostRecentIOUReportAction\n || this.props.hasOutstandingIOU !== nextProps.hasOutstandingIOU\n || this.props.shouldDisplayNewMarker !== nextProps.shouldDisplayNewMarker\n || !_.isEqual(this.props.action, nextProps.action)\n || this.state.isContextMenuActive !== nextState.isContextMenuActive\n || lodashGet(this.props.report, 'statusNum') !== lodashGet(nextProps.report, 'statusNum')\n || lodashGet(this.props.report, 'stateNum') !== lodashGet(nextProps.report, 'stateNum');\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.draftMessage || !this.props.draftMessage) {\n return;\n }\n\n // Only focus the input when user edits a message, skip it for existing drafts being edited of the report.\n // There is an animation when the comment is hidden and the edit form is shown, and there can be bugs on different mobile platforms\n // if the input is given focus in the middle of that animation which can prevent the keyboard from opening.\n focusTextInputAfterAnimation(this.textInput, 100);\n }\n\n checkIfContextMenuActive() {\n this.setState({isContextMenuActive: ReportActionContextMenu.isActiveReportAction(this.props.action.reportActionID)});\n }\n\n /**\n * Show the ReportActionContextMenu modal popover.\n *\n * @param {Object} [event] - A press event.\n */\n showPopover(event) {\n // Block menu on the message being Edited\n if (this.props.draftMessage) {\n return;\n }\n\n this.setState({isContextMenuActive: true});\n\n const selection = SelectionScraper.getCurrentSelection();\n ReportActionContextMenu.showContextMenu(\n ContextMenuActions.CONTEXT_MENU_TYPES.REPORT_ACTION,\n event,\n selection,\n this.popoverAnchor,\n this.props.report.reportID,\n this.props.action,\n this.props.draftMessage,\n undefined,\n this.checkIfContextMenuActive,\n ReportUtils.isArchivedRoom(this.props.report),\n ReportUtils.chatIncludesChronos(this.props.report),\n );\n }\n\n toggleReaction(emoji) {\n Report.toggleEmojiReaction(this.props.report.reportID, this.props.action, emoji);\n }\n\n /**\n * Get the content of ReportActionItem\n * @param {Boolean} hovered whether the ReportActionItem is hovered\n * @returns {Object} child component(s)\n */\n renderItemContent(hovered = false) {\n let children;\n if (this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.IOU) {\n children = (\n \n );\n } else {\n const message = _.last(lodashGet(this.props.action, 'message', [{}]));\n const isAttachment = _.has(this.props.action, 'isAttachment')\n ? this.props.action.isAttachment\n : ReportUtils.isReportMessageAttachment(message);\n children = (\n \n {!this.props.draftMessage\n ? (\n \n ) : (\n this.textInput = el}\n report={this.props.report}\n\n // Avoid defining within component due to an existing Onyx bug\n preferredSkinTone={this.props.preferredSkinTone}\n shouldDisableEmojiPicker={\n (ReportUtils.chatIncludesConcierge(this.props.report) && User.isBlockedFromConcierge(this.props.blockedFromConcierge))\n || ReportUtils.isArchivedRoom(this.props.report)\n }\n />\n )}\n \n );\n }\n\n const reactions = _.get(this.props, ['action', 'message', 0, 'reactions'], []);\n const hasReactions = reactions.length > 0;\n\n return (\n <>\n {children}\n {hasReactions && (\n \n )}\n \n );\n }\n\n render() {\n if (this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.CREATED) {\n return ;\n }\n if (this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.RENAMED) {\n return ;\n }\n if (this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.CHRONOSOOOLIST) {\n return ;\n }\n return (\n this.popoverAnchor = el}\n onPressIn={() => this.props.isSmallScreenWidth && DeviceCapabilities.canUseTouchScreen() && ControlSelection.block()}\n onPressOut={() => ControlSelection.unblock()}\n onSecondaryInteraction={this.showPopover}\n preventDefaultContentMenu={!this.props.draftMessage}\n withoutFocusOnSecondaryInteraction\n >\n \n {hovered => (\n \n {this.props.shouldDisplayNewMarker && (\n \n )}\n \n {\n if (this.props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD) {\n ReportActions.deleteOptimisticReportAction(this.props.report.reportID, this.props.action.reportActionID);\n } else {\n ReportActions.clearReportActionErrors(this.props.report.reportID, this.props.action.reportActionID);\n }\n }}\n pendingAction={this.props.draftMessage ? null : this.props.action.pendingAction}\n errors={this.props.action.errors}\n errorRowStyles={[styles.ml10, styles.mr2]}\n needsOffscreenAlphaCompositing={this.props.action.actionName === CONST.REPORT.ACTIONS.TYPE.IOU}\n >\n {!this.props.displayAsGroup\n ? (\n \n {this.renderItemContent(hovered || this.state.isContextMenuActive)}\n \n )\n : (\n \n {this.renderItemContent(hovered || this.state.isContextMenuActive)}\n \n )}\n \n \n \n \n )}\n \n \n \n \n \n );\n }\n}\nReportActionItem.propTypes = propTypes;\nReportActionItem.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withNetwork(),\n withBlockedFromConcierge({propName: 'blockedFromConcierge'}),\n withReportActionsDrafts({\n propName: 'draftMessage',\n transformValue: (drafts, props) => {\n const draftKey = `${ONYXKEYS.COLLECTION.REPORT_ACTIONS_DRAFTS}${props.report.reportID}_${props.action.reportActionID}`;\n return lodashGet(drafts, draftKey, '');\n },\n }),\n withOnyx({\n preferredSkinTone: {\n key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,\n },\n }),\n)(ReportActionItem);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../../styles/styles';\n\nconst propTypes = {\n /** Children view component for this action item */\n children: PropTypes.node.isRequired,\n};\n\nconst ReportActionItemGrouped = props => (\n \n \n {props.children}\n \n \n);\n\nReportActionItemGrouped.propTypes = propTypes;\nReportActionItemGrouped.displayName = 'ReportActionItemGrouped';\nexport default ReportActionItemGrouped;\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport CONST from '../../CONST';\nimport {withNetwork} from '../OnyxProvider';\nimport compose from '../../libs/compose';\nimport IOUQuote from './IOUQuote';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport networkPropTypes from '../networkPropTypes';\nimport iouReportPropTypes from '../../pages/iouReportPropTypes';\nimport IOUPreview from './IOUPreview';\nimport Navigation from '../../libs/Navigation/Navigation';\nimport ROUTES from '../../ROUTES';\nimport styles from '../../styles/styles';\nimport * as IOUUtils from '../../libs/IOUUtils';\n\nconst propTypes = {\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** The ID of the associated chatReport */\n chatReportID: PropTypes.string.isRequired,\n\n /** Is this IOUACTION the most recent? */\n isMostRecentIOUReportAction: PropTypes.bool.isRequired,\n\n /** Popover context menu anchor, used for showing context menu */\n contextMenuAnchor: PropTypes.shape({current: PropTypes.elementType}),\n\n /** Callback for updating context menu active state, used for showing context menu */\n checkIfContextMenuActive: PropTypes.func,\n\n /* Onyx Props */\n /** chatReport associated with iouReport */\n chatReport: PropTypes.shape({\n /** The participants of this report */\n participants: PropTypes.arrayOf(PropTypes.string),\n\n /** Whether the chat report has an outstanding IOU */\n hasOutstandingIOU: PropTypes.bool.isRequired,\n }),\n\n /** IOU report data object */\n iouReport: iouReportPropTypes,\n\n /** Array of report actions for this report */\n reportActions: PropTypes.objectOf(PropTypes.shape(reportActionPropTypes)),\n\n /** Whether the IOU is hovered so we can modify its style */\n isHovered: PropTypes.bool,\n\n network: networkPropTypes.isRequired,\n};\n\nconst defaultProps = {\n contextMenuAnchor: undefined,\n checkIfContextMenuActive: () => {},\n chatReport: {\n participants: [],\n },\n iouReport: {},\n reportActions: {},\n isHovered: false,\n};\n\nconst IOUAction = (props) => {\n const launchDetailsModal = () => {\n Navigation.navigate(ROUTES.getIouDetailsRoute(props.chatReportID, props.action.originalMessage.IOUReportID));\n };\n\n const shouldShowIOUPreview = (\n props.isMostRecentIOUReportAction\n && Boolean(props.action.originalMessage.IOUReportID)\n && props.chatReport.hasOutstandingIOU) || props.action.originalMessage.type === 'pay';\n\n let shouldShowPendingConversionMessage = false;\n if (\n !_.isEmpty(props.iouReport)\n && !_.isEmpty(props.reportActions)\n && props.chatReport.hasOutstandingIOU\n && props.isMostRecentIOUReportAction\n && props.action.pendingAction === CONST.RED_BRICK_ROAD_PENDING_ACTION.ADD\n && props.network.isOffline\n ) {\n shouldShowPendingConversionMessage = IOUUtils.isIOUReportPendingCurrencyConversion(props.reportActions, props.iouReport);\n }\n\n return (\n <>\n \n {shouldShowIOUPreview && (\n \n )}\n \n );\n};\n\nIOUAction.propTypes = propTypes;\nIOUAction.defaultProps = defaultProps;\nIOUAction.displayName = 'IOUAction';\n\nexport default compose(\n withOnyx({\n chatReport: {\n key: ({chatReportID}) => `${ONYXKEYS.COLLECTION.REPORT}${chatReportID}`,\n },\n iouReport: {\n key: ({action}) => `${ONYXKEYS.COLLECTION.REPORT}${action.originalMessage.IOUReportID}`,\n },\n reportActions: {\n key: ({chatReportID}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReportID}`,\n canEvict: false,\n },\n }),\n withNetwork(),\n)(IOUAction);\n","import React from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport Text from '../Text';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport styles from '../../styles/styles';\nimport themeColors from '../../styles/themes/default';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport ControlSelection from '../../libs/ControlSelection';\nimport * as DeviceCapabilities from '../../libs/DeviceCapabilities';\nimport {showContextMenuForReport} from '../ShowContextMenuContext';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport getButtonState from '../../libs/getButtonState';\n\nconst propTypes = {\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** The associated chatReport */\n chatReportID: PropTypes.string.isRequired,\n\n /** Popover context menu anchor, used for showing context menu */\n contextMenuAnchor: PropTypes.shape({current: PropTypes.elementType}),\n\n /** Whether it is allowed to view details. */\n shouldAllowViewDetails: PropTypes.bool,\n\n /** Callback invoked when View Details is pressed */\n onViewDetailsPressed: PropTypes.func,\n\n /** Callback for updating context menu active state, used for showing context menu */\n checkIfContextMenuActive: PropTypes.func,\n\n /** Whether the IOU is hovered so we can modify its style */\n isHovered: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n contextMenuAnchor: null,\n shouldAllowViewDetails: false,\n isHovered: false,\n onViewDetailsPressed: () => {},\n checkIfContextMenuActive: () => {},\n};\n\nconst IOUQuote = props => (\n \n {_.map(props.action.message, (fragment, index) => (\n {}}\n onPressIn={() => DeviceCapabilities.canUseTouchScreen() && ControlSelection.block()}\n onPressOut={() => ControlSelection.unblock()}\n onLongPress={event => showContextMenuForReport(\n event,\n props.contextMenuAnchor,\n props.chatReportID,\n props.action,\n props.checkIfContextMenuActive,\n )}\n style={[styles.flexRow, styles.justifyContentBetween,\n props.shouldAllowViewDetails\n ? undefined\n : styles.cursorDefault,\n ]}\n focusable={props.shouldAllowViewDetails}\n >\n \n \n {/* Get first word of IOU message */}\n {fragment.text.split(' ')[0]}\n \n \n {/* Get remainder of IOU message */}\n {fragment.text.substring(fragment.text.indexOf(' '))}\n \n \n \n \n ))}\n \n);\n\nIOUQuote.propTypes = propTypes;\nIOUQuote.defaultProps = defaultProps;\nIOUQuote.displayName = 'IOUQuote';\n\nexport default withLocalize(IOUQuote);\n","import PropTypes from 'prop-types';\n\nexport default PropTypes.shape({\n /** The report ID of the IOU */\n reportID: PropTypes.string,\n\n /** The report ID of the chat associated with the IOU */\n chatReportID: PropTypes.string,\n\n /** The total amount in cents */\n total: PropTypes.number,\n\n /** The owner of the IOUReport */\n ownerEmail: PropTypes.string,\n\n /** The currency of the IOUReport */\n currency: PropTypes.string,\n});\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport styles from '../../../styles/styles';\nimport ReportActionItemFragment from './ReportActionItemFragment';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\n\nconst propTypes = {\n /** The report action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** Additional styles to add after local styles. */\n style: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.object),\n PropTypes.object,\n ]),\n\n /** localization props */\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n style: [],\n};\n\nconst ReportActionItemMessage = props => (\n \n {_.map(_.compact(props.action.previousMessage || props.action.message), (fragment, index) => (\n \n ))}\n \n);\n\nReportActionItemMessage.propTypes = propTypes;\nReportActionItemMessage.defaultProps = defaultProps;\nReportActionItemMessage.displayName = 'ReportActionItemMessage';\n\nexport default withLocalize(ReportActionItemMessage);\n","import React from 'react';\nimport {View} from 'react-native';\nimport styles from '../styles/styles';\nimport Text from './Text';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst UnreadActionIndicator = props => (\n \n \n \n {props.translate('common.new')}\n \n \n);\n\nUnreadActionIndicator.propTypes = {...withLocalizePropTypes};\n\nUnreadActionIndicator.displayName = 'UnreadActionIndicator';\nexport default withLocalize(UnreadActionIndicator);\n","/* eslint-disable rulesdir/onyx-props-must-have-default */\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {InteractionManager, Keyboard, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport ExpensiMark from 'expensify-common/lib/ExpensiMark';\nimport {withOnyx} from 'react-native-onyx';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport styles from '../../../styles/styles';\nimport Composer from '../../../components/Composer';\nimport * as Report from '../../../libs/actions/Report';\nimport * as ReportScrollManager from '../../../libs/ReportScrollManager';\nimport toggleReportActionComposeView from '../../../libs/toggleReportActionComposeView';\nimport openReportActionComposeViewWhenClosingMessageEdit from '../../../libs/openReportActionComposeViewWhenClosingMessageEdit';\nimport Button from '../../../components/Button';\nimport ReportActionComposeFocusManager from '../../../libs/ReportActionComposeFocusManager';\nimport compose from '../../../libs/compose';\nimport EmojiPickerButton from '../../../components/EmojiPicker/EmojiPickerButton';\nimport * as ReportActionContextMenu from './ContextMenu/ReportActionContextMenu';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport * as EmojiUtils from '../../../libs/EmojiUtils';\nimport reportPropTypes from '../../reportPropTypes';\nimport ExceededCommentLength from '../../../components/ExceededCommentLength';\nimport CONST from '../../../CONST';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport withKeyboardState, {keyboardStatePropTypes} from '../../../components/withKeyboardState';\nimport ONYXKEYS from '../../../ONYXKEYS';\n\nconst propTypes = {\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n /** Draft message */\n draftMessage: PropTypes.string.isRequired,\n\n /** Number of lines for the draft message */\n numberOfLines: PropTypes.number,\n\n /** ReportID that holds the comment we're editing */\n reportID: PropTypes.string.isRequired,\n\n /** Position index of the report action in the overall report FlatList view */\n index: PropTypes.number.isRequired,\n\n /** A ref to forward to the text input */\n forwardedRef: PropTypes.func,\n\n /** The report currently being looked at */\n // eslint-disable-next-line react/no-unused-prop-types\n report: reportPropTypes,\n\n /** Whether or not the emoji picker is disabled */\n shouldDisableEmojiPicker: PropTypes.bool,\n\n /** Stores user's preferred skin tone */\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n ...withLocalizePropTypes,\n ...windowDimensionsPropTypes,\n ...keyboardStatePropTypes,\n};\n\nconst defaultProps = {\n forwardedRef: () => {},\n report: {},\n shouldDisableEmojiPicker: false,\n numberOfLines: undefined,\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n};\n\nclass ReportActionItemMessageEdit extends React.Component {\n constructor(props) {\n super(props);\n this.updateDraft = this.updateDraft.bind(this);\n this.deleteDraft = this.deleteDraft.bind(this);\n this.debouncedSaveDraft = _.debounce(this.debouncedSaveDraft.bind(this), 1000);\n this.publishDraft = this.publishDraft.bind(this);\n this.triggerSaveOrCancel = this.triggerSaveOrCancel.bind(this);\n this.onSelectionChange = this.onSelectionChange.bind(this);\n this.addEmojiToTextBox = this.addEmojiToTextBox.bind(this);\n this.setExceededMaxCommentLength = this.setExceededMaxCommentLength.bind(this);\n this.updateNumberOfLines = this.updateNumberOfLines.bind(this);\n this.saveButtonID = 'saveButton';\n this.cancelButtonID = 'cancelButton';\n this.emojiButtonID = 'emojiButton';\n this.messageEditInput = 'messageEditInput';\n\n const parser = new ExpensiMark();\n const draftMessage = parser.htmlToMarkdown(this.props.draftMessage).trim();\n\n this.state = {\n draft: draftMessage,\n selection: {\n start: draftMessage.length,\n end: draftMessage.length,\n },\n isFocused: false,\n hasExceededMaxCommentLength: false,\n };\n }\n\n componentWillUnmount() {\n // Skip if this is not the focused message so the other edit composer stays focused.\n if (!this.state.isFocused) {\n return;\n }\n\n // Show the main composer when the focused message is deleted from another client\n // to prevent the main composer stays hidden until we swtich to another chat.\n toggleReportActionComposeView(true, this.props.isSmallScreenWidth);\n }\n\n /**\n * Update Selection on change cursor position.\n *\n * @param {Event} e\n */\n onSelectionChange(e) {\n this.setState({selection: e.nativeEvent.selection});\n }\n\n /**\n * Updates the composer when the comment length is exceeded\n * Shows red borders and prevents the comment from being sent\n *\n * @param {Boolean} hasExceededMaxCommentLength\n */\n setExceededMaxCommentLength(hasExceededMaxCommentLength) {\n this.setState({hasExceededMaxCommentLength});\n }\n\n /**\n * Update the value of the draft in Onyx\n *\n * @param {String} draft\n */\n updateDraft(draft) {\n const newDraft = EmojiUtils.replaceEmojis(draft, this.props.isSmallScreenWidth, this.props.preferredSkinTone);\n this.setState((prevState) => {\n const newState = {draft: newDraft};\n if (draft !== newDraft) {\n const remainder = prevState.draft.slice(prevState.selection.end).length;\n newState.selection = {\n start: newDraft.length - remainder,\n end: newDraft.length - remainder,\n };\n }\n return newState;\n });\n\n // This component is rendered only when draft is set to a non-empty string. In order to prevent component\n // unmount when user deletes content of textarea, we set previous message instead of empty string.\n if (newDraft.trim().length > 0) {\n this.debouncedSaveDraft(newDraft);\n } else {\n this.debouncedSaveDraft(this.props.action.message[0].html);\n }\n }\n\n /**\n * Update the number of lines for a draft in Onyx\n * @param {Number} numberOfLines\n */\n updateNumberOfLines(numberOfLines) {\n Report.saveReportActionDraftNumberOfLines(this.props.reportID, this.props.action.reportActionID, numberOfLines);\n }\n\n /**\n * Delete the draft of the comment being edited. This will take the comment out of \"edit mode\" with the old content.\n */\n deleteDraft() {\n this.debouncedSaveDraft.cancel();\n Report.saveReportActionDraft(this.props.reportID, this.props.action.reportActionID, '');\n toggleReportActionComposeView(true, this.props.isSmallScreenWidth);\n ReportActionComposeFocusManager.focus();\n\n // Scroll to the last comment after editing to make sure the whole comment is clearly visible in the report.\n if (this.props.index === 0) {\n const keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', () => {\n ReportScrollManager.scrollToIndex({animated: true, index: this.props.index}, false);\n keyboardDidHideListener.remove();\n });\n }\n }\n\n /**\n * Save the draft of the comment. This debounced so that we're not ceaselessly saving your edit. Saving the draft\n * allows one to navigate somewhere else and come back to the comment and still have it in edit mode.\n * @param {String} newDraft\n */\n debouncedSaveDraft(newDraft) {\n Report.saveReportActionDraft(this.props.reportID, this.props.action.reportActionID, newDraft);\n }\n\n /**\n * Save the draft of the comment to be the new comment message. This will take the comment out of \"edit mode\" with\n * the new content.\n */\n publishDraft() {\n // Do nothing if draft exceed the character limit\n if (ReportUtils.getCommentLength(this.state.draft) > CONST.MAX_COMMENT_LENGTH) {\n return;\n }\n\n // To prevent re-mount after user saves edit before debounce duration (example: within 1 second), we cancel\n // debounce here.\n this.debouncedSaveDraft.cancel();\n\n const trimmedNewDraft = this.state.draft.trim();\n\n // When user tries to save the empty message, it will delete it. Prompt the user to confirm deleting.\n if (!trimmedNewDraft) {\n ReportActionContextMenu.showDeleteModal(\n this.props.reportID,\n this.props.action,\n false,\n this.deleteDraft,\n () => InteractionManager.runAfterInteractions(() => this.textInput.focus()),\n );\n return;\n }\n Report.editReportComment(this.props.reportID, this.props.action, trimmedNewDraft);\n this.deleteDraft();\n }\n\n /**\n * @param {String} emoji\n */\n addEmojiToTextBox(emoji) {\n const newComment = this.state.draft.slice(0, this.state.selection.start)\n + emoji + this.state.draft.slice(this.state.selection.end, this.state.draft.length);\n this.setState(prevState => ({\n selection: {\n start: prevState.selection.start + emoji.length,\n end: prevState.selection.start + emoji.length,\n },\n }));\n this.updateDraft(newComment);\n }\n\n /**\n * Key event handlers that short cut to saving/canceling.\n *\n * @param {Event} e\n */\n triggerSaveOrCancel(e) {\n // Do not trigger actions for mobileWeb or native clients that have the keyboard open because for those devices, we want the return key to insert newlines rather than submit the form\n if (!e || this.props.isSmallScreenWidth || this.props.isKeyboardShown) {\n return;\n }\n if (e.key === 'Enter' && !e.shiftKey) {\n e.preventDefault();\n this.publishDraft();\n } else if (e.key === 'Escape') {\n e.preventDefault();\n this.deleteDraft();\n }\n }\n\n render() {\n const hasExceededMaxCommentLength = this.state.hasExceededMaxCommentLength;\n return (\n \n \n {\n this.textInput = el;\n this.props.forwardedRef(el);\n }}\n nativeID={this.messageEditInput}\n onChangeText={this.updateDraft} // Debounced saveDraftComment\n onKeyPress={this.triggerSaveOrCancel}\n value={this.state.draft}\n maxLines={16} // This is the same that slack has\n style={[styles.textInputCompose, styles.flex4, styles.editInputComposeSpacing]}\n onFocus={() => {\n this.setState({isFocused: true});\n ReportScrollManager.scrollToIndex({animated: true, index: this.props.index}, true);\n toggleReportActionComposeView(false, this.props.isSmallScreenWidth);\n }}\n onBlur={(event) => {\n this.setState({isFocused: false});\n const relatedTargetId = lodashGet(event, 'nativeEvent.relatedTarget.id');\n\n // Return to prevent re-render when save/cancel button is pressed which cancels the onPress event by re-rendering\n if (_.contains([this.saveButtonID, this.cancelButtonID, this.emojiButtonID], relatedTargetId)) {\n return;\n }\n\n if (this.messageEditInput === relatedTargetId) {\n return;\n }\n openReportActionComposeViewWhenClosingMessageEdit(this.props.isSmallScreenWidth);\n }}\n selection={this.state.selection}\n onSelectionChange={this.onSelectionChange}\n numberOfLines={this.props.numberOfLines}\n onNumberOfLinesChange={this.updateNumberOfLines}\n />\n \n InteractionManager.runAfterInteractions(() => this.textInput.focus())}\n onEmojiSelected={this.addEmojiToTextBox}\n nativeID={this.emojiButtonID}\n />\n \n\n \n \n \n \n \n \n \n );\n }\n}\n\nReportActionItemMessageEdit.propTypes = propTypes;\nReportActionItemMessageEdit.defaultProps = defaultProps;\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withKeyboardState,\n withOnyx({\n numberOfLines: {\n key: ({reportID, action}) => `${ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT_NUMBER_OF_LINES}${reportID}_${action.reportActionID}`,\n initWithStoredValues: false,\n },\n }),\n)(React.forwardRef((props, ref) => (\n /* eslint-disable-next-line react/jsx-props-no-spreading */\n \n)));\n","import React from 'react';\nimport {StyleSheet} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport RNTextInput from '../RNTextInput';\nimport themeColors from '../../styles/themes/default';\nimport CONST from '../../CONST';\nimport * as ComposerUtils from '../../libs/ComposerUtils';\n\nconst propTypes = {\n /** If the input should clear, it actually gets intercepted instead of .clear() */\n shouldClear: PropTypes.bool,\n\n /** A ref to forward to the text input */\n forwardedRef: PropTypes.func,\n\n /** When the input has cleared whoever owns this input should know about it */\n onClear: PropTypes.func,\n\n /** Set focus to this component the first time it renders.\n * Override this in case you need to set focus on one field out of many, or when you want to disable autoFocus */\n autoFocus: PropTypes.bool,\n\n /** Prevent edits and interactions like focus for this input. */\n isDisabled: PropTypes.bool,\n\n /** Selection Object */\n selection: PropTypes.shape({\n start: PropTypes.number,\n end: PropTypes.number,\n }),\n\n /** Whether the full composer can be opened */\n isFullComposerAvailable: PropTypes.bool,\n\n /** Allow the full composer to be opened */\n setIsFullComposerAvailable: PropTypes.func,\n\n /** Whether the composer is full size */\n isComposerFullSize: PropTypes.bool,\n\n /** General styles to apply to the text input */\n // eslint-disable-next-line react/forbid-prop-types\n style: PropTypes.any,\n\n};\n\nconst defaultProps = {\n shouldClear: false,\n onClear: () => {},\n autoFocus: false,\n isDisabled: false,\n forwardedRef: null,\n selection: {\n start: 0,\n end: 0,\n },\n isFullComposerAvailable: false,\n setIsFullComposerAvailable: () => {},\n isComposerFullSize: false,\n style: null,\n};\n\nclass Composer extends React.Component {\n constructor(props) {\n super(props);\n\n this.state = {\n propStyles: StyleSheet.flatten(this.props.style),\n };\n }\n\n componentDidMount() {\n // This callback prop is used by the parent component using the constructor to\n // get a ref to the inner textInput element e.g. if we do\n // this.textInput = el} /> this will not\n // return a ref to the component, but rather the HTML element by default\n if (!this.props.forwardedRef || !_.isFunction(this.props.forwardedRef)) {\n return;\n }\n\n this.props.forwardedRef(this.textInput);\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.shouldClear || !this.props.shouldClear) {\n return;\n }\n\n this.textInput.clear();\n this.props.onClear();\n }\n\n render() {\n // On native layers we like to have the Text Input not focused so the\n // user can read new chats without the keyboard in the way of the view.\n // On Android, the selection prop is required on the TextInput but this prop has issues on IOS\n // https://github.com/facebook/react-native/issues/29063\n const propsToPass = _.omit(this.props, 'selection');\n return (\n this.textInput = el}\n maxHeight={this.props.isComposerFullSize ? '100%' : CONST.COMPOSER_MAX_HEIGHT}\n onContentSizeChange={e => ComposerUtils.updateNumberOfLines(this.props, e)}\n rejectResponderTermination={false}\n textAlignVertical=\"center\"\n style={this.state.propStyles}\n /* eslint-disable-next-line react/jsx-props-no-spreading */\n {...propsToPass}\n editable={!this.props.isDisabled}\n />\n );\n }\n}\n\nComposer.propTypes = propTypes;\nComposer.defaultProps = defaultProps;\n\nexport default React.forwardRef((props, ref) => (\n /* eslint-disable-next-line react/jsx-props-no-spreading */\n \n));\n","import lodashGet from 'lodash/get';\nimport styles from '../../styles/styles';\nimport updateIsFullComposerAvailable from './updateIsFullComposerAvailable';\n\n/**\n * Get the current number of lines in the composer\n *\n * @param {Number} lineHeight\n * @param {Number} paddingTopAndBottom\n * @param {Number} scrollHeight\n *\n * @returns {Number}\n */\nfunction getNumberOfLines(lineHeight, paddingTopAndBottom, scrollHeight) {\n return Math.ceil((scrollHeight - paddingTopAndBottom) / lineHeight);\n}\n\n/**\n * Check the current scrollHeight of the textarea (minus any padding) and\n * divide by line height to get the total number of rows for the textarea.\n * @param {Object} props\n * @param {Event} e\n */\nfunction updateNumberOfLines(props, e) {\n const lineHeight = styles.textInputCompose.lineHeight;\n const paddingTopAndBottom = styles.textInputComposeSpacing.paddingVertical * 2;\n const inputHeight = lodashGet(e, 'nativeEvent.contentSize.height', null);\n if (!inputHeight) {\n return;\n }\n const numberOfLines = getNumberOfLines(lineHeight, paddingTopAndBottom, inputHeight);\n updateIsFullComposerAvailable(props, numberOfLines);\n}\n\nexport {\n getNumberOfLines,\n updateNumberOfLines,\n};\n","import CONST from '../../CONST';\n\n/**\n * Update isFullComposerAvailable if needed\n * @param {Object} props\n * @param {Number} numberOfLines The number of lines in the text input\n */\nfunction updateIsFullComposerAvailable(props, numberOfLines) {\n const isFullComposerAvailable = numberOfLines >= CONST.COMPOSER.FULL_COMPOSER_MIN_LINES;\n if (isFullComposerAvailable !== props.isFullComposerAvailable) {\n props.setIsFullComposerAvailable(isFullComposerAvailable);\n }\n}\n\nexport default updateIsFullComposerAvailable;\n","import * as Composer from '../actions/Composer';\n\nexport default shouldShowComposeInput => Composer.setShouldShowComposeInput(shouldShowComposeInput);\n","import Onyx from 'react-native-onyx';\nimport ONYXKEYS from '../../ONYXKEYS';\n\n/**\n * @param {Boolean} shouldShowComposeInput\n */\nfunction setShouldShowComposeInput(shouldShowComposeInput) {\n Onyx.set(ONYXKEYS.SHOULD_SHOW_COMPOSE_INPUT, shouldShowComposeInput);\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n setShouldShowComposeInput,\n};\n","import {Keyboard} from 'react-native';\nimport toggleReportActionComposeView from '../toggleReportActionComposeView';\n\nexport default (isSmallScreenWidth = true) => {\n const keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', () => {\n toggleReportActionComposeView(true, isSmallScreenWidth);\n keyboardDidHideListener.remove();\n });\n};\n","import React from 'react';\nimport {Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport getButtonState from '../../libs/getButtonState';\nimport * as Expensicons from '../Icon/Expensicons';\nimport Tooltip from '../Tooltip';\nimport Icon from '../Icon';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport * as EmojiPickerAction from '../../libs/actions/EmojiPickerAction';\n\nconst propTypes = {\n /** Flag to disable the emoji picker button */\n isDisabled: PropTypes.bool,\n\n /** Id to use for the emoji picker button */\n nativeID: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n isDisabled: false,\n nativeID: '',\n};\n\nconst EmojiPickerButton = (props) => {\n let emojiPopoverAnchor = null;\n return (\n \n emojiPopoverAnchor = el}\n style={({hovered, pressed}) => ([\n styles.chatItemEmojiButton,\n StyleUtils.getButtonBackgroundColorStyle(getButtonState(hovered, pressed)),\n ])}\n disabled={props.isDisabled}\n onPress={() => EmojiPickerAction.showEmojiPicker(props.onModalHide, props.onEmojiSelected, emojiPopoverAnchor)}\n nativeID={props.nativeID}\n >\n {({hovered, pressed}) => (\n \n )}\n \n \n );\n};\n\nEmojiPickerButton.propTypes = propTypes;\nEmojiPickerButton.defaultProps = defaultProps;\nEmojiPickerButton.displayName = 'EmojiPickerButton';\nexport default withLocalize(EmojiPickerButton);\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {debounce} from 'lodash';\nimport CONST from '../CONST';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport Text from './Text';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** Text Comment */\n comment: PropTypes.string.isRequired,\n\n /** Update UI on parent when comment length is exceeded */\n onExceededMaxCommentLength: PropTypes.func.isRequired,\n};\n\nclass ExceededCommentLength extends PureComponent {\n constructor(props) {\n super(props);\n\n this.state = {\n commentLength: 0,\n };\n\n // By debouncing, we defer the calculation until there is a break in typing\n this.updateCommentLength = debounce(this.updateCommentLength.bind(this), CONST.TIMING.COMMENT_LENGTH_DEBOUNCE_TIME);\n }\n\n componentDidMount() {\n this.updateCommentLength();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.comment === this.props.comment) {\n return;\n }\n\n this.updateCommentLength();\n }\n\n updateCommentLength() {\n const commentLength = ReportUtils.getCommentLength(this.props.comment);\n this.setState({commentLength});\n this.props.onExceededMaxCommentLength(commentLength > CONST.MAX_COMMENT_LENGTH);\n }\n\n render() {\n if (this.state.commentLength <= CONST.MAX_COMMENT_LENGTH) {\n return null;\n }\n\n return (\n \n {`${this.state.commentLength}/${CONST.MAX_COMMENT_LENGTH}`}\n \n );\n }\n}\n\nExceededCommentLength.propTypes = propTypes;\n\nexport default ExceededCommentLength;\n","import React from 'react';\nimport {Pressable, View, Image} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport RoomHeaderAvatars from '../../../components/RoomHeaderAvatars';\nimport ReportWelcomeText from '../../../components/ReportWelcomeText';\nimport participantPropTypes from '../../../components/participantPropTypes';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport styles from '../../../styles/styles';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport * as Report from '../../../libs/actions/Report';\nimport reportPropTypes from '../../reportPropTypes';\nimport EmptyStateBackgroundImage from '../../../../assets/images/empty-state_background-fade.png';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport compose from '../../../libs/compose';\nimport withLocalize from '../../../components/withLocalize';\n\nconst propTypes = {\n /** The id of the report */\n reportID: PropTypes.string.isRequired,\n\n /** The report currently being looked at */\n report: reportPropTypes,\n\n /** Personal details of all the users */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n\n /** The policies which the user has access to and which the report could be tied to */\n policies: PropTypes.shape({\n /** Name of the policy */\n name: PropTypes.string,\n }),\n\n ...windowDimensionsPropTypes,\n};\nconst defaultProps = {\n report: {},\n personalDetails: {},\n policies: {},\n};\n\nconst ReportActionItemCreated = (props) => {\n const icons = ReportUtils.getIcons(props.report, props.personalDetails, props.policies);\n return (\n Report.navigateToConciergeChatAndDeleteReport(props.report.reportID)}\n >\n \n \n \n ReportUtils.navigateToDetailsPage(props.report)}\n style={[styles.ph5, styles.pb3, styles.alignSelfStart]}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nReportActionItemCreated.defaultProps = defaultProps;\nReportActionItemCreated.propTypes = propTypes;\nReportActionItemCreated.displayName = 'ReportActionItemCreated';\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withOnyx({\n report: {\n key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n }),\n)(ReportActionItemCreated);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport {View} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport _ from 'underscore';\nimport styles from '../styles/styles';\nimport Text from './Text';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport compose from '../libs/compose';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport * as OptionsListUtils from '../libs/OptionsListUtils';\nimport ONYXKEYS from '../ONYXKEYS';\nimport Navigation from '../libs/Navigation/Navigation';\nimport ROUTES from '../ROUTES';\nimport Tooltip from './Tooltip';\nimport reportPropTypes from '../pages/reportPropTypes';\nimport CONST from '../CONST';\n\nconst personalDetailsPropTypes = PropTypes.shape({\n /** The login of the person (either email or phone number) */\n login: PropTypes.string.isRequired,\n\n /** The URL of the person's avatar (there should already be a default avatar if\n the person doesn't have their own avatar uploaded yet) */\n avatar: PropTypes.string.isRequired,\n\n /** This is either the user's full name, or their login if full name is an empty string */\n displayName: PropTypes.string.isRequired,\n});\n\nconst propTypes = {\n /** The report currently being looked at */\n report: reportPropTypes,\n\n /* Onyx Props */\n\n /** All of the personal details for everyone */\n personalDetails: PropTypes.objectOf(personalDetailsPropTypes),\n\n /** The policies which the user has access to and which the report could be tied to */\n policies: PropTypes.shape({\n /** The policy name */\n name: PropTypes.string,\n }),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n report: {},\n policies: {},\n personalDetails: {},\n betas: [],\n};\n\nconst ReportWelcomeText = (props) => {\n const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(props.report);\n const isChatRoom = ReportUtils.isChatRoom(props.report);\n const isDefault = !(isChatRoom || isPolicyExpenseChat);\n const participants = lodashGet(props.report, 'participants', []);\n const isMultipleParticipant = participants.length > 1;\n const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips(\n OptionsListUtils.getPersonalDetailsForLogins(participants, props.personalDetails),\n isMultipleParticipant,\n );\n const roomWelcomeMessage = ReportUtils.getRoomWelcomeMessage(props.report, props.policies);\n const moneyRequestOptions = ReportUtils.getMoneyRequestOptions(props.report, participants, props.betas);\n return (\n <>\n \n \n {props.translate('reportActionsView.sayHello')}\n \n \n \n {isPolicyExpenseChat && (\n <>\n \n {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartOne')}\n \n \n {/* Use the policyExpenseChat owner's first name or their email if it's undefined or an empty string */}\n {lodashGet(props.personalDetails, [props.report.ownerEmail, 'firstName']) || props.report.ownerEmail}\n \n \n {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartTwo')}\n \n \n {ReportUtils.getPolicyName(props.report, props.policies)}\n \n \n {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartThree')}\n \n \n )}\n {isChatRoom && (\n <>\n \n {roomWelcomeMessage.phrase1}\n \n Navigation.navigate(ROUTES.getReportDetailsRoute(props.report.reportID))}>\n {ReportUtils.getReportName(props.report, props.policies)}\n \n \n {roomWelcomeMessage.phrase2}\n \n \n )}\n {isDefault && (\n \n \n {props.translate('reportActionsView.beginningOfChatHistory')}\n \n {_.map(displayNamesWithTooltips, ({\n displayName, pronouns, tooltip,\n }, index) => (\n \n \n Navigation.navigate(ROUTES.getDetailsRoute(participants[index]))}>\n {displayName}\n \n \n {!_.isEmpty(pronouns) && {` (${pronouns})`}}\n {(index === displayNamesWithTooltips.length - 1) && .}\n {(index === displayNamesWithTooltips.length - 2) && {` ${props.translate('common.and')} `}}\n {(index < displayNamesWithTooltips.length - 2) && , }\n \n ))}\n \n )}\n {(moneyRequestOptions.includes(CONST.IOU.MONEY_REQUEST_TYPE.SEND) || moneyRequestOptions.includes(CONST.IOU.MONEY_REQUEST_TYPE.REQUEST)) && (\n \n {/* Need to confirm copy for the below with marketing, and then add to translations. */}\n {props.translate('reportActionsView.usePlusButton')}\n \n )}\n \n \n );\n};\n\nReportWelcomeText.defaultProps = defaultProps;\nReportWelcomeText.propTypes = propTypes;\nReportWelcomeText.displayName = 'ReportWelcomeText';\n\nexport default compose(\n withLocalize,\n withOnyx({\n betas: {\n key: ONYXKEYS.BETAS,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n }),\n)(ReportWelcomeText);\n","","export default () => null;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport Text from '../Text';\nimport styles from '../../styles/styles';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\n\nconst propTypes = {\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst RenameAction = (props) => {\n const displayName = lodashGet(props.action, ['message', 0, 'text']);\n const oldName = lodashGet(props.action, 'originalMessage.oldName', '');\n const newName = lodashGet(props.action, 'originalMessage.newName', '');\n\n return (\n \n \n {displayName}\n \n {props.translate('newRoomPage.renamedRoomAction', {oldName, newName})}\n \n );\n};\n\nRenameAction.propTypes = propTypes;\nRenameAction.displayName = 'RenameAction';\n\nexport default withLocalize(RenameAction);\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\nimport theme from '../styles/themes/default';\nimport Text from './Text';\nimport * as Expensicons from './Icon/Expensicons';\nimport Icon from './Icon';\n\nconst propTypes = {\n /** Error to display */\n message: PropTypes.string,\n};\n\nconst defaultProps = {\n message: '',\n};\n\nconst InlineSystemMessage = (props) => {\n if (props.message.length === 0) {\n return null;\n }\n return (\n \n \n {props.message}\n \n );\n};\n\nInlineSystemMessage.propTypes = propTypes;\nInlineSystemMessage.defaultProps = defaultProps;\nInlineSystemMessage.displayName = 'InlineSystemMessage';\nexport default InlineSystemMessage;\n","export default {\n // This is a no-op function for native devices because they wouldn't be able to support Selection API like a website.\n getCurrentSelection: () => '',\n};\n","/**\n * This library is a no-op for all platforms except for Android and will immediately focus the given input without any delays. This is important for native iOS clients because\n * text inputs can only be focused from user interactions and wrapping the focus() inside a setTimeout breaks that use case since it's no longer triggered from a user interaction.\n *\n * @param {Object} inputRef\n */\nconst focusTextInputAfterAnimation = (inputRef) => {\n inputRef.focus();\n};\n\nexport default focusTextInputAfterAnimation;\n","import React from 'react';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport reportActionPropTypes from '../../pages/home/report/reportActionPropTypes';\nimport styles from '../../styles/styles';\nimport Text from '../Text';\nimport Button from '../Button';\nimport * as Chronos from '../../libs/actions/Chronos';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport DateUtils from '../../libs/DateUtils';\nimport OfflineWithFeedback from '../OfflineWithFeedback';\n\nconst propTypes = {\n /** The ID of the report */\n reportID: PropTypes.string.isRequired,\n\n /** All the data of the action */\n action: PropTypes.shape(reportActionPropTypes).isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst ChronosOOOListActions = (props) => {\n const events = lodashGet(props.action, 'originalMessage.events', []);\n\n if (!events.length) {\n return (\n \n You haven't created any events\n \n );\n }\n\n return (\n \n \n {_.map(events, (event) => {\n const start = DateUtils.getLocalMomentFromDatetime(props.preferredLocale, lodashGet(event, 'start.date', ''));\n const end = DateUtils.getLocalMomentFromDatetime(props.preferredLocale, lodashGet(event, 'end.date', ''));\n return (\n \n \n {event.lengthInDays > 0 ? (\n props.translate('chronos.oooEventSummaryFullDay', {\n summary: event.summary,\n dayCount: event.lengthInDays,\n date: end.format('dddd LL'),\n })\n ) : (\n props.translate('chronos.oooEventSummaryPartialDay', {\n summary: event.summary,\n timePeriod: `${start.format('LT')} - ${end.format('LT')}`,\n date: end.format('dddd LL'),\n })\n )}\n \n Chronos.removeEvent(props.reportID, props.action.reportActionID, event.id, events)}\n ContentComponent={() => (\n \n {props.translate('common.remove')}\n \n )}\n />\n \n );\n })}\n \n \n );\n};\n\nChronosOOOListActions.propTypes = propTypes;\nChronosOOOListActions.displayName = 'ChronosOOOListActions';\n\nexport default withLocalize(ChronosOOOListActions);\n","import _ from 'underscore';\nimport CONST from '../../CONST';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as API from '../API';\n\n/**\n * @param {String} reportID\n * @param {String} reportActionID\n * @param {String} eventID\n * @param {Object[]} events\n */\nconst removeEvent = (reportID, reportActionID, eventID, events) => {\n const optimisticData = [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,\n value: {\n [reportActionID]: {\n pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE,\n originalMessage: {\n events: _.reject(events, event => event.id === eventID),\n },\n },\n },\n },\n ];\n\n const successData = [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,\n value: {\n [reportActionID]: {\n pendingAction: null,\n },\n },\n },\n ];\n\n const failureData = [\n {\n onyxMethod: CONST.ONYX.METHOD.MERGE,\n key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${reportID}`,\n value: {\n [reportActionID]: {\n originalMessage: {events},\n pendingAction: null,\n },\n },\n },\n ];\n\n API.write('Chronos_RemoveOOOEvent', {\n googleEventID: eventID,\n reportActionID,\n }, {optimisticData, successData, failureData});\n};\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n removeEvent,\n};\n","import React from 'react';\nimport _ from 'underscore';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport EmojiReactionBubble from './EmojiReactionBubble';\nimport emojis from '../../../assets/emojis';\nimport AddReactionBubble from './AddReactionBubble';\nimport getPreferredEmojiCode from './getPreferredEmojiCode';\nimport Tooltip from '../Tooltip';\nimport ReactionTooltipContent from './ReactionTooltipContent';\n\n/**\n * Given an emoji object and a list of senders it will return an\n * array of emoji codes, that represents all used variations of the\n * emoji.\n * @param {{ name: string, code: string, types: string[] }} emoji\n * @param {Array} users\n * @return {string[]}\n * */\nconst getUniqueEmojiCodes = (emoji, users) => {\n const emojiCodes = [];\n _.forEach(users, (user) => {\n const emojiCode = getPreferredEmojiCode(emoji, user.skinTone);\n\n if (emojiCode && !emojiCodes.includes(emojiCode)) {\n emojiCodes.push(emojiCode);\n }\n });\n return emojiCodes;\n};\n\nconst propTypes = {\n /**\n * An array of objects containing the reaction data.\n * The shape of a reaction looks like this:\n *\n * \"reactionName\": {\n * emoji: string,\n * users: {\n * accountID: string,\n * skinTone: number,\n * }[]\n * }\n */\n // eslint-disable-next-line react/forbid-prop-types\n reactions: PropTypes.arrayOf(PropTypes.object).isRequired,\n\n /**\n * Function to call when the user presses on an emoji.\n * This can also be an emoji the user already reacted with,\n * hence this function asks to toggle the reaction by emoji.\n */\n toggleReaction: PropTypes.func.isRequired,\n};\n\nconst ReportActionItemReactions = (props) => {\n const reactionsWithCount = _.filter(props.reactions, reaction => reaction.users.length > 0);\n\n return (\n \n {_.map(reactionsWithCount, (reaction) => {\n const reactionCount = reaction.users.length;\n const reactionUsers = _.map(reaction.users, sender => sender.accountID.toString());\n const emoji = _.find(emojis, e => e.name === reaction.emoji);\n const emojiCodes = getUniqueEmojiCodes(emoji, reaction.users);\n\n const onPress = () => {\n props.toggleReaction(emoji);\n };\n\n return (\n (\n \n )}\n key={reaction.emoji}\n >\n \n \n );\n })}\n {reactionsWithCount.length > 0 && }\n \n );\n};\n\nReportActionItemReactions.displayName = 'ReportActionItemReactions';\nReportActionItemReactions.propTypes = propTypes;\nexport default ReportActionItemReactions;\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport styles from '../../styles/styles';\nimport {withPersonalDetails} from '../OnyxProvider';\nimport * as PersonalDetailsUtils from '../../libs/PersonalDetailsUtils';\nimport Text from '../Text';\nimport withCurrentUserPersonalDetails, {\n withCurrentUserPersonalDetailsPropTypes,\n} from '../withCurrentUserPersonalDetails';\nimport compose from '../../libs/compose';\nimport withLocalize from '../withLocalize';\n\nconst propTypes = {\n /**\n * A list of emoji codes to display in the tooltip.\n */\n emojiCodes: PropTypes.arrayOf(PropTypes.string).isRequired,\n\n /**\n * The name of the emoji to display in the tooltip.\n */\n emojiName: PropTypes.string.isRequired,\n\n /**\n * A list of account IDs to display in the tooltip.\n */\n accountIDs: PropTypes.arrayOf(PropTypes.string).isRequired,\n\n ...withCurrentUserPersonalDetailsPropTypes,\n};\n\nconst ReactionTooltipContent = (props) => {\n const users = PersonalDetailsUtils.getPersonalDetailsByIDs(props.accountIDs, true);\n const namesString = _.filter(_.map(users, user => user && user.displayName), n => n).join(', ');\n\n return (\n \n \n {_.map(props.emojiCodes, emojiCode => (\n \n {emojiCode}\n \n ))}\n \n\n \n {namesString}\n \n\n \n {`${props.translate('emojiReactions.reactedWith')} :${props.emojiName}:`}\n \n \n );\n};\n\nReactionTooltipContent.propTypes = propTypes;\nReactionTooltipContent.defaultProps = withCurrentUserPersonalDetails;\nReactionTooltipContent.displayName = 'ReactionTooltipContent';\nexport default React.memo(compose(\n withPersonalDetails(),\n withLocalize,\n)(ReactionTooltipContent));\n","import Onyx from 'react-native-onyx';\nimport _ from 'underscore';\nimport ONYXKEYS from '../ONYXKEYS';\nimport * as Report from './actions/Report';\nimport * as Localize from './Localize';\n\nlet personalDetails = [];\nOnyx.connect({\n key: ONYXKEYS.PERSONAL_DETAILS,\n callback: val => personalDetails = _.values(val),\n});\n\n/**\n * Given a list of account IDs (as string) it will return an array of personal details objects.\n * @param {Array} accountIDs - Array of accountIDs\n * @param {boolean} shouldChangeUserDisplayName - It will replace the current user's personal detail object's displayName with 'You'.\n * @returns {Array} - Array of personal detail objects\n */\nfunction getPersonalDetailsByIDs(accountIDs, shouldChangeUserDisplayName = false) {\n const result = [];\n const currentAccountID = Report.getCurrentUserAccountID();\n _.each(personalDetails, (detail) => {\n for (let i = 0; i < accountIDs.length; i++) {\n if (detail.accountID === accountIDs[i]) {\n if (shouldChangeUserDisplayName && currentAccountID.toString() === detail.accountID) {\n result[i] = {\n ...detail,\n displayName: Localize.translateLocal('common.you'),\n };\n } else {\n result[i] = detail;\n }\n break;\n }\n }\n });\n return result;\n}\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n getPersonalDetailsByIDs,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport SkeletonViewLines from './SkeletonViewLines';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /** Height of the container component */\n containerHeight: PropTypes.number.isRequired,\n\n /** Whether to animate the skeleton view */\n shouldAnimate: PropTypes.bool,\n};\n\nconst defaultProps = {\n shouldAnimate: true,\n};\n\nconst ReportActionsSkeletonView = (props) => {\n // Determines the number of content items based on container height\n const possibleVisibleContentItems = Math.ceil(props.containerHeight / CONST.CHAT_SKELETON_VIEW.AVERAGE_ROW_HEIGHT);\n const skeletonViewLines = [];\n for (let index = 0; index < possibleVisibleContentItems; index++) {\n const iconIndex = (index + 1) % 4;\n switch (iconIndex) {\n case 2:\n skeletonViewLines.push();\n break;\n case 0:\n skeletonViewLines.push();\n break;\n default:\n skeletonViewLines.push();\n }\n }\n return <>{skeletonViewLines};\n};\n\nReportActionsSkeletonView.displayName = 'ReportActionsSkeletonView';\nReportActionsSkeletonView.propTypes = propTypes;\nReportActionsSkeletonView.defaultProps = defaultProps;\nexport default ReportActionsSkeletonView;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {Rect, Circle} from 'react-native-svg';\nimport SkeletonViewContentLoader from 'react-content-loader/native';\nimport CONST from '../../CONST';\nimport themeColors from '../../styles/themes/default';\nimport styles from '../../styles/styles';\n\nconst propTypes = {\n /** Number of rows to show in Skeleton UI block */\n numberOfRows: PropTypes.number.isRequired,\n shouldAnimate: PropTypes.bool,\n};\n\nconst defaultTypes = {\n shouldAnimate: true,\n};\n\nconst SkeletonViewLines = props => (\n \n \n \n \n {props.numberOfRows > 1 && }\n {props.numberOfRows > 2 && }\n \n);\n\nSkeletonViewLines.displayName = 'SkeletonViewLines';\nSkeletonViewLines.propTypes = propTypes;\nSkeletonViewLines.defaultProps = defaultTypes;\nexport default SkeletonViewLines;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nfunction _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\n\nvar React = require('react');\nvar React__default = _interopDefault(React);\nvar Svg = require('react-native-svg');\nvar Svg__default = _interopDefault(Svg);\nvar reactNative = require('react-native');\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\nvar uid = (function () {\r\n return Math.random()\r\n .toString(36)\r\n .substring(6);\r\n});\n\nvar AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(Svg.LinearGradient);\r\nvar NativeSvg = /** @class */ (function (_super) {\r\n __extends(NativeSvg, _super);\r\n function NativeSvg() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.animatedValue = new reactNative.Animated.Value(-1);\r\n _this.fixedId = _this.props.uniqueKey || uid();\r\n _this.idClip = _this.fixedId + \"-diff\";\r\n _this.idGradient = _this.fixedId + \"-animated-diff\";\r\n _this.unmounted = false;\r\n _this.setAnimation = function () {\r\n // props.speed is in seconds as it is compatible with web\r\n // convert to milliseconds\r\n var durMs = _this.props.speed * 1000;\r\n var delay = durMs * _this.props.interval;\r\n reactNative.Animated.timing(_this.animatedValue, {\r\n toValue: 2,\r\n delay: delay,\r\n duration: durMs,\r\n useNativeDriver: true,\r\n }).start(function () {\r\n if (!_this.unmounted && _this.props.animate) {\r\n _this.animatedValue.setValue(-1);\r\n _this.setAnimation();\r\n }\r\n });\r\n };\r\n _this.componentDidMount = function () {\r\n if (_this.props.animate) {\r\n _this.setAnimation();\r\n }\r\n };\r\n return _this;\r\n }\r\n NativeSvg.prototype.componentDidUpdate = function (prevProps) {\r\n if (!prevProps.animate && this.props.animate) {\r\n this.setAnimation();\r\n }\r\n };\r\n NativeSvg.prototype.componentWillUnmount = function () {\r\n this.unmounted = true;\r\n };\r\n NativeSvg.prototype.render = function () {\r\n var _a = this.props, children = _a.children, backgroundColor = _a.backgroundColor, foregroundColor = _a.foregroundColor, rtl = _a.rtl, style = _a.style, beforeMask = _a.beforeMask, props = __rest(_a, [\"children\", \"backgroundColor\", \"foregroundColor\", \"rtl\", \"style\", \"beforeMask\"]);\r\n var x1Animation = this.animatedValue.interpolate({\r\n extrapolate: 'clamp',\r\n inputRange: [-1, 2],\r\n outputRange: ['-100%', '100%'],\r\n });\r\n var x2Animation = this.animatedValue.interpolate({\r\n extrapolate: 'clamp',\r\n inputRange: [-1, 2],\r\n outputRange: ['0%', '200%'],\r\n });\r\n var rtlStyle = rtl ? { transform: [{ rotateY: '180deg' }] } : {};\r\n var svgStyle = Object.assign(Object.assign({}, style), rtlStyle);\r\n // Remove unnecessary keys\r\n delete props.uniqueKey;\r\n delete props.animate;\r\n delete props.speed;\r\n return (React__default.createElement(Svg__default, __assign({ style: svgStyle }, props),\r\n beforeMask && React.isValidElement(beforeMask) ? beforeMask : null,\r\n React__default.createElement(Svg.Rect, { x: \"0\", y: \"0\", width: \"100%\", height: \"100%\", fill: \"url(#\" + this.idClip + \")\", clipPath: \"url(#\" + this.idGradient + \")\" }),\r\n React__default.createElement(Svg.Defs, null,\r\n React__default.createElement(Svg.ClipPath, { id: this.idGradient }, children),\r\n React__default.createElement(AnimatedLinearGradient, { id: this.idClip, x1: x1Animation, x2: x2Animation, y1: 0, y2: 0 },\r\n React__default.createElement(Svg.Stop, { offset: 0, stopColor: backgroundColor }),\r\n React__default.createElement(Svg.Stop, { offset: 0.5, stopColor: foregroundColor }),\r\n React__default.createElement(Svg.Stop, { offset: 1, stopColor: backgroundColor })))));\r\n };\r\n NativeSvg.defaultProps = {\r\n animate: true,\r\n backgroundColor: '#f5f6f7',\r\n foregroundColor: '#eee',\r\n rtl: false,\r\n speed: 1.2,\r\n interval: 0.25,\r\n style: {},\r\n beforeMask: null,\r\n };\r\n return NativeSvg;\r\n}(React.Component));\n\nvar ContentLoader = function (props) {\r\n return props.children ? React.createElement(NativeSvg, __assign({}, props)) : React.createElement(ReactContentLoaderFacebook, __assign({}, props));\r\n};\n\nvar ReactContentLoaderFacebook = function (props) { return (React.createElement(ContentLoader, __assign({ viewBox: \"0 0 476 124\", width: 476, height: 124 }, props),\r\n React.createElement(Svg.Rect, { x: \"48\", y: \"8\", width: \"88\", height: \"6\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"48\", y: \"26\", width: \"52\", height: \"6\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"56\", width: \"410\", height: \"6\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"72\", width: \"380\", height: \"6\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"88\", width: \"178\", height: \"6\", rx: \"3\" }),\r\n React.createElement(Svg.Circle, { cx: \"20\", cy: \"20\", r: \"20\" }))); };\n\nvar ReactContentLoaderInstagram = function (props) { return (React.createElement(ContentLoader, __assign({ viewBox: \"0 0 400 460\", width: 400, height: 460 }, props),\r\n React.createElement(Svg.Circle, { cx: \"31\", cy: \"31\", r: \"15\" }),\r\n React.createElement(Svg.Rect, { x: \"58\", y: \"18\", rx: \"2\", ry: \"2\", width: \"140\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"58\", y: \"34\", rx: \"2\", ry: \"2\", width: \"140\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"60\", rx: \"2\", ry: \"2\", width: \"400\", height: \"400\" }))); };\n\nvar ReactContentLoaderCode = function (props) { return (React.createElement(ContentLoader, __assign({ viewBox: \"0 0 340 84\", width: 340, height: 84 }, props),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"0\", width: \"67\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"76\", y: \"0\", width: \"140\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"127\", y: \"48\", width: \"53\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"187\", y: \"48\", width: \"72\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"18\", y: \"48\", width: \"100\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"71\", width: \"37\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"18\", y: \"23\", width: \"140\", height: \"11\", rx: \"3\" }),\r\n React.createElement(Svg.Rect, { x: \"166\", y: \"23\", width: \"173\", height: \"11\", rx: \"3\" }))); };\n\nvar ReactContentLoaderListStyle = function (props) { return (React.createElement(ContentLoader, __assign({ viewBox: \"0 0 400 110\", width: 400, height: 110 }, props),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"0\", rx: \"3\", ry: \"3\", width: \"250\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"20\", y: \"20\", rx: \"3\", ry: \"3\", width: \"220\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"20\", y: \"40\", rx: \"3\", ry: \"3\", width: \"170\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"0\", y: \"60\", rx: \"3\", ry: \"3\", width: \"250\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"20\", y: \"80\", rx: \"3\", ry: \"3\", width: \"200\", height: \"10\" }),\r\n React.createElement(Svg.Rect, { x: \"20\", y: \"100\", rx: \"3\", ry: \"3\", width: \"80\", height: \"10\" }))); };\n\nvar ReactContentLoaderBulletList = function (props) { return (React.createElement(ContentLoader, __assign({ viewBox: \"0 0 245 125\", width: 245, height: 125 }, props),\r\n React.createElement(Svg.Circle, { cx: \"10\", cy: \"20\", r: \"8\" }),\r\n React.createElement(Svg.Rect, { x: \"25\", y: \"15\", rx: \"5\", ry: \"5\", width: \"220\", height: \"10\" }),\r\n React.createElement(Svg.Circle, { cx: \"10\", cy: \"50\", r: \"8\" }),\r\n React.createElement(Svg.Rect, { x: \"25\", y: \"45\", rx: \"5\", ry: \"5\", width: \"220\", height: \"10\" }),\r\n React.createElement(Svg.Circle, { cx: \"10\", cy: \"80\", r: \"8\" }),\r\n React.createElement(Svg.Rect, { x: \"25\", y: \"75\", rx: \"5\", ry: \"5\", width: \"220\", height: \"10\" }),\r\n React.createElement(Svg.Circle, { cx: \"10\", cy: \"110\", r: \"8\" }),\r\n React.createElement(Svg.Rect, { x: \"25\", y: \"105\", rx: \"5\", ry: \"5\", width: \"220\", height: \"10\" }))); };\n\nObject.defineProperty(exports, 'Circle', {\n enumerable: true,\n get: function () {\n return Svg.Circle;\n }\n});\nObject.defineProperty(exports, 'Path', {\n enumerable: true,\n get: function () {\n return Svg.Path;\n }\n});\nObject.defineProperty(exports, 'Rect', {\n enumerable: true,\n get: function () {\n return Svg.Rect;\n }\n});\nexports.BulletList = ReactContentLoaderBulletList;\nexports.Code = ReactContentLoaderCode;\nexports.Facebook = ReactContentLoaderFacebook;\nexports.Instagram = ReactContentLoaderInstagram;\nexports.List = ReactContentLoaderListStyle;\nexports.default = ContentLoader;\n//# sourceMappingURL=react-content-loader.native.cjs.js.map\n","import React from 'react';\nimport ExpensiMark from 'expensify-common/lib/ExpensiMark';\nimport Str from 'expensify-common/lib/str';\nimport CONST from '../CONST';\nimport KeyboardShortcut from '../libs/KeyboardShortcut';\nimport Clipboard from '../libs/Clipboard';\nimport SelectionScraper from '../libs/SelectionScraper';\n\nclass CopySelectionHelper extends React.Component {\n componentDidMount() {\n const copyShortcutConfig = CONST.KEYBOARD_SHORTCUTS.COPY;\n this.unsubscribeCopyShortcut = KeyboardShortcut.subscribe(\n copyShortcutConfig.shortcutKey,\n this.copySelectionToClipboard,\n copyShortcutConfig.descriptionKey,\n copyShortcutConfig.modifiers,\n false,\n );\n }\n\n componentWillUnmount() {\n if (!this.unsubscribeCopyShortcut) {\n return;\n }\n\n this.unsubscribeCopyShortcut();\n }\n\n copySelectionToClipboard() {\n const selection = SelectionScraper.getCurrentSelection();\n if (!selection) {\n return;\n }\n const parser = new ExpensiMark();\n if (!Clipboard.canSetHtml()) {\n Clipboard.setString(parser.htmlToMarkdown(selection));\n return;\n }\n\n Clipboard.setHtml(selection, Str.htmlDecode(parser.htmlToText(selection)));\n }\n\n render() {\n return null;\n }\n}\n\nexport default CopySelectionHelper;\n","import Visibility from './Visibility';\n\n/**\n * When the app is visible and the LHN is not opening in small-screen devices we can assume that the report is fully visible.\n *\n * @param {Boolean} isDrawerOpen\n * @param {Boolean} isSmallScreenWidth\n *\n * @returns {Boolean}\n */\nexport default function getIsReportFullyVisible(isDrawerOpen, isSmallScreenWidth) {\n const isSidebarCoveringReportView = isSmallScreenWidth && isDrawerOpen;\n return Visibility.isVisible() && !isSidebarCoveringReportView;\n}\n","import React from 'react';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport {View, Keyboard} from 'react-native';\nimport CONST from '../../../CONST';\nimport ReportActionCompose from './ReportActionCompose';\nimport SwipeableView from '../../../components/SwipeableView';\nimport OfflineIndicator from '../../../components/OfflineIndicator';\nimport ArchivedReportFooter from '../../../components/ArchivedReportFooter';\nimport compose from '../../../libs/compose';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport styles from '../../../styles/styles';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport reportPropTypes from '../../reportPropTypes';\nimport * as ReportUtils from '../../../libs/ReportUtils';\n\nconst propTypes = {\n /** Report object for the current report */\n report: reportPropTypes,\n\n /** Report actions for the current report */\n reportActions: PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes)),\n\n /** Offline status */\n isOffline: PropTypes.bool.isRequired,\n\n /** Callback fired when the comment is submitted */\n onSubmitComment: PropTypes.func,\n\n /** Any errors associated with an attempt to create a chat */\n // eslint-disable-next-line react/forbid-prop-types\n errors: PropTypes.object,\n\n /** The pending action when we are adding a chat */\n pendingAction: PropTypes.string,\n\n /** Whether the composer input should be shown */\n shouldShowComposeInput: PropTypes.bool,\n\n /** Whether user interactions should be disabled */\n shouldDisableCompose: PropTypes.bool,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n report: {reportID: '0'},\n reportActions: [],\n onSubmitComment: () => {},\n errors: {},\n pendingAction: null,\n shouldShowComposeInput: true,\n shouldDisableCompose: false,\n};\n\nclass ReportFooter extends React.Component {\n /**\n * @returns {Object}\n */\n getChatFooterStyles() {\n return {...styles.chatFooter, minHeight: !this.props.isOffline ? CONST.CHAT_FOOTER_MIN_HEIGHT : 0};\n }\n\n render() {\n const isArchivedRoom = ReportUtils.isArchivedRoom(this.props.report);\n const hideComposer = isArchivedRoom || !_.isEmpty(this.props.errors);\n\n return (\n <>\n {(isArchivedRoom || hideComposer) && (\n \n {isArchivedRoom && (\n \n )}\n {!this.props.isSmallScreenWidth && (\n \n {hideComposer && (\n \n )}\n \n )}\n \n )}\n {(!hideComposer && this.props.shouldShowComposeInput) && (\n \n \n \n \n \n )}\n \n );\n }\n}\n\nReportFooter.propTypes = propTypes;\nReportFooter.defaultProps = defaultProps;\nexport default compose(\n withWindowDimensions,\n withOnyx({\n shouldShowComposeInput: {key: ONYXKEYS.SHOULD_SHOW_COMPOSE_INPUT},\n }),\n)(ReportFooter);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n View,\n TouchableOpacity,\n InteractionManager,\n LayoutAnimation,\n} from 'react-native';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport {withOnyx} from 'react-native-onyx';\nimport styles from '../../../styles/styles';\nimport themeColors from '../../../styles/themes/default';\nimport Composer from '../../../components/Composer';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport Icon from '../../../components/Icon';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport AttachmentPicker from '../../../components/AttachmentPicker';\nimport * as Report from '../../../libs/actions/Report';\nimport ReportTypingIndicator from './ReportTypingIndicator';\nimport AttachmentModal from '../../../components/AttachmentModal';\nimport compose from '../../../libs/compose';\nimport PopoverMenu from '../../../components/PopoverMenu';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport withDrawerState from '../../../components/withDrawerState';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport willBlurTextInputOnTapOutside from '../../../libs/willBlurTextInputOnTapOutside';\nimport CONST from '../../../CONST';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport reportActionPropTypes from './reportActionPropTypes';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport ReportActionComposeFocusManager from '../../../libs/ReportActionComposeFocusManager';\nimport participantPropTypes from '../../../components/participantPropTypes';\nimport ParticipantLocalTime from './ParticipantLocalTime';\nimport withCurrentUserPersonalDetails, {withCurrentUserPersonalDetailsPropTypes, withCurrentUserPersonalDetailsDefaultProps} from '../../../components/withCurrentUserPersonalDetails';\nimport {withNetwork, withPersonalDetails} from '../../../components/OnyxProvider';\nimport * as User from '../../../libs/actions/User';\nimport Tooltip from '../../../components/Tooltip';\nimport EmojiPickerButton from '../../../components/EmojiPicker/EmojiPickerButton';\nimport * as DeviceCapabilities from '../../../libs/DeviceCapabilities';\nimport toggleReportActionComposeView from '../../../libs/toggleReportActionComposeView';\nimport OfflineIndicator from '../../../components/OfflineIndicator';\nimport ExceededCommentLength from '../../../components/ExceededCommentLength';\nimport withNavigationFocus from '../../../components/withNavigationFocus';\nimport * as EmojiUtils from '../../../libs/EmojiUtils';\nimport ReportDropUI from './ReportDropUI';\nimport DragAndDrop from '../../../components/DragAndDrop';\nimport reportPropTypes from '../../reportPropTypes';\nimport EmojiSuggestions from '../../../components/EmojiSuggestions';\nimport withKeyboardState, {keyboardStatePropTypes} from '../../../components/withKeyboardState';\nimport ArrowKeyFocusManager from '../../../components/ArrowKeyFocusManager';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport KeyboardShortcut from '../../../libs/KeyboardShortcut';\n\nconst propTypes = {\n /** Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** A method to call when the form is submitted */\n onSubmit: PropTypes.func.isRequired,\n\n /** The comment left by the user */\n comment: PropTypes.string,\n\n /** Number of lines for the comment */\n numberOfLines: PropTypes.number,\n\n /** The ID of the report actions will be created for */\n reportID: PropTypes.string.isRequired,\n\n /** Details about any modals being used */\n modal: PropTypes.shape({\n /** Indicates if there is a modal currently visible or not */\n isVisible: PropTypes.bool,\n }),\n\n /** Personal details of all the users */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n\n /** The report currently being looked at */\n report: reportPropTypes,\n\n /** Array of report actions for this report */\n reportActions: PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes)),\n\n /** Is the report view covered by the drawer */\n isDrawerOpen: PropTypes.bool.isRequired,\n\n /** Is the window width narrow, like on a mobile device */\n isSmallScreenWidth: PropTypes.bool.isRequired,\n\n /** Is composer screen focused */\n isFocused: PropTypes.bool.isRequired,\n\n /** Is composer full size */\n isComposerFullSize: PropTypes.bool,\n\n /** Whether user interactions should be disabled */\n disabled: PropTypes.bool,\n\n // The NVP describing a user's block status\n blockedFromConcierge: PropTypes.shape({\n // The date that the user will be unblocked\n expiresAt: PropTypes.string,\n }),\n\n /** Stores user's preferred skin tone */\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /** User's frequently used emojis */\n frequentlyUsedEmojis: PropTypes.arrayOf(PropTypes.shape({\n code: PropTypes.string.isRequired,\n keywords: PropTypes.arrayOf(PropTypes.string),\n })),\n\n /** The type of action that's pending */\n pendingAction: PropTypes.oneOf(['add', 'update', 'delete']),\n\n ...windowDimensionsPropTypes,\n ...withLocalizePropTypes,\n ...withCurrentUserPersonalDetailsPropTypes,\n ...keyboardStatePropTypes,\n};\n\nconst defaultProps = {\n betas: [],\n comment: '',\n numberOfLines: undefined,\n modal: {},\n report: {},\n reportActions: [],\n blockedFromConcierge: {},\n personalDetails: {},\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n frequentlyUsedEmojis: [],\n isComposerFullSize: false,\n pendingAction: null,\n ...withCurrentUserPersonalDetailsDefaultProps,\n};\n\n/**\n * Return the max available index for arrow manager.\n * @param {Number} numRows\n * @param {Boolean} isEmojiPickerLarge\n * @returns {Number}\n */\nconst getMaxArrowIndex = (numRows, isEmojiPickerLarge) => {\n // EmojiRowCount is number of emoji suggestions. For small screen we can fit 3 items and for large we show up to 5 items\n const emojiRowCount = isEmojiPickerLarge\n ? Math.max(numRows, CONST.EMOJI_SUGGESTER.MAX_AMOUNT_OF_ITEMS)\n : Math.max(numRows, CONST.EMOJI_SUGGESTER.MIN_AMOUNT_OF_ITEMS);\n\n // -1 because we start at 0\n return emojiRowCount - 1;\n};\n\nclass ReportActionCompose extends React.Component {\n constructor(props) {\n super(props);\n this.calculateEmojiSuggestion = _.debounce(this.calculateEmojiSuggestion, 10, false);\n this.updateComment = this.updateComment.bind(this);\n this.debouncedSaveReportComment = _.debounce(this.debouncedSaveReportComment.bind(this), 1000, false);\n this.debouncedBroadcastUserIsTyping = _.debounce(this.debouncedBroadcastUserIsTyping.bind(this), 100, true);\n this.triggerHotkeyActions = this.triggerHotkeyActions.bind(this);\n this.submitForm = this.submitForm.bind(this);\n this.setIsFocused = this.setIsFocused.bind(this);\n this.setIsFullComposerAvailable = this.setIsFullComposerAvailable.bind(this);\n this.focus = this.focus.bind(this);\n this.addEmojiToTextBox = this.addEmojiToTextBox.bind(this);\n this.onSelectionChange = this.onSelectionChange.bind(this);\n this.isEmojiCode = this.isEmojiCode.bind(this);\n this.setTextInputRef = this.setTextInputRef.bind(this);\n this.getInputPlaceholder = this.getInputPlaceholder.bind(this);\n this.getMoneyRequestOptions = this.getMoneyRequestOptions.bind(this);\n this.addAttachment = this.addAttachment.bind(this);\n this.insertSelectedEmoji = this.insertSelectedEmoji.bind(this);\n this.setExceededMaxCommentLength = this.setExceededMaxCommentLength.bind(this);\n this.updateNumberOfLines = this.updateNumberOfLines.bind(this);\n this.comment = props.comment;\n\n // React Native will retain focus on an input for native devices but web/mWeb behave differently so we have some focus management\n // code that will refocus the compose input after a user closes a modal or some other actions, see usage of ReportActionComposeFocusManager\n this.willBlurTextInputOnTapOutside = willBlurTextInputOnTapOutside();\n\n this.state = {\n isFocused: this.willBlurTextInputOnTapOutside && !this.props.modal.isVisible && !this.props.modal.willAlertModalBecomeVisible,\n isFullComposerAvailable: props.isComposerFullSize,\n textInputShouldClear: false,\n isCommentEmpty: props.comment.length === 0,\n isMenuVisible: false,\n isDraggingOver: false,\n selection: {\n start: props.comment.length,\n end: props.comment.length,\n },\n maxLines: props.isSmallScreenWidth ? CONST.COMPOSER.MAX_LINES_SMALL_SCREEN : CONST.COMPOSER.MAX_LINES,\n value: props.comment,\n\n // If we are on a small width device then don't show last 3 items from conciergePlaceholderOptions\n conciergePlaceholderRandomIndex: _.random(this.props.translate('reportActionCompose.conciergePlaceholderOptions').length - (this.props.isSmallScreenWidth ? 4 : 1)),\n suggestedEmojis: [],\n highlightedEmojiIndex: 0,\n colonIndex: -1,\n shouldShowSuggestionMenu: false,\n isEmojiPickerLarge: false,\n composerHeight: 0,\n hasExceededMaxCommentLength: false,\n };\n }\n\n componentDidMount() {\n // This callback is used in the contextMenuActions to manage giving focus back to the compose input.\n // TODO: we should clean up this convoluted code and instead move focus management to something like ReportFooter.js or another higher up component\n ReportActionComposeFocusManager.onComposerFocus(() => {\n if (!this.willBlurTextInputOnTapOutside || !this.props.isFocused) {\n return;\n }\n\n this.focus(false);\n });\n\n const shortcutConfig = CONST.KEYBOARD_SHORTCUTS.ESCAPE;\n this.unsubscribeEscapeKey = KeyboardShortcut.subscribe(shortcutConfig.shortcutKey, () => {\n if (!this.state.isFocused || this.comment.length === 0) {\n return;\n }\n\n this.updateComment('', true);\n }, shortcutConfig.descriptionKey, shortcutConfig.modifiers, true, true);\n\n this.setMaxLines();\n this.updateComment(this.comment);\n }\n\n componentDidUpdate(prevProps) {\n const sidebarOpened = !prevProps.isDrawerOpen && this.props.isDrawerOpen;\n if (sidebarOpened) {\n toggleReportActionComposeView(true);\n }\n\n // We want to focus or refocus the input when a modal has been closed and the underlying screen is focused.\n // We avoid doing this on native platforms since the software keyboard popping\n // open creates a jarring and broken UX.\n if (this.willBlurTextInputOnTapOutside && this.props.isFocused\n && prevProps.modal.isVisible && !this.props.modal.isVisible) {\n this.focus();\n }\n\n if (this.props.isComposerFullSize !== prevProps.isComposerFullSize) {\n this.setMaxLines();\n }\n\n // Value state does not have the same value as comment props when the comment gets changed from another tab.\n // In this case, we should synchronize the value between tabs.\n const shouldSyncComment = prevProps.comment !== this.props.comment && this.state.value !== this.props.comment;\n\n // As the report IDs change, make sure to update the composer comment as we need to make sure\n // we do not show incorrect data in there (ie. draft of message from other report).\n if (this.props.report.reportID === prevProps.report.reportID && !shouldSyncComment) {\n return;\n }\n\n this.updateComment(this.props.comment);\n }\n\n componentWillUnmount() {\n ReportActionComposeFocusManager.clear();\n\n if (this.unsubscribeEscapeKey) {\n this.unsubscribeEscapeKey();\n }\n }\n\n onSelectionChange(e) {\n this.setState({selection: e.nativeEvent.selection});\n this.calculateEmojiSuggestion();\n }\n\n /**\n * Updates the Highlight state of the composer\n *\n * @param {Boolean} shouldHighlight\n */\n setIsFocused(shouldHighlight) {\n this.setState({isFocused: shouldHighlight});\n }\n\n setIsFullComposerAvailable(isFullComposerAvailable) {\n this.setState({isFullComposerAvailable});\n }\n\n /**\n * Updates the should clear state of the composer\n *\n * @param {Boolean} shouldClear\n */\n setTextInputShouldClear(shouldClear) {\n this.setState({textInputShouldClear: shouldClear});\n }\n\n /**\n * Updates the visibility state of the menu\n *\n * @param {Boolean} isMenuVisible\n */\n setMenuVisibility(isMenuVisible) {\n this.setState({isMenuVisible});\n }\n\n /**\n * Set the TextInput Ref\n *\n * @param {Element} el\n * @memberof ReportActionCompose\n */\n setTextInputRef(el) {\n ReportActionComposeFocusManager.composerRef.current = el;\n this.textInput = el;\n }\n\n /**\n * Get the placeholder to display in the chat input.\n *\n * @return {String}\n */\n getInputPlaceholder() {\n if (ReportUtils.chatIncludesConcierge(this.props.report)) {\n if (User.isBlockedFromConcierge(this.props.blockedFromConcierge)) {\n return this.props.translate('reportActionCompose.blockedFromConcierge');\n }\n\n return this.props.translate('reportActionCompose.conciergePlaceholderOptions')[this.state.conciergePlaceholderRandomIndex];\n }\n\n return this.props.translate('reportActionCompose.writeSomething');\n }\n\n /**\n * Returns the list of IOU Options\n *\n * @param {Array} reportParticipants\n * @returns {Array}\n */\n getMoneyRequestOptions(reportParticipants) {\n const options = {\n [CONST.IOU.MONEY_REQUEST_TYPE.SPLIT]: {\n icon: Expensicons.Receipt,\n text: this.props.translate('iou.splitBill'),\n onSelected: () => Navigation.navigate(ROUTES.getIouSplitRoute(this.props.reportID)),\n },\n [CONST.IOU.MONEY_REQUEST_TYPE.REQUEST]: {\n icon: Expensicons.MoneyCircle,\n text: this.props.translate('iou.requestMoney'),\n onSelected: () => Navigation.navigate(ROUTES.getIouRequestRoute(this.props.reportID)),\n },\n [CONST.IOU.MONEY_REQUEST_TYPE.SEND]: {\n icon: Expensicons.Send,\n text: this.props.translate('iou.sendMoney'),\n onSelected: () => Navigation.navigate(ROUTES.getIOUSendRoute(this.props.reportID)),\n },\n };\n return _.map(ReportUtils.getMoneyRequestOptions(this.props.report, reportParticipants, this.props.betas), option => options[option]);\n }\n\n /**\n * Updates the composer when the comment length is exceeded\n * Shows red borders and prevents the comment from being sent\n *\n * @param {Boolean} hasExceededMaxCommentLength\n */\n setExceededMaxCommentLength(hasExceededMaxCommentLength) {\n this.setState({hasExceededMaxCommentLength});\n }\n\n /**\n * Set the maximum number of lines for the composer\n */\n setMaxLines() {\n let maxLines = this.props.isSmallScreenWidth ? CONST.COMPOSER.MAX_LINES_SMALL_SCREEN : CONST.COMPOSER.MAX_LINES;\n if (this.props.isComposerFullSize) {\n maxLines = CONST.COMPOSER.MAX_LINES_FULL;\n }\n this.setState({maxLines});\n }\n\n // eslint-disable-next-line rulesdir/prefer-early-return\n setShouldShowSuggestionMenuToFalse() {\n if (this.state && this.state.shouldShowSuggestionMenu) {\n this.setState({shouldShowSuggestionMenu: false});\n }\n }\n\n /**\n * Clean data related to EmojiSuggestions\n */\n resetSuggestedEmojis() {\n this.setState({\n suggestedEmojis: [],\n shouldShowSuggestionMenu: false,\n });\n }\n\n /**\n * Calculates and cares about the content of an Emoji Suggester\n */\n calculateEmojiSuggestion() {\n const leftString = this.state.value.substring(0, this.state.selection.end);\n const colonIndex = leftString.lastIndexOf(':');\n const isCurrentlyShowingEmojiSuggestion = this.isEmojiCode(this.state.value, this.state.selection.end);\n\n // the larger composerHeight the less space for EmojiPicker, Pixel 2 has pretty small screen and this value equal 5.3\n const hasEnoughSpaceForLargeSuggestion = this.props.windowHeight / this.state.composerHeight >= 6.8;\n const isEmojiPickerLarge = !this.props.isSmallScreenWidth || (this.props.isSmallScreenWidth && hasEnoughSpaceForLargeSuggestion);\n\n const nextState = {\n suggestedEmojis: [],\n highlightedEmojiIndex: 0,\n colonIndex,\n shouldShowSuggestionMenu: false,\n isEmojiPickerLarge,\n };\n const newSuggestedEmojis = EmojiUtils.suggestEmojis(leftString);\n\n if (newSuggestedEmojis.length && isCurrentlyShowingEmojiSuggestion) {\n nextState.suggestedEmojis = newSuggestedEmojis;\n nextState.shouldShowSuggestionMenu = !_.isEmpty(newSuggestedEmojis);\n }\n\n LayoutAnimation.configureNext(LayoutAnimation.create(50, LayoutAnimation.Types.easeInEaseOut, LayoutAnimation.Properties.opacity));\n\n this.setState(nextState);\n }\n\n /**\n * Check if this piece of string looks like an emoji\n * @param {String} str\n * @param {Number} pos\n * @returns {Boolean}\n */\n isEmojiCode(str, pos) {\n const leftWords = str.slice(0, pos).split(CONST.REGEX.NEW_LINE_OR_WHITE_SPACE);\n const leftWord = _.last(leftWords);\n\n return CONST.REGEX.HAS_COLON_ONLY_AT_THE_BEGINNING.test(leftWord) && leftWord.length > 2;\n }\n\n /**\n * Replace the code of emoji and update selection\n * @param {Number} highlightedEmojiIndex\n */\n insertSelectedEmoji(highlightedEmojiIndex) {\n const commentBeforeColon = this.state.value.slice(0, this.state.colonIndex);\n const emojiObject = this.state.suggestedEmojis[highlightedEmojiIndex];\n const emojiCode = emojiObject.types && emojiObject.types[this.props.preferredSkinTone] ? emojiObject.types[this.props.preferredSkinTone] : emojiObject.code;\n const commentAfterColonWithEmojiNameRemoved = this.state.value.slice(this.state.selection.end).replace(CONST.REGEX.EMOJI_REPLACER, CONST.SPACE);\n\n this.updateComment(`${commentBeforeColon}${emojiCode} ${commentAfterColonWithEmojiNameRemoved}`, true);\n this.setState(prevState => ({\n selection: {\n start: prevState.colonIndex + emojiCode.length + CONST.SPACE_LENGTH,\n end: prevState.colonIndex + emojiCode.length + CONST.SPACE_LENGTH,\n },\n suggestedEmojis: [],\n }));\n EmojiUtils.addToFrequentlyUsedEmojis(this.props.frequentlyUsedEmojis, emojiObject);\n }\n\n isEmptyChat() {\n return _.size(this.props.reportActions) === 1;\n }\n\n /**\n * Callback for the emoji picker to add whatever emoji is chosen into the main input\n *\n * @param {String} emoji\n */\n addEmojiToTextBox(emoji) {\n const emojiWithSpace = `${emoji} `;\n const newComment = this.comment.slice(0, this.state.selection.start)\n + emojiWithSpace\n + this.comment.slice(this.state.selection.end, this.comment.length);\n this.setState(prevState => ({\n selection: {\n start: prevState.selection.start + emojiWithSpace.length,\n end: prevState.selection.start + emojiWithSpace.length,\n },\n }));\n this.updateComment(newComment);\n }\n\n /**\n * Focus the composer text input\n * @param {Boolean} [shouldelay=false] Impose delay before focusing the composer\n * @memberof ReportActionCompose\n */\n focus(shouldelay = false) {\n // There could be other animations running while we trigger manual focus.\n // This prevents focus from making those animations janky.\n InteractionManager.runAfterInteractions(() => {\n if (!this.textInput) {\n return;\n }\n\n if (!shouldelay) {\n this.textInput.focus();\n } else {\n // Keyboard is not opened after Emoji Picker is closed\n // SetTimeout is used as a workaround\n // https://github.com/react-native-modal/react-native-modal/issues/114\n // We carefully choose a delay. 100ms is found enough for keyboard to open.\n setTimeout(() => this.textInput.focus(), 100);\n }\n });\n }\n\n /**\n * Save our report comment in Onyx. We debounce this method in the constructor so that it's not called too often\n * to update Onyx and re-render this component.\n *\n * @param {String} comment\n */\n debouncedSaveReportComment(comment) {\n Report.saveReportComment(this.props.reportID, comment || '');\n }\n\n /**\n * Broadcast that the user is typing. We debounce this method in the constructor to limit how often we publish\n * client events.\n */\n debouncedBroadcastUserIsTyping() {\n Report.broadcastUserIsTyping(this.props.reportID);\n }\n\n /**\n * Update the value of the comment in Onyx\n *\n * @param {String} comment\n * @param {Boolean} shouldDebounceSaveComment\n */\n updateComment(comment, shouldDebounceSaveComment) {\n const newComment = EmojiUtils.replaceEmojis(comment, this.props.isSmallScreenWidth, this.props.preferredSkinTone);\n this.setState((prevState) => {\n const newState = {\n isCommentEmpty: !!newComment.match(/^(\\s)*$/),\n value: newComment,\n };\n if (comment !== newComment) {\n const remainder = prevState.value.slice(prevState.selection.end).length;\n newState.selection = {\n start: newComment.length - remainder,\n end: newComment.length - remainder,\n };\n }\n return newState;\n });\n\n // Indicate that draft has been created.\n if (this.comment.length === 0 && newComment.length !== 0) {\n Report.setReportWithDraft(this.props.reportID, true);\n }\n\n // The draft has been deleted.\n if (newComment.length === 0) {\n Report.setReportWithDraft(this.props.reportID, false);\n }\n\n this.comment = newComment;\n if (shouldDebounceSaveComment) {\n this.debouncedSaveReportComment(newComment);\n } else {\n Report.saveReportComment(this.props.reportID, newComment || '');\n }\n if (newComment) {\n this.debouncedBroadcastUserIsTyping();\n }\n }\n\n /**\n * Update the number of lines for a comment in Onyx\n * @param {Number} numberOfLines\n */\n updateNumberOfLines(numberOfLines) {\n Report.saveReportCommentNumberOfLines(this.props.reportID, numberOfLines);\n }\n\n /**\n * Listens for keyboard shortcuts and applies the action\n *\n * @param {Object} e\n */\n triggerHotkeyActions(e) {\n // Do not trigger actions for mobileWeb or native clients that have the keyboard open because for those devices, we want the return key to insert newlines rather than submit the form\n if (!e || this.props.isSmallScreenWidth || this.props.isKeyboardShown) {\n return;\n }\n\n if ((e.key === CONST.KEYBOARD_SHORTCUTS.ENTER.shortcutKey || e.key === CONST.KEYBOARD_SHORTCUTS.TAB.shortcutKey) && this.state.suggestedEmojis.length) {\n e.preventDefault();\n this.insertSelectedEmoji(this.state.highlightedEmojiIndex);\n return;\n }\n if (e.key === CONST.KEYBOARD_SHORTCUTS.ESCAPE.shortcutKey && this.state.suggestedEmojis.length) {\n e.preventDefault();\n this.resetSuggestedEmojis();\n return;\n }\n\n // Submit the form when Enter is pressed\n if (e.key === CONST.KEYBOARD_SHORTCUTS.ENTER.shortcutKey && !e.shiftKey) {\n e.preventDefault();\n this.submitForm();\n }\n\n // Trigger the edit box for last sent message if ArrowUp is pressed and the comment is empty and Chronos is not in the participants\n if (\n e.key === CONST.KEYBOARD_SHORTCUTS.ARROW_UP.shortcutKey && this.textInput.selectionStart === 0 && this.state.isCommentEmpty && !ReportUtils.chatIncludesChronos(this.props.report)\n ) {\n e.preventDefault();\n\n const lastReportAction = _.find(\n this.props.reportActions,\n action => ReportUtils.canEditReportAction(action),\n );\n\n if (lastReportAction !== -1 && lastReportAction) {\n Report.saveReportActionDraft(this.props.reportID, lastReportAction.reportActionID, _.last(lastReportAction.message).html);\n }\n }\n }\n\n /**\n * @returns {String}\n */\n prepareCommentAndResetComposer() {\n const trimmedComment = this.comment.trim();\n\n // Don't submit empty comments or comments that exceed the character limit\n if (this.state.isCommentEmpty || ReportUtils.getCommentLength(trimmedComment) > CONST.MAX_COMMENT_LENGTH) {\n return '';\n }\n\n this.updateComment('');\n this.setTextInputShouldClear(true);\n if (this.props.isComposerFullSize) {\n Report.setIsComposerFullSize(this.props.reportID, false);\n }\n this.setState({isFullComposerAvailable: false});\n\n return trimmedComment;\n }\n\n /**\n * @param {Object} file\n */\n addAttachment(file) {\n // Since we're submitting the form here which should clear the composer\n // We don't really care about saving the draft the user was typing\n // We need to make sure an empty draft gets saved instead\n this.debouncedSaveReportComment.cancel();\n const comment = this.prepareCommentAndResetComposer();\n Report.addAttachment(this.props.reportID, file, comment);\n this.setTextInputShouldClear(false);\n }\n\n /**\n * Add a new comment to this chat\n *\n * @param {SyntheticEvent} [e]\n */\n submitForm(e) {\n if (e) {\n e.preventDefault();\n }\n\n // Since we're submitting the form here which should clear the composer\n // We don't really care about saving the draft the user was typing\n // We need to make sure an empty draft gets saved instead\n this.debouncedSaveReportComment.cancel();\n\n const comment = this.prepareCommentAndResetComposer();\n if (!comment) {\n return;\n }\n\n this.props.onSubmit(comment);\n }\n\n render() {\n const reportParticipants = _.without(lodashGet(this.props.report, 'participants', []), this.props.currentUserPersonalDetails.login);\n const participantsWithoutExpensifyEmails = _.difference(reportParticipants, CONST.EXPENSIFY_EMAILS);\n const reportRecipient = this.props.personalDetails[participantsWithoutExpensifyEmails[0]];\n\n const shouldShowReportRecipientLocalTime = ReportUtils.canShowReportRecipientLocalTime(this.props.personalDetails, this.props.report)\n && !this.props.isComposerFullSize;\n\n // Prevents focusing and showing the keyboard while the drawer is covering the chat.\n const isComposeDisabled = this.props.isDrawerOpen && this.props.isSmallScreenWidth;\n const isBlockedFromConcierge = ReportUtils.chatIncludesConcierge(this.props.report) && User.isBlockedFromConcierge(this.props.blockedFromConcierge);\n const inputPlaceholder = this.getInputPlaceholder();\n const shouldUseFocusedColor = !isBlockedFromConcierge && !this.props.disabled && (this.state.isFocused || this.state.isDraggingOver);\n const hasExceededMaxCommentLength = this.state.hasExceededMaxCommentLength;\n\n return (\n \n \n {shouldShowReportRecipientLocalTime && }\n \n \n {({displayFileInModal}) => (\n <>\n \n {({openPicker}) => (\n <>\n \n {this.props.isComposerFullSize && (\n \n {\n e.preventDefault();\n this.setShouldShowSuggestionMenuToFalse();\n Report.setIsComposerFullSize(this.props.reportID, false);\n }}\n\n // Keep focus on the composer when Collapse button is clicked.\n onMouseDown={e => e.preventDefault()}\n style={styles.composerSizeButton}\n disabled={isBlockedFromConcierge || this.props.disabled}\n >\n \n \n \n\n )}\n {(!this.props.isComposerFullSize && this.state.isFullComposerAvailable) && (\n \n {\n e.preventDefault();\n this.setShouldShowSuggestionMenuToFalse();\n Report.setIsComposerFullSize(this.props.reportID, true);\n }}\n\n // Keep focus on the composer when Expand button is clicked.\n onMouseDown={e => e.preventDefault()}\n style={styles.composerSizeButton}\n disabled={isBlockedFromConcierge || this.props.disabled}\n >\n \n \n \n )}\n \n this.actionButton = el}\n onPress={(e) => {\n e.preventDefault();\n\n // Drop focus to avoid blue focus ring.\n this.actionButton.blur();\n this.setMenuVisibility(true);\n }}\n style={styles.composerSizeButton}\n disabled={isBlockedFromConcierge || this.props.disabled}\n >\n \n \n \n \n this.setMenuVisibility(false)}\n onItemSelected={() => this.setMenuVisibility(false)}\n anchorPosition={styles.createMenuPositionReportActionCompose}\n menuItems={[...this.getMoneyRequestOptions(reportParticipants),\n {\n icon: Expensicons.Paperclip,\n text: this.props.translate('reportActionCompose.addAttachment'),\n onSelected: () => {\n openPicker({\n onPicked: displayFileInModal,\n });\n },\n },\n ]}\n />\n \n )}\n \n \n {\n this.setState({isDraggingOver: true});\n }}\n onDragLeave={() => {\n this.setState({isDraggingOver: false});\n }}\n onDrop={(e) => {\n e.preventDefault();\n\n const file = lodashGet(e, ['dataTransfer', 'files', 0]);\n\n displayFileInModal(file);\n\n this.setState({isDraggingOver: false});\n }}\n disabled={this.props.disabled}\n >\n this.updateComment(comment, true)}\n onKeyPress={this.triggerHotkeyActions}\n style={[styles.textInputCompose, this.props.isComposerFullSize ? styles.textInputFullCompose : styles.flex4]}\n maxLines={this.state.maxLines}\n onFocus={() => this.setIsFocused(true)}\n onBlur={() => {\n this.setIsFocused(false);\n this.resetSuggestedEmojis();\n }}\n onPasteFile={displayFileInModal}\n shouldClear={this.state.textInputShouldClear}\n onClear={() => this.setTextInputShouldClear(false)}\n isDisabled={isComposeDisabled || isBlockedFromConcierge || this.props.disabled}\n selection={this.state.selection}\n onSelectionChange={this.onSelectionChange}\n isFullComposerAvailable={this.state.isFullComposerAvailable}\n setIsFullComposerAvailable={this.setIsFullComposerAvailable}\n isComposerFullSize={this.props.isComposerFullSize}\n value={this.state.value}\n numberOfLines={this.props.numberOfLines}\n onNumberOfLinesChange={this.updateNumberOfLines}\n onLayout={(e) => {\n const composerHeight = e.nativeEvent.layout.height;\n if (this.state.composerHeight === composerHeight) {\n return;\n }\n this.setState({composerHeight});\n }}\n onScroll={() => this.setShouldShowSuggestionMenuToFalse()}\n />\n \n \n \n )}\n \n {DeviceCapabilities.canUseTouchScreen() && this.props.isMediumScreenWidth ? null : (\n {\n this.focus(true);\n }}\n onEmojiSelected={this.addEmojiToTextBox}\n />\n )}\n e.preventDefault()}\n >\n \n \n \n \n \n \n \n \n {!this.props.isSmallScreenWidth && }\n \n \n \n \n {this.state.isDraggingOver && }\n {!_.isEmpty(this.state.suggestedEmojis) && this.state.shouldShowSuggestionMenu && (\n this.setState({highlightedEmojiIndex: index})}\n >\n this.setState({suggestedEmojis: []})}\n highlightedEmojiIndex={this.state.highlightedEmojiIndex}\n emojis={this.state.suggestedEmojis}\n comment={this.state.value}\n updateComment={newComment => this.setState({value: newComment})}\n colonIndex={this.state.colonIndex}\n prefix={this.state.value.slice(this.state.colonIndex + 1).split(' ')[0]}\n onSelect={this.insertSelectedEmoji}\n isComposerFullSize={this.props.isComposerFullSize}\n preferredSkinToneIndex={this.props.preferredSkinTone}\n isEmojiPickerLarge={this.state.isEmojiPickerLarge}\n composerHeight={this.state.composerHeight}\n shouldIncludeReportRecipientLocalTimeHeight={shouldShowReportRecipientLocalTime}\n />\n \n )}\n \n );\n }\n}\n\nReportActionCompose.propTypes = propTypes;\nReportActionCompose.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withDrawerState,\n withNavigationFocus,\n withLocalize,\n withNetwork(),\n withPersonalDetails(),\n withCurrentUserPersonalDetails,\n withKeyboardState,\n withOnyx({\n betas: {\n key: ONYXKEYS.BETAS,\n },\n comment: {\n key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT}${reportID}`,\n },\n numberOfLines: {\n key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_DRAFT_COMMENT_NUMBER_OF_LINES}${reportID}`,\n },\n modal: {\n key: ONYXKEYS.MODAL,\n },\n blockedFromConcierge: {\n key: ONYXKEYS.NVP_BLOCKED_FROM_CONCIERGE,\n },\n frequentlyUsedEmojis: {\n key: ONYXKEYS.FREQUENTLY_USED_EMOJIS,\n },\n preferredSkinTone: {\n key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,\n },\n }),\n)(ReportActionCompose);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport {withNetwork} from '../../../components/OnyxProvider';\nimport networkPropTypes from '../../../components/networkPropTypes';\nimport compose from '../../../libs/compose';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport styles from '../../../styles/styles';\nimport * as PersonalDetails from '../../../libs/actions/PersonalDetails';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport Text from '../../../components/Text';\nimport TextWithEllipsis from '../../../components/TextWithEllipsis';\n\nconst propTypes = {\n /** Key-value pairs of user logins and whether or not they are typing. Keys are logins. */\n userTypingStatuses: PropTypes.objectOf(PropTypes.bool),\n\n /** Information about the network */\n network: networkPropTypes.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n userTypingStatuses: {},\n};\n\nclass ReportTypingIndicator extends React.Component {\n constructor(props) {\n super(props);\n\n const usersTyping = props.userTypingStatuses\n ? _.filter(_.keys(props.userTypingStatuses), login => props.userTypingStatuses[login])\n : [];\n this.state = {usersTyping};\n }\n\n componentDidUpdate(prevProps) {\n // Make sure we only update the state if there's been a change in who's typing.\n if (_.isEqual(prevProps.userTypingStatuses, this.props.userTypingStatuses)) {\n return;\n }\n\n const usersTyping = _.filter(_.keys(this.props.userTypingStatuses), login => this.props.userTypingStatuses[login]);\n\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({usersTyping});\n }\n\n render() {\n const numUsersTyping = _.size(this.state.usersTyping);\n\n // If we are offline, the user typing statuses are not up-to-date so do not show them\n if (this.props.network.isOffline) {\n return null;\n }\n\n // Decide on the Text element that will hold the display based on the number of users that are typing.\n switch (numUsersTyping) {\n case 0:\n return null;\n\n case 1:\n return (\n \n );\n\n default:\n return (\n \n {this.props.translate('reportTypingIndicator.multipleUsers')}\n {` ${this.props.translate('reportTypingIndicator.areTyping')}`}\n \n );\n }\n }\n}\n\nReportTypingIndicator.propTypes = propTypes;\nReportTypingIndicator.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNetwork(),\n withOnyx({\n userTypingStatuses: {\n key: ({reportID}) => `${ONYXKEYS.COLLECTION.REPORT_USER_IS_TYPING}${reportID}`,\n },\n }),\n)(ReportTypingIndicator);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport Text from '../Text';\nimport styles from '../../styles/styles';\nimport stylePropTypes from '../../styles/stylePropTypes';\nimport * as StyleUtils from '../../styles/StyleUtils';\n\nconst propTypes = {\n /** Leading text before the ellipsis */\n leadingText: PropTypes.string.isRequired,\n\n /** Text after the ellipsis */\n trailingText: PropTypes.string.isRequired,\n\n /** Styles for leading and trailing text */\n textStyle: stylePropTypes,\n\n /** Styles for leading text View */\n leadingTextParentStyle: stylePropTypes,\n\n /** Styles for parent View */\n wrapperStyle: stylePropTypes,\n};\n\nconst defaultProps = {\n textStyle: {},\n leadingTextParentStyle: {},\n wrapperStyle: {},\n};\n\nconst TextWithEllipsis = props => (\n \n \n \n {props.leadingText}\n \n \n \n \n {props.trailingText}\n \n \n \n);\n\nTextWithEllipsis.propTypes = propTypes;\nTextWithEllipsis.defaultProps = defaultProps;\nTextWithEllipsis.displayName = 'TextWithEllipsis';\n\nexport default TextWithEllipsis;\n","export default () => false;\n","import React, {PureComponent} from 'react';\nimport {\n View,\n} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport Str from 'expensify-common/lib/str';\nimport styles from '../../../styles/styles';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport participantPropTypes from '../../../components/participantPropTypes';\nimport Text from '../../../components/Text';\nimport Timers from '../../../libs/Timers';\nimport CONST from '../../../CONST';\nimport DateUtils from '../../../libs/DateUtils';\n\nconst propTypes = {\n /** Personal details of the participant */\n participant: participantPropTypes.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nclass ParticipantLocalTime extends PureComponent {\n constructor(props) {\n super(props);\n this.getParticipantLocalTime = this.getParticipantLocalTime.bind(this);\n this.state = {\n localTime: this.getParticipantLocalTime(),\n };\n }\n\n componentDidMount() {\n this.timer = Timers.register(setInterval(() => {\n this.setState({\n localTime: this.getParticipantLocalTime(),\n });\n }, 1000));\n }\n\n componentWillUnmount() {\n clearInterval(this.timer);\n }\n\n getParticipantLocalTime() {\n const reportRecipientTimezone = lodashGet(this.props.participant, 'timezone', CONST.DEFAULT_TIME_ZONE);\n const reportTimezone = DateUtils.getLocalMomentFromDatetime(this.props.preferredLocale, null, reportRecipientTimezone.selected);\n const currentTimezone = DateUtils.getLocalMomentFromDatetime(this.props.preferredLocale);\n const reportRecipientDay = reportTimezone.format('dddd');\n const currentUserDay = currentTimezone.format('dddd');\n\n if (reportRecipientDay !== currentUserDay) {\n return `${reportTimezone.format('LT')} ${reportRecipientDay}`;\n }\n return `${reportTimezone.format('LT')}`;\n }\n\n render() {\n const reportRecipientDisplayName = this.props.participant.firstName\n || (Str.isSMSLogin(this.props.participant.login)\n ? this.props.toLocalPhone(this.props.participant.displayName)\n : this.props.participant.displayName);\n\n return (\n \n \n {this.props.translate(\n 'reportActionCompose.localTime',\n {\n user: reportRecipientDisplayName,\n time: this.state.localTime,\n },\n )}\n \n \n );\n }\n}\n\nParticipantLocalTime.propTypes = propTypes;\nexport default withLocalize(ParticipantLocalTime);\n","import React from 'react';\nimport {View} from 'react-native';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport styles from '../../../styles/styles';\nimport Text from '../../../components/Text';\nimport CONST from '../../../CONST';\nimport DropZone from '../../../components/DragAndDrop/DropZone';\nimport Icon from '../../../components/Icon';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\n\nconst propTypes = {\n ...withLocalizePropTypes,\n};\n\nconst ReportDropUI = props => (\n \n \n \n \n \n {props.translate('reportActionCompose.dropToUpload')}\n \n \n);\n\nReportDropUI.displayName = 'ReportDropUI';\nReportDropUI.propTypes = propTypes;\n\nexport default withLocalize(ReportDropUI);\n","const DropZone = props => props.children;\n\nDropZone.displayName = 'DropZone';\n\nexport default DropZone;\n","const DragAndDrop = props => props.children;\n\nDragAndDrop.displayName = 'DragAndDrop';\n\nexport default DragAndDrop;\n","import React from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\n\n// We take FlatList from this package to properly handle the scrolling of EmojiSuggestions in chats since one scroll is nested inside another\nimport {FlatList} from 'react-native-gesture-handler';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport * as EmojiUtils from '../libs/EmojiUtils';\nimport Text from './Text';\nimport CONST from '../CONST';\nimport getStyledTextArray from '../libs/GetStyledTextArray';\n\nconst propTypes = {\n /** The index of the highlighted emoji */\n highlightedEmojiIndex: PropTypes.number,\n\n /** Array of suggested emoji */\n emojis: PropTypes.arrayOf(PropTypes.shape({\n /** The emoji code */\n code: PropTypes.string,\n\n /** The name of the emoji */\n name: PropTypes.string,\n })).isRequired,\n\n /** Fired when the user selects an emoji */\n onSelect: PropTypes.func.isRequired,\n\n /** Emoji prefix that follows the colon */\n prefix: PropTypes.string.isRequired,\n\n /** Show that we can use large emoji picker.\n * Depending on available space and whether the input is expanded, we can have a small or large emoji suggester.\n * When this value is false, the suggester will have a height of 2.5 items. When this value is true, the height can be up to 5 items. */\n isEmojiPickerLarge: PropTypes.bool.isRequired,\n\n /** Show that we should include ReportRecipientLocalTime view height */\n shouldIncludeReportRecipientLocalTimeHeight: PropTypes.bool.isRequired,\n\n /** Stores user's preferred skin tone */\n preferredSkinToneIndex: PropTypes.number.isRequired,\n};\n\nconst defaultProps = {\n highlightedEmojiIndex: 0,\n};\n\n/**\n * @param {Number} numRows\n * @param {Boolean} isEmojiPickerLarge\n * @returns {Number}\n */\nconst measureHeightOfEmojiRows = (numRows, isEmojiPickerLarge) => {\n if (isEmojiPickerLarge) {\n return numRows * CONST.EMOJI_SUGGESTER.ITEM_HEIGHT;\n }\n if (numRows > 2) {\n // on small screens, we display a scrollable window with a height of 2.5 items, indicating that there are more items available beyond what is currently visible\n return CONST.EMOJI_SUGGESTER.SMALL_CONTAINER_HEIGHT_FACTOR * CONST.EMOJI_SUGGESTER.ITEM_HEIGHT;\n }\n return numRows * CONST.EMOJI_SUGGESTER.ITEM_HEIGHT;\n};\n\n/**\n * Create unique keys for each emoji item\n * @param {Object} item\n * @param {Number} index\n * @returns {String}\n */\nconst keyExtractor = (item, index) => `${item.name}+${index}}`;\n\nconst EmojiSuggestions = (props) => {\n /**\n * Render a suggestion menu item component.\n * @param {Object} params.item\n * @param {Number} params.index\n * @returns {JSX.Element}\n */\n const renderSuggestionMenuItem = ({item, index}) => {\n const styledTextArray = getStyledTextArray(item.name, props.prefix);\n\n return (\n StyleUtils.getEmojiSuggestionItemStyle(\n props.highlightedEmojiIndex,\n CONST.EMOJI_SUGGESTER.ITEM_HEIGHT,\n hovered,\n index,\n )}\n onMouseDown={e => e.preventDefault()}\n onPress={() => props.onSelect(index)}\n >\n \n {EmojiUtils.getEmojiCodeWithSkinColor(item, props.preferredSkinToneIndex)}\n \n :\n {_.map(styledTextArray, ({text, isColored}, i) => (\n \n {text}\n \n ))}\n :\n \n \n \n );\n };\n\n const rowHeight = measureHeightOfEmojiRows(\n props.emojis.length,\n props.isEmojiPickerLarge,\n );\n\n return (\n \n \n \n );\n};\n\nEmojiSuggestions.propTypes = propTypes;\nEmojiSuggestions.defaultProps = defaultProps;\nEmojiSuggestions.displayName = 'EmojiSuggestions';\n\nexport default EmojiSuggestions;\n","import Str from 'expensify-common/lib/str';\n\n/**\n * Render a suggestion menu item component.\n * @param {String} name\n * @param {String} prefix\n * @returns {Array}\n */\nconst getStyledTextArray = (name, prefix) => {\n const texts = [];\n const prefixLowercase = prefix.toLowerCase();\n const prefixLocation = name.search(Str.escapeForRegExp(prefixLowercase));\n\n if (prefixLocation === 0 && prefix.length === name.length) {\n texts.push({text: prefixLowercase, isColored: true});\n } else if (prefixLocation === 0 && prefix.length !== name.length) {\n texts.push(\n {text: name.slice(0, prefix.length), isColored: true},\n {text: name.slice(prefix.length), isColored: false},\n );\n } else if (prefixLocation > 0 && prefix.length !== name.length) {\n texts.push(\n {text: name.slice(0, prefixLocation), isColored: false},\n {\n text: name.slice(prefixLocation, prefixLocation + prefix.length),\n isColored: true,\n },\n {\n text: name.slice(prefixLocation + prefix.length),\n isColored: false,\n },\n );\n } else {\n texts.push({text: name, isColored: false});\n }\n return texts;\n};\n\nexport default getStyledTextArray;\n","import React, {PureComponent} from 'react';\nimport {PanResponder, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n children: PropTypes.element.isRequired,\n\n /** Callback to fire when the user swipes down on the child content */\n onSwipeDown: PropTypes.func.isRequired,\n};\n\nclass SwipeableView extends PureComponent {\n constructor(props) {\n super(props);\n\n const minimumPixelDistance = CONST.COMPOSER_MAX_HEIGHT;\n this.oldY = 0;\n this.panResponder = PanResponder.create({\n\n // The PanResponder gets focus only when the y-axis movement is over minimumPixelDistance\n // & swip direction is downwards\n onMoveShouldSetPanResponderCapture:\n (_event, gestureState) => {\n if ((gestureState.dy - this.oldY) > 0 && gestureState.dy > minimumPixelDistance) {\n return true;\n }\n this.oldY = gestureState.dy;\n },\n\n // Calls the callback when the swipe down is released; after the completion of the gesture\n onPanResponderRelease: this.props.onSwipeDown,\n });\n }\n\n render() {\n return (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n {this.props.children}\n \n );\n }\n}\n\nSwipeableView.propTypes = propTypes;\n\nexport default SwipeableView;\n","import lodashGet from 'lodash/get';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport CONST from '../CONST';\nimport Banner from './Banner';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\nimport compose from '../libs/compose';\nimport personalDetailsPropType from '../pages/personalDetailsPropType';\nimport ONYXKEYS from '../ONYXKEYS';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport reportPropTypes from '../pages/reportPropTypes';\nimport * as ReportActionsUtils from '../libs/ReportActionsUtils';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** The reason this report was archived */\n reportClosedAction: PropTypes.shape({\n /** Message attached to the report closed action */\n originalMessage: PropTypes.shape({\n /** The reason the report was closed */\n reason: PropTypes.string.isRequired,\n\n /** (For accountMerged reason only), the email of the previous owner of this report. */\n oldLogin: PropTypes.string,\n\n /** (For accountMerged reason only), the email of the account the previous owner was merged into */\n newLogin: PropTypes.string,\n }).isRequired,\n }),\n\n /** The archived report */\n report: reportPropTypes.isRequired,\n\n /** Personal details of all users */\n personalDetails: PropTypes.objectOf(personalDetailsPropType),\n\n /** The list of policies the user has access to. */\n policies: PropTypes.objectOf(PropTypes.shape({\n /** The name of the policy */\n name: PropTypes.string,\n })),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n reportClosedAction: {\n originalMessage: {\n reason: CONST.REPORT.ARCHIVE_REASON.DEFAULT,\n },\n },\n personalDetails: {},\n policies: {},\n};\n\nconst ArchivedReportFooter = (props) => {\n const archiveReason = lodashGet(props.reportClosedAction, 'originalMessage.reason', CONST.REPORT.ARCHIVE_REASON.DEFAULT);\n let displayName = lodashGet(props.personalDetails, `${props.report.ownerEmail}.displayName`, props.report.ownerEmail);\n\n let oldDisplayName;\n if (archiveReason === CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED) {\n const newLogin = props.reportClosedAction.originalMessage.newLogin;\n const oldLogin = props.reportClosedAction.originalMessage.oldLogin;\n displayName = lodashGet(props.personalDetails, `${newLogin}.displayName`, newLogin);\n oldDisplayName = lodashGet(props.personalDetails, `${oldLogin}.displayName`, oldLogin);\n }\n\n return (\n ${displayName}`,\n oldDisplayName: `${oldDisplayName}`,\n policyName: `${ReportUtils.getPolicyName(props.report, props.policies)}`,\n })}\n shouldRenderHTML={archiveReason !== CONST.REPORT.ARCHIVE_REASON.DEFAULT}\n shouldShowIcon\n />\n );\n};\n\nArchivedReportFooter.propTypes = propTypes;\nArchivedReportFooter.defaultProps = defaultProps;\nArchivedReportFooter.displayName = 'ArchivedReportFooter';\n\nexport default compose(\n withLocalize,\n withOnyx({\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n reportClosedAction: {\n key: ({report}) => `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.reportID}`,\n canEvict: false,\n selector: ReportActionsUtils.getLastClosedReportAction,\n },\n }),\n)(ArchivedReportFooter);\n","import React, {memo} from 'react';\nimport PropTypes from 'prop-types';\nimport {View, Pressable} from 'react-native';\nimport compose from '../libs/compose';\nimport Hoverable from './Hoverable';\nimport Icon from './Icon';\nimport * as Expensicons from './Icon/Expensicons';\nimport RenderHTML from './RenderHTML';\nimport Text from './Text';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport getButtonState from '../libs/getButtonState';\nimport Tooltip from './Tooltip';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst propTypes = {\n /** Text to display in the banner. */\n text: PropTypes.string.isRequired,\n\n /** Should this component render the left-aligned exclamation icon? */\n shouldShowIcon: PropTypes.bool,\n\n /** Should this component render a close button? */\n shouldShowCloseButton: PropTypes.bool,\n\n /** Should this component render the text as HTML? */\n shouldRenderHTML: PropTypes.bool,\n\n /** Callback called when the close button is pressed */\n onClose: PropTypes.func,\n\n /** Callback called when the message is pressed */\n onPress: PropTypes.func,\n\n /** Styles to be assigned to the Banner container */\n // eslint-disable-next-line react/forbid-prop-types\n containerStyles: PropTypes.arrayOf(PropTypes.object),\n\n /** Styles to be assigned to the Banner text */\n // eslint-disable-next-line react/forbid-prop-types\n textStyles: PropTypes.arrayOf(PropTypes.object),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n shouldRenderHTML: false,\n shouldShowIcon: false,\n shouldShowCloseButton: false,\n onClose: undefined,\n onPress: undefined,\n containerStyles: [],\n textStyles: [],\n};\n\nconst Banner = props => (\n \n {(isHovered) => {\n const isClickable = props.onClose || props.onPress;\n const shouldHighlight = isClickable && isHovered;\n return (\n \n \n {props.shouldShowIcon && (\n \n \n \n )}\n {\n props.shouldRenderHTML\n ? \n : {props.text}\n }\n \n {props.shouldShowCloseButton && (\n \n \n \n \n \n )}\n \n );\n }}\n \n);\n\nBanner.propTypes = propTypes;\nBanner.defaultProps = defaultProps;\nBanner.displayName = 'Banner';\n\nexport default compose(\n withLocalize,\n memo,\n)(Banner);\n","import React from 'react';\nimport {Pressable, View} from 'react-native';\nimport {Rect, Circle} from 'react-native-svg';\nimport SkeletonViewContentLoader from 'react-content-loader/native';\nimport PropTypes from 'prop-types';\nimport styles from '../styles/styles';\nimport Icon from './Icon';\nimport * as Expensicons from './Icon/Expensicons';\nimport withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimensions';\nimport variables from '../styles/variables';\nimport themeColors from '../styles/themes/default';\n\nconst propTypes = {\n ...windowDimensionsPropTypes,\n shouldAnimate: PropTypes.bool,\n};\n\nconst defaultProps = {\n shouldAnimate: true,\n};\n\nconst ReportHeaderSkeletonView = props => (\n \n \n {props.isSmallScreenWidth && (\n {}}\n style={[styles.LHNToggle]}\n >\n \n \n )}\n \n \n \n \n \n \n \n);\n\nReportHeaderSkeletonView.propTypes = propTypes;\nReportHeaderSkeletonView.defaultProps = defaultProps;\nReportHeaderSkeletonView.displayName = 'ReportHeaderSkeletonView';\nexport default withWindowDimensions(ReportHeaderSkeletonView);\n","import React from 'react';\nimport {Dimensions, Keyboard} from 'react-native';\nimport _ from 'underscore';\nimport EmojiPickerMenu from './EmojiPickerMenu';\nimport CONST from '../../CONST';\nimport PopoverWithMeasuredContent from '../PopoverWithMeasuredContent';\n\nconst DEFAULT_ANCHOR_ORIGIN = {\n horizontal: CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.RIGHT,\n vertical: CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.BOTTOM,\n};\n\nclass EmojiPicker extends React.Component {\n constructor(props) {\n super(props);\n\n this.hideEmojiPicker = this.hideEmojiPicker.bind(this);\n this.showEmojiPicker = this.showEmojiPicker.bind(this);\n this.selectEmoji = this.selectEmoji.bind(this);\n this.measureEmojiPopoverAnchorPosition = this.measureEmojiPopoverAnchorPosition.bind(this);\n this.measureEmojiPopoverAnchorPositionAndUpdateState = this.measureEmojiPopoverAnchorPositionAndUpdateState.bind(this);\n this.focusEmojiSearchInput = this.focusEmojiSearchInput.bind(this);\n this.measureContent = this.measureContent.bind(this);\n this.onModalHide = () => {};\n this.onEmojiSelected = () => {};\n\n this.state = {\n isEmojiPickerVisible: false,\n\n // The horizontal and vertical position (relative to the window) where the emoji popover will display.\n emojiPopoverAnchorPosition: {\n horizontal: 0,\n vertical: 0,\n },\n\n emojiPopoverAnchorOrigin: DEFAULT_ANCHOR_ORIGIN,\n };\n }\n\n componentDidMount() {\n this.emojiPopoverDimensionListener = Dimensions.addEventListener('change', this.measureEmojiPopoverAnchorPositionAndUpdateState);\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (prevState.isEmojiPickerVisible === this.state.isEmojiPickerVisible || !this.state.isEmojiPickerVisible) {\n return;\n }\n\n // Dismiss the keyboard to provide a focus for the emoji picker to avoid selection issues.\n Keyboard.dismiss();\n }\n\n componentWillUnmount() {\n if (!this.emojiPopoverDimensionListener) {\n return;\n }\n this.emojiPopoverDimensionListener.remove();\n }\n\n /**\n * Callback for the emoji picker to add whatever emoji is chosen into the main input\n *\n * @param {String} emoji\n * @param {Object} emojiObject\n */\n selectEmoji(emoji, emojiObject) {\n // Prevent fast click / multiple emoji selection;\n // The first click will hide the emoji picker by calling the hideEmojiPicker() function\n // and in that function the emojiPopoverAnchor prop to will be set to null (synchronously)\n // thus we rely on that prop to prevent fast click / multiple emoji selection\n if (!this.emojiPopoverAnchor) {\n return;\n }\n\n this.hideEmojiPicker();\n if (_.isFunction(this.onEmojiSelected)) {\n this.onEmojiSelected(emoji, emojiObject);\n }\n }\n\n /**\n * Hide the emoji picker menu.\n *\n * @param {Boolean} isNavigating\n */\n hideEmojiPicker(isNavigating) {\n if (isNavigating) { this.onModalHide = () => {}; }\n this.emojiPopoverAnchor = null;\n this.setState({isEmojiPickerVisible: false});\n }\n\n /**\n * Show the emoji picker menu.\n *\n * @param {Function} [onModalHide=() => {}] - Run a callback when Modal hides.\n * @param {Function} [onEmojiSelected=() => {}] - Run a callback when Emoji selected.\n * @param {Element} emojiPopoverAnchor - Element to which Popover is anchored\n * @param {Object} [anchorOrigin=DEFAULT_ANCHOR_ORIGIN] - Anchor origin for Popover\n * @param {Function} [onWillShow=() => {}] - Run a callback when Popover will show\n */\n showEmojiPicker(onModalHide, onEmojiSelected, emojiPopoverAnchor, anchorOrigin, onWillShow = () => {}) {\n this.onModalHide = onModalHide;\n this.onEmojiSelected = onEmojiSelected;\n this.emojiPopoverAnchor = emojiPopoverAnchor;\n\n if (this.emojiPopoverAnchor) {\n // Drop focus to avoid blue focus ring.\n emojiPopoverAnchor.blur();\n }\n\n this.measureEmojiPopoverAnchorPosition().then((emojiPopoverAnchorPosition) => {\n onWillShow();\n this.setState({isEmojiPickerVisible: true, emojiPopoverAnchorPosition, emojiPopoverAnchorOrigin: anchorOrigin || DEFAULT_ANCHOR_ORIGIN});\n });\n }\n\n measureEmojiPopoverAnchorPosition() {\n return new Promise((resolve) => {\n if (!this.emojiPopoverAnchor) {\n return resolve({horizontal: 0, vertical: 0});\n }\n this.emojiPopoverAnchor.measureInWindow((x, y, width) => resolve({horizontal: x + width, vertical: y}));\n });\n }\n\n measureEmojiPopoverAnchorPositionAndUpdateState() {\n this.measureEmojiPopoverAnchorPosition().then((emojiPopoverAnchorPosition) => {\n this.setState({emojiPopoverAnchorPosition});\n });\n }\n\n /**\n * Used to calculate the EmojiPicker Dimensions\n *\n * @returns {JSX}\n */\n measureContent() {\n return (\n this.emojiSearchInput = el}\n />\n );\n }\n\n /**\n * Focus the search input in the emoji picker.\n */\n focusEmojiSearchInput() {\n if (!this.emojiSearchInput) {\n return;\n }\n this.emojiSearchInput.focus();\n }\n\n render() {\n // There is no way to disable animations and they are really laggy, because there are so many\n // emojis. The best alternative is to set it to 1ms so it just \"pops\" in and out\n return (\n \n this.emojiSearchInput = el}\n />\n \n );\n }\n}\n\nexport default EmojiPicker;\n","import React, {Component} from 'react';\nimport {View, findNodeHandle} from 'react-native';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport _ from 'underscore';\nimport Animated, {runOnUI, _scrollTo} from 'react-native-reanimated';\nimport compose from '../../../libs/compose';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../withWindowDimensions';\nimport CONST from '../../../CONST';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport styles from '../../../styles/styles';\nimport emojis from '../../../../assets/emojis';\nimport EmojiPickerMenuItem from '../EmojiPickerMenuItem';\nimport Text from '../../Text';\nimport withLocalize, {withLocalizePropTypes} from '../../withLocalize';\nimport EmojiSkinToneList from '../EmojiSkinToneList';\nimport * as EmojiUtils from '../../../libs/EmojiUtils';\nimport * as User from '../../../libs/actions/User';\nimport CategoryShortcutBar from '../CategoryShortcutBar';\n\nconst propTypes = {\n /** Function to add the selected emoji to the main compose text input */\n onEmojiSelected: PropTypes.func.isRequired,\n\n /** Stores user's preferred skin tone */\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /** User's frequently used emojis */\n frequentlyUsedEmojis: PropTypes.arrayOf(PropTypes.shape({\n code: PropTypes.string.isRequired,\n keywords: PropTypes.arrayOf(PropTypes.string),\n })),\n\n /** Props related to the dimensions of the window */\n ...windowDimensionsPropTypes,\n\n /** Props related to translation */\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n preferredSkinTone: CONST.EMOJI_DEFAULT_SKIN_TONE,\n frequentlyUsedEmojis: [],\n};\n\nclass EmojiPickerMenu extends Component {\n constructor(props) {\n super(props);\n\n // Ref for emoji FlatList\n this.emojiList = undefined;\n\n this.emojis = EmojiUtils.mergeEmojisWithFrequentlyUsedEmojis(emojis, this.props.frequentlyUsedEmojis);\n\n // Get the header emojis along with the code, index and icon.\n // index is the actual header index starting at the first emoji and counting each one\n this.headerEmojis = EmojiUtils.getHeaderEmojis(this.emojis);\n\n // This is the indices of each header's Row\n // The positions are static, and are calculated as index/numColumns (8 in our case)\n // This is because each row of 8 emojis counts as one index to the flatlist\n this.headerRowIndices = _.map(this.headerEmojis, headerEmoji => Math.floor(headerEmoji.index / CONST.EMOJI_NUM_PER_ROW));\n\n this.renderItem = this.renderItem.bind(this);\n this.isMobileLandscape = this.isMobileLandscape.bind(this);\n this.updatePreferredSkinTone = this.updatePreferredSkinTone.bind(this);\n this.scrollToHeader = this.scrollToHeader.bind(this);\n this.getItemLayout = this.getItemLayout.bind(this);\n }\n\n getItemLayout(data, index) {\n return {length: CONST.EMOJI_PICKER_ITEM_HEIGHT, offset: CONST.EMOJI_PICKER_ITEM_HEIGHT * index, index};\n }\n\n /**\n * @param {String} emoji\n * @param {Object} emojiObject\n */\n addToFrequentAndSelectEmoji(emoji, emojiObject) {\n EmojiUtils.addToFrequentlyUsedEmojis(this.props.frequentlyUsedEmojis, emojiObject);\n this.props.onEmojiSelected(emoji, emojiObject);\n }\n\n /**\n * Check if its a landscape mode of mobile device\n *\n * @returns {Boolean}\n */\n isMobileLandscape() {\n return this.props.windowWidth >= this.props.windowHeight;\n }\n\n /**\n * @param {Number} skinTone\n */\n updatePreferredSkinTone(skinTone) {\n if (this.props.preferredSkinTone === skinTone) {\n return;\n }\n\n User.updatePreferredSkinTone(skinTone);\n }\n\n scrollToHeader(headerIndex) {\n const calculatedOffset = Math.floor(headerIndex / CONST.EMOJI_NUM_PER_ROW) * CONST.EMOJI_PICKER_HEADER_HEIGHT;\n this.emojiList.flashScrollIndicators();\n const node = findNodeHandle(this.emojiList);\n runOnUI(() => {\n 'worklet';\n\n _scrollTo(node, 0, calculatedOffset, true);\n })();\n }\n\n /**\n * Given an emoji item object, render a component based on its type.\n * Items with the code \"SPACER\" return nothing and are used to fill rows up to 8\n * so that the sticky headers function properly\n *\n * @param {Object} item\n * @returns {*}\n */\n renderItem({item}) {\n const {code, types} = item;\n if (item.spacer) {\n return null;\n }\n\n if (item.header) {\n return (\n \n \n {this.props.translate(`emojiPicker.headers.${item.code}`)}\n \n \n );\n }\n\n const emojiCode = types && types[this.props.preferredSkinTone]\n ? types[this.props.preferredSkinTone]\n : code;\n\n return (\n this.addToFrequentAndSelectEmoji(emoji, item)}\n emoji={emojiCode}\n />\n );\n }\n\n render() {\n return (\n \n \n \n \n this.emojiList = el}\n data={this.emojis}\n renderItem={this.renderItem}\n keyExtractor={item => (`emoji_picker_${item.code}`)}\n numColumns={CONST.EMOJI_NUM_PER_ROW}\n style={[\n styles.emojiPickerList,\n this.isMobileLandscape() && styles.emojiPickerListLandscape,\n ]}\n stickyHeaderIndices={this.headerRowIndices}\n getItemLayout={this.getItemLayout}\n showsVerticalScrollIndicator\n />\n \n \n );\n }\n}\n\nEmojiPickerMenu.propTypes = propTypes;\nEmojiPickerMenu.defaultProps = defaultProps;\n\nexport default compose(\n withWindowDimensions,\n withLocalize,\n withOnyx({\n preferredSkinTone: {\n key: ONYXKEYS.PREFERRED_EMOJI_SKIN_TONE,\n },\n frequentlyUsedEmojis: {\n key: ONYXKEYS.FREQUENTLY_USED_EMOJIS,\n },\n }),\n)(React.forwardRef((props, ref) => (\n // eslint-disable-next-line react/jsx-props-no-spreading\n \n)));\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {Pressable} from 'react-native';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport getButtonState from '../../libs/getButtonState';\nimport Text from '../Text';\n\nconst propTypes = {\n /** The unicode that is used to display the emoji */\n emoji: PropTypes.string.isRequired,\n\n /** The function to call when an emoji is selected */\n onPress: PropTypes.func.isRequired,\n\n /** Handles what to do when we hover over this item with our cursor */\n onHoverIn: PropTypes.func,\n\n /** Handles what to do when the hover is out */\n onHoverOut: PropTypes.func,\n\n /** Handles what to do when the pressable is focused */\n onFocus: PropTypes.func,\n\n /** Handles what to do when the pressable is blurred */\n onBlur: PropTypes.func,\n\n /** Whether this menu item is currently highlighted or not */\n isHighlighted: PropTypes.bool,\n\n /** Whether this menu item is currently focused or not */\n isFocused: PropTypes.bool,\n\n /** Whether the emoji is highlighted by the keyboard/mouse */\n isUsingKeyboardMovement: PropTypes.bool,\n};\n\nclass EmojiPickerMenuItem extends PureComponent {\n constructor(props) {\n super(props);\n\n this.ref = null;\n }\n\n componentDidMount() {\n if (!this.props.isFocused) {\n return;\n }\n this.ref.focus();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.isFocused === this.props.isFocused) {\n return;\n }\n if (!this.props.isFocused) {\n return;\n }\n this.ref.focus();\n }\n\n render() {\n return (\n this.props.onPress(this.props.emoji)}\n onHoverIn={this.props.onHoverIn}\n onHoverOut={this.props.onHoverOut}\n onFocus={this.props.onFocus}\n onBlur={this.props.onBlur}\n ref={ref => this.ref = ref}\n style={({\n pressed,\n }) => ([\n StyleUtils.getButtonBackgroundColorStyle(getButtonState(false, pressed)),\n this.props.isHighlighted && this.props.isUsingKeyboardMovement ? styles.emojiItemKeyboardHighlighted : {},\n this.props.isHighlighted && !this.props.isUsingKeyboardMovement ? styles.emojiItemHighlighted : {},\n styles.emojiItem,\n ])}\n >\n \n {this.props.emoji}\n \n \n );\n }\n}\n\nEmojiPickerMenuItem.propTypes = propTypes;\nEmojiPickerMenuItem.defaultProps = {\n isHighlighted: false,\n isFocused: false,\n isUsingKeyboardMovement: false,\n onHoverIn: () => {},\n onHoverOut: () => {},\n onFocus: () => {},\n onBlur: () => {},\n};\n\n// Significantly speeds up re-renders of the EmojiPickerMenu's FlatList\n// by only re-rendering at most two EmojiPickerMenuItems that are highlighted/un-highlighted per user action.\nexport default React.memo(\n EmojiPickerMenuItem,\n (prevProps, nextProps) => prevProps.isHighlighted === nextProps.isHighlighted\n && prevProps.emoji === nextProps.emoji\n && prevProps.isUsingKeyboardMovement === nextProps.isUsingKeyboardMovement,\n);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport {View, Pressable} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport * as Emojis from '../../../assets/emojis';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport Text from '../Text';\nimport EmojiPickerMenuItem from './EmojiPickerMenuItem';\nimport getSkinToneEmojiFromIndex from './getSkinToneEmojiFromIndex';\n\nconst propTypes = {\n\n /** Stores user's preferred skin tone */\n preferredSkinTone: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,\n\n /** Function to sync the selected skin tone with parent, onyx and nvp */\n updatePreferredSkinTone: PropTypes.func.isRequired,\n\n /** Props related to translation */\n ...withLocalizePropTypes,\n};\n\nclass EmojiSkinToneList extends Component {\n constructor(props) {\n super(props);\n\n this.updateSelectedSkinTone = this.updateSelectedSkinTone.bind(this);\n\n this.state = {\n highlightedIndex: -1,\n isSkinToneListVisible: false,\n };\n }\n\n componentDidMount() {\n // Get the selected skinToneEmoji based on the index\n const selectedEmoji = getSkinToneEmojiFromIndex(this.props.preferredSkinTone);\n this.setState({highlightedIndex: selectedEmoji.skinTone});\n }\n\n componentDidUpdate(prevProps) {\n // Update the highlighted skin tone only if the selected one changes\n if (prevProps.preferredSkinTone === this.props.preferredSkinTone) {\n return;\n }\n\n const selectedEmoji = getSkinToneEmojiFromIndex(this.props.preferredSkinTone);\n this.setState({highlightedIndex: selectedEmoji.skinTone});\n }\n\n /**\n * Pass the skinTone to props and hide the picker\n * @param {object} skinToneEmoji\n */\n updateSelectedSkinTone(skinToneEmoji) {\n this.setState(prev => ({isSkinToneListVisible: !prev.isSkinToneListVisible, highlightedIndex: skinToneEmoji.skinTone}));\n this.props.updatePreferredSkinTone(skinToneEmoji.skinTone);\n }\n\n render() {\n const selectedEmoji = getSkinToneEmojiFromIndex(this.props.preferredSkinTone);\n return (\n \n {\n !this.state.isSkinToneListVisible && (\n this.setState(prev => ({isSkinToneListVisible: !prev.isSkinToneListVisible}))\n }\n style={[\n styles.flex1,\n styles.flexRow,\n styles.alignSelfCenter,\n styles.justifyContentStart,\n styles.alignItemsCenter,\n ]}\n >\n \n \n {selectedEmoji.code}\n \n \n \n {this.props.translate('emojiPicker.skinTonePickerLabel')}\n \n \n )\n }\n {\n this.state.isSkinToneListVisible && (\n\n \n {\n _.map(Emojis.skinTones, skinToneEmoji => (\n this.updateSelectedSkinTone(skinToneEmoji)}\n onHoverIn={() => this.setState({highlightedIndex: skinToneEmoji.skinTone})}\n onHoverOut={() => this.setState({highlightedIndex: selectedEmoji.skinTone})}\n key={skinToneEmoji.code}\n emoji={skinToneEmoji.code}\n isHighlighted={skinToneEmoji.skinTone === this.state.highlightedIndex || skinToneEmoji.skinTone === selectedEmoji.skinTone}\n />\n ))\n }\n \n )\n }\n \n );\n }\n}\n\nEmojiSkinToneList.propTypes = propTypes;\n\nexport default withLocalize(EmojiSkinToneList);\n","import _ from 'underscore';\nimport * as Emojis from '../../../assets/emojis';\n\n/**\n * Fetch the emoji code of selected skinTone\n * @param {Number} skinToneIndex\n * @returns {String}\n */\nfunction getSkinToneEmojiFromIndex(skinToneIndex) {\n return _.find(Emojis.skinTones, emoji => emoji.skinTone === skinToneIndex) || Emojis.skinTones[0];\n}\n\nexport default getSkinToneEmojiFromIndex;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport _ from 'underscore';\nimport styles from '../../styles/styles';\nimport CategoryShortcutButton from './CategoryShortcutButton';\n\nconst propTypes = {\n /** The function to call when an emoji is selected */\n onPress: PropTypes.func.isRequired,\n\n /** The emojis consisting emoji code and indices that the icons should link to */\n headerEmojis: PropTypes.arrayOf(PropTypes.shape({\n code: PropTypes.string.isRequired,\n index: PropTypes.number.isRequired,\n icon: PropTypes.func.isRequired,\n })).isRequired,\n};\n\nconst CategoryShortcutBar = props => (\n \n {_.map(props.headerEmojis, (headerEmoji, i) => (\n props.onPress(headerEmoji.index)}\n key={`categoryShortcut${i}`}\n code={headerEmoji.code}\n />\n ))}\n \n);\n\nCategoryShortcutBar.propTypes = propTypes;\nCategoryShortcutBar.displayName = 'CategoryShortcutBar';\n\nexport default CategoryShortcutBar;\n","import React, {PureComponent} from 'react';\nimport PropTypes from 'prop-types';\nimport {Pressable} from 'react-native';\nimport Icon from '../Icon';\nimport Tooltip from '../Tooltip';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport variables from '../../styles/variables';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport getButtonState from '../../libs/getButtonState';\nimport themeColors from '../../styles/themes/default';\n\nconst propTypes = {\n /** The emoji code of the category header */\n code: PropTypes.string.isRequired,\n\n /** The icon representation of the category that this button links to */\n icon: PropTypes.func.isRequired,\n\n /** The function to call when an emoji is selected */\n onPress: PropTypes.func.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nclass CategoryShortcutButton extends PureComponent {\n constructor(props) {\n super(props);\n this.state = {\n isHighlighted: false,\n };\n }\n\n render() {\n return (\n this.setState({isHighlighted: true})}\n onHoverOut={() => this.setState({isHighlighted: false})}\n style={({pressed}) => ([\n StyleUtils.getButtonBackgroundColorStyle(getButtonState(false, pressed)),\n styles.categoryShortcutButton,\n this.state.isHighlighted && styles.emojiItemHighlighted,\n ])}\n >\n \n \n \n \n );\n }\n}\nCategoryShortcutButton.propTypes = propTypes;\n\nexport default withLocalize(CategoryShortcutButton);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {View} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport Popover from './Popover';\nimport {propTypes as popoverPropTypes, defaultProps as defaultPopoverProps} from './Popover/popoverPropTypes';\nimport withWindowDimensions, {windowDimensionsPropTypes} from './withWindowDimensions';\nimport CONST from '../CONST';\nimport styles from '../styles/styles';\nimport {computeHorizontalShift, computeVerticalShift} from '../styles/getPopoverWithMeasuredContentStyles';\n\nconst propTypes = {\n // All popover props except:\n // 1) anchorPosition (which is overridden for this component)\n ...(_.omit(popoverPropTypes, ['anchorPosition'])),\n\n /** The horizontal and vertical anchors points for the popover */\n anchorPosition: PropTypes.shape({\n horizontal: PropTypes.number.isRequired,\n vertical: PropTypes.number.isRequired,\n }).isRequired,\n\n /** Where the popover should be positioned relative to the anchor points. */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(_.values(CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL)),\n vertical: PropTypes.oneOf(_.values(CONST.MODAL.ANCHOR_ORIGIN_VERTICAL)),\n }),\n\n /** A function with content to measure. This component will use this.props.children by default,\n but in the case the children are not displayed, the measurement will not work. */\n measureContent: PropTypes.func.isRequired,\n\n /** Static dimensions for the popover.\n * Note: When passed, it will skip dimensions measuring of the popover, and provided dimensions will be used to calculate the anchor position.\n */\n popoverDimensions: PropTypes.shape({\n height: PropTypes.number,\n width: PropTypes.number,\n }),\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n ...defaultPopoverProps,\n\n // Default positioning of the popover\n anchorOrigin: {\n horizontal: CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.LEFT,\n vertical: CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.BOTTOM,\n },\n popoverDimensions: {\n height: 0,\n width: 0,\n },\n};\n\n/**\n * This is a convenient wrapper around the regular Popover component that allows us to use a more sophisticated\n * positioning schema responsively (without having to provide a static width and height for the popover content).\n * This way, we can shift the position of popover so that the content is anchored where we want it relative to the\n * anchor position.\n */\nclass PopoverWithMeasuredContent extends Component {\n constructor(props) {\n super(props);\n\n this.popoverWidth = lodashGet(this.props, 'popoverDimensions.width', 0);\n this.popoverHeight = lodashGet(this.props, 'popoverDimensions.height', 0);\n\n this.state = {\n isContentMeasured: this.popoverWidth > 0 && this.popoverHeight > 0,\n isVisible: false,\n };\n\n this.measurePopover = this.measurePopover.bind(this);\n }\n\n /**\n * When Popover becomes visible, we need to recalculate the Dimensions.\n * Skip render on Popover until recalculations have done by setting isContentMeasured false as early as possible.\n *\n * @static\n * @param {Object} props\n * @param {Object} state\n * @return {Object|null}\n */\n static getDerivedStateFromProps(props, state) {\n // When Popover is shown recalculate\n if (!state.isVisible && props.isVisible) {\n return {isContentMeasured: lodashGet(props, 'popoverDimensions.width', 0) > 0 && lodashGet(props, 'popoverDimensions.height', 0) > 0, isVisible: true};\n }\n if (!props.isVisible) {\n return {isVisible: false};\n }\n return null;\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n if (this.props.isVisible\n && (nextProps.windowWidth !== this.props.windowWidth\n || nextProps.windowHeight !== this.props.windowHeight)) {\n return true;\n }\n\n // This component does not require re-render until any prop or state changes as we get the necessary info\n // at first render. This component is attached to each message on the Chat list thus we prevent its re-renders\n return !_.isEqual(\n _.omit(this.props, ['windowWidth', 'windowHeight']),\n _.omit(nextProps, ['windowWidth', 'windowHeight']),\n ) || !_.isEqual(this.state, nextState);\n }\n\n /**\n * Measure the size of the popover's content.\n *\n * @param {Object} nativeEvent\n */\n measurePopover({nativeEvent}) {\n this.popoverWidth = nativeEvent.layout.width;\n this.popoverHeight = nativeEvent.layout.height;\n this.setState({isContentMeasured: true});\n }\n\n /**\n * Calculate the adjusted position of the popover.\n *\n * @returns {Object}\n */\n calculateAdjustedAnchorPosition() {\n let horizontalConstraint;\n switch (this.props.anchorOrigin.horizontal) {\n case CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.RIGHT:\n horizontalConstraint = {left: this.props.anchorPosition.horizontal - this.popoverWidth};\n break;\n case CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.CENTER:\n horizontalConstraint = {\n left: Math.floor(this.props.anchorPosition.horizontal - (this.popoverWidth / 2)),\n };\n break;\n case CONST.MODAL.ANCHOR_ORIGIN_HORIZONTAL.LEFT:\n default:\n horizontalConstraint = {left: this.props.anchorPosition.horizontal};\n }\n\n let verticalConstraint;\n switch (this.props.anchorOrigin.vertical) {\n case CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.BOTTOM:\n verticalConstraint = {top: this.props.anchorPosition.vertical - this.popoverHeight};\n break;\n case CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.CENTER:\n verticalConstraint = {\n top: Math.floor(this.props.anchorPosition.vertical - (this.popoverHeight / 2)),\n };\n break;\n case CONST.MODAL.ANCHOR_ORIGIN_VERTICAL.TOP:\n default:\n verticalConstraint = {top: this.props.anchorPosition.vertical};\n }\n\n return {\n ...horizontalConstraint,\n ...verticalConstraint,\n };\n }\n\n render() {\n const adjustedAnchorPosition = this.calculateAdjustedAnchorPosition();\n const horizontalShift = computeHorizontalShift(\n adjustedAnchorPosition.left,\n this.popoverWidth,\n this.props.windowWidth,\n );\n const verticalShift = computeVerticalShift(\n adjustedAnchorPosition.top,\n this.popoverHeight,\n this.props.windowHeight,\n );\n const shifedAnchorPosition = {\n left: adjustedAnchorPosition.left + horizontalShift,\n top: adjustedAnchorPosition.top + verticalShift,\n };\n return this.state.isContentMeasured\n ? (\n \n {this.props.measureContent()}\n \n ) : (\n\n /*\n This is an invisible view used to measure the size of the popover,\n before it ever needs to be displayed.\n We do this because we need to know its dimensions in order to correctly animate the popover,\n but we can't measure its dimensions without first rendering it.\n */\n \n {this.props.children}\n \n );\n }\n}\n\nPopoverWithMeasuredContent.propTypes = propTypes;\nPopoverWithMeasuredContent.defaultProps = defaultProps;\n\nexport default withWindowDimensions(PopoverWithMeasuredContent);\n","import roundToNearestMultipleOfFour from './roundToNearestMultipleOfFour';\nimport variables from './variables';\n\n/**\n * Compute the amount that the Context menu's Anchor needs to be horizontally shifted\n * in order to keep it from displaying in the gutters.\n *\n * @param {Number} anchorLeftEdge - Menu's anchor Left edge.\n * @param {Number} menuWidth - The width of the menu itself.\n * @param {Number} windowWidth - The width of the Window.\n * @returns {Number}\n */\nfunction computeHorizontalShift(anchorLeftEdge, menuWidth, windowWidth) {\n const popoverRightEdge = anchorLeftEdge + menuWidth;\n if (anchorLeftEdge < variables.gutterWidth) {\n // Anchor is in left gutter, shift right by a multiple of four.\n return roundToNearestMultipleOfFour(variables.gutterWidth - anchorLeftEdge);\n }\n\n if (popoverRightEdge > (windowWidth - variables.gutterWidth)) {\n // Anchor is in right gutter, shift left by a multiple of four.\n return roundToNearestMultipleOfFour(windowWidth - variables.gutterWidth - popoverRightEdge);\n }\n\n // Anchor is not in the gutter, so no need to shift it horizontally\n return 0;\n}\n\n/**\n * Compute the amount that the Context menu's Anchor needs to be vertically shifted\n * in order to keep it from displaying in the window.\n *\n * @param {Number} anchorTopEdge - Menu's anchor Top edge.\n * @param {Number} menuHeight - The height of the menu itself.\n * @param {Number} windowHeight - The height of the Window.\n * @returns {Number}\n */\nfunction computeVerticalShift(anchorTopEdge, menuHeight, windowHeight) {\n const popoverBottomEdge = anchorTopEdge + menuHeight;\n\n if (anchorTopEdge < 0) {\n // Anchor is in top window Edge, shift bottom by a multiple of four.\n return roundToNearestMultipleOfFour(0 - anchorTopEdge);\n }\n\n if (popoverBottomEdge > windowHeight) {\n // Anchor is in Bottom window Edge, shift top by a multiple of four.\n return roundToNearestMultipleOfFour(windowHeight - popoverBottomEdge);\n }\n\n // Anchor is not in the gutter, so no need to shift it vertically\n return 0;\n}\n\nexport {\n computeHorizontalShift,\n computeVerticalShift,\n};\n","/**\n * This repo is very consistent about doing spacing in multiples of 4.\n * In an effort to maintain that consistency, we'll make sure that any distance we're shifting the components\n * are a multiple of 4.\n *\n * @param {Number} n\n * @returns {Number}\n */\nfunction roundToNearestMultipleOfFour(n) {\n if (n > 0) {\n return Math.ceil(n / 4.0) * 4;\n }\n\n if (n < 0) {\n return Math.floor(n / 4.0) * 4;\n }\n\n return 0;\n}\n\nexport default roundToNearestMultipleOfFour;\n","export { Portal } from './components/portal/Portal';\nexport { PortalHost } from './components/portalHost/PortalHost';\nexport { PortalProvider } from './components/portalProvider/PortalProvider';\nexport { usePortal } from './hooks/usePortal';\nexport { enableLogging } from './utilities/logger';\n","import { memo, useCallback, useEffect, useMemo, useRef } from 'react';\nimport { nanoid } from 'nanoid/non-secure';\nimport { usePortal } from '../../hooks/usePortal';\nimport type { PortalProps } from './types';\n\nconst PortalComponent = ({\n name: _providedName,\n hostName,\n handleOnMount: _providedHandleOnMount,\n handleOnUnmount: _providedHandleOnUnmount,\n handleOnUpdate: _providedHandleOnUpdate,\n children,\n}: PortalProps) => {\n //#region hooks\n const { addPortal: addUpdatePortal, removePortal } = usePortal(hostName);\n //#endregion\n\n //#region variables\n const name = useMemo(() => _providedName || nanoid(), [_providedName]);\n //#endregion\n\n //#region refs\n const handleOnMountRef = useRef();\n const handleOnUnmountRef = useRef();\n const handleOnUpdateRef = useRef();\n //#endregion\n\n //#region callbacks\n const handleOnMount = useCallback(() => {\n if (_providedHandleOnMount) {\n _providedHandleOnMount(() => addUpdatePortal(name, children));\n } else {\n addUpdatePortal(name, children);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [_providedHandleOnMount, addUpdatePortal]);\n handleOnMountRef.current = handleOnMount;\n\n const handleOnUnmount = useCallback(() => {\n if (_providedHandleOnUnmount) {\n _providedHandleOnUnmount(() => removePortal(name));\n } else {\n removePortal(name);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [_providedHandleOnUnmount, removePortal]);\n handleOnUnmountRef.current = handleOnUnmount;\n\n const handleOnUpdate = useCallback(() => {\n if (_providedHandleOnUpdate) {\n _providedHandleOnUpdate(() => addUpdatePortal(name, children));\n } else {\n addUpdatePortal(name, children);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [_providedHandleOnUpdate, addUpdatePortal, children]);\n handleOnUpdateRef.current = handleOnUpdate;\n //#endregion\n\n //#region effects\n useEffect(() => {\n handleOnMountRef.current?.();\n return () => {\n handleOnUnmountRef.current?.();\n\n // remove callbacks refs\n handleOnMountRef.current = undefined;\n handleOnUnmountRef.current = undefined;\n handleOnUpdateRef.current = undefined;\n };\n }, []);\n useEffect(() => {\n handleOnUpdateRef.current?.();\n }, [children]);\n //#endregion\n\n return null;\n};\n\nexport const Portal = memo(PortalComponent);\nPortal.displayName = 'Portal';\n","import { ReactNode, useCallback, useContext } from 'react';\nimport { ACTIONS } from '../state/constants';\nimport { PortalDispatchContext } from '../contexts/portal';\n\nexport const usePortal = (hostName: string = 'root') => {\n const dispatch = useContext(PortalDispatchContext);\n\n if (dispatch === null) {\n throw new Error(\n \"'PortalDispatchContext' cannot be null, please add 'PortalProvider' to the root component.\"\n );\n }\n\n //#region methods\n const registerHost = useCallback(() => {\n dispatch({\n type: ACTIONS.REGISTER_HOST,\n hostName: hostName,\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const deregisterHost = useCallback(() => {\n dispatch({\n type: ACTIONS.DEREGISTER_HOST,\n hostName: hostName,\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const addUpdatePortal = useCallback((name: string, node: ReactNode) => {\n dispatch({\n type: ACTIONS.ADD_UPDATE_PORTAL,\n hostName,\n portalName: name,\n node,\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const removePortal = useCallback((name: string) => {\n dispatch({\n type: ACTIONS.REMOVE_PORTAL,\n hostName,\n portalName: name,\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n //#endregion\n\n return {\n registerHost,\n deregisterHost,\n addPortal: addUpdatePortal,\n updatePortal: addUpdatePortal,\n removePortal,\n };\n};\n","import { createContext } from 'react';\nimport type { ActionTypes } from '../state/types';\nimport type { PortalType } from '../types';\n\nexport const PortalStateContext = createContext\n> | null>(null);\nexport const PortalDispatchContext =\n createContext | null>(null);\n","enum ACTIONS {\n REGISTER_HOST,\n DEREGISTER_HOST,\n ADD_UPDATE_PORTAL,\n REMOVE_PORTAL,\n}\n\nconst INITIAL_STATE = {};\n\nexport { ACTIONS, INITIAL_STATE };\n","import React, { memo, useEffect } from 'react';\nimport { usePortalState } from '../../hooks/usePortalState';\nimport { usePortal } from '../../hooks/usePortal';\nimport type { PortalHostProps } from './types';\n\nconst PortalHostComponent = ({ name }: PortalHostProps) => {\n //#region hooks\n const state = usePortalState(name);\n const { registerHost, deregisterHost } = usePortal(name);\n //#endregion\n\n //#region effects\n useEffect(() => {\n registerHost();\n return () => {\n deregisterHost();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n //#endregion\n\n //#region render\n return <>{state.map(item => item.node)};\n //#endregion\n};\n\nexport const PortalHost = memo(PortalHostComponent);\nPortalHost.displayName = 'PortalHost';\n","import { useContext } from 'react';\nimport { PortalStateContext } from '../contexts/portal';\n\nexport const usePortalState = (hostName: string) => {\n const state = useContext(PortalStateContext);\n\n if (state === null) {\n throw new Error(\n \"'PortalStateContext' cannot be null, please add 'PortalProvider' to the root component.\"\n );\n }\n\n return state[hostName] || [];\n};\n","import React, { memo, useReducer } from 'react';\nimport { PortalHost } from '../portalHost/PortalHost';\nimport {\n PortalDispatchContext,\n PortalStateContext,\n} from '../../contexts/portal';\nimport { INITIAL_STATE } from '../../state/constants';\nimport { reducer } from '../../state/reducer';\nimport type { PortalProviderProps } from './types';\n\nconst PortalProviderComponent = ({\n rootHostName = 'root',\n shouldAddRootHost = true,\n children,\n}: PortalProviderProps) => {\n const [state, dispatch] = useReducer(reducer, INITIAL_STATE);\n return (\n \n \n {children}\n {shouldAddRootHost && }\n \n \n );\n};\n\nexport const PortalProvider = memo(PortalProviderComponent);\nPortalProvider.displayName = 'PortalProvider';\n","import { ACTIONS } from './constants';\nimport { print } from '../utilities/logger';\nimport type { PortalType } from '../types';\nimport type {\n ActionTypes,\n AddUpdatePortalAction,\n RemovePortalAction,\n} from './types';\n\nconst registerHost = (\n state: Record>,\n hostName: string\n) => {\n if (!(hostName in state)) {\n state[hostName] = [];\n }\n return state;\n};\n\nconst deregisterHost = (\n state: Record>,\n hostName: string\n) => {\n delete state[hostName];\n return state;\n};\n\nconst addUpdatePortal = (\n state: Record>,\n hostName: string,\n portalName: string,\n node: any\n) => {\n if (!(hostName in state)) {\n state = registerHost(state, hostName);\n }\n\n /**\n * updated portal, if it was already added.\n */\n const index = state[hostName].findIndex(item => item.name === portalName);\n if (index !== -1) {\n state[hostName][index].node = node;\n } else {\n state[hostName].push({\n name: portalName,\n node,\n });\n }\n return state;\n};\n\nconst removePortal = (\n state: Record>,\n hostName: string,\n portalName: string\n) => {\n if (!(hostName in state)) {\n print({\n component: reducer.name,\n method: removePortal.name,\n params: `Failed to remove portal '${portalName}', '${hostName}' was not registered!`,\n });\n return state;\n }\n\n const index = state[hostName].findIndex(item => item.name === portalName);\n if (index !== -1) state[hostName].splice(index, 1);\n return state;\n};\n\nexport const reducer = (\n state: Record>,\n action: ActionTypes\n) => {\n const { type } = action;\n let clonedState = { ...state };\n switch (type) {\n case ACTIONS.REGISTER_HOST:\n return registerHost(clonedState, action.hostName);\n case ACTIONS.DEREGISTER_HOST:\n return deregisterHost(clonedState, action.hostName);\n case ACTIONS.ADD_UPDATE_PORTAL:\n return addUpdatePortal(\n clonedState,\n action.hostName,\n (action as AddUpdatePortalAction).portalName,\n (action as AddUpdatePortalAction).node\n );\n case ACTIONS.REMOVE_PORTAL:\n return removePortal(\n clonedState,\n action.hostName,\n (action as RemovePortalAction).portalName\n );\n default:\n return state;\n }\n};\n","interface PrintOptions {\n component?: string;\n method?: string;\n params?: Record | string | number | boolean;\n}\n\ntype Print = (options: PrintOptions) => void;\n\nlet isLoggingEnabled = false;\n\n// __DEV__ global is by default not defined in React Native Web builds\nconst isDev = Boolean(typeof __DEV__ !== 'undefined' && __DEV__);\n\nconst enableLogging = () => {\n if (!isDev) {\n console.warn('[Portal] could not enable logging on production!');\n return;\n }\n isLoggingEnabled = true;\n};\n\nlet print: Print = () => {};\n\nif (isDev) {\n print = ({ component, method, params }) => {\n if (!isLoggingEnabled) {\n return;\n }\n let message = '';\n\n if (typeof params === 'object') {\n message = Object.keys(params)\n .map(key => `${key}:${params[key]}`)\n .join(' ');\n } else {\n message = `${params ?? ''}`;\n }\n console.log(\n `[Portal::${[component, method].filter(Boolean).join('::')}]`,\n message\n );\n };\n}\n\nObject.freeze(print);\n\nexport { print, enableLogging };\n","import React from 'react';\nimport sidebarPropTypes from './sidebarPropTypes';\nimport BaseSidebarScreen from './BaseSidebarScreen';\nimport FloatingActionButtonAndPopover from './FloatingActionButtonAndPopover';\n\nconst SidebarScreen = props => (\n \n \n \n);\n\nSidebarScreen.propTypes = sidebarPropTypes;\nSidebarScreen.displayName = 'SidebarScreen';\n\nexport default SidebarScreen;\n","import PropTypes from 'prop-types';\n\nconst sidebarPropTypes = {\n\n /** reportID in the current navigation state */\n reportIDFromRoute: PropTypes.string,\n\n /** Callback when onLayout of sidebar is called */\n onLayout: PropTypes.func,\n};\nexport default sidebarPropTypes;\n","import React, {Component} from 'react';\nimport {View} from 'react-native';\nimport styles from '../../../../styles/styles';\nimport SidebarLinks from '../SidebarLinks';\nimport ScreenWrapper from '../../../../components/ScreenWrapper';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../../ROUTES';\nimport Timing from '../../../../libs/actions/Timing';\nimport CONST from '../../../../CONST';\nimport Performance from '../../../../libs/Performance';\nimport withDrawerState from '../../../../components/withDrawerState';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../../components/withWindowDimensions';\nimport compose from '../../../../libs/compose';\nimport sidebarPropTypes from './sidebarPropTypes';\n\nconst propTypes = {\n ...sidebarPropTypes,\n ...windowDimensionsPropTypes,\n};\n\nclass BaseSidebarScreen extends Component {\n constructor(props) {\n super(props);\n\n this.startTimer = this.startTimer.bind(this);\n this.navigateToSettings = this.navigateToSettings.bind(this);\n }\n\n componentDidMount() {\n Performance.markStart(CONST.TIMING.SIDEBAR_LOADED);\n Timing.start(CONST.TIMING.SIDEBAR_LOADED, true);\n }\n\n /**\n * Method called when avatar is clicked\n */\n navigateToSettings() {\n Navigation.navigate(ROUTES.SETTINGS);\n }\n\n /**\n * Method called when a pinned chat is selected.\n */\n startTimer() {\n Timing.start(CONST.TIMING.SWITCH_REPORT);\n Performance.markStart(CONST.TIMING.SWITCH_REPORT);\n }\n\n render() {\n return (\n \n {({insets}) => (\n <>\n \n \n \n {this.props.children}\n \n )}\n \n );\n }\n}\n\nBaseSidebarScreen.propTypes = propTypes;\n\nexport default compose(\n withWindowDimensions,\n withDrawerState,\n)(BaseSidebarScreen);\n","/* eslint-disable rulesdir/onyx-props-must-have-default */\nimport lodashGet from 'lodash/get';\nimport React from 'react';\nimport {View, TouchableOpacity} from 'react-native';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport {Freeze} from 'react-freeze';\nimport styles from '../../../styles/styles';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport ONYXKEYS from '../../../ONYXKEYS';\nimport safeAreaInsetPropTypes from '../../safeAreaInsetPropTypes';\nimport compose from '../../../libs/compose';\nimport Navigation from '../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../ROUTES';\nimport Icon from '../../../components/Icon';\nimport Header from '../../../components/Header';\nimport * as Expensicons from '../../../components/Icon/Expensicons';\nimport AvatarWithIndicator from '../../../components/AvatarWithIndicator';\nimport Tooltip from '../../../components/Tooltip';\nimport CONST from '../../../CONST';\nimport participantPropTypes from '../../../components/participantPropTypes';\nimport withLocalize, {withLocalizePropTypes} from '../../../components/withLocalize';\nimport * as App from '../../../libs/actions/App';\nimport * as ReportUtils from '../../../libs/ReportUtils';\nimport withCurrentUserPersonalDetails from '../../../components/withCurrentUserPersonalDetails';\nimport withWindowDimensions from '../../../components/withWindowDimensions';\nimport reportActionPropTypes from '../report/reportActionPropTypes';\nimport LHNOptionsList from '../../../components/LHNOptionsList/LHNOptionsList';\nimport SidebarUtils from '../../../libs/SidebarUtils';\nimport reportPropTypes from '../../reportPropTypes';\nimport OfflineWithFeedback from '../../../components/OfflineWithFeedback';\nimport LHNSkeletonView from '../../../components/LHNSkeletonView';\n\nconst propTypes = {\n /** Toggles the navigation menu open and closed */\n onLinkClick: PropTypes.func.isRequired,\n\n /** Safe area insets required for mobile devices margins */\n insets: safeAreaInsetPropTypes.isRequired,\n\n /* Onyx Props */\n /** List of reports */\n // eslint-disable-next-line react/no-unused-prop-types\n chatReports: PropTypes.objectOf(reportPropTypes),\n\n /** All report actions for all reports */\n // eslint-disable-next-line react/no-unused-prop-types\n reportActions: PropTypes.objectOf(PropTypes.arrayOf(PropTypes.shape(reportActionPropTypes))),\n\n /** List of users' personal details */\n personalDetails: PropTypes.objectOf(participantPropTypes),\n\n /** The personal details of the person who is logged in */\n currentUserPersonalDetails: PropTypes.shape({\n /** Display name of the current user */\n displayName: PropTypes.string,\n\n /** Avatar URL or SVG of the current user */\n avatar: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Login email of the current user */\n login: PropTypes.string,\n }),\n\n /** Current reportID from the route in react navigation state object */\n reportIDFromRoute: PropTypes.string,\n\n /** Callback when onLayout of sidebar is called */\n onLayout: PropTypes.func,\n\n /** Whether we are viewing below the responsive breakpoint */\n isSmallScreenWidth: PropTypes.bool.isRequired,\n\n /** The chat priority mode */\n priorityMode: PropTypes.string,\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n chatReports: {},\n reportActions: {},\n personalDetails: {},\n currentUserPersonalDetails: {\n avatar: '',\n },\n reportIDFromRoute: '',\n onLayout: () => {},\n priorityMode: CONST.PRIORITY_MODE.DEFAULT,\n};\n\nclass SidebarLinks extends React.Component {\n constructor(props) {\n super(props);\n\n this.showSearchPage = this.showSearchPage.bind(this);\n this.showSettingsPage = this.showSettingsPage.bind(this);\n this.showReportPage = this.showReportPage.bind(this);\n }\n\n showSearchPage() {\n if (this.props.isCreateMenuOpen) {\n // Prevent opening Search page when click Search icon quickly after clicking FAB icon\n return;\n }\n Navigation.navigate(ROUTES.SEARCH);\n }\n\n showSettingsPage() {\n if (this.props.isCreateMenuOpen) {\n // Prevent opening Settings page when click profile avatar quickly after clicking FAB icon\n return;\n }\n Navigation.navigate(ROUTES.SETTINGS);\n }\n\n /**\n * Show Report page with selected report id\n *\n * @param {Object} option\n * @param {String} option.reportID\n */\n showReportPage(option) {\n if (this.props.isCreateMenuOpen) {\n // Prevent opening Report page when click LHN row quickly after clicking FAB icon\n return;\n }\n Navigation.navigate(ROUTES.getReportRoute(option.reportID));\n this.props.onLinkClick();\n }\n\n render() {\n const isLoading = _.isEmpty(this.props.personalDetails) || _.isEmpty(this.props.chatReports);\n const shouldFreeze = this.props.isSmallScreenWidth && !this.props.isDrawerOpen && this.isSidebarLoaded;\n const optionListItems = SidebarUtils.getOrderedReportIDs(this.props.reportIDFromRoute);\n\n const skeletonPlaceholder = ;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {isLoading ? skeletonPlaceholder : (\n option.toString() === this.props.reportIDFromRoute\n ))}\n onSelectRow={this.showReportPage}\n shouldDisableFocusOptions={this.props.isSmallScreenWidth}\n optionMode={this.props.priorityMode === CONST.PRIORITY_MODE.GSD ? CONST.OPTION_MODE.COMPACT : CONST.OPTION_MODE.DEFAULT}\n onLayout={() => {\n this.props.onLayout();\n App.setSidebarLoaded();\n this.isSidebarLoaded = true;\n }}\n />\n )}\n \n \n );\n }\n}\n\nSidebarLinks.propTypes = propTypes;\nSidebarLinks.defaultProps = defaultProps;\n\n/**\n * This function (and the few below it), narrow down the data from Onyx to just the properties that we want to trigger a re-render of the component. This helps minimize re-rendering\n * and makes the entire component more performant because it's not re-rendering when a bunch of properties change which aren't ever used in the UI.\n * @param {Object} [report]\n * @returns {Object|undefined}\n */\nconst chatReportSelector = (report) => {\n if (ReportUtils.isIOUReport(report)) {\n return null;\n }\n return report && ({\n reportID: report.reportID,\n participants: report.participants,\n hasDraft: report.hasDraft,\n isPinned: report.isPinned,\n errorFields: {\n addWorkspaceRoom: report.errorFields && report.errorFields.addWorkspaceRoom,\n },\n lastReadTime: report.lastReadTime,\n lastMessageText: report.lastMessageText,\n lastVisibleActionCreated: report.lastVisibleActionCreated,\n iouReportID: report.iouReportID,\n hasOutstandingIOU: report.hasOutstandingIOU,\n statusNum: report.statusNum,\n stateNum: report.stateNum,\n chatType: report.chatType,\n policyID: report.policyID,\n reportName: report.reportName,\n });\n};\n\n/**\n * @param {Object} [personalDetails]\n * @returns {Object|undefined}\n */\nconst personalDetailsSelector = personalDetails => _.reduce(personalDetails, (finalPersonalDetails, personalData, login) => {\n // It's OK to do param-reassignment in _.reduce() because we absolutely know the starting state of finalPersonalDetails\n // eslint-disable-next-line no-param-reassign\n finalPersonalDetails[login] = {\n login: personalData.login,\n displayName: personalData.displayName,\n firstName: personalData.firstName,\n avatar: ReportUtils.getAvatar(personalData.avatar, personalData.login),\n };\n return finalPersonalDetails;\n}, {});\n\n/**\n * @param {Object} [reportActions]\n * @returns {Object|undefined}\n */\nconst reportActionsSelector = reportActions => reportActions && _.map(reportActions, reportAction => ({\n errors: reportAction.errors,\n}));\n\n/**\n * @param {Object} [policy]\n * @returns {Object|undefined}\n */\nconst policySelector = policy => policy && ({\n type: policy.type,\n name: policy.name,\n});\n\nexport default compose(\n withLocalize,\n withCurrentUserPersonalDetails,\n withWindowDimensions,\n withOnyx({\n // Note: It is very important that the keys subscribed to here are the same\n // keys that are subscribed to at the top of SidebarUtils.js. If there was a key missing from here and data was updated\n // for that key, then there would be no re-render and the options wouldn't reflect the new data because SidebarUtils.getOrderedReportIDs() wouldn't be triggered.\n // This could be changed if each OptionRowLHN used withOnyx() to connect to the Onyx keys, but if you had 10,000 reports\n // with 10,000 withOnyx() connections, it would have unknown performance implications.\n chatReports: {\n key: ONYXKEYS.COLLECTION.REPORT,\n selector: chatReportSelector,\n },\n personalDetails: {\n key: ONYXKEYS.PERSONAL_DETAILS,\n selector: personalDetailsSelector,\n },\n priorityMode: {\n key: ONYXKEYS.NVP_PRIORITY_MODE,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n reportActions: {\n key: ONYXKEYS.COLLECTION.REPORT_ACTIONS,\n selector: reportActionsSelector,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n selector: policySelector,\n },\n preferredLocale: {\n key: ONYXKEYS.NVP_PREFERRED_LOCALE,\n },\n }),\n)(SidebarLinks);\n","import PropTypes from 'prop-types';\n\nconst safeAreaInsetPropTypes = PropTypes.shape({\n top: PropTypes.number,\n left: PropTypes.number,\n right: PropTypes.number,\n bottom: PropTypes.number,\n});\n\nexport default safeAreaInsetPropTypes;\n","import _ from 'underscore';\nimport React from 'react';\nimport {StyleSheet, View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport Avatar from './Avatar';\nimport styles from '../styles/styles';\nimport Tooltip from './Tooltip';\nimport ONYXKEYS from '../ONYXKEYS';\nimport policyMemberPropType from '../pages/policyMemberPropType';\nimport bankAccountPropTypes from './bankAccountPropTypes';\nimport cardPropTypes from './cardPropTypes';\nimport userWalletPropTypes from '../pages/EnablePayments/userWalletPropTypes';\nimport {policyPropTypes} from '../pages/workspace/withPolicy';\nimport walletTermsPropTypes from '../pages/EnablePayments/walletTermsPropTypes';\nimport * as PolicyUtils from '../libs/PolicyUtils';\nimport * as PaymentMethods from '../libs/actions/PaymentMethods';\nimport * as ReportUtils from '../libs/ReportUtils';\nimport * as UserUtils from '../libs/UserUtils';\nimport themeColors from '../styles/themes/default';\n\nconst propTypes = {\n /** URL for the avatar */\n source: PropTypes.oneOfType([PropTypes.string, PropTypes.func]).isRequired,\n\n /** To show a tooltip on hover */\n tooltipText: PropTypes.string,\n\n /* Onyx Props */\n\n /** The employee list of all policies (coming from Onyx) */\n policiesMemberList: PropTypes.objectOf(policyMemberPropType),\n\n /** All the user's policies (from Onyx via withFullPolicy) */\n policies: PropTypes.objectOf(policyPropTypes.policy),\n\n /** List of bank accounts */\n bankAccountList: PropTypes.objectOf(bankAccountPropTypes),\n\n /** List of cards */\n cardList: PropTypes.objectOf(cardPropTypes),\n\n /** The user's wallet (coming from Onyx) */\n userWallet: userWalletPropTypes,\n\n /** Information about the user accepting the terms for payments */\n walletTerms: walletTermsPropTypes,\n\n /** Login list for the user that is signed in */\n loginList: PropTypes.shape({\n /** Date login was validated, used to show info indicator status */\n validatedDate: PropTypes.string,\n\n /** Field-specific server side errors keyed by microtime */\n errorFields: PropTypes.objectOf(PropTypes.objectOf(PropTypes.string)),\n }),\n};\n\nconst defaultProps = {\n tooltipText: '',\n policiesMemberList: {},\n policies: {},\n bankAccountList: {},\n cardList: {},\n userWallet: {},\n walletTerms: {},\n loginList: {},\n};\n\nconst AvatarWithIndicator = (props) => {\n // If a policy was just deleted from Onyx, then Onyx will pass a null value to the props, and\n // those should be cleaned out before doing any error checking\n const cleanPolicies = _.pick(props.policies, policy => policy);\n const cleanPolicyMembers = _.pick(props.policiesMemberList, member => member);\n\n // All of the error & info-checking methods are put into an array. This is so that using _.some() will return\n // early as soon as the first error / info condition is returned. This makes the checks very efficient since\n // we only care if a single error / info condition exists anywhere.\n const errorCheckingMethods = [\n () => !_.isEmpty(props.userWallet.errors),\n () => PaymentMethods.hasPaymentMethodError(props.bankAccountList, props.cardList),\n () => _.some(cleanPolicies, PolicyUtils.hasPolicyError),\n () => _.some(cleanPolicies, PolicyUtils.hasCustomUnitsError),\n () => _.some(cleanPolicyMembers, PolicyUtils.hasPolicyMemberError),\n () => UserUtils.hasLoginListError(props.loginList),\n\n // Wallet term errors that are not caused by an IOU (we show the red brick indicator for those in the LHN instead)\n () => !_.isEmpty(props.walletTerms.errors) && !props.walletTerms.chatReportID,\n ];\n const infoCheckingMethods = [\n () => UserUtils.hasLoginListInfo(props.loginList),\n ];\n const shouldShowErrorIndicator = _.some(errorCheckingMethods, errorCheckingMethod => errorCheckingMethod());\n const shouldShowInfoIndicator = !shouldShowErrorIndicator && _.some(infoCheckingMethods, infoCheckingMethod => infoCheckingMethod());\n\n const indicatorColor = shouldShowErrorIndicator ? themeColors.danger : themeColors.success;\n const indicatorStyles = [\n styles.alignItemsCenter,\n styles.justifyContentCenter,\n styles.statusIndicator(indicatorColor),\n ];\n\n return (\n \n \n \n {(shouldShowErrorIndicator || shouldShowInfoIndicator) && (\n \n )}\n \n \n );\n};\n\nAvatarWithIndicator.defaultProps = defaultProps;\nAvatarWithIndicator.propTypes = propTypes;\nAvatarWithIndicator.displayName = 'AvatarWithIndicator';\n\nexport default withOnyx({\n policiesMemberList: {\n key: ONYXKEYS.COLLECTION.POLICY_MEMBER_LIST,\n },\n policies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n },\n bankAccountList: {\n key: ONYXKEYS.BANK_ACCOUNT_LIST,\n },\n cardList: {\n key: ONYXKEYS.CARD_LIST,\n },\n userWallet: {\n key: ONYXKEYS.USER_WALLET,\n },\n walletTerms: {\n key: ONYXKEYS.WALLET_TERMS,\n },\n loginList: {\n key: ONYXKEYS.LOGIN_LIST,\n },\n})(AvatarWithIndicator);\n","import _ from 'underscore';\nimport React, {Component} from 'react';\nimport {View, FlatList} from 'react-native';\nimport PropTypes from 'prop-types';\nimport styles from '../../styles/styles';\nimport OptionRowLHN from './OptionRowLHN';\nimport variables from '../../styles/variables';\nimport CONST from '../../CONST';\n\nconst propTypes = {\n /** Extra styles for the section list container */\n // eslint-disable-next-line react/forbid-prop-types\n contentContainerStyles: PropTypes.arrayOf(PropTypes.object).isRequired,\n\n /** Sections for the section list */\n data: PropTypes.arrayOf(PropTypes.string).isRequired,\n\n /** Index for option to focus on */\n focusedIndex: PropTypes.number.isRequired,\n\n /** Callback to fire when a row is selected */\n onSelectRow: PropTypes.func.isRequired,\n\n /** Toggle between compact and default view of the option */\n optionMode: PropTypes.oneOf(_.values(CONST.OPTION_MODE)).isRequired,\n\n /** Callback to execute when the SectionList lays out */\n onLayout: PropTypes.func.isRequired,\n\n /** Whether to allow option focus or not */\n shouldDisableFocusOptions: PropTypes.bool,\n};\n\nconst defaultProps = {\n shouldDisableFocusOptions: false,\n};\n\nclass LHNOptionsList extends Component {\n constructor(props) {\n super(props);\n\n this.renderItem = this.renderItem.bind(this);\n this.getItemLayout = this.getItemLayout.bind(this);\n }\n\n /**\n * This function is used to compute the layout of any given item in our list. Since we know that each item will have the exact same height, this is a performance optimization\n * so that the heights can be determined before the options are rendered. Otherwise, the heights are determined when each option is rendering and it causes a lot of overhead on large\n * lists.\n *\n * @param {Array} data - This is the same as the data we pass into the component\n * @param {Number} index the current item's index in the set of data\n *\n * @returns {Object}\n */\n getItemLayout(data, index) {\n const optionHeight = this.props.optionMode === CONST.OPTION_MODE.COMPACT ? variables.optionRowHeightCompact : variables.optionRowHeight;\n return {\n length: optionHeight,\n offset: index * optionHeight,\n index,\n };\n }\n\n /**\n * Function which renders a row in the list\n *\n * @param {Object} params\n * @param {Object} params.item\n * @param {Number} params.index\n *\n * @return {Component}\n */\n renderItem({item, index}) {\n return (\n \n );\n }\n\n render() {\n return (\n \n item}\n stickySectionHeadersEnabled={false}\n renderItem={this.renderItem}\n getItemLayout={this.getItemLayout}\n extraData={this.props.focusedIndex}\n initialNumToRender={5}\n maxToRenderPerBatch={5}\n windowSize={5}\n onLayout={this.props.onLayout}\n />\n \n );\n }\n}\n\nLHNOptionsList.propTypes = propTypes;\nLHNOptionsList.defaultProps = defaultProps;\n\nexport default LHNOptionsList;\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n TouchableOpacity,\n View,\n StyleSheet,\n} from 'react-native';\nimport * as optionRowStyles from '../../styles/optionRowStyles';\nimport styles from '../../styles/styles';\nimport * as StyleUtils from '../../styles/StyleUtils';\nimport Icon from '../Icon';\nimport * as Expensicons from '../Icon/Expensicons';\nimport MultipleAvatars from '../MultipleAvatars';\nimport Hoverable from '../Hoverable';\nimport DisplayNames from '../DisplayNames';\nimport colors from '../../styles/colors';\nimport withLocalize, {withLocalizePropTypes} from '../withLocalize';\nimport Text from '../Text';\nimport SubscriptAvatar from '../SubscriptAvatar';\nimport CONST from '../../CONST';\nimport variables from '../../styles/variables';\nimport themeColors from '../../styles/themes/default';\nimport SidebarUtils from '../../libs/SidebarUtils';\nimport TextPill from '../TextPill';\nimport OfflineWithFeedback from '../OfflineWithFeedback';\n\nconst propTypes = {\n /** Style for hovered state */\n // eslint-disable-next-line react/forbid-prop-types\n hoverStyle: PropTypes.object,\n\n /** The ID of the report that the option is for */\n reportID: PropTypes.string.isRequired,\n\n /** Whether this option is currently in focus so we can modify its style */\n isFocused: PropTypes.bool,\n\n /** A function that is called when an option is selected. Selected option is passed as a param */\n onSelectRow: PropTypes.func,\n\n /** Toggle between compact and default view */\n viewMode: PropTypes.oneOf(_.values(CONST.OPTION_MODE)),\n\n style: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),\n\n ...withLocalizePropTypes,\n};\n\nconst defaultProps = {\n hoverStyle: styles.sidebarLinkHover,\n viewMode: 'default',\n onSelectRow: () => {},\n isFocused: false,\n style: null,\n};\n\nconst OptionRowLHN = (props) => {\n const optionItem = SidebarUtils.getOptionData(props.reportID);\n if (!optionItem) {\n return null;\n }\n\n let touchableRef = null;\n const textStyle = props.isFocused\n ? styles.sidebarLinkActiveText\n : styles.sidebarLinkText;\n const textUnreadStyle = optionItem.isUnread\n ? [textStyle, styles.sidebarLinkTextBold] : [textStyle];\n const displayNameStyle = StyleUtils.combineStyles([styles.optionDisplayName, styles.optionDisplayNameCompact, styles.pre, ...textUnreadStyle], props.style);\n const textPillStyle = props.isFocused\n ? [styles.ml1, StyleUtils.getBackgroundColorWithOpacityStyle(themeColors.icon, 0.5)]\n : [styles.ml1];\n const alternateTextStyle = StyleUtils.combineStyles(props.viewMode === CONST.OPTION_MODE.COMPACT\n ? [textStyle, styles.optionAlternateText, styles.pre, styles.textLabelSupporting, styles.optionAlternateTextCompact, styles.ml2]\n : [textStyle, styles.optionAlternateText, styles.pre, styles.textLabelSupporting], props.style);\n const contentContainerStyles = props.viewMode === CONST.OPTION_MODE.COMPACT\n ? [styles.flex1, styles.flexRow, styles.overflowHidden, optionRowStyles.compactContentContainerStyles]\n : [styles.flex1];\n const sidebarInnerRowStyle = StyleSheet.flatten(props.viewMode === CONST.OPTION_MODE.COMPACT ? [\n styles.chatLinkRowPressable,\n styles.flexGrow1,\n styles.optionItemAvatarNameWrapper,\n styles.optionRowCompact,\n styles.justifyContentCenter,\n ] : [\n styles.chatLinkRowPressable,\n styles.flexGrow1,\n styles.optionItemAvatarNameWrapper,\n styles.optionRow,\n styles.justifyContentCenter,\n ]);\n const hoveredBackgroundColor = props.hoverStyle && props.hoverStyle.backgroundColor\n ? props.hoverStyle.backgroundColor\n : themeColors.sidebar;\n const focusedBackgroundColor = styles.sidebarLinkActive.backgroundColor;\n\n const avatarTooltips = !optionItem.isChatRoom && !optionItem.isArchivedRoom ? _.pluck(optionItem.displayNamesWithTooltips, 'tooltip') : undefined;\n\n return (\n \n \n {hovered => (\n touchableRef = el}\n onPress={(e) => {\n if (e) {\n e.preventDefault();\n }\n\n props.onSelectRow(optionItem, touchableRef);\n }}\n activeOpacity={0.8}\n style={[\n styles.flexRow,\n styles.alignItemsCenter,\n styles.justifyContentBetween,\n styles.sidebarLink,\n styles.sidebarLinkInner,\n StyleUtils.getBackgroundColorStyle(themeColors.sidebar),\n props.isFocused ? styles.sidebarLinkActive : null,\n hovered && !props.isFocused ? props.hoverStyle : null,\n ]}\n >\n \n \n {\n !_.isEmpty(optionItem.icons)\n && (\n optionItem.shouldShowSubscript ? (\n \n ) : (\n \n )\n )\n }\n \n \n \n {optionItem.isChatRoom && (\n \n )}\n \n {optionItem.alternateText ? (\n \n {optionItem.alternateText}\n \n ) : null}\n \n {optionItem.descriptiveText ? (\n \n \n {optionItem.descriptiveText}\n \n \n ) : null}\n {optionItem.brickRoadIndicator === CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR && (\n \n \n \n )}\n \n \n \n {optionItem.hasDraftComment && (\n \n \n \n )}\n {optionItem.hasOutstandingIOU && !optionItem.isIOUReportOwner && }\n {optionItem.isPinned && (\n \n \n \n )}\n \n \n )}\n \n \n );\n};\n\nOptionRowLHN.propTypes = propTypes;\nOptionRowLHN.defaultProps = defaultProps;\nOptionRowLHN.displayName = 'OptionRowLHN';\n\nexport default withLocalize(OptionRowLHN);\n","import styles from '../styles';\n\n/**\n * On native platforms, alignItemsBaseline does not work correctly\n * in lining the items together. As such, on native platform, we're\n * keeping compactContentContainerStyles as it is.\n * https://github.com/Expensify/App/issues/14148\n*/\n\nconst compactContentContainerStyles = styles.alignItemsCenter;\n\nexport {\n // eslint-disable-next-line import/prefer-default-export\n compactContentContainerStyles,\n};\n","import Onyx from 'react-native-onyx';\nimport _ from 'underscore';\nimport lodashGet from 'lodash/get';\nimport lodashOrderBy from 'lodash/orderBy';\nimport Str from 'expensify-common/lib/str';\nimport ONYXKEYS from '../ONYXKEYS';\nimport * as ReportUtils from './ReportUtils';\nimport * as ReportActionsUtils from './ReportActionsUtils';\nimport * as Localize from './Localize';\nimport CONST from '../CONST';\nimport * as OptionsListUtils from './OptionsListUtils';\nimport * as CollectionUtils from './CollectionUtils';\n\n// Note: It is very important that the keys subscribed to here are the same\n// keys that are connected to SidebarLinks withOnyx(). If there was a key missing from SidebarLinks and it's data was updated\n// for that key, then there would be no re-render and the options wouldn't reflect the new data because SidebarUtils.getOrderedReportIDs() wouldn't be triggered.\n// There are a couple of keys here which are OK to have stale data. iouReports for example, doesn't need to exist in withOnyx() because\n// when IOUs change, it also triggers a change on the reports collection. Having redundant subscriptions causes more re-renders which should be avoided.\n// Session also can remain stale because the only way for the current user to change is to sign out and sign in, which would clear out all the Onyx\n// data anyway and cause SidebarLinks to rerender.\n\nconst chatReports = {};\nconst iouReports = {};\nOnyx.connect({\n key: ONYXKEYS.COLLECTION.REPORT,\n callback: (report, key) => {\n if (!report) {\n delete iouReports[key];\n delete chatReports[key];\n } else if (ReportUtils.isIOUReport(report)) {\n iouReports[key] = report;\n } else {\n chatReports[key] = report;\n }\n },\n});\n\nlet personalDetails;\nOnyx.connect({\n key: ONYXKEYS.PERSONAL_DETAILS,\n callback: val => personalDetails = val,\n});\n\nlet priorityMode;\nOnyx.connect({\n key: ONYXKEYS.NVP_PRIORITY_MODE,\n callback: val => priorityMode = val,\n});\n\nlet betas;\nOnyx.connect({\n key: ONYXKEYS.BETAS,\n callback: val => betas = val,\n});\n\nconst visibleReportActionItems = {};\nconst lastReportActions = {};\nconst reportActions = {};\nOnyx.connect({\n key: ONYXKEYS.COLLECTION.REPORT_ACTIONS,\n callback: (actions, key) => {\n if (!key || !actions) {\n return;\n }\n const reportID = CollectionUtils.extractCollectionItemID(key);\n\n const actionsArray = _.toArray(actions);\n lastReportActions[reportID] = _.last(actionsArray);\n\n // The report is only visible if it is the last action not deleted that\n // does not match a closed or created state.\n const reportActionsForDisplay = _.filter(actionsArray, (reportAction, actionKey) => (ReportActionsUtils.shouldReportActionBeVisible(reportAction, actionKey)\n && (reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.CREATED)));\n visibleReportActionItems[reportID] = _.first(ReportActionsUtils.getSortedReportActions(reportActionsForDisplay, true));\n\n reportActions[key] = actions;\n },\n});\n\nlet policies;\nOnyx.connect({\n key: ONYXKEYS.COLLECTION.POLICY,\n waitForCollectionCallback: true,\n callback: val => policies = val,\n});\n\nlet currentUserLogin;\nOnyx.connect({\n key: ONYXKEYS.SESSION,\n callback: val => currentUserLogin = val,\n});\n\nlet preferredLocale;\nOnyx.connect({\n key: ONYXKEYS.NVP_PREFERRED_LOCALE,\n callback: val => preferredLocale = val || CONST.LOCALES.DEFAULT,\n});\n\n/**\n * @param {String} reportIDFromRoute\n * @returns {String[]} An array of reportIDs sorted in the proper order\n */\nfunction getOrderedReportIDs(reportIDFromRoute) {\n const isInGSDMode = priorityMode === CONST.PRIORITY_MODE.GSD;\n const isInDefaultMode = !isInGSDMode;\n\n // Filter out all the reports that shouldn't be displayed\n const reportsToDisplay = _.filter(chatReports, report => ReportUtils.shouldReportBeInOptionList(report, reportIDFromRoute, isInGSDMode, currentUserLogin, iouReports, betas, policies));\n\n // There are a few properties that need to be calculated for the report which are used when sorting reports.\n _.each(reportsToDisplay, (report) => {\n // Normally, the spread operator would be used here to clone the report and prevent the need to reassign the params.\n // However, this code needs to be very performant to handle thousands of reports, so in the interest of speed, we're just going to disable this lint rule and add\n // the reportDisplayName property to the report object directly.\n // eslint-disable-next-line no-param-reassign\n report.displayName = ReportUtils.getReportName(report, policies);\n\n // eslint-disable-next-line no-param-reassign\n report.iouReportAmount = ReportUtils.getIOUTotal(report, iouReports);\n });\n\n // The LHN is split into five distinct groups, and each group is sorted a little differently. The groups will ALWAYS be in this order:\n // 1. Pinned - Always sorted by reportDisplayName\n // 2. Outstanding IOUs - Always sorted by iouReportAmount with the largest amounts at the top of the group\n // 3. Drafts - Always sorted by reportDisplayName\n // 4. Non-archived reports\n // - Sorted by lastVisibleActionCreated in default (most recent) view mode\n // - Sorted by reportDisplayName in GSD (focus) view mode\n // 5. Archived reports\n // - Sorted by lastVisibleActionCreated in default (most recent) view mode\n // - Sorted by reportDisplayName in GSD (focus) view mode\n let pinnedReports = [];\n let outstandingIOUReports = [];\n let draftReports = [];\n let nonArchivedReports = [];\n let archivedReports = [];\n\n _.each(reportsToDisplay, (report) => {\n if (report.isPinned) {\n pinnedReports.push(report);\n return;\n }\n\n if (report.hasOutstandingIOU && !ReportUtils.isIOUOwnedByCurrentUser(report, iouReports)) {\n outstandingIOUReports.push(report);\n return;\n }\n\n if (report.hasDraft) {\n draftReports.push(report);\n return;\n }\n\n if (ReportUtils.isArchivedRoom(report)) {\n archivedReports.push(report);\n return;\n }\n\n nonArchivedReports.push(report);\n });\n\n // Sort each group of reports accordingly\n pinnedReports = _.sortBy(pinnedReports, report => report.displayName.toLowerCase());\n outstandingIOUReports = lodashOrderBy(outstandingIOUReports, ['iouReportAmount', report => report.displayName.toLowerCase()], ['desc', 'asc']);\n draftReports = _.sortBy(draftReports, report => report.displayName.toLowerCase());\n nonArchivedReports = isInDefaultMode\n ? lodashOrderBy(nonArchivedReports, ['lastVisibleActionCreated', report => report.displayName.toLowerCase()], ['desc', 'asc'])\n : lodashOrderBy(nonArchivedReports, [report => report.displayName.toLowerCase()], ['asc']);\n archivedReports = _.sortBy(archivedReports, report => (isInDefaultMode ? report.lastVisibleActionCreated : report.displayName.toLowerCase()));\n\n // For archived reports ensure that most recent reports are at the top by reversing the order of the arrays because underscore will only sort them in ascending order\n if (isInDefaultMode) {\n archivedReports.reverse();\n }\n\n // Now that we have all the reports grouped and sorted, they must be flattened into an array and only return the reportID.\n // The order the arrays are concatenated in matters and will determine the order that the groups are displayed in the sidebar.\n return _.pluck([]\n .concat(pinnedReports)\n .concat(outstandingIOUReports)\n .concat(draftReports)\n .concat(nonArchivedReports)\n .concat(archivedReports), 'reportID');\n}\n\n/**\n * Gets all the data necessary for rendering an OptionRowLHN component\n *\n * @param {String} reportID\n * @returns {Object}\n */\nfunction getOptionData(reportID) {\n const report = chatReports[`${ONYXKEYS.COLLECTION.REPORT}${reportID}`];\n\n // When a user signs out, Onyx is cleared. Due to the lazy rendering with a virtual list, it's possible for\n // this method to be called after the Onyx data has been cleared out. In that case, it's fine to do\n // a null check here and return early.\n if (!report || !personalDetails) {\n return;\n }\n const result = {\n text: null,\n alternateText: null,\n pendingAction: null,\n allReportErrors: null,\n brickRoadIndicator: null,\n icons: null,\n tooltipText: null,\n ownerEmail: null,\n subtitle: null,\n participantsList: null,\n login: null,\n reportID: null,\n phoneNumber: null,\n payPalMeAddress: null,\n isUnread: null,\n hasDraftComment: false,\n keyForList: null,\n searchText: null,\n isPinned: false,\n hasOutstandingIOU: false,\n iouReportID: null,\n isIOUReportOwner: null,\n iouReportAmount: 0,\n isChatRoom: false,\n isArchivedRoom: false,\n shouldShowSubscript: false,\n isPolicyExpenseChat: false,\n };\n\n const participantPersonalDetailList = _.values(OptionsListUtils.getPersonalDetailsForLogins(report.participants, personalDetails));\n const personalDetail = participantPersonalDetailList[0] || {};\n\n result.isChatRoom = ReportUtils.isChatRoom(report);\n result.isArchivedRoom = ReportUtils.isArchivedRoom(report);\n result.isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(report);\n result.shouldShowSubscript = result.isPolicyExpenseChat && !report.isOwnPolicyExpenseChat && !result.isArchivedRoom;\n result.pendingAction = report.pendingFields ? (report.pendingFields.addWorkspaceRoom || report.pendingFields.createChat) : null;\n result.allReportErrors = OptionsListUtils.getAllReportErrors(report, reportActions);\n result.brickRoadIndicator = !_.isEmpty(result.allReportErrors) ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : '';\n result.ownerEmail = report.ownerEmail;\n result.reportID = report.reportID;\n result.isUnread = ReportUtils.isUnread(report);\n result.hasDraftComment = report.hasDraft;\n result.isPinned = report.isPinned;\n result.iouReportID = report.iouReportID;\n result.keyForList = String(report.reportID);\n result.tooltipText = ReportUtils.getReportParticipantsTitle(report.participants || []);\n result.hasOutstandingIOU = report.hasOutstandingIOU;\n\n const hasMultipleParticipants = participantPersonalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat;\n const subtitle = ReportUtils.getChatRoomSubtitle(report, policies);\n\n // We only create tooltips for the first 10 users or so since some reports have hundreds of users, causing performance to degrade.\n const displayNamesWithTooltips = ReportUtils.getDisplayNamesWithTooltips((participantPersonalDetailList || []).slice(0, 10), hasMultipleParticipants);\n\n let lastMessageTextFromReport = '';\n if (ReportUtils.isReportMessageAttachment({text: report.lastMessageText, html: report.lastMessageHtml})) {\n lastMessageTextFromReport = `[${Localize.translateLocal('common.attachment')}]`;\n } else {\n lastMessageTextFromReport = report ? report.lastMessageText || '' : '';\n }\n\n // If the last actor's details are not currently saved in Onyx Collection,\n // then try to get that from the last report action if that action is valid\n // to get data from.\n let lastActorDetails = personalDetails[report.lastActorEmail] || null;\n if (!lastActorDetails && visibleReportActionItems[report.reportID]) {\n const lastActorDisplayName = lodashGet(visibleReportActionItems[report.reportID], 'person[0].text');\n lastActorDetails = lastActorDisplayName ? {\n displayName: lastActorDisplayName,\n login: report.lastActorEmail,\n } : null;\n }\n let lastMessageText = hasMultipleParticipants && lastActorDetails && (lastActorDetails.login !== currentUserLogin.email)\n ? `${lastActorDetails.displayName}: `\n : '';\n lastMessageText += report ? lastMessageTextFromReport : '';\n\n if (result.isPolicyExpenseChat && result.isArchivedRoom) {\n const archiveReason = (lastReportActions[report.reportID] && lastReportActions[report.reportID].originalMessage && lastReportActions[report.reportID].originalMessage.reason)\n || CONST.REPORT.ARCHIVE_REASON.DEFAULT;\n lastMessageText = Localize.translate(preferredLocale, `reportArchiveReasons.${archiveReason}`, {\n displayName: archiveReason.displayName || report.lastActorEmail,\n policyName: ReportUtils.getPolicyName(report, policies),\n });\n }\n\n if (result.isChatRoom || result.isPolicyExpenseChat) {\n result.alternateText = lastMessageTextFromReport.length > 0 ? lastMessageText : Localize.translate(preferredLocale, 'report.noActivityYet');\n } else {\n if (!lastMessageText) {\n // Here we get the beginning of chat history message and append the display name for each user, adding pronouns if there are any.\n // We also add a fullstop after the final name, the word \"and\" before the final name and commas between all previous names.\n lastMessageText = Localize.translate(preferredLocale, 'reportActionsView.beginningOfChatHistory')\n + _.map(displayNamesWithTooltips, ({displayName, pronouns}, index) => {\n const formattedText = _.isEmpty(pronouns) ? displayName : `${displayName} (${pronouns})`;\n\n if (index === displayNamesWithTooltips.length - 1) { return `${formattedText}.`; }\n if (index === displayNamesWithTooltips.length - 2) { return `${formattedText} ${Localize.translate(preferredLocale, 'common.and')}`; }\n if (index < displayNamesWithTooltips.length - 2) { return `${formattedText},`; }\n }).join(' ');\n }\n\n result.alternateText = lastMessageText || Str.removeSMSDomain(personalDetail.login);\n }\n\n result.isIOUReportOwner = ReportUtils.isIOUOwnedByCurrentUser(result, iouReports);\n result.iouReportAmount = ReportUtils.getIOUTotal(result, iouReports);\n\n if (!hasMultipleParticipants) {\n result.login = personalDetail.login;\n result.phoneNumber = personalDetail.phoneNumber;\n result.payPalMeAddress = personalDetail.payPalMeAddress;\n }\n\n const reportName = ReportUtils.getReportName(report, policies);\n result.text = reportName;\n result.subtitle = subtitle;\n result.participantsList = participantPersonalDetailList;\n\n result.icons = ReportUtils.getIcons(report, personalDetails, policies, ReportUtils.getAvatar(personalDetail.avatar, personalDetail.login));\n result.searchText = OptionsListUtils.getSearchText(report, reportName, participantPersonalDetailList, result.isChatRoom || result.isPolicyExpenseChat);\n result.displayNamesWithTooltips = displayNamesWithTooltips;\n\n return result;\n}\n\nexport default {\n getOptionData,\n getOrderedReportIDs,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Text from './Text';\nimport styles from '../styles/styles';\nimport stylePropTypes from '../styles/stylePropTypes';\nimport * as StyleUtils from '../styles/StyleUtils';\n\nconst propTypes = {\n text: PropTypes.string.isRequired,\n\n /** Text additional style */\n style: stylePropTypes,\n};\n\nconst defaultProps = {\n style: [],\n};\n\nconst TextPill = (props) => {\n const propsStyle = StyleUtils.parseStyleAsArray(props.style);\n\n // eslint-disable-next-line react/jsx-props-no-spreading\n return {props.text};\n};\n\nTextPill.propTypes = propTypes;\nTextPill.defaultProps = defaultProps;\nTextPill.displayName = 'TextPill';\n\nexport default TextPill;\n","import React from 'react';\nimport {View} from 'react-native';\nimport PropTypes from 'prop-types';\nimport {Rect, Circle} from 'react-native-svg';\nimport SkeletonViewContentLoader from 'react-content-loader/native';\nimport CONST from '../CONST';\nimport themeColors from '../styles/themes/default';\nimport styles from '../styles/styles';\n\nconst propTypes = {\n /** Whether to animate the skeleton view */\n shouldAnimate: PropTypes.bool,\n};\n\nconst defaultTypes = {\n shouldAnimate: true,\n};\n\nclass LHNSkeletonView extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n skeletonViewItems: [],\n };\n }\n\n /**\n * Generate the skeleton view items.\n *\n * @param {Number} numItems\n */\n generateSkeletonViewItems(numItems) {\n if (this.state.skeletonViewItems.length === numItems) {\n return;\n }\n\n if (this.state.skeletonViewItems.length > numItems) {\n this.setState(prevState => ({\n skeletonViewItems: prevState.skeletonViewItems.slice(0, numItems),\n }));\n return;\n }\n\n const skeletonViewItems = [];\n for (let i = this.state.skeletonViewItems.length; i < numItems; i++) {\n const step = i % 3;\n let lineWidth;\n switch (step) {\n case 0:\n lineWidth = '100%';\n break;\n case 1:\n lineWidth = '50%';\n break;\n default:\n lineWidth = '25%';\n }\n skeletonViewItems.push(\n \n \n \n \n ,\n );\n }\n\n this.setState(prevState => ({\n skeletonViewItems: [...prevState.skeletonViewItems, ...skeletonViewItems],\n }));\n }\n\n render() {\n return (\n {\n const numItems = Math.ceil(event.nativeEvent.layout.height / CONST.LHN_SKELETON_VIEW_ITEM_HEIGHT);\n this.generateSkeletonViewItems(numItems);\n }}\n >\n {this.state.skeletonViewItems}\n \n );\n }\n}\n\nLHNSkeletonView.propTypes = propTypes;\nLHNSkeletonView.defaultProps = defaultTypes;\n\nexport default LHNSkeletonView;\n","import React from 'react';\nimport _ from 'underscore';\nimport {withOnyx} from 'react-native-onyx';\nimport PropTypes from 'prop-types';\nimport lodashGet from 'lodash/get';\nimport {View} from 'react-native';\nimport styles from '../../../../styles/styles';\nimport * as Expensicons from '../../../../components/Icon/Expensicons';\nimport Navigation from '../../../../libs/Navigation/Navigation';\nimport ROUTES from '../../../../ROUTES';\nimport Permissions from '../../../../libs/Permissions';\nimport * as Policy from '../../../../libs/actions/Policy';\nimport PopoverMenu from '../../../../components/PopoverMenu';\nimport CONST from '../../../../CONST';\nimport FloatingActionButton from '../../../../components/FloatingActionButton';\nimport compose from '../../../../libs/compose';\nimport withLocalize, {withLocalizePropTypes} from '../../../../components/withLocalize';\nimport withWindowDimensions from '../../../../components/withWindowDimensions';\nimport ONYXKEYS from '../../../../ONYXKEYS';\nimport withNavigation from '../../../../components/withNavigation';\nimport * as Welcome from '../../../../libs/actions/Welcome';\nimport withNavigationFocus from '../../../../components/withNavigationFocus';\nimport withDrawerState from '../../../../components/withDrawerState';\n\n/**\n * @param {Object} [policy]\n * @returns {Object|undefined}\n */\nconst policySelector = policy => policy && ({\n type: policy.type,\n role: policy.role,\n});\n\nconst propTypes = {\n /* Callback function when the menu is shown */\n onShowCreateMenu: PropTypes.func,\n\n /* Callback function before the menu is hidden */\n onHideCreateMenu: PropTypes.func,\n\n /** The list of policies the user has access to. */\n allPolicies: PropTypes.shape({\n /** The policy name */\n name: PropTypes.string,\n }),\n\n /* Beta features list */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** Indicated whether the report data is loading */\n isLoading: PropTypes.bool,\n\n ...withLocalizePropTypes,\n};\nconst defaultProps = {\n onHideCreateMenu: () => {},\n onShowCreateMenu: () => {},\n allPolicies: {},\n betas: [],\n isLoading: false,\n};\n\n/**\n * Responsible for rendering the {@link PopoverMenu}, and the accompanying\n * FAB that can open or close the menu.\n */\nclass FloatingActionButtonAndPopover extends React.Component {\n constructor(props) {\n super(props);\n\n this.showCreateMenu = this.showCreateMenu.bind(this);\n this.hideCreateMenu = this.hideCreateMenu.bind(this);\n\n this.state = {\n isCreateMenuActive: false,\n };\n }\n\n componentDidMount() {\n const routes = lodashGet(this.props.navigation.getState(), 'routes', []);\n Welcome.show({routes, showCreateMenu: this.showCreateMenu});\n }\n\n componentDidUpdate(prevProps) {\n if (!this.didScreenBecomeInactive(prevProps)) {\n return;\n }\n\n // Hide menu manually when other pages are opened using shortcut key\n this.hideCreateMenu();\n }\n\n /**\n * Check if LHN status changed from active to inactive.\n * Used to close already opened FAB menu when open any other pages (i.e. Press Command + K on web).\n *\n * @param {Object} prevProps\n * @return {Boolean}\n */\n didScreenBecomeInactive(prevProps) {\n // When the Drawer gets closed and ReportScreen is shown\n if (!this.props.isDrawerOpen && prevProps.isDrawerOpen) {\n return true;\n }\n\n // When any other page is opened over LHN\n if (!this.props.isFocused && prevProps.isFocused) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Check if LHN is inactive.\n * Used to prevent FAB menu showing after opening any other pages.\n *\n * @return {Boolean}\n */\n isScreenInactive() {\n // When drawer is closed and Report page is open\n if (this.props.isSmallScreenWidth && !this.props.isDrawerOpen) {\n return true;\n }\n\n // When any other page is open\n if (!this.props.isFocused) {\n return true;\n }\n\n return false;\n }\n\n /**\n * Method called when we click the floating action button\n */\n showCreateMenu() {\n if (this.isScreenInactive()) {\n // Prevent showing menu when click FAB icon quickly after opening other pages\n return;\n }\n this.setState({\n isCreateMenuActive: true,\n });\n this.props.onShowCreateMenu();\n }\n\n /**\n * Method called either when:\n * - Pressing the floating action button to open the CreateMenu modal\n * - Selecting an item on CreateMenu or closing it by clicking outside of the modal component\n */\n hideCreateMenu() {\n if (!this.state.isCreateMenuActive) {\n return;\n }\n this.props.onHideCreateMenu();\n this.setState({\n isCreateMenuActive: false,\n });\n }\n\n render() {\n // Workspaces are policies with type === 'free'\n const workspaces = _.filter(this.props.allPolicies, policy => policy && policy.type === CONST.POLICY.TYPE.FREE);\n\n return (\n \n Navigation.navigate(ROUTES.NEW_CHAT),\n },\n {\n icon: Expensicons.Users,\n text: this.props.translate('sidebarScreen.newGroup'),\n onSelected: () => Navigation.navigate(ROUTES.NEW_GROUP),\n },\n ...(Permissions.canUsePolicyRooms(this.props.betas) && workspaces.length ? [\n {\n icon: Expensicons.Hashtag,\n text: this.props.translate('sidebarScreen.newRoom'),\n onSelected: () => Navigation.navigate(ROUTES.WORKSPACE_NEW_ROOM),\n },\n ] : []),\n ...(Permissions.canUseIOUSend(this.props.betas) ? [\n {\n icon: Expensicons.Send,\n text: this.props.translate('iou.sendMoney'),\n onSelected: () => Navigation.navigate(ROUTES.IOU_SEND),\n },\n ] : []),\n ...(Permissions.canUseIOU(this.props.betas) ? [\n {\n icon: Expensicons.MoneyCircle,\n text: this.props.translate('iou.requestMoney'),\n onSelected: () => Navigation.navigate(ROUTES.IOU_REQUEST),\n },\n ] : []),\n ...(Permissions.canUseIOU(this.props.betas) ? [\n {\n icon: Expensicons.Receipt,\n text: this.props.translate('iou.splitBill'),\n onSelected: () => Navigation.navigate(ROUTES.IOU_BILL),\n },\n ] : []),\n ...(!this.props.isLoading && !Policy.hasActiveFreePolicy(this.props.allPolicies) ? [\n {\n icon: Expensicons.NewWorkspace,\n iconWidth: 46,\n iconHeight: 40,\n text: this.props.translate('workspace.new.newWorkspace'),\n description: this.props.translate('workspace.new.getTheExpensifyCardAndMore'),\n onSelected: () => Policy.createWorkspace(),\n },\n ] : []),\n ]}\n />\n \n \n );\n }\n}\n\nFloatingActionButtonAndPopover.propTypes = propTypes;\nFloatingActionButtonAndPopover.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withNavigation,\n withNavigationFocus,\n withDrawerState,\n withWindowDimensions,\n withOnyx({\n allPolicies: {\n key: ONYXKEYS.COLLECTION.POLICY,\n selector: policySelector,\n },\n betas: {\n key: ONYXKEYS.BETAS,\n },\n isLoading: {\n key: ONYXKEYS.IS_LOADING_REPORT_DATA,\n },\n }),\n)(FloatingActionButtonAndPopover);\n","import React, {PureComponent} from 'react';\nimport {\n Pressable, Animated, Easing, View,\n} from 'react-native';\nimport PropTypes from 'prop-types';\nimport Icon from './Icon';\nimport * as Expensicons from './Icon/Expensicons';\nimport styles from '../styles/styles';\nimport * as StyleUtils from '../styles/StyleUtils';\nimport themeColors from '../styles/themes/default';\nimport Tooltip from './Tooltip';\nimport withLocalize, {withLocalizePropTypes} from './withLocalize';\n\nconst AnimatedIcon = Animated.createAnimatedComponent(Icon);\nAnimatedIcon.displayName = 'AnimatedIcon';\n\nconst AnimatedPressable = Animated.createAnimatedComponent(Pressable);\nAnimatedPressable.displayName = 'AnimatedPressable';\n\nconst propTypes = {\n // Callback to fire on request to toggle the FloatingActionButton\n onPress: PropTypes.func.isRequired,\n\n // Current state (active or not active) of the component\n isActive: PropTypes.bool.isRequired,\n\n ...withLocalizePropTypes,\n};\n\nclass FloatingActionButton extends PureComponent {\n constructor(props) {\n super(props);\n this.animatedValue = new Animated.Value(props.isActive ? 1 : 0);\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.isActive === this.props.isActive) {\n return;\n }\n\n this.animateFloatingActionButton();\n }\n\n /**\n * Animates the floating action button\n * Method is called when the isActive prop changes\n */\n animateFloatingActionButton() {\n const animationFinalValue = this.props.isActive ? 1 : 0;\n\n Animated.timing(this.animatedValue, {\n toValue: animationFinalValue,\n duration: 340,\n easing: Easing.inOut(Easing.ease),\n useNativeDriver: false,\n }).start();\n }\n\n render() {\n const rotate = this.animatedValue.interpolate({\n inputRange: [0, 1],\n outputRange: ['0deg', '135deg'],\n });\n\n const backgroundColor = this.animatedValue.interpolate({\n inputRange: [0, 1],\n outputRange: [themeColors.success, themeColors.buttonDefaultBG],\n });\n\n const fill = this.animatedValue.interpolate({\n inputRange: [0, 1],\n outputRange: [themeColors.textLight, themeColors.textDark],\n });\n\n return (\n \n \n this.fabPressable = el}\n accessibilityLabel={this.props.accessibilityLabel}\n accessibilityRole={this.props.accessibilityRole}\n onPress={(e) => {\n // Drop focus to avoid blue focus ring.\n this.fabPressable.blur();\n this.props.onPress(e);\n }}\n style={[\n styles.floatingActionButton,\n StyleUtils.getAnimatedFABStyle(rotate, backgroundColor),\n ]}\n >\n \n \n \n \n );\n }\n}\n\nFloatingActionButton.propTypes = propTypes;\n\nexport default withLocalize(FloatingActionButton);\n","import React, {Component} from 'react';\nimport _ from 'underscore';\nimport PropTypes from 'prop-types';\nimport {createDrawerNavigator} from '@react-navigation/drawer';\nimport {View} from 'react-native';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport styles from '../../../styles/styles';\nimport * as StyleUtils from '../../../styles/StyleUtils';\n\nimport Navigation from '../Navigation';\n\nconst propTypes = {\n /** Screens to be passed in the Drawer */\n screens: PropTypes.arrayOf(PropTypes.shape({\n /** Name of the Screen */\n name: PropTypes.string.isRequired,\n\n /** Component for the Screen */\n component: PropTypes.elementType.isRequired,\n\n /** Optional params to be passed to the Screen */\n // eslint-disable-next-line react/forbid-prop-types\n initialParams: PropTypes.object,\n })).isRequired,\n\n /** Drawer content Component */\n drawerContent: PropTypes.elementType.isRequired,\n\n /** If it's the main screen, don't wrap the content even if it's a full screen modal. */\n isMainScreen: PropTypes.bool,\n\n /** Window Dimensions props */\n ...windowDimensionsPropTypes,\n};\nconst Drawer = createDrawerNavigator();\n\nconst defaultProps = {\n isMainScreen: false,\n};\n\nclass BaseDrawerNavigator extends Component {\n constructor(props) {\n super(props);\n this.state = {\n // Calculate the defaultStatus only once on mount to prevent breaking the navigation internal state.\n // Directly passing the dynamically calculated defaultStatus to drawer Navigator breaks the internal state\n // And prevents the drawer actions from reaching to active Drawer Navigator while screen is resized on from Web to mobile Web.\n defaultStatus: Navigation.getDefaultDrawerState(props.isSmallScreenWidth),\n };\n }\n\n componentDidMount() {\n // We need to resolve the isDrawerReady promise so that any pending drawer actions, like direct navigation from OldDot to\n // a NewDot report, can happen.\n Navigation.setIsDrawerReady();\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.isSmallScreenWidth === this.props.isSmallScreenWidth) {\n return;\n }\n\n // eslint-disable-next-line react/no-did-update-set-state\n this.setState({\n defaultStatus: Navigation.getDefaultDrawerState(this.props.isSmallScreenWidth),\n });\n }\n\n componentWillUnmount() {\n // When logging into NewDot first, then navigating from OldDot to NewDot with a different account, this component will be remounted.\n // We need to reset the isDrawerReady promise so that we can delay the call to dismissModal until the drawer is really ready.\n Navigation.resetDrawerIsReadyPromise();\n }\n\n render() {\n const content = (\n \n {_.map(this.props.screens, screen => (\n \n ))}\n \n );\n\n if (!this.props.isMainScreen && !this.props.isSmallScreenWidth) {\n return (\n \n {content}\n \n );\n }\n\n return content;\n }\n}\n\nBaseDrawerNavigator.propTypes = propTypes;\nBaseDrawerNavigator.defaultProps = defaultProps;\nBaseDrawerNavigator.displayName = 'BaseDrawerNavigator';\nexport default withWindowDimensions(BaseDrawerNavigator);\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport {\n propTypes as validateLinkPropTypes,\n defaultProps as validateLinkDefaultProps,\n} from './validateLinkPropTypes';\nimport * as User from '../../libs/actions/User';\nimport FullScreenLoadingIndicator from '../../components/FullscreenLoadingIndicator';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport * as Session from '../../libs/actions/Session';\nimport Permissions from '../../libs/Permissions';\nimport Navigation from '../../libs/Navigation/Navigation';\n\nconst propTypes = {\n /** The accountID and validateCode are passed via the URL */\n route: validateLinkPropTypes,\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** Session of currently logged in user */\n session: PropTypes.shape({\n /** Currently logged in user authToken */\n authToken: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n route: validateLinkDefaultProps,\n betas: [],\n session: {\n authToken: null,\n },\n};\n\nclass ValidateLoginPage extends Component {\n componentDidMount() {\n const accountID = lodashGet(this.props.route.params, 'accountID', '');\n const validateCode = lodashGet(this.props.route.params, 'validateCode', '');\n if (Permissions.canUsePasswordlessLogins(this.props.betas)) {\n if (lodashGet(this.props, 'session.authToken')) {\n // If already signed in, do not show the validate code if not on web,\n // because we don't want to block the user with the interstitial page.\n Navigation.goBack(false);\n } else {\n Session.signInWithValidateCodeAndNavigate(accountID, validateCode);\n }\n } else {\n User.validateLogin(accountID, validateCode);\n }\n }\n\n render() {\n return ;\n }\n}\n\nValidateLoginPage.propTypes = propTypes;\nValidateLoginPage.defaultProps = defaultProps;\n\nexport default withOnyx({\n betas: {key: ONYXKEYS.BETAS},\n session: {key: ONYXKEYS.SESSION},\n})(ValidateLoginPage);\n","import PropTypes from 'prop-types';\n\nconst propTypes = PropTypes.shape({\n // The name of the route\n name: PropTypes.string,\n\n // Unique key associated with the route\n key: PropTypes.string,\n\n // Each parameter passed via the URL\n params: PropTypes.shape({\n // AccountID associated with the validation link\n accountID: PropTypes.string,\n\n // Validation code associated with the validation link\n validateCode: PropTypes.string,\n }),\n});\n\nconst defaultProps = {\n params: {},\n};\n\nexport {\n propTypes,\n defaultProps,\n};\n","import React, {Component} from 'react';\nimport {Linking} from 'react-native';\nimport lodashGet from 'lodash/get';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport ONYXKEYS from '../ONYXKEYS';\nimport * as Session from '../libs/actions/Session';\nimport FullScreenLoadingIndicator from '../components/FullscreenLoadingIndicator';\nimport * as SessionUtils from '../libs/SessionUtils';\n\nconst propTypes = {\n /** The data about the current session which will be set once the user is authenticated and we return to this component as an AuthScreen */\n session: PropTypes.shape({\n /** The user's email for the current session */\n email: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n session: {\n email: null,\n },\n};\n\nclass LogOutPreviousUserPage extends Component {\n componentDidMount() {\n Linking.getInitialURL()\n .then((transitionURL) => {\n const sessionEmail = this.props.session.email;\n const isLoggingInAsNewUser = SessionUtils.isLoggingInAsNewUser(transitionURL, sessionEmail);\n\n if (isLoggingInAsNewUser) {\n Session.signOutAndRedirectToSignIn();\n }\n\n // We need to signin and fetch a new authToken, if a user was already authenticated in NewDot, and was redirected to OldDot\n // and their authToken stored in Onyx becomes invalid.\n // This workflow is triggered while setting up VBBA. User is redirected from NewDot to OldDot to set up 2FA, and then redirected back to NewDot\n // On Enabling 2FA, authToken stored in Onyx becomes expired and hence we need to fetch new authToken\n const shouldForceLogin = lodashGet(this.props, 'route.params.shouldForceLogin', '') === 'true';\n if (shouldForceLogin) {\n const email = lodashGet(this.props, 'route.params.email', '');\n const shortLivedAuthToken = lodashGet(this.props, 'route.params.shortLivedAuthToken', '');\n Session.signInWithShortLivedAuthToken(email, shortLivedAuthToken);\n }\n });\n }\n\n render() {\n return ;\n }\n}\n\nLogOutPreviousUserPage.propTypes = propTypes;\nLogOutPreviousUserPage.defaultProps = defaultProps;\nexport default withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n})(LogOutPreviousUserPage);\n","import _ from 'underscore';\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport ONYXKEYS from '../ONYXKEYS';\nimport FullScreenLoadingIndicator from '../components/FullscreenLoadingIndicator';\nimport Navigation from '../libs/Navigation/Navigation';\nimport * as Report from '../libs/actions/Report';\n\nconst propTypes = {\n /** Session info for the currently logged in user. */\n session: PropTypes.shape({\n /** Currently logged in user authToken */\n authToken: PropTypes.string,\n }),\n};\n\nconst defaultProps = {\n session: {\n authToken: null,\n },\n};\n\n/*\n * This is a \"utility page\", that does this:\n * - If the user is authenticated, find their concierge chat and re-route to it\n * - Else re-route to the login page\n */\nconst ConciergePage = (props) => {\n if (_.has(props.session, 'authToken')) {\n Navigation.isDrawerReady().then(() => {\n Report.navigateToConciergeChat();\n });\n } else {\n Navigation.navigate();\n }\n\n return ;\n};\n\nConciergePage.propTypes = propTypes;\nConciergePage.defaultProps = defaultProps;\nConciergePage.displayName = 'ConciergePage';\n\nexport default withOnyx({\n session: {\n key: ONYXKEYS.SESSION,\n },\n})(ConciergePage);\n","import React from 'react';\nimport {createStackNavigator} from '@react-navigation/stack';\nimport SignInPage from '../../../pages/signin/SignInPage';\nimport SetPasswordPage from '../../../pages/SetPasswordPage';\nimport ValidateLoginPage from '../../../pages/ValidateLoginPage';\nimport LogInWithShortLivedAuthTokenPage from '../../../pages/LogInWithShortLivedAuthTokenPage';\nimport SCREENS from '../../../SCREENS';\nimport defaultScreenOptions from './defaultScreenOptions';\n\nconst RootStack = createStackNavigator();\n\nconst PublicScreens = () => (\n \n \n \n \n \n \n);\n\nPublicScreens.displayName = 'PublicScreens';\nexport default PublicScreens;\n","import React, {Component} from 'react';\nimport PropTypes from 'prop-types';\nimport {withOnyx} from 'react-native-onyx';\nimport lodashGet from 'lodash/get';\nimport Str from 'expensify-common/lib/str';\nimport {SafeAreaView} from 'react-native-safe-area-context';\nimport ONYXKEYS from '../../ONYXKEYS';\nimport styles from '../../styles/styles';\nimport compose from '../../libs/compose';\nimport SignInPageLayout from './SignInPageLayout';\nimport LoginForm from './LoginForm';\nimport PasswordForm from './PasswordForm';\nimport ValidateCodeForm from './ValidateCodeForm';\nimport ResendValidationForm from './ResendValidationForm';\nimport withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';\nimport Performance from '../../libs/Performance';\nimport * as App from '../../libs/actions/App';\nimport Permissions from '../../libs/Permissions';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../components/withWindowDimensions';\nimport * as Localize from '../../libs/Localize';\n\nconst propTypes = {\n /* Onyx Props */\n\n /** The details about the account that the user is signing in with */\n account: PropTypes.shape({\n /** Error to display when there is an account error returned */\n errors: PropTypes.objectOf(PropTypes.string),\n\n /** Whether the account is validated */\n validated: PropTypes.bool,\n }),\n\n /** List of betas available to current user */\n betas: PropTypes.arrayOf(PropTypes.string),\n\n /** The credentials of the person signing in */\n credentials: PropTypes.shape({\n login: PropTypes.string,\n password: PropTypes.string,\n twoFactorAuthCode: PropTypes.string,\n }),\n\n ...withLocalizePropTypes,\n\n ...windowDimensionsPropTypes,\n};\n\nconst defaultProps = {\n account: {},\n betas: [],\n credentials: {},\n};\n\nclass SignInPage extends Component {\n componentDidMount() {\n Performance.measureTTI();\n\n App.setLocale(Localize.getDevicePreferredLocale());\n }\n\n render() {\n // Show the login form if\n // - A login has not been entered yet\n // - AND a validateCode has not been cached with sign in link\n const showLoginForm = !this.props.credentials.login && !this.props.credentials.validateCode;\n\n // Show the old password form if\n // - A login has been entered\n // - AND an account exists and is validated for this login\n // - AND a password hasn't been entered yet\n // - AND haven't forgotten password\n // - AND the user is NOT on the passwordless beta\n const showPasswordForm = Boolean(this.props.credentials.login)\n && this.props.account.validated\n && !this.props.credentials.password\n && !this.props.account.forgotPassword\n && !Permissions.canUsePasswordlessLogins(this.props.betas);\n\n // Show the new magic code / validate code form if\n // - A login has been entered or a validateCode has been cached from sign in link\n // - AND the user is on the 'passwordless' beta\n const showValidateCodeForm = (this.props.credentials.login\n || this.props.credentials.validateCode)\n && Permissions.canUsePasswordlessLogins(this.props.betas);\n\n // Show the resend validation link form if\n // - A login has been entered\n // - AND is not validated or password is forgotten\n // - AND user is not on 'passwordless' beta\n const showResendValidationForm = Boolean(this.props.credentials.login)\n && (!this.props.account.validated || this.props.account.forgotPassword)\n && !Permissions.canUsePasswordlessLogins(this.props.betas);\n\n let welcomeHeader = '';\n let welcomeText = '';\n if (showValidateCodeForm) {\n if (this.props.account.requiresTwoFactorAuth) {\n // We will only know this after a user signs in successfully, without their 2FA code\n welcomeHeader = this.props.isSmallScreenWidth ? '' : this.props.translate('welcomeText.welcomeBack');\n welcomeText = this.props.translate('validateCodeForm.enterAuthenticatorCode');\n } else {\n const userLogin = Str.removeSMSDomain(lodashGet(this.props, 'credentials.login', ''));\n\n if (this.props.account.validated) {\n welcomeHeader = this.props.isSmallScreenWidth ? '' : this.props.translate('welcomeText.welcomeBack');\n welcomeText = this.props.isSmallScreenWidth\n ? `${this.props.translate('welcomeText.welcomeBack')} ${this.props.translate('welcomeText.welcomeEnterMagicCode', {login: userLogin})}`\n : this.props.translate('welcomeText.welcomeEnterMagicCode', {login: userLogin});\n } else {\n welcomeHeader = this.props.isSmallScreenWidth ? '' : this.props.translate('welcomeText.welcome');\n welcomeText = this.props.isSmallScreenWidth\n ? `${this.props.translate('welcomeText.welcome')} ${this.props.translate('welcomeText.newFaceEnterMagicCode', {login: userLogin})}`\n : this.props.translate('welcomeText.newFaceEnterMagicCode', {login: userLogin});\n }\n }\n } else if (showPasswordForm) {\n welcomeHeader = this.props.isSmallScreenWidth ? '' : this.props.translate('welcomeText.welcomeBack');\n welcomeText = this.props.isSmallScreenWidth\n ? `${this.props.translate('welcomeText.welcomeBack')} ${this.props.translate('welcomeText.enterPassword')}`\n : this.props.translate('welcomeText.enterPassword');\n } else if (!showResendValidationForm) {\n welcomeHeader = this.props.isSmallScreenWidth ? this.props.translate('login.hero.header') : this.props.translate('welcomeText.getStarted');\n welcomeText = this.props.isSmallScreenWidth ? this.props.translate('welcomeText.getStarted') : '';\n }\n\n return (\n \n \n {/* LoginForm and PasswordForm must use the isVisible prop. This keeps them mounted, but visually hidden\n so that password managers can access the values. Conditionally rendering these components will break this feature. */}\n \n {showValidateCodeForm ? (\n \n ) : (\n \n )}\n {showResendValidationForm && }\n \n \n );\n }\n}\n\nSignInPage.propTypes = propTypes;\nSignInPage.defaultProps = defaultProps;\n\nexport default compose(\n withLocalize,\n withWindowDimensions,\n withOnyx({\n account: {key: ONYXKEYS.ACCOUNT},\n betas: {key: ONYXKEYS.BETAS},\n credentials: {key: ONYXKEYS.CREDENTIALS},\n }),\n)(SignInPage);\n","import React, {useRef} from 'react';\nimport {View, ScrollView} from 'react-native';\nimport {withSafeAreaInsets} from 'react-native-safe-area-context';\nimport PropTypes from 'prop-types';\nimport compose from '../../../libs/compose';\nimport SignInPageContent from './SignInPageContent';\nimport Footer from './Footer';\nimport withWindowDimensions, {windowDimensionsPropTypes} from '../../../components/withWindowDimensions';\nimport styles from '../../../styles/styles';\nimport SignInPageHero from '../SignInPageHero';\nimport * as StyleUtils from '../../../styles/StyleUtils';\nimport scrollViewContentContainerStyles from './signInPageStyles';\nimport themeColors from '../../../styles/themes/default';\nimport SignInHeroBackgroundImage from '../../../../assets/images/home-background--desktop.svg';\nimport SignInHeroBackgroundImageMobile from '../../../../assets/images/home-background--mobile.svg';\nimport SignInGradient from '../../../../assets/images/home-fade-gradient.svg';\nimport variables from '../../../styles/variables';\n\nconst propTypes = {\n /** The children to show inside the layout */\n children: PropTypes.node.isRequired,\n\n /** Welcome text to show in the header of the form, changes depending\n * on form type (set password, sign in, etc.) */\n welcomeText: PropTypes.string.isRequired,\n\n /** Welcome header to show in the header of the form, changes depending\n * on form type (set password, sign in, etc.) and small vs large screens */\n welcomeHeader: PropTypes.string.isRequired,\n\n /** Whether to show welcome text on a particular page */\n shouldShowWelcomeText: PropTypes.bool.isRequired,\n\n /** Whether to show welcome header on a particular page */\n shouldShowWelcomeHeader: PropTypes.bool.isRequired,\n\n ...windowDimensionsPropTypes,\n};\n\nconst SignInPageLayout = (props) => {\n const scrollViewRef = useRef(null);\n let containerStyles = [styles.flex1, styles.signInPageInner];\n let contentContainerStyles = [styles.flex1, styles.flexRow];\n\n // To scroll on both mobile and web, we need to set the container height manually\n const containerHeight = props.windowHeight - props.insets.top - props.insets.bottom;\n\n if (props.isSmallScreenWidth) {\n containerStyles = [styles.flex1];\n contentContainerStyles = [styles.flex1, styles.flexColumn];\n }\n\n return (\n \n {!props.isSmallScreenWidth\n ? (\n \n \n {props.children}\n \n \n \n \n \n \n \n \n \n \n \n \n